:root {
  /* Rebrand Nov 25 2026: black, white and red, matched to homeartandfamily.com and the logo. */
  --paper: #ffffff;
  --paper-deep: #f5f5f5;
  --card: #ffffff;
  --ink: #111111;
  --muted: #555555;      /* 7.5:1 on white */
  --rule: #e3e3e3;
  --accent: #941116;     /* logo red, sampled from the logo art; 9.2:1 on white */
  --accent-hover: #6b0c10;
  --pine: #111111;       /* legacy name: dark buttons, pager, banners */
  --gold: #941116;       /* legacy name: eyebrows, rules */
  --black: #111111;
  --bar: #1c1c1c;        /* main site's nav bar is #232323 */
  --shadow: none;
  --serif: "Source Sans 3", "Helvetica Neue", Arial, system-ui, sans-serif;
  --display: "Playfair Display", "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Source Sans 3", "Helvetica Neue", Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }

.wrap { width: min(1120px, calc(100% - 2.5rem)); margin: 0 auto; }
.wrap-narrow { width: min(42rem, calc(100% - 2.5rem)); margin: 0 auto; }

.site-top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.masthead {
  padding: 1.15rem 0 0.85rem;
  background: transparent;
}
.masthead-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
}
.wordmark span { display: block; font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 0.15rem; }
nav.primary { display: flex; gap: 1.15rem; flex-wrap: wrap; font-family: var(--sans); font-size: 0.92rem; font-weight: 500; }
nav.primary a { color: var(--ink); text-decoration: none; }
nav.primary a:hover,
nav.primary a[aria-current="page"] { color: var(--accent); }

.hero { padding: 3.2rem 0 2.4rem; }
.kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.8rem;
}
h1 {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.intro-v2 { font-size: 1.05rem; line-height: 1.6; max-width: 46rem; margin: 0 0 1.5rem; }
.dek { font-size: 1.28rem; line-height: 1.45; color: var(--muted); margin: 0 0 1.5rem; }
.intro p, .prose p { margin: 0 0 1rem; }
p.dropcap::first-letter {
  font-family: var(--display);
  font-weight: 600;
  float: left;
  font-size: 3.35rem;
  line-height: 0.8;
  padding: 0.12rem 0.28rem 0 0;
  color: var(--accent);
}

.section { padding: 1.5rem 0 3rem; }
h2 { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; margin: 0 0 0.6rem; }
.section-lead { color: var(--muted); margin: 0 0 1.5rem; max-width: 42rem; }

.entry-grid, .region-grid, .video-grid, .country-grid, .related-grid {
  display: grid;
  gap: 1rem;
}
.entry-grid { grid-template-columns: repeat(2, 1fr); gap: 1.15rem; }
.region-grid { grid-template-columns: repeat(4, 1fr); }
.video-grid { grid-template-columns: repeat(3, 1fr); }
.country-grid { grid-template-columns: repeat(4, 1fr); gap: 0.55rem 0.7rem; }

.entry-card, .region-card, .video-card, .pillar-card {
  background: var(--card);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: block;
}
.entry-card { padding: 1.6rem 1.5rem 1.4rem; min-height: 12rem; transition: transform 0.15s ease; }
.entry-card:hover { transform: translateY(-2px); color: inherit; }
.entry-card .eyebrow, .region-card .eyebrow, .video-meta {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.45rem;
}
.entry-card h2 { margin-bottom: 0.4rem; }
.entry-card p { margin: 0; color: var(--muted); font-size: 1.02rem; }

.region-card { padding: 1.2rem 1.1rem 1.15rem; }
.region-card:hover { color: inherit; border-color: #111; }
.region-card h2 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.region-card p { margin: 0 0 0.7rem; color: var(--muted); font-size: 0.98rem; }
.region-card .count { font-family: var(--sans); font-size: 0.82rem; color: var(--pine); }

.video-card { overflow: hidden; }
.video-card:hover { color: inherit; }
.thumb { position: relative; background: #111; aspect-ratio: 16/9; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .dur {
  position: absolute; right: 0.5rem; bottom: 0.5rem;
  background: rgba(0,0,0,0.82); color: #fff;
  font-family: var(--sans); font-size: 0.75rem; padding: 0.15rem 0.4rem;
}
.video-card .body { padding: 0.85rem 0.95rem 1rem; }
.video-card h3 { font-family: var(--display); font-size: 1.05rem; line-height: 1.3; font-weight: 600; margin: 0 0 0.35rem; }
.video-meta { letter-spacing: 0.06em; }

.country-grid a, .country-grid span {
  font-family: var(--sans);
  font-size: 0.92rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--rule);
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  align-items: baseline;
}
.country-grid a:hover { border-color: var(--accent); color: var(--accent); }
.country-grid .has-films { font-weight: 600; border-color: #111; }
.country-grid .empty { color: var(--muted); background: transparent; }
.country-grid small { font-weight: 500; color: var(--muted); }

.player {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #111 center/cover no-repeat;
  margin: 0 0 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
}
.player-facade {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: inherit;
}
.player-facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.player-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4.5rem;
  height: 4.5rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(17,17,17,0.78);
  border: 2px solid #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  pointer-events: none;
  transition: transform 0.15s ease, background 0.15s ease;
}
.player-play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-42%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.7rem 0 0.7rem 1.15rem;
  border-color: transparent transparent transparent #fff;
}
.player-facade:hover .player-play,
.player-facade:focus-visible .player-play {
  transform: translate(-50%, -50%) scale(1.06);
  background: #941116;
}
.player-facade:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.player-fallback {
  display: none;
  position: absolute;
  inset: 0;
  margin: 0;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: #111;
  color: #fff;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.45;
  text-align: center;
  z-index: 2;
}
.player.is-failed .player-fallback { display: flex; }
.player.is-failed .player-facade,
.player.is-failed iframe { display: none; }
.player.is-playing .player-facade,
.player.is-playing .player-fallback { display: none; }
@media (max-width: 620px) {
  .player-play { width: 3.75rem; height: 3.75rem; }
}

