/* Phase 1 refinement: the reference split is approximately 226/377 (60%).
   Keep that axis; compact the existing composition for longer FeedBig titles. */
.homepage { --fb-meta-space: 16px; padding: 0; }
.homepage .meta-separator { display: inline-block; flex: 0 0 3px; width: 3px; height: 3px; margin-inline: 2px; border-radius: 50%; background: var(--fb-accent); }
.home-hero {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  min-height: 420px;
  height: clamp(460px, 42vw, 640px);
  background: var(--fb-dark);
}
.hero-story { --fb-hero-text-opacity: .70; position: relative; min-width: 0; min-height: 0; background: var(--fb-dark); }
.hero-story--lead { --fb-hero-text-opacity: .62; grid-row: 1 / span 2; }
.hero-story__link { position: relative; display: grid; place-items: center; height: 100%; color: var(--fb-white); overflow: hidden; }
.hero-story__link::after { content: ""; position: absolute; z-index: 1; inset: 0; background: radial-gradient(ellipse at 50% 52%, rgb(0 0 0 / var(--fb-hero-text-opacity)), rgb(0 0 0 / 20%) 48%, transparent 78%); pointer-events: none; }
.hero-story__image { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-story__copy { position: relative; z-index: 2; width: 100%; padding: 16px 32px; text-align: center; }
.hero-story__category { color: var(--fb-ink); display: inline-block; max-width: 100%; padding: 3px 7px; background: var(--fb-accent); font: 600 var(--fb-meta-size)/1.25 var(--fb-sans); letter-spacing: .07em; text-transform: uppercase; overflow-wrap: anywhere; }
.hero-story__title { max-width: min(28ch, 440px); margin: 8px auto 0; font: 400 var(--fb-type-hero-small)/1.08 var(--fb-serif); letter-spacing: 0; overflow-wrap: anywhere; text-wrap: balance; }
.hero-story--lead .hero-story__title { max-width: min(27ch, 700px); font-size: var(--fb-type-hero); line-height: 1.04; }
.hero-story__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 8px; margin: var(--fb-meta-space) 0 0; font: 400 var(--fb-meta-size)/1.4 var(--fb-sans); text-transform: uppercase; letter-spacing: .04em; }
.hero-story__link:hover { color: var(--fb-white); }
.hero-story__link:focus-visible { outline-offset: -5px; }
.home-hero--1 { grid-template-columns: 1fr; }
.home-hero--2 .hero-story:nth-child(2) { grid-row: 1 / span 2; }
.home-topics { background: #cccccc7d; }
.home-topics__list { display: flex; justify-content: space-between; gap: var(--fb-space-5); list-style: none; margin-block: 0; padding: clamp(40px, 4.2vw, 60px) 0; }
.home-topics__list > li { flex: 0 1 auto; max-width: 24%; min-width: 0; }
.topic { display: flex; align-items: center; gap: var(--fb-space-4); min-width: 0; }
.topic__image { display: grid; place-items: center; flex: 0 0 88px; width: 88px; height: 88px; border-radius: 50%; overflow: hidden; background: var(--fb-white); color: var(--fb-accent-text); font: 400 1.25rem/1 var(--fb-serif); }
.topic__image img { width: 100%; height: 100%; object-fit: cover; }
.topic__copy { display: grid; gap: 3px; min-width: 0; }
.topic__name { color: var(--fb-accent-text); font-size: 14px; font-weight: 600; line-height: 1.35; letter-spacing: .07em; text-transform: uppercase; overflow-wrap: anywhere; }
.topic__detail { color: #65615e; font-size: 14px; font-weight: 500; line-height: 1.4; }
.home-empty { padding-block: var(--fb-space-8); font-family: var(--fb-serif); }

@media (max-width: 1100px) {
  .hero-story__copy { padding: 18px 20px; }
  .topic__image { flex-basis: 72px; width: 72px; height: 72px; }
  .home-topics__list { gap: var(--fb-space-4); }
}
@media (max-width: 760px) {
  .home-hero { height: auto; min-height: 0; grid-template-columns: 1fr; grid-template-rows: none; }
  .hero-story, .hero-story--lead, .home-hero--2 .hero-story:nth-child(2) { grid-row: auto; }
  .hero-story { min-height: 240px; }
  .hero-story--lead { min-height: 360px; }
  .hero-story__copy { padding: var(--fb-space-5) 20px; }
  .home-topics__list > li { max-width: none; }
  .home-topics__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: var(--fb-space-6); row-gap: var(--fb-space-5); }
}
@media (max-width: 380px) {
  .home-topics__list { column-gap: var(--fb-space-3); }
  .topic { gap: var(--fb-space-2); }
  .topic__image { flex-basis: 44px; width: 44px; height: 44px; }
}

/* Phase 2 only: the reference feed is 210px wide, sidebar 100px, gap 10px.
   At the existing 1220px shell this yields approximately 805 / 383 / 32px. */
.homepage > .home-latest { width: 100%; max-width: none; padding-block: clamp(48px, 5vw, 76px); background: var(--fb-soft); }
.home-latest > .home-latest__layout {
  width: min(calc(100% - (2 * var(--fb-gutter))), var(--fb-shell));
  max-width: var(--fb-shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  gap: var(--fb-space-6);
  align-items: start;
}
.home-latest__layout > .home-latest__feed,
.home-latest__layout > .home-latest__sidebar { width: 100%; min-width: 0; max-width: none; justify-self: stretch; }
.home-latest__feed > .editorial-horizontal,
.home-latest__feed > .editorial-overlay { width: 100%; min-width: 0; max-width: none; }
.home-latest__heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--fb-space-4); padding-bottom: var(--fb-space-5); border-bottom: 1px solid var(--fb-line); position: relative; }
.home-latest__heading::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 2px; background: var(--fb-accent); }
.home-latest__heading h2 { margin: 0; font: 400 var(--fb-type-section)/1.1 var(--fb-serif); }
.home-latest__heading > span { color: var(--fb-accent-text); font-size: .75rem; font-weight: 600; letter-spacing: .04em; }
.home-latest .editorial-title { margin: 8px 0 10px; font: 400 var(--fb-type-horizontal)/1.14 var(--fb-serif); overflow-wrap: anywhere; }
.home-latest .editorial-category { display: inline-block; color: var(--fb-accent-text); font: 600 var(--fb-meta-size)/1.3 var(--fb-sans); letter-spacing: .08em; text-transform: uppercase; }
.home-latest .editorial-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: var(--fb-meta-space) 0 0; color: var(--fb-muted); font: 400 var(--fb-meta-size)/1.5 var(--fb-sans); letter-spacing: .035em; text-transform: uppercase; }
.editorial-excerpt { margin: 0; font-size: var(--fb-type-excerpt); line-height: 1.45; color: var(--fb-muted); }
.editorial-horizontal { display: grid; grid-template-columns: 48% minmax(0, 1fr); gap: 0; margin-top: var(--fb-space-5); padding: 0; border: 1px solid var(--fb-line); align-items: stretch; }
.home-latest__heading + .editorial-horizontal { padding-top: 0; }
.editorial-horizontal__image { display: block; aspect-ratio: 4 / 3; min-height: 100%; overflow: hidden; background: var(--fb-soft); }
.editorial-horizontal__image img { width: 100%; height: 100%; object-fit: cover; }
.editorial-horizontal__copy { min-width: 0; padding: var(--fb-space-5); display: flex; flex-direction: column; justify-content: center; }
.home-latest .editorial-horizontal__copy .editorial-meta { margin-top: auto; padding-top: var(--fb-space-4); }
.editorial-overlay { margin-block: var(--fb-space-4); background: var(--fb-dark); }
.editorial-overlay__link { position: relative; display: flex; align-items: end; min-height: 380px; aspect-ratio: 8 / 5; color: var(--fb-white); overflow: hidden; }
.editorial-overlay__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgb(0 0 0 / 4%) 25%, rgb(0 0 0 / 66%) 85%, rgb(0 0 0 / 74%)); pointer-events: none; }
.editorial-overlay__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.editorial-overlay__copy { position: relative; z-index: 1; padding: var(--fb-space-6); }
.home-latest .editorial-overlay .editorial-category { padding: 3px 7px; background: var(--fb-accent); color: var(--fb-ink); }
.home-latest .editorial-overlay .editorial-title { max-width: 28ch; margin-top: 7px; font-size: var(--fb-type-feature); line-height: 1.1; }
.home-latest .editorial-overlay .editorial-meta { color: var(--fb-white); }
.editorial-overlay__link:hover { color: var(--fb-white); }
.editorial-overlay__link:focus-visible { outline-offset: -5px; }
.editorial-social { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--fb-line); }
.editorial-social > span { display: grid; align-content: center; justify-items: center; gap: 8px; min-height: 80px; border-inline-end: 1px solid var(--fb-line); font-size: var(--fb-meta-size); color: var(--fb-ink); }
.editorial-social > span:first-child { border-inline-start: 1px solid var(--fb-line); }
.editorial-social__symbol { font: 700 1.125rem/1 Arial, sans-serif; }
.editorial-social svg { width: 20px; height: 20px; }

