/* The Austrian Dispatch — article stylesheet
   Shared by all articles and the auto-index. Designed to sit alongside
   the book landing's black-on-white aesthetic without clashing. */

* { box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #1a1a1a;
    background: #fafafa;
    margin: 0;
    padding: 0;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    padding: 18px 24px;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    font-size: 0.95rem;
    position: sticky;
    top: 0;
    z-index: 10;
}
.site-nav a {
    color: #627EEA;
    text-decoration: none;
    font-weight: 500;
}
.site-nav a:hover { text-decoration: underline; }
.site-nav .current {
    color: #888;
    margin-left: auto;
    font-style: italic;
}

article {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    background: #ffffff;
}

article > header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}
article > header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.6rem;
    line-height: 1.15;
    margin: 0 0 12px;
    color: #111;
    letter-spacing: -0.01em;
}
article > header .meta {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero {
    margin: 0 0 36px;
    padding: 0;
}
.hero img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.hero figcaption {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    text-align: center;
}

article h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    margin: 40px 0 16px;
    color: #222;
    letter-spacing: -0.005em;
}

article p {
    margin: 0 0 20px;
}

article em {
    font-style: italic;
    color: #444;
}

article a {
    color: #627EEA;
}

article ul {
    padding-left: 22px;
}
article li { margin-bottom: 8px; }

article footer {
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid #eee;
    font-size: 0.92rem;
    color: #555;
}
article footer h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    margin: 0 0 16px;
    color: #222;
}
article footer a {
    color: #627EEA;
    word-break: break-word;
}

@media (max-width: 600px) {
    article > header h1 { font-size: 2rem; }
    article { padding: 24px 18px 60px; font-size: 17px; }
    .site-nav { gap: 14px; padding: 14px 18px; font-size: 0.88rem; }
    .site-nav .current { display: none; }
}

/* Auto-index (articles/index.php) styling */
.index-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    background: #ffffff;
}
.index-page > header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}
.index-page h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.6rem;
    margin: 0 0 12px;
    color: #111;
}
.index-page .subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}
.article-item {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #eee;
}
.article-item:last-child { border-bottom: none; }
.article-item .date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.article-item h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    margin: 0 0 8px;
}
.article-item h2 a {
    color: #111;
    text-decoration: none;
}
.article-item h2 a:hover {
    color: #627EEA;
    text-decoration: underline;
}
.index-page footer {
    margin-top: 60px;
    font-size: 0.9rem;
    color: #888;
    text-align: center;
}