.MainFooter .MainContainer--Footer {
  max-width: 1520px !important;
}
.MainFooter .MainContainer--Footer .MainContainer--Footer--Level-1--Wrapper,
.MainFooter .MainContainer--Footer .MainContainer--Footer--Level-2--Wrapper {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.MainFooter .MainContainer--Footer--Level-3--Wrapper-logos img {
  width: auto;
  height: 18px;
}
.MainFooter .MainContainer--Footer--Level-3--Wrapper-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  /* padding-bottom: 50px; */
}
@media screen and (max-width: 767px) {
  .MainFooter .MainContainer--Footer--Level-3--Wrapper-logos > a {
    flex: 1 0 35%;
  }
}

/* Styles de base pour le plan de site */
.sitemap {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 20px;
}

.sitemap-item {
  margin-bottom: 20px;
}

.sitemap-item a {
  color: #0073aa;
  text-decoration: none;
}

.sitemap-item a:hover {
  text-decoration: underline;
}

.sitemap-item ul {
  list-style-type: none;
  padding-left: 20px;
}

.sitemap-item ul li {
  margin-bottom: 10px;
}

.sitemap-item ul li ul {
  padding-left: 20px;
}

.sitemap-item ul li ul li {
  margin-bottom: 5px;
}

/* Styles spécifiques pour les éléments de la page d'accueil */
.sitemap-item--frontpage {
  font-weight: bold;
}

.sitemap-item--frontpage a {
  font-size: 1.2em;
}

/* Styles pour les images (comme l'icône RSS) */
.sitemap-item img {
  vertical-align: middle;
  margin-left: 5px;
}

/* Styles pour les éléments de menu */
.sitemap-item--menu {
  border-top: 1px solid #ccc;
  padding-top: 10px;
}

.sitemap-item--menu ul {
  padding-left: 0;
}

.sitemap-item--menu ul li {
  margin-bottom: 10px;
}

.sitemap-item--menu ul li ul {
  padding-left: 20px;
}

.sitemap-item--menu ul li ul li {
  margin-bottom: 5px;
}

/* Styles pour les éléments de menu spécifiques */
.menu-only-mobile {
  display: none;
}

@media (max-width: 768px) {
  .menu-only-mobile {
    display: block;
  }
}

.BlockPopup__Top .BlockPopup__Event__Date > div {
  font-family: "TTCommons-Bold";
  color: white;
  font-size: 20px;
}

/* Language switcher button */
.lang-switch-btn {
  font-family: "TTCommons-DemiBold";
  height: fit-content;
  border-radius: 25px;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  margin-right: 10px;
}

/* Mobile: background vert avec texte blanc */
@media screen and (max-width: 991px) {
  .lang-switch-btn {
    font-size: 14px;
    line-height: 14px;
    color: #fff;
    background-color: #4b7d8c;
    border: 2px solid #4b7d8c;
  }

  .lang-switch-btn:hover {
    opacity: 0.9;
  }

  .MenuContact {
    margin-right: auto;
  }
}

/* Desktop: bordure verte avec texte vert */
@media screen and (min-width: 992px) {
  .lang-switch-btn {
    font-size: 16px;
    line-height: 16px;
    color: #4b7d8c;
    background-color: transparent;
    border: 2px solid #4b7d8c;
  }

  .lang-switch-btn:hover {
    background-color: #4b7d8c;
    color: #fff;
  }
}

/* Language flag link */
.lang-flag-link {
  font-size: 24px;
  text-decoration: none;
  display: inline-block;
  line-height: 1;
  transition: transform 0.2s ease;
}

.lang-flag-link:hover {
  transform: scale(1.1);
}
.MainHeader--Bar--Wrapper--Main--Menu--Level-0 {
  margin-right: 0 !important;
}

/* Order adjustment for mobile */
@media screen and (max-width: 991px) {
  .MainHeader--Bar--Wrapper {
    display: flex;
  }

  .lang-flag-link {
    order: 10;
    margin-right: 10px;
  }

  .MainHeader--Bar--Wrapper--Mobile--Wrapper--icon {
    order: 11;
  }
}
