/* Persistent desktop article navigation with top and bottom shortcuts. */
@media (min-width: 981px) {
  .article-reading-layout {
    align-items: stretch;
  }

  .article-section-nav {
    position: sticky !important;
    top: calc(var(--header, 74px) + 18px) !important;
    align-self: start;
    max-height: calc(100vh - var(--header, 74px) - 36px);
  }
}

.article-section-nav-actions {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(212, 175, 106, .3);
  background: #090909;
}

.article-section-nav .article-section-nav-actions a {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border: 0;
  color: #D4AF6A;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}

.article-section-nav .article-section-nav-actions a + a {
  border-left: 1px solid rgba(212, 175, 106, .3);
}

.article-section-nav .article-section-nav-actions a:hover,
.article-section-nav .article-section-nav-actions a:focus-visible {
  border-left-color: rgba(212, 175, 106, .3);
  background: #050505;
  color: #f5f1e8;
}

.article-bottom-anchor {
  display: block;
  width: 1px;
  height: 1px;
  scroll-margin-top: calc(var(--header, 74px) + 24px);
}

@media (max-width: 980px) {
  .article-section-nav-actions {
    display: flex;
    border-top: 0;
    border-left: 1px solid rgba(212, 175, 106, .3);
  }

  .article-section-nav .article-section-nav-actions a {
    min-width: 104px;
  }
}
