/* SWUAK v83 — homepage-only refinements on top of v82. */

/* Featured story: keep the whole copy block bottom-anchored, but bring it lower.
   One-line titles therefore sit lowest; a second line naturally grows upward. */
.hero-carousel-slide .story-card-copy{
  padding-bottom:36px!important;
}
.hero-carousel-slide .story-source-line{
  max-width:min(72%,560px)!important;
  overflow:hidden!important;
  white-space:nowrap!important;
}
.hero-carousel-slide .story-author{
  flex:0 1 auto!important;
  max-width:360px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.hero-carousel-slide h2{
  -webkit-line-clamp:2!important;
}

/* LIVE NOW: make it read as its own module again without redesigning it.
   Top and bottom breathing room are intentionally close to equal. */
.news-live-module{
  border:1px solid #c5bdae!important;
  box-shadow:none!important;
  padding-bottom:12px!important;
}
html[data-appearance="seasonal"] .news-live-module{
  border-color:rgba(226,205,181,.24)!important;
}

/* v82 shortened the unused final LIVE NOW grid track to 36px. Add just enough
   back for the new bottom breathing room and a normal divider before news resumes. */
@media(min-width:1251px){
  .story-mosaic:has(> .news-live-insert){
    grid-template-rows:repeat(7,134px) 46px!important;
  }
}

@media(max-width:700px){
  .hero-carousel-slide .story-card-copy{padding-bottom:35px!important}
  .hero-carousel-slide .story-source-line{max-width:88%!important}
}
