/* TV Style Guide: editorial wardrobe theme */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f6f2eb;
  --surface: #fffdf9;
  --ink: #1c1917;
  --ink-2: #57534e;
  --ink-3: #8a837b;
  --line: #e5ded3;
  --accent: #c0262d;          /* "on air" red */
  --accent-dark: #9b1c22;
  --buy: #f4b63f;
  --buy-hover: #eaa521;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(28 25 23 / .05), 0 6px 20px -8px rgb(28 25 23 / .15);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }

.wrap { max-width: 1180px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; }

.eyebrow, .kicker {
  font: 700 .72rem/1.2 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgb(246 242 235 / .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4.25rem; }
.logo { display: block; flex: none; }
.logo img { height: 46px; width: auto; }
.site-footer .logo img { height: 44px; }

.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-item > a {
  display: inline-flex; align-items: center; gap: .35rem; color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: .95rem; padding: .4rem 0; border-bottom: 2px solid transparent; cursor: pointer;
}
.nav-item > a:hover, .nav-item > a[aria-current], .nav-item.open > a { border-color: var(--accent); color: var(--ink); }
.chev { width: .45rem; height: .45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.nav-item.open .chev { transform: translateY(1px) rotate(-135deg); }
.mega h2 { font: 700 .7rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 .75rem; }
.mega h2:not(:first-child) { margin-top: 1.5rem; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega-links a { display: flex; justify-content: space-between; gap: .75rem; padding: .3rem 0; color: var(--ink); text-decoration: none; font-size: .95rem; }
.mega-links a span { color: var(--ink-3); font-size: .8rem; font-variant-numeric: tabular-nums; }
.mega-links a:hover { color: var(--accent); }
.mega-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.mega-chips a { display: block; padding: .3rem .7rem; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--ink); text-decoration: none; background: var(--surface); }
.mega-chips a:hover { border-color: var(--accent); color: var(--accent); }
.mega-popular li + li { border-top: 1px solid var(--line); }
.mega-popular li a { display: block; padding: .6rem 0; color: var(--ink); text-decoration: none; }
.mega-popular strong { display: block; font: 600 1.15rem/1.2 var(--display); }
.mega-popular span { font-size: .8rem; color: var(--ink-3); }
.mega-popular a:hover strong { color: var(--accent); }
.mega-all { display: inline-block; margin-top: 1rem; font-weight: 700; font-size: .9rem; text-decoration: none; }
.mega-all::after { content: " →"; }

/* Mobile button (hidden on desktop) */
.menu-toggle { display: none; align-items: center; gap: .5rem; background: none; border: 0; padding: .5rem; margin-right: -.5rem; font: 600 .95rem/1 var(--sans); color: var(--ink); cursor: pointer; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
.nav-open .menu-icon { background: transparent; }
.nav-open .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
body.no-scroll { overflow: hidden; }

/* Desktop: inline nav with full-width dropdown panels */
@media (min-width: 960px) {
  .nav-list { display: flex; gap: 2rem; }
  .js .mega { display: none; }
  .js .nav-item.open .mega { display: block; }
  .mega {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgb(28 25 23 / .35);
    animation: drop .18s ease-out;
  }
  .mega-inner { display: grid; grid-template-columns: 2fr 1.2fr 1fr; gap: 3rem; padding-block: 2rem 2.25rem; }
  .mega-tv .cols { columns: 2; column-gap: 2.5rem; }
  .mega-tv .cols li { break-inside: avoid; }
  .mega-popular { border-left: 1px solid var(--line); padding-left: 2.5rem; }
  /* Small dropdown (About) sits under its link instead of spanning the page */
  .has-mega:has(.mega-small) { position: relative; }
  .mega:has(.mega-small) { left: auto; right: -1rem; top: calc(100% + .9rem); width: 14rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
  .mega-small { padding: .75rem 1rem; }
  /* Without JS the panels can't open, so hide them; the toggles still link to /#shows and /who-we-are/ */
  html:not(.js) .mega { display: none; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

/* Mobile: menu button reveals a full-height panel with accordion sections */
@media (max-width: 959px) {
  .logo img { height: 38px; }
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav {
    display: none; position: fixed; inset: 4.25rem 0 0 0; background: var(--paper);
    overflow-y: auto; overscroll-behavior: contain; padding: .5rem clamp(1rem, 4vw, 2rem) 3rem;
  }
  .js .nav-open .site-nav { display: block; animation: drop .2s ease-out; }
  html:not(.js) .header-inner { height: auto; flex-wrap: wrap; padding-block: .75rem; }
  html:not(.js) .nav-list { display: flex; gap: 1.25rem; }
  html:not(.js) .mega { display: none; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-item > a { display: flex; justify-content: space-between; width: 100%; padding: 1rem 0; font-size: 1.15rem; font-family: var(--display); border: 0; }
  .nav-item > a:hover, .nav-item.open > a { border: 0; color: var(--accent); }
  .js .mega { display: none; padding-bottom: 1.25rem; }
  .js .nav-item.open .mega { display: block; }
  .mega-inner { padding: 0; display: grid; gap: 1.5rem; }
  .mega-tv .cols { columns: 2; column-gap: 1.5rem; }
  .mega-links a { padding: .45rem 0; }
  .mega-popular { display: none; }
}

/* ---------- section heads ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 3.5rem 0 1.25rem; border-top: 2px solid var(--ink); padding-top: .9rem; }
.section-head h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.section-head a { font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.section-head a::after { content: " →"; }

/* ---------- cards ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card a { color: inherit; text-decoration: none; display: block; }
.card-img { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-sm); background: var(--line); }
.card-img img, .card-img picture { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card a:hover img { transform: scale(1.04); }
.card-text { padding-top: .8rem; }
.card h3 { margin: .35rem 0 0; font-size: 1.2rem; }
.card a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }

/* ---------- homepage ---------- */
.home-hero { padding-top: clamp(2rem, 5vw, 3.5rem); }
.hero-intro { max-width: 46rem; margin-bottom: 2.25rem; }
.hero-intro h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); margin: .6rem 0 .8rem; font-weight: 500; }
.hero-sub { font-size: 1.2rem; color: var(--ink-2); margin: 0; max-width: 38rem; }
.hero-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.7fr 1fr; gap: 2.5rem; } }
.lead-story { color: inherit; text-decoration: none; display: block; }
.lead-img { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); }
.lead-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.lead-story:hover img { transform: scale(1.03); }
.lead-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: .5rem 0; }
.lead-text p { color: var(--ink-2); margin: 0; font-size: 1.05rem; }
.lead-text { padding-top: 1rem; }
.side-stories { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; }
.side-stories li + li { border-top: 1px solid var(--line); }
.side-stories a { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: center; padding: 1rem 0; color: inherit; text-decoration: none; }
.side-stories li:first-child a { padding-top: 0; }
.side-img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); }
.side-img img { width: 100%; height: 100%; object-fit: cover; }
.side-stories h3 { font-size: 1.1rem; margin: .3rem 0 0; }
.side-stories a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; }

