/* SWUAK featured carousel + news title refinement — v50 */
.hero-carousel{position:relative;padding:0!important;overflow:hidden!important;background:#1f2023!important}
.hero-carousel-viewport{position:absolute;inset:0;overflow:hidden;border-radius:inherit}
.hero-carousel-track{display:flex;width:100%;height:100%;transform:translate3d(-100%,0,0);transition:transform .62s cubic-bezier(.22,.7,.22,1);will-change:transform}
.hero-carousel-track.no-transition{transition:none!important}
.hero-carousel-slide{position:relative;flex:0 0 100%;width:100%;height:100%;overflow:hidden;color:#fff;text-decoration:none;isolation:isolate;background:#1f2023}
.hero-carousel-slide .story-card-image{position:absolute;z-index:-3;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform .42s cubic-bezier(.2,.7,.2,1)}
.hero-carousel-slide .story-card-shade{display:block;position:absolute;z-index:-2;inset:0;background:linear-gradient(180deg,rgba(9,10,12,.01) 28%,rgba(9,10,12,.25) 54%,rgba(9,10,12,.91) 100%)}
.hero-carousel-slide .story-card-copy{position:absolute;z-index:2;inset:auto 0 0;background:transparent;padding:18px 18px 34px}
.hero-carousel-slide .story-card-meta{color:#ededed;text-shadow:0 1px 5px rgba(0,0,0,.72)}
.hero-carousel-slide h2{max-width:780px;font-size:clamp(22px,1.58vw,27px)!important;font-weight:600!important;line-height:1.14!important;letter-spacing:-.014em!important;-webkit-line-clamp:3;text-shadow:0 2px 8px rgba(0,0,0,.78)}
.hero-carousel:hover .hero-carousel-slide .story-card-image{transform:scale(1.04)}

/* Narrow side controls: still easy to hit, but visually much less intrusive. */
.hero-carousel-arrow{position:absolute;z-index:8;top:50%;display:grid;place-items:center;width:24px;height:50px;margin-top:-25px;padding:0;border:0;background:rgba(0,0,0,.40);color:#fff;font:400 23px/1 Arial,sans-serif;cursor:pointer;opacity:.78;transition:background .28s ease,opacity .28s ease,width .28s ease}
.hero-carousel-arrow:hover{width:27px;background:rgba(0,0,0,.56);opacity:1}
.hero-carousel-arrow--left{left:0;border-radius:0 7px 7px 0}.hero-carousel-arrow--right{right:0;border-radius:7px 0 0 7px}
.hero-carousel-arrow:focus-visible{outline:2px solid #fff;outline-offset:-3px}

/* MSN-style compact position rail: dark glass pill, pale dots, white active dash. */
.hero-carousel-dots{position:absolute;z-index:9;left:50%;bottom:7px;display:flex;align-items:center;justify-content:center;gap:5px;min-height:16px;padding:4px 8px;border-radius:999px;background:rgba(18,19,21,.72);box-shadow:0 1px 4px rgba(0,0,0,.28);backdrop-filter:blur(5px);transform:translateX(-50%)}
.hero-carousel-dot{width:5px;height:5px;flex:0 0 auto;padding:0;border:0;border-radius:999px;background:rgba(214,214,214,.48);cursor:pointer;transition:width .28s ease,background .28s ease,opacity .28s ease}
.hero-carousel-dot:hover{background:rgba(240,240,240,.76)}
.hero-carousel-dot.is-active{width:16px;background:#f5f5f5}

/* Lighter MSN-like headline treatment across every homepage news card. */
.news-mosaic-page .story-card h2,
.story-card h2{font-weight:600!important;letter-spacing:-.014em!important;line-height:1.21!important}
.news-mosaic-page .story-card:not(.card--hero) h2,
.story-card:not(.card--hero) h2{font-size:19px!important}
.news-mosaic-page .card--wide h2,.card--wide h2{font-size:20px!important}
.news-mosaic-page .card--tall h2,.card--tall h2{font-size:19px!important}
.news-mosaic-page .card--text h2,.card--text h2{font-size:19px!important}
.news-mosaic-page .card--hero h2,.card--hero h2{font-size:clamp(22px,1.58vw,27px)!important;font-weight:600!important;line-height:1.14!important}

@media(max-width:760px){
  .hero-carousel-arrow{width:22px;height:46px;margin-top:-23px;font-size:21px}
  .hero-carousel-arrow:hover{width:24px}
  .hero-carousel-slide .story-card-copy{padding:15px 15px 32px}
  .hero-carousel-slide h2{font-size:24px!important}
  .news-mosaic-page .story-card:not(.card--hero) h2,.story-card:not(.card--hero) h2{font-size:18px!important}
}
@media(prefers-reduced-motion:reduce){.hero-carousel-track,.hero-carousel-slide .story-card-image,.hero-carousel-dot{transition:none!important}}

/* v62: give 10-story pagination its own floor so it never overlaps title copy. */
.hero-carousel-slide .story-card-copy{padding-bottom:46px!important}
.hero-carousel-dots{bottom:6px!important}
@media(max-width:700px){.hero-carousel-slide .story-card-copy{padding-bottom:43px!important}}
