/* En-tête (13/10/2026) : accès rapides Recherche, Blog, Partenariat, Contact toujours visibles (aussi dans le menu).
   Grand écran (1366 px et plus) : masqués, la barre de menu complète les contient. 700 à 1365 px : après le bouton
   menu (icône et nom), « Se connecter » en dernier. Téléphone et petite tablette (moins de 700 px) : barre d'onglets fixe en bas de l'écran. « Se connecter » reste
   toujours visible dans l'en-tête et figure aussi dans le menu à 3 traits. */
.sn-acces{display:none}
.sn-acces ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:4px}
.sn-acces-lien{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 10px;border-radius:10px;border:0;background:transparent;color:var(--wp--preset--color--main);font:inherit;font-size:15px;font-weight:600;text-decoration:none;cursor:pointer}
.sn-acces-lien:hover,.sn-acces-lien[aria-expanded="true"],.sn-acces-lien[aria-current="page"]{background:var(--wp--preset--color--tertiary);color:var(--wp--preset--color--primary-alt)}
.sn-acces-lien:focus-visible{outline:3px solid var(--wp--preset--color--focus,#CFE4F5);outline-offset:2px}
.sn-acces-icone{flex:none;width:18px;height:18px;background-color:currentColor;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain}
/* « Se connecter » dans le menu : seulement dans le menu à 3 traits */
@media (min-width:1366px){header .sn-nav-connexion{display:none!important}}
/* Panneau de recherche (tablette et téléphone) : toute la largeur, sous l'en-tête */
header.wp-block-group{position:relative}
.sn-recherche-panneau{position:absolute;left:0;right:0;top:100%;z-index:70;background:var(--wp--preset--color--tertiary);border-top:1px solid var(--wp--preset--color--border-light);border-bottom:1px solid var(--wp--preset--color--border-light);padding:14px var(--wp--preset--spacing--medium);animation:sn-rech .2s ease}
.sn-recherche-panneau[hidden]{display:none}
@keyframes sn-rech{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.sn-recherche-form{display:flex;gap:10px;max-width:1200px;margin:0 auto}
.sn-recherche-form input[type=search]{flex:1;min-width:0;min-height:48px;padding:0 16px;font:inherit;font-size:18px;color:var(--wp--preset--color--main);background:var(--wp--preset--color--base);border:1.5px solid var(--wp--preset--color--border-dark);border-radius:10px}
.sn-recherche-ok{min-height:48px;padding:0 18px;border-radius:10px;border:1.5px solid var(--wp--preset--color--primary-alt);background:transparent;color:var(--wp--preset--color--main);font:inherit;font-weight:700;cursor:pointer}
.sn-recherche-fermer{min-width:48px;min-height:48px;border-radius:10px;border:0;background:transparent;color:var(--wp--preset--color--main);font-size:28px;line-height:1;cursor:pointer}
@media (max-width:1365px){
  header .wp-block-group.alignwide>.wp-block-group{gap:10px!important}
  header .wp-block-group.alignwide>.wp-block-group>.wp-block-navigation{order:0}
  header .wp-block-group.alignwide>.wp-block-group>.wp-block-buttons{order:3}
}
@media (min-width:700px) and (max-width:1365px){
  .sn-acces{display:block;order:1}
}
@media (min-width:700px) and (max-width:1023px){
  .sn-acces-lien{flex-direction:column;gap:2px;padding:4px 8px;font-size:12px;min-width:56px}
}
/* Téléphone : barre d'onglets fixe en bas */
@media (max-width:699px){
  .sn-acces{display:block;position:fixed;left:0;right:0;bottom:0;z-index:80;background:var(--wp--preset--color--base);border-top:1px solid var(--wp--preset--color--border-light);padding:4px 6px calc(4px + env(safe-area-inset-bottom))}
  .sn-acces ul{justify-content:space-around}
  .sn-acces li{flex:1}
  .sn-acces-lien{width:100%;flex-direction:column;justify-content:center;gap:2px;min-height:52px;padding:4px 2px;font-size:12px}
  .sn-acces-icone{width:22px;height:22px}
  body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  .sn-recherche-panneau{position:fixed;top:auto;bottom:calc(64px + env(safe-area-inset-bottom));border-bottom:0;animation:sn-rech-bas .2s ease}
  @keyframes sn-rech-bas{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
  .sn-recherche-ok{display:none}
}
@media print{.sn-acces,.sn-recherche-panneau{display:none!important}body{padding-bottom:0}}
.sn-acces-icone[data-icone="journal"]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 4H5.5A1.5 1.5 0 0 0 4 5.5V18a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9h-4Z'/%3E%3Cpath d='M16 9v9a2 2 0 0 0 2 2M7.5 8h5M7.5 12h5M7.5 16h3'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 4H5.5A1.5 1.5 0 0 0 4 5.5V18a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9h-4Z'/%3E%3Cpath d='M16 9v9a2 2 0 0 0 2 2M7.5 8h5M7.5 12h5M7.5 16h3'/%3E%3C/svg%3E")}
.sn-acces-icone[data-icone="partenaires"]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3.5 20a5.5 5.5 0 0 1 11 0'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M15.8 14.2A4.5 4.5 0 0 1 21 18.5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3.5 20a5.5 5.5 0 0 1 11 0'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M15.8 14.2A4.5 4.5 0 0 1 21 18.5'/%3E%3C/svg%3E")}
.sn-acces-icone[data-icone="enveloppe"]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3.5 7 8.5 6 8.5-6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3.5 7 8.5 6 8.5-6'/%3E%3C/svg%3E")}
.sn-acces-icone[data-icone="loupe"]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E")}

/* Sous-menus imbriqués (Matières du DCG, Autres BTS) : ouverts vers la droite, le menu étant aligné à droite. */
@media (min-width:1366px){
	header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:100%!important;right:auto!important;top:-1px!important}
	/* « Autres BTS » est en bas de la liste BTS : sa liste s'ouvre vers le haut pour rester visible sur un portable. */
	html body header .wp-block-navigation li.has-child.sn-sous-autres-bts>.wp-block-navigation__submenu-container{top:auto!important;bottom:-1px!important}
}
/* Sous-menu « Matières » du DCG (13 UE) sur deux colonnes dans la barre horizontale : il tient sur un écran d'ordinateur portable. */
@media (min-width:1366px){
	header .wp-block-navigation .sn-sous-matieres>.wp-block-navigation__submenu-container{display:block!important;columns:2;column-gap:0;width:max-content!important;min-width:0!important;left:100%!important;right:auto!important;top:-1px!important}
	header .wp-block-navigation .sn-sous-matieres>.wp-block-navigation__submenu-container>li{break-inside:avoid;width:250px}
}
/* Accueil (14/10/2026) : ce que propose Scolnext, en tirets, chacun menant à sa rubrique. */
.sn-accueil-points{list-style:none;padding:0;margin:0 0 4px;display:grid;gap:8px;color:var(--wp--preset--color--secondary);font-size:1.0625rem;line-height:1.5}
.sn-accueil-points li{position:relative;padding-left:24px;margin:0!important}
.sn-accueil-points li::before{content:"";position:absolute;left:0;top:.72em;width:12px;height:3px;border-radius:2px;background:var(--wp--preset--color--primary-alt)}
.sn-accueil-points strong,.sn-accueil-bientot strong{color:var(--wp--preset--color--main)}
.sn-accueil-points a,.sn-accueil-bientot a{color:var(--wp--preset--color--primary-alt)}
.sn-accueil-bientot{color:var(--wp--preset--color--secondary);font-size:1.0625rem;line-height:1.5}
/* Accueil (15/10/2026) : une icône du kit par tiret (même dessin que les rubriques dépliables), à la place du trait. */
.sn-accueil-points li{padding-left:40px}
.sn-accueil-points li::before{top:-1px;left:0;width:28px;height:28px;border-radius:8px;background:var(--wp--preset--color--primary-alt-accent)}
.sn-accueil-points li::after{content:"";position:absolute;left:6px;top:5px;width:16px;height:16px;background:var(--wp--preset--color--primary-alt);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain}
.sn-accueil-points li.sn-ic-calendrier::after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4M7.5 14h2M11 14h2M14.5 14h2M7.5 17.5h2M11 17.5h2'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4M7.5 14h2M11 14h2M14.5 14h2M7.5 17.5h2M11 17.5h2'/%3E%3C/svg%3E")}
.sn-accueil-points li.sn-ic-diplome::after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9.5 12 5l10 4.5-10 4.5Z'/%3E%3Cpath d='M6 11.5V16c0 1.4 2.7 3 6 3s6-1.6 6-3v-4.5M22 9.5v5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9.5 12 5l10 4.5-10 4.5Z'/%3E%3Cpath d='M6 11.5V16c0 1.4 2.7 3 6 3s6-1.6 6-3v-4.5M22 9.5v5'/%3E%3C/svg%3E")}
.sn-accueil-points li.sn-ic-boussole::after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15.5 8.5 13.6 13.6 8.5 15.5 10.4 10.4Z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15.5 8.5 13.6 13.6 8.5 15.5 10.4 10.4Z'/%3E%3C/svg%3E")}
.sn-accueil-points li.sn-ic-document::after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6ZM14 3v4h4M9 13h6M9 17h6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6ZM14 3v4h4M9 13h6M9 17h6'/%3E%3C/svg%3E")}
.sn-accueil-points li.sn-ic-mallette::after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M9 7V5.5A1.5 1.5 0 0 1 10.5 4h3A1.5 1.5 0 0 1 15 5.5V7M3 12.5h18M11 12.5v1.5h2v-1.5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M9 7V5.5A1.5 1.5 0 0 1 10.5 4h3A1.5 1.5 0 0 1 15 5.5V7M3 12.5h18M11 12.5v1.5h2v-1.5'/%3E%3C/svg%3E")}
.sn-accueil-points li.sn-ic-bulle-check::after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A1.5 1.5 0 0 1 5.5 4h13A1.5 1.5 0 0 1 20 5.5v9a1.5 1.5 0 0 1-1.5 1.5H10l-4.5 4v-4A1.5 1.5 0 0 1 4 14.5Z'/%3E%3Cpath d='m8.5 10 2.5 2.5 4.5-5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A1.5 1.5 0 0 1 5.5 4h13A1.5 1.5 0 0 1 20 5.5v9a1.5 1.5 0 0 1-1.5 1.5H10l-4.5 4v-4A1.5 1.5 0 0 1 4 14.5Z'/%3E%3Cpath d='m8.5 10 2.5 2.5 4.5-5'/%3E%3C/svg%3E")}
.sn-accueil-points li.sn-ic-horloge::after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3.5 2'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3.5 2'/%3E%3C/svg%3E")}

/* Mention de marque TOEIC / Linguaskill en bas des pages (15/10/2026) */
.sn-mention-marque{max-width:900px;margin:40px auto 0;padding:0 var(--wp--preset--spacing--medium,24px);font-size:13px;line-height:1.5;color:var(--wp--preset--color--secondary)}
