.vd-section {
    padding: 36px 0 70px;
    background: #363636;
    font-family: 'Raleway', 'Rawline', Arial, sans-serif;
    color: #fff;
}

.vd-section * {
    box-sizing: border-box;
}

.vd-section a {
    text-decoration: none;
}

.vd-shell {
    width: 100%;
    max-width: 1428px;
    margin: 0 auto;
    padding: 0 24px;
}

/* cabecalho */
.vd-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
}

.vd-title {
    margin: 0;
    font-size: clamp(1.9rem, 2.9vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
}

.vd-mais {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 44px;
    padding: 0 26px;
    font-size: clamp(0.95rem, 1.2vw, 1.2rem);
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    color: #fff;
    border: 1.5px solid #fff;
    border-radius: 999px;
    transition: background 160ms ease, color 160ms ease;
}

    .vd-mais:hover {
        color: #363636;
        background: #fff;
    }

/* miniatura com botao play */
.vd-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #222;
    cursor: pointer;
}

    .vd-thumb img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 400ms ease;
    }

    .vd-thumb::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0,0,0,.35), rgba(0,0,0,0) 55%);
        pointer-events: none;
    }

    .vd-thumb:hover img {
        transform: scale(1.03);
    }

.vd-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.32);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    transition: background 200ms ease, transform 200ms ease;
    pointer-events: none;
}

    .vd-play svg {
        width: 36%;
        height: 36%;
        margin-left: 4px;
        fill: #fff;
    }

.vd-thumb:hover .vd-play {
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%) scale(1.06);
}

.vd-click {
    position: absolute;
    inset: 0;
    z-index: 3;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

/* destaque */
.vd-principal {
    display: grid;
    grid-template-columns: minmax(0, 731fr) minmax(0, 597fr);
    gap: 44px;
    align-items: start;
}

.vd-principal-titulo {
    margin: 0 0 24px;
    font-size: clamp(1.7rem, 2.9vw, 2.75rem);
    font-weight: 600;
    line-height: 1.15;
    color: #fff;
}

    .vd-principal-titulo a {
        color: inherit;
        cursor: pointer;
    }

.vd-principal-desc {
    margin: 0 0 32px;
    font-size: clamp(1rem, 1.6vw, 1.6rem);
    font-weight: 400;
    line-height: 1.25;
    color: #ececec;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vd-data {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
}

/* outros videos */
.vd-lista {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 44px;
    margin-top: 88px;
}

.vd-item .vd-play {
    width: 48px;
    height: 48px;
}

.vd-item-titulo {
    margin: 14px 0 6px;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

    .vd-item-titulo a {
        color: inherit;
        cursor: pointer;
    }

.vd-item .vd-data {
    font-size: 0.72rem;
    font-weight: 600;
    color: #e4e4e4;
}

/* tablet */
@media (max-width: 991px) {
    .vd-section {
        padding: 28px 0 50px;
    }

    .vd-mais {
        min-width: 130px;
        height: 40px;
    }

    .vd-principal {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .vd-principal-titulo {
        margin-bottom: 14px;
    }

    .vd-principal-desc {
        margin-bottom: 18px;
        -webkit-line-clamp: 4;
    }

    .vd-lista {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 24px;
        margin-top: 44px;
    }
}

/* celular */
@media (max-width: 599px) {
    .vd-section {
        padding: 24px 0 40px;
    }

    .vd-shell {
        padding: 0 16px;
    }

    .vd-header {
        margin-bottom: 18px;
    }

    .vd-title {
        font-size: 1.7rem;
    }

    .vd-mais {
        min-width: 0;
        height: 36px;
        padding: 0 16px;
        font-size: 0.88rem;
    }

    .vd-play {
        width: 60px;
        height: 60px;
    }

    .vd-principal-titulo {
        font-size: 1.45rem;
    }

    .vd-principal-desc {
        font-size: 0.98rem;
        -webkit-line-clamp: 3;
    }

    /* carrossel horizontal com espiada do proximo video */
    .vd-lista {
        display: flex;
        gap: 14px;
        margin: 32px -16px 0;
        padding: 0 16px 6px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 16px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

        .vd-lista::-webkit-scrollbar {
            display: none;
        }

    .vd-item {
        flex: 0 0 80%;
        min-width: 0;
        scroll-snap-align: start;
    }

    .vd-item .vd-play {
        width: 52px;
        height: 52px;
    }
}

/* lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 100100;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
}

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(960px, 92vw);
}

    .lightbox-content iframe {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 9;
        border: 0;
        background: #000;
    }

.lightbox-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}
