/* ============================================================
   BH Video Featured Section
   ============================================================ */

.bh-video-featured {
    padding: 70px 0;
    background-color: #f3f4fb !important;
}

/* ── Featured block ── */
.bh-vff {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

/* Thumbnail */
.bh-vff__thumb {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #000;
    cursor: pointer;
}

.bh-vff__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.bh-vff__thumb:hover img {
    transform: scale(1.03);
}
.bh-section-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 58px;
}
.bh-section-head__title{
    font-family: var(--font-family);
font-weight: 600;
font-size: 42px;
line-height: 119%;
color: #0c0c0c;
margin: 0; 
}
.bh-section-head__more{
    font-family: var(--font-family);
font-weight: 600;
font-size: 24px;
line-height: 133%;
background: linear-gradient(90deg, #2c5cd8 0%, #366eff 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.bh-vff__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    line-height: 0;
    transition: transform 0.2s;
}

.bh-vff__thumb:hover .bh-vff__play {
    transform: translate(-50%, -50%) scale(1.08);
}

/* Info */
.bh-vff__info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bh-vff__labels {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.bh-vff__title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 32px;
    line-height: 1.25;
    color: var(--text);
    margin: 0;
}

.bh-vff__meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bh-vff__date,
.bh-vff__author {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    color: var(--grey-3);
}

/* ── Video row (3 items) ── */
.bh-vf-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.bh-vf-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    padding: 24px 24px 24px 0;
    border-right: 1px solid var(--grey-2);
    cursor: pointer;
}

.bh-vf-item:last-child {
    border-right: none;
    padding-right: 0;
    padding-left: 24px;
}

.bh-vf-item:not(:first-child):not(:last-child) {
    padding-left: 24px;
}

.bh-vf-item__play {
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    line-height: 0;
    transition: opacity 0.2s;
}

.bh-vf-item:hover .bh-vf-item__play {
    opacity: 0.75;
}

.bh-vf-item__body {
    flex: 1;
    min-width: 0;
}

.bh-vf-item__title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    color: var(--text);
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.bh-vf-item:hover .bh-vf-item__title {
    color: var(--blue-1);
}

.bh-vf-item__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 13px;
    color: var(--grey-3);
}

.bh-vf-item__duration {
    flex-shrink: 0;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    color: var(--grey-3);
    white-space: nowrap;
    align-self: center;
}

/* ── Video Modal ── */
.bh-video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s, visibility 0.25s;
}

.bh-video-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.bh-video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.bh-video-modal__box {
    position: relative;
    width: 90vw;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.bh-video-modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 0;
    z-index: 1;
}

.bh-video-modal__player {
    width: 100%;
    height: 100%;
}

.bh-video-modal__player iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
    .bh-vff {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .bh-video-featured {
        padding: 40px 0;
    }

    .bh-vff__title {
        font-size: 24px;
    }

    .bh-vf-row {
        grid-template-columns: 1fr;
    }

    .bh-vf-item {
        border-right: none;
        border-bottom: 1px solid var(--grey-2);
        padding: 16px 0;
    }

    .bh-vf-item:last-child {
        border-bottom: none;
        padding-left: 0;
    }

    .bh-vf-item:not(:first-child):not(:last-child) {
        padding-left: 0;
    }
    .bh-section-head__title{
        font-size: 32px;
line-height: 138%;
    }
    .bh-section-head__more{
        font-size: 24px;
line-height: 133%;
    }
}
