.catalogue-presentation {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.catalogue-titre {
    font-size: clamp(3.4rem, 5vw, 5rem);
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    color: var(--param_couleur1);
}

.catalogue-resultats .catalogue-compteur {
    color: var(--param_couleur1);
    text-align: center;
    font-size: clamp(2rem, 2.4vw, 2.4rem);
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}

.catalogue-liste {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.8rem 2rem;
    padding: 2.8rem 0px;
}

.fiche-resume {
    background-color: var(--param_couleur3);
    border-radius: 1rem;
    overflow: hidden;
    --poi-img-scale: 1.001;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
    border: 1px solid #eee;
}

.fiche-resume a {
    display: flex;
    height: 15rem;
    width: 100%;
    border-radius: 1rem
}

.fiche-resume a .fiche-resume__image {
    width: 35%;
    height: 100%;
    overflow: hidden;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

.fiche-resume a .fiche-resume__image {
    height: auto;
}

.fiche-resume .fiche-resume__infos {
    width: 65%;
    padding: 2rem 2.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
}

.fiche-resume .fiche-resume__infos i {
    color: var(--param_couleur1);
}

.fiche-resume .fiche-resume__illustration {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

.fiche-resume {
    position: relative;
}

.fiche-resume:hover,
.fiche-resume:focus {
    --img-scale: 1.1;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px;
}

.fiche-resume .fiche-resume__illustration {
    transform: scale(var(--img-scale));
    transition: transform 0.4s ease-in-out;
}

.fiche-resume .fiche-resume__titre {
    font-weight: 600;
    font-family: "Open Sans", sans-serif;
    font-size: clamp(1.6rem, 3vw, 2rem);
}

.fiche-resume .fiche-resume__lieu {
    text-transform: uppercase;
    font-weight: 400;
    font-family: "Open Sans", sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.fiche-resume .fiche-resume__dates {
    font-weight: 400;
    font-family: "Open Sans", sans-serif;
    font-size: clamp(1.4rem, 3vw, 1.5rem);
    color: var(--param_couleur1);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.6rem, 1vw, 1rem);
}

.pagination button {
    border: none;
    background-color: transparent;
    color: var(--param_couleur1);
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
    cursor: pointer;
    width: clamp(2.8rem, 3.8vw, 3.8rem);
    height: clamp(2.8rem, 3.8vw, 3.8rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: .3rem;
    transition: all .4s ease-in-out;
    border-radius: 5rem;
}

.pagination button:hover {
    color: var(--param_couleurTexte2);
    background-color: var(--param_couleur1);
}

.pagination button.pagination__courante {
    color: var(--param_couleurTexte2);
    background-color: var(--param_couleur1);
}

.catalogue-filtres {
    margin-top: 3.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
}

.catalogue-filtres.catalogue-filtres--seule {
    margin-top: 2rem;
}

.catalogue-entete.catalogue-entete--sans-carte {
    padding-bottom: 1rem;
}

.catalogue-entete + .section.catalogue-resultats {
    padding-top: 1rem;
}

.catalogue-filtres .catalogue-filtres__selects {
    display: flex;
    align-items: center;
    gap: 1.8rem 6rem;
    width: 80%;
    flex-wrap: wrap;
}

.catalogue-filtres .catalogue-filtres__selects .select2 {
    flex: 1;
    min-width: 20rem;
}

.catalogue-filtres .catalogue-filtres__selects .select2-selection,
.catalogue-select {
    border: 2px solid var(--param_couleur1);
    border-radius: 1rem;
}

.catalogue-select {
    height: 38px;
    border: 2px solid var(--param_couleur1);
    border-radius: 1rem;
    height: 38px;
    color: var(--param_couleur1);
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    text-align: center;
    padding: 0 1rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.select2-container .select2-selection--single {
    height: 38px;
    position: relative !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
    text-align: center;
    padding-right: 0px !important;
    padding-left: 0px !important;
}

.select2-search__field {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 1.5rem !important;
}

.select2-results__message {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5rem;
}

.select2-container .select2-selection--single .select2-selection__clear {
    position: absolute !important;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 0px !important;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    display: none;
}

.select2-container .select2-selection--single .select2-selection__arrow-custom {
    position: absolute !important;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

/* .select2-container .select2-selection--single.catalogue-select__selection:not(.select2-selection--clearable)::after,
.select2-container .select2-selection--single.catalogue-select__selection:not(.select2-selection--clearable)::after {
    font-family: "Font Awesome 6 Sharp" !important;
    content: "\f078";
    position: absolute;
    right: 10px;
    top: 50%;
    color: var(--param_couleur1);
    font-size: 2rem;
    transform: translateY(-50%);
}

*/

.select2-container .select2-selection--single:not(.select2-selection--clearable)::after {
    font-family: "Font Awesome 6 Sharp" !important;
    content: "\f078";
    position: absolute;
    right: 10px;
    top: 50%;
    color: var(--param_couleur1);
    font-size: 2rem;
    transform: translateY(-50%);
}

.select2-container .select2-selection--single {
    font-weight: 800 !important;
    font-family: "Open Sans", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.select2-selection__placeholder {
    /* color: var(--param_couleurTexte2) !important; */
    color: var(--param_couleur1) !important;
}

.select2-container .select2-selection--single {
    /* background-color: var(--param_couleur1) !important; */
    background-color: transparent !important;
}

/* .select2-container .select2-selection--single.catalogue-select__selection,
.select2-container .select2-selection--single.catalogue-select__selection {
    background-color: transparent !important;
}

*/

/* .select2-selection--single.catalogue-select__selection .select2-selection__placeholder,
.select2-selection--single.catalogue-select__selection .select2-selection__placeholder {
    color: var(--param_couleur1) !important;
}

*/

.catalogue-recherche {
    display: flex;
    align-items: center;
    width: 80%;
    height: 38px;
    border: 2px solid var(--param_couleur1);
    border-radius: 1rem;
    transition: border-color 0.15s ease-in-out;
    gap: 0.8rem;
    padding: 0 .8rem;
}

.catalogue-recherche__icone {
    color: var(--param_couleur_accent);
    pointer-events: none;
}

.catalogue-recherche__champ {
    height: 100%;
    font-size: 1rem;
    line-height: 1.5;
    flex: 1;
    border: none !important;
    border-radius: 1rem;
    color: var(--param_couleur1) !important;
    font-weight: 800 !important;
    font-family: "Open Sans", sans-serif !important;
    font-size: 1.5rem !important
}

.catalogue-recherche__champ::placeholder {
    font-weight: 800;
    color: var(--param_couleur1);
    font-family: "Open Sans", sans-serif;
    font-size: 1.5rem;
    opacity: 0.4;
}

.catalogue-recherche__champ:focus-visible {
    border: none !important;
    outline: none !important;
}

.catalogue-recherche__champ:focus::placeholder {
    color: transparent;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--param_couleur1) !important;
}

.select2-dropdown {
    border: 2px solid var(--param_couleur1);
    /* border-radius: 1rem !important; */
}

.select2-container--default .select2-results__option {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5rem;
    padding: 0.8rem 1.2rem;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--param_couleur1) !important;
    color: var(--param_couleurTexte2);
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: var(--param_couleur1) !important;
    color: var(--param_couleurTexte2);
}

.select2-results__options {
    max-height: 250px !important;
}

@media (max-width: 1600px) {
    .catalogue-liste {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.8rem 2rem;
    }

}

@media (max-width: 1350px) {
    .catalogue-liste {
        grid-template-columns: 1fr;
        gap: 2rem 2rem;
    }

    .fiche-resume a .fiche-resume__image {
        width: 30%;
    }

    .fiche-resume .fiche-resume__infos {
        width: 70%;
    }

}

.carte-poi {
    width: 100%;
    height: clamp(25rem, 40vw, 40rem);
}

.ol-popup {
    position: absolute;
    background-color: white;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    border-radius: 1rem;
    border: 1px solid #cccccc;
    bottom: 25px;
    left: -50px;
    min-width: 18rem;
}

.ol-popup:after,
.ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}

.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}

.carte-popup__titre {
    font-weight: 700;
    color: var(--param_couleurTexte1);
    font-family: "Open Sans", sans-serif;
    font-size: 1.5rem;
    line-height: 1.2;
}

.carte-popup__lieu {
    font-weight: 400;
    font-family: "Open Sans", sans-serif;
    font-size: 1.3rem;
    text-transform: uppercase;
    color: var(--param_couleurTexte1);
}

.carte-popup {
    width: 18rem;
}

.carte-popup__image {
    width: 18rem;
    height: 10rem;
    overflow: hidden;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    display: flex;
    align-items: center;
}

.carte-popup__contenu {
    padding: 0.4rem 0.8rem;
}

.carte-popup__lien {
    margin-top: 0.4rem;
}

.carte-popup__bouton {
    color: var(--param_couleur1);
}

.carte-popup__bouton:hover {
    text-decoration: underline;
}

/*==================RESPONSIVE==================*/
@media screen and (max-width: 940px) {
    .catalogue-liste {
        grid-template-columns: 1fr;
        gap: 1.4rem 2rem;
    }

}

@media screen and (max-width: 830px) {
    .section.catalogue-resultats {
        padding: 2.8rem 3.4rem 1.8rem 3.4rem;
    }

    .catalogue-filtres {
        margin-top: 2.8rem;
    }

}

@media screen and (max-width: 540px) {
    .section.catalogue-resultats {
        padding: 2.8rem 2rem 0.8rem 2rem;
    }

    .catalogue-filtres {
        margin-top: 1.8rem;
        gap: 1rem;
        width: 100%;
    }

    .catalogue-filtres.catalogue-filtres--seule {
        margin-top: 1.4rem;
    }

    .catalogue-filtres .catalogue-recherche {
        width: 100%;
    }

    .catalogue-filtres .catalogue-filtres__selects {
        gap: 1rem 6rem;
        width: 100%;
    }

    .fiche-resume a {
        height: fit-content;
        min-height: 15rem;
    }

}

.tuiles.tuiles--vignettes {
    padding: 2.4rem 0;
}

.catalogue-liste > [hidden] {
    display: none !important;
}

