.button svg,
.chapter-link svg,
.icon-text-link svg,
.back-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button,
.chapter-link,
.icon-text-link,
.back-link {
  min-width: 0;
}

.button span,
.chapter-link span,
.icon-text-link span,
.back-link {
  min-width: 0;
  overflow-wrap: anywhere;
}

:where(h1, h2, h3, summary strong) {
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.icon-action {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  background: transparent;
  color: var(--forest);
  text-decoration: none;
}

.icon-action svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.icon-action.primary-link {
  background: var(--forest);
  color: #fff;
}

.icon-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--forest);
  font-weight: 900;
  text-decoration: none;
}

.icon-text-link:hover,
.icon-text-link:focus-visible,
.icon-action:hover,
.icon-action:focus-visible {
  color: var(--copper, var(--gold));
  outline: none;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.back-link span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  line-height: 1;
}