.editorial-social > span:nth-child(3) { color: var(--fb-accent-text); }

.editorial-sidebar-heading { margin: 0 0 var(--fb-space-5); text-align: center; font: 400 1rem/1.3 var(--fb-serif); letter-spacing: .035em; text-transform: uppercase; }
.editorial-trending { margin-top: var(--fb-space-6); padding-top: var(--fb-space-4); border-top: 1px solid var(--fb-line); }
.editorial-compact { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: var(--fb-space-4); align-items: center; margin-bottom: var(--fb-space-5); }
.editorial-compact:last-child { margin-bottom: 0; }
.editorial-compact__image { position: relative; display: block; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: var(--fb-soft); }
.editorial-compact__rank { position: absolute; bottom: 2px; left: 2px; display: grid; place-items: center; width: 24px; height: 24px; background: var(--fb-ink); color: var(--fb-white); border: 2px solid var(--fb-white); border-radius: 50%; font: 400 var(--fb-meta-size)/1 var(--fb-sans); }
.editorial-compact__image img { width: 100%; height: 100%; object-fit: cover; }
.home-latest .editorial-compact .editorial-title { margin: 0; font-size: var(--fb-type-compact); line-height: 1.2; }
.home-latest .editorial-compact .editorial-meta { margin-top: 12px; font-size: var(--fb-meta-size); }
.editorial-promo { margin-top: var(--fb-space-6); padding: var(--fb-space-6); background: var(--fb-soft); border: 1px solid var(--fb-line); }
.editorial-promo > a { display: block; }
.editorial-promo img { width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; }
.editorial-spotlight { margin-top: var(--fb-space-6); padding-top: var(--fb-space-5); border-top: 1px solid var(--fb-line); }
.editorial-horizontal--spotlight { display: block; margin-top: 0; padding: 0; border: 0; }
.editorial-horizontal--spotlight .editorial-horizontal__image { aspect-ratio: 4 / 3; }
.editorial-horizontal--spotlight .editorial-horizontal__copy { padding: var(--fb-space-4) 0 0; }
.home-latest .editorial-horizontal--spotlight .editorial-category { font-size: var(--fb-meta-size); }
.home-latest .editorial-horizontal--spotlight .editorial-title { font-size: var(--fb-type-major); margin-block: 8px 0; }
.home-latest .editorial-horizontal--spotlight .editorial-meta { margin-top: var(--fb-meta-space); padding-top: 0; }

