.trd {
  --ink: #272626;
  --green: #253658;
  --paper: #faf8f2;
  --line: #d5d0c4;
  --serif: "Baskervville", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.45 var(--sans);
  max-width: 1320px;
  margin: 0 auto;
  text-align: left;
}
.trd *,
.trd *::before,
.trd *::after {
  box-sizing: border-box;
}
.trd a {
  color: inherit;
  text-decoration: none;
}
.trd :focus-visible {
  outline: 3px solid #b75530;
  outline-offset: 3px;
}
.trd .trd-spread {
  display: grid;
  grid-template-columns: minmax(0, 3.05fr) minmax(235px, 1fr);
  gap: 12px;
  padding: 18px clamp(15px, 3.35vw, 49px) 0;
}
.trd .trd-hero {
  color: #fff9e9;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, #182742 1%, #293c5e 51%, #354769 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.13fr);
  align-items: center;
  gap: 3%;
  padding: clamp(25px, 2.8vw, 45px) clamp(20px, 2.7vw, 45px);
}
.trd .trd-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 54%, #c7ddff09 54.1%, transparent 71%),
    linear-gradient(106deg, transparent 61%, #060f223d 100%);
  box-shadow: inset 0 -3px 0 #10203b;
}
.trd .trd-cover-copy {
  position: relative;
  z-index: 1;
}
.trd .trd-hero.plain {
  grid-template-columns: 1fr;
}
.trd .trd-hero.plain .trd-name em {
  display: inline;
  margin: 0;
}
.trd .trd-name {
  font:
    400 clamp(64px, 7.4vw, 104px)/0.85 "Baskervville",
    "Bodoni MT",
    Didot,
    Georgia,
    serif;
  color: inherit;
  letter-spacing: -0.059em;
  margin: 0;
  text-transform: none;
}
.trd .trd-name em {
  display: block;
  margin: 0.04em 0 0 0.18em;
  font:
    italic 400 1.04em/0.86 "Baskervville",
    "Bodoni MT",
    Didot,
    Georgia,
    serif;
  color: #f2b5a1;
}
.trd .trd-edit {
  font: 14px var(--sans);
  vertical-align: middle;
}
.trd .trd-total {
  width: fit-content;
  margin: 23px 0 0;
  display: flex;
  align-items: center;
  gap: 11px;
  font: 500 15px/1.25 var(--sans);
  color: #fcf4e7;
}
.trd .trd-total i {
  font: 14px/1 var(--sans);
}
.trd .trd-total::before {
  content: "";
  width: 24px;
  border-top: 1px solid #eda28d;
}
.trd .trd-total:hover,
.trd .trd-feature:hover > span:last-child {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.trd .trd-feature {
  display: grid;
  gap: 15px;
  justify-items: center;
  justify-self: center;
  width: 100%;
  max-width: 520px;
}
.trd .trd-print {
  display: block;
  width: fit-content;
  max-width: 100%;
}
.trd .trd-feature img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: clamp(182px, 19.2vw, 282px);
  object-fit: contain;
  border: 0;
  padding: 0;
}
.trd .trd-feature > span:last-child {
  color: #fff9eb;
  font: 14px/1.3 var(--sans);
}
.trd .trd-feature b {
  margin-left: 3px;
  font-weight: 400;
}
.trd .trd-inner {
  padding: 0 clamp(15px, 3.35vw, 49px) 40px;
  scroll-margin-top: 16px;
  container: trd-index / inline-size;
}
.trd .trd-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 25px 0 12px;
}
.trd .trd-section {
  font: 400 clamp(25px, 2.8vw, 38px)/1.1 var(--serif);
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.035em;
}
.trd .trd-search {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0;
  background: #fffefa;
  border: 1px solid #ada89b;
  border-radius: 22px;
  width: min(318px, 100%);
  padding-inline: 5px;
}
.trd .trd-search:focus-within {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.trd .trd-search input {
  appearance: none;
  min-width: 0;
  flex: 1;
  margin: 0;
  box-shadow: none;
  background: transparent;
  border: 0;
  height: 42px;
  padding: 0 12px;
  color: var(--ink);
  font: 16px var(--sans);
}
.trd .trd-search input:focus {
  outline: 0;
}
.trd .trd-search input::placeholder {
  color: #5c635d;
  opacity: 1;
}
.trd .trd-search button {
  min-width: 44px;
  min-height: 42px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--green);
  background: none;
  border: 0;
}
.trd .trd-glass {
  position: relative;
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: -3px 3px 0 0;
  border: 1.7px solid currentColor;
  border-radius: 50%;
}
.trd .trd-glass::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
}
.trd .trd-letters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 30px), 1fr));
  gap: 2px;
  padding: 3px 0 7px;
  margin: 0;
  border-bottom: 1px solid #a7ada1;
}
.trd .trd-letters a {
  display: grid;
  place-items: center;
  min-height: 36px;
  color: #535d53;
  font: 600 13px/1 var(--sans);
  border-radius: 2px;
}
.trd .trd-letters a:first-child {
  grid-column: span 2;
}
.trd .trd-filter {
  margin: 0;
}
.trd .trd-filter > summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 0.3em;
  padding: 0 4px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  list-style: none;
  color: var(--green);
  font: 600 14px/1.4 var(--sans);
}
.trd .trd-filter > summary::-webkit-details-marker {
  display: none;
}
.trd .trd-filter > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin: 0 4px 4px auto;
  border-right: 1.5px solid;
  border-bottom: 1.5px solid;
  transform: rotate(45deg);
}
.trd .trd-filter[open] > summary::after {
  transform: rotate(225deg);
  margin-bottom: -3px;
}
.trd .trd-filter-wide[open] > summary {
  display: none;
}
@container trd-index (max-width:1090px) {
  .trd .trd-letters {
    grid-template-columns: repeat(17, minmax(0, 1fr));
  }
  .trd .trd-letters a {
    min-height: 44px;
    font-size: 14px;
  }
}
@container trd-index (max-width:620px) {
  .trd .trd-letters {
    grid-template-columns: repeat(9, minmax(0, 1fr));
  }
}
@container trd-index (max-width:320px) {
  .trd .trd-letters {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}
.trd .trd-letters a:hover {
  background: #e6e9dd;
}
.trd .trd-letters a[aria-current="page"] {
  color: #fff;
  background: var(--green);
}
.trd .trd-results {
  margin: 18px 0 0;
  color: #455246;
  font: 15px var(--sans);
}
.trd .trd-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px clamp(12px, 2vw, 28px);
  padding-top: 20px;
}
.trd .trd-card {
  min-width: 0;
  display: block;
}
.trd .trd-mat {
  aspect-ratio: 1.33;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #efede7, #e1dbcf);
}
.trd .trd-card:nth-child(4n + 2) .trd-mat {
  background: linear-gradient(125deg, #e8e9e8, #d6dcdb);
}
.trd .trd-card:nth-child(4n + 3) .trd-mat {
  background: linear-gradient(125deg, #ebe4db, #ded4c9);
}
.trd .trd-mat img {
  position: absolute;
  display: block;
  inset: 5%;
  width: 90%;
  height: 90%;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(1px 3px 3px #322c242d);
  transition: transform 0.18s;
}
.trd .trd-card:hover .trd-mat img {
  transform: translateY(-2px);
}
.trd .trd-fallback {
  font: italic 38px/1 var(--serif);
  color: #767769;
}
.trd .trd-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
  padding: 11px 0 10px;
  border-bottom: 1px solid var(--line);
  font: 400 clamp(18px, 1.7vw, 25px)/1.14 var(--serif);
  letter-spacing: -0.025em;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.trd .trd-arrow {
  color: #667567;
  font: 16px/1 var(--sans);
  flex: 0 0 auto;
}
.trd .trd-card:hover .trd-caption {
  color: var(--green);
  border-color: var(--green);
}
.trd .trd-empty {
  grid-column: 1/-1;
  padding-block: 20px;
}
.trd .trd-empty a {
  color: var(--green);
  text-decoration: underline;
}
.trd .trd-pages {
  margin-top: 28px;
}
.trd .trd-pages ul {
  display: flex;
  justify-content: center;
  gap: 4px;
  list-style: none;
  flex-wrap: wrap;
  float: none;
  margin: 0;
  padding: 0;
}
.trd .trd-pages li {
  display: block;
}
.trd .trd-pages li > a {
  display: grid;
  place-items: center;
  min-width: 36px;
  min-height: 40px;
  padding: 3px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  font: 14px var(--sans);
  background: transparent;
  color: var(--ink);
}
.trd .trd-pages li > a[aria-current="page"] {
  background: var(--green);
  color: white;
}
.trd [hidden] {
  display: none !important;
}
@media (max-width: 950px) {
  .trd .trd-spread {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
}
@media (max-width: 900px) {
  .trd .trd-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 680px),
  (max-height: 520px) and (orientation: landscape) and (pointer: coarse) {
  .trd .trd-spread {
    padding: 9px 10px 0;
  }
  .trd .trd-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 12px 16px;
  }
  .trd .trd-cover-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    column-gap: 12px;
    row-gap: 6px;
  }
  .trd .trd-name {
    font-size: clamp(32px, 8.5vw, 46px);
    line-height: 1.05;
  }
  .trd .trd-name em {
    display: inline;
    margin: 0;
  }
  .trd .trd-total {
    margin: 0;
    font-size: 13px;
    gap: 5px;
  }
  .trd .trd-total::before {
    display: none;
  }
  .trd .trd-feature {
    display: none;
  }
  .trd .trd-inner {
    padding-inline: 15px;
  }
  .trd .trd-controls {
    --picker-width: 7.4rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--picker-width);
    align-items: start;
    column-gap: 8px;
    padding-top: 13px;
  }
  .trd .trd-tools {
    display: contents;
  }
  .trd .trd-section {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .trd .trd-search {
    z-index: 1;
    grid-area: 1 / 1;
    width: 100%;
  }
  .trd .trd-filter {
    grid-area: 1 / 1 / auto / -1;
  }
  .trd .trd-filter > summary {
    width: var(--picker-width);
    margin-left: auto;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
  }
  .trd .trd-filter[open] > summary {
    border-color: var(--green);
  }
  .trd .trd-letters {
    margin-top: 6px;
  }
  .trd .trd-search input {
    padding-left: 9px;
  }
  .trd .trd-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
    padding-top: 14px;
  }
  .trd .trd-caption {
    font-size: clamp(17px, 4vw, 21px);
    padding: 8px 0;
  }
}
@media (max-width: 360px) {
  .trd .trd-hero {
    padding-inline: 13px;
  }
  .trd .trd-inner {
    padding-inline: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .trd .trd-mat img {
    transition: none;
  }
}
