/*
 * Exposants EEV2 — apparence calquée sur foiredemarseille-lavitrine.com
 * (thème "Exposants FIM"). Tout est scopé sous .eev2 pour éviter les
 * collisions avec le thème actif.
 */

.eev2 {
    --eev2-bleu: #3f6cb3;
    --eev2-orange: #ED7445;
    --eev2-creme: #faf4f0;
    color: #000;
    font-size: 16px;
    line-height: 1.6;
}

.eev2 a {
    text-decoration: none;
    transition: all 0.4s ease;
}

.eev2 .eev2-wrapper {
    max-width: 1290px;
    width: 100%;
    position: relative;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

/*
 * La liste sort de la colonne de contenu du thème (les thèmes à blocs
 * plafonnent chaque enfant à --wp--style--global--content-size) :
 * largeur pleine, plafonnée à 1290px comme le site de référence.
 * Le centrage est assuré par le margin auto !important du thème.
 */
.eev2.eev2-liste {
    width: 100%;
    max-width: 1290px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* ------------------------------------------------------------------
 * Filtres
 * ------------------------------------------------------------------ */

.eev2 .surfiltres {
    display: none;
}

.eev2 .filtres {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* champs alignés même si un label passe sur 2 lignes */
    margin: 50px 0 0;
    gap: 20px;
    padding: 0 70px;
}

.eev2 .filtre {
    flex: 1;
}

.eev2 .filtre label {
    display: block;
    color: #000;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 15px;
    white-space: nowrap;
}

.eev2 .filtre input {
    border-radius: 0;
    background: var(--eev2-creme);
    border: 0;
    padding: 0 15px;
    width: 100%;
    height: 50px;
    margin: 0;
    box-sizing: border-box;
}

.eev2 .clect {
    position: relative;
}

.eev2 .clect select {
    border-radius: 0;
    background: var(--eev2-creme);
    border: 0;
    padding: 0 40px 0 15px;
    width: 100%;
    height: 50px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.eev2 .clect select::-ms-expand {
    display: none;
}

.eev2 .clect svg {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translate(0, -50%);
    pointer-events: none;
}

.eev2 .reset {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 0;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background: #fff;
    text-align: center;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
}

.eev2 .reset.visib {
    opacity: 1;
    pointer-events: all;
}

.eev2 .reset.visib:hover {
    background: #000;
    color: #fff;
}

/* ------------------------------------------------------------------
 * Grille des exposants
 * ------------------------------------------------------------------ */

.eev2 .membres {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 70px 0 0;
}

.eev2 .membre {
    width: calc(50% - 10px);
    background: var(--eev2-creme);
    padding: 20px;
    box-sizing: border-box;
    transition: background 0.4s ease;
}

.eev2 .membre:hover {
    background: #fff;
}

.eev2 .membre.off {
    display: none;
}

.eev2 .membre a {
    color: #000;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.eev2 .membre .logo {
    width: 100px;
    height: 100px;
    margin: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex: none;
}

.eev2 .membre .logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.eev2 .membre .logoo {
    padding: 15px;
    box-sizing: border-box;
}

.eev2 .membreinfos {
    width: calc(100% - 120px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.eev2 .nom {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.5;
    padding: 0;
    margin: 0;
}

.eev2 .infos {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.eev2 .membreinfos .infos {
    margin-top: 0;
}

.eev2 .infos p {
	padding: 10px !important;
    margin: 0;
}

.eev2 .aucun {
    width: 100%;
    text-align: center;
}

/* ------------------------------------------------------------------
 * Fiche exposant
 * ------------------------------------------------------------------ */

.eev2 .expo {
    margin: 0 0 50px;
}

.eev2 .back {
    margin: 50px 0;
}

.eev2 .back a {
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: #000;
}

.eev2 .back svg {
    margin: 0 5px 0 0;
}

.eev2 .expoc {
    display: flex;
    gap: 60px;
}

.eev2 .expoimg .logo {
    width: 200px;
    height: 200px;
    margin: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.eev2 .expoimg .logo img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

/* Logo absent : pavé bleu (sur le site de référence : image du salon). */
.eev2 .membre .logo.empty,
.eev2 .expoimg .logo.empty {
    background: var(--eev2-bleu);
}

.eev2 .expotxt {
    flex: 1;
}

.eev2 .expotxt h1 {
    font-size: 25px;
    font-weight: 600;
    padding: 0;
    margin: 0 0 1em;
    line-height: 1.2;
}

.eev2 .place p,
.eev2 p.tit {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.eev2 .place + .sect,
.eev2 .acti,
.eev2 .expotxt .infos {
    margin-top: 30px;
}

.eev2 .sect,
.eev2 .acti {
    font-size: 16px;
    font-weight: 600;
}

.eev2 .sect p,
.eev2 .acti p {
    margin: 0;
}

.eev2 .desc {
    margin-top: 30px;
    font-weight: 400;
}

.eev2 .socis {
    list-style: none;
    margin: 25px 0 0;
    padding: 0;
    line-height: 1;
    display: flex;
    gap: 15px;
    font-size: 15px;
    font-weight: 600;
}

.eev2 .socis a {
    color: #000;
}

.eev2 .socis a:hover {
    color: var(--eev2-orange);
}

.eev2 .expotxt .boutons {
    margin: 40px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.eev2 .bouton {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    background: var(--eev2-bleu);
    color: #fff;
    padding: 20px 30px;
    cursor: pointer;
}

.eev2 .bouton:hover {
    background: var(--eev2-orange);
    color: #fff;
}

.eev2 .bouton.orange {
    background: var(--eev2-orange);
    color: #fff;
}

.eev2 .bouton.orange:hover {
    background: var(--eev2-bleu);
    color: #fff;
}

.eev2 .tel span {
    opacity: 0;
    margin-left: 0;
}

.eev2 .tel.actif {
    background: var(--eev2-bleu) !important;
    color: #fff;
}

.eev2 .tel.actif span {
    opacity: 1;
    margin-left: 8px;
}

/* ------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------ */

@media screen and (max-width: 1200px) {
    .eev2 .filtres {
        padding: 0 70px 0 70px;
    }
}

@media screen and (max-width: 1024px) {
    .eev2 .filtre input,
    .eev2 .clect select {
        height: 42px;
    }

    .eev2 .reset {
        height: 42px;
        width: 42px;
    }

    .eev2 .bouton {
        padding: 17px 24px;
    }

    .eev2 .back {
        margin: 30px 0;
    }

    .eev2 .expoc {
        gap: 40px;
    }

    .eev2 .membre .logo {
        width: 80px;
        height: 80px;
    }

    .eev2 .membreinfos {
        width: calc(100% - 95px);
    }

    .eev2 .nom {
        font-size: 15px;
    }
}

@media screen and (max-width: 768px) {
    .eev2 .surfiltres {
        display: block;
        position: relative;
        margin: 40px 0 0;
    }

    .eev2 .filtresbut {
        display: flex;
        width: calc(100% - 50px);
        height: 42px;
        text-align: center;
        align-items: center;
        justify-content: center;
        background: transparent;
        border-radius: 40px;
        border: 1px solid #000;
        color: #000;
        box-sizing: border-box;
    }

    .eev2 .filtresbut.actif,
    .eev2 .filtresbut:hover {
        background: #000;
        color: #fff;
    }

    .eev2 .filtres {
        display: none;
        margin: 20px 0 0;
        padding: 0;
        flex-direction: column;
        gap: 15px;
    }

    .eev2 .filtres.deplie {
        display: flex;
    }

    .eev2 .surfiltres .reset {
        left: auto;
        right: 0;
        top: 0;
        bottom: auto;
        opacity: 0.4;
    }

    .eev2 .surfiltres .reset.visib {
        opacity: 1;
    }

    .eev2 .membres {
        margin: 40px 0 0;
        gap: 15px;
    }

    .eev2 .membre {
        width: 100%;
    }

    .eev2 .nom {
        font-size: 14px;
    }

    .eev2 .membreinfos {
        gap: 8px;
    }

    .eev2 .expoc {
        gap: 40px;
        flex-direction: column;
    }

    .eev2 .place p,
    .eev2 p.tit {
        font-size: 16px;
    }

    .eev2 .sect,
    .eev2 .acti {
        font-size: 14px;
    }

    .eev2 .expotxt h1 {
        font-size: 22px;
    }

    .eev2 .place + .sect,
    .eev2 .acti,
    .eev2 .expotxt .infos {
        margin-top: 20px;
    }

    .eev2 .bouton {
        padding: 15px 23px;
    }

    .eev2 .back {
        margin: 20px 0;
    }

    .eev2 .back a {
        font-size: 14px;
    }

    .eev2 .eev2-wrapper {
        padding: 0 30px;
    }
}
