@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Lato:wght@400;700&display=swap");

:root {
      --color-primary: #1d4ed8;
      --color-accent: #84cc16;
      --color-white: #ffffff;
      --color-light-gray: #f8f8f8;
      --color-dark-gray: #333333;
      --color-border: #e5e5e5;
      --font-display: 'Nunito', sans-serif;
      --font-body: 'Lato', sans-serif;
    }

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

    html, body {
      height: 100%;
    }

    body {
      font-family: var(--font-body);
      color: var(--color-dark-gray);
      background-color: var(--color-white);
      line-height: 1.6;
    }

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

    /* Typography */
    h1, h2, h3, h4, h5, h6 {
      font-family: var(--font-display);
      font-weight: 800;
      line-height: 1.2;
      letter-spacing: -0.5px;
    }

    h1 {
      font-size: 3.5rem;
      margin-bottom: 1rem;
    }

    h2 {
      font-size: 2.5rem;
      margin-bottom: 0.8rem;
    }

    h3 {
      font-size: 1.5rem;
      margin-bottom: 0.6rem;
    }

    p {
      margin-bottom: 1rem;
      font-size: 1rem;
      line-height: 1.7;
    }

    a {
      color: var(--color-primary);
      text-decoration: none;
      transition: color 0.3s ease;
    }

    a:hover {
      color: var(--color-accent);
    }

    button, .btn {
      font-family: var(--font-display);
      font-size: 1rem;
      font-weight: 700;
      padding: 0.875rem 1.75rem;
      border: 1px solid var(--color-primary);
      background-color: var(--color-primary);
      color: var(--color-white);
      cursor: pointer;
      transition: all 0.3s ease;
      text-decoration: none;
      display: inline-block;
      letter-spacing: 0.5px;
    }

    button:hover, .btn:hover {
      background-color: var(--color-accent);
      border-color: var(--color-accent);
      color: var(--color-dark-gray);
    }

    /* Header & Navigation */
    header {
      background-color: var(--color-white);
      border-bottom: 1px solid var(--color-border);
      padding: 1.5rem 2rem;
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .header-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .brand {
      font-family: var(--font-display);
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--color-primary);
      letter-spacing: -0.5px;
    }

    nav {
      display: flex;
      gap: 2.5rem;
      align-items: center;
    }

    nav a {
      font-family: var(--font-display);
      font-size: 0.95rem;
      font-weight: 600;
      letter-spacing: 0.8px;
      color: var(--color-dark-gray);
      transition: color 0.3s ease;
    }

    nav a:hover {
      color: var(--color-primary);
    }

    nav a.active {
      color: var(--color-primary);
      border-bottom: 2px solid var(--color-accent);
      padding-bottom: 0.25rem;
    }

    /* Main Content */
    main {
      min-height: calc(100vh - 200px);
    }

    section {
      padding: 4rem 2rem;
    }

    .section-narrow {
      max-width: 700px;
      margin: 0 auto;
    }

    .section-wide {
      width: 100%;
    }

    /* Hero Section */
    #hero {
      position: relative;
      height: 70vh;
      min-height: 500px;
      display: flex;
      align-items: flex-end;
      padding: 0;
      overflow: hidden;
    }

    .hero-image-container {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
    }

    .hero-image-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, rgba(29, 78, 216, 0.4) 0%, rgba(29, 78, 216, 0.1) 100%);
      z-index: 2;
    }

    .hero-content {
      position: relative;
      z-index: 3;
      padding: 3rem 2rem;
      max-width: 600px;
      color: var(--color-white);
    }

    .hero-content h1 {
      color: var(--color-white);
      margin-bottom: 0.5rem;
    }

    .hero-content p {
      font-size: 1.1rem;
      color: var(--color-white);
      margin-bottom: 0;
    }

    /* Editorial Focus Section */
    #editorial_focus {
      background-color: var(--color-light-gray);
    }

    .editorial-grid {
      max-width: 900px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
    }

    .editorial-item {
      padding: 2rem;
      background-color: var(--color-white);
      border: 1px solid var(--color-border);
    }

    .editorial-item h3 {
      color: var(--color-primary);
      margin-bottom: 1rem;
    }

    .editorial-item p {
      font-size: 0.95rem;
      line-height: 1.8;
    }

    /* Trust Strip */
    #trust_strip {
      background-color: var(--color-primary);
      color: var(--color-white);
      padding: 3rem 2rem;
    }

    .trust-container {
      max-width: 1000px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 2rem;
      text-align: center;
    }

    .trust-item {
      padding: 1.5rem;
    }

    .trust-item .number {
      font-family: var(--font-display);
      font-size: 2.5rem;
      font-weight: 800;
      color: var(--color-accent);
      margin-bottom: 0.5rem;
    }

    .trust-item p {
      font-size: 0.95rem;
      margin: 0;
      color: rgba(255, 255, 255, 0.95);
    }

    /* Featured Story Section */
    #featured_story {
      background-color: var(--color-white);
    }

    .featured-story-container {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
    }

    .featured-story-image {
      height: 400px;
      overflow: hidden;
      border: 1px solid var(--color-border);
    }

    .featured-story-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .featured-story-content h3 {
      color: var(--color-primary);
      margin-bottom: 1.5rem;
    }

    .featured-story-content p {
      margin-bottom: 1.5rem;
      line-height: 1.8;
    }

    .featured-story-content .btn {
      margin-top: 1rem;
    }

    /* Content Paths Section */
    #content_paths {
      background-color: var(--color-light-gray);
    }

    .content-paths-container {
      max-width: 1000px;
      margin: 0 auto;
    }

    .content-paths-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2rem;
      margin-top: 2rem;
    }

    .content-path-card {
      background-color: var(--color-white);
      padding: 2rem;
      border: 1px solid var(--color-border);
      transition: border-color 0.3s ease;
    }

    .content-path-card:hover {
      border-color: var(--color-primary);
    }

    .content-path-card h3 {
      color: var(--color-primary);
      margin-bottom: 1rem;
      font-size: 1.3rem;
    }

    .content-path-card p {
      font-size: 0.95rem;
      line-height: 1.7;
    }

    /* CTA Contact Section */
    #cta_contact {
      background-color: var(--color-primary);
      color: var(--color-white);
    }

    .cta-container {
      max-width: 700px;
      margin: 0 auto;
      text-align: center;
    }

    .cta-container h2 {
      color: var(--color-white);
      margin-bottom: 1rem;
    }

    .cta-container p {
      color: rgba(255, 255, 255, 0.95);
      font-size: 1.05rem;
      margin-bottom: 2rem;
    }

    .cta-container .btn {
      background-color: var(--color-accent);
      border-color: var(--color-accent);
      color: var(--color-dark-gray);
    }

    .cta-container .btn:hover {
      background-color: var(--color-white);
      border-color: var(--color-white);
    }

    /* Footer */
    footer {
      background-color: var(--color-dark-gray);
      color: var(--color-white);
      padding: 3rem 2rem 1.5rem;
      margin-top: 4rem;
    }

    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      margin-bottom: 2rem;
    }

    .footer-section h3 {
      color: var(--color-accent);
      font-size: 1.1rem;
      margin-bottom: 1rem;
    }

    .footer-section p {
      font-size: 0.9rem;
      line-height: 1.7;
      color: rgba(255, 255, 255, 0.8);
    }

    .footer-section ul {
      list-style: none;
    }

    .footer-section li {
      margin-bottom: 0.75rem;
    }

    .footer-section a {
      color: rgba(255, 255, 255, 0.8);
      font-size: 0.9rem;
      transition: color 0.3s ease;
    }

    .footer-section a:hover {
      color: var(--color-accent);
    }

    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding-top: 1.5rem;
      text-align: center;
      font-size: 0.85rem;
      color: rgba(255, 255, 255, 0.6);
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      h1 {
        font-size: 2.5rem;
      }

      h2 {
        font-size: 1.8rem;
      }

      nav {
        gap: 1.5rem;
      }

      nav a {
        font-size: 0.85rem;
      }

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

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

      .hero-content {
        max-width: 100%;
      }

      .hero-content h1 {
        font-size: 2rem;
      }

      section {
        padding: 2.5rem 1.5rem;
      }

      #hero {
        height: 50vh;
        min-height: 350px;
      }
    }

    @media (max-width: 480px) {
      h1 {
        font-size: 1.8rem;
      }

      h2 {
        font-size: 1.4rem;
      }

      nav {
        gap: 1rem;
      }

      nav a {
        font-size: 0.75rem;
      }

      .trust-container {
        grid-template-columns: 1fr;
      }

      .content-paths-grid {
        grid-template-columns: 1fr;
      }
    }
/* ── image safety ── */
img { max-width: 100%; height: auto; display: block; }
img[style*='width:'] { max-width: 100%; }
