/* NYT Parody Styles - Mimicking The New York Times Design */

/* Import multiple blackletter fonts for better NYT match */
@import url('https://fonts.googleapis.com/css2?family=UnifrakturMaguntia&display=swap');
@import url('https://fonts.cdnfonts.com/css/old-english-five');
@import url('https://fonts.cdnfonts.com/css/cloister-black');
@import url('https://fonts.cdnfonts.com/css/blackletter');
@import url('https://fonts.googleapis.com/css2?family=IM+Fell+English&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: nyt-cheltenham, georgia, 'times new roman', times, serif;
    font-size: 16px;
    line-height: 1.6;
    color: #121212;
    background-color: #ffffff;
}

a {
    color: #121212;
    text-decoration: none;
}

a:hover {
    color: #666;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Header Styles */
.site-header {
    border-bottom: 1px solid #e2e2e2;
    background: #fff;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 16px;
    max-width: 1280px;
    margin: 0 auto;
}

.header-left {
    flex: 0 0 auto;
}

.search-btn {
    padding: 8px;
    color: #121212;
}

.search-btn:hover {
    opacity: 0.6;
}

.header-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
}

.date-section {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
    font-family: nyt-franklin, helvetica, arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.current-date {
    color: #121212;
}

.todays-paper {
    color: #121212;
    text-decoration: underline;
    cursor: pointer;
}

.todays-paper:hover {
    color: #666;
}

/* Logo Styles */
.logo {
    margin: 12px 0 16px;
}

.logo a {
    text-decoration: none;
    display: inline-block;
}

.nyt-logo-img {
    width: 100%;
    max-width: 680px;
    height: auto;
    display: block;
}

.logo a:hover {
    color: #000000;
}

/* Section Navigation */
.section-nav {
    display: flex;
    gap: 16px;
    border-top: 1px solid #e2e2e2;
    padding-top: 8px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.section-nav a {
    font-family: nyt-franklin, helvetica, arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: capitalize;
    color: #121212;
    padding: 4px 0;
}

.section-nav a:hover {
    color: #666;
}

/* Header Right */
.header-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.subscribe-btn {
    background-color: #567b95;
    color: #ffffff;
    padding: 8px 16px;
    font-family: nyt-franklin, helvetica, arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 2px;
}

.subscribe-btn:hover {
    background-color: #486a82;
}

.account-btn {
    font-family: nyt-franklin, helvetica, arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #121212;
    padding: 8px;
}

.account-btn:hover {
    opacity: 0.6;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    max-width: 1280px;
    margin: 0 auto;
    border-top: 1px solid #e2e2e2;
}

.top-sections {
    display: flex;
    gap: 16px;
}

.top-sections a {
    font-family: nyt-franklin, helvetica, arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #121212;
}

.stock-ticker {
    font-family: nyt-franklin, helvetica, arial, sans-serif;
    font-size: 11px;
}

.stock-change {
    font-weight: 700;
}

.stock-change.positive {
    color: #04884b;
}

/* Main Content */
.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 16px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 24px;
    border-bottom: 1px solid #e2e2e2;
    padding-bottom: 24px;
}

/* Story Styles */
.story-headline {
    font-family: nyt-cheltenham, georgia, 'times new roman', times, serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
}

.main-story-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 12px;
}

.main-story .story-headline {
    font-size: 28px;
    margin-bottom: 12px;
}

.main-story .story-headline a:hover {
    color: #666;
}

.secondary-story .story-headline {
    font-size: 20px;
    margin-bottom: 8px;
}

.secondary-story .story-headline a:hover {
    color: #666;
}

.small-story .story-headline {
    font-size: 16px;
}

.story-summary {
    font-family: nyt-cheltenham, georgia, 'times new roman', times, serif;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 8px;
}

.read-time {
    font-family: nyt-franklin, helvetica, arial, sans-serif;
    font-size: 11px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
}

/* Left Column */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.small-story {
    display: flex;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #e2e2e2;
}

.small-story-image {
    flex: 0 0 150px;
}

.small-story-image img {
    width: 100%;
    height: auto;
    display: block;
}

.small-story-text {
    flex: 1;
}

/* Center Column */
.center-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.featured-story {
    position: relative;
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 8px;
}

.image-credit {
    font-family: nyt-franklin, helvetica, arial, sans-serif;
    font-size: 10px;
    color: #666;
    margin-bottom: 12px;
}

.analysis-label {
    font-family: nyt-franklin, helvetica, arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #666;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.bottom-story {
    border-top: 1px solid #e2e2e2;
    padding-top: 16px;
}

/* Right Column */
.right-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.image-story {
    margin-bottom: 16px;
}

.story-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 8px;
}

.small-stories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    border-top: 1px solid #e2e2e2;
    padding-top: 16px;
}

.grid-story img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 8px;
}

.grid-story .story-headline {
    font-size: 14px;
    margin-bottom: 4px;
}

/* Bottom Section Bar */
.bottom-section-bar {
    margin-top: 24px;
    padding: 16px 0;
    border-top: 3px solid #121212;
    border-bottom: 1px solid #e2e2e2;
}

.section-title {
    font-family: nyt-cheltenham, georgia, 'times new roman', times, serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.section-links a {
    font-family: nyt-franklin, helvetica, arial, sans-serif;
    font-size: 13px;
    color: #121212;
    text-decoration: underline;
}

.section-links a:hover {
    color: #666;
}

/* Footer */
.site-footer {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 16px;
    text-align: center;
    border-top: 1px solid #e2e2e2;
}

.disclaimer {
    font-family: nyt-franklin, helvetica, arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #d0021b;
    background-color: #fff3cd;
    padding: 12px 24px;
    border: 2px solid #d0021b;
    border-radius: 4px;
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .small-stories-grid {
        grid-template-columns: 1fr;
    }

    .nyt-logo-img {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        align-items: center;
    }

    .header-left {
        align-self: flex-start;
    }

    .header-center {
        width: 100%;
    }

    .nyt-logo-img {
        max-width: 400px;
    }

    .section-nav {
        font-size: 10px;
        gap: 8px;
        padding: 8px 0;
    }

    .section-nav a {
        font-size: 10px;
    }

    .main-story .story-headline {
        font-size: 24px;
    }

    .secondary-story .story-headline {
        font-size: 18px;
    }

    .small-story {
        flex-direction: column;
    }

    .small-story-image {
        flex: 0 0 auto;
        width: 100%;
    }

    .story-summary {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .nyt-logo-img {
        max-width: 280px;
    }

    .date-section {
        font-size: 10px;
    }

    .section-nav {
        gap: 6px;
    }

    .section-nav a {
        font-size: 9px;
    }

    .main-content {
        padding: 16px 12px;
    }

    .main-story .story-headline {
        font-size: 20px;
    }

    .secondary-story .story-headline {
        font-size: 16px;
    }

    .grid-story .story-headline {
        font-size: 13px;
    }

    .story-summary {
        font-size: 13px;
    }

    .read-time {
        font-size: 10px;
    }
}
