.generic-error-page .not-found-page__panel {
  box-sizing: border-box;
}

.generic-error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.generic-error-page__home {
  color: var(--color-navy);
  background: var(--color-bg);
}

.generic-error-page__home:hover {
  color: #fff;
  background: var(--color-navy);
}

.generic-error-page__contact {
  margin: 1.5rem 0 0;
  line-height: 1.75;
}

.generic-error-page__contact a {
  display: inline-block;
  min-height: 44px;
  padding: 0.5rem;
  color: var(--color-navy);
  font-weight: 700;
  text-decoration: underline;
}

.generic-error-page a:focus-visible {
  outline: 3px solid var(--color-navy);
  outline-offset: 4px;
}
