/* Hero banner card shell (shared between slides) */
.hero-banner-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    min-height: 333px;
    background: var(--hero-gradient-banner);
    animation: heroFadeUp 2.6s cubic-bezier(0.08, 0.82, 0.17, 1) 1.1s both;
}
.hero-banner-copy {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 37px 80px 0;
    color: var(--hero-white);
}

.hero-banner-copy h3 {
    font-size: 32px;
    font-weight: 800;
    line-height: 100%;
    letter-spacing: -0.03em;
    margin: 0 0 12px;
}
.hero-banner-copy p {
    font-size: 20px;
    font-weight: 500;
    line-height: 115%;
    letter-spacing: -0.03em;
    margin: 0 auto;
    text-align: center;
    max-width: 350px;
}
@property --rotate-transform {
    syntax: "<angle>";
    initial-value: 0rad;
    inherits: false;
}
.hero-banner-slide-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 333px;
    object-fit: cover;
    object-position: center;
}

.hero-banner-arrow,
.hero-banner-back {
    position: absolute;
    top: 50%;
    width: 39px;
    height: 39px;
    z-index: 12;
    cursor: pointer;
    transform: translateY(-50%);
    transition: opacity 0.35s ease;
}

.hero-banner-arrow {
    right: 14px;
}

.hero-banner-card.is-slide-2 .hero-banner-arrow {
    opacity: 0;
    pointer-events: none;
}

.hero-banner-back {
    left: 14px;
}

.hero-banner-arrow img,
.hero-banner-back img {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-banner-back img {
    transform: rotate(180deg);
}

.hero-banner-card.is-slide-2 .hero-banner-slide-1 {
    visibility: hidden;
}

.hero-banner-card.is-slide-2 .hero-banner-slide-1,
.hero-banner-card.is-slide-2 .hero-banner-slide-1 * {
    animation-play-state: paused;
}

@media (max-width: 1344px) {
    .hero-banner-card {
        order: 3;
        min-height: 277px;
        border-radius: 20px;
    }

    .hero-banner-slide-1 {
        min-height: 277px;
        height: 277px;
    }

    .hero-banner-copy {
        padding: 32px 44px 0;
    }

    .hero-banner-copy h3 {
        font-size: 30px;
    }
    .hero-banner-arrow,
    .hero-banner-back {
        width: 30px;
        height: 30px;
    }

}

@media (max-width: 651px) {
    .hero-banner-card {
        min-height: 152px;
    }

    .hero-banner-slide-1 {
        min-height: 152px;
        height: 152px;
    }

    .hero-banner-copy {
        padding: 17px 10px 0;
    }

    .hero-banner-copy h3 {
        font-size: 16px;
        margin: 0 0 6px;
    }

    .hero-banner-copy p {
        font-size: 10px;
    }

}