@media (max-width: 960px) {
  .home-latest > .home-latest__layout { grid-template-columns: minmax(0, 1fr); gap: var(--fb-space-7); }
  .home-latest__sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--fb-space-6); align-items: start; }
  .editorial-social { grid-column: 1 / -1; }
  .editorial-trending, .editorial-promo, .editorial-spotlight { margin-top: 0; }
  .editorial-trending { padding-top: 0; border: 0; }
}
/* Desktop placement is explicit and cannot inherit tablet sidebar tracks. */
@media (min-width: 961px) {
  .home-latest__layout > .home-latest__feed { grid-column: 1; grid-row: 1; }
  .home-latest__layout > .home-latest__sidebar { display: block; grid-column: 2; grid-row: 1; position: sticky; top: var(--fb-sticky-top); align-self: start; }
  .admin-bar .home-latest__sidebar { top: calc(var(--fb-sticky-top) + 32px); }
}
@media (max-width: 600px) {
  .home-latest__heading { padding-bottom: var(--fb-space-4); }
  .editorial-horizontal { grid-template-columns: 40% minmax(0, 1fr); align-items: stretch; }
  .editorial-horizontal__copy { padding: var(--fb-space-3); }
  .editorial-horizontal__image { aspect-ratio: 1; }
  .editorial-excerpt { display: none; }
  .home-latest .editorial-title { font-size: 1.125rem; }
  .editorial-overlay__link { min-height: 340px; aspect-ratio: auto; }
  .editorial-overlay__copy { padding: var(--fb-space-5); }
  .home-latest__sidebar { display: block; }
  .editorial-trending, .editorial-promo, .editorial-spotlight { margin-top: var(--fb-space-6); }
  .editorial-horizontal--spotlight .editorial-horizontal__image { aspect-ratio: 3 / 2; }
}

