/* Scoped to the carousel and its preview; the original stylesheet is untouched. */
.hero-swiper [data-pp-slide] .contentSwiperSlide {background:transparent; align-items:flex-start; z-index:2;}
.hero-swiper [data-pp-slide] [data-pp-overlay] {position:absolute;inset:0;z-index:1;pointer-events:none;}
.hero-swiper [data-pp-slide][data-overlay="legacy"] [data-pp-overlay] {background:rgba(0,0,0,.15);}
.hero-swiper [data-pp-slide][data-overlay="dark"] {--pp-overlay-rgb:0,0,0;}
.hero-swiper [data-pp-slide][data-overlay="light"] {--pp-overlay-rgb:255,255,255;}
.hero-swiper [data-pp-slide]:is([data-overlay="dark"],[data-overlay="light"]) [data-pp-overlay] {background:linear-gradient(to right,rgba(var(--pp-overlay-rgb),var(--pp-opacity,.45)) 0%,rgba(var(--pp-overlay-rgb),var(--pp-opacity,.45)) 27%,rgba(var(--pp-overlay-rgb),0) 78%);}
.hero-swiper [data-pp-slide] [data-pp-title] {color:var(--pp-title,#fff);overflow-wrap:anywhere;}
.hero-swiper [data-pp-slide] [data-pp-subtitle] {color:var(--pp-subtitle,#fff);overflow-wrap:anywhere;}
.hero-swiper [data-pp-slide][data-shadow="1"] [data-pp-title] {text-shadow:0 1px 3px var(--pp-title-shadow),0 3px 12px var(--pp-title-shadow);}
.hero-swiper [data-pp-slide][data-shadow="1"] [data-pp-subtitle] {text-shadow:0 1px 3px var(--pp-subtitle-shadow),0 3px 12px var(--pp-subtitle-shadow);}
.hero-swiper [data-pp-slide] [data-pp-title],.hero-swiper [data-pp-slide] [data-pp-subtitle] {max-width:55%;}
/* Mobile art direction: match the optional 4:5 artwork, text at the bottom. */
@media (max-width:767.98px) {
  .hero-swiper:not([data-pp-preview]) {height:auto;aspect-ratio:4/5;}
  .hero-swiper:not([data-pp-preview]) [data-pp-slide] .hero-bg {object-position:var(--pp-position,50%) center;}
  .hero-swiper:not([data-pp-preview]) [data-pp-slide] .contentSwiperSlide {justify-content:flex-end;align-items:center;text-align:center;padding:0 5% 8%;}
  .hero-swiper:not([data-pp-preview]) [data-pp-slide] :is([data-pp-title],[data-pp-subtitle]) {max-width:100%;margin-bottom:0;}
  .hero-swiper:not([data-pp-preview]) [data-pp-slide] [data-pp-title] {font-size:clamp(1.9rem,8vw,3.2rem)!important;}
  .hero-swiper:not([data-pp-preview]) [data-pp-slide] [data-pp-subtitle] {font-size:clamp(1.1rem,4.6vw,1.8rem);margin-top:.35rem!important;}
  .hero-swiper:not([data-pp-preview]) [data-pp-slide] .btnSlider {margin-top:.65rem;}
  .hero-swiper:not([data-pp-preview]) [data-pp-slide]:is([data-overlay="dark"],[data-overlay="light"]) [data-pp-overlay] {background:linear-gradient(to top,rgba(var(--pp-overlay-rgb),var(--pp-opacity,.45)) 0%,rgba(var(--pp-overlay-rgb),var(--pp-opacity,.45)) 30%,rgba(var(--pp-overlay-rgb),0) 75%);}
}
/* Previews intentionally use a fixed sample aspect ratio and scale text with the panel. */
.hero-swiper[data-pp-preview] {height:auto;aspect-ratio:1920/900;position:relative;container-type:inline-size;background:#aaa;overflow:hidden;}
.hero-swiper[data-pp-preview="mobile"] {aspect-ratio:4/5;}
.hero-swiper[data-pp-preview] [data-pp-slide] {position:absolute;inset:0;height:100%;}
.hero-swiper[data-pp-preview] [data-pp-slide] .contentSwiperSlide {padding:0 4%;}
.hero-swiper[data-pp-preview] [data-pp-title] {font-size:3.75cqw!important;line-height:1.1;margin-bottom:0;}
.hero-swiper[data-pp-preview] [data-pp-subtitle] {font-size:1.67cqw;line-height:1.2;margin-top:1cqw!important;margin-bottom:0;}
.hero-swiper[data-pp-preview] .btnSlider {margin-top:2cqw;padding:0 2cqw;}
.hero-swiper[data-pp-preview] .btnSliderLink {font-size:1.6cqw;padding:1cqw;}
.hero-swiper[data-pp-preview="mobile"] [data-pp-slide] .hero-bg {object-position:var(--pp-position,50%) center;}
.hero-swiper[data-pp-preview="mobile"] [data-pp-slide] .contentSwiperSlide {justify-content:flex-end;align-items:center;text-align:center;padding:0 5% 8%;}
.hero-swiper[data-pp-preview="mobile"] [data-pp-title] {font-size:8cqw!important;max-width:100%;}
.hero-swiper[data-pp-preview="mobile"] [data-pp-subtitle] {font-size:4.6cqw;max-width:100%;}
.hero-swiper[data-pp-preview="mobile"] .btnSliderLink {font-size:3cqw;}
.hero-swiper[data-pp-preview="mobile"] [data-pp-slide]:is([data-overlay="dark"],[data-overlay="light"]) [data-pp-overlay] {background:linear-gradient(to top,rgba(var(--pp-overlay-rgb),var(--pp-opacity,.45)) 0%,rgba(var(--pp-overlay-rgb),var(--pp-opacity,.45)) 30%,rgba(var(--pp-overlay-rgb),0) 75%);}

/* Keep the previews and their controls visible together in the slider editor. */
[data-slider-editor] [data-pp-preview="mobile"] {max-width:230px;margin-inline:auto;}
[data-slider-editor] [data-pp-preview="desktop"] {max-width:100%;}
[data-slider-editor] [data-pp-controls] {min-width:0;}
[data-slider-editor] [data-pp-preview] [hidden] {display:none!important;}
@media (min-width:992px) { dialog:has(> form[data-slider-editor]) {width:96%;max-width:1500px;} }
