/* Journal theme chip on alphabet term pages. Scoped so journal header styles stay untouched. */
.abc-term .abc-hero .abc-hero__bar:has(+ .abc-jr-themes) {
  margin-bottom: 16px;
}

.abc-term .abc-hero .abc-jr-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.abc-term .abc-hero .abc-jr-themes > li {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.abc-term .abc-hero .abc-jr-themes > li::before,
.abc-term .abc-hero .abc-jr-themes > li::marker {
  content: none !important;
  display: none !important;
}

.abc-term .abc-hero a.abc-jr-theme,
.abc-term .abc-hero a.abc-jr-theme:visited {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: 100%;
  margin: 0 !important;
  box-sizing: border-box;
  background: transparent !important;
  color: #FF70B8 !important;
  border: 1px solid #FF70B8 !important;
  border-radius: 999px !important;
  padding: 7px 14px !important;
  font-family: "IBM Plex Sans", sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  font-style: normal !important;
  letter-spacing: 0.04em !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.abc-term .abc-hero a.abc-jr-theme:hover,
.abc-term .abc-hero a.abc-jr-theme:focus-visible {
  background: #FF70B8 !important;
  color: #fff !important;
  border-color: #FF70B8 !important;
  text-decoration: none !important;
}
