/*
 * Rivera — «Відеоогляди» archive
 *
 * Blocks:
 *   .videos-page — the page ground
 *   .videos      — the page's one section: title, count, the grid of reviews
 *
 * The cards themselves are .video-card in sections.css, shared with the front
 * page. Here they sit in a grid that wraps instead of a track that slides:
 * two dozen reviews are a list to read down, not a carousel to push through.
 */

.videos-page {
    padding-bottom: 72px;
}

.videos__summary {
    max-width:   720px;
    margin:      24px 0 0;
    font-size:   var(--fs-body);
    line-height: 1.5;
}

.videos__grid {
    display:               grid;
    grid-template-columns: repeat(3, 1fr);
    gap:                   40px 32px;
    margin:                32px 0 0;
    padding:               0;
    list-style:            none;
}

.videos__empty {
    margin:    24px 0 0;
    font-size: var(--fs-body);
}

/* ── Tablet ─────────────────────────────────────────────────────────────── */
@media (max-width: 1023px) {

    .videos__grid {
        grid-template-columns: repeat(2, 1fr);
        gap:                   32px 24px;
        margin-top:            28px;
    }
}

/* ── Mobile ─────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {

    .videos-page {
        padding-bottom: 40px;
    }

    .videos__grid {
        grid-template-columns: 1fr;
        gap:                   28px;
        margin-top:            20px;
    }

    .videos__summary {
        margin-top: 20px;
        font-size:  16px;
    }
}
