/* =========================================================================
   Component — in-page anchor row
   A real <nav> with a list of links, for a page whose sections are linked to
   from elsewhere on the site. Drawn as a row of tabs (U-2282).
   ========================================================================= */

.anchor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.anchor-row a {
  display: inline-flex;
  align-items: center;
  padding: 12px var(--space-md);
  border-bottom: var(--border-w) solid transparent;
  color: var(--doc-ink);
  font-size: var(--text-body);
  line-height: var(--text-body-lh);
  font-weight: 600;
}

/* Since the redesign (U-2282, R8f) the row reads as the SIDES tabs: no chip,
   the line under a link on hover. It leads to sections of one page, so no
   link is ever „active“. */
.anchor-row a:hover {
  border-bottom-color: var(--sd-secondary);
  color: var(--sd-secondary);
  text-decoration: none;
}
