/* Specific Styles for News Details */
.news-details-hero {
    height: 70vh !important;
}

.news-hero-img {
    width: 600px !important;
    height: 400px !important;
    object-fit: cover !important;
    border-radius: 20px;
    border: 5px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .news-details-hero {
        height: auto !important;
    }

    .news-hero-img {
        width: 100% !important;
        height: 250px !important;
    }
}

/* Custom Gallery Overlay for News & Events (Desktop Fixes) */
.news-custom-overlay .slider-gallery {
    width: 100vw !important;
    height: 100vh !important;
    padding: 0 100px; /* Prevents squeezing and leaves breathing room for arrows */
    box-sizing: border-box;
}

.news-custom-overlay .slider-item img {
    max-width: 900px !important; /* Caps the image size so it never looks massively zoomed in on desktop */
    max-height: 85vh !important;
    object-fit: contain !important;
}

.news-custom-overlay .gallery-nav {
    background: rgba(0, 0, 0, 0.7) !important;
}

@media (max-width: 768px) {
    .news-custom-overlay .slider-gallery {
        padding: 0 10px; /* Less padding on mobile */
    }
    .news-custom-overlay .slider-item img {
        max-width: 100% !important; /* Allow full width on small screens */
    }
}