/* ---------- GRID (kept modern) ---------- */
main.wrap {
    min-height:80vh;
    margin-top: 18px;
    max-width: var(--max-width)
}

.video-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    align-items: start;
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border-radius: 12px;
    height: 270px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform .18s, box-shadow .18s;
    position: relative;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(3, 6, 20, 0.6)
}

.poster {
    position: relative;
    height: 100%;
    width: 100%;
    background: linear-gradient(180deg, #071018, #08111b);
    overflow: hidden
}

.poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.meta {
    position: absolute;
    bottom: 0;
    background-color: #05060a;
    width: 100%;
    opacity: .7;
}

.meta h3 {
    margin: 4px;
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    color: white;
}