@charset "UTF-8";
/* ESPORTIFY+ - Header et navigation - Bootstrap 5.3.8 */
/* 1. Couleurs et conteneur -------------------------------- */
.es-header {
  --es-header-bg: #ff9a29;
  --es-header-surface: #ffedd4;
  --es-header-hover: #ffd093;
  --es-header-orange: #2a193a;
  --es-header-orange-light: #442954;
  --es-header-text: #24152d;
  --es-header-muted: #664f6c;
  --es-header-border: #8b5c78;
  --es-header-focus: #24152d;
  --es-header-button-ink: #fff7ed;
  position: sticky;
  top: 0;
  z-index: 1030;
  width: 100%;
  color: var(--es-header-text);
  background: linear-gradient(110deg, #f9952c 0%, #ffae50 53%, #ffa03b 100%);
  border-bottom: 4px solid #fff1dd;
  box-shadow: inset 0 1px 0 rgba(255, 246, 229, 0.3), 0 5px 18px rgba(13, 8, 25, 0.2);
}

.es-header .site-header__inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  min-height: 56px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* 2. Logo ------------------------------------------------ */
.es-header .site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.15rem 0.25rem;
  border-radius: 0.75rem;
  text-decoration: none;
}

.es-header .site-logo img {
  display: block;
  width: auto;
  max-width: 160px;
  max-height: 48px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .es-header .site-logo:hover img {
    transform: scale(1.035);
  }
}
/* 3. Navigation principale ------------------------------- */
.es-header .site-menu {
  flex: 1 1 auto;
  min-width: 0;
}

.es-header .site-menu__toggle {
  display: none;
  padding: 0.7rem 1rem;
  border: 1px solid var(--es-header-border);
  border-radius: 0.8rem;
  background: var(--es-header-surface);
  color: var(--es-header-text);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.es-header .site-menu__toggle::marker,
.es-header .site-nav__competitions > summary::marker {
  content: "";
}

.es-header .site-menu__toggle:hover {
  background: var(--es-header-hover);
}

.es-header .site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.es-header .site-nav a,
.es-header .site-nav__competitions > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  background: transparent;
  color: var(--es-header-text);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.es-header .site-nav a svg,
.es-header .site-nav__competitions > summary svg {
  flex-shrink: 0;
}

.es-header .site-nav a:hover,
.es-header .site-nav a:focus-visible,
.es-header .site-nav__competitions > summary:hover,
.es-header .site-nav__competitions > summary:focus-visible {
  background: var(--es-header-hover);
  border-color: var(--es-header-border);
  color: var(--es-header-orange-light);
}

.es-header .site-nav a[aria-current=page] {
  background: #33203f;
  border-color: rgba(51, 32, 63, 0.85);
  color: #fff7ed;
  box-shadow: 0 3px 10px rgba(42, 25, 58, 0.16);
}

/* 4. Sous-menu Compétitions ------------------------------ */
.es-header .site-nav__competitions {
  position: relative;
  min-width: 0;
}

.es-header .site-nav__competitions > summary {
  list-style: none;
  user-select: none;
}

.es-header .site-nav__competitions > summary svg:last-child {
  transition: transform 0.2s ease;
}

.es-header .site-nav__competitions[open] > summary {
  background: var(--es-header-hover);
  border-color: var(--es-header-border);
  color: var(--es-header-orange-light);
}

.es-header .site-nav__competitions[open] > summary svg:last-child {
  transform: rotate(180deg);
}

.es-header .site-nav__competitions:not([open]) > .site-nav__competitions-menu {
  display: none;
}

.es-header .site-nav__competitions-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  z-index: 1050;
  display: grid;
  gap: 0.25rem;
  min-width: 210px;
  padding: 0.55rem;
  transform: translateX(-50%);
  border: 1px solid var(--es-header-border);
  border-radius: 1rem;
  background: #30223f;
  color: #fff7ed;
  --es-header-text: #fff7ed;
  --es-header-hover: #49365e;
  --es-header-orange-light: #ffca88;
  --es-header-border: #8a6b9b;
  box-shadow: 0 14px 32px rgba(8, 5, 16, 0.36);
}

.es-header .site-nav__competitions-menu a {
  justify-content: flex-start;
  width: 100%;
  border-radius: 0.65rem;
  white-space: nowrap;
}

/* 5. Connexion et déconnexion ---------------------------- */
.es-header .es-auth-area {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}

