/* Menu des langues */
.wp-block-polylang-language-switcher {
  list-style-type: none;
  padding: 0;

  & li {
    padding: 0.5rem;
  }
  & img {
    transform: scale(1.25);
  }
}

header .btn-and-nav {
  gap: 1rem !important;
}
.my-second-lign {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.home .my-second-lign {
  display: none !important;
}

.my-mobile-language-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  place-content: center;
  & li {
    display: flex;
    justify-content: center;
  }
}

/* Header & Footer*/
.carte-vol {
  & div.has-link-color {
    margin-top: auto !important;
  }

  & > div > div {
    display: flex;
    flex-direction: column;
    flex: 1;
  }
}

.entry-content,
.page .entry.wp-block-post-content {
  margin-top: 0;
}

.current-menu-item a {
  border-bottom: solid var(--wp--preset--color--u-light-1, white) 3px;
}

nav a {
  transition: all ease-in-out 0.3s;

  &:hover {
    color: #afc8e4 !important;
  }
}

.hide-mobile {
  display: none !important;
}
.show-mobile {
  display: flex !important;
}

footer .wp-block-group {
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 1024px) {
  footer .wp-block-group {
    flex-direction: row;
  }
  .hide-mobile {
    display: flex !important;
  }
  .show-mobile {
    display: none !important;
  }
}