.credit {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--rule);
}
.crumbs { font-family: var(--sans); font-size: 0.85rem; color: var(--muted); margin: 0 0 1.2rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

.takeaways { padding-left: 1.15rem; margin: 0 0 1.5rem; }
.takeaways li { margin: 0 0 0.45rem; }
.channel-blurb {
  background: var(--card);
  border: 1px solid var(--rule);
  padding: 1rem 1.15rem;
  font-size: 1rem;
  color: #333;
}
.channel-blurb .note { font-size: 0.9rem; color: var(--muted); font-style: italic; margin: 0.8rem 0 0; }

footer.site {
  border-top: 1px solid var(--rule);
  margin-top: 2rem;
  padding: 1.4rem 0 2.2rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--muted);
}
footer.site .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.preview-flag { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; }

@media (max-width: 900px) {
  .entry-grid, .region-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
  .country-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 1.05rem; }
  .wrap, .wrap-narrow, .masthead-inner { width: min(1120px, calc(100% - 1.5rem)); }
  .masthead-inner { flex-direction: column; gap: 0.55rem; }
  .hero { padding: 2rem 0 1.4rem; }
  .entry-grid, .region-grid, .video-grid { grid-template-columns: 1fr; }
  .entry-card { min-height: 0; }
}

.dev-banner {
  background: var(--pine);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0.5rem 1.25rem;
  line-height: 1.4;
}
.dev-banner strong { font-weight: 600; }

