body {
  overflow-x: hidden;
}

.signal-bar {
  border-block-end: 1px solid var(--line);
  background: var(--editorial-inverse-bg);
  color: var(--editorial-inverse-title);
}

.signal-bar__inner {
  min-height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 700;
}

.signal-bar__mark {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.signal-bar__mark::before {
  content: "";
  inline-size: .55rem;
  block-size: .55rem;
  background: var(--brand-signal);
  transform: rotate(45deg);
}

.masthead {
  border-block-end: 1px solid var(--line);
  background: var(--paper-1);
}

.masthead__row {
  min-height: 6.4rem;
  display: grid;
  grid-template-columns: 1fr minmax(18rem, auto) 1fr;
  gap: var(--space-5);
  align-items: center;
}

.masthead__wordmark {
  display: block;
  justify-self: center;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
}

.brand-lockup > img {
  inline-size: 3.55rem;
  block-size: 3.55rem;
  border-radius: .85rem;
}

.brand-lockup > span {
  display: grid;
  gap: .32rem;
}

.masthead__latin {
  display: block;
  font-size: clamp(2.35rem, 4.3vw, 4rem);
  font-weight: 950;
  line-height: .82;
  letter-spacing: -.075em;
}

.masthead__arabic {
  color: var(--editorial-accent);
  font-size: .7rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .11em;
}

.masthead__actions {
  justify-self: end;
  display: flex;
  gap: var(--space-2);
}

.masthead__date {
  justify-self: start;
  display: grid;
  gap: .2rem;
}

.masthead__date strong {
  font-size: .8rem;
}

.primary-nav {
  border-block-end: 1px solid var(--line);
  background: var(--paper-1);
}

.primary-nav__inner {
  min-height: 3rem;
  display: flex;
  align-items: center;
  gap: var(--space-5);
  overflow-x: auto;
  scrollbar-width: none;
}

.primary-nav__inner::-webkit-scrollbar {
  display: none;
}

.primary-nav a {
  white-space: nowrap;
  color: var(--ink-1);
  font-size: var(--text-sm);
  font-weight: 750;
}

.primary-nav a:hover {
  color: var(--editorial-accent);
}

.front {
  padding-block: var(--space-6) var(--space-8);
}

.front-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr);
  border-block: 1px solid var(--ink-0);
}

.lead {
  position: relative;
  padding: var(--space-7) var(--space-6) var(--space-7) 0;
  border-inline-end: 1px solid var(--ink-0);
}

.lead::after {
  content: "01";
  position: absolute;
  inset-block-start: -.1em;
  inset-inline-end: .03em;
  z-index: 0;
  color: var(--paper-2);
  font-size: var(--text-display);
  font-weight: 950;
  line-height: .8;
  letter-spacing: -.09em;
  pointer-events: none;
}

.lead__content {
  position: relative;
  z-index: 1;
  max-width: 56rem;
}

.lead h1 {
  margin: var(--space-4) 0 var(--space-5);
  font-size: clamp(2.4rem, 4.4vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.lead__dek {
  max-width: 42rem;
  margin: 0;
  color: var(--ink-1);
  font-size: var(--text-lg);
  line-height: 1.75;
}

.lead__foot {
  margin-block-start: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.signal-deck {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
}

.signal-deck__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block-end: var(--space-4);
  border-block-end: 3px solid var(--brand-oxide);
}

.signal-deck__title h2 {
  margin: 0;
  font-size: var(--text-xl);
}

.signal-item {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: var(--space-3);
  padding-block: var(--space-5);
  border-block-end: 1px solid var(--line);
}

.signal-item__n {
  color: var(--editorial-accent);
  font-size: var(--text-xs);
  font-weight: 900;
}

.signal-item h3 {
  margin: 0 0 .45rem;
  font-size: 1.05rem;
  line-height: 1.45;
}

.signal-item p {
  margin: 0;
  color: var(--ink-2);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.knowledge-path {
  padding-block: var(--space-8);
}

.path-grid {
  counter-reset: path;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.path-step {
  counter-increment: path;
  position: relative;
  min-height: 15rem;
  padding: var(--space-5);
  border-inline-end: 1px solid var(--line);
}

.path-step:last-child {
  border-inline-end: 0;
}

.path-step::before {
  content: "0" counter(path);
  display: inline-grid;
  place-items: center;
  inline-size: 2.8rem;
  block-size: 2.8rem;
  margin-block-end: var(--space-6);
  border: 1px solid var(--ink-0);
  border-radius: 50%;
  color: var(--editorial-accent);
  font-size: var(--text-xs);
  font-weight: 900;
}

.path-step::after {
  content: "";
  position: absolute;
  inset-block-start: 3.9rem;
  inset-inline-end: -1.1rem;
  z-index: 2;
  inline-size: 2.2rem;
  block-size: 2.2rem;
  border-block-start: 1px solid var(--line);
  border-inline-end: 1px solid var(--line);
  background: var(--paper-0);
  transform: rotate(45deg);
}

.path-step:last-child::after {
  display: none;
}

.path-step h3 {
  margin: 0 0 var(--space-3);
  font-size: 1.35rem;
}

.path-step p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.7;
}

.tool-guide {
  margin-block: var(--space-4) var(--space-8);
  border-block: 1px solid var(--ink-0);
  display: grid;
  grid-template-columns: .85fr 1.15fr;
}

.tool-panel {
  padding: var(--space-6);
  background: var(--editorial-emphasis-bg);
  color: var(--editorial-emphasis-text);
}

.tool-panel h2 {
  margin: var(--space-4) 0;
  font-size: var(--text-xl);
}

.tool-panel__fake-input {
  margin-block-start: var(--space-6);
  min-height: 4.2rem;
  padding-inline: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--editorial-emphasis-border);
  color: var(--editorial-emphasis-text);
}

.tool-panel__fake-input strong {
  color: var(--editorial-emphasis-title);
}

.guide-panel {
  padding: var(--space-6);
  background: var(--paper-1);
}

.guide-panel__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: var(--space-6);
}
.guide-panel__grid--solo {
  grid-template-columns: 1fr;
}

.guide-panel h2 {
  margin: var(--space-3) 0 var(--space-4);
  font-size: clamp(1.9rem, 3.2vw, 3.3rem);
  line-height: 1.05;
}

.guide-panel p {
  color: var(--ink-1);
  line-height: 1.75;
}

.guide-panel__rail {
  border-inline-start: 1px solid var(--line);
  padding-inline-start: var(--space-5);
}

.guide-panel__rail strong {
  display: block;
  margin-block-end: var(--space-2);
  color: var(--editorial-accent);
  font-size: var(--text-xs);
}

.topic-orbit {
  padding-block: var(--space-8);
}

.orbit {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-4);
  align-items: stretch;
}

.orbit__core {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 26rem;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid var(--ink-0);
  background: var(--paper-1);
}

.orbit__core::before {
  content: "TOPIC / 04";
  color: var(--editorial-accent);
  font-size: var(--text-xs);
  font-weight: 950;
  letter-spacing: .12em;
}

.orbit__core h2 {
  margin: var(--space-6) 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.orbit__node {
  position: relative;
  min-height: 12rem;
  padding: var(--space-5);
  border: 1px solid var(--line);
}

.orbit__node::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inline-size: var(--space-4);
  border-block-start: 1px solid var(--ink-0);
}

.orbit__node:nth-of-type(2)::after,
.orbit__node:nth-of-type(4)::after {
  inset-inline-end: calc(var(--space-4) * -1);
}

.orbit__node:nth-of-type(3)::after,
.orbit__node:nth-of-type(5)::after {
  inset-inline-start: calc(var(--space-4) * -1);
}

.orbit__node h3 {
  margin: var(--space-5) 0 var(--space-2);
}

.orbit__node p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.6;
}

.decision-board {
  padding-block: var(--space-8);
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--ink-0);
}

.decision {
  padding: var(--space-6);
  border-inline-end: 1px solid var(--ink-0);
}

.decision:last-child {
  border-inline-end: 0;
}

.decision__for {
  color: var(--editorial-accent);
  font-size: var(--text-xs);
  font-weight: 900;
}

.decision h3 {
  margin: var(--space-3) 0 var(--space-5);
  font-size: var(--text-xl);
}

.decision dl {
  margin: 0;
  display: grid;
  gap: var(--space-3);
}

.decision dl div {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: var(--space-3);
  padding-block-start: var(--space-3);
  border-block-start: 1px solid var(--line);
}

.decision dt {
  color: var(--ink-2);
  font-size: var(--text-xs);
}

.decision dd {
  margin: 0;
  font-weight: 700;
}

.update-stream {
  padding-block: var(--space-8);
}

.stream {
  max-width: 58rem;
  margin-inline: auto;
  border-inline-start: 2px solid var(--ink-0);
}

.stream-item {
  position: relative;
  padding: 0 var(--space-6) var(--space-6);
}

.stream-item::before {
  content: "";
  position: absolute;
  inset-inline-start: -.42rem;
  inset-block-start: .25rem;
  inline-size: .72rem;
  block-size: .72rem;
  border: 2px solid var(--paper-0);
  background: var(--editorial-accent);
  transform: rotate(45deg);
}

.stream-item time {
  color: var(--editorial-accent);
  font-size: var(--text-xs);
  font-weight: 900;
}

.stream-item h3 {
  margin: .4rem 0 .5rem;
}

.stream-item p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.65;
}

.site-footer {
  margin-block-start: var(--space-8);
  border-block-start: 1px solid var(--ink-0);
  background: var(--paper-1);
}

.site-footer__inner {
  min-height: 10rem;
  padding-block: var(--space-6);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-6);
  align-items: end;
}

.site-footer__mark {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: clamp(1.7rem, 4vw, 3.1rem);
  font-weight: 950;
  letter-spacing: -.06em;
}
.site-footer__mark img {
  inline-size: 2.75rem;
  block-size: 2.75rem;
  border-radius: .65rem;
}

.preview-note {
  padding: .55rem .8rem;
  border: 1px dashed var(--brand-oxide);
  color: var(--editorial-accent);
  font-size: var(--text-xs);
  font-weight: 800;
}

@media (max-width: 980px) {
  .masthead__row {
    grid-template-columns: auto 1fr auto;
  }

  .masthead__date {
    display: none;
  }

  .masthead__wordmark {
    align-items: flex-start;
  }

  .front-grid,
  .tool-guide {
    grid-template-columns: 1fr;
  }

  .lead {
    padding-inline: 0;
    border-inline-end: 0;
    border-block-end: 1px solid var(--ink-0);
  }

  .path-grid {
    grid-template-columns: 1fr 1fr;
  }

  .path-step:nth-child(2) {
    border-inline-end: 0;
  }

  .path-step:nth-child(-n+2) {
    border-block-end: 1px solid var(--line);
  }

  .path-step::after {
    display: none;
  }

  .orbit {
    grid-template-columns: 1fr 1fr;
  }

  .orbit__core {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 18rem;
  }

  .orbit__node::after {
    display: none;
  }
}

@media (max-width: 700px) {
  .page-shell {
    width: min(calc(100% - 1.2rem), var(--content-max));
  }

  .signal-bar__inner {
    min-height: 2.8rem;
  }

  .signal-bar__inner > span:last-child {
    display: none;
  }

  .masthead__row {
    min-height: 5.6rem;
    grid-template-columns: 1fr auto;
  }

  .brand-lockup > img {
    inline-size: 2.8rem;
    block-size: 2.8rem;
  }

  .masthead__latin {
    font-size: 2.35rem;
  }

  .masthead__arabic {
    letter-spacing: .06em;
  }

  .lead {
    padding-block: var(--space-6);
  }

  .lead::after {
    inset-inline-end: 0;
    font-size: 7rem;
  }

  .lead h1 {
    font-size: clamp(2.25rem, 11vw, 4rem);
  }

  .path-grid,
  .guide-panel__grid,
  .orbit,
  .decision-grid,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .path-step,
  .decision {
    border-inline-end: 0;
    border-block-end: 1px solid var(--line);
  }

  .path-step:last-child,
  .decision:last-child {
    border-block-end: 0;
  }

  .orbit__core {
    grid-column: auto;
  }

  .guide-panel__rail {
    border-inline-start: 0;
    border-block-start: 1px solid var(--line);
    padding-inline-start: 0;
    padding-block-start: var(--space-5);
  }
}

/* Dynamic Front Page recipes */
.dynamic-section { padding-block: var(--space-8); }
.dynamic-section a { color: inherit; }
.front-item { min-inline-size: 0; }
.front-item__media { position: relative; overflow: hidden; background: var(--paper-2); }
.front-item__media img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
.front-item__body h3 { margin: .5rem 0; line-height: 1.2; }
.front-item__body p { margin: 0; color: var(--ink-2); line-height: 1.65; }
.front-lead-item > .front-item__media { margin-block-end: var(--space-5); aspect-ratio: 16 / 7; }

.split-lead__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: 1px solid var(--ink-0); }
.split-lead__item { padding: var(--space-5); border-inline-end: 1px solid var(--ink-0); }
.split-lead__item:last-child { border-inline-end: 0; }
.split-lead__item .front-item__media { aspect-ratio: 16 / 9; margin-block-end: var(--space-4); }
.split-lead__item h3 { font-size: var(--text-xl); }

.signal-strip-grid { display: flex; overflow-x: auto; border-block: 1px solid var(--ink-0); }
.signal-strip-item { min-inline-size: 17rem; padding: var(--space-4); display: grid; grid-template-columns: 2rem 1fr; gap: var(--space-3); border-inline-end: 1px solid var(--line); }
.signal-strip-item span { color: var(--editorial-accent); font-size: var(--text-xs); font-weight: 900; }

.story-stack { border-block-start: 2px solid var(--ink-0); }
.story-stack__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(10rem, 18rem); gap: var(--space-5); padding-block: var(--space-5); border-block-end: 1px solid var(--line); }
.story-stack__item .front-item__media { grid-column: 2; grid-row: 1; aspect-ratio: 16 / 10; }
.story-stack__item .front-item__body { grid-column: 1; grid-row: 1; }
.story-stack__item h3 { font-size: clamp(1.25rem, 2vw, 2rem); }

.dynamic-orbit { grid-auto-flow: row dense; }
.dynamic-orbit .orbit__core { order: 0; }

.guide-panel__rail { display: grid; align-content: start; gap: .8rem; }
.guide-panel__rail a { padding-block-end: .8rem; border-block-end: 1px solid var(--line); font-weight: 800; }

.content-mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.mosaic-item { grid-column: span 4; min-block-size: 16rem; padding: var(--space-4); background: var(--paper-1); }
.mosaic-item--lead { grid-column: span 8; grid-row: span 2; }
.mosaic-item--major { grid-column: span 6; }
.mosaic-item--brief { grid-column: span 3; min-block-size: 10rem; }
.mosaic-item .front-item__media { aspect-ratio: 16 / 9; margin-block-end: var(--space-3); }
.mosaic-item--lead h3 { font-size: var(--text-xl); }

.editorial-desk-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: var(--space-6); border-block: 1px solid var(--ink-0); padding-block: var(--space-5); }
.editorial-desk-lead .front-item__media { aspect-ratio: 16 / 9; margin-block-end: var(--space-4); }
.editorial-desk-lead h3 { font-size: var(--text-xl); }
.editorial-desk-stack { border-inline-start: 1px solid var(--line); padding-inline-start: var(--space-5); }
.editorial-desk-brief { padding-block: var(--space-4); border-block-end: 1px solid var(--line); }

.visual-story-item { position: relative; min-block-size: min(72vh, 680px); display: grid; align-items: end; overflow: hidden; background: var(--ink-0); color: var(--paper-1); }
.visual-story-item .front-item__media { position: absolute; inset: 0; opacity: .64; }
.visual-story-item .front-item__body { position: relative; z-index: 1; padding: clamp(1.5rem, 5vw, 4rem); max-inline-size: 55rem; }
.visual-story-item h3 { font-size: clamp(2rem, 6vw, 5.5rem); line-height: .98; }
.visual-story-item p { color: inherit; opacity: .85; }

@media (max-width: 700px) {
  .split-lead__grid, .editorial-desk-grid { grid-template-columns: 1fr; }
  .split-lead__item { border-inline-end: 0; border-block-end: 1px solid var(--line); }
  .story-stack__item { grid-template-columns: 1fr; }
  .story-stack__item .front-item__media, .story-stack__item .front-item__body { grid-column: 1; }
  .story-stack__item .front-item__media { grid-row: 1; }
  .story-stack__item .front-item__body { grid-row: 2; }
  .content-mosaic { grid-template-columns: 1fr; }
  .mosaic-item, .mosaic-item--lead, .mosaic-item--major, .mosaic-item--brief { grid-column: 1; grid-row: auto; }
  .editorial-desk-stack { border-inline-start: 0; padding-inline-start: 0; border-block-start: 1px solid var(--line); }
}


.primary-nav__item { position: relative; align-self: stretch; display: flex; align-items: center; }
.primary-nav__submenu {
  display: none;
  position: absolute;
  inset-block-start: 100%;
  inset-inline-start: 0;
  z-index: 30;
  min-inline-size: 15rem;
  padding: .45rem;
  border: 1px solid var(--line);
  background: var(--paper-1);
  box-shadow: 0 .8rem 2rem rgba(10,13,16,.12);
}
.primary-nav__item:hover > .primary-nav__submenu,
.primary-nav__item:focus-within > .primary-nav__submenu { display: grid; }
.primary-nav__submenu .primary-nav__item { display: block; }
.primary-nav__submenu a { display: block; padding: .6rem .75rem; }
.primary-nav__submenu .primary-nav__submenu { inset-block-start: 0; inset-inline-start: 100%; }
@media (max-width: 760px) {
  .primary-nav__submenu { position: static; display: none; box-shadow: none; border: 0; padding-inline-start: .8rem; }
  .primary-nav__item:focus-within > .primary-nav__submenu { display: grid; }
}

.site-footer__trust{display:flex;gap:.8rem 1rem;flex-wrap:wrap;margin-block-start:.8rem;font-size:var(--text-xs)}
.site-footer__trust a{text-decoration:underline;text-underline-offset:.2em}

