/* Daily Bugle - Classic Newspaper Styling */

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

body {
    background-color: #d4c5a9;
    font-family: 'Source Serif 4', Georgia, serif;
    line-height: 1.6;
    color: #1a1a1a;
}

.newspaper {
    max-width: 1200px;
    margin: 20px auto;
    background-color: #f5f1e6;
    box-shadow: 0 0 30px rgba(0,0,0,0.3);
    position: relative;
}

/* Newspaper texture overlay */
.newspaper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

/* Masthead */
.masthead {
    border-bottom: 3px double #1a1a1a;
    padding: 10px 20px;
    text-align: center;
    background: linear-gradient(to bottom, #f5f1e6, #ebe5d5);
}

.masthead-top {
    display: flex;
    justify-content: space-between;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 10px;
    border-bottom: 1px solid #1a1a1a;
    margin-bottom: 15px;
}

.logo-container {
    padding: 20px 0;
}

.paper-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 72px;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #1a1a1a;
    text-shadow: 2px 2px 0 #c4b896;
    margin-bottom: 5px;
}

.tagline {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-style: italic;
    letter-spacing: 2px;
    color: #555;
}

.nav-bar {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px 0;
    border-top: 1px solid #1a1a1a;
    margin-top: 15px;
}

.nav-bar a {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    color: #1a1a1a;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.nav-bar a:hover,
.nav-bar a.active {
    color: #8b0000;
}

/* Breaking News */
.breaking-news {
    background-color: #8b0000;
    color: white;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.breaking-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 12px;
    background-color: white;
    color: #8b0000;
    padding: 3px 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breaking-news marquee {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
}

/* Main Content */
.content {
    padding: 30px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* Featured Story */
.featured-story {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #1a1a1a;
}

.featured-image {
    position: relative;
}

.image-placeholder {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 50%, #2c2c2c 100%);
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid #333;
}

.silhouette {
    width: 150px;
    height: 200px;
    background: linear-gradient(to bottom, #3a3a3a, #2a2a2a);
    border-radius: 50% 50% 45% 45% / 40% 40% 60% 60%;
    position: relative;
}

.silhouette::before {
    content: '';
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 120px;
    background: linear-gradient(to bottom, #3a3a3a, #2a2a2a);
    border-radius: 50% 50% 0 0;
}

.photo-credit {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 10px;
    color: #888;
    font-style: italic;
}

.section-label {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8b0000;
    margin-bottom: 10px;
    border-bottom: 2px solid #8b0000;
    padding-bottom: 3px;
}

.headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.byline {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.lead {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.drop-cap {
    float: left;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 75px;
    line-height: 0.8;
    padding-right: 10px;
    padding-top: 5px;
    color: #8b0000;
}

.featured-text p {
    margin-bottom: 12px;
    text-align: justify;
}

.continue-link {
    margin-top: 15px;
}

.continue-link a {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #8b0000;
    text-decoration: none;
    letter-spacing: 1px;
}

.continue-link a:hover {
    text-decoration: underline;
}

/* Stories Grid */
.stories-grid {
    grid-column: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.story {
    padding: 20px;
    border: 1px solid #d4c5a9;
    background-color: rgba(255,255,255,0.3);
}

.story h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.story p {
    font-size: 14px;
    color: #333;
}

.story .byline {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 11px;
}

/* Quote Box */
.quote-box {
    grid-column: 2;
    grid-row: 2 / 4;
    background-color: #f0ebe0;
    border-left: 4px solid #8b0000;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-box blockquote {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-style: italic;
    line-height: 1.5;
    color: #333;
    margin-bottom: 15px;
}

.quote-box cite {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #8b0000;
}

/* Bottom Stories */
.bottom-stories {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding-top: 25px;
    border-top: 1px solid #1a1a1a;
}

.story-small h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.story-small p {
    font-size: 13px;
    color: #444;
}

/* Sidebar */
.sidebar {
    position: absolute;
    right: 30px;
    top: 500px;
    width: 200px;
}

.sidebar-section {
    margin-bottom: 25px;
    padding: 15px;
    background-color: rgba(255,255,255,0.5);
    border: 1px solid #d4c5a9;
}

.sidebar-section h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8b0000;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #8b0000;
}

.weather-widget {
    text-align: center;
}

.weather-widget .temp {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
}

.weather-widget .condition {
    display: block;
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

.weather-widget .forecast {
    display: block;
    font-size: 12px;
    color: #888;
}

.most-read {
    padding-left: 20px;
}

.most-read li {
    font-size: 13px;
    margin-bottom: 8px;
    color: #333;
}

.advertisement {
    background-color: #fff9e6;
    border: 2px dashed #c4b896;
}

.ad-label {
    font-family: 'Roboto', sans-serif;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    text-align: center;
    margin-bottom: 10px;
}

.ad-content {
    text-align: center;
}

.ad-content p {
    margin-bottom: 5px;
}

.ad-small {
    font-size: 11px;
    font-style: italic;
    color: #666;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #f5f1e6;
    padding: 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
}

.footer-section h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #c4b896;
}

.footer-section p {
    font-size: 13px;
    margin-bottom: 5px;
    color: #ccc;
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}

.satire-notice {
    font-style: italic;
    font-size: 11px !important;
    color: #666 !important;
    margin-top: 10px !important;
    padding: 10px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 900px) {
    .paper-name {
        font-size: 42px;
    }

    .featured-story {
        grid-template-columns: 1fr;
    }

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

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

    .content {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        width: 100%;
        padding: 0 30px;
    }

    .quote-box {
        grid-column: 1;
        grid-row: auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nav-bar {
        flex-wrap: wrap;
        gap: 15px;
    }

    .masthead-top {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .newspaper {
        margin: 0;
    }

    .paper-name {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .headline {
        font-size: 24px;
    }

    .content {
        padding: 15px;
    }
}
