/* ==================
   RESET & BASE
   ================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    font-size: 1.125rem;
    line-height: 1.75;
    color: #121212;
    background: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ==================
   TOP BAR
   ================== */
.top-bar {
    background: #000;
    color: #fff;
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 0.72rem;
    padding: 6px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.top-bar a {
    color: #ccc;
    font-weight: 500;
}

.top-bar a:hover {
    color: #fff;
    text-decoration: none;
}

.top-bar-left {
    display: flex;
    gap: 16px;
    align-items: center;
}

.top-bar-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

.top-bar-divider {
    color: #555;
}

/* ==================
   MASTHEAD
   ================== */
.masthead {
    border-bottom: 2px solid #121212;
}

.masthead-main {
    text-align: center;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #e2e2e2;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.masthead-date-left {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 0.68rem;
    color: #888;
    line-height: 1.4;
    text-align: left;
}

.masthead-title {
    font-family: 'UnifrakturMaguntia', 'Old English Text MT', 'Palatino Linotype', serif;
    font-size: 3.6rem;
    line-height: 1;
    color: #000;
    letter-spacing: -0.5px;
}

.masthead-actions {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-subscribe {
    background: #000;
    color: #fff;
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 7px 14px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.btn-subscribe:hover {
    background: #333;
}

.btn-login {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 0.72rem;
    color: #326891;
    font-weight: 600;
    white-space: nowrap;
}

/* Masthead Nav */
.masthead-nav {
    padding: 0 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.masthead-nav::-webkit-scrollbar {
    display: none;
}

.masthead-nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    padding: 0;
    white-space: nowrap;
}

.masthead-nav ul li a {
    display: block;
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #333;
    padding: 9px 13px;
}

.masthead-nav ul li a:hover {
    text-decoration: none;
    color: #000;
}

.masthead-nav ul li + li {
    border-left: 1px solid #e2e2e2;
}

/* ==================
   ARTICLE WRAPPER
   ================== */
.article-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================
   ARTICLE HEADER
   ================== */
.article-header {
    max-width: 700px;
    margin: 0 auto;
    padding: 32px 0 20px;
}

.section-label {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #326891;
    margin-bottom: 14px;
}

.section-label a {
    color: #326891;
}

.section-label a:hover {
    text-decoration: underline;
}

.article-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    color: #121212;
}

.article-subheadline {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.45;
    color: #444;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e2e2;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 8px;
}

.byline {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #333;
}

.byline a {
    color: #326891;
}

.dateline {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 0.78rem;
    color: #888;
}

.share-bar {
    display: flex;
    gap: 8px;
    padding: 10px 0 20px;
    border-bottom: 1px solid #e2e2e2;
}

.share-btn {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: #333;
    background: #f7f7f7;
    border: 1px solid #d0d0d0;
    padding: 6px 14px;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.share-btn:hover {
    background: #e8e8e8;
}

/* ==================
   ARTICLE GRID
   ================== */
.article-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 0 50px;
    align-items: start;
    padding-top: 12px;
}

/* ==================
   ARTICLE BODY
   ================== */
.article-body {
    min-width: 0;
}

/* Lead image */
.article-lead-image {
    margin-bottom: 24px;
}

.image-placeholder {
    background: linear-gradient(150deg, #0d0d1a 0%, #1a1a3e 35%, #0f3060 70%, #0a2040 100%);
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(240,165,0,0.08) 0%, transparent 70%);
}

.image-placeholder-inner {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
}

.lambda-seal {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 6rem;
    font-weight: 900;
    color: #f0a500;
    display: block;
    line-height: 1;
    margin-bottom: 14px;
    text-shadow: 0 0 40px rgba(240,165,0,0.6), 0 0 80px rgba(240,165,0,0.2);
    letter-spacing: -2px;
}

.seal-text {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-bottom: 8px;
    line-height: 1.6;
}

.seal-subtext {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 0.55rem;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.4);
}

figcaption {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 0.8rem;
    color: #777;
    line-height: 1.5;
    margin-top: 9px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e2e2;
}

.photo-credit {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    color: #999;
    margin-top: 5px;
}

/* Article text */
.article-text {
    font-size: 1.125rem;
    line-height: 1.82;
}

.article-lede {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.78;
    margin-bottom: 1.6em;
    color: #111;
}

.article-text p {
    margin-bottom: 1.6em;
}

.article-text h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #121212;
    margin: 2.8em 0 0.75em;
    padding-top: 1.8em;
    border-top: 1px solid #e2e2e2;
    letter-spacing: -0.2px;
}

/* Pull quote */
blockquote.pull-quote {
    border-left: 3px solid #d0021b;
    margin: 2.2em 0;
    padding: 0.4em 0 0.4em 24px;
}

blockquote.pull-quote p {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.45rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.4;
    color: #333;
    margin-bottom: 0.6em;
}

blockquote.pull-quote cite {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: #888;
    font-style: normal;
    display: block;
    letter-spacing: 0.02em;
}

/* Article end mark */
.article-end-mark {
    font-size: 0.65rem;
    color: #555;
    margin: 2.2em 0 1.8em;
}

