/* ===== Theme Variables ===== */
:root {
    --bg: #f6f3ee;
    --text: #2e2e2e;
    --muted: #8a867f;
    --border: #e6e2da;
    --card: #ffffff;
}

body.dark {
    --bg: #1f1f1f;
    --text: #e8e6e3;
    --muted: #a5a29c;
    --border: #333;
    --card: #2a2a2a;
}

/* ===== Base ===== */
body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    transition: background 0.3s ease, color 0.3s ease;
}

.sidebar {
    width: 80px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.sidebar a {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--card);
}

.sidebar h2 {
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
}

.container {
    display: flex;
    max-width: 1000px;
    margin: 15px 0 0 15px; /* Top Left */
    gap: 25px;
}


/* ===== Layout ===== */
.container {
    position: relative;
    display: flex;
    justify-content: center;
    max-width: 900px;
    margin: 80px auto;
}

/* Main Content */
.content {
    flex: 1;
}

/* Responsive */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
        margin: 30px;
    }

    .sidebar {
        width: 100%;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}