/* Homepage only. Keep the existing hero design and reserve a stable slide height. */
.home-carousel{position:relative;min-width:0;display:grid;border-radius:10px;background:#0a2635;isolation:isolate}
.home-carousel-track{display:grid;min-width:0}
.home-carousel-slide{grid-area:1/1;min-width:0;align-self:stretch;visibility:hidden;pointer-events:none}
.home-carousel-slide.is-current{visibility:visible;pointer-events:auto}
.home-carousel-slide .home-slide-title{font-size:clamp(29px,3.2vw,53px);letter-spacing:-1.6px;line-height:1.07;margin:14px 0;font-weight:700}
.home-carousel-slide .home-slide-title a:hover{color:var(--mint)}
.home-carousel.is-enhanced .heroinner{padding-bottom:70px}
.home-carousel-controls[hidden]{display:none}
.home-carousel-controls{position:absolute;bottom:12px;left:18px;right:18px;display:flex;gap:5px;align-items:center;justify-content:center;z-index:2}
.home-carousel-controls button{border:0;color:#e1f0f3;background:#092332c9;cursor:pointer;display:grid;place-items:center;width:40px;height:40px;padding:0;border-radius:50%;flex:none}
.home-carousel-controls button:hover,.home-carousel-controls button:focus-visible{color:var(--mint);background:#173b4e;outline-offset:2px}
.home-carousel-controls button:focus-visible{outline:2px solid var(--mint)}
.home-carousel-controls svg{width:20px;height:20px}
.home-carousel-controls svg [hidden]{display:none}
.home-carousel-dots{display:flex;align-items:center;gap:0}
.home-carousel-dots button{width:28px;background:transparent}
.home-carousel-dots button span{display:block;width:8px;height:8px;border-radius:50%;background:#d6e2e7;opacity:.65}
.home-carousel-dots button[aria-current=true] span{background:var(--mint);opacity:1;width:20px;border-radius:6px}
@media(max-width:760px){.home-carousel-slide .home-slide-title{font-size:35px}.home-carousel-controls{left:8px;right:8px;gap:2px}.home-carousel-dots button{width:26px}}
@media(prefers-reduced-motion:reduce){.home-carousel *{transition:none!important;animation:none!important}}

/* Bound the hero independently of the intrinsic height of inactive slides. */
.home-carousel{height:400px;align-self:start;grid-template-rows:minmax(0,1fr)}
.home-carousel-track{grid-template-rows:minmax(0,1fr);min-height:0}
.home-carousel-slide.hero{height:100%;min-height:0;background-size:cover,cover}
.home-carousel-slide .heroinner{width:94%;padding:22px 28px;min-width:0}
.home-carousel.is-enhanced .heroinner{padding-bottom:64px}
.home-carousel-slide .home-slide-title{font-size:clamp(30px,2.8vw,43px);line-height:1.1;letter-spacing:-1.1px;margin:10px 0;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow-wrap:anywhere}
.home-carousel-slide p{font-size:16px;line-height:1.4;margin:0 0 8px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow-wrap:anywhere}
.home-carousel-slide .btn{margin-top:10px}
.hero-grid>.hero-side{justify-content:flex-start;align-self:stretch}
@media(max-width:760px){.home-carousel{height:410px}.home-carousel-slide .heroinner{width:100%;padding:18px 20px}.home-carousel.is-enhanced .heroinner{padding-bottom:60px}.home-carousel-slide .home-slide-title{font-size:clamp(25px,7vw,35px);-webkit-line-clamp:4}.home-carousel-slide p{font-size:15px}}
@media(max-width:360px){.home-carousel{height:420px}.home-carousel-slide .heroinner{padding-left:16px;padding-right:16px}.home-carousel-controls button{width:36px;height:36px}.home-carousel-dots button{width:24px}}
/* The slide track is out of the grid's intrinsic sizing; columns stay aligned. */
@media(min-width:761px){.home-carousel{height:auto;min-height:400px;align-self:stretch}.home-carousel-track{position:absolute;inset:0}}
@media(min-width:761px) and (max-width:900px){.home-carousel-slide .home-slide-title{font-size:28px;-webkit-line-clamp:4}}
@media(max-width:360px){.home-carousel-slide .home-slide-title{-webkit-line-clamp:5}}

/* An additional home ad sits beneath the tools; the lower placement is retained. */
.home-top-right{min-width:0;display:flex;flex-direction:column;gap:16px;align-self:start}
.home-top-right>.home-ad{margin:0}
.home-top-right>.home-ad>ins{min-height:250px}
@media(min-width:1201px){.hero-grid>.hero-side .ministory{flex:1 0 auto}.hero-grid>.hero-side .ministory img{height:100px}}
@media(min-width:761px) and (max-width:1200px){.home-top-right{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,34%);align-items:start}.home-top-right:not(:has(>.home-ad:not(:has(ins[data-ad-status="unfilled"])))){grid-template-columns:minmax(0,1fr)}.home-top-right>.toolsbox{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px}.home-top-right>.toolsbox h2,.home-top-right>.toolsbox p,.home-top-right>.toolsbox .alltools{grid-column:1/-1;margin:0}}
@media(max-width:760px){.home-top-right{gap:15px}}

/* Three editorial zones: label, headline/lead, author and action. */
.home-carousel-slide .heroinner{box-sizing:border-box;height:100%;width:100%;display:grid;grid-template-rows:auto minmax(min-content,1fr) auto;align-items:start;justify-items:start;gap:16px;padding:28px 28px 24px}
.home-carousel.is-enhanced .home-carousel-slide .heroinner{padding-bottom:76px}
.home-carousel-slide .kicker{align-self:start;max-width:100%}
.home-slide-copy{align-self:center;min-width:0;width:100%}
.home-carousel-slide .home-slide-title{margin:0 0 16px}
.home-carousel-slide .home-slide-copy p{margin:0;max-width:100%}
.home-slide-footer{align-self:end;min-width:0}
.home-carousel-slide .home-slide-footer .btn{margin-top:10px}
@media(min-width:761px){.home-carousel{min-height:460px}}
@media(min-width:1201px){.home-carousel-slide .heroinner{padding:34px 30px 26px;gap:20px}.home-carousel.is-enhanced .home-carousel-slide .heroinner{padding-bottom:82px}}
@media(max-width:760px){.home-carousel{height:auto;min-height:455px;grid-template-rows:auto}.home-carousel-track{grid-template-rows:auto}.home-carousel-slide.hero{height:auto;min-height:455px}.home-carousel-slide .heroinner{padding:22px 20px;gap:14px}.home-carousel.is-enhanced .home-carousel-slide .heroinner{padding-bottom:68px}.home-carousel-slide .home-slide-title{margin-bottom:12px}}
@media(max-width:360px){.home-carousel-slide .heroinner{padding-left:16px;padding-right:16px}}

/* Split the left column: featured stories above, horizontal ad below. */
.home-top-left{display:flex;flex-direction:column;min-width:0;gap:16px;align-self:stretch}
.home-top-left>.home-carousel-banner{margin:0;flex:none;min-width:0}
.home-carousel-banner>ins{min-height:90px;width:100%;max-width:100%}
@media(min-width:761px){
  .home-top-left>.home-carousel{flex:1 0 460px;min-height:460px;width:100%;height:auto}
}
@media(max-width:760px){
  .home-top-left{gap:15px}
  .home-top-left>.home-carousel{flex:none;width:100%}
}
