/* ---- Editorial theme (option B) ----
   Loaded after styles-running.css. Keeps the evergreen and bib-orange
   colors, adds a serif reading font, a warm paper background, flatter
   cards, and darker grays for captions and bylines. */

:root {
    --bib-orange: #d9581f;
    --bib-orange-dark: #b8471a;
    --paper: #f6f2ea;
    --card: #fffdf8;
    --rule: #e3dccd;
    --ink: #2a2a2a;
    --ink-muted: #5c5c5c;
    --serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Times New Roman', serif;
    --sans: 'Helvetica Neue', Arial, sans-serif;
}

html, body {
    background-color: var(--paper);
    color: var(--ink);
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.65;
}

header {
    box-shadow: none;
    border-radius: 4px;
}

header h1 {
    font-family: var(--serif);
    font-weight: normal;
    letter-spacing: 0.06em;
}

/* Flat cards on paper */
.blog-post {
    background-color: var(--card);
    border: 1px solid var(--rule);
    border-radius: 4px;
    box-shadow: none;
    padding: 18px 22px;
}

.blog-post h2,
.section-heading,
.blog-post.article h3 {
    font-family: var(--serif);
    font-weight: normal;
}

.blog-post.article h3 {
    font-size: 1.65em;
}

.article-title {
    font-size: 2.9em;
    letter-spacing: -0.01em;
}

/* Small "furniture" text stays sans for contrast */
.blog-post p.article-byline,
figcaption,
.stats-bar,
blockquote.pull-quote cite,
nav,
article > div,
table,
footer,
details > summary,
.map-caption {
    font-family: var(--sans);
}

.blog-post p.article-byline { color: #6b6b6b; }

figcaption { color: var(--ink-muted); }

/* Stats: thin green rule instead of shadowed orange-topped cards */
.stats-bar .stat {
    background-color: transparent;
    border-top: 2px solid var(--green-dark);
    border-radius: 0;
    box-shadow: none;
}

.stats-bar .stat-label { color: var(--ink-muted); }

blockquote.pull-quote {
    font-family: var(--serif);
    border-left-width: 3px;
}

.article-lede::first-letter {
    font-family: var(--serif);
    font-weight: normal;
    font-size: 3.8em;
}

/* Marathon cards */
article {
    background-color: var(--card);
    border: 1px solid var(--rule);
    border-radius: 4px;
    box-shadow: none;
}

article:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

article > div { color: var(--ink-muted); }

.blog-post aside.bio-box {
    background: #efe9dc;
}

footer {
    border-radius: 4px;
}

@media screen and (max-width: 700px) {
    html, body { font-size: 16px; }
    .article-title { font-size: 2.1em; }
    .blog-post { padding: 12px 14px; }
}
