body {
  background:var(--surface-canvas);
  color:var(--text-primary);
}
.latest-shell {
  width:min(calc(100% - 2rem),var(--content-max));
  margin-inline:auto;
}
.latest-hero {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:2rem;
  align-items:end;
  padding-block:clamp(2rem,5vw,4.5rem) 1.4rem;
  border-block-end:1px solid var(--ink-0);
}
.latest-hero h1 {
  margin:.35rem 0 .7rem;
  font-size:clamp(3rem,7vw,6.6rem);
  line-height:.9;
  letter-spacing:-.055em;
  color:var(--editorial-title);
}
.latest-hero p {
  max-inline-size:62rem;
  margin:0;
  color:var(--text-secondary);
  font-size:clamp(.95rem,1.3vw,1.08rem);
  line-height:1.8;
}
.latest-hero aside {
  min-inline-size:10rem;
  padding-block-start:.85rem;
  border-block-start:4px solid var(--brand-signal);
  display:grid;
  gap:.15rem;
}
.latest-hero aside strong {
  font-size:3rem;
  line-height:1;
}
.latest-hero aside span {
  color:var(--text-muted);
  font-size:.72rem;
}
.latest-filters {
  display:flex;
  gap:.45rem;
  overflow-x:auto;
  padding:.9rem 0 1rem;
  border-block-end:1px solid var(--border-subtle);
  scrollbar-width:thin;
}
.latest-filter {
  flex:0 0 auto;
  padding:.5rem .7rem;
  border:1px solid var(--border-subtle);
  background:var(--surface-raised);
  color:var(--text-secondary);
  font-size:.75rem;
  font-weight:850;
}
.latest-filter:hover,
.latest-filter:focus-visible {
  border-color:var(--accent);
  color:var(--accent);
}
.latest-filter.is-active {
  background:var(--editorial-active-bg);
  border-color:var(--editorial-active-border);
  color:var(--editorial-active-text);
}
.latest-dashboard {
  display:grid;
  grid-template-columns:minmax(0,1.7fr) minmax(18rem,.7fr);
  grid-template-areas:
    "lead side"
    "feed side";
  gap:1.5rem 1.75rem;
  padding-block:1.3rem 2rem;
}
.latest-dashboard__lead { grid-area:lead; }
.latest-dashboard__feed { grid-area:feed; }
.latest-sidebar { grid-area:side; display:grid; align-content:start; gap:1.35rem; }
.latest-lead {
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(17rem,.75fr);
  gap:1.25rem;
  padding-block-end:1.3rem;
  border-block-end:2px solid var(--brand-nile);
}
.latest-lead__media {
  display:block;
  min-height:24rem;
  overflow:hidden;
  background:var(--surface-muted);
}
.latest-lead__media img {
  inline-size:100%;
  block-size:100%;
  min-height:24rem;
  object-fit:cover;
}
.latest-lead__body {
  align-self:end;
}
.latest-type {
  display:block;
  margin-block-start:.65rem;
  color:var(--editorial-accent);
  font-size:.72rem;
  font-weight:900;
}
.latest-lead h2 {
  margin:.35rem 0 .7rem;
  font-size:clamp(2rem,3.4vw,3.2rem);
  line-height:1.14;
  letter-spacing:-.025em;
}
.latest-lead p {
  margin:.4rem 0 .7rem;
  color:var(--text-secondary);
  line-height:1.7;
}
.latest-time {
  color:var(--text-muted);
  font-size:.72rem;
}
.latest-feed > header {
  display:flex;
  justify-content:space-between;
  gap:1rem;
  align-items:end;
  padding-block:.2rem .7rem;
  border-block-end:1px solid var(--ink-0);
}
.latest-feed > header h2 {
  margin:.2rem 0 0;
  font-size:1.55rem;
  color:var(--editorial-title);
}
.latest-feed > header > strong {
  color:var(--ink-3);
  font-size:2rem;
  line-height:1;
}
.latest-feed ol {
  list-style:none;
  margin:0;
  padding:0;
}
.latest-feed li {
  display:grid;
  grid-template-columns:2.3rem 9rem minmax(0,1fr);
  gap:.8rem 1rem;
  align-items:start;
  padding:1rem 0;
  border-block-end:1px solid var(--border-subtle);
}
.latest-index {
  color:var(--ink-3);
  font-size:.8rem;
  font-weight:900;
}
.latest-feed__media {
  display:block;
  aspect-ratio:4/3;
  overflow:hidden;
  background:var(--surface-muted);
}
.latest-feed__media img {
  inline-size:100%;
  block-size:100%;
  object-fit:cover;
}
.latest-feed__meta {
  display:flex;
  align-items:center;
  gap:.5rem;
  color:var(--text-muted);
  font-size:.7rem;
}
.latest-feed__meta > span:first-child {
  color:var(--editorial-accent);
  font-weight:900;
}
.latest-feed h3 {
  margin:.2rem 0 .35rem;
  font-size:clamp(1.05rem,1.6vw,1.4rem);
  line-height:1.45;
}
.latest-feed p {
  display:-webkit-box;
  overflow:hidden;
  margin:.3rem 0 0;
  color:var(--text-secondary);
  font-size:.82rem;
  line-height:1.6;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.latest-popular,
.latest-sections {
  padding-block-start:.8rem;
  border-block-start:4px solid var(--brand-oxide);
}
.latest-popular header h2,
.latest-sections header h2 {
  margin:.15rem 0 .5rem;
  font-size:1.3rem;
  color:var(--editorial-title);
}
.latest-popular ol {
  list-style:none;
  margin:0;
  padding:0;
}
.latest-popular li {
  display:grid;
  grid-template-columns:2.6rem minmax(0,1fr);
  gap:.75rem;
  padding:.75rem 0;
  border-block-end:1px solid var(--border-subtle);
}
.latest-popular__rank {
  color:var(--editorial-accent);
  font-size:1.5rem;
  line-height:1;
  font-weight:900;
  letter-spacing:-.06em;
}
.latest-popular h3 {
  margin:0;
  font-size:.9rem;
  line-height:1.5;
}
.latest-popular li div > span {
  display:block;
  margin-block-start:.3rem;
  color:var(--text-muted);
  font-size:.68rem;
}
.latest-sections {
  border-block-start-color:var(--editorial-secondary-accent);
}
.latest-sections nav {
  display:flex;
  flex-wrap:wrap;
  gap:.4rem;
}
.latest-sections a {
  padding:.45rem .55rem;
  border:1px solid var(--border-subtle);
  background:var(--surface-raised);
  color:var(--text-secondary);
  font-size:.72rem;
  font-weight:800;
}
.latest-sections a:hover,
.latest-sections a:focus-visible {
  border-color:var(--editorial-secondary-accent);
  color:var(--editorial-secondary-accent);
}
.latest-empty {
  padding:2rem 0;
  color:var(--text-muted);
}

@media(max-width:960px){
  .latest-dashboard {
    grid-template-columns:minmax(0,1fr) minmax(15rem,.6fr);
  }
  .latest-lead {
    grid-template-columns:1fr;
  }
  .latest-lead__media,
  .latest-lead__media img {
    min-height:0;
    aspect-ratio:16/9;
  }
  .latest-feed li {
    grid-template-columns:2rem 7rem minmax(0,1fr);
  }
}
@media(max-width:760px){
  .latest-shell {
    width:min(calc(100% - 1.2rem),var(--content-max));
  }
  .latest-hero {
    grid-template-columns:1fr;
    gap:1rem;
    padding-block:1.7rem 1rem;
  }
  .latest-hero h1 {
    font-size:clamp(3rem,16vw,5rem);
  }
  .latest-hero aside {
    min-inline-size:0;
    max-inline-size:10rem;
  }
  .latest-filters {
    margin-inline:-.6rem;
    padding-inline:.6rem;
  }
  .latest-dashboard {
    grid-template-columns:1fr;
    grid-template-areas:
      "lead"
      "side"
      "feed";
    gap:1.2rem;
  }
  .latest-sidebar {
    grid-template-columns:1fr;
  }
  .latest-feed li {
    grid-template-columns:2rem 6rem minmax(0,1fr);
    gap:.65rem;
  }
}
@media(max-width:520px){
  .latest-lead h2 {
    font-size:clamp(1.7rem,8vw,2.35rem);
  }
  .latest-feed li {
    grid-template-columns:1.7rem 5.3rem minmax(0,1fr);
    gap:.55rem;
  }
  .latest-feed p {
    display:none;
  }
  .latest-feed__meta {
    flex-wrap:wrap;
    gap:.25rem .45rem;
  }
}

.latest-popular__more {
  display:inline-flex;
  margin-block:.15rem .55rem;
  color:var(--editorial-accent);
  font-size:.72rem;
  font-weight:900;
}


/* Latest V2 — reader-controlled full vs headlines-only density. */
.latest-controls {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:1rem;
  align-items:center;
  border-block-end:1px solid var(--border-subtle);
}
.latest-controls .latest-filters {
  border-block-end:0;
}
.latest-view-toggle {
  display:flex;
  align-items:center;
  gap:.4rem;
  white-space:nowrap;
}
.latest-view-toggle > span {
  color:var(--text-muted);
  font-size:.68rem;
  font-weight:800;
}
.latest-view-toggle a {
  padding:.45rem .58rem;
  border:1px solid var(--border-subtle);
  background:var(--surface-raised);
  color:var(--text-secondary);
  font-size:.7rem;
  font-weight:850;
}
.latest-view-toggle a.is-active {
  border-color:var(--editorial-secondary-accent);
  color:var(--editorial-secondary-accent);
}
.latest-headlines {
  padding-block:1.3rem 2rem;
}
.latest-headlines > header {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:1rem;
  padding-block-end:.75rem;
  border-block-end:3px solid var(--brand-nile);
}
.latest-headlines > header h2 {
  margin:.15rem 0 0;
  color:var(--editorial-title);
  font-size:1.55rem;
}
.latest-headlines > header strong {
  color:var(--ink-3);
  font-size:2rem;
  line-height:1;
}
.latest-headlines ol {
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:1.5rem;
}
.latest-headlines li {
  display:grid;
  grid-template-columns:2.4rem minmax(0,1fr);
  gap:.7rem;
  padding:.8rem 0;
  border-block-end:1px solid var(--border-subtle);
}
.latest-headlines__index {
  color:var(--ink-3);
  font-size:.8rem;
  font-weight:900;
}
.latest-headlines__meta {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.35rem .5rem;
  color:var(--text-muted);
  font-size:.67rem;
}
.latest-headlines__meta > span:first-child {
  color:var(--editorial-accent);
  font-weight:900;
}
.latest-headlines h3 {
  margin:.18rem 0 0;
  font-size:1rem;
  line-height:1.48;
}
.latest-headlines footer {
  display:flex;
  justify-content:flex-end;
  padding-block-start:.9rem;
}
.latest-headlines footer a {
  color:var(--editorial-accent);
  font-size:.75rem;
  font-weight:900;
}
@media(max-width:820px){
  .latest-controls {
    grid-template-columns:1fr;
    gap:0;
  }
  .latest-view-toggle {
    padding-block:0 .8rem;
  }
}
@media(max-width:620px){
  .latest-headlines ol {
    grid-template-columns:1fr;
  }
  .latest-headlines li {
    grid-template-columns:2rem minmax(0,1fr);
    padding:.72rem 0;
  }
}


/* Collection Text-first V1 — Latest */
.latest-hero h1{
  color:var(--text-primary);
  font-size:clamp(2.9rem,5.2vw,4.8rem);
  line-height:1;
  letter-spacing:-.04em;
}
.latest-hero aside{
  place-items:center;
  text-align:center;
}
.latest-hero aside strong,
.latest-hero aside span{
  inline-size:100%;
  text-align:center;
}
.latest-lead--text{
  grid-template-columns:minmax(0,1fr);
}
.latest-lead--text .latest-lead__body{
  max-inline-size:62rem;
  align-self:start;
}
.latest-feed li.latest-feed__item--text{
  grid-template-columns:2.3rem minmax(0,1fr);
}
.latest-index,
.latest-popular__rank{
  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;
}
.latest-popular header h2,
.latest-sections header h2{
  color:var(--accent);
  text-align:center;
}
@media(max-width:760px){
  .latest-hero h1{
    font-size:clamp(2.6rem,12vw,3.8rem);
  }
  .latest-hero aside{
    justify-self:start;
  }
  .latest-feed li.latest-feed__item--text{
    grid-template-columns:2rem minmax(0,1fr);
  }
}
@media(max-width:520px){
  .latest-feed li.latest-feed__item--text{
    grid-template-columns:1.8rem minmax(0,1fr);
  }
}


/* Collection Text-first V1 — theme-safe editorial colors. */
.latest-hero aside strong,
.latest-feed > header h2{
  color:var(--text-primary);
}
.latest-filter.is-active{
  background:var(--accent);
  border-color:var(--accent);
  color:var(--text-inverse);
}


/* Public Surface Quality V2 — Latest grouped surfaces and filters. */
.latest-hero aside,
.latest-popular,
.latest-sections,
.latest-empty{
  border:1px solid var(--quality-surface-border);
  border-radius:var(--quality-radius-panel);
  background:var(--quality-surface-bg);
  box-shadow:var(--quality-surface-shadow);
}
.latest-filter,
.latest-view-toggle a,
.latest-sections a{
  border-color:var(--quality-chip-border);
  border-radius:var(--radius-pill);
  background:var(--quality-chip-bg);
  box-shadow:var(--quality-chip-shadow);
}
.latest-filter:hover,
.latest-filter:focus-visible,
.latest-view-toggle a:hover,
.latest-view-toggle a:focus-visible,
.latest-sections a:hover,
.latest-sections a:focus-visible{
  border-color:var(--accent-secondary);
  background:color-mix(in srgb,var(--accent-secondary) 13%,var(--surface-raised));
  box-shadow:var(--quality-surface-shadow-hover);
  transform:translateY(-1px);
}
.latest-filter.is-active,
.latest-view-toggle a.is-active{
  border-color:var(--quality-tag-primary);
  background:var(--quality-tag-primary);
  color:var(--ds-text-on-overlay);
  box-shadow:0 8px 22px color-mix(in srgb,var(--quality-tag-primary) 22%,transparent);
}

/* Latest V2 — compact editorial hero + Readability V3 local type. */
.latest-hero{
  grid-template-columns:minmax(0,1fr) 11rem;
  gap:1.5rem;
  align-items:center;
  padding-block:1.4rem 1rem;
}
.latest-hero h1{
  margin:.2rem 0 .45rem;
  font-size:clamp(2.85rem,4.8vw,4.25rem);
  line-height:1.02;
  letter-spacing:-.035em;
}
.latest-hero p{
  max-inline-size:58rem;
  font-size:1rem;
  line-height:1.82;
}
.latest-hero aside{
  min-inline-size:0;
  padding:.9rem 1rem;
  border-block-start:0;
  gap:.28rem;
}
.latest-hero aside strong{font-size:2.45rem}
.latest-hero aside span{font-size:.82rem;line-height:1.45}
.latest-filter{font-size:.86rem}
.latest-type,
.latest-time,
.latest-feed__meta,
.latest-headlines__meta{font-size:.82rem}
.latest-feed p{font-size:.92rem;line-height:1.72}
.latest-popular h3{font-size:.98rem;line-height:1.55}
.latest-popular li div>span{font-size:.78rem;line-height:1.5}
.latest-sections a{font-size:.82rem}
.latest-view-toggle>span,
.latest-view-toggle a{font-size:.82rem}
.latest-headlines footer a{font-size:.82rem}
@media(max-width:760px){
  .latest-hero{
    grid-template-columns:1fr;
    gap:.75rem;
    padding-block:1rem .85rem;
  }
  .latest-hero h1{font-size:clamp(2.3rem,11vw,3.2rem)}
  .latest-hero p{font-size:.92rem}
  .latest-hero aside{justify-self:start;min-inline-size:9rem;padding:.75rem .9rem}
  .latest-filter{font-size:.82rem}
  .latest-feed__meta,.latest-headlines__meta{font-size:.78rem}
}
@media(min-width:1600px){
  .latest-hero{grid-template-columns:minmax(0,1fr) 12rem;padding-block:1.65rem 1.1rem}
  .latest-hero h1{font-size:4.5rem}
  .latest-hero p{font-size:1.06rem}
  .latest-filter{font-size:.92rem}
}


/* Latest V3 — Human Editorial Desk
   Compact newsroom hierarchy, wrapped filters, calmer sidebar, theme-safe. */
.latest-shell{
  width:min(calc(100% - clamp(1.25rem,3vw,3rem)),78rem);
}

.latest-hero{
  grid-template-columns:minmax(0,1fr) auto;
  gap:clamp(1rem,2vw,2rem);
  align-items:end;
  padding-block:1.05rem .85rem;
  border-block-end:1px solid var(--border-subtle);
}
.latest-hero > div{
  min-inline-size:0;
}
.latest-hero .public-label{
  font-size:.78rem;
  letter-spacing:.01em;
}
.latest-hero h1{
  margin:.12rem 0 .3rem;
  font-size:clamp(2.45rem,4vw,3.8rem);
  line-height:1.06;
  letter-spacing:-.025em;
}
.latest-hero p{
  max-inline-size:52rem;
  font-size:.98rem;
  line-height:1.72;
  color:var(--text-secondary);
}
.latest-hero aside{
  min-inline-size:8rem;
  inline-size:auto;
  padding:.65rem .85rem;
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:.45rem;
  border:1px solid var(--border-subtle);
  border-radius:calc(var(--radius-lg) - 2px);
  background:color-mix(in srgb,var(--surface-raised) 72%,transparent);
  box-shadow:none;
}
.latest-hero aside strong{
  inline-size:auto;
  font-size:1.8rem;
  line-height:1;
  color:var(--text-primary);
}
.latest-hero aside span{
  inline-size:auto;
  max-inline-size:7.5rem;
  font-size:.76rem;
  line-height:1.35;
  text-align:start;
}

.latest-controls{
  grid-template-columns:1fr;
  gap:.5rem;
  padding-block:.7rem .72rem;
  border-block-end:1px solid var(--border-subtle);
}
.latest-controls .latest-filters{
  display:flex;
  flex-wrap:wrap;
  overflow:visible;
  gap:.4rem;
  padding:0;
  border:0;
  scrollbar-width:none;
}
.latest-controls .latest-filters::-webkit-scrollbar{display:none}
.latest-filter{
  padding:.42rem .68rem;
  font-size:.8rem;
  line-height:1.2;
  border-radius:.65rem;
  box-shadow:none;
}
.latest-filter.is-active{
  box-shadow:none;
}
.latest-view-toggle{
  justify-content:flex-start;
  gap:.35rem;
  padding:0;
}
.latest-view-toggle > span{
  margin-inline-end:.2rem;
  font-size:.74rem;
}
.latest-view-toggle a{
  padding:.38rem .58rem;
  font-size:.76rem;
  border-radius:.6rem;
  box-shadow:none;
}

.latest-dashboard{
  grid-template-columns:minmax(0,1.65fr) minmax(17rem,.62fr);
  gap:1.2rem 1.55rem;
  padding-block:1rem 2rem;
}
.latest-sidebar{
  gap:1rem;
  position:sticky;
  top:5.5rem;
  align-self:start;
}
.latest-popular,
.latest-sections{
  padding:.8rem .9rem .7rem;
  border:1px solid var(--border-subtle);
  border-radius:.8rem;
  background:color-mix(in srgb,var(--surface-raised) 55%,transparent);
  box-shadow:none;
}
.latest-popular header,
.latest-sections header{
  text-align:start;
}
.latest-popular header h2,
.latest-sections header h2{
  margin:.08rem 0 .38rem;
  text-align:start;
  font-size:1.16rem;
  color:var(--text-primary);
}
.latest-popular .public-label,
.latest-sections .public-label{
  font-size:.72rem;
}
.latest-popular__more{
  margin:.05rem 0 .35rem;
  font-size:.72rem;
}
.latest-popular li{
  grid-template-columns:2rem minmax(0,1fr);
  gap:.65rem;
  padding:.66rem 0;
}
.latest-popular__rank{
  inline-size:1.75rem;
  min-inline-size:1.75rem;
  block-size:1.75rem;
  font-size:1.05rem;
  align-self:start;
}
.latest-popular h3{
  font-size:.9rem;
  line-height:1.55;
}
.latest-popular li div>span{
  margin-block-start:.18rem;
  font-size:.72rem;
}
.latest-sections nav{gap:.35rem}
.latest-sections a{
  padding:.38rem .5rem;
  font-size:.75rem;
  border-radius:.55rem;
  box-shadow:none;
}

.latest-lead{
  gap:1rem;
  padding-block:.25rem 1.1rem;
  border-block-end:1px solid var(--accent);
}
.latest-lead--text .latest-lead__body{
  max-inline-size:53rem;
}
.latest-lead__body .public-label{
  font-size:.76rem;
}
.latest-type{
  margin-block-start:.38rem;
  font-size:.76rem;
}
.latest-lead h2{
  max-inline-size:48rem;
  margin:.2rem 0 .45rem;
  font-size:clamp(2rem,3vw,2.8rem);
  line-height:1.25;
  letter-spacing:-.012em;
}
.latest-lead p{
  max-inline-size:47rem;
  margin:.25rem 0 .5rem;
  font-size:.95rem;
  line-height:1.72;
}
.latest-time{font-size:.74rem}

.latest-feed>header{
  padding-block:.7rem .55rem;
}
.latest-feed>header h2{
  font-size:1.35rem;
}
.latest-feed>header>strong{
  font-size:1.5rem;
  color:var(--text-muted);
}
.latest-feed li,
.latest-feed li.latest-feed__item--text{
  padding:.82rem 0;
}
.latest-feed li{
  grid-template-columns:2rem 7.4rem minmax(0,1fr);
  gap:.7rem .85rem;
}
.latest-feed li.latest-feed__item--text{
  grid-template-columns:2rem minmax(0,1fr);
}
.latest-index{
  inline-size:1.7rem;
  min-inline-size:1.7rem;
  block-size:1.7rem;
  font-size:.74rem;
  align-self:start;
}
.latest-feed h3{
  margin:.13rem 0 .22rem;
  font-size:clamp(1rem,1.35vw,1.18rem);
  line-height:1.55;
}
.latest-feed p{
  margin:.18rem 0 0;
  font-size:.84rem;
  line-height:1.62;
}
.latest-feed__meta{
  font-size:.72rem;
}

@media(max-width:960px){
  .latest-dashboard{
    grid-template-columns:minmax(0,1fr) 16rem;
    gap:1rem 1.15rem;
  }
  .latest-sidebar{top:4.8rem}
}
@media(max-width:760px){
  .latest-shell{width:min(calc(100% - 1rem),78rem)}
  .latest-hero{
    grid-template-columns:1fr;
    gap:.65rem;
    padding-block:.8rem .7rem;
  }
  .latest-hero h1{font-size:clamp(2.15rem,10vw,3rem)}
  .latest-hero p{font-size:.9rem;line-height:1.65}
  .latest-hero aside{
    justify-self:start;
    min-inline-size:0;
    padding:.5rem .65rem;
  }
  .latest-hero aside strong{font-size:1.45rem}
  .latest-controls{
    padding-block:.55rem .6rem;
  }
  .latest-controls .latest-filters{
    flex-wrap:nowrap;
    overflow-x:auto;
    margin-inline:-.5rem;
    padding-inline:.5rem;
    padding-block-end:.15rem;
  }
  .latest-filter{font-size:.78rem}
  .latest-dashboard{
    grid-template-columns:1fr;
    grid-template-areas:"lead" "feed" "side";
    gap:.9rem;
    padding-block:.8rem 1.5rem;
  }
  .latest-sidebar{
    position:static;
  }
  .latest-lead h2{
    font-size:clamp(1.75rem,7.7vw,2.35rem);
    line-height:1.3;
  }
  .latest-feed li{
    grid-template-columns:1.8rem 5.7rem minmax(0,1fr);
  }
  .latest-popular,
  .latest-sections{
    padding:.72rem .8rem;
  }
}
@media(max-width:520px){
  .latest-view-toggle{
    overflow-x:auto;
    padding-block-end:.1rem;
  }
  .latest-view-toggle>span{display:none}
  .latest-feed li{grid-template-columns:1.65rem 5rem minmax(0,1fr)}
  .latest-feed li.latest-feed__item--text{grid-template-columns:1.65rem minmax(0,1fr)}
}


/* Latest V4 — Editorial balance pass
   Integrated count, balanced controls, calmer lead and lighter reading rail. */
.latest-hero{
  display:block;
  padding-block:.9rem .72rem;
}
.latest-hero__eyebrow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  min-block-size:1.8rem;
}
.latest-hero__count{
  display:inline-flex;
  align-items:baseline;
  gap:.3rem;
  padding:.15rem .5rem;
  border-inline-start:2px solid var(--accent);
  color:var(--text-muted);
  font-size:.72rem;
  font-weight:750;
  white-space:nowrap;
}
.latest-hero__count strong{
  color:var(--text-primary);
  font-size:1rem;
  line-height:1;
  font-variant-numeric:tabular-nums;
}
.latest-hero h1{
  margin:.16rem 0 .28rem;
  font-size:clamp(2.35rem,3.45vw,3.35rem);
  line-height:1.08;
  letter-spacing:-.02em;
}
.latest-hero p{
  max-inline-size:50rem;
  font-size:.94rem;
  line-height:1.68;
}
.latest-hero > aside{display:none!important}

