.home .dynamic-banner{min-height:clamp(380px,37vw,480px);background-color:#23282b}
/* Preserve the existing three-story composition and Phoner palette. */
.home .dynamic-banner .main-banner-img{height:clamp(380px,37vw,480px)!important;min-height:0!important;width:100%;margin:0}
.home .dynamic-banner .main-banner-img a{display:block;height:100%}
.home .dynamic-banner .main-banner-img img{height:100%!important;width:100%;object-fit:cover}
.home .dynamic-banner::before{background-image:linear-gradient(180deg,rgba(0,0,0,.02) 20%,rgba(0,0,0,.28) 54%,rgba(0,0,0,.88) 100%)!important}
.home .dynamic-banner__title{inset-inline:0;bottom:24px;padding:0 clamp(16px,2vw,28px);max-width:none;box-sizing:border-box}
.home .dynamic-banner__title .wp-block-post-title{font-size:clamp(21px,2.1vw,28px)!important;line-height:1.6!important;margin-block:10px 0!important;padding-top:0!important;text-wrap:balance}
.home .dynamic-banner a:focus-visible{outline:3px solid #fcb900;outline-offset:-4px}
@media(max-width:767px){
 .home .dynamic-banner{min-height:440px}
 .home .dynamic-banner .main-banner-img{height:440px!important}
 .home .dynamic-banner__title{bottom:28px;padding-inline:20px}
 .home .dynamic-banner__title .wp-block-post-title{font-size:23px!important}
}
@media(prefers-reduced-motion:reduce){.home .dynamic-banner *{transition:none!important}}

/* The homepage lead stories use diagonal cards; images remain undistorted. */
.home .stk-395a9db{background:#23282b;padding:0 0 3px!important}
.home .stk-395a9db .stk-block-carousel__slider{gap:4px!important;scroll-padding-inline:0}
.home .stk-395a9db .stk-block-carousel__slider>*{min-width:0!important;flex:0 0 calc((100% + 88px)/3)!important;width:calc((100% + 88px)/3)!important}
.home .stk-395a9db .dynamic-banner{clip-path:polygon(52px 0,100% 0,calc(100% - 52px) 100%,0 100%);isolation:isolate}
.home .stk-395a9db .dynamic-banner__title{padding-inline:60px;bottom:28px}
.home .stk-395a9db .main-banner-img img{object-position:center;transition:transform .35s ease}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 .home .stk-395a9db .dynamic-banner:hover .main-banner-img img{transform:scale(1.035)}
}
@media(max-width:767px){
 .home .stk-395a9db{padding:6px 6px 4px!important}
 .home .stk-395a9db .stk-block-carousel__slider{gap:12px!important;scroll-snap-type:x mandatory}
 .home .stk-395a9db .stk-block-carousel__slider>*{flex-basis:88%!important;width:88%!important}
 .home .stk-395a9db .dynamic-banner{min-height:410px;clip-path:polygon(0 0,100% 0,100% calc(100% - 20px),calc(100% - 20px) 100%,0 100%);border-radius:14px 14px 0 14px}
 .home .stk-395a9db .main-banner-img{height:410px!important}
 .home .stk-395a9db .dynamic-banner__title{padding-inline:20px;bottom:30px}
 .home .stk-395a9db .dynamic-banner__title .wp-block-post-title{font-size:22px!important}
}

@media(min-width:768px){
 .home .stk-395a9db .stk-block-carousel__slider>*:not(:last-child){margin-inline-end:-48px!important}
}

/* Do not reserve a row for empty legacy carousel indicators. */
.home .stk-395a9db .stk-block-carousel__dots:empty{display:none!important}
@media(min-width:768px){.home .stk-395a9db .stk-block-carousel__dots{display:none!important}}

/* Keep the outside edges flush with the viewport; only internal seams tilt. */
@media(min-width:768px){
 .home .stk-395a9db .stk-block-carousel__slider>:first-child .dynamic-banner{clip-path:polygon(52px 0,100% 0,100% 100%,0 100%)}
 .home .stk-395a9db .stk-block-carousel__slider>:last-child .dynamic-banner{clip-path:polygon(0 0,100% 0,calc(100% - 52px) 100%,0 100%)}
}
