:root {
    --bg: #fafafa;
    --surface: #ffffff;
    --border: #e8e8e8;
    --border-dark: #111111;
    --text: #111111;
    --text-secondary: #555;
    --accent: #111111;
    --accent-hover: #333;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100vw; }

/* Global image overflow prevention */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

main, article, section, .container {
    overflow-x: hidden;
    max-width: 100%;
}
.article-page {
    overflow-x: visible;
}
.article-content {
    overflow-x: visible;
}

/* SEARCH */
.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-btn svg {
    width: 20px;
    height: 20px;
    max-width: 20px;
    max-height: 20px;
    stroke: var(--text);
}
.search-btn-small {
    padding: 4px;
}
.search-btn-small svg {
    width: 16px;
    height: 16px;
    max-width: 16px;
    max-height: 16px;
}
.search-btn-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text);
    transition: opacity 0.05s ease;
}
.search-btn-nav:hover {
    opacity: 0.6;
}
.search-btn-nav svg {
    width: 15px;
    height: 15px;
    max-width: 15px;
    max-height: 15px;
    stroke: var(--text);
}
.search-btn-nav span {
    display: none;
}
.search-overlay svg {
    max-width: 100%;
    max-height: 100%;
}
.search-btn:hover svg {
    opacity: 0.6;
}

.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10vh;
}
.search-overlay.open {
    display: flex;
}

.search-modal {
    background: var(--surface);
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.2s;
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.search-overlay.open .search-modal {
    transform: translateY(0);
}

.search-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    gap: 12px;
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg);
    padding: 10px 14px;
    border-radius: 8px;
}
.search-icon-input {
    width: 18px;
    height: 18px;
    stroke: var(--text-secondary);
    flex-shrink: 0;
}
.search-input-wrapper input {
    flex: 1;
    border: none;
    background: none;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    color: var(--text);
}
.search-input-wrapper input::placeholder {
    color: var(--text-secondary);
}
.search-input-wrapper kbd {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    background: var(--border);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--text-secondary);
}

.search-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 4px 8px;
    line-height: 1;
}
.search-close:hover {
    color: var(--text);
}

.search-results {
    overflow-y: auto;
    padding: 16px;
    flex: 1;
}

.search-placeholder h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.search-result-item {
    display: block;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: background 0.1s;
}
.search-result-item:hover {
    background: var(--bg);
}
.search-result-category {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.search-result-title {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}
.search-result-excerpt {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
    line-height: 1.4;
}

.search-no-results {
    text-align: center;
    padding: 32px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Masthead actions */
.masthead-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sticky-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

body {
    font-family: 'Source Serif 4', Georgia, serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--accent); color: white; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 1; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* HEADER */
.main-header { background: var(--surface); border-bottom: 3px double var(--border-dark); }

/* STICKY HEADER */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.sticky-header.visible {
    transform: translateY(0);
    opacity: 1;
}
.sticky-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 20px;
}
.sticky-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}
.sticky-logo .the { font-weight: 400; font-style: italic; }
.sticky-nav {
    display: flex;
    gap: 18px;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
}
.sticky-nav a { transition: opacity 0.05s ease; }
.sticky-nav a:hover { opacity: 0.6; }
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid var(--border);
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
}
.date { color: var(--text-secondary); }
.header-links { display: flex; gap: 16px; align-items: center; }
.header-links a { color: var(--text-secondary); transition: color 0.2s; }
.header-links .search-btn-small svg { stroke: var(--text-secondary); }
.masthead { 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    position: relative;
}
.masthead-actions {
    position: absolute;
    right: 0;
}
.logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1;
    color: var(--text);
}
.logo .the { font-weight: 400; font-style: italic; }
.tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin-top: 6px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}
nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 8px 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
}
nav a { transition: opacity 0.05s ease; }
nav a:hover { opacity: 0.6; }

/* BREAKING */
.breaking {
    background: #c41e3a;
    color: white;
    padding: 6px 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
}
.breaking .container { display: flex; align-items: center; gap: 10px; }
.breaking a { color: white; }
.breaking a:hover { text-decoration: underline; }
.breaking-label {
    background: white;
    color: #c41e3a;
    padding: 2px 6px;
    font-weight: 700;
    font-size: 0.65rem;
    text-transform: uppercase;
}

