/* Text-first overrides (2026): quiet chrome, archive-as-homepage.
   Loaded after theme.css on purpose — these win. */

/* --- Homepage archive --- */
.archive-intro {
    max-width: 46rem;
    margin: 2.75rem auto 3.25rem;
}
.archive-intro p {
    font-size: 1.15rem;
    line-height: 1.65;
    color: #333;
    margin: 0;
}
.archive-year {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    column-gap: 1.25rem;
    max-width: 46rem;
    margin: 0 auto 2.25rem;
}
.archive-year-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #999;
    letter-spacing: 0.06em;
    padding-top: 0.35rem;
    margin: 0;
}
.archive-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.archive-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid #f1f1f1;
}
.archive-list li:last-child { border-bottom: 0; }
.archive-list a {
    color: #1a1a1a;
    text-decoration: none;
}
.archive-list a:hover { text-decoration: underline; }
.archive-date {
    color: #a0a0a0;
    font-size: 0.85rem;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* Curated list variant (Best Of) — same rhythm, no year rail */
.archive-plain {
    max-width: 46rem;
    margin: 0 auto 2.5rem;
}

/* Wide tables scroll inside themselves instead of breaking the page */
.article-post table {
    display: block;
    overflow-x: auto;
    max-width: 100%;
}

/* --- Quieter chrome --- */
/* Posts: drop card shadows anywhere they linger */
.box-shadow, .card { box-shadow: none !important; }

/* --- Mobile --- */
@media (max-width: 768px) {
    .archive-year { grid-template-columns: 1fr; }
    .archive-year-label { padding-top: 0; margin-bottom: 0.3rem; }
    .archive-intro { margin: 1.5rem auto 2rem; }
    /* Bootstrap 4.1's display-4 is a fixed 3.5rem — far too large on phones */
    .article-headline { font-size: 2rem; line-height: 1.25; }
}
