.m-header__layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding-left: 32px;
  padding-right: 32px;
  background-color: #f5f5f4;
}

.m-header__left {
  flex: 0 0 auto;
}

.m-header__middle {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.m-header__right {
  flex: 0 0 auto;
}

.m-header__middle nav#block-mercury-subtheme-navigationprincipale nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.m-header__middle nav#block-mercury-subtheme-navigationprincipale nav ul > li {
  margin: 0;
}

.m-header__middle
  nav#block-mercury-subtheme-navigationprincipale
  nav
  ul
  > li
  > a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-family: "Noto Serif", serif;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.m-header__middle
  nav#block-mercury-subtheme-navigationprincipale
  nav
  ul
  > li
  > a:hover,
.m-header__middle
  nav#block-mercury-subtheme-navigationprincipale
  nav
  ul
  > li
  > a:active,
.m-header__middle
  nav#block-mercury-subtheme-navigationprincipale
  nav
  ul
  > li
  > a:focus,
.m-header__middle
  nav#block-mercury-subtheme-navigationprincipale
  nav
  ul
  > li
  > a:focus-visible,
.m-header__middle
  nav#block-mercury-subtheme-navigationprincipale
  nav
  ul
  > li
  > a.is-active,
.m-header__middle
  nav#block-mercury-subtheme-navigationprincipale
  nav
  ul
  > li.menu-item--active-trail
  > a {
  color: inherit !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

.m-header__middle
  nav#block-mercury-subtheme-navigationprincipale
  nav
  ul
  > li
  > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.m-header__middle
  nav#block-mercury-subtheme-navigationprincipale
  nav
  ul
  > li
  > a:hover::after,
.m-header__middle
  nav#block-mercury-subtheme-navigationprincipale
  nav
  ul
  > li
  > a:focus-visible::after,
.m-header__middle
  nav#block-mercury-subtheme-navigationprincipale
  nav
  ul
  > li
  > a.is-active::after,
.m-header__middle
  nav#block-mercury-subtheme-navigationprincipale
  nav
  ul
  > li.menu-item--active-trail
  > a::after {
  transform: scaleX(1);
}
