/* WordPress integration fixes layered over the static template stylesheet. */
body.admin-bar .site-header {
  top: 32px;
}

.site-nav ul,
.site-nav li,
.footer-links ul,
.footer-links li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav .menu,
.footer-links.menu {
  display: contents;
}

.site-nav a {
  text-decoration: none;
}

.language-switcher li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.language-switcher a {
  text-decoration: none;
  text-transform: uppercase;
}

.form-status {
  margin: 14px 0 0;
  color: rgba(16, 32, 58, 0.72);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-status[data-status="success"] {
  color: #117245;
}

.form-status[data-status="error"] {
  color: #b42318;
}

.form-status[data-status="pending"] {
  color: #1b6ca7;
}

.error-page,
.thank-you-page {
  min-height: 72vh;
  display: flex;
  align-items: center;
}

.error-page__inner,
.thank-you-page__inner {
  max-width: 820px;
  text-align: center;
}

.error-page__image {
  display: block;
  width: min(460px, 86vw);
  height: auto;
  margin: 0 auto 28px;
}

.error-page h1,
.thank-you-page h1 {
  margin: 0 auto 16px;
  max-width: 760px;
  font-size: clamp(2.15rem, 5.2vw, 4.35rem);
  line-height: 1.08;
}

.error-page .button,
.thank-you-page .button {
  margin-top: 24px;
}

.thank-you-page__card {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
}

.thank-you-page__card .soft-icon {
  margin: 0 auto 18px;
}

.service-detail-media {
  margin: -1px -1px 24px;
}

.service-detail-media img {
  width: 100%;
  height: auto;
}

.service-detail-content > *:first-child {
  margin-top: 0;
}

.service-detail-content > *:last-child {
  margin-bottom: 0;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}