.show-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(46%, 200px), 1fr)); }
.show-grid a {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm);
  color: #fff; text-decoration: none; background: var(--ink);
}
.show-grid img, .show-grid picture { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .4s ease, opacity .4s; }
.show-grid a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .85), rgb(0 0 0 / .05) 60%); }
.show-grid a:hover img { transform: scale(1.05); opacity: 1; }
.show-name, .show-count { position: absolute; left: .9rem; right: .9rem; z-index: 1; }
.show-name { bottom: 1.85rem; font: 600 1.15rem/1.15 var(--display); }
.show-count { bottom: .75rem; font-size: .78rem; opacity: .8; }

.about-strip { background: var(--ink); color: var(--paper); margin-top: 4.5rem; padding: 3.5rem 0; }
.about-inner h2 { margin: 0 0 1.75rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.about-inner ol { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.about-inner li { counter-increment: step; color: #d6d0c7; }
.about-inner li::before { content: "0" counter(step); display: block; font: italic 400 2.4rem/1 var(--display); color: var(--buy); margin-bottom: .6rem; }
.about-inner strong { color: #fff; display: block; font-size: 1.05rem; }

/* ---------- post ---------- */
.post-header { max-width: 900px; padding-top: clamp(1.5rem, 4vw, 3rem); text-align: center; }
.breadcrumbs { font-size: .85rem; color: var(--ink-3); display: flex; flex-wrap: wrap; justify-content: inherit; gap: .5rem; }
.post-header .breadcrumbs { justify-content: center; }
.breadcrumbs a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { color: var(--accent); }
.post-header h1 { font-size: clamp(2.3rem, 5.5vw, 3.9rem); margin: 1rem 0 .8rem; font-weight: 500; }
.deck { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--ink-2); margin: 0 auto; max-width: 44rem; line-height: 1.5; }
.post-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem 1.25rem; margin: 1.25rem 0 0; font-size: .9rem; color: var(--ink-3); }
.post-meta a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.post-meta a::before { content: "💬 "; }
.post-hero { margin-block: 2rem 0; }
.post-hero img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; max-height: 640px; }

.post-body { display: grid; gap: 2rem; margin-top: 2.5rem; }
@media (min-width: 1100px) {
  .post-body { grid-template-columns: 230px minmax(0, 720px); justify-content: center; gap: 4rem; }
  .toc-rail { position: sticky; top: 6rem; align-self: start; max-height: calc(100vh - 7rem); overflow: auto; }
  .toc summary { pointer-events: none; list-style: none; }
  .toc summary::-webkit-details-marker { display: none; }
}
@media (max-width: 1099px) { .post-body { max-width: 760px; } }
.toc { font-size: .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); padding: 1rem 1.1rem; }
@media (min-width: 1100px) { .toc { border: 0; background: none; padding: 0; } }
.toc summary { font: 700 .72rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); cursor: pointer; }
.toc ol { list-style: none; margin: .8rem 0 0; padding: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: .3rem 0 .3rem .9rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.toc li a:hover { color: var(--accent); border-color: var(--accent); }
.toc .toc-3 a { padding-left: 1.8rem; font-size: .85rem; color: var(--ink-3); }

.disclosure { font-size: .82rem; color: var(--ink-3); border-left: 3px solid var(--buy); padding: .15rem 0 .15rem .8rem; margin: 0 0 2rem; }
.disclosure a { color: inherit; }

/* ---------- article content (imported from WordPress) ---------- */
.content { font-size: 1.07rem; line-height: 1.75; }
.content::after { content: ""; display: block; clear: both; }
.content > p:first-child { font-size: 1.2rem; line-height: 1.6; }
.content h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 3rem 0 1rem; }
.content h3 { font-size: 1.4rem; margin: 2.25rem 0 .75rem; }
.content h4 { font: 700 1rem/1.3 var(--sans); margin: 1.75rem 0 .5rem; }
.content h5 { font: 600 .8rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 1rem 0; }
.content h5 em { font-style: normal; }
.content hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; clear: both; }
.content ul, .content ol { padding-left: 1.3rem; }
.content li { margin: .3rem 0; }
.content li::marker { color: var(--accent); }

