body.services-edition .svc-page section[id] {
  scroll-margin-top: var(--svc-anchor-offset, 110px) !important;
}

body.services-edition .svc-page h1 {
  text-wrap: balance;
}

@media (min-width: 981px) {
  body.services-edition .svc-hero-copy {
    align-items: center;
  }

  body.services-edition .svc-page h1 {
    margin-top: 0;
  }
}

body.services-edition .svc-hero-image .svc-expand,
body.services-edition .svc-handover-photo .svc-expand {
  top: 16px;
  bottom: auto;
}

body.services-edition .svc-hero-image figcaption {
  inset: auto 24px 20px;
  font-size: 14px;
}

body.services-edition .svc-lifecycle {
  padding-block: 20px;
  border-bottom: 1px solid #e4dfeb;
}

body.services-edition .svc-lifecycle h2 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: #625577;
}

body.services-edition .svc-life {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 0;
  border: 0;
  padding: 0;
  list-style: none;
}

body.services-edition .svc-life li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  color: #35265c;
  font-size: clamp(15px, 1.3vw, 20px);
  font-weight: 600;
  line-height: 1.4;
}

body.services-edition .svc-life li span {
  color: #7d4a95;
  font-size: 16px;
}

body.services-edition .svc-route-tabs {
  grid-template-rows: auto 1fr;
}

body.services-edition .svc-route-group-label {
  margin: 0;
  border-bottom: 1px solid #ded7e7;
  padding: 12px 18px;
  background: #f2ecf6;
  color: #624175;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

body.services-edition .svc-route-group-label:first-child {
  grid-column: 1 / span 2;
  border-right: 1px solid #ded7e7;
}

body.services-edition .svc-route-tabs button {
  font-family: Manrope, system-ui, sans-serif;
  justify-content: center;
}

body.services-edition .svc-filters button {
  font-family: Manrope, system-ui, sans-serif;
}

body.services-edition .svc-route-tabs button:focus-visible,
body.services-edition .svc-service:focus-visible {
  outline-offset: -4px;
}

body.services-edition .svc-route-visual.svc-route-diagram {
  background: #221c39;
}

body.services-edition .svc-route-diagram img {
  object-fit: contain;
}

body.services-edition .svc-route-visual [data-svc-route-caption] {
  max-width: calc(100% - 44px);
}

body.services-edition .svc-route-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 20px;
  color: #fff;
  text-align: center;
}

body.services-edition .svc-service-group + .svc-service-group {
  margin-top: 35px;
}

body.services-edition .svc-service-group > h3 {
  margin: 0 0 12px;
  color: #563174;
  font-size: clamp(21px, 1.85vw, 32px);
}

body.services-edition .svc-service {
  grid-template-columns: minmax(0, 1fr) 30px;
  padding-left: 12px;
}

body.services-edition .svc-service small,
body.services-edition .svc-filter-status {
  color: #675673;
  font-size: 14px;
}

body.services-edition .svc-page .svc-service h4 {
  margin: 8px 0 9px;
  color: #211952;
  font-size: clamp(21px, 1.7vw, 31px);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

body.services-edition .svc-page .svc-handover-photo {
  aspect-ratio: 4 / 3;
  background: #221c39;
}

body.services-edition .svc-page .svc-handover-photo img {
  object-fit: contain;
}

body.services-edition .svc-page .svc-handover-photo figcaption {
  padding: 12px 16px;
  font-size: 14px;
}

body.services-edition .pond-faq-list > li:not(.is-open) .pond-faq-detail,
body.services-edition .pond-faq-extra:not(.is-open) {
  display: none !important;
}

body.services-edition .pond-faq-list > li.is-open .pond-faq-detail {
  display: block !important;
  max-height: none !important;
  padding: 0 12px 18px 0 !important;
  opacity: 1 !important;
  transform: none !important;
  overflow: visible !important;
}

body.services-edition .pond-faq-list > li {
  opacity: 1 !important;
}

body.services-edition .pond-faq-list > li:not(.is-open) .pond-faq-trigger i {
  transform: none !important;
}

body.services-edition .pond-faq-extra.is-open {
  max-height: none !important;
  overflow: visible !important;
}

body.services-edition .pond-faq-toggle {
  min-height: 44px;
  font-size: 14px;
}

body.services-edition .pond-lead-form :is(input, textarea)::placeholder {
  color: #e5dced !important;
  opacity: 1;
}

body.services-edition .pond-lead-form :is(label > span, .pond-field-hint) {
  color: #eee4f5 !important;
}

body.services-edition .svc-page .pond-lead-form :is(label > span, .pond-field-hint, .pond-form-policy, .pond-lead-status) {
  font-size: 13px;
}

body.services-edition .svc-page .pond-lead-form .pond-call-request {
  font-size: 14px;
}

body.services-edition .svc-page .pond-lead-form :is(input, textarea) {
  font-size: 15px;
}

body.services-edition .svc-page .svc-request-context > span {
  font-size: 12px;
}

body.services-edition .svc-page .svc-request-context > :is(strong, p) {
  font-size: 14px;
}

@media (max-width: 780px) {
  body.services-edition .svc-life {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  body.services-edition .svc-life li {
    justify-content: flex-start;
  }

  body.services-edition .svc-life li span {
    transform: rotate(90deg);
  }

  body.services-edition .svc-route-group-label {
    padding: 10px;
    font-size: 13px;
  }

  body.services-edition .svc-route-tabs button {
    font-size: 16px;
  }

  body.services-edition .svc-filters button {
    font-size: 14px;
  }

  body.services-edition .svc-service,
  body.services-edition .svc-service:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) 30px;
    padding-inline: 4px;
  }

  body.services-edition #sectionRail:not(.is-collapsed) {
    width: min(330px, calc(100vw - 100px)) !important;
    max-width: min(330px, calc(100vw - 100px)) !important;
    padding: 50px 8px 8px !important;
  }

  body.services-edition #sectionRail:not(.is-collapsed) .section-rail-collapse {
    top: 5px !important;
    right: 8px !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
  }

  body.services-edition #sectionRail .section-rail-links-inner {
    max-height: calc(70dvh - 90px);
    overflow: auto;
  }

  body.services-edition #sectionRail.is-collapsed {
    left: auto !important;
    right: 86px !important;
    width: max-content !important;
    max-width: calc(100vw - 100px) !important;
  }

  body.services-edition #sectionRail.is-collapsed .section-rail-links {
    display: none;
  }

  body.services-edition #sectionRail.is-collapsed .section-rail-current {
    width: auto !important;
    padding: 0 12px !important;
  }

  body.services-edition #sectionRail .section-rail-current > :not(.section-rail-current-label) {
    display: none;
  }

  body.services-edition #sectionRail.is-collapsed .section-rail-current-label {
    display: inline !important;
  }

  body.services-edition #sectionRail .section-rail-label {
    font-size: 13px !important;
  }

  body.services-edition #sectionRail :focus-visible {
    outline-offset: -3px;
  }
}
