    /* =========================================================
      PRIVAE BLOG PAGE
      Blog hero/card visual design intentionally preserved.
      index.css is loaded FIRST; this file is loaded SECOND.
      ========================================================= */

    :root {
      --blog-bg: #f7dca9;
      --blog-surface: #fff0d6;
      --blog-surface-strong: #f8e7c5;
      --blog-text: #171513;
      --blog-muted: #6f6659;
      --blog-line: rgba(23, 21, 19, 0.18);
      --blog-accent: #d61f2c;
      --blog-shadow: 0 8px 22px rgba(45, 31, 13, 0.10);
      --blog-radius: 10px;
      --blog-container: 1200px;
    }

    .blog-page {
      margin: 0;
      background: var(--blog-bg);
      color: var(--blog-text);
      line-height: 1.55;
      /* Existing Privae font family */
      font-family: "Montserrat", Arial, Helvetica, sans-serif;
    }

    .blog-page a {
      color: inherit;
      text-decoration: none;
    }

    /* Keep the existing site's navbar, but make sure Blog is the active item. */
    
    .blog-page .navbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
}
   

    .blog-page .nav-menu {
      position: relative;
      z-index: 210;
    }

    /* Canvas = same expanding/fading water-ripple idea used by index.js */
    .blog-page #waterCanvas {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 150;
      mix-blend-mode: overlay;
      opacity: 1;
    }

    /* Do not let the canvas interfere with clicks. */
    .blog-page .navbar,
    .blog-page main,
    .blog-page footer,
    .blog-page .content-layer {
      position: relative;
      z-index: 160;
    }

    /* =========================
      HERO — preserved
      ========================= */
    .blog-hero {
      width: min(820px, calc(100% - 48px));
      margin: 80px auto 75px;
      text-align: center;
    }

    .eyebrow {
      margin: 0 0 13px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 3px;
      color: var(--blog-muted);
      text-transform: uppercase;
    }

    .blog-hero h1 {
      margin: 0;
      font-family: "Cinzel", Georgia, serif;
      font-size: clamp(38px, 5vw, 58px);
      font-weight: 500;
      line-height: 1.05;
      letter-spacing: 4px;
      text-transform: uppercase;
    }

    .hero-description {
      max-width: 680px;
      margin: 15px auto 0;
      margin-bottom: 50px;
      color: var(--blog-muted);
      font-size: 14px;
    }

    /* =========================
      BLOG SECTION — preserved
      ========================= */
    .blog-section {
      width: min(var(--blog-container), calc(100% - 48px));
      margin: 0 auto 100px;
    }

    .blog-layout {
      display: block;
    }

    .blog-list-area {
      min-width: 0;
    }

    .section-heading {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 20px;
      margin-bottom: 24px;
    }

    .section-heading h2 {
      margin: 0;
      font-family: "Cinzel", Georgia, serif;
      font-size: 28px;
      font-weight: 500;
      letter-spacing: 3px;
      text-transform: uppercase;
    }

    .result-count {
      font-size: 11px;
      color: var(--blog-muted);
    }

    /* 3 cards per row — selected design */
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
    }

    .blog-card {
      display: flex;
      flex-direction: column;
      background: var(--blog-surface);
      border: 1px solid rgba(23, 21, 19, .08);
      border-radius: var(--blog-radius);
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(45, 31, 13, .06);
      transition: transform .25s ease, box-shadow .25s ease;
    }

    .blog-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--blog-shadow);
    }

    .blog-image-wrap {
      display: block;
      aspect-ratio: 16 / 10;
      overflow: hidden;
      background: #ead4ac;
    }

    .blog-image {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      transition: transform .4s ease;
    }

    .blog-card:hover .blog-image {
      transform: scale(1.035);
    }

    .blog-card-content {
      display: flex;
      flex-direction: column;
      flex: 1;
      padding: 18px;
    }

    .blog-meta {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 10px;
      color: var(--blog-muted);
      font-size: 9px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .blog-card h3 {
      margin: 0 0 9px;
      font-family: "Montserrat", Arial, sans-serif;
      font-size: 16px;
      line-height: 1.35;
      font-weight: 600;
    }

    .blog-excerpt {
      margin: 0;
      color: var(--blog-muted);
      font-size: 12px;
      line-height: 1.65;
    }

    .read-more {
      width: fit-content;
      margin-top: auto;
      padding-top: 17px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
    }

    .read-more span {
      display: inline-block;
      transition: transform .2s ease;
    }

    .blog-card:hover .read-more span {
      transform: translateX(5px);
    }
  

    /* =========================
      PAGINATION — preserved
      ========================= */
    .pagination {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      gap: 7px;
      margin-top: 35px;
    }

    .page-btn {
      min-width: 34px;
      height: 34px;
      padding: 0 9px;
      border: 1px solid var(--blog-line);
      border-radius: 5px;
      background: transparent;
      color: var(--blog-text);
      cursor: pointer;
      font-size: 11px;
    }
    .page-btn:hover,
    .page-btn.active {
      background: var(--blog-text);
      color: var(--blog-surface);
    }
    .page-btn:disabled {
      opacity: .35;
      cursor: not-allowed;
    }
    /* =========================
      Mobile nav safety
      ========================= */
    .blog-page .nav-toggle {
      display: none;
      border: 0;
      background: transparent;
      cursor: pointer;
    }

    .blog-page .nav-toggle span {
      display: block;
      width: 22px;
      height: 1px;
      margin: 5px 0;
      background: currentColor;
      transition: transform .2s ease, opacity .2s ease;
    }

    /* =========================
      Tablet
      ========================= */
    @media (max-width: 1000px) {
      .blog-layout {
        grid-template-columns: 1fr;
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    } 

    /* =========================
      Mobile
      ========================= */
    @media (max-width: 720px) {
      .blog-page .nav-toggle {
        display: none !important;
      }
       .blog-detail.open {
        transform: translateX(0);
        padding: 17px;
      }

      .blog-page .navbar-container {
        position: relative;
      }

      /* The site's existing nav-menu styles are allowed to control the panel.
        These additions only ensure it opens correctly on this page. */
      .blog-page .nav-menu {
          display: flex !important;
      }

    

      .blog-hero {
        width: min(var(--blog-container), calc(100% - 30px));
        margin: 55px auto 55px;
      }

      .blog-hero h1 {
        font-size: 35px;
        letter-spacing: 2px;
      }

      .hero-description {
        font-size: 13px;
      }

      .blog-section {
        width: min(var(--blog-container), calc(100% - 30px));
        margin-bottom: 65px;
      }

      .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
      }

      .section-heading h2 {
        font-size: 23px;
      }

      .blog-grid {
        grid-template-columns: 1fr;
        gap: 18px;
      }

      .blog-card h3 {
        font-size: 17px;
      }
    }

    @media (min-width: 721px) and (max-width: 1100px) {
      .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    /* Reduce animation for users who request reduced motion. */
    @media (prefers-reduced-motion: reduce) {
      .blog-page *,
      .blog-page *::before,
      .blog-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
      }

      .blog-page #waterCanvas {
        display: none;
      }
    }
