:root {
    --bg-color: #ffffff;
    --nyt-black: #000000;
    --nyt-gray: #ebebeb;
    --nyt-red: #aa0000;
    --text-main: #121212;
    --text-muted: #333333;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --font-logo: 'UnifrakturMaguntia', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.4;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header & Masthead */
header {
    border-bottom: 1px solid var(--nyt-black);
    margin-bottom: 1.5rem;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    font-size: 0.75rem;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
}

.top-left {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.live-clock-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--nyt-red);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--nyt-red);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.tz-select {
    background: #f9f9f9;
    border: 1px solid #ccc;
    padding: 2px 4px;
    font-size: 0.65rem;
    font-family: var(--font-sans);
    cursor: pointer;
    border-radius: 2px;
}

.tz-select:hover {
    border-color: var(--nyt-black);
}

.top-right {
    display: flex;
    align-items: center;
    color: #666;
    font-style: italic;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.masthead {
    text-align: center;
    padding: 1rem 0;
}

.logo {
    font-family: var(--font-logo);
    font-size: 4.5rem;
    color: var(--nyt-black);
    margin: 0.5rem 0;
}

nav {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 0.5rem 0;
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 1.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

/* 3-Column Layout */
.nyt-layout {
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    gap: 1.5rem;
    margin-top: 1rem;
}

.column-section {
    border-top: 2px solid var(--nyt-black);
    padding-top: 0.8rem;
}

.section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

/* Articles */
.news-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
}

.live-label {
    color: var(--nyt-red);
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
    display: block;
}

.news-item h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 1.25;
    margin-bottom: 0.5rem;
    font-weight: 900;
    cursor: pointer;
}

.news-item h4:hover {
    color: #666;
}

.news-item p {
    font-size: 0.88rem;
    color: #333;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

/* Center Featured Column */
.center-col {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    padding: 0 1.5rem;
}

.featured-article h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 900;
}

.featured-article p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    margin-top: 0.8rem;
    font-size: 0.75rem;
    color: var(--nyt-red);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more:hover {
    text-decoration: underline;
}

.section-divider {
    border: 0;
    border-top: 2px solid var(--nyt-black);
    margin: 1.5rem 0;
}

.source-link {
    font-size: 0.7rem;
    color: #666;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
}

.source-link:hover {
    text-decoration: underline;
    color: var(--nyt-red);
}

/* Footer */
footer {
    border-top: 1px solid var(--nyt-black);
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 1024px) {
    .nyt-layout {
        grid-template-columns: 1fr 1fr;
    }
    .left-col {
        order: 2;
    }
    .center-col {
        order: 1;
        grid-column: 1 / -1;
        border-left: none;
        border-right: none;
        padding: 0;
    }
    .right-col {
        order: 3;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nyt-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .center-col {
        border: none;
        padding: 0;
    }
    .logo {
        font-size: 2.5rem;
    }
    .featured-article h2 {
        font-size: 1.6rem;
    }
    .top-bar {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    .top-right {
        display: none;
    }
    .nav-links {
        gap: 0.8rem;
        font-size: 0.7rem;
    }
    .news-item h4 {
        font-size: 1rem;
    }
}