/* Events Page Styles */
.page-header {
    background: linear-gradient(135deg, #004a9f 0%, #003a7a 100%);
    color: white;
    padding: 3rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.breadcrumb {
    background: transparent;
    margin-bottom: 1.5rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
    font-weight: 500;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

.page-title {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
}

.page-description {
    margin-top: 1rem;
    opacity: 0.9;
    font-size: 1.2rem;
    max-width: 700px;
}

.events-container {
    padding: 5rem 0;
    background: #f8f9fa;
    min-height: 500px;
}

.event-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.event-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image {
    transform: scale(1.05);
}

.event-content {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.event-date {
    color: #f47920;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.event-title {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.event-card:hover .event-title {
    color: #004a9f;
}

.event-description {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.loading-spinner {
    text-align: center;
    padding: 5rem 0;
    color: #666;
}

.loading-spinner .spinner-border {
    width: 3rem;
    height: 3rem;
    color: #004a9f;
}

.empty-state {
    text-align: center;
    padding: 5rem 0;
    color: #666;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .events-container {
        padding: 3rem 0;
    }

    .event-image {
        height: 200px;
    }

    .event-title {
        font-size: 1.35rem;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 1.75rem;
    }

    .events-container {
        padding: 2rem 0;
    }

    .event-image {
        height: 180px;
    }

    .event-title {
        font-size: 1.25rem;
    }
}