/* news-events-styles.css */
.empty-state {
    text-align: center;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 2rem auto;
    max-width: 600px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.empty-state-icon {
    font-size: 3.5rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}
.empty-state-text {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* News Section Styles */
.news-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
}
.news-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease;
}
.news-item:hover {
    transform: translateY(-5px);
}
.news-item.single-item {
    width: 80%;
    max-width: 800px;
}
.news-item.two-items {
    width: calc(50% - 1rem);
    max-width: 500px;
}
.news-item.three-items {
    width: calc(33.333% - 1.35rem);
    max-width: 400px;
}
.news-title {
    font-size: 1.4rem;
    margin: 1rem 0;
    color: #333;
}
.news-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.news-excerpt {
    color: #555;
    line-height: 1.6;
}

/* Events Section Styles */
.events-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
}
.event-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}
.event-card:hover {
    transform: translateY(-5px);
}
.event-card.single-item {
    width: 80%;
    max-width: 800px;
}
.event-card.two-items {
    width: calc(50% - 1rem);
    max-width: 500px;
}
.event-card.three-items {
    width: calc(33.333% - 1.35rem);
    max-width: 400px;
}
.event-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.event-details {
    padding: 1.5rem;
}
.event-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
}
.event-date, .event-location {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.event-description {
    color: #555;
    line-height: 1.6;
    margin: 1rem 0;
}
.badge {
    margin-left: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .news-item, .event-card {
        width: calc(50% - 1rem) !important;
    }
}

@media (max-width: 768px) {
    .news-item, .event-card {
        width: 100% !important;
        max-width: 500px;
    }
    .news-item.single-item, .event-card.single-item {
        width: 100% !important;
    }
}


.modal-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.modal-footer {
    background-color: #f8f9fa;
    border-top: 2px solid #dee2e6;
}

.event-info {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

#modalEventImage {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.badge {
    font-size: 0.9em;
    padding: 8px 12px;
}

#modalEventDescription, #modalEventDetails {
    line-height: 1.6;
    color: #666;
}

.modal-content {
    border-radius: 12px;
    overflow: hidden;
}

.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: none;
}