.skill-feature-carousel {
    background: var(--corp-color-surface);
    overflow: hidden;
    margin: 70px 0 123px 0;
}

.skill-feature-carousel__carousel {
    position: relative;
}

.skill-feature-carousel__card {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.skill-feature-carousel__picture,
.skill-feature-carousel__picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skill-feature-carousel__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(211deg,
            rgb(23 28 143 / 0%) 6.72%,
            rgb(23 28 143 / 55%) 89.91%);
    pointer-events: none;
}

.skill-feature-carousel__content {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 96px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 56px;
    color: var(--corp-color-white);
}

.skill-feature-carousel__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skill-feature-carousel__header :is(h1, h2, h3, h4, h5, h6, p) {
    display: block;
    margin: 0;
    font-size: var(--corp-type-mobile-display-3-font-size);
    line-height: var(--corp-type-mobile-display-5-line-height);
    font-weight: var(--fw-400);
}

.skill-feature-carousel__title :is(h1, h2, h3, h4, h5, h6, p) {
    margin: 0;
    font-size: var(--corp-type-mobile-heading-2-medium-font-size);
    line-height: var(--corp-type-mobile-heading-2-medium-line-height);
    font-weight: var(--fw-500);
}

.skill-feature-carousel__description :is(h1, h2, h3, h4, h5, h6, p) {
    color: rgb(255 255 255 / 80%);
    font-size: var(--corp-type-mobile-body-1-font-size);
    line-height: var(--corp-type-mobile-body-2-line-height);
    font-weight: var(--fw-500);
}

.skill-feature-carousel__features {
    display: none;
}

.skill-feature-carousel__disclaimer {
    padding: 27px;
    background: var(--corp-color-white);
    text-align: center;
    font-size: var(--corp-type-mobile-body-xs-font-size);
    font-weight: var(--fw-500);
    line-height: var(--corp-type-mobile-body-xss-line-height);
    color: var(--corp-color-neutral-black);
}

.skill-feature-carousel .splide__pagination {
    position: absolute;
    z-index: 3;
    bottom: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    border: none;
}

.skill-feature-carousel .splide__pagination__page {
    width: 8px;
    height: 8px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgb(255 255 255 / 40%);
    opacity: 1;
    transition: width 200ms ease, height 200ms ease, background 200ms ease;
}

.skill-feature-carousel .splide__pagination__page.is-active {
    width: 11px;
    height: 11px;
    background: var(--corp-color-white);
    padding: 0;
    transform: none;
}