/* CATEGORY */
.category {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

/* BYLINE */
.byline {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: var(--text-secondary);
}
.byline .author { font-weight: 600; color: var(--text); }

/* FRONT PAGE */
.front-page {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.lead-story { grid-column: 1; grid-row: 1 / 3; }
.lead-story h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 10px;
    transition: opacity 0.05s ease;
}
.lead-story a:hover h1 { opacity: 0.6; }
.lead-story .summary {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.45;
}

/* STORY CARDS */
.story-card { padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.story-card:last-child { border-bottom: none; }
.story-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 4px;
    transition: opacity 0.05s ease;
}
.story-card a:hover h2 { opacity: 0.6; }
.story-card .summary { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.4; }

/* SECTION GRID */
.section-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.section-header {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-dark);
    margin-bottom: 12px;
}
.section-story h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 4px;
    transition: opacity 0.05s ease;
}
.section-story a:hover h3 { opacity: 0.6; }
.section-story p { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.4; }
.section-story + .section-story { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.section-header a { color: inherit; text-decoration: none; }
.section-header a:hover { opacity: 0.7; }
.section-grid-secondary { border-top: none; padding-top: 0; }

/* ARTICLE PAGE */
.article-page { max-width: 680px; margin: 0 auto; padding: 32px 0; }
.article-layout .container { overflow: visible; }
.article-layout main { overflow: visible; }
.article-header { margin-bottom: 24px; }
.article-header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 12px;
}
.article-header .subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.4;
}
.article-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.article-meta .author-link { color: var(--text); }
.article-meta .sep { margin: 0 6px; }

.article-content { margin-bottom: 40px; }
.article-content p { margin-bottom: 24px; font-size: 1.125rem; line-height: 1.8; }
.article-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin: 40px 0 16px;
    letter-spacing: -0.5px;
}
.article-content h3 { font-size: 1.25rem; font-weight: 600; margin: 32px 0 12px; }
.article-content ul, .article-content ol { margin: 0 0 24px 28px; font-size: 1.125rem; line-height: 1.8; }
.article-content li { margin-bottom: 8px; }
.article-content blockquote {
    border-left: 2px solid var(--border-dark);
    padding-left: 24px;
    margin: 36px 0;
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.75;
    color: var(--text-secondary);
}
.article-content code {
    font-family: 'JetBrains Mono', monospace;
    background: #f0f0f0;
    padding: 2px 6px;
    font-size: 0.85em;
    border-radius: 3px;
}
.article-content a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.article-content a:hover { opacity: 0.6; }

/* ARTICLE IMAGES */
.article-hero {
    margin: 0 0 24px 0;
    position: relative;
    width: 100%;
}
.article-hero img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 480px;
    object-fit: cover;
}
.article-hero figcaption {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-style: italic;
}
.article-hero figcaption .credit {
    float: right;
    font-style: normal;
}
@media (min-width: 880px) {
    .article-hero {
        margin-left: -110px;
        margin-right: -110px;
        width: calc(100% + 220px);
    }
}
@media (max-width: 640px) {
    .article-hero {
        margin: 0 0 20px 0;
    }
}
.article-hero figcaption {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}
.article-hero figcaption .credit {
    float: right;
    font-style: italic;
}
.article-content figure {
    margin: 32px -80px;
    max-width: calc(100% + 160px);
}
.article-content figure img {
    width: 100%;
    height: auto;
    display: block;
}
.article-content figcaption {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-style: italic;
}

/* LEAD STORY IMAGE */
.lead-story-image {
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--border);
}
.lead-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* EDITORIAL PAGES (About, Write for Us, etc.) */
.editorial-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 0 64px;
}
.editorial-page h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    border-bottom: 3px double var(--border-dark);
    padding-bottom: 24px;
}
.editorial-page .lead {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 32px;
    font-style: italic;
}
.editorial-page h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin: 40px 0 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.editorial-page h2:first-of-type {
    border-top: none;
    padding-top: 0;
}
.editorial-page p {
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 18px;
}
.editorial-page ul, .editorial-page ol {
    font-size: 1.1rem;
    line-height: 1.75;
    margin: 0 0 24px 28px;
}
.editorial-page li {
    margin-bottom: 10px;
}
.editorial-page a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.editorial-page a:hover {
    opacity: 0.7;
}
.editorial-page strong {
    font-weight: 600;
}
.editorial-page .role-card {
    background: #f8f8f8;
    border-left: 2px solid var(--border-dark);
    padding: 20px 24px;
    margin: 24px 0;
}
.editorial-page .role-card strong {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.25px;
}

