/* EduCheck design v2 (beta, 2026-12-05): one top bar, Figtree + Plus Jakarta Sans, navy/amber. */
:root{--v2-navy:#3b3a5e;--v2-ink:#1f1e33;--v2-amber:#f0a020;--v2-soft:#f5f4fb;--v2-line:#e8e7f2;--v2-muted:#55546f}
body.ec-v2{padding-left:0!important;font-family:"Plus Jakarta Sans",system-ui,sans-serif!important;color:var(--v2-ink);background:#fafafe}
body.ec-v2 h1,body.ec-v2 h2,body.ec-v2 h3,body.ec-v2 h4,body.ec-v2 .sx-h2,body.ec-v2 .sx-hero h1,body.ec-v2 .sx-logo{font-family:"Figtree","Plus Jakarta Sans",system-ui,sans-serif!important;letter-spacing:-.02em}
body.ec-v2 h1{font-weight:800;color:var(--v2-ink)}
body.ec-v2 h2,body.ec-v2 h3{color:var(--v2-ink)}
body.ec-v2 .header,body.ec-v2 .ec-dock{display:none!important}
/* Buttons */
body.ec-v2 .btn,body.ec-v2 a.btn,body.ec-v2 button.btn,body.ec-v2 input[type=submit]{font-family:"Figtree",sans-serif!important;border-radius:999px!important;font-weight:700;letter-spacing:0;text-transform:none}
body.ec-v2 .btn:not(.btn-outline),body.ec-v2 input[type=submit]{background:var(--v2-navy)!important;border-color:var(--v2-navy)!important;color:#fff!important}
body.ec-v2 .btn.btn-outline{background:#fff!important;border:2px solid var(--v2-navy)!important;color:var(--v2-navy)!important}
/* Page heroes: light, left-aligned, generous */
body.ec-v2 .page-hero,body.ec-v2 .ec-phero{background:radial-gradient(900px 300px at 20% -20%,#ecebfb 0,transparent 60%),linear-gradient(180deg,#f7f6fd,#fafafe)!important;color:var(--v2-ink)!important;border:0!important}
body.ec-v2 .ec-phero *{color:inherit}
body.ec-v2 .ec-phero h1{font-size:clamp(2rem,4vw,3rem)!important;color:var(--v2-ink)!important}
body.ec-v2 .ec-phero p{color:var(--v2-muted)!important}
/* Cards everywhere */
body.ec-v2 .card,body.ec-v2 .ec-card,body.ec-v2 .views-row > article,body.ec-v2 .ec-phero__figure{border-radius:20px!important;border:1px solid var(--v2-line)!important;box-shadow:0 6px 20px rgba(31,30,51,.05)!important;background:#fff!important}
/* Links and tags */
body.ec-v2 main p a:not(.btn):not(.sx-btn),body.ec-v2 .views-row a:not(.btn){color:var(--v2-navy)}
/* Forms */
body.ec-v2 input[type=text],body.ec-v2 input[type=search],body.ec-v2 input[type=email],body.ec-v2 input[type=tel],body.ec-v2 select,body.ec-v2 textarea{border-radius:12px!important;border:1.5px solid var(--v2-line)!important;font-family:inherit!important;padding:.7rem .9rem}
body.ec-v2 input:focus,body.ec-v2 select:focus,body.ec-v2 textarea:focus{border-color:var(--v2-navy)!important;outline:3px solid rgba(59,58,94,.12)}
/* Footer */
body.ec-v2 .ec-footer{background:var(--v2-ink)!important;color:#d9d8e8!important}
body.ec-v2 .ec-footer a{color:#fff!important}
/* App top bar (platform pages) */
.sx-bar--app .sx-nav a.is-active{color:var(--v2-navy);box-shadow:inset 0 -3px 0 var(--v2-amber)}
.sx-bar--app .sx-search{display:inline-flex;align-items:center;gap:8px;border:1.5px solid var(--v2-line);border-radius:999px;padding:.45rem .9rem;color:var(--v2-muted);text-decoration:none;font-weight:600;font-size:.9rem}
.sx-bar--app .sx-search svg{width:15px;height:15px;fill:currentColor}
/* Search page */
body.ec-v2 .block-facets{background:#fff;border:1px solid var(--v2-line);border-radius:16px;padding:14px 16px;margin:0 0 12px}
body.ec-v2 .block-facets h2{font-size:1rem;margin:0 0 8px}
body.ec-v2 .facet-item a{display:flex;justify-content:space-between;padding:4px 0;text-decoration:none}
body.ec-v2 .facet-item__count{color:var(--v2-muted)}
/* v2 fixes 1 */
body.ec-v2{--header-h:64px}
body.ec-v2 main{padding-top:0!important}
body.ec-v2 .ec-sector.is-active,body.ec-v2 .ec-sector.is-active *{color:#fff!important}
body.ec-v2 .sx-bar--app{position:sticky;top:0;z-index:500}
/* Search: facets as chip rows */
body.ec-v2.path-recherche .region-content-above{display:grid;gap:10px;margin-bottom:18px}
body.ec-v2 .block-facets{padding:12px 16px;margin:0}
body.ec-v2 .block-facets h2{font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:var(--v2-muted);margin:0 0 8px}
body.ec-v2 .block-facets ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
body.ec-v2 .block-facets li{margin:0;padding:0;list-style:none}
body.ec-v2 .block-facets li::before,body.ec-v2 .block-facets li::marker{content:none}
body.ec-v2 .facet-item a{display:inline-flex!important;gap:6px;align-items:center;padding:.4rem .8rem!important;border:1.5px solid var(--v2-line);border-radius:999px;background:#fff;color:var(--v2-ink)!important;font-weight:600;font-size:.88rem}
body.ec-v2 .facet-item a:hover{border-color:var(--v2-navy)}
body.ec-v2 .facet-item a.is-active{background:var(--v2-navy);border-color:var(--v2-navy);color:#fff!important}
body.ec-v2 .facet-item a.is-active .facet-item__count{color:#d9d8e8}
body.ec-v2 .facet-item__status{display:none}
body.ec-v2 .facet-item__count{font-weight:500;font-size:.8rem}
body.ec-v2 .facets-soft-limit-link{font-size:.85rem;font-weight:600;color:var(--v2-navy)}
/* Search in hero */
body.ec-v2 .ec-hero-search{max-width:720px;margin-top:18px}
body.ec-v2 .ec-hero-search details>summary{display:none}
body.ec-v2 .ec-hero-search .ec-filters__body{display:flex!important;gap:10px;align-items:flex-end;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
body.ec-v2 .ec-hero-search .form-item{flex:1;margin:0}
body.ec-v2 .ec-hero-search label{position:absolute!important;clip:rect(1px,1px,1px,1px);overflow:hidden;height:1px;width:1px}
body.ec-v2 .ec-hero-search input[type=text]{width:100%;font-size:1.05rem;padding:.95rem 1.2rem;border-radius:999px!important;background:#fff;box-shadow:0 8px 24px rgba(31,30,51,.08)}
body.ec-v2 .ec-hero-search .form-actions{margin:0}
body.ec-v2 .ec-hero-search input[type=submit]{padding:.95rem 1.6rem;border-radius:999px!important}
body.ec-v2.path-recherche .view-header{font-weight:700;color:var(--v2-muted);margin:0 0 12px}
/* App bar responsive */
.sx-bar--app .sx-plink{font-weight:600;color:#1f1e33;text-decoration:none}
@media (max-width:1100px){.sx-bar--app .sx-wrap{gap:18px}.sx-bar--app .sx-nav{gap:16px}.sx-bar--app .sx-search span{display:none}}
@media (max-width:900px){.sx-bar--app .sx-plink,.sx-bar--app .sx-lang{display:none}.sx-bar--app .sx-wrap{gap:10px;height:60px}.sx-bar--app .sx-right{margin-left:auto;gap:10px}.sx-bar--app .sx-search{padding:.55rem}.sx-bar--app .sx-btn{padding:.55rem 1rem;font-size:.9rem}body.ec-v2{--header-h:60px}}
html:has(body.ec-v2),body.ec-v2{overflow-x:clip}
/* Search results grid, no tall media */
body.ec-v2.path-recherche .view-content{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
body.ec-v2.path-recherche .views-row{margin:0}
body.ec-v2.path-recherche .ec-pcard__media{aspect-ratio:auto!important;height:120px;min-height:0!important}
body.ec-v2 .ec-hero-search form,body.ec-v2 form.ec-hero-search,body.ec-v2 .ec-hero-search details{background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