/* Corrections */
.corrections {
    font-size: 0.85rem;
    font-family: 'Libre Franklin', Arial, sans-serif;
    color: #777;
    border-top: 1px solid #e2e2e2;
    padding-top: 1.2em;
    margin-bottom: 1.5em;
    line-height: 1.6;
}

/* Reporter note */
.reporter-note {
    font-size: 0.85rem;
    font-family: 'Libre Franklin', Arial, sans-serif;
    color: #888;
    line-height: 1.6;
    border-top: 1px solid #e2e2e2;
    padding-top: 1.2em;
}

.reporter-note p {
    margin-bottom: 0.5em;
}

/* ==================
   SIDEBAR
   ================== */
.sidebar {
    position: sticky;
    top: 24px;
    align-self: start;
    border-left: 1px solid #e2e2e2;
    padding-left: 30px;
    padding-top: 4px;
}

.sidebar-section {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e2e2e2;
}

.sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-heading {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #121212;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #121212;
}

.related-articles {
    list-style: none;
}

.related-articles li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e2e2;
}

.related-articles li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-img-placeholder {
    width: 75px;
    height: 56px;
    background: #d8d8d8;
    flex-shrink: 0;
}

.related-articles a {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #121212;
    font-weight: 400;
    display: block;
}

.related-articles a:hover {
    text-decoration: underline;
}

/* Newsletter */
.sidebar-newsletter {
    background: #f7f7f7;
    padding: 18px;
    margin-bottom: 28px;
    border: 1px solid #e2e2e2;
}

.sidebar-newsletter h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 7px;
    color: #121212;
}

.sidebar-newsletter p {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 0.78rem;
    color: #777;
    line-height: 1.5;
    margin-bottom: 12px;
}

.sidebar-newsletter input[type="email"] {
    width: 100%;
    border: 1px solid #bbb;
    padding: 8px 10px;
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 0.8rem;
    margin-bottom: 8px;
    color: #333;
}

.sidebar-newsletter input[type="email"]:focus {
    outline: 1px solid #326891;
    border-color: #326891;
}

.sidebar-newsletter button {
    width: 100%;
    background: #000;
    color: #fff;
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.sidebar-newsletter button:hover {
    background: #333;
}

/* Most read */
.most-read {
    padding-left: 18px;
    list-style: decimal;
}

.most-read li {
    margin-bottom: 13px;
    padding-bottom: 13px;
    border-bottom: 1px solid #e2e2e2;
    color: #888;
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
}

.most-read li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.most-read a {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #121212;
    font-weight: 400;
    display: block;
    margin-top: 2px;
}

.most-read a:hover {
    text-decoration: underline;
}

/* ==================
   FOOTER
   ================== */
footer {
    background: #fff;
    border-top: 3px solid #000;
    margin-top: 70px;
    padding: 36px 20px 28px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-family: 'UnifrakturMaguntia', 'Old English Text MT', serif;
    font-size: 1.9rem;
    margin-bottom: 18px;
    color: #000;
}

.footer-divider {
    border: none;
    border-top: 1px solid #e2e2e2;
    margin-bottom: 18px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 18px;
    margin-bottom: 20px;
}

.footer-nav a {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 0.72rem;
    color: #555;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.footer-copyright {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 0.7rem;
    color: #aaa;
}

/* ==================
   RESPONSIVE — TABLET
   ================== */
@media (max-width: 1024px) {
    .article-grid {
        grid-template-columns: 1fr 260px;
        gap: 0 36px;
    }

    .sidebar {
        padding-left: 24px;
    }

    .masthead-title {
        font-size: 3rem;
    }
}

/* ==================
   RESPONSIVE — MOBILE
   ================== */
@media (max-width: 768px) {
    .masthead-date-left,
    .masthead-actions {
        display: none;
    }

    .masthead-main {
        padding: 14px 20px 10px;
    }

    .masthead-title {
        font-size: 2.3rem;
    }

    .masthead-nav ul {
        justify-content: flex-start;
    }

    .masthead-nav ul li a {
        padding: 8px 10px;
        font-size: 0.68rem;
    }

    .article-header {
        padding: 22px 0 16px;
    }

    .article-headline {
        font-size: 2rem;
    }

    .article-subheadline {
        font-size: 1.1rem;
    }

    .article-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .sidebar {
        border-left: none;
        border-top: 2px solid #121212;
        padding-left: 0;
        padding-top: 28px;
        margin-top: 36px;
        position: static;
    }

    .top-bar-left {
        display: none;
    }

    .article-text {
        font-size: 1.05rem;
    }

    blockquote.pull-quote p {
        font-size: 1.25rem;
    }

    .lambda-seal {
        font-size: 4rem;
    }

    .image-placeholder {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 480px) {
    .masthead-title {
        font-size: 1.85rem;
    }

    .article-headline {
        font-size: 1.7rem;
    }

    .article-subheadline {
        font-size: 1rem;
    }

    .article-lede {
        font-size: 1.1rem;
    }

    .lambda-seal {
        font-size: 3.2rem;
    }

    .share-bar {
        flex-wrap: wrap;
    }
}
