.cb-hero-slider {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    height: min(780px, calc(100vh - 76px));
    min-height: 620px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
    background: #e9edf5;
}

/* Individual Slides */

.cb-hero-slider .cb-hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .7s ease, visibility .7s ease;
}

.cb-hero-slider .cb-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

/* Image */

.cb-hero-slider .cb-hero-slide > a {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.cb-hero-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    border: 0;
    border-radius: 0;
    transform: scale(1.015);
    transition: transform 7s ease;
}

.cb-hero-slide.is-active .cb-hero-image {
    transform: scale(1.07);
}

/* Image Overlay */

.cb-hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(247,248,252,.98) 0%,
        rgba(247,248,252,.94) 30%,
        rgba(247,248,252,.78) 49%,
        rgba(247,248,252,.28) 73%,
        rgba(247,248,252,.08) 100%
    );
    pointer-events: none;
}

/* Content */

.cb-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 90%;
    max-width: 1240px;
    height: 100%;
    margin: 0 auto;
    padding: 55px 0 85px;
}

.cb-hero-kicker {
    display: inline-block;
    margin-bottom: 22px;
    color: #5146e5;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.cb-hero-content h1 {
    max-width: 690px;
    margin: 0 0 22px;
    color: #172033;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(44px, 5.4vw, 76px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -3.4px;
}

.cb-hero-content h1 em {
    color: #5146e5;
    font-style: normal;
}

.cb-hero-content p {
    max-width: 560px;
    margin: 0 0 30px;
    color: #56627a;
    font-size: 17px;
    line-height: 1.75;
}

/* Buttons */

.cb-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.cb-hero-actions .fa {
    margin-left: 9px;
}

/* Slide Number */

.cb-hero-number {
    position: absolute;
    left: 0;
    bottom: 37px;
    color: #172033;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
}

.cb-hero-number small {
    color: #818ba0;
    font-size: 12px;
    font-weight: 600;
}

/* Bottom Pagination */

.cb-hero-bottom {
    position: absolute;
    z-index: 5;
    right: 5%;
    bottom: 38px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.cb-hero-progress {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cb-hero-dot {
    position: relative;
    display: block;
    width: 36px;
    height: 5px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 10px;
    background: rgba(81,70,229,.22);
    cursor: pointer;
    appearance: none;
}

.cb-hero-dot span {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: inherit;
    background: #5146e5;
    transition: width 6s linear;
}

.cb-hero-dot.is-active span {
    width: 100%;
}

.cb-hero-dot:focus-visible {
    outline: 2px solid #5146e5;
    outline-offset: 4px;
}

.cb-hero-caption {
    color: #59647a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

/* Tablet */

@media(max-width: 991px) {
    .cb-hero-slider {
        height: 740px;
        min-height: 650px;
    }

    .cb-hero-content {
        width: 88%;
    }

    .cb-hero-content h1 {
        max-width: 620px;
        font-size: clamp(43px, 6.5vw, 64px);
    }

    .cb-hero-shade {
        background: linear-gradient(
            90deg,
            rgba(247,248,252,.98) 0%,
            rgba(247,248,252,.91) 48%,
            rgba(247,248,252,.45) 100%
        );
    }
}

/* Mobile */

@media(max-width: 767px) {
    .cb-hero-slider {
        height: 760px;
        min-height: 680px;
    }

    .cb-hero-image {
        object-position: 62% center;
    }

    .cb-hero-shade {
        background: linear-gradient(
            180deg,
            rgba(247,248,252,.98) 0%,
            rgba(247,248,252,.94) 43%,
            rgba(247,248,252,.70) 73%,
            rgba(247,248,252,.36) 100%
        );
    }

    .cb-hero-content {
        justify-content: flex-start;
        width: 88%;
        padding: 82px 0 100px;
    }

    .cb-hero-kicker {
        font-size: 10px;
        letter-spacing: 1.5px;
        margin-bottom: 18px;
    }

    .cb-hero-content h1 {
        max-width: 540px;
        margin-bottom: 18px;
        font-size: clamp(39px, 9.5vw, 53px);
        line-height: 1.06;
        letter-spacing: -2.4px;
    }

    .cb-hero-content p {
        max-width: 490px;
        font-size: 15px;
        line-height: 1.65;
    }

    .cb-hero-actions {
        gap: 9px;
    }

    .cb-hero-actions a {
        font-size: 10px;
        padding: 12px 15px;
    }

    .cb-hero-number {
        bottom: 28px;
    }

    .cb-hero-bottom {
        right: 6%;
        bottom: 29px;
    }

    .cb-hero-caption {
        display: none;
    }
}

/* Small Mobile */

@media(max-width: 420px) {
    .cb-hero-slider {
        height: 730px;
        min-height: 660px;
    }

    .cb-hero-content {
        padding-top: 68px;
    }

    .cb-hero-content h1 {
        font-size: 39px;
    }

    .cb-hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Accessibility */

@media(prefers-reduced-motion: reduce) {
    .cb-hero-slider .cb-hero-slide,
    .cb-hero-image,
    .cb-hero-dot span {
        transition: none;
    }
}