.aeis-carousel-hero { position: relative !important; isolation: isolate; overflow: hidden; background-image: none !important; }
.aeis-carousel-hero::before, .aeis-carousel-hero::after { background-image: none !important; }
.aeis-carousel-hero > :not(.aeis-hero-background):not(.aeis-hero-dim) { position: relative; z-index: 3; }
.aeis-hero-background { position:absolute!important; inset:0!important; overflow:hidden; z-index:0!important; pointer-events:none; }
.aeis-hero-background .aeis-photo { position:absolute; inset:0; background-size:cover; background-position:center; background-repeat:no-repeat; opacity:0; transition:opacity 800ms ease-in-out; transform:translateZ(0); }
.aeis-hero-background .aeis-photo.aeis-visible {opacity:1;}
.aeis-hero-dim { position:absolute!important; inset:0!important; z-index:1!important; pointer-events:none; background:linear-gradient(100deg, rgba(255,255,255,.43) 0%,rgba(255,255,255,.35) 55%,rgba(255,255,255,.28) 100%); }
@media (prefers-reduced-motion:reduce) { .aeis-hero-background .aeis-photo {transition:none;} }

/* Portada clara: conservar contraste legible sobre la capa blanca. */
.aeis-carousel-hero h1, .aeis-carousel-hero h2, .aeis-carousel-hero h3, .aeis-carousel-hero p {color:#102e48!important;text-shadow:none!important;}
.aeis-carousel-hero .hero-eyebrow, .aeis-carousel-hero .hero-kicker, .aeis-carousel-hero .eyebrow, .aeis-carousel-hero small {color:#184a66!important;text-shadow:none!important;}
.aeis-carousel-hero a[class*="btn"], .aeis-carousel-hero a[class*="button"], .aeis-carousel-hero button {color:#fff!important;}