.video-card.is-static { cursor: default; }
.video-card .open-page {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0.45rem 0 0;
}
.related-grid { grid-template-columns: repeat(3, 1fr); margin-top: 0.5rem; }
.hero-rule {
  width: 3.5rem;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 0 0 1.4rem;
}
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin: 0 0 1.75rem;
  font-family: var(--sans);
}
.stat-row .n {
  display: block;
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}
.stat-row .l {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.place-note {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 1rem;
}
@media (max-width: 900px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .related-grid { grid-template-columns: 1fr; }
  .stat-row .n { font-size: 1.5rem; }
}


.ticker {
  padding: 0.35rem 0 0.7rem;
}
.ticker-inner p {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.55rem;
  align-items: baseline;
}
.ticker-total {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}
.ticker-total:hover { color: var(--accent); }
.ticker-count {
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 1.08em;
  letter-spacing: -0.01em;
}
.ticker-rule { color: var(--gold); font-weight: 500; }
.ticker-region { color: var(--muted); }
.ticker-region .ticker-count { color: var(--ink); }

/* --- Catalog findability: header search, listings, video pages --- */
.masthead-inner { align-items: center; flex-wrap: wrap; }
nav.primary a[href="/search/"] { font-weight: 600; }
.site-search {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  flex: 1 1 16rem;
  max-width: 22rem;
  margin-left: auto;
  font-family: var(--sans);
}
.site-search input[type="search"] {
  flex: 1;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  padding: 0.45rem 0.7rem;
  border-radius: 3px 0 0 3px;
  min-width: 0;
}
.site-search input[type="search"]:focus {
  outline: 2px solid var(--gold);
  outline-offset: -1px;
  position: relative;
  z-index: 1;
}
.site-search button {
  font: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--pine);
  background: var(--pine);
  color: #fff;
  padding: 0.45rem 0.8rem;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
}
.site-search button:hover { background: var(--accent); border-color: var(--accent); }
.search-pop {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
  z-index: 40;
  max-height: min(24rem, 70vh);
  overflow: auto;
  padding: 0.25rem 0;
}
.search-pop[hidden] { display: none; }
.search-pop a {
  display: block;
  padding: 0.55rem 0.8rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--rule);
}
.search-pop a:last-child { border-bottom: 0; }
.search-pop a:hover, .search-pop a:focus { background: var(--paper); }
.search-pop .t { font-family: var(--display); font-weight: 600; font-size: 0.98rem; line-height: 1.3; }
.search-pop .m { font-size: 0.78rem; color: var(--muted); margin: 0.15rem 0 0; }
.search-pop .empty, .search-pop .status { padding: 0.8rem; color: var(--muted); font-size: 0.9rem; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
@media (max-width: 900px) {
  .site-search { max-width: none; margin-left: 0; flex-basis: 100%; }
}

.sub-grid { grid-template-columns: repeat(3, 1fr); }
.sub-card .count {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.35rem;
}
.sub-card h3 { font-family: var(--display); font-size: 1.25rem; margin: 0 0 0.35rem; }
.sub-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.list-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: end;
  margin: 0 0 1.25rem;
  font-family: var(--sans);
  font-size: 0.9rem;
}
.list-toolbar label { display: flex; flex-direction: column; gap: 0.25rem; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.list-toolbar select {
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  border: 1px solid var(--rule);
  background: #fff;
  padding: 0.35rem 0.5rem;
  min-width: 10rem;
}
.list-status { color: var(--muted); margin: 0 0 1rem; font-family: var(--sans); }
.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 1.5rem 0 0;
  font-family: var(--sans);
}
.pager a, .pager span, .pager button {
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}
.pager a:hover, .pager button:hover { border-color: var(--accent); color: var(--accent); }
.pager [aria-current="page"] { background: var(--pine); color: #fff; border-color: var(--pine); cursor: default; }
.pager button:disabled { opacity: 0.4; cursor: default; }

.desc-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}
.channel-desc {
  background: var(--card);
  border: 1px solid var(--rule);
  padding: 1rem 1.15rem;
  margin: 0 0 1.25rem;
}
.channel-desc p { margin: 0 0 0.7rem; white-space: pre-wrap; }
.channel-desc p:last-child { margin: 0; }
.channel-desc .note { font-size: 0.88rem; color: var(--muted); font-style: italic; white-space: normal; }
.editorial-note {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--muted);
  border-left: 2px solid var(--gold);
  padding: 0.15rem 0 0.15rem 0.9rem;
  margin: 0 0 1.4rem;
}
.crumbs { font-family: var(--sans); font-size: 0.88rem; color: var(--muted); margin: 0 0 1.1rem; }
.crumbs a { color: var(--ink); }
@media (max-width: 900px) {
  .sub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .sub-grid { grid-template-columns: 1fr; }
}

