@media (min-width: 768px) {
  .home-banner h1 {
    font-size: 3rem;
  }

  .home-banner h2 {
    font-size: 1.5rem;
  }
}


/* =====  MEDIA QUERY ===== */
/* style/responsive.css */
@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    display: none;
    background: #2b2b2b;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 1rem;
    border-radius: 5px;
  }

  .main-nav ul.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .container {
    width: 95%;
    padding: 0 10px;
  }

  h1 {
    font-size: 1.8rem;
  }

  p {
    font-size: 1rem;
  }
}

/* Tablets and up */
@media (min-width: 769px) {
  h1 {
    font-size: 2.5rem;
  }

  p {
    font-size: 1.125rem;
  }
}

/* Nav toggle & nav menu styles (repeat for clarity) */
@media (max-width: 768px) {
  .main-nav ul {
    display: none;
    flex-direction: column;
    background-color: #2b2b2b;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 1rem;
    width: 200px;
    border-radius: 5px;
    z-index: 999;
  }

  .main-nav ul.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

/* Base style: mobile-first */
.partner-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 0;
}

.partner-logos img {
  width: 100%;       /* Full width on small screens */
  max-width: 300px;  /* Prevent overly large scaling */
  height: auto;
}

/* Large screens: show logos in a row and increase size */
@media (min-width: 1024px) {
  .partner-logos {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .partner-logos img {
    width: auto;
    max-width: 160px;
  }
}

/* Responsive for about.php */
/* style/responsive.css */

/* -- ABOUT PAGE RESPONSIVE FIXES -- */

/* Ensure .about-section layouts adapt on small screens */
@media (max-width: 768px) {
  .about-section.halfwidth .section-grid,
  .about-section.thirdwidth .section-grid {
    grid-template-columns: 1fr;
  }

  .about-page {
    padding: 1rem;
  }

  .media-content img,
  .media-content video {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/* === EVENT SECTION RESPONSIVE STYLES === */

@media (max-width: 768px) {
  .event-section.left-media .section-grid,
  .event-section.right-media .section-grid,
  .event-section.centered .section-grid {
    grid-template-columns: 1fr;
    padding-bottom: 2rem;
    border-bottom: 1px solid;
  }

  .media-content,
  .text-content {
    width: 100%;
  }

  .media-content img,
  .media-content video,
  .media-content iframe {
    width: 100%;
    height: auto;
    max-height: none;
    display: block;
    margin: 0 auto;
    border-radius: 6px;
  }
}
