/* Video section — homepage */

.video-section {
    padding: 56px 0 64px;
    background: #fff;
    border-top: 1px solid #e8ecf1;
}

.video-section__head {
    margin-bottom: 32px;
}

.video-section__head .back-title {
    margin-bottom: 0;
}

.video-section__head .back-title h2 {
    margin: 0;
}

/* Featured video */
.video-featured {
    background: #fff;
    border: 1px solid #e2e6ed;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 8px 28px rgba(10, 22, 40, 0.06);
    transition: box-shadow 0.25s ease;
}

.video-featured:hover {
    box-shadow: 0 16px 40px rgba(10, 22, 40, 0.1);
}

.video-featured__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0a1628;
}

.video-featured__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease, opacity 0.3s ease;
}

.video-featured:hover .video-featured__media img {
    transform: scale(1.03);
    opacity: 0.92;
}

.video-featured__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(10, 22, 40, 0.35) 100%);
    pointer-events: none;
}

.video-featured__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(10, 22, 40, 0.72);
    backdrop-filter: blur(6px);
    padding: 6px 12px;
    border-radius: 999px;
    font-family: 'SpartanBold', sans-serif;
}

.video-featured__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
}

.video-featured__play-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0, 136, 203, 0.88);
    box-shadow: 0 8px 28px rgba(0, 136, 203, 0.45);
    transition: transform 0.25s ease, background 0.25s ease;
}

.video-featured__play-icon {
    position: relative;
    z-index: 1;
    font-size: 22px;
    margin-left: 4px;
}

.video-featured__play:hover .video-featured__play-ring {
    transform: scale(1.08);
    background: #0077b3;
}

.video-featured__body {
    padding: 24px 28px 28px;
}

.video-featured__title {
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.35;
    font-weight: 700;
    color: #0a1628;
    margin: 0 0 12px;
    font-family: 'SpartanBold', sans-serif;
}

.video-featured__desc {
    font-size: 15px;
    line-height: 1.65;
    color: #5c6578;
    margin: 0 0 16px;
    font-family: 'SpartanRegular', sans-serif;
}

.video-featured__date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #8b95a5;
    font-family: 'SpartanMedium', sans-serif;
}

.video-featured__date i {
    color: #0088cb;
    font-size: 14px;
}

/* Sidebar list */
.video-sidebar {
    background: #f7f8fa;
    border: 1px solid #e2e6ed;
    border-radius: 12px;
    padding: 20px;
    height: 100%;
}

.video-sidebar__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8b95a5;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0a1628;
    font-family: 'SpartanBold', sans-serif;
}

.video-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.video-sidebar__item {
    border-bottom: 1px solid #e8ecf1;
}

.video-sidebar__item:last-child {
    border-bottom: none;
}

.video-sidebar__link {
    display: flex;
    gap: 14px;
    padding: 14px 4px;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.video-sidebar__link:hover {
    background: #fff;
}

.video-sidebar__thumb {
    position: relative;
    width: 108px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #0a1628;
}

.video-sidebar__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.video-sidebar__link:hover .video-sidebar__thumb img {
    transform: scale(1.06);
}

.video-sidebar__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 22, 40, 0.35);
    color: #fff;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.video-sidebar__link:hover .video-sidebar__play {
    opacity: 1;
    background: rgba(0, 136, 203, 0.55);
}

.video-sidebar__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.video-sidebar__title {
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
    color: #0a1628;
    margin: 0;
    font-family: 'SpartanSemiBold', sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.video-sidebar__link:hover .video-sidebar__title {
    color: #0088cb;
}

.video-sidebar__date {
    font-size: 12px;
    color: #8b95a5;
    font-family: 'SpartanRegular', sans-serif;
}

@media (max-width: 991px) {
    .video-section {
        padding: 40px 0 48px;
    }

    .video-sidebar {
        margin-top: 8px;
    }

    .video-featured__body {
        padding: 20px;
    }
}

@media (max-width: 575px) {
    .video-featured__play {
        width: 58px;
        height: 58px;
    }

    .video-featured__play-icon {
        font-size: 18px;
    }

    .video-sidebar__thumb {
        width: 96px;
        height: 64px;
    }
}
