/**
 * page--404.html.twig styling. Scoped under .page-404 so it can't leak into
 * other pages; loaded sitewide via kameliamed/global (negligible size), same
 * as the theme's other small override files (rte.css, d11-dialog.css …).
 */
.page-404 {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  text-align: center;
}
.page-404__code {
  font-size: 140px;
  line-height: 1;
  font-weight: 800;
  color: #d7edf7;
  margin: 0 0 10px;
  user-select: none;
}
.page-404 .h1-wrapper {
  margin: 0 0 16px;
}
.page-404__text {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin: 0 0 32px;
}
.page-404__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 40px;
}
.page-404__nav {
  border-top: 1px solid #e5e5e5;
  padding-top: 24px;
}
.page-404__nav-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #999;
  margin: 0 0 14px;
}
.page-404__nav .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}
.page-404__nav .menu__item {
  margin: 0;
}
.page-404__nav .menu__item i {
  display: none;
}
.page-404__nav .menu__link {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #0791c5;
  border-radius: 20px;
  color: #0791c5;
  text-decoration: none;
  font-size: 14px;
  transition: background-color .15s ease, color .15s ease;
}
.page-404__nav .menu__link:hover {
  background-color: #0791c5;
  color: #fff;
}
@media (max-width: 640px) {
  .page-404__code {
    font-size: 88px;
  }
}
