/* Homepage-only originals recovered from the live site's lazy-loaded backgrounds.
   Keep the export's positioning, overlays, dimensions, and layout unchanged.
   Use local full-size originals with cover rather than missing generated sizes. */

.wLayoutHome .homepage-photo-loaded:has(> [data-background-prefix="2380-gggkkii0aa79b9c32a8a3fe101711a8e082bbd0dc347d43a854ef8a1e42b161"]) {
  background-image: url("cached-images/2380-gggkkii0aa79b9c32a8a3fe101711a8e082bbd0dc347d43a854ef8a1e42b1610o.jpg") !important;
  background-size: cover !important;
}

.wLayoutHome .homepage-photo-loaded:has(> [data-background-prefix="2382-gggkkiid0250cfba2a39028f89b5e0d46ae70a60c446c82c80242d1e1ced32b"]) {
  background-image: url("cached-images/2382-gggkkiid0250cfba2a39028f89b5e0d46ae70a60c446c82c80242d1e1ced32b0o.jpg") !important;
  background-size: cover !important;
}

.wLayoutHome .homepage-photo-loaded:has(> [data-background-prefix="1530-gggkk15be1398c54fb8ceb24ca105035229619a808746c5e7d4a68c8eff5dfb5fd0a9"]) {
  background-image: url("cached-images/1530-gggkk15be1398c54fb8ceb24ca105035229619a808746c5e7d4a68c8eff5dfb5fd0a90o.jpg") !important;
  background-size: cover !important;
}

.wLayoutHome .homepage-photo-loaded:has(> [data-background-prefix="2291-ggg0dfekii6d795ff094503958d02c7dab49bfa78c0311d4290eda4203d5e47c78"]) {
  background-image: url("cached-images/2291-ggg0dfekii6d795ff094503958d02c7dab49bfa78c0311d4290eda4203d5e47c780o.jpg") !important;
  background-size: cover !important;
}

.wLayoutHome .homepage-photo-loaded:has(> [data-background-prefix="263-gggkkiif8b008a0bafe4f8c6bbc5b76ad8c655b04af425993895b48b7bb85fa"]) {
  background-image: linear-gradient(rgba(203,238,253,0.7), rgba(203,238,253,0.7)), url("cached-images/263-gggkkiif8b008a0bafe4f8c6bbc5b76ad8c655b04af425993895b48b7bb85fa0o.jpg") !important;
  background-size: cover !important;
}

.wLayoutHome .homepage-photo-loaded:has(> [data-background-prefix="2373-g0020g0b4bkiib14f24c239c063bcfa2ae434dd833aded76e3eebe0b0ea4f2fe290c7"]) {
  background-image: linear-gradient(rgba(180,255,238,0.7), rgba(180,255,238,0.7)), url("cached-images/2373-g0020g0b4bkiib14f24c239c063bcfa2ae434dd833aded76e3eebe0b0ea4f2fe290c70o.jpg") !important;
  background-size: cover !important;
}

.wLayoutHome .homepage-photo-loaded:has(> [data-background-prefix="57-g07180a111ff81cff14b70cafa845e089be793a5362b128b57dc078a1200281fc8aa5c830571404c1"]) {
  background-image: linear-gradient(rgba(203,238,253,0.7), rgba(203,238,253,0.7)), url("cached-images/57-g07180a111ff81cff14b70cafa845e089be793a5362b128b57dc078a1200281fc8aa5c830571404c10o.jpg") !important;
  background-size: cover !important;
}

.wLayoutHome .flowerBack:not(.homepage-photo-loaded):has(> [data-background-prefix="57-g07180a111ff81cff14b70cafa845e089be793a5362b128b57dc078a1200281fc8aa5c830571404c1"]) {
  background-image: none !important;
}

.wLayoutHome .homepage-photo-loaded:has(> [data-background-prefix="2394-gggkkii0fef30fa5e8301301448d7f66ca8c70ad740401f5f5c25ca3c056e3b"]) {
  background-image: linear-gradient(rgba(180,255,238,0.7), rgba(180,255,238,0.7)), url("cached-images/2394-gggkkii0fef30fa5e8301301448d7f66ca8c70ad740401f5f5c25ca3c056e3b0o.jpg") !important;
  background-size: cover !important;
}

/* Keep the leaf banner photographic from first paint, using the same source. */
#banner {
  background-image: linear-gradient(rgba(83,172,180,0.7), rgba(83,172,180,0.7)), url("cached-images/867-gggkkiie3a6848433cc73143a05dbe3c2ff951a3897de84a7564c0d076209920o.jpg"), url("cached-images/867-gggkkiie3a6848433cc73143a05dbe3c2ff951a3897de84a7564c0d076209920o-placeholder.webp") !important;
  background-position: 50% 50%, 50% 50%, 50% 50% !important;
  background-size: cover, cover, cover !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat, no-repeat, no-repeat !important;
}

