:root {
  --dark-blue: #142a37;
  --accent-color: #ca3722;
  --medium-blue: #083651;
  --alt-blue: #2b5166;
  --blue: #4485c5;
  --blue-rgaa: #3971a8;
  --light-blue: #a1d6df;
  --lighter-blue: #dcf2ff;
  --red: #ba1f37;
  --dark-red: #832d42;
  --yellow: #dddc00;
  --lighter-grey: #fbfbfb;
  --light-grey: #f1f4f4;
  --medium-grey: #eaeeef;
  --dark-grey: #b8bbbc;
  --darker-grey: #868889;
  --white: #ffffff;
  --black: #000000;
  --text-color: var(--medium-blue);
  --header-height: 0px;
  --underline-max-width: 100%;
  --underline-hover-width: 0;
  --underline-idle-width: var(--underline-max-width);
  --underline-x: calc(var(--underline-max-width) * 0);
  --underline-thickness: max(1px, 0.05em);
  --underline-img: linear-gradient(0deg, currentColor, currentColor);
  --list-marker: #c196a1;

  /* --batiment-travaux-publics: #08733b;
  --biotechnologies-industries-agroalimentaires: #c1c53d;
  --electronique-automatisme: #a6ab35;
  --electrotechnique: #50983b;
  --energetique: #8ab758;
  --hygiene-securite: #bcc08f;
  --industries-chimiques: #a0b98c;
  --informatique: #78bfc9;
  --materiaux: #4ac7c8;
  --mathematiques-statistiques: #0a9b93;
  --mecanique-aerodynamique-acoustique: #074c70;
  --mesures-analyses: #095c9b;
  --sciences-nucleaires: #2e3982;
  --actions-juridiques: #9e4d81;
  --action-publique-collectivites: #b367a5;
  --action-publique-sante: #a791c1;
  --assurance-banque-finance: #8a4e8b;
  --commerce-marketing: #880d6f;
  --communication-culture-scientifique: #bd0151;
  --comptabilite-controle: #9b1139;
  --formation-adultes: #fadd3f;
  --gestion-ressources-humaines: #f8bc38;
  --logistiques-transport-tourisme: #f58c2f;
  --management-organisation: #ea7f2a;
  --psychologie-travail: #e25c25;
  --travail-social: #ca3722;
  --veille-innovation-prospective: #aa0e21;
  --relations-internationales-langues: #dc002c; */
}
body:has(#hero .region--hero #block-cnam-entetecentres),
body:has(#hero .region--hero #block-cnam-entetecatalogueformations),
body:has(#hero .region--hero img) {
  --header-height: 324px; /* 312px*/
}
.node--type-diplome {
  --accent-color: var(--red);
}

[href] {
  background-image: var(--underline-img), var(--underline-img);
  background-position:
    var(--underline-x) 100%,
    var(--underline-x) calc(100% - var(--underline-thickness));
  background-repeat: no-repeat, no-repeat;
  background-size:
    var(--underline-hover-width) calc(var(--underline-thickness) * 2),
    var(--underline-idle-width) var(--underline-thickness);
  transition: background-size 0s !important;
}
.leaflet-container,
form a,
.contextual-links,
a.wp-block-button__link,
a:has(img),
a.more,
.more-link a,
.switch-2due a,
nav a {
  --underline-img: none;
}
@media (hover: hover) and (pointer: fine) {
  a[href]:active,
  a[href]:hover {
    --underline-hover-width: var(--underline-max-width);
  }
  a[href]:hover {
    background-color: var(--hover-tint);
  }
}