.latest-controls{
  grid-template-columns:minmax(0,1fr) auto;
  gap:.8rem 1rem;
  align-items:start;
  padding-block:.62rem .68rem;
}
.latest-controls .latest-filters{
  align-content:start;
}
.latest-view-toggle{
  align-self:start;
  justify-content:flex-end;
  padding-block:.02rem;
}
.latest-view-toggle > span{
  margin-inline-end:.1rem;
}
.latest-view-toggle a{
  padding:.4rem .55rem;
}

.latest-dashboard{
  grid-template-columns:minmax(0,1.72fr) minmax(16rem,.58fr);
  gap:1rem 1.4rem;
  padding-block:.9rem 1.8rem;
}
.latest-lead{
  padding-block:.15rem 1rem;
}
.latest-lead--text .latest-lead__body{
  max-inline-size:49rem;
}
.latest-lead h2{
  max-inline-size:45rem;
  margin:.18rem 0 .38rem;
  font-size:clamp(1.8rem,2.55vw,2.38rem);
  line-height:1.32;
  letter-spacing:-.008em;
}
.latest-lead p{
  max-inline-size:44rem;
  font-size:.91rem;
  line-height:1.67;
}

.latest-popular,
.latest-sections{
  padding:.15rem 0 0;
  border:0;
  border-block-start:2px solid color-mix(in srgb,var(--accent) 58%,var(--border-subtle));
  border-radius:0;
  background:transparent;
}
.latest-popular header,
.latest-sections header{
  padding-block-start:.55rem;
}
.latest-popular header h2,
.latest-sections header h2{
  font-size:1.06rem;
  margin:.04rem 0 .3rem;
}
.latest-popular__more{
  margin:0 0 .25rem;
}
.latest-popular li{
  grid-template-columns:1.7rem minmax(0,1fr);
  gap:.58rem;
  padding:.58rem 0;
}
.latest-popular__rank{
  inline-size:1.55rem;
  min-inline-size:1.55rem;
  block-size:1.55rem;
  font-size:.92rem;
}
.latest-popular h3{
  font-size:.86rem;
  line-height:1.52;
}
.latest-popular li div>span{
  font-size:.68rem;
}
.latest-sections nav{gap:.3rem}
.latest-sections a{
  padding:.34rem .46rem;
  font-size:.72rem;
  border-radius:.5rem;
}

