    :root {
      --primary-blue: #003366;
      --accent-green: #27ae60;
      --dark-grey: #1a1a1a;
      --medium-grey: #555;
      --light-grey: #f4f7f9;
      --white: #ffffff;
      --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
      --transition: all .3s ease;
    }

    body {
      font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      line-height: 1.6;
      color: var(--dark-grey);
      margin: 0;
      padding: 0;
      background-color: var(--light-grey);
    }

 #header-container {
  background: var(--white);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

/* Smaller when scrolling */
#header-container.scrolled {
  padding: 6px 0;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 2px 8px;
}

    .nav-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 20px;
    }
    /* Navigation Actions */
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 0 0 41px;
  }

  .icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--medium-grey);
    padding: 5px;
    display: flex;
    align-items: center;
  }

  /* Search Bar Overlay */
  .search-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: none; /* Toggled by JS */
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 10;
  }

  .search-wrapper input {
    width: 100%;
    border: none;
    font-size: 1.1rem;
    outline: none;
    font-family: inherit;
  }

  #closeSearch {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--medium-grey);
  }
  #mainNav {
    display: flex;
  }
  /* Mobile Menu Styles */
  @media (max-width: 992px) {
    .mobile-toggle {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }

    .mobile-toggle span {
      width: 25px;
      height: 3px;
      background: var(--primary-blue);
      transition: var(--transition);
    }

    nav {
      display: none; /* Hidden on mobile by default */
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: var(--white);
      border-bottom: 2px solid var(--accent-green);
      box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }

    nav.active {
      display: block;
    }

    nav ul {
      flex-direction: column;
      gap: 0;
      padding: 0;
    }

    nav ul li {
      border-top: 1px solid #eee;
    }

    nav a {
      display: block;
      padding: 20px;
    }
  }
    .logo {
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--primary-blue);
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .logo span {
      color: var(--accent-green);
    }

    nav ul {
      list-style: none;
      display: flex;
      gap: 30px;
      margin: 0;
    }

    nav a {
      text-decoration: none;
      color: var(--medium-grey);
      font-weight: 600;
      font-size: .9rem;
      transition: var(--transition);
    }

    nav a:hover {
      color: var(--primary-blue);
    }

  
    /* Sidebar */
    aside {
      position: sticky;
      top: 100px;
      height: fit-content;
    }

    .sidebar-widget {
      background: var(--white);
      padding: 25px;
      border-radius: 12px;
      box-shadow: var(--shadow);
      margin-bottom: 30px;
    }

    .widget-title {
      font-size: 1.1rem;
      font-weight: 800;
      margin-bottom: 20px;
      border-bottom: 2px solid #f0f0f0;
      padding-bottom: 10px;
    }

    .ad-placeholder {
      background: #f9f9f9;
      height: 300px;
      border: 1px dashed #ccc;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .8rem;
      color: #999;
    }

    /* Footer */
    footer {
      background: var(--primary-blue);
      color: #fff;
      padding: 80px 20px 40px;
    }

    .footer-content {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 60px;
    }

    .footer-logo {
      font-size: 1.5rem;
      font-weight: 800;
      margin-bottom: 20px;
      display: block;
    }

    .footer-links h4 {
      color: var(--accent-green);
      margin-bottom: 20px;
    }

    .footer-links ul {
      list-style: none;
      padding: 0;
    }

    .footer-links li {
      margin-bottom: 12px;
    }

    .footer-links a {
      color: #cbd5e0;
      text-decoration: none;
      font-size: .9rem;
    }

    .footer-links a:hover {
      color: #fff;
    }

    .footer-bottom {
      text-align: center;
      margin-top: 60px;
      border-top: 1px solid rgba(255, 255, 255, .1);
      padding-top: 30px;
      font-size: .8rem;
      color: #a0aec0;
    }
/* Mobile Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr; /* stack into 1 column */
    gap: 30px;
    text-align: center; /* optional: center everything */
  }

  .footer-logo {
    margin-bottom: 10px;
  }

  .footer-links h4 {
    margin-bottom: 10px;
  }

  .footer-links li {
    margin-bottom: 8px;
  }

  .footer-bottom {
    margin-top: 30px;
    font-size: 0.75rem;
  }
}
    /* Responsive */
    @media (max-width:992px) {
      .article-grid {
        grid-template-columns: 1fr;
      }

      .container {
        grid-template-columns: 1fr;
      }

      .hero h1 {
        font-size: 2.2rem;
      }
    }