.hbc-video {
    /* background: #d8dde6;
    padding: 24px; */
}

.hbc-video-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 514px;
    gap: 22px;
    background: var(--hbc-secondary-bg);
    padding: 39px;
        margin-bottom: 5%;
}

.hbc-video-main-player {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    background: #111;
}

.hbc-video-main-title {
    margin: 10px 0 0;
    font-size: 2rem;
    color: #2d2d2d;
}

.hbc-video-side {
    display: grid;
    gap: 16px;
}

.hbc-video-side-item,
.hbc-video-grid-item {
    display: grid;
    gap: 8px;
}

.hbc-video-side-thumb,
.hbc-video-grid-thumb {
    width: 100%;
    display: block;
    object-fit: cover;
    background: #c5ccd8;
}

.hbc-video-side-thumb {
    aspect-ratio: 16 / 9;
}

.hbc-video-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.hbc-video-grid-thumb {
    aspect-ratio: 16 / 10;
}

.hbc-video-thumb-fallback {
    background: linear-gradient(135deg, #adb9ca, #ced6e1);
}

.hbc-video-item-title {
    margin: 0;
    color: #1f1f1f;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 400;
}

.hbc-video-more-wrap {
    margin: 14px 0 0;
    text-align: center;
}

.hbc-video-more {
    color: #1f6fd6;
    text-decoration: underline;
    font-size: 0.95rem;
}

@media (max-width: 980px) {
    .hbc-video-top {
        grid-template-columns: 1fr;
    }

    .hbc-video-side {
        grid-template-columns: 1fr 1fr;
    }

    .hbc-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hbc-video-main-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 640px) {
    .hbc-video {
        padding: 14px;
    }

    .hbc-video-side,
    .hbc-video-grid {
        grid-template-columns: 1fr;
    }
}