/* Phase 3: a centered ruled heading, two large cards, then four small cards. */
.home-popular { padding-block: clamp(48px, 4.5vw, 68px); background: var(--fb-bg); }
.home-popular__heading { display: flex; align-items: center; gap: var(--fb-space-5); margin-bottom: var(--fb-space-6); text-align: center; }
.home-popular__heading::before, .home-popular__heading::after { content: ""; flex: 1; min-width: 16px; height: 1px; background: var(--fb-line); }
.home-popular__heading > div { min-width: 0; }
.home-popular__heading h2 { margin: 0; font: 400 var(--fb-type-section)/1.1 var(--fb-serif); }
.home-popular__heading p { margin: 8px 0 0; color: var(--fb-accent-text); font: 600 .75rem/1.4 var(--fb-sans); letter-spacing: .05em; }
.home-popular__lead, .home-popular__small { display: grid; align-items: stretch; }
.home-popular__lead { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--fb-space-6); }
.home-popular__small { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--fb-space-5); margin-top: var(--fb-space-6); }
.editorial-standard { min-width: 0; display: flex; flex-direction: column; }
.editorial-standard__image { display: block; flex-shrink: 0; aspect-ratio: 4 / 3; margin-bottom: var(--fb-space-4); overflow: hidden; background: var(--fb-soft); }
.editorial-standard__image img { width: 100%; height: 100%; object-fit: cover; }
.home-popular .editorial-category { display: inline-block; color: var(--fb-accent-text); font: 600 var(--fb-meta-size)/1.3 var(--fb-sans); letter-spacing: .08em; text-transform: uppercase; }
.home-popular .editorial-title { margin: 6px 0 8px; font: 400 var(--fb-type-standard)/1.16 var(--fb-serif); overflow-wrap: anywhere; }
.home-popular .editorial-standard--large .editorial-title { font-size: var(--fb-type-major); line-height: 1.1; }
.home-popular .editorial-standard--large .editorial-standard__image { aspect-ratio: 3 / 2; margin-bottom: var(--fb-space-5); }
.home-popular .editorial-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: var(--fb-meta-space) 0 0; color: var(--fb-muted); font: 400 var(--fb-meta-size)/1.5 var(--fb-sans); letter-spacing: .035em; text-transform: uppercase; }
.home-popular__action { margin: var(--fb-space-6) 0 0; text-align: center; }
.home-popular__action a, .home-editors__action a { display: inline-grid; place-items: center; min-width: 156px; min-height: 44px; padding: 12px 28px; border: 1px solid var(--fb-accent-text); background: var(--fb-accent-text); color: var(--fb-white); font: 600 var(--fb-type-action)/1.4 var(--fb-sans); letter-spacing: .08em; text-transform: uppercase; }
.home-popular__empty { margin: 0; text-align: center; color: var(--fb-muted); }
@media (max-width: 760px) {
  .home-popular__small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-popular__heading { gap: var(--fb-space-4); }
}
@media (max-width: 600px) {
  .home-popular__lead { grid-template-columns: minmax(0, 1fr); }
}