.es-header .es-auth-trigger,
.es-header .es-auth-submit,
.es-header .es-auth-logout {
  min-height: 44px;
  padding: 0.6rem 1.2rem;
  border-radius: 0.7rem;
  font-size: 1rem;
  font-weight: 750;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.es-header .es-auth-trigger,
.es-header .es-auth-submit {
  background: var(--es-header-orange);
  border: 1px solid var(--es-header-orange);
  color: var(--es-header-button-ink);
  box-shadow: 0 3px 9px rgba(42, 25, 58, 0.16);
}

.es-header .es-auth-trigger:hover,
.es-header .es-auth-trigger:focus-visible,
.es-header .es-auth-submit:hover,
.es-header .es-auth-submit:focus-visible {
  background: var(--es-header-orange-light);
  border-color: var(--es-header-orange-light);
  color: var(--es-header-button-ink);
}

.es-header .es-auth-logout {
  background: transparent;
  border: 1px solid var(--es-header-orange);
  color: var(--es-header-orange-light);
}

.es-header .es-auth-logout:hover,
.es-header .es-auth-logout:focus-visible {
  background: var(--es-header-orange);
  color: var(--es-header-button-ink);
}

/* 6. Panneau de connexion -------------------------------- */
.es-header .es-auth-panel {
  position: absolute;
  top: calc(100% + 0.9rem);
  right: 0;
  z-index: 1060;
  width: min(340px, 100vw - 2rem);
  padding: 1.25rem;
  border: 1px solid var(--es-header-border);
  border-radius: 1.15rem;
  --es-header-text: #fff7ed;
  --es-header-muted: #e0d3e9;
  --es-header-border: #79628b;
  --es-header-hover: #49365e;
  --es-header-orange: #ffab4f;
  --es-header-orange-light: #ffc786;
  --es-header-button-ink: #24152d;
  background: #30223f;
  color: var(--es-header-text);
  box-shadow: 0 18px 38px rgba(8, 5, 16, 0.42);
}

.es-header .es-auth-panel[hidden] {
  display: none;
}

.es-header .es-auth-panel:not([hidden]) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

.es-header .es-auth-panel .form-control {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--es-header-border);
  border-radius: 0.7rem;
  background: #241a34;
  color: var(--es-header-text);
}

.es-header .es-auth-panel .form-control::placeholder {
  color: var(--es-header-muted);
  opacity: 1;
}

.es-header .es-auth-panel .form-control:focus {
  border-color: var(--es-header-orange);
  box-shadow: 0 0 0 0.2rem rgba(255, 155, 53, 0.25);
}

.es-header .es-auth-panel > div {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
}

.es-header .es-auth-submit {
  flex: 1 1 auto;
}

.es-header .es-auth-close {
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--es-header-border);
  border-radius: 0.75rem;
  background: transparent;
  color: var(--es-header-text);
  font-size: 1.4rem;
}

.es-header .es-auth-close:hover {
  background: var(--es-header-hover);
  color: var(--es-header-orange-light);
}

.es-header .es-auth-logout-form {
  margin: 0;
}

/* 7. Boutons d'accessibilité ----------------------------- */
.es-header .accessibility-controls {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.5rem;
}

.es-header .accessibility-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--es-header-border);
  border-radius: 0.7rem;
  background: rgba(255, 246, 231, 0.82);
  color: var(--es-header-text);
  cursor: pointer;
}

.es-header .accessibility-controls button:hover,
.es-header .accessibility-controls button[aria-pressed=true] {
  background: var(--es-header-hover);
  border-color: var(--es-header-orange);
  color: var(--es-header-orange-light);
}

.es-header .accessibility-controls svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 8. Focus clavier --------------------------------------- */
.es-header a:focus-visible,
.es-header button:focus-visible,
.es-header summary:focus-visible,
.es-header input:focus-visible {
  outline: 3px solid var(--es-header-focus);
  outline-offset: 3px;
}

/* 9. Contraste renforcé : variables de l'en-tête ---------- */
html[data-contrast=high] .es-header {
  --es-header-bg: #101010;
  --es-header-surface: #222222;
  --es-header-hover: #303030;
  --es-header-orange: #ffdf55;
  --es-header-orange-light: #fff09e;
  --es-header-text: #ffffff;
  --es-header-muted: #eeeeee;
  --es-header-border: #ffffff;
  --es-header-focus: #fff36b;
  --es-header-button-ink: #000000;
  background: #101010;
  border-bottom-color: #ffdf55;
}

html[data-contrast=high] .es-header .site-nav a[aria-current=page] {
  background: #303030;
  border-color: #ffdf55;
  color: #fff09e;
}