.content figure.img { margin: 1.5rem 0; }
.content figure.img img { margin-inline: auto; border-radius: var(--radius-sm); }
@media (min-width: 700px) {
  .content figure.align-right { float: right; max-width: 42%; margin: .3rem 0 1rem 1.75rem; }
  .content figure.align-left { float: left; max-width: 42%; margin: .3rem 1.75rem 1rem 0; }
}
.content figcaption { font-size: .85rem; color: var(--ink-3); text-align: center; margin-top: .4rem; }

.content .pullquote {
  font: italic 400 1.4rem/1.45 var(--display);
  margin: 2rem 0; padding: .25rem 0 .25rem 1.5rem; border-left: 3px solid var(--accent); color: var(--ink);
}

/* Shopping boxes */
.content .box {
  clear: both; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.1rem, 3vw, 1.75rem); margin: 2.5rem 0; box-shadow: var(--shadow);
}
.content .box > h3:first-child { margin-top: 0; font-size: 1.5rem; }
.content .box > h3:first-child::before { content: "Shop the look"; display: block; font: 700 .72rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .4rem; }
.content .box > h5 { margin: .25rem 0 1rem; }

/* Product grid: product cards plus the on-screen reference shot */
.content .grid { clear: both; display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: .9rem; margin: 1.25rem 0; }
.content .grid > div { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem .8rem; font-size: .92rem; line-height: 1.4; }
.content .grid > div:empty { display: none; }
.content .grid > div > p { margin: 0 0 .6rem; }
.content .grid > div > p:first-child strong:first-child { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .2rem; }
.content .grid > div > p:first-child a { color: var(--ink); font-weight: 600; text-decoration: none; }
.content .grid > div > p:first-child a:hover { color: var(--accent); }
.content .grid figure.img { margin: 0 0 .6rem; }
.content .grid figure.img img { max-height: 160px; width: auto; object-fit: contain; border-radius: 4px; }
.content .grid .buy { margin-top: auto; margin-bottom: 0; width: 100%; }
.content .grid:has(.buy) > div:not(:has(.buy)) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.content .grid:has(.buy) > div:not(:has(.buy))::before { content: "On screen"; font: 700 .66rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--buy); margin-bottom: .55rem; }
.content .grid:has(.buy) > div:not(:has(.buy)) strong { color: #fff; font-family: var(--display); font-size: 1rem; letter-spacing: 0; text-transform: none; }

.content .buy { text-align: center; }
.content .btn {
  display: inline-block; width: 100%; max-width: 16rem; background: var(--buy); color: var(--ink); text-decoration: none;
  font: 700 .85rem/1 var(--sans); padding: .7rem .9rem; border-radius: 999px; transition: background .15s, transform .15s;
}
.content .btn::after { content: " ↗"; }
.content .btn:hover { background: var(--buy-hover); color: var(--ink); transform: translateY(-1px); }

/* Accordions (Thrive toggles) */
.content details.toggle { clear: both; border-top: 1px solid var(--line); margin: 0; }
.content details.toggle:last-of-type { border-bottom: 1px solid var(--line); }
.content details.toggle summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem .25rem; }
.content details.toggle summary::-webkit-details-marker { display: none; }
.content details.toggle summary > * { margin: 0; font: 600 1.2rem/1.3 var(--display); }
.content details.toggle summary::after { content: "+"; font: 300 1.7rem/1 var(--sans); color: var(--accent); transition: transform .2s; }
.content details.toggle[open] summary::after { transform: rotate(45deg); }
.content details.toggle > div { padding: 0 0 1.25rem; }

