.features-videos {
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    width: 100%;
    padding: 48px 0;
    gap: 32px;

    background: radial-gradient(50% 50% at 50% 50%,
            var(--dark-blue) 0%,
            var(--dark-navy) 100%);
}

.features-videos__title {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: 0.32px;
}

.features-videos__slide {
    flex: 0 0 320px;
    aspect-ratio: 16 / 9;

    margin: 0 0 0 24px;

    border-radius: 32px;

    cursor: pointer;
}

.features-videos__slide-card {
    overflow: hidden;
    position: relative;
    height: 100%;
    width: 100%;
}

.features-videos__slide-card-background {
    position: absolute;
    z-index: 1;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.features-videos__slide-card-title {
    position: absolute;
    overflow: hidden;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;

    display: flex;
    align-items: center;
    padding: 8px 16px;
    min-height: 64px;

    border-radius: 0 0 32px 32px;

    background: linear-gradient(180deg,
            var(--dark-navy-0) 3.64%,
            var(--dark-navy-32) 100%);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.features-videos__slide-card-title-text {
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--white);
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    line-height: 140%;
}

.features-videos__slide-card-icon-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 100px;
    background: var(--black-72);
}

.features-videos__slide-card-icon {
    width: 56px;
    height: 56px;
}

.features-videos__button {
    background-color: var(--white);
}

.features-videos__button:hover {
    cursor: pointer;
}

.features-videos__controls {
    display: none;
}

@media (min-width: 700px) {
    .features-videos {
        padding: 72px 0;
        gap: 48px;
    }

    .features-videos__title {
        font-size: 32px;
        line-height: 160%;
        letter-spacing: 0.96px;
    }

    .features-videos__slide {
        flex: 0 0 460px;
    }
}

@media (min-width: 1200px) {
    .features-videos {
        padding: 96px 0;
    }

    .features-videos__title {
        font-size: 32px;
    }

    .features-videos__slide {
        margin: 0;
        padding: 8px 12px;
        border: unset;
    }

    .features-videos__slide-card {
        border-radius: 32px;
    }

    .features-videos__slide:hover .features-videos__slide-card {
        transition: transform 0.3s ease;
        transform: scale(1.05);
    }

    .features-videos__controls {
        display: flex;
        height: 100%;
    }

    .features-videos__button-wrapper {
        display: flex;
        align-items: center;
        opacity: 0;
        height: 100%;
        width: 300px;
        pointer-events: all;
    }

    .features-videos__button-wrapper:hover {
        opacity: 1;
        transition: all 0.3s ease-in-out;
    }

    .features-videos__button-wrapper--prev {
        justify-content: flex-start;
        padding: 0 0 0 32px;
        background: linear-gradient(to right, var(--dark-navy-56) 10%, var(--dark-navy-0) 80%);
    }

    .features-videos__button-wrapper--next {
        justify-content: flex-end;
        padding: 0 32px 0 0;
        background: linear-gradient(to left, var(--dark-navy-56) 10%, var(--dark-navy-0) 80%);
    }
}

@media (min-width: 1800px) {
    .features-videos {
        padding: 188px 0;
    }

    .features-videos__title {
        font-size: 48px;
    }
}