/* Sélecteur de langue FR/EN */

.afeccav-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.afeccav-lang-switcher ul {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.afeccav-lang-switcher a,
.afeccav-lang-switcher-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.28rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--afeccav-radius, 6px);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  line-height: 1.2;
}

.afeccav-lang-switcher a {
  color: #fff !important;
  background: transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.afeccav-lang-switcher a:hover,
.afeccav-lang-switcher a:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  color: #fff !important;
  outline: none;
}

.afeccav-lang-switcher li.is-active .afeccav-lang-switcher-current {
  background: #fff;
  border-color: #fff;
  color: var(--afeccav-blue, #202f5b) !important;
}

.afeccav-lang-switcher--mobile a,
.afeccav-lang-switcher--mobile .afeccav-lang-switcher-current {
  border-color: rgba(32, 47, 91, 0.25);
}

.afeccav-lang-switcher--mobile a {
  color: var(--afeccav-blue, #202f5b) !important;
}

.afeccav-lang-switcher--mobile a:hover,
.afeccav-lang-switcher--mobile a:focus {
  background: var(--afeccav-ice, #f3f4f8);
  border-color: var(--afeccav-blue, #202f5b);
  color: var(--afeccav-blue, #202f5b) !important;
}

.afeccav-lang-switcher--mobile li.is-active .afeccav-lang-switcher-current {
  background: var(--afeccav-blue, #202f5b);
  border-color: var(--afeccav-blue, #202f5b);
  color: #fff !important;
}

.afeccav-map-presentation-en-note {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--afeccav-blue, #202f5b);
  background: var(--afeccav-ice, #f3f4f8);
  font-size: 0.95rem;
}

@media (max-width: 767px) {
  .afeccav-head-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
