/* Shared blueprint layout for specialist service landing pages and 404 page. */
.subpage .site-header {
  position: sticky;
  top: 0;
}

.page-main {
  position: relative;
  z-index: 2;
}

.page-hero {
  padding: 56px var(--pad) 58px;
  border-bottom: 1px solid #a4c6df;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 26px;
  font-size: .75rem;
  letter-spacing: .04em;
  color: var(--muted);
}

.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.page-hero h1 {
  font-family: var(--type-display);
  font-size: clamp(2.25rem, 4.4vw, 3.75rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.025em;
  margin: 18px 0 22px;
  max-width: 18ch;
  text-wrap: balance;
}

.page-lead {
  font-size: 1.125rem;
  line-height: 1.68;
  color: #d7e6f2;
  max-width: 58ch;
  margin: 0;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 30px;
  margin-top: 32px;
}

.subpage .hero-enquiry {
  position: static;
  margin: 0 0 0 -8px;
}

.page-section {
  padding: 60px var(--pad);
  border-bottom: 1px solid #91b2cb66;
}

.page-section--alt {
  background: #163f66;
}

.page-section h2 {
  font-family: var(--type-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 14px 0 26px;
}

.page-section > p {
  max-width: 66ch;
  color: #d5e3ef;
  line-height: 1.7;
  margin: 0 0 20px;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 36px;
  margin-top: 28px;
}

.page-card {
  border-top: 1px solid #91b2cb88;
  padding-top: 20px;
}

.page-card h3 {
  font-family: var(--type-display);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.35;
  margin: 0 0 10px;
  color: #f3f7fb;
}

.page-card p {
  margin: 0;
  color: #cadce9;
  line-height: 1.65;
}

.page-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 32px;
  padding-left: 20px;
  margin: 22px 0 0;
  max-width: 860px;
  color: #d5e3ef;
}

.page-list li {
  line-height: 1.6;
}

.page-link-grid {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.page-link-grid a {
  display: block;
  height: 100%;
  padding: 18px 20px;
  border: 1px solid #91b2cb77;
  background: #10365b;
  transition: border-color .2s ease, background-color .2s ease;
}

.page-link-grid a:hover {
  border-color: #ffffff;
  background: #0e3051;
}

.page-link-grid strong {
  display: block;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 6px;
}

.page-link-grid span {
  display: block;
  font-size: .9375rem;
  color: #c6dbea;
  line-height: 1.5;
}

.page-contact-bar {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid #91b2cb77;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px 32px;
}

.page-contact-bar .sms-link {
  margin: 0;
}

.page-contact-bar address {
  margin: 0;
  color: #d5e3ef;
}

.page-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 36px 8%;
  align-items: start;
}

@media (max-width: 760px) {
  .page-hero {
    padding: 36px var(--pad) 42px;
  }

  .page-section {
    padding: 44px var(--pad);
  }

  .page-grid,
  .page-list,
  .page-contact-grid {
    grid-template-columns: 1fr;
  }

  .subpage .hero-enquiry {
    position: static;
    top: auto;
    left: auto;
    margin: 0 0 0 -6px;
  }
}

@media print {
  .page-section,
  .page-section--alt,
  .page-hero {
    background: #ffffff !important;
    color: #123c65 !important;
    border-color: #b7cde0 !important;
  }

  .page-lead,
  .page-section > p,
  .page-card p,
  .page-list,
  .page-contact-bar address {
    color: #2c4e6e !important;
  }

  .page-card h3,
  .page-hero h1,
  .page-section h2 {
    color: #123c65 !important;
  }

  .page-link-grid a {
    background: #ffffff !important;
    border-color: #8baac1 !important;
  }

  .page-link-grid strong,
  .page-link-grid span {
    color: #123c65 !important;
  }
}
