@charset "UTF-8";
/**
 * @file
 * Anchor navigation (subpage) – tab style with wrapping.
 */
/* Wrapper: sticky below the header */
.anchor-subpage {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  /* set to header height if the header is sticky */
  z-index: 20;
  background: #fff; }

.anchor-nav {
  padding: 4rem 0; }

.anchor-nav__list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(10rem, 1fr))[auto-fit];
      grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  /* collapse empty tracks so items span the full width */
  margin: 0;
  padding: 0;
  list-style: none; }

.anchor-nav__item {
  margin: 0;
  border-bottom: 4px solid #e3eaf4; }

.anchor-nav__link {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 100%;
  min-height: 4.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  color: #6b7686;
  transition: background-color 0.2s, color 0.2s; }

/* Hover and active (current section) state */
.anchor-nav__link:hover {
  background: #e3eaf4;
  color: #3a83c4; }

/* Tablet & mobile */
@media (max-width: 1023px) {
  .anchor-nav {
    padding: 1.5rem 0 0; }
  .anchor-nav__item {
    min-width: 8rem; }
  .anchor-nav__link {
    min-height: 3.5rem;
    font-size: 0.875rem; } }

.anchor-nav__link {
  white-space: nowrap;
  /* only break where <br> is placed */ }

/* Smooth scrolling and offset so targets are not hidden under the header */
html {
  scroll-behavior: smooth; }

[id] {
  scroll-margin-top: 140px;
  /* header height + anchor nav height */ }
