.home-video-section {
    margin-top: 8px;
}

.home-video-section__nav-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15, 23, 39, 0.1);
    border-radius: 999px;
    background: #fff;
    color: #172033;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.14);
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.home-video-section__nav-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    background: #172033;
    border-color: #172033;
    color: #fff;
}

.home-video-section__nav-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.home-video-slider {
    margin-top: 20px;
    position: relative;
    overflow: visible;
}

.home-video-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.home-video-section__nav-btn--prev,
.home-video-section__nav-btn--next {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
}

.home-video-section__nav-btn--prev:hover:not(:disabled),
.home-video-section__nav-btn--next:hover:not(:disabled) {
    transform: translateY(-50%) scale(1.02);
}

.home-video-section__nav-btn--prev {
    left: 0;
    margin-left: -21px;
}

.home-video-section__nav-btn--next {
    right: 0;
    margin-right: -21px;
}

.home-video-track::-webkit-scrollbar {
    display: none;
}

.home-video-card {
    min-width: 0;
    flex: 0 0 calc((100% - 64px) / 4.5);
    scroll-snap-align: start;
}

.home-video-card__media {
    position: relative;
    overflow: hidden;
    border-radius: var(--main-border-radius);
    background: #f4f4f4;
    aspect-ratio: 9 / 16;
}

.home-video-card__poster,
.home-video-card__player {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #f4f4f4;
}

.home-video-card__poster-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(15, 23, 39, 0.46);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-video-card__youtube {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.home-video-card__youtube iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.home-video-card__play {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 39, 0.72);
    color: #fff;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.home-video-card__play:hover {
    transform: translate(-50%, -50%) scale(1.04);
    background: rgba(15, 23, 39, 0.82);
}

.home-video-card.is-playing .home-video-card__play {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 1180px) {
    .home-video-card {
        flex-basis: calc((100% - 32px) / 3);
    }
}

@media (max-width: 760px) {
    .home-video-card {
        flex-basis: calc((100% - 12px) / 2);
    }

    .home-video-track {
        gap: 12px;
    }
}

@media (max-width: 560px) {
    .home-video-card {
        flex-basis: 78%;
    }

    .home-video-section__nav-btn {
        width: 36px;
        height: 36px;
    }

    .home-video-section__nav-btn--prev {
        margin-left: -18px;
        display: none;
    }

    .home-video-section__nav-btn--next {
        margin-right: 0px;
        display: none;
    }
}
