.glossary-wrapper {
  padding-top: 0;
}

.glossary-tablist {
  display: grid;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  gap: 0.25rem;
  list-style: none;
  margin: 0 0 1rem 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .glossary-tablist {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.glossary-tab {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 0.375rem 0.25rem;
  font-weight: 700;
  text-decoration: none;
}

.glossary-tab.is-ghost {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
  text-decoration: none;
}

.glossary-dropdown {
  margin: 0.5rem 0 1.5rem;
}

.glossary-section {
  padding-top: 10px;
  margin-bottom: 2rem;
}

.glossary-item + .glossary-item {
  margin-top: 2.25rem;
}

.glossary-backtop {
  border-bottom: 1px solid #000;
  padding-bottom: 48px;
  margin-top: 4px;
  margin-bottom: 24px;
}

.glossary-search-results,
.glossary-dropdown select {
  background: #fff !important;
  border: 2px solid #003b72 !important;
  border-radius: 20px !important;
  width: 100% !important;
}

.is-active {
  color: rgb(0 59 114 / var(--tw-text-opacity, 1));
  text-decoration: underline;
}

.glossary-highlight {
  background: #fff2a8;
  padding: 0 0.1em;
  border-radius: 2px;
}

.link-underline {
  text-decoration: underline;
  text-underline-offset: 2px;
}