:root {
    --nyt-bg: #fff;
    --nyt-text: #121212;
    --nyt-secondary: #666;
    --nyt-accent: #326891;
    --nyt-rule: #ebebeb;
    --serif: 'Georgia', 'Times New Roman', serif;
    --sans: 'Helvetica', 'Arial', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--serif);
    background-color: var(--nyt-bg);
    color: var(--nyt-text);
    -webkit-font-smoothing: antialiased;
}

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

.nyt-header {
    text-align: center;
    border-bottom: 2px solid #000;
    margin-bottom: 30px;
    padding-bottom: 15px;
}

.nyt-header .logo {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin: 0;
    font-family: 'Times New Roman', serif;
    text-transform: uppercase;
}

.nyt-nav {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 8px 0;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nyt-nav a {
    text-decoration: none;
    color: var(--nyt-text);
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nyt-nav a.active { color: var(--nyt-accent); }

/* Editorial Grid */
.nyt-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.nyt-main-story {
    border-right: 1px solid var(--nyt-rule);
    padding-right: 40px;
}

.nyt-story {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--nyt-rule);
    text-decoration: none;
    color: inherit;
    display: block;
}

.nyt-story:last-child { border-bottom: none; }

.nyt-story .tag {
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--nyt-accent);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.nyt-story h2 {
    font-size: 2rem;
    margin: 0 0 12px 0;
    line-height: 1.1;
    font-weight: 700;
}

.nyt-story p {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    margin: 0;
}

.nyt-sidebar {
    padding-left: 0;
}

.nyt-small-story h3 {
    font-size: 1.1rem;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.library-item {
    border-bottom: 1px solid var(--nyt-rule);
    padding-bottom: 20px;
}

@media (max-width: 800px) {
    .nyt-grid, .library-grid { grid-template-columns: 1fr; }
    .nyt-main-story { border-right: none; padding-right: 0; }
}
