/* Styles spécifiques à la page Event */

.event-content {
    display: flex;
    gap: 2rem;
    margin-left: 320px;
    margin-right: 320px;
    padding: 2rem;
    padding-top: calc(80px + 2rem);
    padding-bottom: 2rem;
    max-width: 1680px;
    flex: 1;
}

/* Filter Menu */
.event-filters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 150px;
    flex-shrink: 0;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 90px;
    padding: 0.625rem 1.5rem;
    color: #fff;
    font-family: 'URW Form', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    text-align: center;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.filter-btn-active {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Style glassmorphism pour le filtre actif sur la page Event (remplace le fond mauve global) */
.event-filters .filter-btn.filter-btn-active {
    background: rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(11, 15, 20, 0.35);
}

/* Garantir l'override des modes (violet/orange) pour ce composant */
html.mode-violet .event-filters .filter-btn.filter-btn-active,
body.mode-violet .event-filters .filter-btn.filter-btn-active,
html.mode-orange .event-filters .filter-btn.filter-btn-active,
body.mode-orange .event-filters .filter-btn.filter-btn-active {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 6px 20px rgba(11, 15, 20, 0.35) !important;
}

/* Events List */
.events-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Event Card */
.event-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.event-image {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-title {
    font-family: 'Brevia', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    margin: 0;
}

.event-description {
    font-family: 'Brevia', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

.event-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.event-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'URW Form', sans-serif;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.info-icon {
    width: 18px;
    height: 18px;
    color: #fff;
    flex-shrink: 0;
}

/* Responsive adjustments */
/* Responsive adjustments - Tablet */
@media (max-width: 768px) {
    .event-content {
        margin-left: 0;
        margin-right: 0;
        padding: 1.5rem;
        padding-top: calc(80px + 1.5rem);
        padding-bottom: calc(80px + 1.5rem);
        flex-direction: column;
        max-width: 100%;
    }

    .event-filters {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
    }

    .filter-btn {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .event-card {
        flex-direction: column;
    }

    .event-image {
        width: 100%;
        height: 250px;
    }
}

/* Responsive adjustments - Mobile */
@media (max-width: 480px) {
    .event-content {
        padding: 1rem;
        padding-top: calc(80px + 1rem);
        padding-bottom: calc(80px + 1rem);
    }

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

    .event-description {
        font-size: 0.9rem;
    }

    .event-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .event-image {
        height: 200px;
    }
}