/* Match the responsive script's scroll attachment on touch devices from first paint. */
@media (pointer: coarse) {
  #banner {
    background-attachment: scroll !important;
  }
}

/* Reserve the homepage header's final geometry before responsive images decode. */
.wLayoutHome #headerContent {
  min-height: 158px;
}

.wLayoutHome #headerContent .w-grid-area-logo > .wCentred {
  width: 125px;
  height: 128px;
}

.wLayoutHome #headerContent .w-grid-area-logo img {
  display: block;
  width: 125px;
  height: 128px;
  object-fit: contain;
}

@media screen and (min-width: 896px) {
  /* Keep the menu's right edge and item boxes stable during the Open Sans swap. */
  .wLayoutHome #headerContent .w-grid-area-navR .w-menu > li {
    box-sizing: border-box;
  }

  .wLayoutHome #headerContent .w-grid-area-navR .w-menu > li:nth-child(1) {
    width: 87px;
  }

  .wLayoutHome #headerContent .w-grid-area-navR .w-menu > li:nth-child(2) {
    width: 130.3px;
  }

  .wLayoutHome #headerContent .w-grid-area-navR .w-menu > li:nth-child(3) {
    width: 144.7px;
  }

  .wLayoutHome #headerContent .w-grid-area-navR .w-menu > li:nth-child(4) {
    width: 128.9px;
  }

  .wLayoutHome #headerContent .w-grid-area-navR .w-menu > li:nth-child(5) {
    width: 86.7px;
  }

  .wLayoutHome #headerContent .w-grid-area-navR .w-menu > li > [role="menuitem"] {
    box-sizing: border-box;
    width: 100%;
    text-align: right;
  }
}

@media screen and (max-width: 895px) {
  .wLayoutHome .bannerContent {
    padding-top: 140px;
    padding-bottom: 36px;
  }

  .wLayoutHome #headerContent {
    min-height: 195px;
    padding: 8px 20px 12px !important;
  }

  .wLayoutHome #headerContent .w-grid-area-logo > .wCentred,
  .wLayoutHome #headerContent .w-grid-area-logo img {
    width: 110px;
    height: 112.2px;
  }

  .wLayoutHome #headerContent .contactGrid {
    grid-template-columns: minmax(0, 1fr) 44px 44px 44px 50px 44px minmax(0, 1fr);
  }

  .wLayoutHome #headerContent .contactGrid .w-grid-area-headerIcon1 > .wCentred,
  .wLayoutHome #headerContent .contactGrid .w-grid-area-headerIcon2 > .wCentred,
  .wLayoutHome #headerContent .contactGrid .w-grid-area-headerIcon3 > .wCentred,
  .wLayoutHome #headerContent .contactGrid .w-grid-area-headerIcon4 > .wCentred {
    width: 44px;
    max-width: 44px;
    height: 44px;
  }

  .wLayoutHome #headerContent .contactGrid .w-grid-area-headerIcon1 a,
  .wLayoutHome #headerContent .contactGrid .w-grid-area-headerIcon2 a,
  .wLayoutHome #headerContent .contactGrid .w-grid-area-headerIcon3 a,
  .wLayoutHome #headerContent .contactGrid .w-grid-area-headerIcon4 a {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
  }

  .wLayoutHome #headerContent .contactGrid .w-grid-area-headerIcon1 img,
  .wLayoutHome #headerContent .contactGrid .w-grid-area-headerIcon2 img,
  .wLayoutHome #headerContent .contactGrid .w-grid-area-headerIcon3 img,
  .wLayoutHome #headerContent .contactGrid .w-grid-area-headerIcon4 img {
    width: 30px;
    height: 30px;
  }
}

@media screen and (max-width: 259px) {
  .wLayoutHome #headerContent {
    min-height: 0;
  }

  .wLayoutHome #headerContent .w-grid-area-logo > .wCentred {
    width: min(110px, calc(100vw - 40px));
    height: auto;
    aspect-ratio: 200 / 204;
  }

  .wLayoutHome #headerContent .w-grid-area-logo img {
    width: 100%;
    height: 100%;
  }
}

.homepage-anxiety-callout {
  display: flow-root;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px 36px;
  text-align: center;
}

.homepage-anxiety-callout__title {
  margin: 0 0 16px;
  color: #00293B;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.5rem, 2.1vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
}

.homepage-anxiety-callout .wButtonCentre {
  margin: 0;
}

@media screen and (max-width: 671px) {
  .homepage-anxiety-callout {
    padding: 16px 12px 30px;
  }

  .homepage-anxiety-callout__title {
    margin-bottom: 10px;
    font-size: 1.5rem;
  }

  .wLayoutHome #content .homepage-familiar-heading__trailing-space,
  .wLayoutHome #content .homepage-familiar-mobile-break,
  .wLayoutHome #content .homepage-familiar-spacing {
    display: none !important;
  }
}
