.anchor-sections {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  position: relative;
}

.anchor-sections-wrapper {
  width: 100%;
}

.anchor-sections-navigation {
  max-width: 260px;
  width: 30%;
  flex-shrink: 0;
  position: sticky;
  top: 50px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.anchor-sections-navigation > a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 8px;
  border: 1px solid transparent;
  transition: all 0.2s;
  text-decoration: none;
}

.anchor-sections-navigation > a > svg {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  fill: var(--wp--preset--color--primary);
}

.anchor-sections-navigation a.is-active,
.anchor-sections-navigation a:hover {
  padding: 8px;
  background: var(--wp--preset--color--bleu-clair);
  border-radius: 8px;
  border: 1px solid var(--wp--preset--color--bleu-ciel);
}

@media (max-width: 880px) {
  .anchor-sections {
    flex-direction: column;
  }

  .anchor-sections-navigation {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 100%;
    width: 100%;
    top: 0;
  }
}
