/* Small page-specific tweaks that don't warrant their own file yet. */

.error-page h1 {
  margin-bottom: var(--space-2);
}

/* ---------- 404 / 500 error pages ---------- */

.error-page__code {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(4.5rem, 12vw, 7.5rem);
  line-height: 1;
  color: var(--color-primary);
}

.error-page__code--500 {
  color: var(--color-error-text);
}

.error-page__bar {
  display: inline-block;
  width: 72px;
  height: 4px;
  margin: var(--space-2) 0 var(--space-3) 0;
  background-color: var(--color-accent);
  border-radius: var(--radius-sm);
}

.contact-card a {
  text-decoration: none;
  font-weight: 600;
}

.contact-card a:hover {
  text-decoration: underline;
}

