.blog-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background-color: #e9e8e7;
  overflow: hidden;
}

.blog-loading-inner {
  width: 100%;
  height: 100%;
}

.blog-shimmer {
  background: linear-gradient(
    100deg,
    #f0f0f0 40%,
    #e5e5e5 50%,
    #f0f0f0 60%
  );
  background-size: 200% 100%;
  animation: blogPageShimmer 1.2s infinite;
}

.blog-shimmer-header {
  height: 90px;
  width: 100%;
}

.blog-shimmer-hero {
  height: 50vh;
  width: calc(100% - 50px);
  max-width: 1400px;
  margin: 50px auto 30px auto;
  border-radius: 16px;
}

.blog-shimmer-grid {
  height: 720px;
  width: calc(100% - 50px);
  max-width: 1400px;
  margin: 0 auto 20px auto;
  border-radius: 16px;
}

@keyframes blogPageShimmer {
  to {
    background-position: -200% 0;
  }
}

@media (max-width: 768px) {
  .blog-shimmer-hero,
  .blog-shimmer-grid {
    width: calc(100% - 30px);
  }

  .blog-shimmer-hero {
    height: 42vh;
    margin-top: 20px;
  }

  .blog-shimmer-grid {
    height: 950px;
  }
}

@media (max-width: 480px) {
  .blog-shimmer-hero {
    height: 320px;
  }

  .blog-shimmer-grid {
    height: 1150px;
  }
}

body {
    margin: 0;
    font-family: var(--body-font-family);
    background-color: #e9e8e7; 
    color: #333;
  }


.blog-section-wrapper {
  padding: 0 25px;
}
/* ===============================
   THEME (tweak these)
   =============================== */
   :root {
    --fg: #111111;        /* primary text */
    --muted: #4B4B4B;     /* secondary text */
    --accent: #0F172A;    /* for large word & links hover (slate-ish) */
    --panel-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.05);
  }
  
  /* Container */
  .blog-landing-hero {
    box-sizing: border-box;
    padding-top: 50px;
  }
  
  /* Panel */
  .blog-landing-image-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 1400px;                 /* requested width */
    height: min(50vh, 540px);          /* cap at ~50vh */
    border-radius: 16px;
    display: flex;
    align-items: center;
  }
  
  /* Keep old image class for compatibility; hide it */
  .blog-landing-image { display: none !important; }
  
  /* Overlay wraps everything */
  .blog-landing-overlay {
    position: relative;
    width: 100%;
    padding: clamp(16px, 3.5vw, 48px);
  }
  
  /* Giant background word */
  .blog-landing-word {
  
    inset: auto 0 0 0;
    font-size: clamp(72px, 16vw, 180px);
    line-height: 0.8;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--accent);
    opacity: 0.08;               /* subtle */
    pointer-events: none;
    user-select: none;
    text-align: left;
    padding-left: clamp(16px, 3.5vw, 48px);
    transform: translateY(10%);
  }
  
  /* Content grid */
  .blog-landing-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(20px, 4vw, 56px);
    align-items: start;
  }
  
  .blog-landing-left {
    z-index: 1;
  }
  
  .blog-landing-title {
    margin: 0 0 10px 0;
    font-size: clamp(48px, 3.2vw, 74px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: #A62D0D;
    margin-bottom: 20px;
  }
  
  .blog-landing-sub {
    margin: 0 0 16px 0;
    max-width: 60ch;
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.6;
    color: var(--muted);
  }
  
  .blog-landing-links {
    margin: 0;
    font-size: clamp(14px, 1.2vw, 16px);
    color: var(--muted);
  }
  
  .blog-landing-links a {
    color: var(--fg);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  
  .blog-landing-links a:hover {
    color: var(--accent);
  }
  
 
  
  /* Responsive */
  @media (max-width: 1024px) {
    .blog-landing-grid {
      grid-template-columns: 1fr;
    }

  }
  
  @media (max-width: 640px) {
    .blog-section-wrapper {
      padding: 0 15px;
    }
    .blog-landing-hero {
      box-sizing: border-box;
      padding-top: 20px;
    }
    .blog-landing-image-wrapper {
      height: min(50vh, 460px);
      border-radius: 12px;
    }
    .blog-landing-word {
      font-size: clamp(64px, 22vw, 140px);
      opacity: 0.1; /* a touch stronger on small screens */
    }

  }
  


  
  
  .blog-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 0px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    box-sizing: border-box;
  }
  
.blog-card {
  text-decoration: none;
  color: inherit;
  display: block;
  background-color: #e9e8e7; 
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

  
  .blog-card:hover {
    transform: translateY(-3px);
  }
  
  .blog-card img {
    width: 100%;
    height: 270px;
    object-fit: cover;
     border-radius: 12px;
  }
  
  .blog-card-content {
    padding: 15px 0;
  }
  
  .blog-card-content h3 {
    font-size: 1rem;
    margin: 10px 0 5px;
    font-weight: bold;
    line-height: 1.5rem;
    font-family: var(--body-font-family);
  }
  
  .blog-card-content p {
    font-size: 0.85rem;
    color: #272727;
    margin-bottom: 15px;
  }
  
  .blog-card-content .date {
    font-size: 0.85rem;
    color: #b8b8b8;
  }
  
  .load-more-wrapper {
    text-align: center;
    padding: 20px 0 50px 0;
  }
  
 


  @media (max-width: 768px) {
    .blog-container {
      max-width: 768px;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 50px;
    }
  }
  
  @media (max-width: 480px) {

    .blog-container {

      margin: 0px auto;

    }
    .blog-landing-image {
      height: 65vh;
    }
  
    .blog-landing-overlay h1 {
      font-size: 1.4rem;
    }
  
    .blog-landing-overlay p {
      font-size: 0.85rem;
    }
  }

  @media (max-width: 375px) {
    .blog-container {
      max-width: 375px;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 70px;
    }
  }

  p {
    font-family: var(--body-font-family);
    line-height: 1.5rem;
  }
  

  a {
  text-decoration: none;
  color: black;
  font-family: var(--body-font-family);
}