.latest-feed>header{
  padding-block:.58rem .48rem;
}
.latest-feed>header h2{
  font-size:1.22rem;
}
.latest-feed>header>strong{
  font-size:1.35rem;
}
.latest-feed h3{
  font-size:clamp(.98rem,1.22vw,1.12rem);
}
.latest-feed p{
  font-size:.82rem;
  line-height:1.58;
}

@media(max-width:900px){
  .latest-controls{
    grid-template-columns:1fr;
    gap:.45rem;
  }
  .latest-view-toggle{
    justify-content:flex-start;
  }
}
@media(max-width:760px){
  .latest-hero__eyebrow{
    align-items:flex-start;
  }
  .latest-hero__count{
    font-size:.68rem;
  }
  .latest-hero h1{
    font-size:clamp(2.05rem,9.5vw,2.8rem);
  }
  .latest-dashboard{
    grid-template-areas:"lead" "feed" "side";
  }
  .latest-lead h2{
    font-size:clamp(1.65rem,7vw,2.15rem);
  }
}

/* Latest V5 — explicit content-view control. */
.latest-view-control{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:.75rem;
  min-inline-size:max-content;
}
.latest-view-control__label{
  display:grid;
  gap:.08rem;
  text-align:start;
}
.latest-view-control__label strong{
  color:var(--text-primary);
  font-size:.78rem;
  line-height:1.35;
}
.latest-view-control__label span{
  color:var(--text-muted);
  font-size:.67rem;
  line-height:1.35;
  white-space:nowrap;
}
.latest-view-toggle{
  display:inline-grid;
  grid-template-columns:1fr 1fr;
  gap:.2rem;
  padding:.2rem;
  border:1px solid var(--border-subtle);
  border-radius:.72rem;
  background:color-mix(in srgb,var(--surface-muted) 76%,transparent);
}
.latest-view-toggle a{
  min-inline-size:6.3rem;
  padding:.48rem .72rem;
  border:0;
  border-radius:.55rem;
  background:transparent;
  color:var(--text-secondary);
  font-size:.78rem;
  font-weight:800;
  line-height:1.2;
  text-align:center;
  box-shadow:none;
}
.latest-view-toggle a:hover,
.latest-view-toggle a:focus-visible{
  background:color-mix(in srgb,var(--surface-raised) 82%,transparent);
  color:var(--text-primary);
}
.latest-view-toggle a.is-active{
  background:var(--accent-secondary);
  color:var(--text-inverse);
  box-shadow:var(--shadow-1);
}
@media(max-width:900px){
  .latest-view-control{
    justify-content:flex-start;
    min-inline-size:0;
  }
}
@media(max-width:620px){
  .latest-view-control{
    display:grid;
    grid-template-columns:1fr;
    gap:.38rem;
  }
  .latest-view-control__label span{white-space:normal}
  .latest-view-toggle{width:100%}
  .latest-view-toggle a{min-inline-size:0}
}


