/* ==========================================================================
   political.day — Scandinavian Functional News Design
   ========================================================================== */

/* --- CSS Custom Properties --- */
:root {
    --bg: #FFFFFF;
    --bg-alt: #F8F9FA;
    --primary: #1A1A1A;
    --text: #333333;
    --label: #888888;
    --border: #E0E0E0;
    --accent: #2563EB;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Newsreader', 'Georgia', serif;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Reading Progress Bar --- */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background-color: var(--accent);
    z-index: 1000;
    transition: width 50ms linear;
}

/* --- Navigation --- */
.nav {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.nav-left {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.nav-logo {
    font-family: 'Newsreader', 'Georgia', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.nav-date {
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--label);
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-link {
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    text-decoration-color: transparent;
    transition: text-decoration-color 150ms ease;
}

.nav-link:hover {
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 4px;
}

/* --- Hero Section --- */
.hero {
    padding: 80px 24px 60px;
    max-width: 760px;
    margin: 0 auto;
}

.hero-inner {
    max-width: 760px;
}

.hero-date {
    font-family: 'Newsreader', 'Georgia', serif;
    font-size: 60px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 32px;
}

.hero-headline {
    font-family: 'Newsreader', 'Georgia', serif;
    font-size: 40px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-dek {
    font-family: 'Newsreader', 'Georgia', serif;
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 24px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.meta-reading {
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--label);
}

/* --- Topic Tags --- */
.topic-tag {
    display: inline-block;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--label);
    background-color: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px 12px;
    transition: background-color 150ms ease;
}

.topic-tag:hover {
    background-color: #F0F0F0;
}

/* --- Content --- */
.content {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Sections --- */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--bg-alt);
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
}

.section-label-wrapper {
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-bottom: 48px;
}

.section-label {
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--label);
    padding-left: 0;
    border-left: 2px solid transparent;
    transition: border-color 200ms ease;
}

.section-label.active {
    border-left-color: var(--accent);
    padding-left: 8px;
}

/* --- Articles --- */
.article {
    margin-bottom: 48px;
}

.article-title {
    font-family: 'Newsreader', 'Georgia', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin-bottom: 12px;
}

.article-meta-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

p {
    margin-bottom: 24px;
}

/* --- Pull Quotes --- */
.pull-quote {
    position: relative;
    margin: 40px 0 40px 24px;
    padding-left: 24px;
    border-left: 3px solid var(--accent);
}

.pull-quote p {
    font-family: 'Newsreader', 'Georgia', serif;
    font-size: 24px;
    font-weight: 400;
    font-style: italic;
    color: var(--primary);
    line-height: 1.5;
    margin-bottom: 0;
}

.pull-quote-share {
    position: absolute;
    top: 0;
    right: -32px;
    opacity: 0;
    transition: opacity 200ms ease;
    cursor: pointer;
}

.pull-quote:hover .pull-quote-share {
    opacity: 0.5;
}

.pull-quote-share:hover {
    opacity: 1 !important;
}

/* --- Dot Separator --- */
.dot-separator {
    text-align: center;
    margin: 48px 0;
}

.dot-separator::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--border);
}

/* --- Updates Grid --- */
.updates-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.update-card {
    padding: 0;
}

.update-title {
    font-family: 'Newsreader', 'Georgia', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin-top: 12px;
    margin-bottom: 12px;
}

.update-body {
    font-family: 'Newsreader', 'Georgia', serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 0;
}

/* --- Footer --- */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 60px 24px;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Newsreader', 'Georgia', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.footer-tagline {
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-size: 13px;
    color: var(--label);
    margin-bottom: 12px;
}

.footer-copy {
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-size: 12px;
    color: var(--label);
    opacity: 0.7;
}

/* --- Responsive --- */
@media (max-width: 800px) {
    .hero-date {
        font-size: 42px;
    }

    .hero-headline {
        font-size: 32px;
    }

    .article-title {
        font-size: 24px;
    }

    .pull-quote p {
        font-size: 20px;
    }

    .updates-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pull-quote-share {
        right: 0;
        top: auto;
        bottom: -24px;
    }
}

@media (max-width: 500px) {
    html {
        font-size: 16px;
    }

    .nav-inner {
        flex-direction: column;
        gap: 12px;
    }

    .hero {
        padding: 48px 24px 40px;
    }

    .hero-date {
        font-size: 32px;
    }

    .hero-headline {
        font-size: 26px;
    }

    .hero-meta {
        flex-wrap: wrap;
    }

    .section {
        padding: 48px 0;
    }
}
