:root {
    --news-red: #D32F2F;
    --news-black: #111111;
    --news-grey: #f4f4f4;
    --news-white: #ffffff;
    --news-text: #2c2c2c;
    
    --serif: 'Merriweather', serif;
    --sans: 'Libre Franklin', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--sans);
    color: var(--news-text);
    background-color: var(--news-white);
    line-height: 1.6;
}

.container { width: 92%; max-width: 1100px; margin: 0 auto; }
.section-padding { padding: 60px 0; }

/* Top Bar */
.top-bar { background: var(--news-black); color: var(--news-white); font-size: 0.8rem; padding: 5px 0; font-family: var(--sans); }
.flex-bar { display: flex; justify-content: space-between; }
.trending { font-weight: bold; color: #ccc; }

/* Header */
.news-header { border-bottom: 4px solid var(--news-black); padding: 25px 0; background: var(--news-white); position: sticky; top: 0; z-index: 1000; }
.news-header .container { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--serif); font-size: 2.2rem; font-weight: 900; color: var(--news-black); text-decoration: none; letter-spacing: -1px; }
.red-dot { color: var(--news-red); }

.news-nav ul { display: flex; gap: 25px; list-style: none; align-items: center; }
.news-nav a { text-decoration: none; color: var(--news-black); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; }
.news-nav a:hover, .news-nav a.active { color: var(--news-red); }

.btn-sub { background: var(--news-red); color: var(--news-white) !important; padding: 8px 15px; border-radius: 2px; }
.btn-sub:hover { background: var(--news-black); }

/* Breaking News */
.breaking-news { background: var(--news-grey); border-bottom: 1px solid #ddd; padding: 10px 0; font-size: 0.9rem; }
.badge { background: var(--news-red); color: white; padding: 2px 8px; font-weight: bold; margin-right: 10px; font-size: 0.7rem; }
.ticker-text { font-family: var(--serif); font-weight: 700; }

/* Mobile Menu */
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }
.mobile-menu { position: fixed; top: 0; right: -100%; width: 280px; height: 100%; background: var(--news-black); z-index: 2000; padding: 40px; display: flex; flex-direction: column; transition: 0.3s; }
.mobile-menu.active { right: 0; }
.close-menu { align-self: flex-end; background: none; border: none; font-size: 1.5rem; color: var(--news-white); cursor: pointer; margin-bottom: 20px; }
.mobile-menu a { color: var(--news-white); text-decoration: none; font-size: 1.2rem; margin-bottom: 20px; border-bottom: 1px solid #333; padding-bottom: 5px; font-family: var(--serif); }

/* Layout Grid */
.editorial-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.main-story { border-bottom: 1px solid #eee; padding-bottom: 30px; margin-bottom: 30px; }
.img-container img { width: 100%; height: auto; display: block; margin-bottom: 15px; filter: contrast(1.1); }
.category { color: var(--news-red); font-weight: bold; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 5px; display: block; }
.main-story h1 { font-family: var(--serif); font-size: 2.5rem; line-height: 1.2; margin-bottom: 15px; color: var(--news-black); }
.lead { font-size: 1.2rem; color: #555; font-family: var(--serif); margin-bottom: 15px; }
.meta { font-size: 0.8rem; color: #888; font-weight: 600; }

.sidebar h3 { border-top: 2px solid var(--news-black); padding-top: 10px; font-family: var(--sans); font-weight: 900; margin-bottom: 20px; }
.sidebar-item { display: flex; align-items: baseline; margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.rank { font-size: 1.5rem; font-weight: 900; color: var(--news-grey); margin-right: 15px; -webkit-text-stroke: 1px var(--news-red); }
.sidebar-item a { text-decoration: none; color: var(--news-black); font-family: var(--serif); font-weight: 700; transition: 0.2s; }
.sidebar-item a:hover { color: var(--news-red); }

.ad-box { background: var(--news-grey); padding: 20px; text-align: center; margin-top: 40px; border: 1px solid #ddd; }
.ad-box p { font-size: 0.7rem; color: #999; margin-bottom: 10px; }
.ad-box a { color: var(--news-red); font-weight: bold; }

/* Secondary Grid */
.secondary-grid { grid-column: span 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; border-top: 4px solid var(--news-black); padding-top: 40px; margin-top: 20px; }
.sub-story img { width: 100%; height: 150px; object-fit: cover; margin-bottom: 10px; }
.sub-story h4 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 5px; }
.sub-story p { font-size: 0.9rem; color: #666; }

/* Article & Pages */
.content-narrow { max-width: 800px; margin: 0 auto; }
.headline-serif { font-family: var(--serif); font-size: 2.5rem; color: var(--news-black); }
.divider-red { width: 50px; height: 4px; background: var(--news-red); margin: 20px 0 30px; }
.intro-text { font-size: 1.3rem; font-family: var(--serif); line-height: 1.6; color: #444; margin-bottom: 30px; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.member-img { width: 100%; height: 200px; background: #ddd; margin-bottom: 10px; }
.team-member strong { display: block; font-family: var(--serif); font-size: 1.1rem; }
.team-member span { font-size: 0.8rem; color: var(--news-red); font-weight: 700; text-transform: uppercase; }

.letter-box { background: var(--news-grey); padding: 30px; margin-bottom: 20px; border-left: 4px solid var(--news-black); }
.letter-body { font-family: var(--serif); font-style: italic; font-size: 1.1rem; margin-bottom: 15px; }
.letter-author { text-align: right; font-weight: bold; font-size: 0.9rem; }

/* Forms */
.contact-split { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; }
.newspaper-form { background: var(--news-grey); padding: 40px; }
.newspaper-form h3 { border-bottom: 2px solid var(--news-black); padding-bottom: 10px; margin-bottom: 20px; font-family: var(--serif); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: bold; margin-bottom: 5px; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px; border: 1px solid #ccc; font-family: var(--sans); }
.submit-btn { background: var(--news-black); color: white; border: none; padding: 15px 30px; font-weight: bold; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; }
.submit-btn:hover { background: var(--news-red); }

/* Footer */
.news-footer { background: var(--news-black); color: #fff; padding: 60px 0 20px; margin-top: 60px; }
.footer-content { text-align: center; }
.brand-col h5 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 10px; }
.link-col { margin: 20px 0; }
.link-col a { color: #ccc; margin: 0 15px; text-decoration: none; font-weight: 600; }
.link-col a:hover { color: var(--news-white); }
.copyright { font-size: 0.8rem; color: #777; margin-top: 30px; border-top: 1px solid #333; padding-top: 20px; }

@media (max-width: 900px) {
    .news-nav ul { display: none; }
    .mobile-toggle { display: block; }
    .editorial-layout, .secondary-grid, .team-grid, .contact-split { grid-template-columns: 1fr; display: block; }
    .sidebar { margin-top: 40px; }
    .sub-story { margin-bottom: 30px; }
    .secondary-grid { grid-column: auto; }
}