/* Campaign images are decorative; each slide link supplies its accessible name. */
picture.shocx-home-hero__slide-image {
    display: block;
}

.shocx-home-hero__slide-image > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

picture.shocx-home-hero__slide-image::after {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0) 55%);
}

.shocx-home-hero__slide-title em {
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 600px) {
    .shocx-home-hero__slide {
        min-height: 380px;
    }

    .shocx-home-hero__slide-overlay {
        padding: 24px;
    }

    .shocx-home-hero__slide-title {
        font-size: clamp(28px, 8vw, 40px);
        max-width: 17ch;
        line-height: 1.03;
    }
}

.shocx-home-hero__slide-image--video::after {
    z-index: 1;
    background: linear-gradient(0deg, rgba(11, 22, 37, 0.78), rgba(11, 22, 37, 0) 54%);
}

.shocx-home-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

.shocx-home-hero__video.is-ready {
    opacity: 1;
}

@media (max-width: 600px) {
    .shocx-home-hero__slide--alpine img,
    .shocx-home-hero__slide--alpine video {
        object-position: 68% center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shocx-home-hero__video.is-ready {
        opacity: 0;
    }
}