@media (width >=768px) {
    .skill-feature-carousel {
        padding: 186px 32px;
        margin: 0;
    }

    .skill-feature-carousel__carousel {
        min-height: 720px;
        border-radius: 20px;
        overflow: hidden;
    }

    .skill-feature-carousel__card {
        height: 720px;
    }

    .skill-feature-carousel__picture img {
        object-fit: cover;
    }

    .skill-feature-carousel__content {
        left: 56px;
        right: 56px;
        bottom: 320px;
        margin-bottom: 20px;
    }

    .skill-feature-carousel__header :is(h1, h2, h3, h4, h5, h6, p) {
        font-size: var(--corp-type-desktop-heading-xxl-font-size);
        line-height: var(--corp-type-desktop-caption-6-line-height);
        font-weight: var(--fw-400);
        letter-spacing: -1.5px;
    }

    .skill-feature-carousel__body {
        display: none;
    }

    .skill-feature-carousel__features {
        position: absolute;
        left: 56px;
        right: 56px;
        bottom: 59px;
        z-index: 3;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        row-gap: 24px;
        column-gap: 30px;
    }


    .skill-feature-carousel__progress {
        grid-column: 1 / -1;
        display: flex;
        gap: 30px;
    }

    .skill-feature-carousel__seg {
        position: relative;
        flex: 1;
        height: 2px;
        overflow: hidden;
        background: rgb(255 255 255 / 25%);
    }

    .skill-feature-carousel__seg-fill {
        display: block;
        width: 100%;
        height: 100%;
        background: var(--corp-color-white);
        transform: scaleX(0);
        transform-origin: left center;
        transition: none;
        will-change: transform;
    }

    .skill-feature-carousel__feature-card {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 10px;
        background: transparent;
        border: 0;
        color: var(--corp-color-white);
        text-align: left;
        cursor: pointer;
        opacity: 0.45;
        transition: opacity 300ms ease;
    }

    .skill-feature-carousel__feature-card:hover {
        opacity: 0.75;
    }

    .skill-feature-carousel__feature-card.is-active {
        opacity: 1;
    }

    .skill-feature-carousel__feature-title {
        margin-bottom: 12px;
    }

    .skill-feature-carousel__feature-title :is(h1, h2, h3, h4, h5, h6, p) {
        margin: 0;
        color: inherit;
        font-size: var(--corp-type-tablet-heading-xl-font-size);
        line-height: var(--corp-type-tablet-display-4xl-line-height);
        font-weight: var(--fw-500);
    }

    .skill-feature-carousel__feature-description :is(h1, h2, h3, h4, h5, h6, p) {
        color: rgb(255 255 255 / 80%);
        font-size: var(--corp-type-desktop-caption-1-font-size);
        line-height: var(--corp-type-desktop-body-xs-line-height);
        letter-spacing: -0.42px;
    }

    .skill-feature-carousel__feature-video-label {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 10px;
        background: none;
        border: 0;
        padding: 0;
        color: var(--corp-color-white);
        font-size: var(--corp-type-desktop-body-2-font-size);
        line-height: var(--corp-type-desktop-body-2-line-height);
    }

    .skill-feature-carousel__feature-video-label::before {
        content: '';
        width: 14px;
        height: 14px;
        background: url('/corporate/icons/play_btn-rounded.svg') no-repeat center / contain;
    }

    .skill-feature-carousel .splide__pagination {
        display: none;
    }

    .skill-feature-carousel__disclaimer {
        padding-top: 30px;
        background: transparent;
        font-size: var(--corp-type-desktop-body-xs-font-size);
        line-height: var(--corp-type-desktop-disclaimer-line-height);
        letter-spacing: -0.18px;
        opacity: 0.8;
    }
}

@media (width >=1200px) {
    .skill-feature-carousel {
        padding: 120px 60px;
    }

    .skill-feature-carousel__feature-title :is(h1, h2, h3, h4, h5, h6, p) {
        margin: 0;
        color: inherit;
        font-size: var(--corp-type-desktop-heading-2-font-size);
        line-height: var(--corp-type-desktop-heading-2-line-height);
        font-weight: var(--fw-400);
    }
}

.skill-feature-carousel__watch-video-btn {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    width: fit-content;
    background: transparent;
    border: 0;
    padding: 0;
    color: var(--corp-color-white);
    cursor: pointer;
    font-size: var(--corp-type-mobile-heading-2-medium-font-size);
    line-height: var(--corp-type-mobile-heading-2-medium-line-height);
    font-weight: var(--fw-500);
}

.skill-feature-carousel__watch-video-btn::before {
    content: '';
    width: 14px;
    height: 14px;
    background: url('/corporate/icons/play_btn-rounded.svg') no-repeat center / contain;
}


body:has(.skill-feature-carousel__video-dialog[open]) {
    overflow: hidden;
}

.skill-feature-carousel__video-dialog {
    width: 95vw;
    height: 90vh;
    padding: 0;
    background: transparent;
    border: 0;
}

.skill-feature-carousel__video-dialog::backdrop {
    background: var(--corp-color-overlay-black-70);
}

.skill-feature-carousel__video-dialog-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--corp-color-neutral-black);
    border-radius: 22px;
}

.skill-feature-carousel__video-dialog-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    background: transparent url('/corporate/icons/video-close.svg') center / 16px 16px no-repeat;
}

.skill-feature-carousel__video-dialog-player {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}