/* Latest V6 — forest-led interaction, bronze only as editorial signal. */
.latest-filter.is-active,
.latest-view-toggle a.is-active{
  border-color:color-mix(in srgb,var(--accent) 82%,var(--border-strong));
  background:var(--accent);
  color:#fff;
  box-shadow:0 7px 18px color-mix(in srgb,var(--accent) 20%,transparent);
}
.latest-headlines>header,
.latest-headlines__grid{
  border-color:color-mix(in srgb,var(--accent) 58%,var(--border-subtle));
}
.latest-headlines>header::after{
  background:var(--signal);
}

/* Glass Reading System V1 — Latest newsroom hierarchy. */
.latest-shell{
  position:relative;
}
.latest-hero{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 5%,transparent),transparent 76%);
}
.latest-hero::after{
  content:"";
  position:absolute;
  inset:0 0 auto;
  block-size:40%;
  background:var(--mirror-sheen-soft);
  pointer-events:none;
  opacity:.5;
}
.latest-hero>*{position:relative;z-index:1}
.latest-controls{
  position:relative;
  padding:.72rem .78rem;
  border:1px solid var(--glass-border-soft);
  border-radius:.9rem;
  background:var(--glass-fill-soft);
  box-shadow:var(--glass-shadow);
  backdrop-filter:blur(var(--glass-blur)) saturate(112%);
  -webkit-backdrop-filter:blur(var(--glass-blur)) saturate(112%);
}
.latest-controls::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:var(--mirror-sheen-soft);
  pointer-events:none;
  opacity:.55;
}
.latest-controls>*{position:relative;z-index:1}
.latest-filter,
.latest-view-toggle{
  background:color-mix(in srgb,var(--glass-fill-strong) 76%,transparent);
  border-color:var(--glass-border-soft);
  box-shadow:inset 0 1px 0 var(--glass-highlight-soft);
}
.latest-headlines{
  position:relative;
  background:var(--section-flow);
}
.latest-headlines>header{
  position:relative;
  padding-block:1.05rem .75rem;
}
.latest-headlines>header::before{
  content:"";
  position:absolute;
  inset-inline:0;
  inset-block-end:0;
  block-size:1px;
  background:var(--section-divider-signal);
}
.latest-headlines__grid{
  border-block-start:0;
  background:linear-gradient(180deg,color-mix(in srgb,var(--surface-raised) 4%,transparent),transparent 38%);
}
.latest-headlines__item{
  transition:background-color .18s ease,border-color .18s ease,transform .18s ease;
}
.latest-headlines__item:hover{
  background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 7%,transparent),transparent 74%);
}
.latest-popular,
.latest-sections{
  background:linear-gradient(180deg,var(--glass-fill-soft),color-mix(in srgb,var(--glass-fill-soft) 52%,transparent));
  border-color:var(--glass-border-soft);
  box-shadow:var(--glass-shadow);
  backdrop-filter:blur(calc(var(--glass-blur) * .82)) saturate(110%);
  -webkit-backdrop-filter:blur(calc(var(--glass-blur) * .82)) saturate(110%);
}
@media(max-width:760px){
  .latest-controls{padding:.55rem;border-radius:.72rem}
  .latest-headlines__item:hover{transform:none}
}


