/* stylelint-disable */
.wp-block-page-anchors {
  overflow: hidden;
}

.wp-block-page-anchors__container {
  margin: 0 auto;
  max-width: var(--width-max-width-padded);
  padding-left: var(--spacing-body);
  padding-right: var(--spacing-body);
  width: 100%;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xxl);
  justify-content: center;
}

.wp-block-page-anchors__content {
  --content-centered-max-width: 1096px;
}

@media (max-width: 1022.98px) {
  .wp-block-page-anchors__tab-anchors {
    width: calc(100% - var(--spacing-body) * 2 * -1);
  }
}
.wp-block-page-anchors__tab-anchors.sticky {
  animation: slide-down 0.3s ease-out;
  position: fixed;
  top: var(--spacing-xs);
  transition: var(--transition-all);
  z-index: 999;
}

@media (max-width: 1022.98px) {
  .wp-block-page-anchors__tab-anchors.sticky {
    top: 0;
    width: 100%;
  }
}
body:has(.header--visible) .wp-block-page-anchors__tab-anchors.sticky {
  top: calc(var(--header-height) + var(--spacing-s));
}

@media (max-width: 1022.98px) {
  body:has(.header--visible) .wp-block-page-anchors__tab-anchors.sticky {
    top: var(--header-height);
  }
}
.wp-block-page-anchors__tab-anchors-placeholder {
  width: 100%;
}

@keyframes slide-down {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
