:root {
  --green: #4a946e;
  --faint: #73857b;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  padding: 10px 14px;
  border-radius: 9px;
  background: #eef3f0;
  color: #0a0d0c;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.15s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #b7f0ca !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 5px #0a0d0c !important;
}

article :where(p, li) a:not(.btn),
.byline a,
.note a,
.answer a,
.media-description a {
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.18em;
}

.media-description {
  margin: -8px 0 24px;
  padding: 14px 16px;
  border-left: 3px solid var(--green-light, #77c594);
  border-radius: 0 10px 10px 0;
  background: rgba(119, 197, 148, 0.08);
}

.media-description summary {
  cursor: pointer;
  font-weight: 700;
}

.media-description p {
  margin: 10px 0 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