/* Forest Luminance V2 — active green is brighter but still editorial. */
.latest-filter.is-active,
.latest-view-toggle a.is-active{
  box-shadow:0 8px 20px color-mix(in srgb,var(--accent) 24%,transparent),inset 0 1px 0 rgb(255 255 255 / .12);
}

/* Solid Dark Editorial V1 — Latest newsroom. */
:root[data-theme="dark"] .latest-hero{
  background:transparent;
}
:root[data-theme="dark"] .latest-hero::after,
:root[data-theme="dark"] .latest-controls::before{
  content:none!important;
  display:none!important;
}
:root[data-theme="dark"] .latest-controls{
  background:var(--solid-surface-1);
  border-color:var(--solid-border);
  box-shadow:none;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
:root[data-theme="dark"] .latest-filter,
:root[data-theme="dark"] .latest-view-toggle{
  background:var(--solid-surface-2);
  border-color:var(--solid-border);
  box-shadow:none;
}
:root[data-theme="dark"] .latest-headlines{
  background:transparent;
}
:root[data-theme="dark"] .latest-headlines__grid{
  background:transparent;
}
:root[data-theme="dark"] .latest-headlines__item:hover{
  background:var(--solid-surface-1);
}
:root[data-theme="dark"] .latest-popular,
:root[data-theme="dark"] .latest-sections{
  background:var(--solid-surface-1);
  border-color:var(--solid-border);
  box-shadow:none;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

/* Crawlable chronological archive navigation. */
.latest-archive-pagination{
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;
  gap:14px;margin:28px auto 18px;padding:12px;
  color:var(--text-primary,inherit);
}
.latest-archive-pagination a{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:42px;padding:9px 17px;border-radius:12px;
  color:var(--text-primary,inherit);
  border:1px solid var(--border-color,rgba(128,128,128,.4));
  background:var(--solid-surface-1,transparent);
  text-decoration:none;font-weight:600;
}
.latest-archive-pagination a:hover,.latest-archive-pagination a:focus-visible{
  border-color:var(--accent,#4ddc9b);color:var(--accent,#4ddc9b);
}
.latest-archive-pagination [aria-current=page]{font-variant-numeric:tabular-nums;white-space:nowrap}
