header.masthead {
      /* background-image: url("../assets/img/Gemini generated SMF image.png"); */
      background-image: url("../assets/img/Interfaith holidays hands up.jpg");
      background-image: url("../assets/img/Interfaith holidays hands up.webp");
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
}

.carousel-control-prev {
    left: -45px;
}

.carousel-control-next {
    right: -45px;
}

.community-partner-logo {
    max-width: 200px;
    max-height: 200px;
}

/* Fixed-height carousel slides so cycling testimonials/partners doesn't shift the rest of the page */
.testimonial-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 180px;
}

#partnerCarouselInner .row {
    min-height: 200px;
}

@media (max-width: 1200px) {
    .community-partner-logo {
        max-width: 90;
        max-height: 90px;    }

    #partnerCarouselInner .row {
        min-height: 90px;
    }
}

@media (max-width: 768px) {
    .community-partner-logo {
        max-width: 60px;
        max-height: 60px;
    }
    .carousel-container{
        width: 80%;
        margin: 0 auto;
    }

    .testimonial-content {
        min-height: 500px;
    }

    #partnerCarouselInner .row {
        min-height: 60px;
    }
}

@media (max-width: 500px) {
    .carousel-container{
        width: 75%;
        margin: 0 auto;
    }
}

.program-logo {
    height: 100px;
}

.video-main {
    max-width: 1000px;
}

.btn-custom {
    padding: 1.1rem 2.5rem;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1.125rem;
    font-weight: 700;
  }

a {
    color: blue;
}

.desktop {
    display: block;
}

.mobile {
    display: none;
}

@media only screen and (max-width: 600px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }
}

.social-button {
    margin: 8px;
}

.rounded-container {
    overflow: hidden;
    border-radius: 8px; /* Adjust as needed */
}

#memberPhoto {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    margin-bottom: 1rem;
}

#mainNav .navbar-nav .nav-item .nav-link {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 0.85rem;
    color: #fff;
    letter-spacing: 0.0625em;
  }

/* When a section heading is immediately followed by a subheading, remove its bottom padding
   so the subheading sits close to the heading and controls the gap to content below */
.page-section h2.section-heading:has(+ h3.section-subheading) {
    padding-bottom: 0;
}

/* Standardize subheading: slightly smaller than base, consistent bottom margin */
.page-section h3.section-subheading {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
    .page-section h3.section-subheading {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