/* Publication navigation and rhythm refinement */
.primary-nav {
  position: sticky;
  inset-block-start: 0;
  z-index: 35;
  background: color-mix(in srgb, var(--paper-1) 94%, transparent);
  backdrop-filter: blur(10px);
}

.primary-nav__inner {
  min-height: 3.25rem;
}

.primary-nav__item > a {
  position: relative;
}

.primary-nav__item > a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: -.7rem;
  block-size: 2px;
  background: var(--editorial-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--motion-fast) var(--ease-out);
}

.primary-nav__item:hover > a::after,
.primary-nav__item:focus-within > a::after {
  transform: scaleX(1);
}

.dynamic-section + .dynamic-section {
  padding-block-start: var(--space-5);
}

.front + .dynamic-section {
  padding-block-start: var(--space-4);
}

.tool-guide.dynamic-section {
  padding-block: var(--space-5);
}

.site-footer {
  margin-block-start: var(--space-6);
}

@media (max-width: 700px) {
  .primary-nav {
    backdrop-filter: none;
  }

  .primary-nav__inner {
    gap: var(--space-4);
  }

  .dynamic-section {
    padding-block: var(--space-6);
  }

  .dynamic-section + .dynamic-section {
    padding-block-start: var(--space-3);
  }
}

/* 2026 editorial direction reset: magazine-first, not app-shell */
.signal-bar {
  background: var(--paper-0);
  color: var(--ink-1);
  border-block-end: 1px solid var(--ink-0);
}
.signal-bar__inner {
  min-height: 2.1rem;
  font-weight: 750;
}
.signal-bar__mark::before {
  background: var(--editorial-accent);
}

.masthead {
  background: var(--paper-0);
  border-block-end: 0;
}
.masthead__row {
  min-height: clamp(8.4rem, 14vw, 12.5rem);
  grid-template-columns: minmax(9rem,1fr) minmax(24rem,auto) minmax(9rem,1fr);
  border-block-end: 1px solid var(--ink-0);
}
.masthead__wordmark {
  display: grid;
  gap: .55rem;
  justify-items: center;
  line-height: 1;
}
.masthead__latin {
  font-size: clamp(4.8rem, 10vw, 9rem);
  line-height: .7;
  letter-spacing: -.095em;
  font-weight: 1000;
}
.masthead__arabic {
  margin: 0;
  color: var(--editorial-accent);
  font-size: .74rem;
  letter-spacing: .18em;
}
.masthead__date {
  align-self: end;
  padding-block-end: 1.35rem;
}
.masthead__actions {
  align-self: end;
  padding-block-end: 1.1rem;
}
.icon-button {
  border-radius: 999px;
  border-color: var(--line);
}

.primary-nav {
  position: static;
  background: var(--paper-0);
  backdrop-filter: none;
}
.primary-nav__inner {
  justify-content: center;
  min-height: 3.4rem;
  border-block-end: 1px solid var(--line);
}
.primary-nav__item > a::after {
  inset-block-end: -.9rem;
}

.front {
  position: relative;
  padding-block: clamp(2.4rem,5vw,4.5rem) clamp(4rem,8vw,7rem);
}
.front .section-heading {
  grid-template-columns: auto auto 1fr;
  margin-block-end: 1.4rem;
}
.front .section-heading h2 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: var(--ink-2);
  font-weight: 850;
}
.front .section-heading .section-index {
  color: var(--editorial-accent);
  font-weight: 950;
}
.front-grid {
  position: relative;
  grid-template-columns: minmax(0,1.78fr) minmax(17rem,.62fr);
  border-block: 0;
  gap: 0;
}
.lead {
  min-height: clamp(30rem, 52vw, 45rem);
  padding: clamp(2.2rem,5vw,5.2rem) clamp(2rem,4vw,4.2rem) clamp(2.2rem,4vw,4rem) 0;
  display: flex;
  align-items: end;
  border-inline-end: 1px solid var(--ink-0);
}
[dir="rtl"] .lead {
  padding-inline: clamp(2rem,4vw,4.2rem) 0;
}
.lead::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0;
  inline-size: 8.5rem;
  block-size: 4px;
  background: var(--editorial-accent);
}
.lead::after {
  content: "01";
  inset-block-start: 1.2rem;
  inset-inline-end: .08em;
  color: color-mix(in srgb, var(--ink-0) 6%, transparent);
  font-size: clamp(10rem,23vw,23rem);
  line-height: .74;
}
.lead__content {
  max-width: 58rem;
}
.lead .eyebrow {
  display: inline-flex;
  gap: .6rem;
  align-items: center;
  color: var(--editorial-accent);
}
.lead .eyebrow::after {
  content: "";
  inline-size: 2.7rem;
  block-size: 2px;
  background: currentColor;
}
.lead h1 {
  max-width: 12.8ch;
  margin: .8rem 0 1.25rem;
  font-size: clamp(3.5rem,7.2vw,7.4rem);
  line-height: .89;
  letter-spacing: -.06em;
}
.lead__dek {
  max-width: 48rem;
  font-size: clamp(1.05rem,1.65vw,1.4rem);
  line-height: 1.65;
}
.lead__foot {
  margin-block-start: 2rem;
}
.lead__cta {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  min-height: 2.8rem;
  padding-inline: 1rem;
  border: 1px solid var(--ink-0);
  font-size: .82rem;
  font-weight: 900;
}
.lead__cta:hover {
  background: var(--ink-0);
  color: var(--paper-0);
}

.signal-deck {
  padding: 0 0 0 clamp(1.5rem,3vw,3rem);
  background: transparent;
}
[dir="rtl"] .signal-deck {
  padding: 0 clamp(1.5rem,3vw,3rem) 0 0;
}
.signal-deck__title {
  min-height: 4.7rem;
  padding-block: .8rem 1rem;
  align-items: end;
  border-block-end: 3px solid var(--brand-oxide);
}
.signal-deck__title h2 {
  font-size: clamp(1.25rem,2vw,1.8rem);
}
.signal-item {
  grid-template-columns: 2.2rem 1fr;
  padding-block: clamp(1.3rem,2.3vw,2.2rem);
}
.signal-item h3 {
  font-size: clamp(1rem,1.35vw,1.2rem);
}
.signal-item p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tool-guide {
  position: relative;
  margin-block: 0 clamp(4rem,8vw,7rem);
  border: 0;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.tool-guide::before {
  content: "";
  position: absolute;
  inset: 0;
  border-block: 1px solid var(--ink-0);
  pointer-events: none;
}
.tool-panel,
.guide-panel {
  min-height: 18rem;
  padding: clamp(2rem,4vw,4rem);
}
.tool-panel {
  background: var(--brand-nile);
}
.guide-panel {
  background: var(--paper-1);
}
.tool-panel h2,
.guide-panel h2 {
  max-width: 12ch;
  font-size: clamp(2rem,4vw,4rem);
  line-height: .98;
  letter-spacing: -.04em;
}
.tool-panel .eyebrow,
.guide-panel .eyebrow {
  letter-spacing: .11em;
}
.guide-panel__grid {
  align-items: end;
  height: 100%;
}
.guide-panel__grid--solo {
  display: flex;
  align-items: end;
}

.site-footer {
  margin-block-start: 0;
  border-block-start: 1px solid var(--ink-0);
}
.site-footer__inner {
  min-height: 15rem;
  align-items: end;
}
.site-footer__mark span {
  font-size: clamp(2.4rem,6vw,5.6rem);
  letter-spacing: -.08em;
}
.site-footer__mark img {
  display: none;
}

@media (max-width: 920px) {
  .masthead__row {
    grid-template-columns: 1fr auto 1fr;
    min-height: 8.2rem;
  }
  .masthead__latin {
    font-size: clamp(4.2rem,13vw,6.8rem);
  }
  .front-grid {
    grid-template-columns: 1fr;
  }
  .lead {
    min-height: 30rem;
    border-inline-end: 0;
    border-block-end: 1px solid var(--ink-0);
    padding-inline: 0;
  }
  [dir="rtl"] .lead {
    padding-inline: 0;
  }
  .signal-deck,
  [dir="rtl"] .signal-deck {
    padding: var(--space-5) 0 0;
  }
  .signal-deck {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0 var(--space-5);
  }
  .signal-deck__title {
    grid-column: 1/-1;
  }
  .tool-guide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .signal-bar__inner > :last-child {
    display: none;
  }
  .masthead__row {
    min-height: 7rem;
    grid-template-columns: 1fr auto;
  }
  .masthead__wordmark {
    justify-self: start;
    order: -1;
  }
  [dir="rtl"] .masthead__wordmark {
    justify-self: end;
  }
  .masthead__latin {
    font-size: clamp(3.8rem,20vw,5.2rem);
  }
  .masthead__arabic {
    justify-self: start;
    letter-spacing: .08em;
  }
  .masthead__date {
    display: none;
  }
  .masthead__actions {
    padding-block-end: 0;
    align-self: center;
  }
  .primary-nav__inner {
    justify-content: flex-start;
  }
  .front {
    padding-block-start: 1.7rem;
  }
  .lead {
    min-height: 26rem;
    padding-block: 3rem 2rem;
  }
  .lead h1 {
    max-width: 14ch;
    font-size: clamp(2.8rem,14vw,4.8rem);
  }
  .lead::after {
    font-size: 10rem;
  }
  .signal-deck {
    grid-template-columns: 1fr;
  }
  .tool-panel,
  .guide-panel {
    min-height: 15rem;
    padding: 1.5rem;
  }
}

/* Reading-first light homepage */
body {
  background: #eef2f4;
}
:root[data-theme="dark"] body {
  background: var(--paper-0);
}

.signal-bar {
  background: var(--editorial-inverse-bg);
  color: var(--editorial-inverse-title);
  border: 0;
}
.signal-bar__inner {
  min-height: 2.25rem;
}
.signal-bar__mark::before {
  background: var(--brand-signal);
}

.masthead {
  background: var(--paper-1);
}
.masthead__row {
  min-height: 6.6rem;
  grid-template-columns: minmax(9rem,1fr) auto minmax(9rem,1fr);
  border-block-end: 0;
}
.masthead__latin {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: .8;
  letter-spacing: -.08em;
  color: var(--editorial-title);
}
.masthead__arabic {
  color: var(--editorial-accent);
}
.masthead__date,
.masthead__actions {
  align-self: center;
  padding-block-end: 0;
}

.primary-nav {
  background: var(--paper-1);
  border-block: 1px solid var(--line);
}
.primary-nav__inner {
  min-height: 3.15rem;
  justify-content: center;
  border: 0;
}
.primary-nav a {
  font-weight: 800;
}
.primary-nav__item > a::after {
  inset-block-end: -.72rem;
}

.latest-strip {
  min-height: 3.6rem;
  margin-block: 1.5rem 1.2rem;
  padding: .7rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-1);
  box-shadow: var(--shadow-1);
}
.latest-strip strong {
  flex: 0 0 auto;
  padding: .35rem .65rem;
  border-radius: var(--radius-xs);
  background: var(--editorial-active-bg);
  color: var(--editorial-active-text);
  font-size: var(--text-xs);
}
.latest-strip a {
  overflow: hidden;
  color: var(--ink-1);
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.latest-strip a:hover {
  color: var(--editorial-accent);
}

.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.5rem;
  align-items: start;
}
.home-main {
  min-width: 0;
}
.home-sidebar {
  display: grid;
  gap: 1rem;
}
.home-sidebar__box {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-1);
  box-shadow: var(--shadow-1);
}
.home-sidebar__box > header {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
  padding: .9rem 1rem;
  border-block-end: 3px solid var(--brand-oxide);
}
.home-sidebar__box h2 {
  margin: 0;
  color: var(--editorial-title);
  font-size: 1rem;
}
.home-sidebar__box > header a {
  color: var(--ink-2);
  font-size: var(--text-xs);
}
.home-section-links {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  padding: .9rem 1rem 1rem;
}
.home-section-links a {
  padding: .5rem .7rem;
  border-radius: var(--radius-xs);
  background: var(--editorial-active-bg);
  color: var(--editorial-active-text);
  font-size: .82rem;
  font-weight: 800;
}
.home-tool-list {
  display: grid;
}
.home-tool-list > a {
  display: grid;
  gap: .2rem;
  padding: .85rem 1rem;
  border-block-end: 1px solid var(--line);
}
.home-tool-list > a:last-child {
  border-block-end: 0;
}
.home-tool-list strong {
  color: var(--ink-0);
  font-size: .9rem;
}
.home-tool-list span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink-2);
  font-size: .78rem;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.home-trust-box p {
  margin: 0;
  padding: .9rem 1rem .45rem;
  color: var(--ink-1);
  font-size: .85rem;
  line-height: 1.75;
}
.home-trust-box > div {
  display: flex;
  gap: .55rem;
  padding: .55rem 1rem 1rem;
}
.home-trust-box > div a {
  color: var(--editorial-accent);
  font-size: .78rem;
  font-weight: 800;
}

.front {
  padding: 0;
}
.front .section-heading {
  margin-block-end: .8rem;
  padding: .7rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: var(--paper-1);
}
.front-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(15rem, .7fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--paper-1);
  box-shadow: var(--shadow-1);
}
.lead {
  min-height: 31rem;
  padding: clamp(1.8rem, 4vw, 3.3rem);
  border-inline-end: 1px solid var(--line);
  background: var(--paper-1);
}
[dir="rtl"] .lead {
  padding-inline: clamp(1.8rem, 4vw, 3.3rem);
}
.lead::before {
  inline-size: 4.5rem;
  background: var(--editorial-accent);
}
.lead::after {
  font-size: clamp(8rem, 16vw, 15rem);
  color: color-mix(in srgb, var(--editorial-accent) 7%, transparent);
}
.lead h1 {
  max-width: 14ch;
  font-size: clamp(2.4rem, 4.9vw, 4.9rem);
  line-height: 1.04;
}
.lead__dek {
  font-size: 1.05rem;
  line-height: 1.8;
}
.lead__cta {
  border-color: var(--editorial-accent);
  border-radius: var(--radius-xs);
  color: var(--editorial-accent);
}
.lead__cta:hover {
  background: var(--editorial-active-bg);
  color: var(--editorial-active-text);
}
.signal-deck,
[dir="rtl"] .signal-deck {
  padding: 0;
  background: var(--paper-1);
}
.signal-deck__title {
  min-height: 3.8rem;
  padding: .75rem 1rem;
}
.signal-item {
  padding: 1rem;
}
.signal-item p {
  font-size: .8rem;
}

.tool-guide {
  width: min(calc(100% - 2rem), 1320px);
  margin-inline: auto;
  margin-block: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-1);
  box-shadow: var(--shadow-1);
}
.tool-guide::before {
  display: none;
}
.tool-panel,
.guide-panel {
  min-height: 14rem;
  padding: 1.6rem;
}
.tool-panel h2,
.guide-panel h2 {
  font-size: clamp(1.65rem, 3vw, 2.8rem);
}

.site-footer {
  margin-block-start: 2rem;
  background: var(--paper-1);
}
.site-footer__inner {
  min-height: 11rem;
}

@media (max-width: 980px) {
  .home-layout {
    grid-template-columns: 1fr;
  }
  .home-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-sidebar__box:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .masthead__row {
    min-height: 5.8rem;
  }
  .masthead__latin {
    font-size: clamp(2.7rem, 16vw, 4.1rem);
  }
  .theme-switch {
    padding-inline: .48rem;
  }
  .latest-strip {
    margin-block: .75rem;
  }
  .home-layout {
    width: min(calc(100% - 1rem), 1320px);
    gap: .75rem;
  }
  .home-sidebar {
    grid-template-columns: 1fr;
    gap: .75rem;
  }
  .home-sidebar__box:last-child {
    grid-column: auto;
  }
  .front-grid {
    grid-template-columns: 1fr;
  }
  .lead {
    min-height: 23rem;
    border-inline-end: 0;
    border-block-end: 1px solid var(--line);
  }
  .lead h1 {
    font-size: clamp(2.1rem, 11vw, 3.5rem);
  }
}

/* Dense 15-section navigation */
.primary-nav__inner {
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
}
.primary-nav__item {
  flex: 0 0 auto;
}
.primary-nav__item > a {
  white-space: nowrap;
}