/* CATEGORY GRID (Write for Us page) */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin: 24px 0 40px;
}
.category-card {
    background: var(--surface);
    padding: 20px;
    text-align: center;
}
.category-card .category-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 8px;
}
.category-card strong {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}
.category-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}
@media (max-width: 900px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .category-grid { grid-template-columns: 1fr; }
    .category-card { text-align: left; display: flex; gap: 12px; align-items: flex-start; }
    .category-card .category-icon { font-size: 1.5rem; margin-bottom: 0; }
    .category-card div { flex: 1; }
}

/* AUTHOR BOX */
.author-box {
    padding: 20px;
    background: #f5f5f5;
    border-top: 2px solid var(--border-dark);
    margin-top: 32px;
}
.author-box h4 { 
    font-family: 'Inter', sans-serif; 
    font-size: 0.65rem; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    color: var(--text-secondary);
    margin-bottom: 10px; 
}
.author-info strong { 
    display: block; 
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}
.author-info .role { 
    display: block;
    font-family: 'Inter', sans-serif; 
    font-size: 0.75rem; 
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.author-info p { 
    margin: 0 0 10px 0; 
    color: var(--text);
    line-height: 1.5;
    font-size: 0.9rem;
}
.author-info a { 
    color: var(--accent); 
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
}

/* CONTRIBUTORS LIST */
.contributors-page {
    padding: 32px 0 64px;
}
.contributors-page h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.contributors-page .lead {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.contributors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}
.contributor-card {
    background: var(--surface);
    padding: 20px;
}
.contributor-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2px;
    transition: opacity 0.05s ease;
}
.contributor-card a:hover h3 { opacity: 0.6; }
.contributor-card .role {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.contributor-card .bio {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
@media (max-width: 900px) {
    .contributors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .contributors-grid { grid-template-columns: 1fr; }
}

/* AUTHOR PAGE */
.author-page { max-width: 900px; margin: 0 auto; padding: 48px 0; }
.author-header { margin-bottom: 48px; text-align: center; }
.author-header h1 { font-family: 'Playfair Display', Georgia, serif; font-size: 2.5rem; margin-bottom: 8px; }
.author-header .role { font-family: 'Inter', sans-serif; font-size: 1rem; color: var(--text-secondary); margin-bottom: 16px; }
.author-header .bio { max-width: 600px; margin: 0 auto 16px; }
.author-links { font-family: 'Inter', sans-serif; font-size: 0.9rem; }
.author-links a { color: var(--accent); margin: 0 12px; }
.author-articles h2 { font-family: 'Inter', sans-serif; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; border-bottom: 2px solid var(--border-dark); padding-bottom: 12px; margin-bottom: 24px; }

/* STORY LIST */
.story-list { list-style: none; }
.story-item { padding: 24px 0; border-bottom: 1px solid var(--border); }
.story-item h2, .story-item h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem; margin-bottom: 8px; line-height: 1.3; transition: opacity 0.05s ease; }
.story-item a:hover h2, .story-item a:hover h3 { opacity: 0.6; }
.story-item p { color: var(--text-secondary); margin-bottom: 8px; }
.story-meta { font-family: 'Inter', sans-serif; font-size: 0.85rem; color: var(--text-secondary); }

/* SECTION PAGE */
.section-page { padding: 32px 0 64px; }
.section-page header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px double var(--border-dark);
}
.section-page h1 { 
    font-family: 'Playfair Display', Georgia, serif; 
    font-size: 2rem; 
    margin-bottom: 6px;
}
.section-desc { 
    color: var(--text-secondary); 
    font-size: 0.95rem;
    font-style: italic;
}

/* Section featured + grid layout */
.section-featured {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.section-featured .lead-article h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 10px;
    transition: opacity 0.05s ease;
}
.section-featured .lead-article a:hover h2 { opacity: 0.6; }
.section-featured .lead-article .summary {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 10px;
}
.section-featured .lead-article .meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: var(--text-secondary);
}
.section-featured .side-articles {
    border-left: 1px solid var(--border);
    padding-left: 24px;
}
.section-featured .side-article {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.section-featured .side-article:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.section-featured .side-article h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 6px;
    transition: opacity 0.05s ease;
}
.section-featured .side-article a:hover h3 { opacity: 0.6; }
.section-featured .side-article .meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.section-more h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.section-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}
.section-articles-grid .grid-article {
    background: var(--surface);
    padding: 16px;
}
.section-articles-grid h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 6px;
    transition: opacity 0.05s ease;
}
.section-articles-grid a:hover h3 { opacity: 0.6; }
.section-articles-grid .meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: var(--text-secondary);
}
@media (max-width: 900px) {
    .section-featured { grid-template-columns: 1fr; }
    .section-featured .side-articles { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 24px; }
    .section-articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .section-articles-grid { grid-template-columns: 1fr; }
}

