/* Page Base Styling */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(145deg, #e0f7fa, #ffffff);
    color: #004d40;
  }
  
  /* Blog Title */
  .blog-title {
    text-align: center;
    font-size: 3rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    font-weight: bold;
    position: relative;
  }
  
  .blog-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #00bfa5;
    margin: 1rem auto 0;
    border-radius: 4px;
  }
  
  /* Blog Grid */
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    padding: 0 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
  }
  
  /* Blog Post Hexagons */
  #blog-posts > div {
    width: 250px;
    aspect-ratio: 1.15;
    background: #ffffff;
    clip-path: polygon(
      100% 0%,
      100% 25%,
      93% 75%,
      50% 100%,
      7% 75%,
      0% 5%
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    background-color: #ffffff;
    position: relative;
  }
  
  /* Offset every 2nd in a group of 3 for honeycomb feel */
  #blog-posts > div:nth-child(3n + 2) {
    transform: translateY(60px);
  }
  
  /* Hover Effect */
  #blog-posts > div:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 191, 165, 0.4);
  }
  
  /* Title inside dynamic posts */
  #blog-posts h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #004d40;
  }
  
  /* Summary */
  #blog-posts p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.4;
    padding: 0 0.5rem;
  }
  
  /* Read More Button */
  #blog-posts a {
    background-color: #00bfa5;
    color: white;
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
  }
  
  #blog-posts a:hover {
    background-color: #008f75;
  }
  
  /* Responsive: Remove offset stacking on small screens */
  @media (max-width: 768px) {
    #blog-posts > div:nth-child(3n + 2) {
      transform: none;
    }
  
    .blog-title {
      font-size: 2.2rem;
    }
  }
  /* Container to prevent clipping of animated bees */
.blog-title-container {
    position: relative;
    padding-top: 3.5rem; /* space for bees above the title */
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  