/* Phase 4: category articles in the reference's asymmetric dark composition. */
.home-dark-feature { --fb-dark-text: #f8f4f1; --fb-dark-muted: #b7b0ad; padding-block: clamp(48px, 5vw, 76px); background: var(--fb-dark); color: var(--fb-dark-text); }
.home-dark-feature__heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--fb-space-4); margin-bottom: var(--fb-space-6); }
.home-dark-feature__heading::after { content: ""; order: 2; flex: 1; min-width: 32px; height: 1px; align-self: center; background: #777; }
.home-dark-feature__heading h2 { min-width: 0; margin: 0; font: 400 var(--fb-type-section)/1.12 var(--fb-serif); overflow-wrap: anywhere; }
.home-dark-feature__heading > span { color: var(--fb-accent); font-size: .75rem; font-weight: 600; letter-spacing: .04em; }
.home-dark-feature__heading > a { order: 3; padding-block: 12px; font: 600 var(--fb-type-action)/1.4 var(--fb-sans); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; background-image: linear-gradient(var(--fb-accent), var(--fb-accent)); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 2px; }
.dark-feature-story__link { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); align-items: center; color: inherit; }
.dark-feature-story__link:hover { color: inherit; }
.dark-feature-story__image { display: block; grid-column: 2; grid-row: 1; aspect-ratio: 3 / 2; min-width: 0; overflow: hidden; background: #22252a; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 84%, 10% 84%, 10% 16%, 0 16%); }
.dark-feature-story__image img { width: 100%; height: 100%; object-fit: cover; }
.dark-feature-story__copy { grid-column: 1; grid-row: 1; min-width: 0; padding: var(--fb-space-5) var(--fb-space-5) var(--fb-space-5) 0; }
.home-dark-feature .editorial-category { display: inline-block; color: var(--fb-accent); font: 600 var(--fb-meta-size)/1.3 var(--fb-sans); letter-spacing: .08em; text-transform: uppercase; }
.home-dark-feature .editorial-title { margin: 7px 0 10px; font: 400 var(--fb-type-standard)/1.16 var(--fb-serif); overflow-wrap: anywhere; }
.home-dark-feature .dark-feature-story .editorial-title { max-width: 22ch; margin-block: 16px; font-size: var(--fb-type-feature); line-height: 1.08; }
.home-dark-feature .editorial-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: var(--fb-meta-space) 0 0; color: var(--fb-dark-muted); font: 400 var(--fb-meta-size)/1.5 var(--fb-sans); letter-spacing: .035em; text-transform: uppercase; }
.home-dark-feature__stories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--fb-space-5); margin-top: var(--fb-space-6); align-items: stretch; }
.home-dark-feature .editorial-standard__image { background: #22252a; }
@media (max-width: 760px) {
  .dark-feature-story__link { grid-template-columns: minmax(0, 1fr); }
  .dark-feature-story__image { grid-column: 1; grid-row: 1; clip-path: none; }
  .dark-feature-story__copy { grid-column: 1; grid-row: 2; padding: var(--fb-space-5) 0 0; }
  .home-dark-feature__stories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-dark-feature__heading { gap: var(--fb-space-3); }
}

/* Phase 5: the reference has one portrait lead and unequal four/three stacks. */
.home-editors { padding-block: clamp(48px, 4.5vw, 68px); background: var(--fb-soft); }
.home-editors__heading { display: flex; align-items: center; gap: var(--fb-space-5); margin-bottom: var(--fb-space-6); text-align: center; }
.home-editors__heading::before, .home-editors__heading::after { content: ""; flex: 1; min-width: 16px; height: 1px; background: var(--fb-line); }
.home-editors__heading > div { min-width: 0; }
.home-editors__heading h2 { margin: 0; font: 400 var(--fb-type-section)/1.1 var(--fb-serif); }
.home-editors__heading p { margin: 8px 0 0; color: var(--fb-accent-text); font: 600 .75rem/1.4 var(--fb-sans); letter-spacing: .05em; }
.home-editors__layout { display: grid; grid-template-columns: minmax(0, 2.1fr) repeat(2, minmax(0, 1fr)); gap: var(--fb-space-6); align-items: start; }
.home-editors__stack { display: grid; gap: var(--fb-space-5); min-width: 0; }
.home-editors .editorial-overlay--portrait { margin: 0; min-width: 0; }
.home-editors .editorial-overlay__link { aspect-ratio: 3 / 4; min-height: 0; }
.home-editors .editorial-overlay__link::after { background: linear-gradient(to bottom, transparent 40%, rgb(0 0 0 / 16%) 60%, rgb(0 0 0 / 72%) 88%, rgb(0 0 0 / 78%)); }
.home-editors .editorial-overlay__copy { width: 100%; padding: var(--fb-space-6); text-align: center; }
.home-editors .editorial-category { display: inline-block; color: var(--fb-accent-text); font: 600 var(--fb-meta-size)/1.3 var(--fb-sans); letter-spacing: .08em; text-transform: uppercase; }
.home-editors .editorial-overlay .editorial-category { padding: 3px 7px; background: var(--fb-accent); color: var(--fb-ink); }
.home-editors .editorial-title { margin: 6px 0 8px; font: 400 var(--fb-type-standard)/1.16 var(--fb-serif); overflow-wrap: anywhere; }
.home-editors .editorial-overlay .editorial-title { max-width: 25ch; margin: 10px auto; font-size: var(--fb-type-feature); line-height: 1.08; }
.home-editors .editorial-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: var(--fb-meta-space) 0 0; color: var(--fb-muted); font: 400 var(--fb-meta-size)/1.5 var(--fb-sans); letter-spacing: .035em; text-transform: uppercase; }
.home-editors .editorial-overlay .editorial-meta { justify-content: center; color: var(--fb-white); }
/* Keep the existing title-to-meta gap when flex items no longer collapse margins. */
.home-popular .editorial-standard > .editorial-meta,
.home-editors .editorial-standard > .editorial-meta { margin-top: auto; padding-top: calc(var(--fb-meta-space) - 8px); }
.home-dark-feature .editorial-standard > .editorial-meta { margin-top: auto; padding-top: calc(var(--fb-meta-space) - 10px); }
.home-editors__stack--middle .editorial-standard:first-child .editorial-standard__image { aspect-ratio: 4 / 3; }
.home-editors__stack--middle .editorial-standard:nth-child(2) .editorial-standard__image { aspect-ratio: 6 / 5; }
.home-editors__stack--middle .editorial-standard:nth-child(n+3) .editorial-standard__image { aspect-ratio: 4 / 3; }
.home-editors__stack--right .editorial-standard:first-child .editorial-standard__image { aspect-ratio: 4 / 5; }
.home-editors__stack--right .editorial-standard:nth-child(2) .editorial-standard__image { aspect-ratio: 1; }
.home-editors__stack--right .editorial-standard:nth-child(3) .editorial-standard__image { aspect-ratio: 4 / 3; }
.home-editors__action { margin: var(--fb-space-6) 0 0; text-align: center; }
.home-editors__action a { min-width: 100px; }
.home-editors__empty { margin: 0; text-align: center; color: var(--fb-muted); }
@media (max-width: 960px) {
  .home-editors__layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-editors__layout > .editorial-overlay { grid-column: 1 / -1; width: min(100%, 560px); justify-self: center; }
}
@media (max-width: 600px) {
  .home-editors__layout { grid-template-columns: minmax(0, 1fr); }
  .home-editors .editorial-overlay__copy { padding: var(--fb-space-5); }
}

