@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Merriweather:ital,wght@0,300;0,400;0,700;1,300&display=swap');

/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
  /* Brand Colors */
  --primary-brand: #D32F2F;      /* Crimson Red for Breaking, Accents & Brand Primary */
  --primary-brand-dark: #B71C1C; /* Hover Crimson */
  --secondary-brand: #0D47A1;    /* Deep Trust Blue for Category tags & Educational Info */
  
  /* Neutral Palette */
  --bg-main: #FFFFFF;            /* Main reading background */
  --bg-alt: #F8F9FA;             /* Subtle card/sidebar background */
  --text-main: #1A1A1A;          /* Charcoal Black for major text and headings */
  --text-body: #333333;          /* Off-Black for reading comfort */
  --text-muted: #666666;         /* Gray for meta tags, captions, dates */
  --text-light: #9E9E9E;         /* Lighter gray for secondary tags */
  
  /* Borders and Dividers */
  --border-light: #E0E0E0;       /* Fine divider borders */
  --border-dark: #212121;        /* Thick news brand accent borders */
  
  /* Functional Colors */
  --alert-red: #FFEBEE;          /* Light red alert strip background */
  --success-green: #2E7D32;      /* For valid operations / success states */
  --shadow-subtle: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-hover: 0 4px 16px rgba(0,0,0,0.12);
  
  /* Typography Scale */
  --font-editorial: 'Merriweather', Georgia, serif;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Layout constraints */
  --max-width: 1240px;
  --border-radius-sm: 2px;
  --border-radius-md: 4px;
}

/* --- BASE & RESET --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-ui);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-editorial);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

/* --- LAYOUT WRAPPER --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- TOP UTILITY BAR --- */
.top-utility {
  background-color: var(--primary-dark);
  color: var(--bg-alt);
  font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  background: #111;
}

.top-utility .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-utility .live-date {
  font-weight: 500;
  color: #ccc;
}

.top-utility .social-links a {
  margin-left: 15px;
  color: #ccc;
}

.top-utility .social-links a:hover {
  color: var(--primary-brand);
}

.top-utility .fb-badge {
  background-color: #1877F2;
  color: white;
  padding: 2px 6px;
  border-radius: var(--border-radius-sm);
  font-weight: bold;
}

/* --- BRAND HEADER --- */
.brand-header {
  padding: 20px 0;
  border-bottom: 2px solid var(--text-main);
}

.brand-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.brand-logo {
  font-family: var(--font-editorial);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--primary-brand);
  text-transform: uppercase;
}

.brand-logo span {
  color: var(--text-main);
}

.brand-tagline {
  font-family: var(--font-ui);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

.header-action {
  cursor: pointer;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-main);
  padding: 8px;
}

/* --- MAIN NAVIGATION --- */
.nav-main {
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.nav-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li a {
  display: block;
  padding: 16px 20px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-main);
  letter-spacing: 0.5px;
  border-bottom: 3px solid transparent;
}

.nav-menu li a:hover,
.nav-menu li.active a {
  color: var(--primary-brand);
  border-bottom-color: var(--primary-brand);
}

.nav-search-trigger {
  padding: 16px;
  cursor: pointer;
  color: var(--text-main);
}

/* Collapsible Hamburger (Desktop Hidden) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: 3px;
  transition: 0.3s;
}

/* --- ADVERTISEMENT BANNER PLACEHOLDERS --- */
.ad-banner-wrapper {
  background-color: var(--bg-alt);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.ad-banner {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 728px;
  height: 90px;
  background-color: #e9ecef;
  border: 1px dashed var(--text-light);
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- EDITORIAL MAIN CONTENT GRID --- */
.news-grid-layout {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 30px;
  margin: 30px 0;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 3px solid var(--text-main);
  padding-bottom: 8px;
}

.section-title {
  font-family: var(--font-editorial);
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-main);
  display: flex;
  align-items: center;
}

.section-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 24px;
  background-color: var(--primary-brand);
  margin-right: 12px;
}

.section-more-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-brand);
  text-transform: uppercase;
}

.section-more-link:hover {
  text-decoration: underline;
}

/* --- FOOTER STYLES --- */
.footer-main {
  background-color: #111111;
  color: #eeeeee;
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #333333;
}

.footer-brand .brand-logo {
  color: var(--primary-brand);
  font-size: 32px;
  text-align: left;
}

.footer-brand .brand-logo span {
  color: #ffffff;
}

.footer-brand .brand-tagline {
  color: #888888;
  margin-bottom: 15px;
}

.footer-brand p {
  font-size: 13px;
  color: #bbbbbb;
  line-height: 1.6;
}

.footer-links-col h4 {
  font-family: var(--font-ui);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-links-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-brand);
}

.footer-links-col ul {
  list-style: none;
}

.footer-links-col ul li {
  margin-bottom: 10px;
}

.footer-links-col ul li a {
  font-size: 13px;
  color: #bbbbbb;
}

.footer-links-col ul li a:hover {
  color: var(--primary-brand);
  padding-left: 4px;
}

.footer-cta h4 {
  font-family: var(--font-ui);
  color: white;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.footer-cta p {
  font-size: 13px;
  color: #bbbbbb;
  margin-bottom: 15px;
}

.footer-cta .cta-socials a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background-color: #222222;
  border-radius: var(--border-radius-sm);
  color: white;
  margin-right: 8px;
  font-size: 16px;
}

.footer-cta .cta-socials a:hover {
  background-color: var(--primary-brand);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #888888;
}

.footer-bottom-links a {
  margin-left: 20px;
}

.footer-bottom-links a:hover {
  color: white;
}
