  body {
      
      background-color: #fff;
      color: #333;
    }

    a {
      text-decoration: none;
      color: inherit;
    }
 .main-container{
     max-width: 1200px;
      margin: 40px auto;
      padding: 0 20px;
      display: flex;
      gap: 30px;
    }
  .sidebar-section ul li {
      cursor: pointer;
    }

  
    /* Hero Banner */
    .hero-banner {
      position: relative;
      height: 450px;
      background-image: url('../images/event.jpeg');
      background-size: cover;
      background-position: center;
      display: flex;
      justify-content: center;
      align-items: center;
      color: white;
      text-align: center;
    }

    .hero-banner::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: #ff660088;
      z-index: 0;
    }

    .hero-banner h1 {
      position: relative;
      z-index: 1;
      font-size: 3rem;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
    }

 

    /* Blog Posts Grid */
    .posts-grid {
      flex: 3;
      display: grid;
      object-fit: contain;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 30px;
    }

    .post-card {
    
      border: 1px solid #ddd;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      background: #fff;
      display: flex;
      flex-direction: column;
    }

    .post-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }

    .post-content {
      padding: 15px 20px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }

    .post-title {
      font-size: 1.25rem;
      font-weight: 700;
      margin-bottom: 10px;
      color: #ff6600;
    }

    .post-excerpt {
      flex-grow: 1;
      font-size: 1rem;
      color: #555;
      margin-bottom: 15px;
    }

    .post-meta {
      font-size: 0.875rem;
      color: #999;
    }

    /* Sidebar */
    .sidebar {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 30px;
    }

    .sidebar-section {
      border: 1px solid #ddd;
      border-radius: 8px;
      padding: 20px;
      background: #fff;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .sidebar-section h3 {
      font-size: 1.25rem;
      font-weight: 700;
      margin-bottom: 15px;
      color: #ff6600;
      border-bottom: 2px solid #ff6600;
      padding-bottom: 5px;
    }

    .search-box {
      display: flex;
    }

    .search-box input {
      flex-grow: 1;
      padding: 8px 12px;
      border: 1px solid #ccc;
      border-radius: 4px 0 0 4px;
      font-size: 1rem;
    }

    .search-box button {
      background: #ff6600;
      border: none;
      color: white;
      padding: 8px 15px;
      border-radius: 0 4px 4px 0;
      cursor: pointer;
      font-size: 1rem;
    }

    .archive-list,
    .category-list,
    .recent-posts-list,
    .tag-list {
      list-style: none;
      padding-left: 0;
    }

    .archive-list li,
    .category-list li,
    .recent-posts-list li,
    .tag-list li {
      margin-bottom: 10px;
    }

    .archive-list a,
    .category-list a,
    .recent-posts-list a,
    .tag-list a {
      color: #333;
      transition: color 0.3s ease;
    }

    .archive-list a:hover,
    .category-list a:hover,
    .recent-posts-list a:hover,
    .tag-list a:hover {
      color: #ff6600;
    }

    .tag-list {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .tag-list li {
      background: #f0f0f0;
      padding: 5px 10px;
      border-radius: 20px;
      font-size: 0.875rem;
    }

    /* Responsive */
    @media (max-width: 992px) {
      .container {
        flex-direction: column;
      }

      .posts-grid {
        grid-template-columns: 1fr;
      }

      .sidebar {
        flex-direction: row;
        overflow-x: auto;
        gap: 15px;
        margin-top: 20px;
      }

      .sidebar-section {
        min-width: 200px;
        flex: 1;
      }
    }
    
@media (max-width: 768px) {
  /* Stack main content and sidebar vertically */
  main.main-container {
    display: flex;
    flex-direction: column;
    padding: 10px;
  }

  /* Sidebar full width below main content */
  aside.sidebar {
    width: 100%;
    margin-top: 20px;
  }

  /* Posts grid single column */
  section.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Image section grid single column */
  section.image-section .image-grid {
    grid-template-columns: 1fr !important;
  }

  /* Filter buttons wrap and full width */
  section.image-section .filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  section.image-section .filter-buttons button {
    flex: 1 1 45%;
    margin: 5px;
    padding: 12px 0;
  }

  /* Adjust font sizes for better readability */
  h1, h2, h3 {
    font-size: 1.2rem;
  }

  /* Adjust sidebar section titles */
  .sidebar-section h3 {
    font-size: 1.1rem;
  }
}
