/* Recherche du site : loupe de l'en-tête, panneau, page de résultats, lignes de séparation.
   Chargée par le module eh-recherche.php quand la recherche par note est servie. */

/* ---- La loupe */
.ehr-loupe{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex-shrink:0;border-radius:8px;color:#fff;cursor:pointer;transition:background .2s,color .2s}
.ehr-loupe:hover,.ehr-loupe:focus-visible{color:var(--vert)}
.ehr-loupe[aria-expanded="true"]{background:rgba(255,255,255,.12);color:var(--vert)}
.ehr-loupe-tel{display:none}
@media(max-width:960px){
  .ehr-loupe-ordi{display:none}
  .ehr-loupe-tel{display:inline-flex;margin-left:auto}
  body.ehr-on .burger{margin-left:0}
  body.ehr-on .nav-actions{margin-left:0}
}
@media(max-width:560px){
  body.ehr-on .nav{gap:6px}
  body.ehr-on .logo{font-size:17px}
  body.ehr-on .btn-connexion{padding:7px 10px}
  .ehr-loupe-tel{width:36px}
}
@media(max-width:430px){
  body.ehr-on .logo{font-size:15px}
  body.ehr-on .btn-connexion{padding:7px 8px}
  .ehr-loupe-tel{width:34px}
}

/* ---- Le panneau */
body.ehr-ouvert .site-header{z-index:100}
.ehr-voile{position:fixed;inset:0;background:rgba(24,21,60,.55);z-index:90}
.ehr-panneau{position:absolute;left:0;right:0;top:100%;background:#fff;box-shadow:0 18px 40px rgba(20,17,60,.28);padding:28px 0 32px;max-height:calc(100vh - 69px);overflow-y:auto;color:var(--navy)}
.ehr-panneau[hidden],.ehr-voile[hidden]{display:none}
.ehr-sur{font:700 13px var(--font-display);letter-spacing:.14em;text-transform:uppercase;color:#1f9d78;display:flex;align-items:center;gap:12px;margin:0 0 14px}
.ehr-sur::before{content:"";width:34px;border-top:2px dashed var(--vert)}
.ehr-fermer{margin-left:auto;background:none;border:0;color:var(--navy);font:300 30px/1 var(--font-corps);width:36px;height:32px;cursor:pointer;padding:0}
.ehr-form{display:flex;gap:10px;align-items:stretch}
.ehr-form input[type="search"]{flex:1;min-width:0;background:#fff;color:var(--navy);font:400 19px var(--font-corps);padding:15px 18px;border:2px solid var(--navy);border-radius:10px;-webkit-appearance:none;appearance:none}
.ehr-form input[type="search"]:focus{outline:2px solid var(--vert);outline-offset:1px}
.ehr-form button{background:var(--vert);color:var(--navy);border:0;border-radius:10px;padding:0 26px;min-height:56px;font:800 17px var(--font-display);text-transform:uppercase;letter-spacing:.02em;cursor:pointer}
.ehr-freq{margin-top:22px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ehr-freq b{font:700 13px var(--font-display);letter-spacing:.1em;text-transform:uppercase;color:#6b6f8d;margin-right:6px}
.ehr-freq a{font:500 14px var(--font-corps);color:var(--navy);background:#eef1f7;border-radius:999px;padding:7px 14px}
.ehr-freq a:hover,.ehr-freq a:focus-visible{background:var(--vert-pale)}
.ehr-message{font:400 16px var(--font-corps);color:#555a78;margin:22px 0 0}
.ehr-pied{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:4px}
.ehr-tout{background:var(--vert);color:var(--navy);border-radius:8px;padding:13px 22px;font:800 15px var(--font-display);text-transform:uppercase;letter-spacing:.02em}
.ehr-tout:hover{background:var(--vert-h)}
.ehr-pied span{font:400 14px var(--font-corps);color:#6b6f8d}

/* ---- Les groupes, communs au panneau et à la page */
.ehr-cols{display:grid;grid-template-columns:1.25fr 1fr;gap:0 56px;margin-top:26px}
.ehr-cols.ehr-une{grid-template-columns:minmax(0,820px)}
.ehr-cols > div{min-width:0}
.ehr-g{margin:0;padding:0}
.ehr-g h2,.ehr-g h3{font:800 15px var(--font-display);letter-spacing:.12em;text-transform:uppercase;color:var(--navy);margin:0;padding:0 0 8px;border-bottom:2px solid var(--navy);display:flex;align-items:baseline;gap:10px}
.ehr-g h2 em,.ehr-g h3 em{font-style:normal;color:#1f9d78}
.ehr-vers{margin-left:auto;font:600 13px var(--font-corps);letter-spacing:0;text-transform:none;color:#1f9d78;white-space:nowrap}
.ehr-vers:hover{text-decoration:underline}
.ehr-court{display:none}
.ehr-g ul{list-style:none;margin:0 0 26px;padding:0}
.ehr-g li{border-bottom:1px solid var(--ligne)}
.ehr-g li a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 2px;font:500 16px/1.35 var(--font-corps);color:var(--navy)}
.ehr-g li a::after{content:"›";font:400 22px/1 var(--font-corps);color:#9aa0bd;transition:transform .2s,color .2s}
.ehr-g li a:hover,.ehr-g li a:focus-visible{background:var(--vert-pale);outline:0}
.ehr-g li a:hover::after{color:#1f9d78;transform:translateX(3px)}
.ehr-suite{margin:-14px 0 26px}
.ehr-suite summary{font:600 14px var(--font-corps);color:#1f9d78;cursor:pointer;padding:8px 2px}
.ehr-suite[open] summary{display:none}
.ehr-suite ul{margin-bottom:0}

/* ---- La page de résultats */
.ehr-page .liste-tete{margin-bottom:8px}
.ehr-page .search-form input[type="search"]{min-width:0}
.ehr-compte{font:500 17px var(--font-corps);color:#555a78;margin:10px 0 0}
.ehr-compte b{color:var(--navy);font-weight:700}
.ehr-compte a{color:#1f9d78;text-decoration:underline}
.ehr-sauts{display:none;flex-wrap:wrap;gap:8px;margin:16px 0 0}
.ehr-sauts a{font:600 14px var(--font-corps);color:var(--navy);background:#eef1f7;border-radius:999px;padding:8px 15px}
.ehr-sauts a b{color:#1f9d78;font-weight:700;margin-left:5px}
.ehr-page .ehr-g{scroll-margin-top:90px}
.ehr-page .ehr-g h2{font-size:19px}
.ehr-page .ehr-g li a{font-size:17px;padding:14px 2px}
.ehr-sep{margin:22px 0 0;padding:24px 0 0;border-top:2px dashed var(--vert)}
.ehr-sep summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;cursor:pointer}
.ehr-sep summary::-webkit-details-marker{display:none}
.ehr-sep-texte{display:block;min-width:0;flex:1 1 420px}
.ehr-sep-titre{display:block;font:800 24px/1.15 var(--font-display);text-transform:uppercase;color:var(--navy);margin:0 0 6px}
.ehr-sep-phrase{display:block;font:400 15px var(--font-corps);color:#555a78}
.ehr-btn{border:2px solid var(--navy);color:var(--navy);border-radius:8px;padding:11px 18px;font:800 14px var(--font-display);text-transform:uppercase;white-space:nowrap}
.ehr-sep summary:hover .ehr-btn,.ehr-sep summary:focus-visible .ehr-btn{background:var(--navy);color:#fff}
.ehr-sep details[open] .ehr-btn{display:none}

/* ---- Les lignes de séparation du sélecteur et du créateur de séances */
.sel-separation{margin:34px 0 22px;padding-top:22px;border-top:2px dashed var(--vert)}
.sel-separation b{display:block;font:800 22px/1.15 var(--font-display);text-transform:uppercase;color:var(--navy);margin:0 0 4px}
.sel-separation span{font:400 15px var(--font-corps);color:#555a78}
.sea-separation{margin:14px 0 8px;padding-top:12px;border-top:2px dashed var(--vert);font:800 15px var(--font-display);text-transform:uppercase;letter-spacing:.04em;color:var(--navy)}

@media(max-width:700px){
  .ehr-panneau{padding:20px 0 24px}
  .ehr-form{flex-wrap:wrap}
  .ehr-form input[type="search"]{flex-basis:100%;font-size:17px}
  .ehr-form button{width:100%;min-height:50px}
  .ehr-cols{grid-template-columns:1fr;margin-top:18px}
  .ehr-g li a{font-size:15px;padding:11px 2px}
  .ehr-g ul{margin-bottom:18px}
  .ehr-long{display:none}
  .ehr-court{display:inline}
  .ehr-vers{font-size:12px}
  .ehr-sauts{display:flex}
  .ehr-page .ehr-g li a{font-size:16px}
  .ehr-sep-titre{font-size:21px}
  .sel-separation b{font-size:19px}
}