/* ---------- related + comments ---------- */
.related { margin-top: 2rem; }
.comments-wrap { max-width: 780px; }
.comments { margin-top: 4rem; }
.comments > h2 { font-size: 1.8rem; border-top: 2px solid var(--ink); padding-top: .9rem; }
.comment-form { display: grid; gap: .4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 2.5rem; }
.comment-form label { font-weight: 600; font-size: .9rem; margin-top: .4rem; }
.comment-form input, .comment-form textarea { font: inherit; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.comment-form input:focus, .comment-form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.comment-form button { justify-self: start; margin-top: .6rem; font: 700 .9rem/1 var(--sans); padding: .8rem 1.4rem; border-radius: 999px; border: 0; background: var(--ink); color: #fff; cursor: pointer; }
.comment-form button:disabled { opacity: .45; cursor: not-allowed; }
.comment-form-note { margin: 0; font-size: .85rem; color: var(--ink-3); }
.comment-list, .replies { list-style: none; margin: 0; padding: 0; }
.comment { padding: 1.1rem 0; }
.comment-list > .comment + .comment { border-top: 1px solid var(--line); }
.comment-head { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .6rem; font-size: .92rem; }
.comment-head time { color: var(--ink-3); font-size: .82rem; }
.avatar { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--ink-2); font: 600 .9rem/1 var(--display); }
.by-author > .comment-head .avatar { background: var(--accent); color: #fff; }
.badge { font: 700 .62rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px solid currentColor; border-radius: 999px; padding: .25rem .5rem; }
.comment-body { padding-left: 2.6rem; font-size: .98rem; overflow-wrap: anywhere; }
.comment-body p { margin: .4rem 0; }
.replies { margin-left: 2.6rem; border-left: 2px solid var(--line); padding-left: 1rem; }
.replies .comment { padding-bottom: .4rem; }

/* ---------- pages, archives ---------- */
.page-header { padding-top: clamp(1.5rem, 4vw, 3rem); }
.page-header h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: .6rem 0 .6rem; font-weight: 500; }
.page-header .deck { margin: 0; }
.page .content, .show-page .content { margin-top: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.chips a { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; font-size: .9rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.chips a:hover { border-color: var(--accent); color: var(--accent); }
.page-header + section .cards, .chips + section .cards { margin-top: 2rem; }
.pager { display: flex; justify-content: space-between; margin: 3rem 0 0; font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: #151311; color: #b9b2a8; margin-top: 5rem; padding: 3.5rem 0 1.5rem; font-size: .92rem; }
.about-strip + * { margin-top: 0; }
main:has(.about-strip:last-child) + .site-footer { margin-top: 0; border-top: 1px solid #2c2925; }
.footer-inner { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.chips a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.footer-about p { margin: .9rem 0 0; max-width: 22rem; }
.site-footer h2 { font: 700 .72rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: #b9b2a8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-legal { border-top: 1px solid #2c2925; margin-top: 2.5rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .8rem; color: #8a837b; }
.footer-legal p { margin: 0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* On-screen reference card label (overrides the "Close match" label style) */
.content .grid:has(.buy) > div:not(:has(.buy)) > p:first-child strong:first-child {
  color: #fff; font: 600 1rem/1.25 var(--display); letter-spacing: 0; text-transform: none; margin-bottom: .5rem;
}
/* Threaded replies: every level stays indented; deeper levels indent less so long chains stay readable */
.replies .replies { margin-left: 1.25rem; }
.replies .replies .replies { margin-left: .6rem; }
.reply-to { display: block; padding-left: 2.6rem; margin-top: -.1rem; font-size: .78rem; color: var(--ink-3); }
.reply-to a { color: inherit; }
@media (max-width: 600px) {
  .comment-body, .reply-to { padding-left: 0; }
  .replies { margin-left: .75rem; padding-left: .75rem; }
  .replies .replies, .replies .replies .replies { margin-left: .4rem; }
}

/* backdrop-filter makes the header the containing block for position:fixed children,
   which would squash the mobile menu panel to the header's height; drop it while the menu is open. */
.site-header.nav-open { backdrop-filter: none; background: var(--paper); }
/* Two product cards per row on phones */
@media (max-width: 600px) {
  .content .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .content .grid > div { padding: .75rem .55rem; font-size: .85rem; }
  .content .grid figure.img img { max-height: 120px; }
  .content .btn { font-size: .78rem; padding: .6rem .5rem; }
}

/* Show hub pages */
.characters-covered { margin-top: 1.75rem; }
.characters-covered h2 { font: 700 .72rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 .75rem; }
ul.chips { list-style: none; padding: 0; margin: 0; }
.chips a { display: inline-flex; align-items: center; gap: .45rem; }
.chips a span { font-size: .75rem; font-weight: 600; color: var(--ink-3); background: var(--paper); border-radius: 999px; padding: .05rem .45rem; }
.chips a:hover span { color: var(--accent); }
.character-section .section-head { margin-top: 3rem; }

/* Comment form + reply buttons */
.comment-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.comment-form button[type="submit"]:disabled { opacity: .6; cursor: progress; }
.reply-banner { margin: 0 0 .25rem; font-size: .9rem; color: var(--ink-2); }
.cancel-reply, .reply-btn { font: 600 .82rem/1 var(--sans); background: none; border: 0; padding: .25rem 0; color: var(--accent); cursor: pointer; }
.cancel-reply:hover, .reply-btn:hover { text-decoration: underline; }
.comment-actions { padding-left: 2.6rem; margin-top: -.1rem; }
.comment .comment-form { margin: .75rem 0 1rem 2.6rem; }
.form-status { margin: .25rem 0 0; font-size: .9rem; color: var(--ok, #2f7d4f); min-height: 1.2em; }
.form-status.error { color: var(--accent); }
.form-status:empty { display: none; }
.turnstile:empty { display: none; }
@media (max-width: 600px) {
  .comment-actions { padding-left: 0; }
  .comment .comment-form { margin-left: 0; }
}
.comment-notice { margin: .5rem 0 .75rem 2.6rem; padding: .6rem .9rem; border-radius: var(--radius-sm); background: #e8f3ec; color: #22603c; font-size: .9rem; }
.comments > .comment-notice { margin-left: 0; }
@media (max-width: 600px) { .comment-notice { margin-left: 0; } }

/* Quick answers (direct answers to common questions, shown above the article) */
.quick-answers { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: 1.1rem 1.25rem; margin: 0 0 2rem; }
.quick-answers > h2 { font: 700 .72rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 .75rem; }
.quick-answers .qa + .qa { border-top: 1px solid var(--line); margin-top: .75rem; padding-top: .75rem; }
.quick-answers h3 { font: 600 1.05rem/1.3 var(--display); margin: 0 0 .25rem; }
.quick-answers p { margin: 0; font-size: .97rem; line-height: 1.6; color: var(--ink-2); }
