.blog-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    padding: 10px;
  }
  
  .blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
  }
  
  .blog-card:hover {
    transform: translateY(-5px);
  }
  

  .blog-detail-banner {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}

  .blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  
  .blog-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .blog-content h3 {
    font-size: 1.1rem;
    margin: 0 0 10px;
  }
  
  .blog-content p {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 10px;
  }
  
  .read-more {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
  }
  
  .read-more:hover {
    text-decoration: underline;
  }
  
  /* Optional highlight animation */
  .highlight {
    animation: flash 1s ease;
  }
  
  @keyframes flash {
    0% { outline: 3px solid orange; }
    100% { outline: none; }
  }
  