/* Hérite des variables Elementor quand dispo */
.anchor-menu a,
.anchor-menu select,
.anchor-menu option {
  color: var(--e-global-color-text, inherit);
  font-family: var(--e-global-typography-text-font-family, inherit), sans-serif;
  font-weight: var(--e-global-typography-text-font-weight, 400);
  font-size: var(--e-global-typography-text-font-size, 1rem);
  text-decoration: none;
  background: transparent;
  border: none;
}

/* Hover */
.anchor-menu a:hover {
  text-decoration: underline;
  color: var(--e-global-color-accent, currentColor);
}

/* Liste desktop */
.anchor-menu ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0;
  border: none;
}

.anchor-menu li {
  list-style: none !important;
  padding: 0.15rem 0;
  margin: 0;
  border: none !important;
}

.anchor-menu li::marker,
.anchor-menu li::before {
  display: none !important;
}

.anchor-menu li a {
  display: inline-block;
  width: 100%;
  border: none !important;
}

/* Layout mobile */
.anchor-menu .menu-mobile {
  display: none;
}

@media (max-width: 1024px) {
  .anchor-menu .menu-desktop {
    display: none;
  }
  .anchor-menu .menu-mobile {
    display: block;
    background: #fff;
    z-index: 999;
    padding: 0.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
  }
  .anchor-menu select {
    width: 100%;
    padding: 8px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml,%3Csvg fill='%23000000' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
    color: var(--e-global-color-text, inherit);
  }
  .anchor-menu select:focus {
    outline: none;
  }
}

/* Accessibilité : hide visuellement mais laisser accessible au lecteur d'écran */
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px,1px,1px,1px);
  padding: 0 !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden;
}