/* ================= 1. VARIABLES & RESET ================= */
:root { --primary: #d32f2f; --primary-dark: #b71c1c; --dark: #222; --gray: #f4f4f4; --text: #333; --font-heading: 'Merriweather', serif; --font-body: system-ui, -apple-system, sans-serif; }
body { margin: 0; padding: 0; font-family: var(--font-body); color: var(--text); background: #fff; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.flex-space-between { display: flex; justify-content: space-between; align-items: center; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; margin: 0 0 10px 0; }

/* ================= 2. TOP BAR ================= */
.top-bar { background-color: #111; color: #f1f1f1; font-size: 0.8rem; padding: 6px 0; font-family: 'Roboto', sans-serif; border-bottom: 1px solid #333; }
.top-section { display: flex; align-items: center; gap: 8px; }
.left-sec svg { color: var(--primary); margin-right: 5px; }
.location-badge { background: var(--primary); color: #fff; padding: 1px 6px; border-radius: 3px; font-size: 0.7rem; font-weight: bold; margin-right: 8px; }
.live-clock-box { background: #222; padding: 2px 8px; border-radius: 4px; display: flex; align-items: center; border: 1px solid #333; font-family: 'Courier New', monospace; margin-right: 15px; }
#live-clock { width: 85px; text-align: center; font-weight: 600; }
.clock-icon { margin-right: 6px; color: #f1c40f; }
.social-links { display: flex; gap: 12px; }
.social-icon { color: #bbb; transition: 0.3s; }
.social-icon:hover { color: #fff; }

/* ================= 3. HEADER BRANDING ================= */
.main-header-wrap { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: relative; z-index: 900; }
.header-branding { background: #ffffff; padding: 20px 0; text-align: center; border-bottom: 1px solid #f0f0f0; }
.site-logo { max-width: 100%; height: auto; max-height: 80px; margin: 0 auto; display: block; transition: transform 0.3s ease; }
.site-logo:hover { transform: scale(1.02); }
.tagline-wrap { display: flex; align-items: center; justify-content: center; margin-top: 10px; gap: 15px; }
.tagline { font-family: var(--font-heading); font-size: 1rem; color: #555; font-weight: 600; letter-spacing: 1.5px; margin: 0; text-transform: uppercase; }
.tagline-wrap .line { height: 2px; width: 40px; background: linear-gradient(to right, transparent, var(--primary), transparent); display: block; opacity: 0.8; }

/* ================= 4. NAVIGATION BAR ================= */
.main-nav { background: var(--primary); background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%); position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 6px rgba(0,0,0,0.15); }
.nav-list { display: flex; list-style: none; margin: 0; padding: 0; align-items: center; overflow-x: auto; scrollbar-width: none; }
.nav-list::-webkit-scrollbar { display: none; }
.nav-item a { display: block; color: #fff; font-weight: 700; font-size: 1rem; padding: 12px 18px; border-bottom: 3px solid transparent; transition: all 0.3s; white-space: nowrap; }
.nav-item a:hover, .nav-item.active a { background: rgba(0,0,0,0.1); border-bottom-color: #fff; }
.nav-item.dropdown-trigger { position: relative; margin-left: auto; }
.dropdown-menu { display: none; position: absolute; top: 100%; right: 0; background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.2); width: 600px; border-top: 3px solid var(--primary-dark); z-index: 1001; }
.nav-item.dropdown-trigger:hover .dropdown-menu { display: block; }
.dropdown-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 20px; gap: 20px; }
.drop-col h6 { color: var(--primary); margin: 0 0 10px 0; font-size: 0.9rem; text-transform: uppercase; border-bottom: 1px solid #eee; padding-bottom: 5px; }
.drop-col a { color: #333 !important; padding: 5px 0; font-weight: 500; font-size: 0.95rem; border-top: none; }
.drop-col a:hover { background: none; color: var(--primary) !important; padding-left: 5px; }

/* ================= 5. CONTENT SECTIONS ================= */
.ticker-wrap { background: var(--gray); border-bottom: 1px solid #ddd; margin-bottom: 20px; }
.ticker-container { display: flex; align-items: center; overflow: hidden; height: 40px; }
.breaking-badge { background: var(--primary); color: #fff; padding: 5px 10px; font-weight: bold; font-size: 0.9rem; white-space: nowrap; z-index: 2; }
.ticker-content { width: 100%; padding-left: 10px; }
.ticker-content a { color: var(--dark); font-weight: 600; font-size: 0.95rem; }
.ticker-content a:hover { color: var(--primary); }
.news-grid-hero { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-bottom: 30px; }
.hero-story h2 { font-size: 2rem; line-height: 1.2; margin-top: 10px; }
.hero-story p { font-size: 1.1rem; color: #555; }
.latest-sidebar ul { list-style: none; padding: 0; }
.latest-sidebar li { border-bottom: 1px solid #eee; padding: 8px 0; font-size: 0.95rem; }
.latest-sidebar .time { color: var(--primary); font-weight: bold; font-size: 0.8rem; display: block; }
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.section-heading { border-bottom: 2px solid var(--primary); margin-bottom: 15px; }
.section-heading span { background: var(--primary); color: #fff; padding: 5px 15px; display: inline-block; }
.card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.news-card h4 { font-size: 1.1rem; line-height: 1.4; margin-top: 8px; }

/* ================= 6. FOOTER & MOBILE ================= */
.site-footer { background: var(--dark); color: #fff; padding: 40px 0 20px; text-align: center; margin-top: 50px; }
.footer-links a { color: #ccc; margin: 0 10px; }
.footer-links a:hover { color: #fff; }

@media (max-width: 768px) {
    .center-sec, .location-badge { display: none; }
    .top-bar { padding: 5px 10px; }
    #live-clock { width: auto; font-size: 0.75rem; }
    .header-branding { padding: 15px 0; }
    .site-logo { max-height: 50px; }
    .header-branding h1 { font-size: 2rem; }
    .tagline { font-size: 0.75rem; letter-spacing: 1px; }
    .tagline-wrap .line { width: 20px; }
    .nav-item a { padding: 10px 12px; font-size: 0.9rem; }
    .dropdown-menu, .nav-item.dropdown-trigger { display: none !important; }
    .nav-list { gap: 5px; }
    .news-grid-hero, .category-grid, .card-row { grid-template-columns: 1fr; }
}