/* Videos page: grid of vertical (9:16) YouTube Shorts behind click-to-load facades. */
.videos .section-title {
    margin-bottom: 0.75rem;
}

.videos-note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--landing-text-muted);
    margin-bottom: 2.5rem;
}

.video-grid {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem 1.5rem;
}

.video-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.video-facade,
.video-frame {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background: var(--landing-ink);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.video-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.65);
    transition: background-color 180ms ease, transform 180ms var(--hostpass-ease-out);
}

.video-play::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent var(--landing-card);
}

.video-facade:focus-visible {
    outline: 3px solid var(--hostpass-action);
    outline-offset: 3px;
}

.video-facade:focus-visible .video-play {
    background: var(--hostpass-action);
}

@media (hover: hover) and (pointer: fine) {
    .video-facade:hover .video-play {
        background: var(--hostpass-action);
        transform: scale(1.06);
    }
}

.video-title {
    font-size: 1.05rem;
    letter-spacing: 0;
    margin: 0.5rem 0 0;
}

.video-caption {
    font-size: 0.95rem;
    color: var(--landing-text-muted);
    margin: 0;
}

.videos-playlist {
    display: table;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1rem;
    }

    .video-play {
        width: 52px;
        height: 52px;
    }

    .video-title {
        font-size: 0.95rem;
    }

    .video-caption {
        font-size: 0.85rem;
    }
}