html[data-contrast=high] .es-header .es-auth-panel {
  --es-header-text: #ffffff;
  --es-header-muted: #eeeeee;
  --es-header-border: #ffffff;
  --es-header-orange: #ffdf55;
  --es-header-orange-light: #fff09e;
  --es-header-button-ink: #000000;
  background: #181818;
  color: #ffffff;
}

html[data-contrast=high] .es-header .site-nav__competitions-menu {
  --es-header-text: #ffffff;
  --es-header-hover: #303030;
  --es-header-orange-light: #fff09e;
  border-color: #ffffff;
  background: #181818;
}

html[data-contrast=high] .es-header .accessibility-controls button {
  background: var(--es-header-surface);
}

html[data-contrast=high] .es-header .es-auth-panel .form-control {
  background: #ffffff;
  color: #101010;
  border-color: #ffffff;
}

html[data-contrast=high] .es-header .es-auth-panel .form-control::placeholder {
  color: #444444;
}

/* 10. Ordinateur et tablette ----------------------------- */
@media (min-width: 761px) and (max-width: 1100px) {
  .es-header .site-menu {
    flex-basis: 100%;
    order: 3;
  }
  .es-header .es-auth-area {
    margin-left: auto;
  }
}
/* 11. Smartphone : barre principale lisible et sans débordement. */
@media (max-width: 760px) {
  .es-header .site-header__inner {
    padding-inline: 0.75rem;
    gap: 0.5rem;
  }
  .es-header .site-logo {
    order: 1;
  }
  .es-header .site-logo img {
    max-width: 92px;
    max-height: 44px;
  }
  .es-header .accessibility-controls {
    order: 3;
    gap: 0.35rem;
    margin-left: 0;
  }
  .es-header .site-menu {
    order: 4;
    flex: 1 1 100%;
  }
  .es-header .site-menu__toggle {
    display: block;
    width: 100%;
    text-align: center;
  }
  .es-header .site-menu:not([open]) > .site-nav {
    display: none;
  }
  .es-header .site-menu[open] > .site-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    margin-top: 0.65rem;
  }
  .es-header .site-nav a,
  .es-header .site-nav__competitions > summary {
    justify-content: flex-start;
    width: 100%;
  }
  .es-header .site-nav__competitions {
    width: 100%;
  }
  .es-header .site-nav__competitions-menu {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 0.4rem;
    transform: none;
    box-shadow: none;
  }
  .es-header .site-nav__competitions-menu a {
    white-space: normal;
  }
}
/* 12. Préférence de mouvement ---------------------------- */
@media (prefers-reduced-motion: reduce) {
  .es-header .site-logo img,
  .es-header .site-nav a,
  .es-header .site-nav__competitions > summary,
  .es-header .es-auth-trigger,
  .es-header .es-auth-submit,
  .es-header .es-auth-logout,
  .es-header .site-nav__competitions > summary svg:last-child {
    transition: none;
  }
}
/* 13. Connexion : le bouton reste ancre, le formulaire est son voisin. */
.es-header .es-auth-trigger--icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
}

.es-header .es-auth-trigger--icon svg {
  width: 21px;
  height: 21px;
}

.es-header .es-auth-area--inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  margin: 0;
}

.es-header .es-auth-panel--inline[hidden] {
  display: none;
}

.es-header .es-auth-panel--inline .form-control {
  min-width: 0;
  min-height: 42px;
  margin: 0;
  padding: 0.5rem 0.65rem;
  border-radius: 0.6rem;
  background: #30213f;
  color: #fff7ed;
  font-size: 0.9rem;
}

.es-header .es-auth-panel--inline .form-control::placeholder {
  color: #fff7ed;
  opacity: 1;
}

