main {
    /* Main container1 */
    .container1 {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
      }
  
      /* Page Title */
      h1 {
        text-align: center;
        margin-bottom: 20px;
      }
  
      /* Blog Grid */
      .blog-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
      }
  
      /* Blog Post Card */
      .blog-card {
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease-in-out;
      }
  
      .blog-card:hover {
        transform: translateY(-5px);
      }
  
      /* Blog Image */
      .blog-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
      }
  
      /* Blog Content */
      .blog-content {
        padding: 15px;
      }
  
      .blog-content h2 {
        font-size: 1.3rem;
        margin: 0 0 10px;
      }
  
      .blog-content p {
        font-size: 0.9rem;
        color: #666;
        line-height: 1.5;
      }
  
      /* Read More Button */
      .blog-content a {
        display: inline-block;
        margin-top: 10px;
        padding: 8px 12px;
        background: #007BFF;
        color: white;
        text-decoration: none;
        border-radius: 4px;
        font-size: 0.9rem;
        transition: background 0.3s ease;
      }
  
      .blog-content a:hover {
        background: #0056b3;
      }
  
      /* Responsive Adjustments */
      @media (max-width: 768px) {
        .blog-grid {
          grid-template-columns: 1fr; /* Single column for smaller screens */
        }
      }
}