/* ============================ */ 
/* Titres et Icones du calendrier */
/* ============================ */
.titre.fi-sr-calendar-day::before {
    color: var(--rose) !important;
}

/* ========================== */
/* Liste Agenda */
/* ========================== */
.Agenda_list_content h2 {
    color: var(--rose);
}

/* ========================== */
/* Menu de Recherche dans l'Agenda */
/* ========================== */
.menu_recherche_agenda {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}

.menu_recherche_agenda .input_wrapper {
    display: inline-block;
    width: 20%;
}

/* ========================== */
/* Liste des Événements */
/* ========================== */
.event_list_result {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5em;
}

/*
.evnement_min_block {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
    width: calc((100% - 4 * 0.5em) / 5);
    box-sizing: border-box;
    margin: 0;
}

*/




.evnement_min_block {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
    box-sizing: border-box;
    margin: 0;
    width: calc((100% - 4 * 0.5em) / 5); /* version desktop */
}



.evnement_min_block .visuel {
    height: 300px;
    width: auto;
    object-fit: contain;
}

.evnement_min_block .text_details {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1em;
}

.evnement_min_block .categorie {
    position: relative;
    height: 2em;
    margin-bottom: 0.6em;
}

.evnement_min_block .categorie::after {
    content: '';
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--rose);
    width: 3em;
    height: 3px;
}

.evnement_min_block .titre {
    height: 2.5em;
    display: block;
    font-family: 'zilla_slabbold';
    font-size: 1.4em;
    line-height: 0.9em;
    font-weight: normal;
}

.evnement_min_block .dates {
    background-color: var(--noir_antracite);
    color: white;
    padding: .4em;
    font-family: 'Brandon_Grotesque';
    font-weight: normal;
    line-height: 1em;
    margin-top: 1em;
}

.evnement_min_block .dateswhite {
    color: var(--noir_antracite);
    font-family: 'Brandon_Grotesque';
    font-weight: normal;
    line-height: 1em;
    margin-top: 1em;
}



/* ========================== */
/* Responsiveness (Petit écran) */
/* ========================== */
@media screen and (max-width: 800px) {
    .evnement_min_block {
        width: calc((100% - 0.5em) / 2); /* 2 par ligne */
        margin: 0.5em 0;
    }
}

/* Style pour le select personnalisé */
input[type="select"], .type, .departement, .categorie, .date {
    appearance: none;
}

/* ========================== */
/* Non-abonné Block */
/* ========================== */
.non-abonne-block {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.non-abonne-block .cover_background {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(14px);
    transform: scale(1.05);
}

.overlay-texte {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.85);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    color: #333;
    width: 90%;
    max-width: 400px;
    box-sizing: border-box;
}

.overlay-texte img {
    width: 35%;
    height: auto;
    max-width: 250px;
}

@media screen and (max-width: 600px) {
    .overlay-texte {
        width: 35%;
        padding: 10px;
    }

    .overlay-texte img {
        max-width: 200px;
    }
}
