/* MAGAZINE DENSITY V1 — content-sized feature row, never a tall empty lead.
   Scope: Magazine SPA + canonical PHP archive; do not crop editorial visuals. */
#news.retro-magazine .editorial-feature-grid,
.magazine-page .editorial-feature-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-rows:auto!important;
  gap:12px!important;
  align-items:start!important;
}
#news.retro-magazine .editorial-feature-grid>.editorial-story--lead,
.magazine-page .editorial-feature-grid>.editorial-story--lead{
  grid-column:1/-1!important;
  grid-row:auto!important;
  display:grid!important;
  grid-template-columns:clamp(180px,24%,260px) minmax(0,1fr)!important;
  min-height:0!important;
  height:auto!important;
  align-items:stretch!important;
}
#news.retro-magazine .editorial-story--lead>.editorial-cover-link,
.magazine-page .editorial-story--lead>.editorial-cover-link{
  width:100%!important;
  height:100%!important;
  min-height:215px!important;
  max-height:none!important;
  align-self:stretch!important;
}
#news.retro-magazine .editorial-story--lead .editorial-story-copy,
.magazine-page .editorial-story--lead .editorial-story-copy{
  flex:initial!important;
  justify-content:flex-start!important;
  padding:16px 20px!important;
  gap:6px!important;
}
#news.retro-magazine .editorial-story--lead .editorial-teaser,
.magazine-page .editorial-story--lead .editorial-teaser{
  -webkit-line-clamp:2!important;
}
#news.retro-magazine .editorial-feature-grid>.editorial-story--secondary,
.magazine-page .editorial-feature-grid>.editorial-story--secondary{
  grid-column:auto!important;
  grid-row:auto!important;
  min-height:0!important;
  height:auto!important;
  grid-template-columns:clamp(120px,32%,190px) minmax(0,1fr)!important;
  align-items:stretch!important;
}
#news.retro-magazine .editorial-story--secondary .editorial-story-copy,
.magazine-page .editorial-story--secondary .editorial-story-copy{
  flex:initial!important;
  justify-content:flex-start!important;
  padding:13px 14px!important;
  gap:5px!important;
}
#news.retro-magazine .editorial-story--secondary>.editorial-cover-link,
.magazine-page .editorial-story--secondary>.editorial-cover-link{
  height:100%!important;
  min-height:0!important;
}
@media(max-width:740px){
  #news.retro-magazine .editorial-feature-grid,
  .magazine-page .editorial-feature-grid{
    grid-template-columns:minmax(0,1fr)!important;
    gap:9px!important;
  }
  #news.retro-magazine .editorial-feature-grid>.editorial-story--lead,
  .magazine-page .editorial-feature-grid>.editorial-story--lead{
    grid-column:1!important;
    display:grid!important;
    grid-template-columns:116px minmax(0,1fr)!important;
  }
  #news.retro-magazine .editorial-story--lead>.editorial-cover-link,
  .magazine-page .editorial-story--lead>.editorial-cover-link{
    min-height:0!important;
    height:100%!important;
  }
  #news.retro-magazine .editorial-story--lead .editorial-story-copy,
  .magazine-page .editorial-story--lead .editorial-story-copy{
    padding:12px 13px!important;
    gap:5px!important;
  }
  #news.retro-magazine .editorial-story--lead h3,
  .magazine-page .editorial-story--lead h3{font-size:20px!important;line-height:1.2!important}
  #news.retro-magazine .editorial-feature-grid>.editorial-story--secondary,
  .magazine-page .editorial-feature-grid>.editorial-story--secondary{
    grid-template-columns:116px minmax(0,1fr)!important;
  }
}
@media(max-width:520px){
  #news.retro-magazine .editorial-feature-grid>.editorial-story--lead,
  .magazine-page .editorial-feature-grid>.editorial-story--lead{
    grid-template-columns:104px minmax(0,1fr)!important;
  }
  #news.retro-magazine .editorial-feature-grid>.editorial-story--secondary,
  .magazine-page .editorial-feature-grid>.editorial-story--secondary{
    grid-template-columns:104px minmax(0,1fr)!important;
  }
  #news.retro-magazine .editorial-story--lead .editorial-teaser,
  .magazine-page .editorial-story--lead .editorial-teaser{display:none!important}
  #news.retro-magazine .editorial-story--lead h3,
  .magazine-page .editorial-story--lead h3{font-size:18px!important}
  #news.retro-magazine .editorial-story--lead .editorial-story-copy,
  .magazine-page .editorial-story--lead .editorial-story-copy{padding:10px 11px!important;gap:4px!important}
}
@media(max-width:360px){
  #news.retro-magazine .editorial-feature-grid>.editorial-story--lead,
  .magazine-page .editorial-feature-grid>.editorial-story--lead,
  #news.retro-magazine .editorial-feature-grid>.editorial-story--secondary,
  .magazine-page .editorial-feature-grid>.editorial-story--secondary{
    grid-template-columns:92px minmax(0,1fr)!important;
  }
}