/* Configurable homepage composition */
.homepage-content {
  width: 100%;
}
.home-layout-shell {
  width: min(calc(100% - 2rem), 1320px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.home-content-column {
  min-width: 0;
  display: grid;
  gap: 1.5rem;
}
.home-content-column > .page-shell,
.home-content-column > .dynamic-section {
  width: 100%;
  margin-inline: 0;
}
.homepage-layout:has(.home-sidebar--left):has(.home-sidebar--right) .home-layout-shell {
  grid-template-columns: var(--home-left-width) minmax(0, 1fr) var(--home-right-width);
}
.homepage-layout:has(.home-sidebar--left):not(:has(.home-sidebar--right)) .home-layout-shell {
  grid-template-columns: var(--home-left-width) minmax(0, 1fr);
}
.homepage-layout:has(.home-sidebar--right):not(:has(.home-sidebar--left)) .home-layout-shell {
  grid-template-columns: minmax(0, 1fr) var(--home-right-width);
}
.home-sidebar--left { grid-column: 1; }
.home-sidebar {
  position: sticky;
  inset-block-start: 1rem;
  max-height: calc(100vh - 2rem);
  overflow: auto;
}
.home-latest-list {
  list-style: none;
  margin: 0;
  padding: .4rem 1rem .7rem;
}
.home-latest-list li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: .55rem;
  padding-block: .65rem;
  border-block-end: 1px solid var(--line);
}
.home-latest-list li:last-child { border-block-end: 0; }
.home-latest-list span {
  color: var(--editorial-accent);
  font-size: .72rem;
  font-weight: 900;
}
.home-latest-list a {
  color: var(--ink-1);
  font-size: .82rem;
  line-height: 1.55;
}

/* Section presentation variants */
.section-images-off .front-item__media,
.section-images-off .visual-story-item .front-item__media { display: none !important; }
.section-excerpt-off .front-item__body > p,
.section-excerpt-off .lead__dek,
.section-excerpt-off .orbit p,
.section-excerpt-off .stream-item p,
.section-excerpt-off .path-step p,
.section-excerpt-off .decision p { display: none !important; }
.section-title-off > .section-heading { display: none !important; }

.section-variant-grid .story-stack,
.section-variant-grid .content-mosaic,
.section-variant-cards .story-stack {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1rem !important;
}
.section-variant-grid .story-stack__item,
.section-variant-cards .story-stack__item {
  display: block !important;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-1);
  overflow: hidden;
}
.section-variant-list .story-stack,
.section-variant-list .content-mosaic {
  display: grid !important;
  grid-template-columns: 1fr !important;
}
.section-variant-list .front-item {
  min-height: auto !important;
}
.section-variant-compact .front-item,
.section-variant-compact .story-stack__item {
  min-height: auto !important;
  padding-block: .7rem !important;
}
.section-variant-compact .front-item h3 {
  font-size: 1rem !important;
}
.section-variant-visual .front-item__media {
  display: block !important;
}
.section-variant-visual .front-item h3 {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

/* Page presets */
.homepage-layout--magazine .home-layout-shell {
  width: min(calc(100% - 2rem), 1500px);
}
.homepage-layout--magazine .home-content-column {
  gap: 2.5rem;
}
.homepage-layout--magazine .dynamic-section:nth-child(even) {
  background: var(--paper-1);
  padding: 1.2rem;
  border: 1px solid var(--line);
}
.homepage-layout--company_portfolio .signal-bar,
.homepage-layout--company_portfolio .latest-strip {
  display: none;
}
.homepage-layout--company_portfolio .masthead__row {
  min-height: 7.5rem;
}
.homepage-layout--company_portfolio .home-content-column {
  gap: 3rem;
}
.homepage-layout--compact .home-content-column {
  gap: .75rem;
}
.homepage-layout--compact .dynamic-section {
  padding-block: .75rem;
}
.homepage-container--wide .home-layout-shell { max-width: 1500px; }
.homepage-container--full .home-layout-shell { width: min(calc(100% - 1rem), 1800px); max-width: none; }

@media (max-width: 1100px) {
  .homepage-layout:has(.home-sidebar--left):has(.home-sidebar--right) .home-layout-shell,
  .homepage-layout:has(.home-sidebar--left):not(:has(.home-sidebar--right)) .home-layout-shell,
  .homepage-layout:has(.home-sidebar--right):not(:has(.home-sidebar--left)) .home-layout-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-sidebar {
    position: static;
    max-height: none;
    grid-column: 1 !important;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 700px) {
  .home-layout-shell { width: min(calc(100% - 1rem), 1320px); gap: .75rem; }
  .home-sidebar { grid-template-columns: 1fr; }
  .section-variant-grid .story-stack,
  .section-variant-grid .content-mosaic,
  .section-variant-cards .story-stack {
    grid-template-columns: 1fr !important;
  }
}


/* Physical sidebar positioning for RTL */
.home-layout-shell {
  direction: ltr;
}
[dir="rtl"] .home-layout-shell > * {
  direction: rtl;
}
.home-sidebar--left {
  grid-column: 1;
}
.home-sidebar--right {
  grid-column: -2 / -1;
}
.home-content-column {
  grid-column: auto;
}

/* === EGYTAG approved identity + stable 2026 homepage refinements === */
.masthead__brand-logo {
  inline-size: clamp(13rem, 25vw, 22rem);
}
.masthead__brand-logo img {
  inline-size: 100%;
  block-size: auto;
}
.masthead__arabic {
  margin-block-start: .25rem;
  color: var(--editorial-accent);
  letter-spacing: .06em;
}
.footer__brand-logo {
  inline-size: clamp(10rem, 18vw, 15rem);
}
.footer__brand-logo img {
  inline-size: 100%;
  block-size: auto;
}

/* Avoid artificial vertical gaps between editorial sections. */
.home-content-column {
  min-width: 0;
}
.home-content-column > .dynamic-section,
.home-content-column > .dynamic-section + .dynamic-section {
  margin-block: 0;
}
.dynamic-section {
  min-height: 0;
}

/* Article-card image treatment inspired by the approved readable reference. */
.story-stack,
.content-mosaic {
  align-items: start;
}
.story-stack__item,
.content-mosaic .front-item {
  min-height: 0;
}
.front-item__media {
  overflow: hidden;
  background: var(--paper-2);
}
.front-item__media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.section-variant-grid .front-item__media,
.section-variant-cards .front-item__media,
.content-mosaic .front-item__media {
  aspect-ratio: 16 / 9;
}

/* Category badge is HTML/UI, never baked into the thumbnail image. */
.front-item__badge,
.front-item__meta .tag {
  position: relative;
  z-index: 2;
}

/* Light is the visual default; dark remains an explicit alternate. */
html[data-theme="light"] body {
  background: var(--paper-0);
}

@media (max-width: 700px) {
  .masthead__brand-logo {
    inline-size: clamp(10rem, 48vw, 14rem);
  }
  .masthead__arabic {
    display: none;
  }
}

/* Minimal responsive composition guardrails — no large-height overrides. */
.home-content-column {
  container-type: inline-size;
  container-name: home-content;
}

.homepage-layout:has(.home-sidebar--left):has(.home-sidebar--right) .front-grid {
  grid-template-columns: 1fr;
}

.homepage-layout:has(.home-sidebar--left):has(.home-sidebar--right) .signal-deck {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.homepage-layout:has(.home-sidebar--left):has(.home-sidebar--right) .signal-deck__title {
  grid-column: 1 / -1;
}

@media (max-width: 1499px) and (min-width: 1101px) {
  .homepage-layout:has(.home-sidebar--left):has(.home-sidebar--right) .home-layout-shell {
    grid-template-columns: minmax(0, 1fr) minmax(250px, var(--home-right-width));
  }
  .homepage-layout:has(.home-sidebar--left):has(.home-sidebar--right) .home-content-column {
    grid-column: 1;
    grid-row: 1;
  }
  .homepage-layout:has(.home-sidebar--left):has(.home-sidebar--right) .home-sidebar--right {
    grid-column: 2;
    grid-row: 1;
  }
  .homepage-layout:has(.home-sidebar--left):has(.home-sidebar--right) .home-sidebar--left {
    grid-column: 1 / -1;
    grid-row: 2;
    position: static;
    max-height: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .home-content-column {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  .home-sidebar--right {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
  .home-sidebar--left {
    grid-column: 1 !important;
    grid-row: 3 !important;
  }
  .story-stack__item,
  .section-variant-grid .story-stack__item,
  .section-variant-cards .story-stack__item {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   Reference-inspired news homepage
   Dense, readable, image-led, light-first.
   ========================================================= */
.homepage-reference {
  background: var(--editorial-page-bg);
  padding-block: 1.2rem 2.5rem;
}
.home-reference-shell {
  width: min(calc(100% - 2rem), 1220px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 1.35rem;
  align-items: start;
  direction: rtl;
}
.home-reference-main,
.home-reference-sidebar {
  min-width: 0;
}
.home-reference-main {
  display: grid;
  gap: 1rem;
}
.home-reference-sidebar {
  display: grid;
  gap: 1rem;
  position: sticky;
  inset-block-start: 1rem;
}
.home-news-lead,
.home-news-section,
.home-reference-sidebar .home-sidebar__box {
  margin: 0;
  padding: 1rem;
  background: var(--editorial-card-bg);
  border: 1px solid var(--editorial-card-border);
  border-radius: 4px;
  box-shadow: var(--shadow-1);
}
.home-news-section__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .8rem;
  align-items: center;
  margin-block-end: .9rem;
}
.home-news-section__head h2 {
  margin: 0;
  color: var(--editorial-title);
  font-size: 1.15rem;
  font-weight: 900;
}
.home-news-section__head span {
  height: 3px;
  background: var(--editorial-accent);
}
.home-news-lead__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(230px, .72fr);
  gap: 1rem;
}
.home-news-lead__main {
  min-width: 0;
}
.home-news-lead__main .front-item__media {
  aspect-ratio: 16/8.6;
}
.home-news-lead__body {
  padding-block-start: .85rem;
}
.home-news-lead__body h1 {
  max-width: 24ch;
  margin: .35rem 0 .55rem;
  color: var(--editorial-title);
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  line-height: 1.35;
}
.home-news-lead__body p {
  margin: 0;
  color: var(--editorial-body);
  line-height: 1.8;
}
.home-news-lead__briefs {
  display: grid;
  align-content: start;
}
.home-news-brief {
  display: grid;
  grid-template-columns: minmax(0,1fr) 82px;
  gap: .65rem;
  padding-block: .75rem;
  border-block-end: 1px solid var(--editorial-rule);
}
.home-news-brief:first-child { padding-block-start: 0; }
.home-news-brief:last-child { border-block-end: 0; }
.home-news-brief h3 {
  margin: .25rem 0;
  font-size: .92rem;
  line-height: 1.55;
}
.home-news-brief .front-item__media {
  aspect-ratio: 4/3;
  align-self: start;
}
.home-news-brief__badge {
  color: var(--editorial-accent);
  font-size: .7rem;
  font-weight: 900;
}
.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .85rem;
}
.home-news-card {
  min-width: 0;
  background: var(--editorial-card-bg);
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.home-news-card .front-item__media {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 4px;
  overflow: hidden;
}
.front-item__badge {
  position: absolute;
  inset-block-start: .55rem;
  inset-inline-start: .55rem;
  padding: .26rem .55rem;
  border-radius: 3px;
  background: var(--editorial-active-bg);
  color: var(--editorial-active-text);
  font-size: .68rem;
  font-weight: 900;
  line-height: 1.2;
  box-shadow: 0 1px 3px rgba(0,0,0,.18);
}
.home-news-card .front-item__body {
  padding: .55rem .15rem 0;
}
.home-news-card .front-item__meta {
  margin-block-end: .25rem;
}
.home-news-card .front-item__meta .eyebrow {
  display: none;
}
.home-news-card h3 {
  margin: .25rem 0 0;
  color: var(--editorial-card-title);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 800;
}
.home-news-card p {
  display: none;
}
.home-news-card .front-item__time,
.home-news-brief .front-item__time,
.home-news-lead__body .front-item__time {
  color: var(--editorial-meta);
  font-size: .7rem;
}
.home-reference-sidebar .home-sidebar__box {
  padding: 0;
  overflow: hidden;
}
.home-reference-sidebar .home-sidebar__box > header {
  min-height: 2.8rem;
  padding: .65rem .85rem;
  border-block-end: 2px solid var(--editorial-accent);
  background: var(--editorial-card-bg);
}
.home-reference-sidebar .home-sidebar__box h2 {
  margin: 0;
  color: var(--editorial-accent);
  font-size: .95rem;
}
.home-reference-sidebar .home-latest-list,
.home-reference-sidebar .home-tool-list,
.home-reference-sidebar .home-stats-grid,
.home-reference-sidebar .home-trust-box > p,
.home-reference-sidebar .home-trust-box > div {
  background: var(--editorial-card-bg);
}
.home-reference-sidebar .home-latest-list li {
  grid-template-columns: 1.7rem 1fr;
  padding-block: .65rem;
}
.home-reference-sidebar .home-latest-list a {
  font-size: .8rem;
  line-height: 1.55;
}
.home-reference-sidebar .home-stats-grid {
  padding: .65rem;
}
.home-reference-sidebar .home-trust-box > p {
  margin: 0;
  padding: .8rem;
  color: var(--editorial-body);
  font-size: .82rem;
  line-height: 1.7;
}
.home-reference-sidebar .home-trust-box > div {
  padding: 0 .8rem .8rem;
}
.home-reference-sidebar .home-trust-box a {
  margin-inline-end: .65rem;
  color: var(--editorial-accent);
  font-size: .78rem;
  font-weight: 800;
}
html[data-theme="dark"] .homepage-reference {
  background: var(--paper-0);
}
html[data-theme="dark"] .home-news-lead,
html[data-theme="dark"] .home-news-section,
html[data-theme="dark"] .home-reference-sidebar .home-sidebar__box,
html[data-theme="dark"] .home-news-card,
html[data-theme="dark"] .home-reference-sidebar .home-latest-list,
html[data-theme="dark"] .home-reference-sidebar .home-tool-list,
html[data-theme="dark"] .home-reference-sidebar .home-stats-grid,
html[data-theme="dark"] .home-reference-sidebar .home-trust-box > p,
html[data-theme="dark"] .home-reference-sidebar .home-trust-box > div {
  background: var(--paper-1);
  border-color: var(--line);
}
html[data-theme="dark"] .home-news-lead__body h1,
html[data-theme="dark"] .home-news-card h3 {
  color: var(--ink-0);
}

@media (max-width: 980px) {
  .home-reference-shell {
    grid-template-columns: 1fr;
  }
  .home-reference-sidebar {
    position: static;
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 720px) {
  .homepage-reference { padding-block-start: .6rem; }
  .home-reference-shell { width: min(calc(100% - .8rem),1220px); gap: .65rem; }
  .home-news-lead,
  .home-news-section { padding: .7rem; }
  .home-news-lead__grid { grid-template-columns: 1fr; }
  .home-news-lead__main .front-item__media { aspect-ratio: 16/9; }
  .home-news-lead__body h1 { font-size: 1.55rem; }
  .home-news-lead__briefs { grid-template-columns: 1fr; }
  .home-news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
  .home-reference-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .home-news-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Content-first refinement inspired by successful Arabic
   publishing UX: predictable hierarchy, compact header,
   repeatable article cards, useful sidebar.
   ========================================================= */

/* Keep the site identity visible without consuming editorial space. */
.signal-bar__inner {
  min-height: 1.9rem !important;
}
.masthead__row {
  min-height: 5.1rem !important;
  grid-template-columns: minmax(8rem,1fr) minmax(14rem,20rem) minmax(8rem,1fr) !important;
}
.masthead__brand-logo {
  inline-size: clamp(11rem, 18vw, 17rem) !important;
}
.masthead__arabic {
  display: none;
}
.primary-nav__inner {
  min-height: 2.8rem !important;
  gap: 1.25rem !important;
}
.primary-nav a {
  font-size: .82rem !important;
  font-weight: 800 !important;
}

/* Latest content follows the same card language as the rest of the page. */
.home-latest-section {
  margin: 0;
  padding: 1rem;
  background: var(--editorial-card-bg);
  border: 1px solid var(--editorial-card-border);
  border-radius: 4px;
  box-shadow: var(--shadow-1);
}
.home-latest-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1rem;
}
.home-latest-card {
  min-width: 0;
}
.home-latest-card .front-item__media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 4px;
}
.home-latest-card .front-item__body {
  padding: .65rem .1rem .25rem;
}
.home-latest-card .front-item__meta .eyebrow {
  display: none;
}
.home-latest-card h3 {
  margin: .25rem 0 .35rem;
  color: var(--editorial-card-title);
  font-size: 1.16rem;
  line-height: 1.6;
  font-weight: 850;
}
.home-latest-card p {
  display: -webkit-box;
  margin: 0;
  color: #66727a;
  font-size: .85rem;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-latest-card .front-item__time {
  color: var(--editorial-meta);
  font-size: .7rem;
}

/* Tight, consistent rhythm. No section gets poster-like vertical space. */
.home-reference-main {
  gap: .85rem !important;
}
.home-news-section,
.home-latest-section {
  min-height: 0 !important;
}
.home-news-section__head {
  margin-block-end: .75rem !important;
}
.home-news-section__head h2 {
  font-size: 1.05rem !important;
}
.home-news-grid {
  gap: .75rem !important;
}

/* Subtle card separation is enough; imagery carries the visual weight. */
.home-news-card .front-item__media,
.home-latest-card .front-item__media {
  border: 1px solid #e0e6ea;
}
.home-news-card h3 a:hover,
.home-latest-card h3 a:hover {
  color: var(--editorial-accent);
}

/* Sidebar: compact utility modules, never dominant. */
.home-reference-sidebar {
  gap: .8rem !important;
}
.home-reference-sidebar .home-sidebar__box > header {
  min-height: 2.45rem !important;
  padding: .55rem .75rem !important;
}
.home-reference-sidebar .home-sidebar__box h2 {
  font-size: .88rem !important;
}
.home-reference-sidebar .home-latest-list li {
  padding-block: .55rem !important;
}

/* Dark theme keeps the same information architecture. */
html[data-theme="dark"] .home-latest-section,
html[data-theme="dark"] .home-latest-card {
  background: var(--paper-1);
  border-color: var(--line);
}
html[data-theme="dark"] .home-latest-card h3 {
  color: var(--ink-0);
}
html[data-theme="dark"] .home-latest-card p {
  color: var(--ink-2);
}

@media (max-width: 720px) {
  .signal-bar {
    display: none;
  }
  .masthead__row {
    min-height: 4.4rem !important;
    grid-template-columns: 1fr auto !important;
  }
  .masthead__brand-logo {
    inline-size: 10.5rem !important;
  }
  .primary-nav__inner {
    min-height: 2.6rem !important;
  }
  .home-latest-grid {
    grid-template-columns: 1fr;
  }
  .home-news-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 480px) {
  .home-news-grid {
    grid-template-columns: 1fr;
  }
}

/* Compact sidebar statistics: information, not promotion. */
.home-reference-sidebar .home-stats-box {
  box-shadow: none;
}
.home-reference-sidebar .home-stats-list {
  margin: 0;
  padding: .45rem .8rem .65rem;
  background: var(--editorial-card-bg);
}
.home-reference-sidebar .home-stats-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  min-height: 2rem;
  padding-block: .32rem;
  border-block-end: 1px solid #edf1f3;
}
.home-reference-sidebar .home-stats-list > div:last-child {
  border-block-end: 0;
}
.home-reference-sidebar .home-stats-list dt {
  color: #394b59;
  font-size: .82rem;
  font-weight: 700;
}
.home-reference-sidebar .home-stats-list dd {
  margin: 0;
  color: var(--editorial-accent);
  font-size: .88rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
html[data-theme="dark"] .home-reference-sidebar .home-stats-list {
  background: var(--paper-1);
}
html[data-theme="dark"] .home-reference-sidebar .home-stats-list > div {
  border-color: var(--line);
}
html[data-theme="dark"] .home-reference-sidebar .home-stats-list dt {
  color: var(--ink-1);
}
html[data-theme="dark"] .home-reference-sidebar .home-stats-list dd {
  color: var(--editorial-secondary-accent);
}

/* Compact sidebar statistics: information, not promotion. */
.home-reference-sidebar .home-stats-box {
  box-shadow: none;
}
.home-reference-sidebar .home-stats-list {
  margin: 0;
  padding: .45rem .8rem .65rem;
  background: var(--editorial-card-bg);
}
.home-reference-sidebar .home-stats-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  min-height: 2rem;
  padding-block: .32rem;
  border-block-end: 1px solid #edf1f3;
}
.home-reference-sidebar .home-stats-list > div:last-child {
  border-block-end: 0;
}
.home-reference-sidebar .home-stats-list dt {
  color: #394b59;
  font-size: .82rem;
  font-weight: 700;
}
.home-reference-sidebar .home-stats-list dd {
  margin: 0;
  color: var(--editorial-accent);
  font-size: .88rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
html[data-theme="dark"] .home-reference-sidebar .home-stats-list {
  background: var(--paper-1);
}
html[data-theme="dark"] .home-reference-sidebar .home-stats-list > div {
  border-color: var(--line);
}
html[data-theme="dark"] .home-reference-sidebar .home-stats-list dt {
  color: var(--ink-1);
}
html[data-theme="dark"] .home-reference-sidebar .home-stats-list dd {
  color: var(--editorial-secondary-accent);
}

/* Compact primary navigation: scannable categories + overflow menu. */
.primary-nav {
  position: relative;
  z-index: 45;
  background: var(--editorial-card-bg);
  border-block-end: 1px solid var(--editorial-rule);
}
.primary-nav__inner {
  min-height: 3.25rem !important;
  overflow: visible !important;
  scrollbar-width: none;
}
.primary-nav__inner::-webkit-scrollbar {
  display: none !important;
}
.primary-nav__desktop {
  inline-size: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: .25rem;
}
.primary-nav__item {
  position: relative;
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
}
.primary-nav__item > a,
.primary-nav__more > summary {
  min-height: 3.2rem;
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  padding-inline: .72rem;
  color: #344957 !important;
  font-size: .82rem !important;
  font-weight: 750 !important;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
  border-block-end: 2px solid transparent;
}
.primary-nav__item > a:hover,
.primary-nav__item > a:focus-visible,
.primary-nav__more > summary:hover,
.primary-nav__more > summary:focus-visible,
.primary-nav__more[open] > summary {
  color: var(--editorial-accent) !important;
  border-block-end-color: var(--editorial-accent);
}
.primary-nav__item > a::after {
  display: none !important;
}
.primary-nav__icon {
  inline-size: 1rem;
  block-size: 1rem;
  fill: none;
  stroke: var(--editorial-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.primary-nav__more {
  position: relative;
  flex: 0 0 auto;
}
.primary-nav__more > summary::-webkit-details-marker {
  display: none;
}
.primary-nav__chevron {
  inline-size: .8rem;
  block-size: .8rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform .15s ease;
}
.primary-nav__more[open] .primary-nav__chevron {
  transform: rotate(180deg);
}
.primary-nav__more-menu {
  position: absolute;
  inset-block-start: calc(100% + 1px);
  inset-inline-end: 0;
  inline-size: min(22rem, 86vw);
  padding: .45rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .15rem;
  background: var(--editorial-card-bg);
  border: 1px solid var(--editorial-rule);
  box-shadow: var(--shadow-2);
}
.primary-nav__more-menu .primary-nav__item {
  display: block;
}
.primary-nav__more-menu .primary-nav__item > a {
  min-height: 2.4rem;
  inline-size: 100%;
  padding: .5rem .65rem;
  border: 0;
  border-radius: 3px;
  font-size: .78rem !important;
}
.primary-nav__more-menu .primary-nav__item > a:hover {
  background: #eef4f7;
}
html[data-theme="dark"] .primary-nav,
html[data-theme="dark"] .primary-nav__more-menu {
  background: var(--paper-1);
  border-color: var(--line);
}
html[data-theme="dark"] .primary-nav__item > a,
html[data-theme="dark"] .primary-nav__more > summary {
  color: var(--ink-1) !important;
}
html[data-theme="dark"] .primary-nav__more-menu .primary-nav__item > a:hover {
  background: var(--paper-2);
}

@media (max-width: 920px) {
  .primary-nav__inner {
    overflow-x: auto !important;
    overflow-y: visible !important;
    justify-content: flex-start !important;
  }
  .primary-nav__desktop {
    justify-content: flex-start;
    inline-size: max-content;
    min-inline-size: 100%;
  }
}
@media (max-width: 640px) {
  .primary-nav__item > a,
  .primary-nav__more > summary {
    min-height: 2.8rem;
    padding-inline: .55rem;
    font-size: .78rem !important;
  }
  .primary-nav__more-menu {
    position: fixed;
    inset-inline: .6rem;
    inset-block-start: auto;
    inline-size: auto;
    grid-template-columns: 1fr;
  }
}

/* Navigation section images managed from Newsroom. */
.primary-nav__image {
  inline-size:1.7rem;
  block-size:1.7rem;
  border-radius:4px;
  overflow:hidden;
  flex:0 0 auto;
  background:#edf2f5;
  border:1px solid #dbe4e9;
}
.primary-nav__image img {
  inline-size:100%;
  block-size:100%;
  display:block;
  object-fit:cover;
}
.primary-nav__more-menu .primary-nav__image {
  inline-size:2rem;
  block-size:2rem;
}
.primary-nav__icon {
  display:none !important;
}
html[data-theme="dark"] .primary-nav__image {
  background:var(--paper-2);
  border-color:var(--line);
}

/* Article rows always show a thumbnail or media fallback. */
.home-reference-sidebar .home-latest-list li,
.home-latest-list li {
  grid-template-columns: 1.7rem 3.4rem minmax(0,1fr) !important;
  align-items: start;
}
.home-list-index {
  padding-block-start: .15rem;
}
.home-sidebar-thumb {
  display: block;
  inline-size: 3.4rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.home-sidebar-thumb img {
  inline-size: 100%;
  block-size: 100%;
  display: block;
  object-fit: cover;
}
.front-item__time {
  display: inline-block;
  margin-block-start: .2rem;
  color: var(--ink-2);
  font-size: .72rem;
  white-space: nowrap;
}

/* Breaking Edition: uses an explicit Latest editorial section when available. */
.breaking-strip {
  border-block: 1px solid var(--editorial-accent);
  background: var(--editorial-inverse-bg);
  color: var(--editorial-inverse-title);
}
.breaking-strip__inner {
  min-height: 3.15rem;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: .85rem;
  align-items: center;
}
.breaking-strip strong {
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  color: var(--editorial-inverse-title);
  font-size: .78rem;
  font-weight: 950;
}
.breaking-strip strong > span {
  inline-size: .55rem;
  block-size: .55rem;
  border-radius: 50%;
  background: var(--editorial-accent);
  box-shadow: 0 0 0 .22rem color-mix(in srgb, var(--editorial-accent) 25%, transparent);
}
.breaking-strip a {
  min-width: 0;
  overflow: hidden;
  color: var(--editorial-inverse-title);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.breaking-strip a:hover {
  text-decoration: underline;
}
.breaking-strip time {
  color: color-mix(in srgb, #fff 78%, transparent);
  font-size: .72rem;
  white-space: nowrap;
}
.homepage-edition--breaking .signal-bar {
  border-block-end-color: var(--editorial-accent);
}
.homepage-edition--breaking .signal-bar__mark {
  color: var(--editorial-accent);
}

.stream-item__meta {
  display: flex;
  gap: .6rem;
  align-items: center;
  flex-wrap: wrap;
}
.stream-item__meta > span {
  color: var(--editorial-accent);
  font-size: .68rem;
  font-weight: 950;
}
.stream-item[data-current="true"] {
  padding-block-start: .2rem;
}
.stream-item[data-current="true"]::before {
  box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--editorial-accent) 20%, transparent);
}
@media(max-width:720px){
  .breaking-strip__inner {
    grid-template-columns: auto minmax(0,1fr);
    padding-block: .55rem;
  }
  .breaking-strip time {
    grid-column: 2;
  }
}

/* =========================================================
   Editorial-role driven public homepage
   Visual weight follows newsroom decisions, not section order.
   ========================================================= */
.home-role-section {
  min-width: 0;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--editorial-card-border);
  border-radius: 4px;
  background: var(--editorial-card-bg);
  box-shadow: var(--shadow-1);
}
.home-role-section > .home-news-section__head {
  margin-block-end: .85rem !important;
}
.home-news-section__head:has(> small) {
  grid-template-columns: auto auto 1fr;
}
.home-news-section__head > small {
  padding: .18rem .45rem;
  border: 1px solid var(--editorial-card-border);
  color: var(--editorial-meta);
  font-size: .66rem;
  font-weight: 850;
  white-space: nowrap;
}
.section-title-off > .home-news-section__head {
  display: none !important;
}

/* Lead: one unmistakable priority, then compact supporting coverage. */
.home-role-lead.home-news-lead {
  padding: 1rem;
}
.home-role-lead .home-news-lead__grid {
  grid-template-columns: minmax(0,1.72fr) minmax(220px,.64fr);
  gap: .85rem;
}
.home-role-lead .home-news-lead__main {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0,1.18fr) minmax(240px,.82fr);
  gap: 1rem;
  align-items: stretch;
}
.home-news-lead__media {
  display: block;
  min-width: 0;
}
.home-role-lead .home-news-lead__main .front-item__media {
  inline-size: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid #e0e6ea;
  border-radius: 4px;
  overflow: hidden;
}
.home-role-lead .home-news-lead__body {
  min-width: 0;
  padding: .25rem .15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-news-lead__priority {
  margin-block-end: .55rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--editorial-accent);
  font-size: .72rem;
  font-weight: 950;
}
.home-news-lead__priority > span {
  inline-size: .5rem;
  block-size: .5rem;
  border-radius: 999px;
  background: var(--editorial-accent);
}
.home-story-format {
  color: var(--editorial-accent);
  font-size: .67rem;
  font-weight: 900;
}
.home-role-lead .front-item__meta,
.home-role-latest .front-item__meta {
  display: flex;
  align-items: center;
  gap: .48rem;
  flex-wrap: wrap;
}
.home-role-lead .home-news-lead__body h1 {
  max-width: 18ch;
  margin: .48rem 0 .65rem;
  font-size: clamp(1.45rem,2.05vw,2.05rem);
  line-height: 1.34;
  text-wrap: balance;
}
.home-role-lead .home-news-lead__body p {
  display: -webkit-box;
  margin: 0;
  color: var(--editorial-body);
  font-size: .9rem;
  line-height: 1.72;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-news-lead__briefs {
  border-inline-start: 1px solid var(--editorial-rule);
  padding-inline-start: .85rem;
}
[dir="rtl"] .home-news-lead__briefs {
  border-inline-start: 0;
  border-inline-end: 1px solid var(--editorial-rule);
  padding-inline-start: 0;
  padding-inline-end: .85rem;
}
.home-news-lead__briefs-head {
  min-height: 2.1rem;
  margin-block-end: .15rem;
  padding-block-end: .55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  border-block-end: 2px solid var(--editorial-accent);
  color: var(--editorial-accent);
  font-size: .72rem;
}
.home-news-lead__briefs-head span {
  color: var(--editorial-accent);
  font-variant-numeric: tabular-nums;
  font-weight: 950;
}
.home-news-brief {
  grid-template-columns: minmax(0,1fr) 72px;
  gap: .55rem;
  padding-block: .68rem;
}
.home-news-brief__media {
  display: block;
  align-self: start;
}
.home-news-brief__media .front-item__media {
  inline-size: 72px;
  aspect-ratio: 4 / 3;
  border-radius: 3px;
  overflow: hidden;
}
.home-news-brief__body {
  min-width: 0;
}
.home-news-brief h3 {
  margin: .2rem 0;
  font-size: .88rem;
  line-height: 1.5;
}

/* Latest: scanning speed wins over card decoration. */
.home-role-latest__list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  column-gap: 1rem;
  list-style: none;
}
.home-role-latest__list > li {
  min-width: 0;
  min-height: 5.2rem;
  padding-block: .62rem;
  display: grid;
  grid-template-columns: 1.55rem 4.2rem minmax(0,1fr);
  gap: .58rem;
  align-items: start;
  border-block-end: 1px solid #e6ebee;
}
.home-role-latest__list > li:nth-child(-n+2) {
  padding-block-start: 0;
}
.home-role-latest__list > li:nth-last-child(-n+2) {
  padding-block-end: 0;
  border-block-end: 0;
}
.home-role-latest__index {
  color: var(--editorial-accent);
  font-size: .7rem;
  font-weight: 950;
}
.home-role-latest__list .home-sidebar-thumb {
  inline-size: 4.4rem;
}
.home-role-latest__list a {
  color: var(--editorial-card-title);
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.55;
}
.home-role-latest__list .front-item__time {
  display: block;
}
.home-reference-live.page-shell {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* Desk: one editorial priority and a dense supporting stack. */
.home-role-desk__grid {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(260px,.9fr);
  gap: 1rem;
  align-items: start;
}
.home-role-desk__main .front-item__media {
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
}
.home-role-desk__main .front-item__body {
  padding-block-start: .65rem;
}
.home-role-desk__main h3 {
  margin: .3rem 0 .4rem;
  font-size: 1.3rem;
  line-height: 1.55;
}
.home-role-desk__main p {
  display: -webkit-box;
  margin: 0;
  color: #66727a;
  font-size: .84rem;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-role-desk__support {
  display: grid;
}
.home-role-desk__card {
  min-width: 0;
  padding-block: .62rem;
  display: grid;
  grid-template-columns: 108px minmax(0,1fr);
  gap: .7rem;
  align-items: start;
  border-block-end: 1px solid #e6ebee;
}
.home-role-desk__card:first-child {
  padding-block-start: 0;
}
.home-role-desk__card:last-child {
  border-block-end: 0;
}
.home-role-desk__card .front-item__media {
  inline-size: 108px;
  aspect-ratio: 4 / 3;
  border-radius: 3px;
  overflow: hidden;
}
.home-role-desk__card .front-item__body {
  min-width: 0;
}
.home-role-desk__card .front-item__meta .eyebrow,
.home-role-desk__card .front-item__badge {
  display: none;
}
.home-role-desk__card h3 {
  margin: .2rem 0 0;
  font-size: .9rem;
  line-height: 1.55;
}
.home-role-desk__card p {
  display: none;
}

/* Analysis: preserve context and summaries instead of maximizing card count. */
.home-role-analysis__grid {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(280px,.9fr);
  gap: 1rem;
}
.home-role-analysis__main .front-item__media {
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
}
.home-role-analysis__main h3 {
  margin: .35rem 0 .45rem;
  font-size: 1.3rem;
  line-height: 1.55;
}
.home-role-analysis__main p {
  color: #66727a;
  line-height: 1.75;
}
.home-role-analysis__list {
  display: grid;
}
.home-role-analysis__row {
  min-width: 0;
  padding-block: .62rem;
  display: grid;
  grid-template-columns: 5.4rem minmax(0,1fr);
  gap: .7rem;
  border-block-end: 1px solid #e6ebee;
}
.home-role-analysis__row:first-child { padding-block-start: 0; }
.home-role-analysis__row:last-child { border-block-end: 0; }
.home-role-analysis__row .home-sidebar-thumb {
  inline-size: 5.4rem;
}
.home-role-analysis__row h3 {
  margin: 0 0 .2rem;
  font-size: .9rem;
  line-height: 1.5;
}
.home-role-analysis__row p {
  display: -webkit-box;
  margin: .3rem 0 0;
  color: #66727a;
  font-size: .75rem;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Utility: compact functional modules, still with a visual fallback. */
.home-role-utility__grid,
.home-role-commercial__grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .75rem;
}
.home-role-utility__card {
  min-width: 0;
  display: grid;
  grid-template-columns: 96px minmax(0,1fr);
  gap: .7rem;
  padding: .65rem;
  border: 1px solid #e0e6ea;
  background: #fafcfd;
}
.home-role-utility__card .front-item__media {
  inline-size: 96px;
  aspect-ratio: 1;
  border-radius: 3px;
  overflow: hidden;
}
.home-role-utility__card .front-item__badge,
.home-role-utility__card .front-item__meta .eyebrow {
  display: none;
}
.home-role-utility__card h3 {
  margin: .2rem 0;
  font-size: .92rem;
  line-height: 1.5;
}
.home-role-utility__card p {
  display: -webkit-box;
  margin: .2rem 0 0;
  color: #66727a;
  font-size: .76rem;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Commercial is intentionally distinguishable from editorial coverage. */
.home-role-commercial {
  border-color: #e5d4ad;
  background: #fffdf8;
}
.home-role-commercial__card {
  min-width: 0;
  border: 1px solid #eadfca;
  background: var(--editorial-card-bg);
}
.home-role-commercial__card .front-item__media {
  aspect-ratio: 16 / 9;
}
.home-role-commercial__card .front-item__body {
  padding: .6rem;
}
.home-role-commercial__card h3 {
  margin: .25rem 0;
  font-size: .98rem;
}

/* Existing presentation toggles remain authoritative. */
.home-role-section.section-images-off .home-sidebar-thumb,
.home-role-section.section-images-off .home-news-brief__media {
  display: none !important;
}
.home-role-section.section-images-off .home-role-desk__card,
.home-role-section.section-images-off .home-role-analysis__row,
.home-role-section.section-images-off .home-role-utility__card {
  grid-template-columns: 1fr;
}
.home-role-section.section-excerpt-off p {
  display: none !important;
}

html[data-theme="dark"] .home-role-section {
  border-color: var(--line);
  background: var(--paper-1);
}
html[data-theme="dark"] .home-role-latest__list > li,
html[data-theme="dark"] .home-role-desk__card,
html[data-theme="dark"] .home-role-analysis__row {
  border-color: var(--line);
}
html[data-theme="dark"] .home-role-latest__list a,
html[data-theme="dark"] .home-role-desk h3,
html[data-theme="dark"] .home-role-analysis h3,
html[data-theme="dark"] .home-role-utility h3 {
  color: var(--ink-0);
}
html[data-theme="dark"] .home-role-utility__card {
  border-color: var(--line);
  background: var(--paper-2);
}
html[data-theme="dark"] .home-role-commercial {
  border-color: var(--line);
  background: var(--paper-1);
}
html[data-theme="dark"] .home-role-commercial__card {
  border-color: var(--line);
  background: var(--paper-2);
}

@media (max-width: 900px) {
  .home-role-lead .home-news-lead__grid,
  .home-role-desk__grid,
  .home-role-analysis__grid {
    grid-template-columns: 1fr;
  }
  .home-role-desk__support,
  .home-role-analysis__list {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: .75rem;
  }
  .home-role-desk__card,
  .home-role-analysis__row {
    border: 1px solid #e6ebee;
    padding: .6rem;
  }
}
@media (max-width: 640px) {
  .home-role-section {
    padding: .7rem;
  }
  .home-news-section__head:has(> small) {
    grid-template-columns: auto 1fr;
  }
  .home-news-section__head > small {
    display: none;
  }
  .home-role-desk__support,
  .home-role-analysis__list,
  .home-role-utility__grid,
  .home-role-commercial__grid {
    grid-template-columns: 1fr;
  }
  .home-role-latest__list > li {
    grid-template-columns: 1.5rem 4rem minmax(0,1fr);
  }
  .home-role-latest__list .home-sidebar-thumb {
    inline-size: 4rem;
  }
}


/* Front-page benchmark pass: higher information density without sacrificing hierarchy. */
.latest-strip strong {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.latest-strip strong > span {
  inline-size: .42rem;
  block-size: .42rem;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 .18rem color-mix(in srgb, currentColor 16%, transparent);
}
.latest-strip__time {
  flex: 0 0 auto;
}
.latest-strip__time .front-item__time {
  color: var(--editorial-meta);
  font-size: .7rem;
  white-space: nowrap;
}
html[data-theme="dark"] .home-news-lead__briefs {
  border-color: var(--line);
}
html[data-theme="dark"] .home-news-lead__priority,
html[data-theme="dark"] .home-story-format,
html[data-theme="dark"] .home-news-lead__briefs-head,
html[data-theme="dark"] .home-news-lead__briefs-head span {
  color: var(--editorial-secondary-accent);
}
html[data-theme="dark"] .home-news-lead__priority > span {
  background: var(--brand-nile);
}
@media (max-width: 900px) {
  .home-role-lead .home-news-lead__main {
    grid-template-columns: minmax(0,1.18fr) minmax(240px,.82fr);
  }
  .home-news-lead__briefs,
  [dir="rtl"] .home-news-lead__briefs {
    margin-block-start: .2rem;
    padding: .75rem 0 0;
    border-inline: 0;
    border-block-start: 1px solid var(--editorial-rule);
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0 .85rem;
  }
  .home-news-lead__briefs-head {
    grid-column: 1 / -1;
  }
  .home-news-brief {
    border-block-end: 1px solid #e6ebee;
  }
}
@media (max-width: 720px) {
  .home-role-lead .home-news-lead__main {
    grid-template-columns: 1fr;
    gap: .65rem;
  }
  .home-role-lead .home-news-lead__main .front-item__media {
    aspect-ratio: 16 / 9;
  }
  .home-role-lead .home-news-lead__body {
    padding: .15rem 0 .25rem;
  }
  .home-role-lead .home-news-lead__body h1 {
    max-width: none;
    font-size: clamp(1.55rem,7vw,2.15rem);
  }
  .home-news-lead__briefs,
  [dir="rtl"] .home-news-lead__briefs {
    grid-template-columns: 1fr;
  }
  .home-role-latest__list {
    grid-template-columns: 1fr;
  }
  .home-role-latest__list > li:nth-child(-n+2) {
    padding-block-start: .62rem;
  }
  .home-role-latest__list > li:first-child {
    padding-block-start: 0;
  }
  .home-role-latest__list > li:nth-last-child(-n+2) {
    padding-block-end: .62rem;
    border-block-end: 1px solid #e6ebee;
  }
  .home-role-latest__list > li:last-child {
    padding-block-end: 0;
    border-block-end: 0;
  }
  .latest-strip__time {
    display: none;
  }
}

/* Mobile newsroom navigation: keep essential links visible and disclose the full section list. */
.primary-nav__mobile {
  display: none;
}
.primary-nav__mobile-more > summary {
  min-height: 3.2rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding-inline: .72rem;
  color: #344957;
  font-size: .82rem;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
  border-block-end: 2px solid transparent;
}
.primary-nav__mobile-more > summary::-webkit-details-marker {
  display: none;
}
.primary-nav__mobile-more[open] > summary {
  color: var(--editorial-accent);
  border-block-end-color: var(--editorial-accent);
}
.primary-nav__mobile-more[open] .primary-nav__chevron {
  transform: rotate(180deg);
}
html[data-theme="dark"] .primary-nav__mobile-more > summary {
  color: var(--ink-1);
}

@media (max-width: 640px) {
  .primary-nav__inner {
    overflow: visible !important;
  }
  .primary-nav__desktop {
    display: none;
  }
  .primary-nav__mobile {
    inline-size: 100%;
    min-inline-size: 0;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
  }
  .primary-nav__mobile > .primary-nav__item,
  .primary-nav__mobile-more {
    min-inline-size: 0;
    flex: 0 1 auto;
  }
  .primary-nav__mobile > .primary-nav__item > a,
  .primary-nav__mobile-more > summary {
    min-height: 2.8rem;
    padding-inline: .42rem;
    font-size: .74rem !important;
  }
  .primary-nav__mobile > .primary-nav__item .primary-nav__image {
    display: none;
  }
  .primary-nav__mobile-more {
    position: static;
  }
  .primary-nav__mobile-more .primary-nav__more-menu {
    position: absolute;
    inset-block-start: 100%;
    inset-inline: .6rem;
    inline-size: auto;
    max-block-size: min(70vh, 32rem);
    overflow-y: auto;
    grid-template-columns: 1fr;
    z-index: 70;
  }
}

/* Balance finite discovery sets instead of leaving an orphan card in a 3-column row. */
@media (min-width: 721px) {
  .home-news-grid--count-1 {
    grid-template-columns: minmax(0,1fr);
  }
  .home-news-grid--count-2,
  .home-news-grid--count-4 {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

/* Publication identity and utility links in the homepage masthead. */
.signal-bar__inner {
  justify-content: space-between;
  gap: 1rem;
}
.signal-bar__links {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.signal-bar__links a {
  color: inherit;
  font-size: .7rem;
  font-weight: 750;
  opacity: .88;
}
.signal-bar__links a:hover,
.signal-bar__links a:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.masthead__arabic {
  display: block !important;
  color: #5e6c77;
  font-size: .66rem;
  font-weight: 750;
  letter-spacing: .04em;
}
.masthead__search {
  inline-size: auto;
  min-inline-size: 2.35rem;
  padding-inline: .62rem;
  gap: .35rem;
}
.masthead__action-label {
  font-size: .7rem;
  font-weight: 800;
}
.homepage-layout .public-footer {
  margin-block-start: 0;
}
@media (max-width: 720px) {
  .masthead__arabic,
  .masthead__action-label {
    display: none !important;
  }
  .masthead__search {
    inline-size: 2.35rem;
    padding-inline: 0;
  }
}

/* =========================================================
   Visual System V2 — editorial surfaces, not app cards.
   ========================================================= */
html[data-theme="light"] .homepage-layout,
html[data-theme="light"] .homepage-reference {
  background: var(--editorial-card-bg);
}
.homepage-reference {
  padding-block: 1rem 3rem;
}
.home-reference-shell {
  width: min(calc(100% - 2rem), var(--content-max));
  grid-template-columns: minmax(0,1fr) 292px;
  gap: 1.65rem;
}
.home-reference-main {
  gap: 0 !important;
}
.home-role-section,
.home-news-lead,
.home-news-section,
.home-latest-section {
  padding: 1.25rem 0;
  border: 0;
  border-block-start: 1px solid #9cadb8;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.home-role-lead {
  padding-block-start: .75rem;
  border-block-start: 0;
}
.home-role-section > .home-news-section__head,
.home-news-section__head {
  margin-block-end: 1rem !important;
}
.home-news-section__head h2 {
  font-size: 1.22rem !important;
  letter-spacing: -.015em;
}
.home-news-section__head span {
  height: 2px;
  background: var(--editorial-accent);
}
.home-news-section__head > small {
  border: 0;
  padding: .12rem .35rem;
  background: var(--editorial-surface-soft);
}
.home-role-lead .home-news-lead__grid {
  gap: 1.15rem;
}
.home-role-lead .home-news-lead__main {
  grid-template-columns: minmax(0,1.12fr) minmax(260px,.88fr);
  gap: 1.25rem;
}
.home-role-lead .home-news-lead__main .front-item__media,
.home-role-desk__main .front-item__media,
.home-role-analysis__main .front-item__media,
.home-news-card .front-item__media,
.home-latest-card .front-item__media {
  border: 0;
  border-radius: 0;
}
.home-role-lead .home-news-lead__body h1 {
  max-width: 16ch;
  font-size: clamp(1.8rem,2.45vw,2.5rem);
  line-height: 1.25;
  letter-spacing: -.022em;
}
.home-role-lead .home-news-lead__body p {
  font-size: .94rem;
  line-height: 1.8;
}
.home-news-lead__briefs,
[dir="rtl"] .home-news-lead__briefs {
  border-color: #b8c4cb;
}
.home-news-lead__briefs-head {
  border-block-end: 2px solid var(--editorial-title);
  color: var(--editorial-title);
}
.home-news-brief {
  padding-block: .72rem;
}
.home-news-brief__media .front-item__media,
.home-role-desk__card .front-item__media,
.home-role-analysis__row .home-sidebar-thumb,
.home-sidebar-thumb {
  border-radius: 0;
}
.home-news-brief h3,
.home-role-desk__card h3,
.home-role-analysis__row h3 {
  color: #16232c;
}
.home-role-latest__list {
  column-gap: 1.4rem;
}
.home-role-latest__list > li {
  min-height: 5.45rem;
  border-color: #d9e0e4;
}
.home-role-latest__list a {
  font-size: .96rem;
  line-height: 1.5;
}
.home-role-desk__grid,
.home-role-analysis__grid {
  gap: 1.35rem;
}
.home-role-desk__card,
.home-role-analysis__row {
  border-color: #d9e0e4;
}
.home-role-desk__main h3,
.home-role-analysis__main h3 {
  font-size: 1.42rem;
  line-height: 1.48;
}
.home-reference-sidebar {
  gap: 1.35rem !important;
}
.home-reference-sidebar .home-sidebar__box {
  overflow: visible;
  padding: 0;
  border: 0;
  border-block-start: 2px solid var(--editorial-title);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.home-reference-sidebar .home-sidebar__box > header {
  min-height: 0 !important;
  padding: .7rem 0 .62rem !important;
  border-block-end: 1px solid #ccd6dc;
  background: transparent;
}
.home-reference-sidebar .home-sidebar__box h2 {
  color: var(--editorial-title);
  font-size: .94rem !important;
}
.home-reference-sidebar .home-latest-list,
.home-reference-sidebar .home-tool-list,
.home-reference-sidebar .home-stats-list,
.home-reference-sidebar .home-stats-grid,
.home-reference-sidebar .home-trust-box > p,
.home-reference-sidebar .home-trust-box > div {
  background: transparent;
}
.home-reference-sidebar .home-latest-list li {
  border-color: #dde4e8;
}
.home-reference-sidebar .home-tool-list > a {
  border-color: #dde4e8;
}
.home-reference-sidebar .home-section-links {
  padding-block: .7rem;
}
.latest-strip {
  margin-block: 1rem .8rem;
  border-radius: 0;
  box-shadow: none;
}
.masthead__search {
  inline-size: 2.75rem;
  min-inline-size: 2.75rem;
  padding-inline: 0;
}
.primary-nav__desktop > .primary-nav__item > a .primary-nav__image,
.primary-nav__mobile > .primary-nav__item > a .primary-nav__image {
  display: none;
}
.primary-nav__item > a,
.primary-nav__more > summary {
  gap: .2rem;
}
@media (max-width: 980px) {
  .home-reference-shell {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .home-role-section {
    padding-block: 1rem;
  }
  .home-role-desk__card,
  .home-role-analysis__row {
    border: 0;
    border-block-end: 1px solid #d9e0e4;
    padding: .65rem 0;
  }
}
@media (max-width: 720px) {
  .homepage-reference {
    padding-block: .55rem 2rem;
  }
  .home-reference-shell {
    width: min(calc(100% - 1rem), var(--content-max));
    gap: 0;
  }
  .home-role-section,
  .home-news-lead,
  .home-news-section,
  .home-latest-section {
    padding: 1rem 0;
    border-radius: 0;
  }
  .home-role-lead {
    padding-block-start: .55rem;
  }
  .home-role-lead .home-news-lead__body h1 {
    font-size: clamp(1.75rem,8vw,2.2rem);
    line-height: 1.28;
  }
  .home-news-lead__briefs,
  [dir="rtl"] .home-news-lead__briefs {
    padding-block-start: .9rem;
  }
  .home-reference-sidebar {
    margin-block-start: 1rem;
  }
}

@media (max-width: 720px) {
  .home-role-lead .home-news-lead__main {
    grid-template-columns: minmax(0,1fr);
    gap: .75rem;
  }
  .home-news-lead__media,
  .home-role-lead .home-news-lead__main .front-item__media {
    inline-size: 100%;
    max-inline-size: none;
  }
}

/* Visual System V2 — dark-mode parity after the final light editorial overrides. */
html[data-theme="dark"] .home-role-section,
html[data-theme="dark"] .home-news-lead,
html[data-theme="dark"] .home-news-section,
html[data-theme="dark"] .home-latest-section,
html[data-theme="dark"] .home-reference-sidebar .home-sidebar__box,
html[data-theme="dark"] .home-reference-sidebar .home-latest-list,
html[data-theme="dark"] .home-reference-sidebar .home-tool-list,
html[data-theme="dark"] .home-reference-sidebar .home-stats-list,
html[data-theme="dark"] .home-reference-sidebar .home-stats-grid,
html[data-theme="dark"] .home-reference-sidebar .home-trust-box > p,
html[data-theme="dark"] .home-reference-sidebar .home-trust-box > div {
  background: transparent;
  border-color: var(--line);
}
html[data-theme="dark"] .home-news-section__head h2,
html[data-theme="dark"] .home-role-lead .home-news-lead__body h1,
html[data-theme="dark"] .home-news-brief h3,
html[data-theme="dark"] .home-news-brief h3 a,
html[data-theme="dark"] .home-role-latest__list a,
html[data-theme="dark"] .home-role-desk__main h3,
html[data-theme="dark"] .home-role-desk__main h3 a,
html[data-theme="dark"] .home-role-desk__card h3,
html[data-theme="dark"] .home-role-desk__card h3 a,
html[data-theme="dark"] .home-role-analysis__main h3,
html[data-theme="dark"] .home-role-analysis__main h3 a,
html[data-theme="dark"] .home-role-analysis__row h3,
html[data-theme="dark"] .home-role-analysis__row h3 a,
html[data-theme="dark"] .home-role-utility__card h3,
html[data-theme="dark"] .home-role-utility__card h3 a {
  color: var(--ink-0);
}
html[data-theme="dark"] .home-news-section__head > small {
  background: var(--paper-2);
  color: var(--ink-1);
}
html[data-theme="dark"] .home-news-section__head span,
html[data-theme="dark"] .home-news-lead__briefs-head {
  border-color: var(--editorial-secondary-accent);
}
html[data-theme="dark"] .home-news-lead__briefs-head,
html[data-theme="dark"] .home-news-lead__briefs-head span,
html[data-theme="dark"] .home-story-format,
html[data-theme="dark"] .home-news-lead__priority,
html[data-theme="dark"] .home-reference-sidebar .home-sidebar__box h2 {
  color: var(--editorial-secondary-accent);
}
html[data-theme="dark"] .home-news-lead__body p,
html[data-theme="dark"] .home-role-desk__main p,
html[data-theme="dark"] .home-role-analysis__main p,
html[data-theme="dark"] .home-role-analysis__row p,
html[data-theme="dark"] .home-role-utility__card p {
  color: var(--ink-2);
}

/* Design System V3 — theme-aware homepage surfaces. */
body,
.homepage-reference {
  background: var(--surface-canvas);
  color: var(--text-primary);
}
.signal-bar {
  background: var(--footer-bg);
  color: var(--text-inverse);
}
.masthead,
.primary-nav,
.primary-nav__more-menu,
.home-news-lead,
.home-news-section,
.home-latest-section,
.home-news-card,
.home-latest-card,
.home-reference-sidebar .home-sidebar__box,
.home-reference-sidebar .home-latest-list,
.home-reference-sidebar .home-tool-list,
.home-reference-sidebar .home-stats-list,
.home-reference-sidebar .home-stats-grid {
  background-color: var(--surface-raised);
}
.home-news-section__head h2,
.home-reference-sidebar .home-sidebar__box h2,
.home-news-lead__briefs-head {
  color: var(--text-primary);
}
.home-news-section__head span,
.home-news-lead__briefs-head,
.home-reference-sidebar .home-sidebar__box,
.home-role-latest__index,
.home-news-lead__priority,
.home-story-format,
.home-news-brief__badge,
.home-reference-sidebar .home-trust-box a,
.home-reference-sidebar .home-stats-list dd {
  border-color: var(--accent);
  color: var(--accent);
}
.home-news-section__head span,
.home-news-lead__priority > span {
  background: var(--accent);
}
.primary-nav__item > a:hover,
.primary-nav__item > a:focus-visible,
.primary-nav__more > summary:hover,
.primary-nav__more > summary:focus-visible,
.primary-nav__more[open] > summary,
.primary-nav__mobile-more[open] > summary {
  color: var(--accent) !important;
  border-block-end-color: var(--accent);
}
.primary-nav__icon {
  stroke: currentColor;
}
.home-news-card,
.home-latest-card,
.home-reference-sidebar .home-sidebar__box {
  border-color: var(--border-subtle);
}
.home-news-card .front-item__media,
.home-latest-card .front-item__media {
  border-color: var(--border-subtle);
}
.home-news-card h3 a:hover,
.home-latest-card h3 a:hover {
  color: var(--accent);
}
.home-news-card .home-story-format,
.home-news-lead__body .home-story-format {
  color: var(--accent);
}
.home-news-card__format,
.home-news-lead__priority {
  color: var(--accent);
}
.home-news-card__format {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: var(--shadow-1);
}
.home-news-section__head > small {
  background: var(--surface-muted);
  color: var(--text-secondary);
}
.home-role-commercial {
  border-color: color-mix(in srgb, var(--signal) 38%, var(--border-subtle));
  background: color-mix(in srgb, var(--signal) 6%, var(--surface-raised));
}
.home-role-commercial__card {
  border-color: color-mix(in srgb, var(--signal) 28%, var(--border-subtle));
  background: var(--surface-raised);
}
.home-role-section,
.home-news-lead,
.home-news-section,
.home-latest-section {
  box-shadow: none;
}
@media (hover:hover) and (pointer:fine) {
  .home-role-desk__card,
  .home-role-analysis__row,
  .home-role-utility__card {
    transition:
      transform var(--motion-normal) var(--ease-productive),
      border-color var(--motion-fast) var(--ease-productive),
      box-shadow var(--motion-normal) var(--ease-productive);
  }
  .home-role-desk__card:hover,
  .home-role-analysis__row:hover,
  .home-role-utility__card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--accent) 35%, var(--border-subtle));
    box-shadow: var(--shadow-1);
  }
}

/* Editorial Variety V1 — distinct newsroom section grammars. */
.home-live-desk,
.home-editors-picks,
.home-reviews,
.home-visuals,
.home-opinion,
.home-investigations {
  padding: 1.35rem 0 1.6rem;
  border-block-start: 1px solid var(--border-strong);
}
.home-live-desk {
  border-block-start: 4px solid var(--danger);
}
.home-live-desk__head {
  display:flex;align-items:end;justify-content:space-between;gap:1rem;
  padding-block-end:.85rem;border-block-end:1px solid var(--border-subtle);
}
.home-live-desk__head > div { display:flex;align-items:center;gap:.55rem;flex-wrap:wrap; }
.home-live-desk__head h2 { margin:0;font-size:1.35rem; }
.home-live-desk__head strong { color:var(--danger);font-size:.78rem; }
.home-live-desk__head small { color:var(--text-muted); }
.home-live-dot { inline-size:.6rem;block-size:.6rem;border-radius:50%;background:var(--danger);box-shadow:0 0 0 .28rem color-mix(in srgb,var(--danger) 14%,transparent);animation:home-live-pulse 1.8s ease-in-out infinite; }
.home-live-desk__stream { list-style:none;margin:0;padding:0;display:grid; }
.home-live-desk__stream li { display:grid;grid-template-columns:7rem minmax(0,1fr);gap:1rem;padding:.95rem 0;border-block-end:1px solid var(--border-subtle); }
.home-live-desk__stream li.is-current { background:color-mix(in srgb,var(--danger) 4%,transparent); }
.home-live-desk__time { color:var(--danger);font-size:.72rem;font-weight:800; }
.home-live-desk__stream h3 { margin:.15rem 0;font-size:1.08rem; }
.home-live-desk__stream p { margin:.25rem 0 0;color:var(--text-muted);font-size:.86rem;line-height:1.65; }

.home-editors-picks__grid { display:grid;grid-template-columns:minmax(0,1.15fr) minmax(20rem,.85fr);gap:1.4rem; }
.home-editors-picks__lead .front-item__media { aspect-ratio:16/9; }
.home-editors-picks__lead h3 { font-size:clamp(1.65rem,3vw,2.5rem); }
.home-editors-picks__list { list-style:none;margin:0;padding:0;border-block-start:2px solid var(--accent); }
.home-editors-picks__list li { display:grid;grid-template-columns:2.4rem 1fr;gap:.8rem;padding:.85rem 0;border-block-end:1px solid var(--border-subtle); }
.home-editors-picks__list > li > span { color:var(--accent);font-size:.75rem;font-weight:850; }
.home-editors-picks__list h3 { margin:.25rem 0 0;font-size:1rem;line-height:1.5; }

.home-reviews__grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--border-subtle);border:1px solid var(--border-subtle); }
.home-review-card { background:var(--surface-raised); }
.home-review-card__media { display:block; }
.home-review-card__media .front-item__media { aspect-ratio:16/10;border:0; }
.home-review-card__body { padding:1rem; }
.home-review-card__top { display:flex;align-items:center;justify-content:space-between;gap:.6rem; }
.home-review-score { color:var(--signal);font-size:1.35rem;line-height:1; }
.home-review-score small { font-size:.62rem;color:var(--text-muted); }
.home-review-card h3 { margin:.55rem 0;font-size:1.15rem;line-height:1.45; }
.home-review-card p { margin:0 0 .65rem;color:var(--text-muted);font-size:.82rem;line-height:1.65; }

.home-visuals { background:var(--surface-inverse);color:var(--text-inverse);padding-inline:1.15rem; }
.home-visuals .home-news-section__head h2 { color:var(--text-inverse); }
.home-visuals .home-news-section__head > small { background:transparent;color:color-mix(in srgb,var(--text-inverse) 70%,transparent); }
.home-visuals__grid { display:grid;grid-template-columns:minmax(0,1.25fr) minmax(19rem,.75fr);gap:1rem; }
.home-visuals__lead { position:relative; }
.home-visuals__media { position:relative;display:block; }
.home-visuals__media .front-item__media { aspect-ratio:16/9;border:0; }
.home-visuals__play { position:absolute;inset-inline-start:1rem;inset-block-end:1rem;inline-size:3rem;block-size:3rem;display:grid;place-items:center;border-radius:50%;background:var(--accent);color:var(--text-inverse);font-size:1.15rem;box-shadow:var(--shadow-2); }
.home-visuals__lead h3 { margin:.55rem 0 .4rem;font-size:clamp(1.45rem,2.7vw,2.2rem); }
.home-visuals__lead h3 a,.home-visuals__rail h3 a { color:var(--text-inverse); }
.home-visuals__lead p { color:color-mix(in srgb,var(--text-inverse) 72%,transparent); }
.home-visuals__rail { display:grid;align-content:start;gap:.7rem; }
.home-visuals__rail article { display:grid;grid-template-columns:7.4rem 1fr;gap:.7rem;padding-block-end:.7rem;border-block-end:1px solid color-mix(in srgb,var(--text-inverse) 16%,transparent); }
.home-visuals__rail .front-item__media { aspect-ratio:16/10;border:0; }
.home-visuals__rail span { color:var(--signal);font-size:.7rem;font-weight:800; }
.home-visuals__rail h3 { margin:.2rem 0;font-size:.92rem;line-height:1.45; }

.home-opinion__grid { display:grid;grid-template-columns:1.25fr repeat(2,minmax(0,1fr));gap:1px;background:var(--border-subtle);border:1px solid var(--border-subtle); }
.home-opinion-card { position:relative;min-height:12rem;padding:1.15rem;background:var(--surface-raised);overflow:hidden; }
.home-opinion-card--lead { grid-row:span 2;min-height:24rem;display:grid;align-content:end; }
.home-opinion-card__mark { position:absolute;inset-inline-end:.7rem;inset-block-start:-.4rem;color:var(--accent-soft);font-family:var(--font-editorial-ar);font-size:7rem;line-height:1;pointer-events:none; }
.home-opinion-card h3 { position:relative;margin:.5rem 0;font-size:1.2rem;line-height:1.5; }
.home-opinion-card--lead h3 { font-size:clamp(1.6rem,3vw,2.45rem); }
.home-opinion-card p { position:relative;color:var(--text-muted);line-height:1.7; }
.home-opinion-card__author { position:relative;color:var(--accent-secondary);font-size:.76rem; }

.home-investigations { border-block-start:5px solid var(--text-primary); }
.home-investigations__grid { display:grid;grid-template-columns:minmax(0,1.25fr) minmax(19rem,.75fr);gap:1.3rem; }
.home-investigations__lead { display:grid;grid-template-columns:minmax(0,1fr) minmax(16rem,.7fr);gap:1rem;align-items:center; }
.home-investigations__lead .front-item__media { aspect-ratio:16/10;border-radius:0; }
.home-investigations__lead h3 { margin:.45rem 0;font-size:clamp(1.55rem,2.8vw,2.25rem); }
.home-investigations__lead p { color:var(--text-muted);line-height:1.7; }
.home-investigations__rail { border-block-start:2px solid var(--text-primary); }
.home-investigations__rail article { display:grid;grid-template-columns:2rem 1fr;gap:.7rem;padding:.85rem 0;border-block-end:1px solid var(--border-subtle); }
.home-investigations__rail > article > span { font-size:.72rem;color:var(--text-muted);font-weight:800; }
.home-investigations__rail h3 { margin:0 0 .25rem;font-size:1rem;line-height:1.48; }

@keyframes home-live-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.55;transform:scale(.8)} }

@media(max-width:900px){
  .home-editors-picks__grid,.home-visuals__grid,.home-investigations__grid{grid-template-columns:1fr}
  .home-reviews__grid{grid-template-columns:1fr 1fr}
  .home-opinion__grid{grid-template-columns:1fr 1fr}
  .home-opinion-card--lead{grid-column:1/-1;grid-row:auto;min-height:16rem}
}
@media(max-width:620px){
  .home-live-desk__stream li{grid-template-columns:5rem 1fr}
  .home-reviews__grid,.home-opinion__grid{grid-template-columns:1fr}
  .home-visuals{padding-inline:.7rem}
  .home-visuals__rail article{grid-template-columns:6.2rem 1fr}
  .home-investigations__lead{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.home-live-dot{animation:none}}

.home-visual-type-icon { inline-size:1rem;block-size:1rem;vertical-align:-.15em; }
.home-visuals__play .home-visual-type-icon { inline-size:1.35rem;block-size:1.35rem; }

/* Editorial Density V1 — many stories, deliberate hierarchy, less vertical waste. */
.section-density-spacious { --density-gap:1.35rem; --density-pad:1.15rem; --density-title:1.04; }
.section-density-standard { --density-gap:1rem; --density-pad:.9rem; --density-title:1; }
.section-density-dense { --density-gap:.68rem; --density-pad:.68rem; --density-title:.94; }
.section-density-ultra_dense { --density-gap:.42rem; --density-pad:.48rem; --density-title:.88; }

.section-density-dense .home-news-section__head,
.section-density-ultra_dense .home-news-section__head { margin-block-end:.65rem; }
.section-density-dense .front-item__body p { display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden; }
.section-density-ultra_dense .front-item__body p { display:none; }

.compact-story-meta { display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;color:var(--text-muted);font-size:.66rem;line-height:1.3; }
.compact-story-meta > span:first-child { color:var(--accent);font-weight:800; }

.home-compact-news-grid { padding-block:1rem; }
.home-compact-news-grid__layout { display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1.45fr);gap:var(--density-gap); }
.home-compact-news-grid__lead { display:grid;grid-template-columns:minmax(11rem,.78fr) minmax(0,1fr);gap:.8rem;align-items:center;padding-inline-end:.9rem;border-inline-end:1px solid var(--border-subtle); }
.home-compact-news-grid__lead-media .front-item__media { aspect-ratio:16/10;border:0; }
.home-compact-news-grid__lead h3 { margin:.35rem 0;font-size:clamp(1.2rem,2vw,1.75rem);line-height:1.42; }
.home-compact-news-grid__lead p { margin:.35rem 0 0;color:var(--text-muted);font-size:.8rem;line-height:1.6; }
.home-compact-news-grid__items { display:grid;grid-template-columns:1fr 1fr;gap:0 var(--density-gap);border-block-start:1px solid var(--border-subtle); }
.home-compact-news-grid__item { min-width:0;display:grid;grid-template-columns:auto 1fr;gap:.55rem;padding:var(--density-pad) 0;border-block-end:1px solid var(--border-subtle); }
.home-compact-news-grid__thumb { inline-size:5.1rem;display:block; }
.home-compact-news-grid__thumb .front-item__media { aspect-ratio:1;border:0; }
.home-compact-news-grid__number { display:block;margin-block-end:.12rem;color:var(--border-strong);font-size:.62rem;font-weight:850; }
.home-compact-news-grid__item h3 { margin:.25rem 0 0;font-size:.9rem;line-height:1.48; }

.home-headline-matrix { padding-block:1rem; }
.home-headline-matrix__grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block-start:2px solid var(--text-primary);border-inline-start:1px solid var(--border-subtle); }
.home-headline-matrix__item { min-width:0;display:grid;grid-template-columns:1.7rem 1fr;gap:.45rem;padding:var(--density-pad);border-inline-end:1px solid var(--border-subtle);border-block-end:1px solid var(--border-subtle); }
.home-headline-matrix__item.is-lead { grid-column:span 2;grid-row:span 2;align-content:center;background:var(--surface-soft); }
.home-headline-matrix__number { color:var(--accent);font-size:.65rem;font-weight:900;padding-block-start:.15rem; }
.home-headline-matrix__item h3 { margin:.25rem 0 0;font-size:.94rem;line-height:1.5; }
.home-headline-matrix__item.is-lead h3 { font-size:clamp(1.3rem,2.4vw,2rem); }
.home-headline-matrix__item p { margin:.45rem 0 0;color:var(--text-muted);font-size:.8rem;line-height:1.6; }

.home-section-digest { padding-block:1rem; }
.home-section-digest__grid { display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:var(--density-gap); }
.home-section-digest__lead { display:grid;grid-template-columns:minmax(9rem,.72fr) minmax(0,1fr);gap:.75rem;align-items:center; }
.home-section-digest__lead .front-item__media { aspect-ratio:16/10;border:0; }
.home-section-digest__lead h3 { margin:.35rem 0;font-size:clamp(1.05rem,1.8vw,1.5rem);line-height:1.45; }
.home-section-digest__lead p { margin:.3rem 0 0;color:var(--text-muted);font-size:.78rem;line-height:1.55; }
.home-section-digest__list { list-style:none;margin:0;padding:0;border-block-start:2px solid var(--accent); }
.home-section-digest__list li { display:grid;grid-template-columns:1.8rem 1fr;gap:.5rem;padding:calc(var(--density-pad) * .75) 0;border-block-end:1px solid var(--border-subtle); }
.home-section-digest__list > li > span { color:var(--accent);font-size:.62rem;font-weight:900; }
.home-section-digest__list h3 { margin:.2rem 0 0;font-size:.88rem;line-height:1.46; }

.home-ranked-stream { padding-block:1rem; }
.home-ranked-stream__list { list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;border-block-start:2px solid var(--text-primary); }
.home-ranked-stream__list li { min-width:0;display:grid;grid-template-columns:2.1rem 1fr;gap:.55rem;padding:var(--density-pad);border-inline-end:1px solid var(--border-subtle);border-block-end:1px solid var(--border-subtle); }
.home-ranked-stream__list li.is-top { grid-template-columns:2.1rem 5.2rem 1fr; }
.home-ranked-stream__rank { color:var(--accent);font-size:.72rem;font-weight:900; }
.home-ranked-stream__thumb .front-item__media { aspect-ratio:1;border:0; }
.home-ranked-stream__list h3 { margin:.2rem 0 0;font-size:.9rem;line-height:1.45; }

.home-writers-strip { padding-block:1rem; }
.home-writers-strip__grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--border-subtle);border:1px solid var(--border-subtle); }
.home-writer-card { min-width:0;padding:var(--density-pad);background:var(--surface-raised); }
.home-writer-card__author { display:flex;align-items:center;gap:.55rem; }
.home-writer-card__avatar { inline-size:2.15rem;block-size:2.15rem;display:grid;place-items:center;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-family:var(--font-ui);font-weight:850; }
.home-writer-card__author strong { display:block;font-size:.72rem; }
.home-writer-card__author small { display:block;margin-block-start:.08rem;color:var(--text-muted);font-size:.62rem; }
.home-writer-card h3 { margin:.7rem 0 .45rem;font-size:.92rem;line-height:1.5; }

@media(max-width:980px){
  .home-compact-news-grid__layout,.home-section-digest__grid{grid-template-columns:1fr}
  .home-compact-news-grid__lead{border-inline-end:0;border-block-end:1px solid var(--border-subtle);padding:0 0 .8rem}
  .home-headline-matrix__grid{grid-template-columns:1fr 1fr}
  .home-writers-strip__grid{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .home-compact-news-grid__lead{grid-template-columns:7rem 1fr}
  .home-compact-news-grid__items{grid-template-columns:1fr}
  .home-compact-news-grid__thumb{inline-size:4.6rem}
  .home-headline-matrix__grid,.home-ranked-stream__list{grid-template-columns:1fr}
  .home-headline-matrix__item.is-lead{grid-column:auto;grid-row:auto}
  .home-section-digest__lead{grid-template-columns:7rem 1fr}
  .home-ranked-stream__list li.is-top{grid-template-columns:1.8rem 4.6rem 1fr}
  .home-writers-strip__grid{grid-template-columns:1fr}
}

/* Density title tuning */
.section-density-dense .home-compact-news-grid__item h3,
.section-density-dense .home-headline-matrix__item:not(.is-lead) h3,
.section-density-dense .home-section-digest__list h3,
.section-density-dense .home-ranked-stream__list h3,
.section-density-dense .home-writer-card h3 { font-size:.84rem; }
.section-density-ultra_dense .home-compact-news-grid__item h3,
.section-density-ultra_dense .home-headline-matrix__item:not(.is-lead) h3,
.section-density-ultra_dense .home-section-digest__list h3,
.section-density-ultra_dense .home-ranked-stream__list h3,
.section-density-ultra_dense .home-writer-card h3 { font-size:.8rem;line-height:1.4; }

@media(max-width:620px){
  .section-density-ultra_dense .home-compact-news-grid__item h3,
  .section-density-ultra_dense .home-headline-matrix__item:not(.is-lead) h3,
  .section-density-ultra_dense .home-section-digest__list h3,
  .section-density-ultra_dense .home-ranked-stream__list h3,
  .section-density-ultra_dense .home-writer-card h3 { font-size:.875rem;line-height:1.45; }
}

@media(max-width:620px){
  .section-density-dense .home-compact-news-grid__item h3,
  .section-density-dense .home-headline-matrix__item:not(.is-lead) h3,
  .section-density-dense .home-section-digest__list h3,
  .section-density-dense .home-ranked-stream__list h3,
  .section-density-dense .home-writer-card h3 { font-size:.9rem;line-height:1.45; }
  .compact-story-meta { font-size:.68rem; }
}

/* Global News Pattern Library V1 */
.home-briefing-board,
.home-event-package,
.home-media-rail,
.home-photo-digest,
.home-data-board,
.home-topic-timeline,
.home-curated-reads { padding-block:1rem; }

.home-briefing-board__grid { display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:1rem; }
.home-briefing-board__lead { display:grid;grid-template-columns:minmax(10rem,.8fr) minmax(0,1fr);gap:.85rem;align-items:center; }
.home-briefing-board__lead .front-item__media { aspect-ratio:16/10;border:0; }
.home-briefing-board__lead h3 { margin:.35rem 0;font-size:clamp(1.2rem,2vw,1.75rem);line-height:1.4; }
.home-briefing-board__lead p { margin:.35rem 0 0;color:var(--text-muted);font-size:.82rem;line-height:1.6; }
.home-briefing-board__brief { display:grid;gap:.8rem;align-content:start; }
.home-briefing-board__facts { padding:.8rem;background:var(--surface-soft);border-block-start:3px solid var(--accent); }
.home-briefing-board__facts > strong { font-size:.8rem; }
.home-briefing-board__facts ul { margin:.55rem 0 0;padding-inline-start:1.1rem;display:grid;gap:.4rem; }
.home-briefing-board__facts li { font-size:.8rem;line-height:1.5; }
.home-briefing-board__support { display:grid;grid-template-columns:1fr 1fr;border-block-start:1px solid var(--border-subtle); }
.home-briefing-board__support article { display:grid;grid-template-columns:1.7rem 1fr;gap:.45rem;padding:.6rem;border-inline-end:1px solid var(--border-subtle);border-block-end:1px solid var(--border-subtle); }
.home-briefing-board__support > article > span { color:var(--accent);font-size:.62rem;font-weight:900; }
.home-briefing-board__support h3 { margin:.2rem 0 0;font-size:.84rem;line-height:1.45; }

.home-event-package { border-block:2px solid var(--text-primary); }
.home-event-package.is-live { border-block-color:var(--danger); }
.home-event-package__head { display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-block-end:.8rem; }
.home-event-package__head > div { display:flex;align-items:center;gap:.6rem;flex-wrap:wrap; }
.home-event-package__head h2 { margin:0;font-size:1.35rem; }
.home-event-package__tag,.home-event-package__live { display:inline-flex;align-items:center;gap:.4rem;font-size:.68rem;font-weight:900;color:var(--accent); }
.home-event-package__live { color:var(--danger); }
.home-event-package__live i { inline-size:.55rem;block-size:.55rem;border-radius:50%;background:currentColor;box-shadow:0 0 0 .22rem color-mix(in srgb,currentColor 13%,transparent); }
.home-event-package__grid { display:grid;grid-template-columns:minmax(0,1.15fr) minmax(18rem,.85fr);gap:1rem; }
.home-event-package__lead { display:grid;grid-template-columns:minmax(12rem,.78fr) minmax(0,1fr);gap:.85rem;align-items:center; }
.home-event-package__lead .front-item__media { aspect-ratio:16/9;border:0; }
.home-event-package__lead h3 { margin:.35rem 0;font-size:clamp(1.3rem,2.25vw,1.9rem);line-height:1.4; }
.home-event-package__lead p { color:var(--text-muted);font-size:.82rem;line-height:1.6; }
.home-event-package__summary { min-width:0;padding:.85rem;background:var(--surface-soft); }
.home-event-package__summary > strong { display:block;margin-block-end:.55rem;font-size:.78rem; }
.home-event-package__summary ul { margin:0;padding-inline-start:1.1rem;display:grid;gap:.45rem; }
.home-event-package__summary li { font-size:.82rem;line-height:1.5; }
.home-event-package__timeline { list-style:none;margin:.8rem 0 0;padding:0;border-inline-start:2px solid var(--border-strong); }
.home-event-package__timeline li { position:relative;padding:.55rem .8rem; }
.home-event-package__timeline li::before { content:'';position:absolute;inset-inline-start:-.34rem;inset-block-start:1rem;inline-size:.55rem;block-size:.55rem;border-radius:50%;background:var(--accent); }
.home-event-package__timeline strong { font-size:.78rem; }
.home-event-package__timeline p { margin:.2rem 0 0;color:var(--text-muted);font-size:.72rem;line-height:1.5; }
.home-event-package__support { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-block-start:.8rem;border-block-start:1px solid var(--border-subtle); }
.home-event-package__support article { min-width:0;padding:.65rem;border-inline-end:1px solid var(--border-subtle); }
.home-event-package__support h3 { margin:.2rem 0;font-size:.8rem;line-height:1.45; }
.home-event-package__related h3 { margin:.5rem 0;padding-block-end:.5rem;border-block-end:1px solid var(--border-subtle);font-size:.85rem; }

.home-media-rail__track { display:grid;grid-auto-flow:column;grid-auto-columns:minmax(12.5rem,1fr);gap:.8rem;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:inline proximity;padding-block-end:.45rem; }
.home-media-rail__card { min-width:0;scroll-snap-align:start; }
.home-media-rail__media { position:relative;display:block; }
.home-media-rail__media .front-item__media { aspect-ratio:16/10;border:0; }
.home-media-rail__type { position:absolute;inset-inline-start:.45rem;inset-block-start:.45rem;padding:.25rem .4rem;background:var(--surface-inverse);color:var(--text-inverse);font-size:.62rem;font-weight:850; }
.home-media-rail__duration { position:absolute;inset-inline-end:.45rem;inset-block-end:.45rem;padding:.2rem .38rem;background:rgba(0,0,0,.78);color:white;font:700 .68rem/1 var(--font-ui); }
.home-media-rail__card h3 { margin:.45rem 0 .25rem;font-size:.88rem;line-height:1.45; }

.home-photo-digest { background:var(--surface-inverse);color:var(--text-inverse);padding-inline:1rem; }
.home-photo-digest .home-news-section__head h2 { color:var(--text-inverse); }
.home-photo-digest .home-news-section__head > small { color:color-mix(in srgb,var(--text-inverse) 70%,transparent);background:transparent; }
.home-photo-digest__grid { display:grid;grid-template-columns:minmax(0,1.15fr) minmax(18rem,.85fr);gap:1rem; }
.home-photo-digest__lead > a { position:relative;display:block; }
.home-photo-digest__lead .front-item__media { aspect-ratio:16/9;border:0; }
.home-photo-digest__lead > a > span { position:absolute;inset-inline-start:.7rem;inset-block-end:.7rem;padding:.25rem .45rem;background:var(--accent);color:var(--text-inverse);font-size:.65rem;font-weight:850; }
.home-photo-digest__lead h3 { margin:.6rem 0;font-size:clamp(1.35rem,2.5vw,2rem);line-height:1.4; }
.home-photo-digest__lead h3 a,.home-photo-digest__tiles h3 a { color:var(--text-inverse); }
.home-photo-digest__tiles { display:grid;grid-template-columns:1fr 1fr;gap:.75rem; }
.home-photo-digest__tiles .front-item__media { aspect-ratio:4/3;border:0; }
.home-photo-digest__tiles h3 { margin:.35rem 0;font-size:.78rem;line-height:1.45; }

.home-data-board { border-block:2px solid var(--text-primary); }
.home-data-board__grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--border-subtle);border:1px solid var(--border-subtle); }
.home-data-board__card { min-width:0;padding:.85rem;background:var(--surface-raised); }
.home-data-board__card h3 { margin:.3rem 0 .7rem;font-size:1rem;line-height:1.45; }
.home-data-board__metrics { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem; }
.home-data-board__metrics > div { min-width:0;padding:.55rem;background:var(--surface-soft); }
.home-data-board__metrics span { display:block;color:var(--text-muted);font-size:.62rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.home-data-board__metrics strong { display:flex;align-items:baseline;gap:.2rem;margin:.25rem 0;font-size:1.15rem;font-family:var(--font-ui); }
.home-data-board__metrics strong small { color:var(--text-muted);font-size:.6rem; }
.home-data-board__metrics em { font-style:normal;font-size:.65rem;font-weight:800; }
.home-data-board__metrics .is-up em { color:var(--success); }
.home-data-board__metrics .is-down em { color:var(--danger); }
.home-data-board__metrics .is-flat em { color:var(--text-muted); }
.home-data-board__card > p { margin:.45rem 0 0;color:var(--text-muted);font-size:.75rem;line-height:1.5; }

.home-topic-timeline__list { list-style:none;margin:0;padding:0;display:grid; }
.home-topic-timeline__list li { display:grid;grid-template-columns:2rem minmax(0,1fr);gap:.65rem;position:relative; }
.home-topic-timeline__marker { position:relative;display:flex;justify-content:center; }
.home-topic-timeline__marker::before { content:'';position:absolute;inset-block:0;inline-size:1px;background:var(--border-strong); }
.home-topic-timeline__marker span { z-index:1;margin-block-start:.85rem;inline-size:.58rem;block-size:.58rem;border-radius:50%;background:var(--surface-raised);border:2px solid var(--accent); }
.home-topic-timeline__list li.is-current .home-topic-timeline__marker span { background:var(--accent);box-shadow:0 0 0 .22rem color-mix(in srgb,var(--accent) 13%,transparent); }
.home-topic-timeline__content { padding:.7rem 0;border-block-end:1px solid var(--border-subtle); }
.home-topic-timeline__content h3 { margin:.2rem 0;font-size:.9rem;line-height:1.45; }
.home-topic-timeline__content p { margin:.3rem 0 0;color:var(--text-muted);font-size:.74rem;line-height:1.5; }

.home-curated-reads { border-block:2px solid var(--text-primary); }
.home-curated-reads__list { list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr; }
.home-curated-reads__list li { display:grid;grid-template-columns:2rem 1fr;gap:.55rem;padding:.7rem;border-block-end:1px solid var(--border-subtle);border-inline-end:1px solid var(--border-subtle); }
.home-curated-reads__list > li > span { color:var(--accent);font-size:.65rem;font-weight:900; }
.home-curated-reads__list a { display:block;color:inherit;text-decoration:none; }
.home-curated-reads__list strong { display:block;font-size:.88rem;line-height:1.45; }
.home-curated-reads__list small { display:block;margin-block-start:.15rem;color:var(--accent);font-size:.65rem;font-weight:750; }
.home-curated-reads__list p { margin:.25rem 0 0;color:var(--text-muted);font-size:.7rem;line-height:1.45; }
.home-curated-reads__fallback { display:grid;grid-template-columns:1fr 1fr; }
.home-curated-reads__fallback article { padding:.7rem;border-block-end:1px solid var(--border-subtle);border-inline-end:1px solid var(--border-subtle); }
.home-curated-reads__fallback h3 { margin:.2rem 0;font-size:.86rem;line-height:1.45; }

@media(max-width:980px){
  .home-briefing-board__grid,.home-event-package__grid,.home-photo-digest__grid{grid-template-columns:1fr}
  .home-event-package__support{grid-template-columns:1fr 1fr}
  .home-data-board__grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .home-briefing-board__lead,.home-event-package__lead{grid-template-columns:7rem minmax(0,1fr)}
  .home-briefing-board__support{grid-template-columns:1fr}
  .home-event-package__head{align-items:start;flex-direction:column}
  .home-event-package__support{grid-template-columns:1fr}
  .home-photo-digest{padding-inline:.7rem}
  .home-photo-digest__tiles{grid-template-columns:1fr 1fr}
  .home-data-board__grid{
    grid-template-columns:none;
    grid-auto-flow:column;
    grid-auto-columns:minmax(16rem,84vw);
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scroll-snap-type:inline proximity;
    background:transparent;
    border-inline:0;
  }
  .home-data-board__card{scroll-snap-align:start;border:1px solid var(--border-subtle)}
  .home-data-board__metrics{grid-template-columns:1fr 1fr}
  .home-curated-reads__list,.home-curated-reads__fallback{grid-template-columns:1fr}
  .home-media-rail__track{grid-auto-columns:minmax(11rem,78vw)}
}

@media(max-width:620px){
  .home-briefing-board__support h3,
  .home-event-package__support h3,
  .home-event-package__related h3,
  .home-photo-digest__tiles h3 { font-size:.875rem;line-height:1.45; }
}

/* Text-first article cards: never show a generated placeholder when a story has no real media. */
.home-sidebar-thumb:has(.article-media-fallback){display:none!important}


/* Text-first sidebar story lists: ranks + readable headlines, no phantom thumbnail column. */
.home-reference-sidebar .home-sidebar-story-list,
.home-sidebar-story-list{
  padding:.2rem 0 .35rem;
}
.home-reference-sidebar .home-sidebar-story-list > .home-sidebar-story,
.home-sidebar-story-list > .home-sidebar-story{
  grid-template-columns:2.15rem minmax(0,1fr) !important;
  gap:.65rem;
  align-items:start;
  padding:.78rem 0;
}
.home-sidebar-story .home-list-index{
  padding-block-start:.12rem;
  color:var(--accent);
  font-size:.72rem;
  font-weight:950;
  line-height:1.35;
  text-align:start;
}
.home-sidebar-story__body{
  min-width:0;
}
.home-sidebar-story__title{
  display:-webkit-box;
  overflow:hidden;
  color:var(--text-primary) !important;
  font-size:.9rem !important;
  font-weight:780;
  line-height:1.5 !important;
  overflow-wrap:break-word;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}
.home-sidebar-story__title:hover,
.home-sidebar-story__title:focus-visible{
  color:var(--accent) !important;
}
.home-sidebar-story__meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.2rem .55rem;
  margin-block-start:.3rem;
  color:var(--text-muted);
  font-size:.68rem;
  line-height:1.35;
}
.home-sidebar-story__meta .front-item__time{
  margin:0;
  color:inherit;
  font-size:inherit;
  white-space:nowrap;
}
.home-sidebar-story__meta small{
  color:var(--accent);
  font-size:inherit;
  font-weight:800;
  white-space:nowrap;
}
@media(max-width:980px){
  .home-reference-sidebar .home-sidebar-story-list > .home-sidebar-story,
  .home-sidebar-story-list > .home-sidebar-story{
    grid-template-columns:2rem minmax(0,1fr) !important;
  }
  .home-sidebar-story__title{
    font-size:.94rem !important;
  }
}


/* Visual review 2026-09-25 — text-first homepage after article image removal. */
.latest-strip a{
  min-width:0;
  flex:1 1 auto;
}

/* When a section has no real media, remove the columns that used to be reserved for thumbnails. */
.section-images-off.home-ranked-stream .home-ranked-stream__list li.is-top{
  grid-template-columns:2.1rem minmax(0,1fr);
}
.section-images-off.home-compact-news-grid .home-compact-news-grid__lead,
.section-images-off.home-section-digest .home-section-digest__lead,
.section-images-off.home-briefing-board .home-briefing-board__lead,
.section-images-off.home-event-package .home-event-package__lead{
  grid-template-columns:minmax(0,1fr);
}
.section-images-off.home-compact-news-grid .home-compact-news-grid__lead{
  padding-inline-end:1rem;
}
.section-images-off.home-section-digest .home-section-digest__lead,
.section-images-off.home-briefing-board .home-briefing-board__lead,
.section-images-off.home-event-package .home-event-package__lead{
  gap:.35rem;
}

/* Data stories stay readable without creating a fake empty tile or horizontal crop. */
.home-data-board__grid{
  grid-template-columns:repeat(auto-fit,minmax(18rem,1fr));
  gap:.75rem;
  background:transparent;
  border:0;
}
.home-data-board__card{
  border:1px solid var(--border-subtle);
}

/* Sidebar navigation should read like navigation, not a wall of primary buttons. */
.home-reference-sidebar .home-section-links{
  gap:.4rem;
}
.home-reference-sidebar .home-section-links a{
  padding:.42rem .62rem;
  border:1px solid color-mix(in srgb,var(--accent) 28%,var(--border-subtle));
  border-radius:3px;
  background:var(--surface-raised);
  color:var(--text-primary);
  font-size:.76rem;
  font-weight:800;
}
.home-reference-sidebar .home-section-links a:hover,
.home-reference-sidebar .home-section-links a:focus-visible{
  border-color:var(--accent);
  color:var(--accent);
  background:color-mix(in srgb,var(--accent) 5%,var(--surface-raised));
}

@media(max-width:620px){
  .latest-strip{
    min-height:3.1rem;
    gap:.55rem;
    padding:.5rem .65rem;
  }
  .latest-strip strong{
    padding:.3rem .48rem;
    font-size:.68rem;
  }
  .section-images-off.home-ranked-stream .home-ranked-stream__list li.is-top{
    grid-template-columns:1.8rem minmax(0,1fr);
  }
  .section-images-off.home-compact-news-grid .home-compact-news-grid__lead,
  .section-images-off.home-section-digest .home-section-digest__lead,
  .section-images-off.home-briefing-board .home-briefing-board__lead,
  .section-images-off.home-event-package .home-event-package__lead{
    grid-template-columns:minmax(0,1fr);
    padding-inline:0;
  }
  .home-data-board__grid{
    grid-template-columns:1fr;
    grid-auto-flow:row;
    grid-auto-columns:auto;
    overflow:visible;
    scroll-snap-type:none;
    background:transparent;
    border:0;
  }
  .home-data-board__card{
    scroll-snap-align:none;
  }
  .home-data-board__metrics{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}


/* ==========================================================================
   Fonts V1 — Homepage role mapping
   One hierarchy for lead, section, story, meta and sidebar roles.
   ========================================================================== */
.homepage-layout{
  font-family:var(--font-ui);
  font-size:var(--fs-body);
  line-height:var(--lh-body);
}

/* Section identity: strong enough to navigate, quieter than story headlines. */
.home-role-section > .home-news-section__head h2,
.home-news-section__head h2,
.home-event-package__head h2,
.home-live-desk__head h2{
  font-size:var(--fs-section);
  font-weight:var(--fw-bold);
  line-height:var(--lh-title);
  letter-spacing:-.01em;
}
.home-news-section__head > small,
.home-story-format,
.compact-story-meta,
.home-news-lead__priority,
.home-event-package__tag,
.home-event-package__live{
  font-size:var(--fs-section-label);
  font-weight:var(--fw-semibold);
  line-height:var(--lh-meta);
}

/* Primary hierarchy. */
.home-role-lead .home-news-lead__body h1{
  font-size:var(--fs-home-lead);
  font-weight:var(--fw-extrabold);
  line-height:var(--lh-tight);
  letter-spacing:-.022em;
}
.home-role-lead .home-news-lead__body p,
.home-briefing-board__lead p,
.home-event-package__lead p{
  font-size:var(--fs-body);
  font-weight:var(--fw-regular);
  line-height:var(--lh-body);
}
.home-role-desk__main h3,
.home-role-analysis__main h3,
.home-editors-picks__lead h3,
.home-opinion-card--lead h3,
.home-investigations__lead h3,
.home-compact-news-grid__lead h3,
.home-headline-matrix__item.is-lead h3,
.home-event-package__lead h3{
  font-size:var(--fs-section-lead);
  font-weight:var(--fw-bold);
  line-height:var(--lh-title);
  letter-spacing:-.012em;
}
.home-section-digest__lead h3,
.home-briefing-board__lead h3,
.home-review-card h3,
.home-data-board__card h3{
  font-size:var(--fs-card-lead);
  font-weight:var(--fw-bold);
  line-height:var(--lh-title);
}

/* Standard story titles: reduce the blanket heavy-bold effect. */
.home-news-brief h3,
.home-role-desk__card h3,
.home-role-analysis__row h3,
.home-role-utility__card h3,
.home-editors-picks__list h3,
.home-investigations__rail h3,
.home-compact-news-grid__item h3,
.home-headline-matrix__item:not(.is-lead) h3,
.home-section-digest__list h3,
.home-ranked-stream__list h3,
.home-writer-card h3,
.home-briefing-board__support h3,
.home-event-package__support h3,
.home-event-package__related h3,
.home-topic-timeline__content h3,
.home-curated-reads__list strong,
.home-curated-reads__fallback h3{
  font-size:var(--fs-story-sm);
  font-weight:var(--fw-semibold);
  line-height:var(--lh-story);
  letter-spacing:0;
}

/* Metadata must recede rather than compete with headlines. */
.compact-story-meta,
.front-item__time,
.home-live-desk__time,
.home-topic-timeline__content .front-item__time{
  font-size:var(--fs-story-meta);
  font-weight:var(--fw-medium);
  line-height:var(--lh-meta);
}

/* Sidebar V1: centered identity, centered ranks, readable story weight. */
.home-reference-sidebar .home-sidebar__box > header,
.home-sidebar .home-sidebar__box > header{
  position:relative;
  min-height:2.75rem;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:.65rem 3.2rem .6rem;
  border-block-start:2px solid color-mix(in srgb,var(--accent) 34%,var(--border-subtle));
  border-block-end:1px solid var(--border-subtle);
  background:color-mix(in srgb,var(--accent) 3%,var(--surface-raised));
}
.home-reference-sidebar .home-sidebar__box h2,
.home-sidebar .home-sidebar__box h2{
  width:100%;
  margin:0;
  color:var(--accent);
  text-align:center;
  font-size:var(--fs-sidebar-heading);
  font-weight:var(--fw-bold);
  line-height:var(--lh-title);
  letter-spacing:-.008em;
}
.home-reference-sidebar .home-sidebar__box > header > a,
.home-sidebar .home-sidebar__box > header > a{
  position:absolute;
  inset-inline-end:.75rem;
  inset-block-start:50%;
  transform:translateY(-50%);
  color:var(--text-muted);
  font-size:var(--fs-meta);
  font-weight:var(--fw-medium);
  line-height:1;
}
.home-reference-sidebar .home-sidebar__box > header > a:hover,
.home-reference-sidebar .home-sidebar__box > header > a:focus-visible,
.home-sidebar .home-sidebar__box > header > a:hover,
.home-sidebar .home-sidebar__box > header > a:focus-visible{
  color:var(--accent);
}

.home-reference-sidebar .home-sidebar-story-list > .home-sidebar-story,
.home-sidebar-story-list > .home-sidebar-story{
  grid-template-columns:2.45rem minmax(0,1fr) !important;
  gap:.72rem;
  align-items:center;
  padding:.78rem .72rem;
}
.home-sidebar-story .home-list-index{
  align-self:center;
  justify-self:center;
  inline-size:2rem;
  block-size:2rem;
  display:grid;
  place-items:center;
  padding:0;
  border-radius:50%;
  background:var(--accent-soft);
  color:var(--accent);
  text-align:center;
  font-size:var(--fs-rank);
  font-weight:var(--fw-bold);
  line-height:1;
  font-variant-numeric:tabular-nums;
}
.home-sidebar-story__body{
  min-width:0;
  text-align:start;
}
.home-sidebar-story__title{
  color:var(--text-primary) !important;
  font-size:var(--fs-sidebar-story) !important;
  font-weight:var(--fw-semibold);
  line-height:var(--lh-story) !important;
  letter-spacing:0;
}
.home-sidebar-story__meta{
  gap:.22rem .5rem;
  margin-block-start:.28rem;
  color:var(--text-muted);
  font-size:var(--fs-story-meta);
  font-weight:var(--fw-medium);
  line-height:var(--lh-meta);
}
.home-sidebar-story__meta small{
  color:var(--accent);
  font-size:inherit;
  font-weight:var(--fw-semibold);
}

/* Tool / navigation sidebar typography follows the same scale. */
.home-reference-sidebar .home-tool-list strong{
  font-size:var(--fs-story-sm);
  font-weight:var(--fw-bold);
  line-height:var(--lh-story);
}
.home-reference-sidebar .home-tool-list span,
.home-reference-sidebar .home-trust-box p{
  font-size:var(--fs-body-sm);
  font-weight:var(--fw-regular);
  line-height:var(--lh-body);
}
.home-reference-sidebar .home-section-links a{
  font-size:var(--fs-label);
  font-weight:var(--fw-semibold);
  line-height:var(--lh-title);
}

@media(max-width:620px){
  .home-reference-sidebar .home-sidebar__box > header,
  .home-sidebar .home-sidebar__box > header{
    min-height:2.65rem;
    padding:.58rem 2.85rem .55rem;
  }
  .home-reference-sidebar .home-sidebar-story-list > .home-sidebar-story,
  .home-sidebar-story-list > .home-sidebar-story{
    grid-template-columns:2.25rem minmax(0,1fr) !important;
    gap:.62rem;
    padding:.72rem .62rem;
  }
  .home-sidebar-story .home-list-index{
    inline-size:1.85rem;
    block-size:1.85rem;
  }
}


/* ==========================================================================
   Visual Review V3 — text-first lead and dense newsroom refinements
   ========================================================================== */

/* The lead no longer reserves a dead media column after article images were removed. */
.section-images-off.home-role-lead .home-news-lead__grid{
  grid-template-columns:minmax(0,1fr) minmax(15rem,.42fr);
  gap:1.35rem;
  align-items:start;
}
.section-images-off.home-role-lead .home-news-lead__main{
  display:block;
  min-width:0;
}
.section-images-off.home-role-lead .home-news-lead__media,
.section-images-off.home-role-lead .home-news-brief__media{
  display:none !important;
}
.section-images-off.home-role-lead .home-news-lead__body{
  min-width:0;
  padding:.15rem 0 .25rem;
  align-items:stretch;
  justify-content:flex-start;
  text-align:start;
}
.section-images-off.home-role-lead .home-news-lead__body h1{
  max-width:21ch;
  margin:.42rem 0 .72rem;
  text-align:start;
  text-wrap:balance;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
}
.section-images-off.home-role-lead .home-news-lead__body p{
  max-width:44rem;
  color:var(--text-secondary);
}
.section-images-off.home-role-lead .home-news-brief{
  grid-template-columns:minmax(0,1fr);
  gap:0;
  padding-block:.78rem;
}
.section-images-off.home-role-lead .home-news-lead__briefs{
  min-width:0;
  align-self:stretch;
}

/* Data labels should explain the number instead of truncating to unusable fragments. */
.home-data-board__metrics span{
  min-height:2.35em;
  display:-webkit-box;
  white-space:normal;
  overflow:hidden;
  text-overflow:clip;
  line-height:1.2;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.home-data-board__metrics strong{
  line-height:1.15;
}

/* Writers are text content, so keep the grid calm and equal-height without decorative blanks. */
.home-writers-strip__grid{
  align-items:stretch;
}
.home-writer-card{
  display:flex;
  flex-direction:column;
  min-height:11rem;
}
.home-writer-card h3{
  flex:1 1 auto;
}

/* Utility cards should not inherit oversized editorial lead typography. */
.home-role-utility__grid .home-role-utility__card h3{
  font-size:var(--fs-story);
  font-weight:var(--fw-bold);
  line-height:var(--lh-story);
}

@media(max-width:980px){
  .section-images-off.home-role-lead .home-news-lead__grid{
    grid-template-columns:minmax(0,1fr);
    gap:.8rem;
  }
  .section-images-off.home-role-lead .home-news-lead__briefs{
    border-inline:0;
    border-block-start:1px solid var(--border-subtle);
    padding-inline:0;
    padding-block-start:.8rem;
  }
  .section-images-off.home-role-lead .home-news-lead__body h1{
    max-width:24ch;
  }
}

@media(max-width:620px){
  .section-images-off.home-role-lead .home-news-lead__body{
    padding-block:.05rem .25rem;
  }
  .section-images-off.home-role-lead .home-news-lead__body h1{
    max-width:none;
    margin:.35rem 0 .55rem;
    text-wrap:pretty;
  }
  .section-images-off.home-role-lead .home-news-lead__body p{
    max-width:none;
  }
  .section-images-off.home-role-lead .home-news-brief{
    padding-block:.68rem;
  }
  .home-writer-card{
    min-height:0;
  }
}


/* Flexible editorial grids: never render an empty visual column just to satisfy a fixed count. */
.home-writers-strip__grid{
  grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));
}
.home-role-utility__grid{
  grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));
}
.home-role-section.section-images-off .home-role-utility__card{
  grid-template-columns:minmax(0,1fr);
  padding:.85rem 1rem;
}
.home-role-section.section-images-off .home-role-latest__list > li{
  grid-template-columns:1.55rem minmax(0,1fr);
}

/* Homepage discovery should stay concise; the archive owns the long tail. */
.home-section-more{
  display:flex;
  justify-content:flex-end;
  padding-block-start:.75rem;
  border-block-start:1px solid var(--border-subtle);
}
.home-section-more a{
  display:inline-flex;
  align-items:center;
  min-height:2rem;
  padding:.38rem .65rem;
  border:1px solid color-mix(in srgb,var(--accent) 34%,var(--border-subtle));
  border-radius:3px;
  color:var(--accent);
  background:var(--surface-raised);
  font-size:var(--fs-label);
  font-weight:var(--fw-semibold);
  line-height:1;
}
.home-section-more a:hover,
.home-section-more a:focus-visible{
  border-color:var(--accent);
  background:var(--accent-soft);
}
@media(max-width:620px){
  #section-density-quick-guides .home-headline-matrix__item:nth-child(n+7){
    display:none;
  }
  .home-section-more{
    justify-content:stretch;
  }
  .home-section-more a{
    width:100%;
    justify-content:center;
  }
  .home-role-utility__grid{
    grid-template-columns:1fr;
  }
}


/* Narrow phones: preserve brand and navigation hierarchy without horizontal overflow. */
@media(max-width:360px){
  .masthead__row{
    min-height:4.1rem !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    gap:.35rem !important;
  }
  .masthead__brand-logo{
    inline-size:8.6rem !important;
    max-inline-size:100%;
  }
  .masthead__actions{
    gap:.2rem;
  }
  .masthead__search{
    inline-size:2.4rem;
    min-inline-size:2.4rem;
  }
  .theme-switch{
    inline-size:2.45rem;
    min-inline-size:2.45rem;
    justify-content:center;
    padding-inline:0;
  }
  .theme-switch [data-theme-label],
  .theme-switch__chevron{
    display:none;
  }
  .primary-nav__mobile{
    justify-content:stretch;
  }
  .primary-nav__mobile > .primary-nav__item:nth-child(3){
    display:none;
  }
  .primary-nav__mobile > .primary-nav__item,
  .primary-nav__mobile-more{
    flex:1 1 0;
  }
  .primary-nav__mobile > .primary-nav__item > a,
  .primary-nav__mobile-more > summary{
    justify-content:center;
    padding-inline:.24rem;
    font-size:.7rem !important;
  }
}


/* ==========================================================================
   Visual Review V4 — centered sidebar headings and editorial ranks
   ========================================================================== */
.home-reference-sidebar .home-sidebar__box > header,
.home-sidebar .home-sidebar__box > header{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.home-reference-sidebar .home-sidebar__box > header h2,
.home-sidebar .home-sidebar__box > header h2,
.home-reference-sidebar .home-sidebar__box > header strong,
.home-sidebar .home-sidebar__box > header strong{
  inline-size:100%;
  margin:0;
  text-align:center;
  color:var(--accent);
}
.home-reference-sidebar .home-sidebar__box > header > a,
.home-sidebar .home-sidebar__box > header > a{
  position:absolute;
  inset-inline-end:.7rem;
  inset-block-start:50%;
  transform:translateY(-50%);
}
.home-sidebar-story .home-list-index,
.home-ranked-stream__number,
.home-headline-matrix__number,
.home-curated-reads__list > li > span{
  inline-size:2rem;
  min-inline-size:2rem;
  block-size:2rem;
  display:grid;
  place-items:center;
  align-self:center;
  justify-self:center;
  padding:0;
  margin:0;
  text-align:center;
  line-height:1;
  font-variant-numeric:tabular-nums;
}


/* Color System V1 — final public homepage color contracts. */
.signal-bar{
  background:var(--footer-bg);
  color:var(--footer-text);
}
.tool-panel{
  background:var(--editorial-emphasis-bg);
  color:var(--editorial-emphasis-text);
  border-color:var(--editorial-emphasis-border);
}
.tool-panel h2,
.tool-panel__fake-input strong{
  color:var(--editorial-emphasis-title);
}
.tool-panel__fake-input{
  border-color:var(--editorial-emphasis-border);
  color:var(--editorial-emphasis-text);
}
.front-item__badge{
  background:var(--editorial-active-bg);
  color:var(--editorial-active-text);
}
.breaking-strip strong,
.breaking-strip a{
  color:var(--editorial-inverse-title);
}
html[data-theme="dark"] .home-news-lead__priority > span{
  background:var(--editorial-secondary-accent);
}


/* ==========================================================================
   Metadata Hierarchy V1
   Headline > publication date > views.
   ========================================================================== */
.home-meta-date,
.front-item__time.home-meta-date{
  margin:0;
  color:var(--home-meta-date-color) !important;
  font-family:var(--home-meta-date-font);
  font-size:var(--fs-story-meta);
  font-weight:var(--fw-medium);
  line-height:var(--lh-meta);
  letter-spacing:0;
  opacity:var(--home-meta-date-opacity);
  white-space:nowrap;
}

html[lang="ar"] .home-meta-date,
html[lang="ar"] .front-item__time.home-meta-date{
  font-family:var(--home-meta-date-font-ar);
  font-weight:600;
}
html[lang="en"] .home-meta-date,
html[lang="en"] .front-item__time.home-meta-date{
  font-family:var(--home-meta-date-font-en);
}

.home-meta-views,
.front-item__views.home-meta-views{
  position:relative;
  display:inline-flex;
  align-items:baseline;
  gap:.22rem;
  color:var(--home-meta-views-color);
  font-family:var(--home-meta-views-font);
  font-size:var(--fs-story-meta);
  font-weight:var(--fw-semibold);
  line-height:var(--lh-meta);
  opacity:var(--home-meta-views-opacity);
  white-space:nowrap;
}

.home-meta-views::before{
  content:'';
  inline-size:.22rem;
  block-size:.22rem;
  margin-inline:.06rem .12rem;
  border-radius:50%;
  background:var(--home-meta-separator);
  align-self:center;
}

.home-meta-views .front-item__views-number{
  direction:ltr;
  unicode-bidi:isolate;
  color:inherit;
  font-family:var(--home-meta-views-number-font);
  font-size:.96em;
  font-weight:800;
  font-variant-numeric:tabular-nums;
  letter-spacing:-.02em;
}

.home-meta-views .front-item__views-label{
  color:inherit;
  font-family:var(--home-meta-views-font);
  font-weight:var(--fw-semibold);
}

/* Sidebar story metadata is deliberately quieter than its headline. */
.home-sidebar-story__meta{
  gap:.28rem .46rem;
  margin-block-start:.3rem;
  color:var(--text-muted);
}
.home-sidebar-story__meta .home-meta-date{
  color:var(--home-meta-date-color) !important;
  font-family:var(--home-meta-date-font);
  font-weight:var(--fw-medium);
  opacity:var(--home-meta-date-opacity);
}
.home-sidebar-story__meta .home-meta-views{
  color:var(--home-meta-views-color);
  font-weight:var(--fw-semibold);
  opacity:var(--home-meta-views-opacity);
}

/* Never allow metadata to visually overtake the article title. */
.home-sidebar-story__title,
.home-news-card h3,
.home-news-brief h3,
.home-role-lead .home-news-lead__body h1{
  opacity:1;
}

@media(max-width:620px){
  .home-meta-date,
  .front-item__time.home-meta-date,
  .home-meta-views,
  .front-item__views.home-meta-views{
    font-size:.7rem;
  }
}
