/* CSS Variables & Global Resets */
    :root {
      --primary: #059669;
      --primary-hover: #047857;
      --primary-light: #ecfdf5;
      --text-main: #334155;
      --text-dark: #0f172a;
      --text-muted: #64748b;
      --bg-body: #f8fafc;
      --bg-card: #ffffff;
      --border-color: #e2e8f0;
      --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.06);
      --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
      --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
      --radius-card: 16px;
      --radius-btn: 10px;
      --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    }

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

    body {
      font-family: var(--font-stack);
      line-height: 1.6;
      color: var(--text-main);
      background-color: var(--bg-body);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    /* Top Navigation */
    .site-nav {
      background-color: #ffffff;
      border-bottom: 1px solid var(--border-color);
      position: sticky;
      top: 0;
      z-index: 50;
    }

    .nav-container {
      max-width: 1180px;
      margin: 0 auto;
      padding: 1rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .brand-logo {
      font-size: 1.35rem;
      font-weight: 800;
      color: var(--text-dark);
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }

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

    .nav-links {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      list-style: none;
      font-size: 0.95rem;
      font-weight: 600;
    }

    .nav-links a {
      color: var(--text-muted);
      transition: color 0.2s ease;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary);
    }

    /* Blog Hero */
    .blog-hero {
      background: linear-gradient(180deg, #ffffff 0%, var(--bg-body) 100%);
      padding: 4rem 1.5rem 2.5rem;
      text-align: center;
      border-bottom: 1px solid var(--border-color);
    }

    .hero-container {
      max-width: 780px;
      margin: 0 auto;
    }

    .hero-badge {
      display: inline-block;
      font-size: 0.75rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--primary);
      background-color: var(--primary-light);
      padding: 0.35rem 0.85rem;
      border-radius: 9999px;
      margin-bottom: 1rem;
    }

    .hero-title {
      font-size: 2.75rem;
      font-weight: 900;
      color: var(--text-dark);
      line-height: 1.2;
      margin-bottom: 1rem;
    }

    .hero-desc {
      font-size: 1.125rem;
      color: var(--text-muted);
      max-width: 640px;
      margin: 0 auto;
    }

    /* Filter Tabs */
    .filter-wrapper {
      max-width: 1180px;
      margin: 2rem auto 0;
      padding: 0 1.5rem;
      display: flex;
      justify-content: center;
      gap: 0.5rem;
      flex-wrap: wrap;
    }

    .filter-btn {
      background-color: #ffffff;
      border: 1px solid var(--border-color);
      color: var(--text-muted);
      padding: 0.55rem 1.2rem;
      border-radius: 9999px;
      font-size: 0.875rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .filter-btn:hover {
      border-color: var(--primary);
      color: var(--primary);
    }

    .filter-btn.active {
      background-color: var(--primary);
      border-color: var(--primary);
      color: #ffffff;
    }

    /* Main Content & Article Grid */
    .main-layout {
      max-width: 1180px;
      margin: 2.5rem auto 4rem;
      padding: 0 1.5rem;
      flex: 1;
      width: 100%;
    }

    .articles-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;
    }

    @media (min-width: 768px) {
      .articles-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    /* Article Card */
    .card {
      background: var(--bg-card);
      border-radius: var(--radius-card);
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    }

    .card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
      border-color: #cbd5e1;
    }

    .card-banner {
      height: 180px;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1.5rem;
      overflow: hidden;
    }

    .banner-nutrition {
      background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    }

    .banner-water {
      background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    }

    .banner-garden {
      background: linear-gradient(135deg, #15803d 0%, #4ade80 100%);
    }

    .banner-homestead {
      background: linear-gradient(135deg, #b45309 0%, #f59e0b 100%);
    }

    .banner-icon {
      font-size: 3.5rem;
      filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
    }

    .card-body {
      padding: 1.75rem;
      display: flex;
      flex-direction: column;
      flex: 1;
    }

    .card-meta-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
      margin-bottom: 0.85rem;
    }

    .category-tag {
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      padding: 0.25rem 0.65rem;
      border-radius: 6px;
    }

    .tag-nutrition { background-color: #ecfdf5; color: #047857; }
    .tag-water { background-color: #f0f9ff; color: #0369a1; }
    .tag-garden { background-color: #f0fdf4; color: #166534; }
    .tag-homestead { background-color: #fffbeb; color: #92400e; }

    .read-time {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .card-title {
      font-size: 1.35rem;
      font-weight: 800;
      color: var(--text-dark);
      line-height: 1.35;
      margin-bottom: 0.85rem;
    }

    .card-title a {
      transition: color 0.2s ease;
    }

    .card-title a:hover {
      color: var(--primary);
    }

    .card-excerpt {
      font-size: 0.925rem;
      color: #475569;
      line-height: 1.6;
      margin-bottom: 1.5rem;
      flex: 1;
    }

    .card-footer {
      padding-top: 1.25rem;
      border-top: 1px solid var(--border-color);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .rating-wrap {
      display: flex;
      align-items: center;
      gap: 0.35rem;
      font-size: 0.85rem;
      font-weight: 700;
      color: #d97706;
    }

    .btn-read {
      font-size: 0.875rem;
      font-weight: 700;
      color: var(--primary);
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      transition: gap 0.2s ease, color 0.2s ease;
    }

    .card:hover .btn-read {
      gap: 0.55rem;
      color: var(--primary-hover);
    }

    /* Footer */
    .site-footer {
      display: flex;
      flex: 1;
      align-items: center;
      background-color: #0f172a;
      color: #cbd5e1;
      padding: 3.5rem 1.5rem 2rem;
      border-top: 1px solid #1e293b;
      margin-top: auto;
    }

    .footer-container {
      max-width: 1180px;
      margin: 0 auto;
      font-size: 0.875rem;
    }

    .footer-links {
      display: flex;
      justify-content: flex-end;
      flex-wrap: wrap;
      gap: 1.5rem;
      list-style: none;
      margin-bottom: 2rem;
      font-weight: 500;
    }

    .footer-links a:hover {
      color: #6ee7b7;
    }

    .footer-info {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.25rem;
    }

    .footer-card {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.75rem;
      min-width: 0;
      padding: 1.6rem;
      border: 1px solid #334155;
      border-radius: var(--radius-card);
      background: linear-gradient(145deg, rgba(30, 41, 59, 0.88), rgba(15, 23, 42, 0.9));
      scroll-margin-top: 6rem;
      transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    }

    .footer-card:hover {
      transform: translateY(-4px);
      border-color: #10b981;
      box-shadow: 0 16px 32px rgba(2, 6, 23, 0.24);
    }

    .footer-eyebrow {
      color: #6ee7b7;
      font-size: 0.7rem;
      font-weight: 800;
      letter-spacing: 0.14em;
    }

    .footer-card h2 {
      color: #f8fafc;
      font-size: 1.25rem;
    }

    .footer-card p {
      color: #cbd5e1;
      line-height: 1.75;
    }

    .footer-read-more {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      margin-top: auto;
      color: #6ee7b7;
      font-weight: 700;
      transition: gap 180ms ease, color 180ms ease;
    }

    .footer-read-more:hover,
    .footer-read-more:focus-visible {
      gap: 0.7rem;
      color: #a7f3d0;
    }

    .footer-copyright {
      margin-top: 1.75rem;
      padding-top: 1.25rem;
      border-top: 1px solid #1e293b;
      color: #94a3b8;
      font-size: 0.8rem;
      text-align: center;
    }

    @media (max-width: 900px) {
      .footer-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .footer-card:last-child {
        grid-column: 1 / -1;
      }
    }

    @media (max-width: 640px) {
      .footer-links {
        justify-content: center;
        gap: 0.8rem 1.25rem;
      }

      .footer-info {
        grid-template-columns: 1fr;
      }

      .footer-card:last-child {
        grid-column: auto;
      }

      .footer-card {
        scroll-margin-top: 5rem;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .footer-card,
      .footer-read-more {
        transition: none;
      }

      .footer-card:hover {
        transform: none;
      }
    }