/* Lezen-archief — berichten-pagina (page_for_posts).
   Hergebruikt .side-item uit sections-home.css (mee-enqueued op is_home),
   in een 2-koloms grid binnen de main + rubrieken-sidebar rechts. */

.lezen-archive {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 32px var(--container-pad) 96px;
}

.lezen-head {
    margin: 0 0 40px;
}

.lezen-head h1 {
    font-family: var(--display);
    font-size: var(--font-size-headline);
    line-height: 1.02;
    letter-spacing: -0.015em;
    margin: 0 0 8px;
}

.lezen-head h1 em { color: var(--plum); }

.lezen-intro {
    color: var(--ink-soft);
    max-width: var(--container-w-text);
    font-size: 17px;
}

.lezen-intro p { margin: 0 0 12px; }

.lezen-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}

/* ─── Main (post-stack) ───────────────────────── */
.lezen-main {
    min-width: 0;
}

.lezen-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 28px;
}

/* Dashed divider is voor de 1-koloms hero-stack — in de archive-grid
   past 'm niet, dus reset. */
.lezen-list .side-item {
    border-bottom: none;
    padding-bottom: 0;
}

.lezen-empty {
    font-style: italic;
    color: var(--ink-mute);
    padding: 32px 0;
}

.lezen-pagination {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px dashed var(--rule);
}

.lezen-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-family: var(--serif);
    font-size: 14px;
}

.lezen-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: background-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.lezen-pagination .page-numbers:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.lezen-pagination .page-numbers.current {
    background: var(--plum);
    color: var(--paper);
}

.lezen-pagination .page-numbers.dots {
    background: transparent;
    box-shadow: none;
    color: var(--ink-mute);
}

/* ─── Sidebar (rubrieken-lijst) ────────────────── */
.lezen-sidebar {
    position: sticky;
    top: 24px;
    background: var(--paper);
    padding: 24px 24px 20px;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.lezen-sidebar h2 {
    font-family: var(--hand-accent);
    font-size: 36px;
    color: var(--plum);
    margin: 0 0 14px;
    letter-spacing: 0.01em;
    line-height: 1;
}

.lezen-rubrieken {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lezen-rubrieken a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 4px;
    font-family: var(--serif);
    font-size: 15px;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px dashed transparent;
    transition: color 0.15s, border-color 0.15s;
}

.lezen-rubrieken li + li a {
    border-top: 1px dashed var(--rule);
}

.lezen-rubrieken a:hover {
    color: var(--terracotta);
}

.lezen-rubrieken li.is-active a {
    color: var(--plum);
    font-weight: 600;
}

.lezen-rubrieken .r-name {
    flex: 1;
    min-width: 0;
}

.lezen-rubrieken .r-count {
    font-size: 12px;
    color: var(--ink-mute);
    font-variant-numeric: tabular-nums;
}

.lezen-rubrieken a:hover .r-count {
    color: var(--terracotta);
}

/* ─── Responsive ───────────────────────────────── */
@media (max-width: 1024px) {
    .lezen-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .lezen-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .lezen-archive {
        padding: 24px 20px 56px;
    }

    .lezen-head h1 {
        font-size: 40px;
    }

    .lezen-list {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
