/* News & Events Page Specific Styles */


/* --- Page Header --- */

.news-events-header {
    /* background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://placehold.co/1920x600/2575fc/ffffff?text=News+%26+Events') no-repeat center center/cover; */
}

.page-header .page-header-overlay {
    z-index: 1;
    position: relative;
    color: #fff;
    text-align: center;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
}


/* --- Events List Section --- */

.events-list-section {
    padding: 100px 5%;
    background-color: #f8f9fa;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.event-item {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.event-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.event-image-container {
    width: 100%;
    height: 220px;
    /* Decent, fixed height for the image */
    overflow: hidden;
}

.event-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* This is the key to fixing the image size */
    transition: transform 0.4s ease;
}

.event-item:hover .event-image-container img {
    transform: scale(1.05);
}

.event-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-title {
    font-size: 1.3rem;
    text-align: left;
    margin: 0;
    color: var(--light-text);
    line-height: 1.4;
}


/* --- Responsive Adjustments for News & Events Page --- */

@media (max-width: 768px) {
    .event-title {
        font-size: 1.2rem;
    }
    .events-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}