/* NEWSLETTER */
.newsletter {
    background: var(--border-dark);
    color: white;
    padding: 56px 48px;
    margin: 56px 0;
    text-align: center;
}
.newsletter h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 2rem; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.5px; }
.newsletter p { color: #999; margin-bottom: 28px; font-size: 1rem; }
.newsletter form { display: flex; gap: 0; max-width: 420px; margin: 0 auto; }
.newsletter input[type="email"] {
    flex: 1;
    padding: 14px 18px;
    border: none;
    font-size: 1rem;
    font-family: inherit;
}
.newsletter button {
    background: white;
    color: var(--border-dark);
    border: none;
    padding: 14px 28px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.newsletter button:hover { background: #e0e0e0; }

/* FOOTER */
footer { background: var(--border-dark); color: white; padding: 48px 0; margin-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-about h4 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem; margin-bottom: 16px; }
.footer-about p { font-size: 0.95rem; color: #aaa; line-height: 1.6; }
.footer-links h5 { font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #aaa; font-size: 0.9rem; }
.footer-links a:hover { color: white; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #333; font-family: 'Inter', sans-serif; font-size: 0.8rem; color: #666; text-align: center; }
.footer-bottom a { color: #aaa; }

/* ARTICLE LAYOUT - minimal header */
.article-layout .main-header { display: none; }
.article-layout .sticky-header {
    transform: translateY(0);
    opacity: 1;
    position: fixed;
}
.article-layout main {
    padding-top: 50px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .front-page { grid-template-columns: 1fr 1fr; }
    .lead-story { grid-column: 1 / -1; grid-row: 1; }
    .section-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* HAMBURGER MENU BUTTON */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    position: relative;
}
.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    margin: 4px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

@media (max-width: 640px) {
    /* Hide header top bar on mobile */
    .header-top { display: none; }
    
    /* Compact masthead with hamburger */
    .masthead { 
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 0;
        text-align: left;
    }
    .logo { font-size: 1.5rem; }
    .tagline { display: none; }
    .menu-toggle { display: block; }
    
    /* Mobile nav - hidden by default */
    .main-header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .main-header nav.open {
        display: flex;
        z-index: 1000;
    }
    .main-header nav a {
        padding: 14px 20px;
        border-bottom: 1px solid var(--border);
        font-size: 0.9rem;
    }
    .main-header nav a:last-child {
        border-bottom: none;
    }
    .main-header .container {
        position: relative;
        z-index: 100;
    }
    .main-header {
        position: relative;
        z-index: 100;
    }
    
    /* Sticky header mobile */
    .sticky-header .container { 
        flex-direction: row;
        justify-content: space-between;
        padding: 8px 20px;
    }
    .sticky-header .menu-toggle { display: block; }
    .sticky-logo { font-size: 1.1rem; }
    .sticky-nav { 
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        flex-direction: column;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .sticky-nav.open {
        display: flex;
    }
    .sticky-nav a {
        padding: 14px 20px;
        border-bottom: 1px solid var(--border);
        font-size: 0.85rem;
    }
    .sticky-nav a:last-child {
        border-bottom: none;
    }
    
    /* Fix header overlap on article pages mobile */
    .article-layout main { padding-top: 60px; }
    .article-page { padding-top: 16px; }
    
    /* Content adjustments */
    .front-page { grid-template-columns: 1fr; }
    .section-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .lead-story h1, .article-header h1 { font-size: 1.5rem; }
    .lead-story .summary { font-size: 0.9rem; }
    .newsletter form { flex-direction: column; }
    
    /* Lead story image mobile */
    .lead-story-image { 
        margin: 0 -20px 12px -20px; 
        aspect-ratio: 3 / 2;
    }
    
    /* Article images on mobile */
    .article-hero img { object-fit: cover; }
    .article-content figure { margin: 20px -20px; max-width: calc(100% + 40px); }
    .article-content figure img { max-height: none; object-fit: cover; }
    
    /* Compact story cards on mobile */
    .story-card { padding-bottom: 12px; margin-bottom: 12px; }
    .story-card h2 { font-size: 1rem; }
    .story-card .summary { font-size: 0.8rem; }
    .byline { font-size: 0.7rem; }
}
