/* Carousel styling - 2.5:1 cinematic aspect ratio */
#bhaCarousel {
    max-width: 100%;
}
#bhaCarousel .carousel-inner {
    aspect-ratio: 2.5 / 1;
    overflow: hidden;
}
#bhaCarousel .carousel-item {
    height: 100%;
}
#bhaCarousel .carousel-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Mobile: Homepage hero slider overlay fix */
@media (max-width: 768px) {
    .bha-slider-wrapper .carousel-item img {
        min-height: 250px;
        object-fit: cover;
    }
    .bha-slider-overlay .bha-org-name {
        font-size: 1.2rem !important;
        padding: 0.25rem 0.6rem !important;
    }
    .bha-slider-overlay .bha-slogan {
        font-size: 0.85rem !important;
        padding: 0.15rem 0.5rem !important;
    }
}

/* Past Events: Year dropdown for mobile */
select.bha-year-select {
    display: none !important;
    width: 100%;
    padding: 10px 16px;
    font-size: 1.1rem;
    font-weight: 700;
    border: 2px solid #5F563C;
    border-radius: 8px;
    background: #fff;
    color: #5F563C;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .bha-year-nav {
        display: none !important;
    }
    select.bha-year-select {
        display: block !important;
    }
}

/* Reduce spacing between carousel and homepage content */
#sp-component {
    padding-top: 10px !important;
}

/* Hide empty edit bar and ratings bar on homepage */
body.itemid-101 .article-can-edit,
body.itemid-101 .article-ratings-social-share {
    display: none !important;
}