/* EXO — correctifs visuels */

/* 1) Ouverture des pages blog / fiches : rien ne s'affiche tant que la page n'est pas prête */
html.exo-hold{background:#f6f1ea}
html.exo-hold body{opacity:0}

/* 2) Fiche salle : plus de grand blanc dans « Infos pratiques » (les 4 cases se répartissent sur toute la hauteur) */
.sx-info{display:flex;flex-direction:column}
.sx-info .sx-cells{flex:1;grid-auto-rows:1fr}
.sx-info .sx-cells div{display:flex;flex-direction:column;justify-content:center}
.sx-info .sx-reco{flex:none}

/* 3) Fiche salle : carte « fait partie des meilleures salles » (photo de l'article, pastille jaune, bouton noir : même univers que les cartes du blog) */
.sx-wrap a.sx-best{position:relative;display:flex;align-items:flex-end;min-height:230px;border-radius:26px;overflow:hidden;color:#fff;text-decoration:none;background:#1a1a1a;isolation:isolate;transition:transform .25s,box-shadow .25s;box-shadow:0 14px 34px rgba(0,0,0,.18)}
.sx-wrap a.sx-best:hover{transform:translateY(-3px);box-shadow:0 22px 44px rgba(0,0,0,.26)}
.sx-bimg{position:absolute;inset:0;z-index:-2;background:linear-gradient(135deg,#ffee7f,#ffd23f) center/cover no-repeat;transition:transform .5s}
.sx-best:hover .sx-bimg{transform:scale(1.04)}
.sx-bov{position:absolute;inset:0;z-index:-1;background:linear-gradient(to top,rgba(0,0,0,.82) 8%,rgba(0,0,0,.25) 65%,rgba(0,0,0,.1))}
.sx-bc{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:26px 28px;max-width:640px}
.sx-chip2{background:#ffee7f;color:#141414;border-radius:999px;padding:6px 13px;font:700 12px Poppins,sans-serif;letter-spacing:.02em}
.sx-bc strong{font:800 clamp(21px,2.6vw,28px)/1.2 Poppins,sans-serif;letter-spacing:-.03em;color:#fff}
.sx-go{display:inline-flex;align-items:center;gap:8px;background:#ffee7f;color:#141414;border-radius:999px;padding:12px 20px;font:700 14px Poppins,sans-serif;transition:gap .2s}
.sx-best:hover .sx-go{gap:12px}
@media(max-width:700px){.sx-wrap a.sx-best{min-height:250px;border-radius:22px}.sx-bc{padding:20px}}

/* 3b) Fiche salle : bloc « Tu gères une salle ? » */
.sx-wrap .sx-ger{background:#fff;border:2px solid #141414;border-radius:24px;box-shadow:0 5px 0 #141414;padding:26px 30px}
.sx-wrap .sx-ger .sx-eb{font:700 11px Poppins,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#6b6b80}
.sx-wrap .sx-ger h3{font:800 clamp(20px,2.3vw,25px)/1.2 Poppins,sans-serif;letter-spacing:-.03em;margin:6px 0 8px}
.sx-wrap .sx-ger p{max-width:520px}
.sx-wrap .sx-gerbtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:14px 24px;white-space:nowrap}
@media(max-width:880px){.sx-wrap .sx-ger{padding:22px 20px}.sx-wrap .sx-gerbtn{width:100%}}

/* 3c) Recherche de ville / salle : retour visuel immédiat au clic */
html.xb-nav::before{content:"";position:fixed;top:0;left:0;height:4px;width:100%;background:#141414;transform-origin:left;transform:scaleX(.08);animation:xbp 6s cubic-bezier(.1,.7,.2,1) forwards;z-index:2147483600}
@keyframes xbp{to{transform:scaleX(.92)}}
a.xb-loading{opacity:.55;pointer-events:none}

/* 3d) Liste de la recherche de salle : survol natif (la sélection suit la souris) */
#exo-gym-search #exo-list li .exo-row:hover{background:#F6F5EF!important}
#exo-gym-search #exo-list li:hover .exo-go2{background:#FFEE7F}
#exo-gym-search #exo-list{overscroll-behavior:auto;will-change:auto}
/* 4) Recherche d'une salle : plus de flèche « Retour » (le retour se fait avec le navigateur) */
#exo-pg>.back,#exo-pg .back,.exo-backnav{display:none!important}

/* 4b) Téléphone : le volet du menu passe au-dessus d'une fiche salle ouverte (le script le sort de l'en-tête) */
.exo-mnav-overlay{z-index:10020!important}
.exo-mnav-panel{z-index:10021!important}

/* 4c) Téléphone, pages Blog et Actualités : barre du haut propre (menu | logo | bouton) */
@media(max-width:767px){
 .exo-hubnav-mobilebar{gap:12px;padding:12px 16px;min-height:64px;align-items:center}
 .exo-hubnav-mobilebar .exo-mnav{margin:0!important;align-self:center}
 .exo-hubnav-logo{position:static!important;transform:none!important;left:auto!important;top:auto!important;height:26px;margin-right:auto;flex:none}
 .exo-hubnav-appbtn{display:inline-flex;align-items:center;justify-content:center;padding:9px 14px;line-height:1;font-size:12px}
}
@media(max-width:350px){.exo-hubnav-appbtn{padding:8px 10px;font-size:11px}.exo-hubnav-logo{height:22px}}

/* 5) Pied de page : English / Español rangés comme les autres liens de la colonne, avec leur drapeau */
.exo-ft .x-lang{display:contents!important}
.exo-ft .x-lang a{display:flex!important;align-items:center;gap:10px}
.exo-ft .x-lang a img{width:24px!important;height:16px!important;margin:0!important;vertical-align:middle!important;flex:none;border-radius:3px}
html.exo-hide-sb{scrollbar-width:none}html.exo-hide-sb::-webkit-scrollbar{display:none}