.es-header .es-auth-panel--inline .es-auth-forgot-password {
  color: #30213f;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.es-header .es-auth-panel--inline > div {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

.es-header .es-auth-panel--inline .es-auth-submit--text {
  min-height: 42px;
  padding: 0.5rem 0.7rem;
  border: 1px solid #30213f;
  border-radius: 0.6rem;
  background: #30213f;
  color: #ffffff;
  font-size: 0.82rem;
  white-space: nowrap;
}

.es-header .es-auth-panel--inline .es-auth-close {
  display: inline-grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #d9a36f;
  background: #fff0db;
  color: #30213f;
}

/* 14. Tres grand ecran : ligne horizontale, sans deplacer la navigation. */
@media (min-width: 1900px) {
  .es-header .site-header__inner {
    flex-wrap: nowrap;
    justify-content: center;
    max-width: none;
    min-height: 56px;
    padding-inline: 1rem;
  }
  .es-header .site-logo {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    max-width: 140px;
    transform: translateY(-50%);
  }
  .es-header .site-logo img {
    max-width: 136px;
    max-height: 50px;
  }
  .es-header .site-menu {
    flex: 0 0 auto;
  }
  .es-header .site-nav {
    flex-wrap: nowrap;
  }
  .es-header .es-auth-area--inline {
    position: absolute;
    top: 50%;
    left: 10.75rem;
    gap: 0.55rem;
    transform: translateY(-50%);
  }
  .es-header .es-auth-panel--inline:not([hidden]) {
    position: static;
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.65rem;
    width: auto;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  /* Les deux champs utilisent le meme gabarit sur grand PC.
     Les classes Bootstrap mb-2 / mb-3 sont retirees du Layout. */
  .es-header .es-auth-panel--inline #es-login-email,
  .es-header .es-auth-panel--inline #es-login-password {
    box-sizing: border-box;
    display: block;
    flex: 0 0 156px;
    align-self: center;
    width: 156px;
    min-width: 156px;
    max-width: 156px;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    margin: 0;
    padding: 0.5rem 0.65rem;
    border: 1px solid #79588a;
    border-radius: 0.6rem;
    line-height: 1.25;
    vertical-align: middle;
  }
  .es-header .es-auth-panel--inline .es-auth-forgot-password {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    align-self: center;
    min-height: 42px;
    margin: 0;
    padding: 0 0.3rem;
    font-size: 0.8rem;
    line-height: 1.25;
    white-space: nowrap;
  }
  .es-header .es-auth-panel--inline > div {
    align-self: center;
    gap: 0.6rem;
  }
  .es-header .es-auth-panel--inline .es-auth-submit--text,
  .es-header .es-auth-panel--inline .es-auth-close,
  .es-header .es-auth-trigger--icon {
    height: 42px;
    min-height: 42px;
  }
  /* Focus clavier discret et lisible, sans le gros contour noir. */
  .es-header .es-auth-panel--inline .form-control:focus-visible {
    outline: 2px solid #ffe1b5;
    outline-offset: 1px;
    box-shadow: 0 0 0 1px #79588a;
  }
  /* Le navigateur peut garder le champ actif apres saisie a la souris. */
  .es-header .es-auth-panel--inline .form-control:focus:not(:focus-visible) {
    outline: none;
    box-shadow: 0 0 0 1px #79588a;
  }
}
/* 15. Tablette et PC etroit : volet compact rattache au bouton. */
@media (min-width: 761px) and (max-width: 1899px) {
  .es-header .es-auth-area--inline {
    position: relative;
  }
  .es-header .es-auth-panel--inline:not([hidden]) {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: calc(100% + 0.5rem);
    left: auto;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    width: min(18rem, 100vw - 1.5rem);
    min-width: 0;
    max-height: calc(100dvh - 5rem);
    padding: 0.8rem;
    overflow-y: auto;
    border: 1px solid #d9a36f;
    border-radius: 0.8rem;
    background: #30213f;
    color: #fff7ed;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
  }
  .es-header .es-auth-panel--inline .form-control,
  .es-header .es-auth-panel--inline > div {
    flex: 0 0 auto;
    width: 100%;
  }
  .es-header .es-auth-panel--inline .es-auth-forgot-password {
    color: #ffcc91;
  }
  .es-header .es-auth-panel--inline .es-auth-submit--text {
    flex: 1 1 auto;
  }
}
/* 16. Smartphone : formulaire dans le flux du header, sous Menu. */
@media (max-width: 760px) {
  .es-header .site-header__inner {
    align-content: start;
  }
  /* Les deux enfants de la zone Connexion deviennent flex-items du header. */
  .es-header .es-auth-area--inline {
    display: contents;
  }
  .es-header .es-auth-logout-form {
    order: 2;
    flex: 0 0 auto;
    width: auto;
    margin-left: auto;
  }
  .es-header .es-auth-trigger--icon {
    order: 2;
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    margin-left: auto;
  }
  .es-header .es-auth-panel--inline:not([hidden]) {
    position: static;
    order: 5;
    display: grid;
    flex: 1 1 100%;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    gap: 0.55rem;
    width: 100%;
    min-width: 0;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0.75rem;
    overflow: visible;
    border: 1px solid #d69055;
    border-radius: 0.8rem;
    background: #ffce93;
    color: #30213f;
    box-shadow: none;
  }
  .es-header .es-auth-panel--inline .form-control {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 44px;
    margin: 0;
    font-size: 1rem;
  }
  .es-header .es-auth-panel--inline .es-auth-forgot-password {
    justify-self: start;
    color: #30213f;
    font-size: 0.86rem;
    white-space: normal;
  }
  .es-header .es-auth-panel--inline > div {
    width: 100%;
  }
  .es-header .es-auth-panel--inline .es-auth-submit--text {
    flex: 1 1 auto;
    min-height: 44px;
  }
  .es-header .es-auth-panel--inline .es-auth-close {
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .es-header .es-auth-panel--inline,
  .es-header .es-auth-trigger--icon {
    transition: none;
  }
}
/* 17. Repere de navigation actif, couleurs douces. */
/* La classe is-current est definie dans _Layout.cshtml. */
.es-header .site-nav__competitions.is-current > summary,
.es-header .site-nav__competitions.is-current > summary:hover,
.es-header .site-nav__competitions.is-current > summary:focus-visible,
.es-header .site-nav__competitions.is-current[open] > summary {
  background: #49365e;
  border-color: #795b8b;
  color: #fff7ed;
  box-shadow: 0 2px 6px rgba(36, 21, 45, 0.14);
}

/* L'onglet actif se distingue sans couleur agressive. */
.es-header .site-nav__competitions-menu a[aria-current=page],
.es-header .site-nav__competitions-menu a[aria-current=page]:hover,
.es-header .site-nav__competitions-menu a[aria-current=page]:focus-visible {
  background: #e8b77c;
  border-color: #d49a5a;
  color: #24152d;
  font-weight: 800;
  box-shadow: none;
}

/* Etat actif en mode contraste renforce. */
html[data-contrast=high] .es-header .site-nav__competitions.is-current > summary,
html[data-contrast=high] .es-header .site-nav__competitions.is-current > summary:hover,
html[data-contrast=high] .es-header .site-nav__competitions.is-current > summary:focus-visible,
html[data-contrast=high] .es-header .site-nav__competitions.is-current[open] > summary {
  background: #303030;
  border-color: #ffdf55;
  color: #fff09e;
}

html[data-contrast=high] .es-header .site-nav__competitions-menu a[aria-current=page],
html[data-contrast=high] .es-header .site-nav__competitions-menu a[aria-current=page]:hover,
html[data-contrast=high] .es-header .site-nav__competitions-menu a[aria-current=page]:focus-visible {
  background: #ffdf55;
  border-color: #ffffff;
  color: #101010;
}

/* 18. Navigation Compétitions : inactif contour, actif rempli. */
/* Conserve la teinte pêche douce de l'onglet actif existant. */
.es-header .site-nav__competitions-menu a:not([aria-current=page]) {
  border: 1px solid #8a6b9b;
  background: transparent;
  color: #fff7ed;
}

.es-header .site-nav__competitions-menu a:not([aria-current=page]):hover,
.es-header .site-nav__competitions-menu a:not([aria-current=page]):focus-visible {
  border-color: #d1a6e0;
  background: #49365e;
  color: #fff7ed;
}

/* Contraste élevé : les onglets disponibles restent simplement bordés. */
html[data-contrast=high] .es-header .site-nav__competitions-menu a:not([aria-current=page]) {
  border-color: #ffffff;
  background: transparent;
  color: #ffffff;
}

html[data-contrast=high] .es-header .site-nav__competitions-menu a:not([aria-current=page]):hover,
html[data-contrast=high] .es-header .site-nav__competitions-menu a:not([aria-current=page]):focus-visible {
  border-color: #ffdf55;
  background: #303030;
  color: #ffffff;
}

/* Focus clavier lisible sur le fond violet du sous-menu et de son onglet actif. */
.es-header .site-nav__competitions-menu a:focus-visible,
.es-header .site-nav__competitions.is-current > summary:focus-visible {
  outline: 3px solid #ffe1b5;
  outline-offset: 2px;
}

/* Conserver un repere distinct dans le mode contraste eleve. */
html[data-contrast=high] .es-header .site-nav__competitions-menu a:focus-visible,
html[data-contrast=high] .es-header .site-nav__competitions.is-current > summary:focus-visible {
  outline-color: #ffdf55;
}

/* 19. Protections contre les debordements de navigation. */
.es-header .site-header__inner,
.es-header .site-menu,
.es-header .site-nav__competitions {
  min-width: 0;
}

@media (max-width: 760px) {
  .es-header .site-menu__toggle,
  .es-header .site-nav a,
  .es-header .site-nav__competitions > summary {
    overflow-wrap: anywhere;
    white-space: normal;
  }
  .es-header .site-nav__competitions-menu {
    max-width: 100%;
  }
}

/*# sourceMappingURL=header.css.map */