.haf-desc {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink);
  margin: 1.4rem 0 1.8rem;
  max-width: 42rem;
}
.haf-desc p { margin: 0 0 0.9rem; }
.haf-desc p:last-child { margin: 0; }

.magazine-rail {
  margin: 2rem 0 0;
  padding: 1.35rem 0 0;
  border-top: 1px solid var(--rule, #d8d0c4);
  max-width: 42rem;
}
.magazine-rail .kicker { margin-bottom: 0.25rem; }
.magazine-rail h2 { font-family: var(--display); font-size: 1.35rem; margin: 0 0 0.55rem; }
.magazine-rail ul { list-style: none; margin: 0; padding: 0; }
.magazine-rail li { margin: 0.4rem 0; font-family: var(--sans); }
.magazine-rail a { color: var(--pine, #111); }
.subdomain-note { font-size: 0.95rem; color: var(--muted); }

/* v3 long-form topic articles (pilot 2026-11-24) */
.v3-article h1 { max-width: 46rem; }
.v3-lede { font-size: 1.2rem; line-height: 1.6; margin: 0 0 1.5rem; }
.v3-featured { margin: 0 0 2rem; }
.v3-featured figcaption { margin-bottom: .5rem; }
.v3-body h2 { margin: 2.2rem 0 .8rem; font-size: 1.5rem; line-height: 1.25; }
.v3-body h3 { margin: 1.5rem 0 .5rem; font-size: 1.15rem; }
.v3-body p { line-height: 1.7; margin: 0 0 1rem; }
.v3-links, .v3-faq, .v3-sources { margin: 2.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid rgba(0,0,0,.12); }
.v3-links h2, .v3-faq h2, .v3-sources h2 { font-size: 1.25rem; margin: 0 0 .8rem; }
.v3-links ul { margin: 0; padding-left: 1.1rem; line-height: 1.8; }
.v3-faq-item h3 { font-size: 1.05rem; margin: 1rem 0 .3rem; }
.v3-faq-item p { margin: 0; line-height: 1.6; }
.v3-sources ol { padding-left: 1.3rem; line-height: 1.6; font-size: .92rem; }
.v3-src-path { display: block; opacity: .65; word-break: break-all; font-size: .82rem; }


/* ===== Rebrand Nov 25 2026: editorial black / white / red header + right rail ===== */
body { font-size: 1.0625rem; line-height: 1.65; color: var(--ink); }
h1, h2, h3, .video-card h3, .sub-card h3, .search-pop .t { font-family: var(--display); letter-spacing: -0.005em; }
h1 { font-weight: 600; letter-spacing: -0.015em; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.site-top { position: relative; background: #fff; backdrop-filter: none; border-bottom: 0; }
.masthead { padding: 1.1rem 0 1rem; border-bottom: 4px solid var(--black); }
.masthead-inner { align-items: center; flex-wrap: nowrap; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.brand-logo { display: block; line-height: 0; flex: 0 0 auto; }
.brand-logo img { height: 36px; width: auto; }
.pillar-tag {
  font-family: var(--sans); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); text-decoration: none; padding-left: 1rem; border-left: 1px solid #bdbdbd; line-height: 1.6; white-space: nowrap;
}
.pillar-tag:hover { color: var(--black); }

nav.primary { display: block; background: var(--bar); font-family: var(--sans); position: sticky; top: 0; z-index: 30; }
nav.primary .nav-inner {
  width: min(1200px, calc(100% - 2.5rem)); margin: 0 auto; display: flex; gap: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
}
nav.primary .nav-inner::-webkit-scrollbar { display: none; }
nav.primary a {
  color: #f2f2f2; text-decoration: none; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.85rem 1.05rem; white-space: nowrap; border-bottom: 3px solid transparent;
}
nav.primary a:hover { color: #fff; background: #000; border-bottom-color: var(--accent); }
nav.primary a[aria-current="page"] { color: #fff; background: var(--accent); }
nav.primary a[href="/search/"] { font-weight: 600; }
nav.primary a.nav-about { margin-left: auto; }
nav.primary a.nav-mag { color: #fff; }
nav.primary a.nav-mag::after { content: " \2197"; letter-spacing: 0; }
nav.primary a.nav-subscribe {
  background: var(--accent);
  color: #fff;
  border-bottom-color: var(--accent);
  font-weight: 700;
}
nav.primary a.nav-subscribe:hover,
nav.primary a.nav-subscribe:focus-visible {
  background: var(--accent-hover);
  color: #fff;
  border-bottom-color: #fff;
}
nav.primary a.nav-login {
  color: #9a9a9a;
  font-weight: 500;
  letter-spacing: 0.12em;
}
nav.primary a.nav-login:hover,
nav.primary a.nav-login:focus-visible {
  color: #fff;
  background: transparent;
  border-bottom-color: transparent;
}

.ticker { padding: 0.55rem 0; border-bottom: 1px solid var(--rule); }
.ticker-inner p { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.ticker-count { color: var(--accent); font-family: var(--display); letter-spacing: 0; text-transform: none; }
.ticker-region .ticker-count { color: var(--accent); }
.ticker-rule { color: #999; }

.site-search { max-width: 20rem; }
.site-search input[type="search"] { border: 1px solid #111; border-radius: 0; background: #fff; }
.site-search input[type="search"]:focus { outline: 2px solid var(--accent); }
.site-search button { border-radius: 0; background: #111; border-color: #111; color: #fff; }
.site-search button:hover { background: var(--accent); border-color: var(--accent); }
.search-pop { border-color: #111; }
.search-pop a:hover, .search-pop a:focus { background: #f5f5f5; }

.kicker, .entry-card .eyebrow, .region-card .eyebrow, .video-meta { color: var(--accent); font-weight: 600; }
.hero-rule { background: var(--accent); height: 3px; }
p.dropcap::first-letter { color: var(--accent); font-family: var(--display); font-weight: 700; }

.entry-card, .region-card, .video-card, .pillar-card, .sub-card { border: 1px solid var(--rule); box-shadow: none; background: #fff; }
.entry-card:hover, .region-card:hover, .sub-card:hover { border-color: #111; }
.video-card:hover h3 { color: var(--accent); }
.entry-card { border-top: 3px solid #111; }
.channel-blurb { background: #f7f7f7; border: 0; border-left: 3px solid var(--accent); }
.country-grid a, .country-grid span { background: #fff; }
.pager [aria-current="page"] { background: #111; border-color: #111; color: #fff; }

.dev-banner { background: var(--accent); color: #fff; }

footer.site { background: var(--bar); color: #d6d6d6; border-top: 4px solid var(--accent); margin-top: 3rem; padding: 2rem 0 2.6rem; }
footer.site a { color: #fff; }
footer.site a:hover { color: #ff9c9f; }
.preview-flag { color: #bdbdbd; }

.v3-article h1 { font-weight: 600; }
.v3-lede { font-family: var(--sans); font-size: 1.25rem; line-height: 1.6; color: #222; }
.v3-body h2 { border-top: 1px solid #111; padding-top: 1.1rem; }
.v3-body p { font-size: 1.09rem; }
.v3-links, .v3-faq, .v3-sources { border-top: 3px solid #111; }
.magazine-rail { border-top-color: #111; }
.magazine-rail a { color: var(--accent); }

/* Right rail: stacked logo, mission, newest, shelves. 336px column = 18px
   padding on each side + 300px content. No text or link touches an edge. */
.page-with-rail {
  width: min(1236px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 2rem 1.75rem;
  align-items: start;
  padding: 0 0 1rem;
}
.page-main .wrap,
.page-main .wrap-narrow {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.page-main .wrap-narrow { max-width: 42rem; }
.site-rail {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.15rem;
  border-left: 0;
  box-shadow: -1px 0 0 var(--rule);
}
/* Desktop rail stays in normal page flow so it scrolls with the
   main column. Sticky + max-height + overflow created a second
   scrollbar, which cut the rail off until you scrolled it alone. */
.rail-logo { display: block; margin: 0; line-height: 0; }
.rail-logo img { width: 100%; height: auto; }
.rail-about p {
  font-family: var(--sans);
  font-size: 0.88rem;
  line-height: 1.5;
  color: #333;
  margin: 0 0 0.7rem;
}
.rail-about-more { margin: 0 0 0.85rem; }
.rail-about-more a {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
}
.rail-about-more a:hover { color: var(--black); }
.rail-pillars { list-style: none; margin: 0; padding: 0; }
.rail-pillars li { margin: 0; padding: 0.55rem 0 0.6rem; border-top: 1px solid var(--rule); }
.rail-pillars a {
  display: block;
  text-decoration: none;
  color: #333;
  font-family: var(--sans);
  font-size: 0.86rem;
  line-height: 1.4;
}
.rail-pillars a:hover { color: var(--ink); }
.rail-pillars .lab {
  display: block;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.18rem;
}
.rail-pillars .lab-art { color: var(--accent); }
.rail-block { margin: 0; }
.site-rail h2 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.7rem;
}
.rail-newest, .rail-shelves { list-style: none; margin: 0; padding: 0; }
.rail-newest {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.rail-newest li { margin: 0; padding: 0; }
.rail-newest a,
.rail-newest a.rail-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
  max-width: none;
  aspect-ratio: auto;
  text-decoration: none;
  color: var(--ink);
  overflow: visible;
  background: transparent;
  padding: 0;
  border: 0;
}
.rail-newest img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #f5f5f5;
  transition: opacity 0.2s ease;
}
.rail-newest .t {
  position: static;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  padding: 0;
  background: none;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.rail-newest a:hover,
.rail-newest a:focus-visible { color: inherit; }
.rail-newest a:hover .t,
.rail-newest a:focus-visible .t { color: var(--accent); }
.rail-newest a:hover img,
.rail-newest a:focus-visible img { opacity: 0.9; transform: none; }
.rail-newest a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.rail-shelves a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.88rem;
  padding: 0.38rem 0;
  border-bottom: 1px solid var(--rule);
}
.rail-shelves a:hover { color: var(--accent); }
.rail-shelves .n { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 0.8rem; }

.search-toggle { display: none; }

@media (max-width: 900px) {
  .page-with-rail { display: block; width: min(1120px, calc(100% - 2.5rem)); }
  .site-rail {
    position: static;
    max-height: none;
    overflow: visible;
    margin-top: 2.5rem;
    padding: 1.25rem 0 0;
    border-left: 0;
    box-shadow: none;
    border-top: 4px solid #111;
    gap: 1.25rem;
  }
  .rail-logo { max-width: 10.5rem; }
  /* Single column keeps headline-above-image tiles even and editorial. */
  .rail-newest {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
  }
  .rail-newest a,
  .rail-newest a.rail-tile { max-width: none; }
}

@media (max-width: 760px) {
  .masthead { padding: 0.7rem 0 0.65rem; }
  .masthead-inner { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
  .brand { flex: 1 1 0; min-width: 0; gap: 0.7rem; }
  .brand-logo img { height: 22px; }
  .pillar-tag { font-size: 0.7rem; letter-spacing: 0.16em; padding-left: 0.65rem; }
  .v3-lede { font-size: 1.12rem; }
  /* Search collapses to a magnifier; tapping it focuses the field, which expands the row. */
  .site-search { flex: 0 0 auto; max-width: none; margin-left: 0; }
  .search-toggle {
    display: flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem;
    border: 1px solid #111; color: #111; background: #fff; cursor: pointer;
  }
  .search-toggle:hover { background: #111; color: #fff; }
  .site-search input[type="search"], .site-search button {
    position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; right: 0;
  }
  .site-search:focus-within, .site-search:has(input:not(:placeholder-shown)) { flex: 1 1 100%; order: 3; }
  .site-search:focus-within .search-toggle, .site-search:has(input:not(:placeholder-shown)) .search-toggle { display: none; }
  .site-search:focus-within input[type="search"], .site-search:has(input:not(:placeholder-shown)) input[type="search"],
  .site-search:focus-within button, .site-search:has(input:not(:placeholder-shown)) button {
    position: static; width: auto; height: auto; opacity: 1; pointer-events: auto; border: 1px solid #111;
  }
  .site-search:focus-within input[type="search"], .site-search:has(input:not(:placeholder-shown)) input[type="search"] { flex: 1; padding: 0.55rem 0.7rem; font-size: 16px; }
  .site-search:focus-within button, .site-search:has(input:not(:placeholder-shown)) button { padding: 0.55rem 0.8rem; }
  nav.primary .nav-inner { width: 100%; padding: 0 0.4rem; }
  nav.primary a { padding: 0.75rem 0.7rem; font-size: 0.74rem; letter-spacing: 0.12em; }
  nav.primary a.nav-about { margin-left: auto; }
  nav.primary a.nav-subscribe { padding-left: 0.85rem; padding-right: 0.85rem; }
}
@media (max-width: 420px) {
  .brand { gap: 0.55rem; }
  .brand-logo img { height: 18px; }
  .pillar-tag { font-size: 0.64rem; letter-spacing: 0.12em; padding-left: 0.55rem; }
  .search-toggle { width: 2.2rem; height: 2.2rem; }
  .rail-logo { max-width: 8.5rem; }
}

/* -------------------------------------------------------------------------
   Sub-shelves (Nov 25, 2026): chips, Netflix-style rows, nested rail, nav drop
   ------------------------------------------------------------------------- */
.shelf-browse { margin: 1.5rem 0 0; }
.sub-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.5rem; }
.sub-chips a {
  display: inline-flex; align-items: baseline; gap: 0.4rem;
  border: 1px solid var(--line, #ddd); padding: 0.35rem 0.75rem;
  font-size: 0.86rem; text-decoration: none; color: inherit;
  border-radius: 0;
}
.sub-chips a:hover { border-color: var(--accent); color: var(--accent); }
.sub-chips .n { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 0.8rem; }
.shelf-row { margin: 0 0 1.75rem; }
.shelf-row-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin: 0 0 0.6rem;
}
.shelf-row-head h2 { font-family: var(--display); font-size: 1.35rem; margin: 0; font-weight: 600; }
.shelf-row-head h2 a { color: inherit; text-decoration: none; }
.shelf-row-head h2 a:hover { color: var(--accent); }
.shelf-row-head .see-all {
  font-size: 0.86rem; font-weight: 600; color: var(--accent); text-decoration: none;
  white-space: nowrap;
}
.shelf-row-head .see-all:hover { text-decoration: underline; }
.row-scroller {
  display: flex; gap: 0.85rem; overflow-x: auto; padding: 0.15rem 0 0.6rem;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.row-scroller .video-card {
  flex: 0 0 16.5rem; max-width: 16.5rem; scroll-snap-align: start;
}
.country-hubs { margin: 1.25rem 0 0; }
.country-hubs .kicker { margin-bottom: 0.7rem; }

/* Nested shelves in the right rail */
.rail-shelves li.has-subs { margin-bottom: 0.35rem; }
.rail-shelves .rail-sub {
  list-style: none; margin: 0.15rem 0 0.4rem 0.7rem; padding: 0;
  border-left: 1px solid var(--line, #ddd);
}
.rail-shelves .rail-sub a {
  padding: 0.15rem 0 0.15rem 0.65rem; font-size: 0.82rem;
}
.rail-shelves .rail-sub .n { font-size: 0.74rem; }
.rail-shelves .rail-sub .rail-sub { margin-left: 0.55rem; }

/* Pillar dropdown in the primary nav (desktop). Hidden on small screens. */
.nav-item { position: relative; display: inline-flex; }
.nav-item > a { /* inherits nav.primary a */ }
.nav-drop {
  display: none; position: absolute; top: 100%; left: 0; min-width: 16rem;
  max-height: min(70vh, 32rem); overflow: auto;
  background: #fff; color: var(--ink); border: 1px solid #000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12); z-index: 40; padding: 0.4rem 0;
}
.nav-item:hover > .nav-drop,
.nav-item:focus-within > .nav-drop { display: block; }
.nav-drop a, nav.primary .nav-drop a {
  display: block; padding: 0.35rem 0.9rem; letter-spacing: 0; font-size: 0.86rem;
  text-transform: none; color: var(--ink); background: transparent; border: 0;
}
.nav-drop a:hover, nav.primary .nav-drop a:hover { color: var(--accent); background: #f6f6f6; }
nav.primary .nav-drop a.nav-drop-sub { padding-left: 1.5rem; font-size: 0.82rem; color: #333; }
@media (max-width: 900px) {
  .nav-drop { display: none !important; }
  .row-scroller .video-card { flex-basis: 14rem; max-width: 14rem; }
}

/* ===== Featured heroes and hub banners (Nov 25 2026) =====
   Headline and dek sit directly above the image (Ogilvy); image is always 16:9, so no layout shift. */
.home-hero { padding: 2rem 0 1.5rem; }
.home-hero .crumbs { margin-bottom: 0.9rem; }
.home-hero-head {
  font-size: clamp(2.2rem, 5.2vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 20ch;
  margin: 0 0 0.85rem;
  text-wrap: balance;
}
.home-hero-dek {
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.45;
  color: #333;
  max-width: 40rem;
  margin: 0 0 1.4rem;
  text-wrap: pretty;
}
.home-hero-figure { margin: 0; border-top: 4px solid var(--accent); background: #111; }
.home-hero-figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.home-hero-figure figcaption { font-family: var(--sans); font-size: 0.72rem; color: var(--muted); padding: 0.45rem 0 0; background: var(--paper); letter-spacing: 0.02em; }
.hero.hero-extra { padding-top: 0.5rem; }
.hero.hero-extra .intro-v2 { margin-top: 0; }
.hero.hero-tight { padding-bottom: 0.4rem; }
.hero.hero-tight .dek { margin-bottom: 0; }
.hub-banner-section { padding: 0.6rem 0 1.6rem; }
.hub-banner { border-top: 4px solid var(--accent); padding-top: 1rem; }
.hub-banner .kicker { margin-bottom: 0.4rem; }
.hub-banner-head {
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  max-width: 24ch;
  border: 0;
  padding: 0;
  text-wrap: balance;
}
.hub-banner-dek { font-size: 1.1rem; line-height: 1.45; color: #333; margin: 0 0 1rem; max-width: 40rem; text-wrap: pretty; }
.hub-banner-media { position: relative; display: block; background: #111; line-height: 0; }
.hub-banner-media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.hub-banner-media:hover img, .hub-banner-media:focus-visible img { opacity: 0.92; }
.hub-banner-media:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hub-banner-play {
  position: absolute; left: 1rem; bottom: 1rem; width: 3.1rem; height: 3.1rem;
  background: rgba(17, 17, 17, 0.78); border-radius: 50%;
}
.hub-banner-play::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-38%, -50%);
  border-left: 0.95rem solid #fff; border-top: 0.6rem solid transparent; border-bottom: 0.6rem solid transparent;
}
.hub-banner-cap { font-family: var(--sans); font-size: 0.88rem; line-height: 1.4; color: var(--muted); margin: 0.55rem 0 0; }
.hub-banner-cap a { color: var(--ink); font-weight: 600; text-decoration: none; }
.hub-banner-cap a:hover { color: var(--accent); }
@media (max-width: 760px) {
  .home-hero { padding-top: 1.2rem; }
  .home-hero-head { max-width: none; }
  .hub-banner-head { max-width: none; }
  .hub-banner-play { width: 2.5rem; height: 2.5rem; left: 0.7rem; bottom: 0.7rem; }
}