/* Six local image cells above the footer; contact CTA styles are shared separately. */
.home-image-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); width: 100%; }
.home-image-strip > * { display: block; min-width: 0; height: clamp(160px, 16.667vw, 260px); overflow: hidden; background: var(--fb-soft); }
.home-image-strip img { width: 100%; height: 100%; object-fit: cover; }
.home-image-strip a:focus-visible { outline-offset: -4px; }
@media (max-width: 600px) {
  .home-image-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Mint remains legible on charcoal; decorative rules use the light brand accent. */
.editorial-sidebar-heading::after { content: ""; display: block; width: 3px; height: 3px; margin: 10px auto 0; border-radius: 50%; background: var(--fb-accent); box-shadow: -6px 0 var(--fb-accent), 6px 0 var(--fb-accent); }
.topic:hover .topic__name { text-decoration: underline; text-decoration-color: var(--fb-accent); text-underline-offset: 4px; }
.home-image-strip a { position: relative; }
.home-image-strip a::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--fb-accent); transform: scaleX(0); transform-origin: left; transition: transform var(--fb-transition); }
.home-image-strip a:hover::after, .home-image-strip a:focus-visible::after { transform: scaleX(1); }
.hero-story__link:focus-visible, .editorial-overlay__link:focus-visible, .home-dark-feature a:focus-visible { outline-color: var(--fb-accent); }
.home-popular__action a, .home-editors__action a { transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms ease; }
.home-popular__action a:hover, .home-popular__action a:focus-visible,
.home-editors__action a:hover, .home-editors__action a:focus-visible { background: var(--fb-accent); color: var(--fb-ink); border-color: var(--fb-accent); transform: translateY(-2px); }
.home-popular__action a:active, .home-editors__action a:active { transform: translateY(0); }
.home-dark-feature__heading > a { transition: background-size 200ms ease, color 200ms ease; }
.home-dark-feature__heading > a:hover, .home-dark-feature__heading > a:focus-visible { color: var(--fb-accent); background-size: 100% 2px; }
/* The grid row bounds the sticky portrait before the next section. */
@media (min-width: 961px) {
  .home-editors__layout > .editorial-overlay { position: sticky; top: var(--fb-sticky-top); align-self: start; }
  .admin-bar .home-editors__layout > .editorial-overlay { top: calc(var(--fb-sticky-top) + 32px); }
}
@media (prefers-reduced-motion: reduce) {
  .home-image-strip a::after, .home-popular__action a, .home-editors__action a, .home-dark-feature__heading > a { transition: none; }
  .home-popular__action a:hover, .home-popular__action a:focus-visible,
  .home-editors__action a:hover, .home-editors__action a:focus-visible { transform: none; }
}
