/* ==========================================================
   videos.css - Styles spezifisch für Timelapse (videos.php)
   ========================================================== */

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.video-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.video-header {
    padding: 14px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.video-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    display: block;
}

.video-card .controls-bar {
    padding: 12px 20px;
    border-top: 1px solid var(--border);
}

.filename {
    font-size: 0.82rem;
    color: var(--muted);
    font-family: 'SF Mono', Consolas, monospace;
}

.btn-download {
    text-decoration: none;
    background: var(--accent);
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.15s;
}

.btn-download:hover {
    background: var(--accent-hover);
}

@media (max-width: 500px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}
