/* Guided Prana page-header and newsletter restoration — 2026-10-11 */

/* Desktop/tablet interior-page header: cream navigation band above the banner. */
@media (min-width: 851px) {
  body.gp-therapy-coastal > header.subpage-header,
  body.gp-functional-coastal > header.subpage-header,
  body.gp-kap-coastal > header.subpage-header,
  body.gp-blog-coastal > header.subpage-header,
  body.gp-work-with-us-coastal > header.subpage-header {
    position: relative !important;
    isolation: isolate !important;
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 425px !important;
    min-height: 425px !important;
    max-height: 425px !important;
    margin: 0 !important;
    padding: 7px clamp(22px, 3vw, 46px) 243px !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f4efe7 !important;
    gap: 20px !important;
  }

  body.gp-therapy-coastal > header.subpage-header::before,
  body.gp-functional-coastal > header.subpage-header::before,
  body.gp-kap-coastal > header.subpage-header::before,
  body.gp-blog-coastal > header.subpage-header::before,
  body.gp-work-with-us-coastal > header.subpage-header::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    z-index: -1 !important;
    top: 155px !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
  }

  body.gp-therapy-coastal > header.subpage-header::before,
  body.gp-work-with-us-coastal > header.subpage-header::before {
    background-image: url("assets/coastal-therapy-banner.jpg") !important;
  }

  body.gp-functional-coastal > header.subpage-header::before {
    background-image: url("assets/coastal-functional-banner.jpg") !important;
  }

  body.gp-kap-coastal > header.subpage-header::before {
    background-image: url("assets/coastal-kap-banner.jpg") !important;
  }

  body.gp-blog-coastal > header.subpage-header::before {
    background-image: url("assets/blog-stream-header.jpg") !important;
  }

  body.gp-therapy-coastal > header.subpage-header::after,
  body.gp-functional-coastal > header.subpage-header::after,
  body.gp-kap-coastal > header.subpage-header::after,
  body.gp-blog-coastal > header.subpage-header::after,
  body.gp-work-with-us-coastal > header.subpage-header::after {
    display: none !important;
    content: none !important;
  }

  body > header.subpage-header > a {
    z-index: 2 !important;
    display: block !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  body > header.subpage-header .logo {
    display: block !important;
    width: 160px !important;
    max-width: 160px !important;
    height: 160px !important;
    margin: 0 !important;
    object-fit: contain !important;
    filter: none !important;
  }

  body > header.subpage-header nav {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex: 1 1 auto !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    align-self: center !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 8px 17px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  body > header.subpage-header nav a {
    color: #247f79 !important;
    background: transparent !important;
    font-size: clamp(11px, .94vw, 14px) !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    text-shadow: none !important;
  }
}

@media (min-width: 851px) {
  body.gp-therapy-coastal > header.subpage-header.therapy-hero,
  body.gp-functional-coastal > header.subpage-header.therapy-hero,
  body.gp-kap-coastal > header.subpage-header.kap-page-hero,
  body.gp-blog-coastal > header.subpage-header.therapy-hero,
  body.gp-work-with-us-coastal > header.subpage-header.therapy-hero {
    padding: 7px clamp(22px, 3vw, 46px) 243px !important;
  }

  body.gp-therapy-coastal > header.subpage-header.therapy-hero .logo,
  body.gp-functional-coastal > header.subpage-header.therapy-hero .logo,
  body.gp-kap-coastal > header.subpage-header.kap-page-hero .logo,
  body.gp-blog-coastal > header.subpage-header.therapy-hero .logo,
  body.gp-work-with-us-coastal > header.subpage-header.therapy-hero .logo {
    width: 160px !important;
    max-width: 160px !important;
    height: 160px !important;
  }
}

/* Enlarged desktop brand/navigation treatment requested 2026-10-11. */
@media (min-width: 851px) {
  body.gp-therapy-coastal > header.subpage-header.therapy-hero,
  body.gp-functional-coastal > header.subpage-header.therapy-hero,
  body.gp-kap-coastal > header.subpage-header.kap-page-hero,
  body.gp-blog-coastal > header.subpage-header.therapy-hero,
  body.gp-work-with-us-coastal > header.subpage-header.therapy-hero {
    padding: 7px clamp(22px, 3vw, 46px) 243px !important;
  }

  body.gp-therapy-coastal > header.subpage-header.therapy-hero::before,
  body.gp-functional-coastal > header.subpage-header.therapy-hero::before,
  body.gp-kap-coastal > header.subpage-header.kap-page-hero::before,
  body.gp-blog-coastal > header.subpage-header.therapy-hero::before,
  body.gp-work-with-us-coastal > header.subpage-header.therapy-hero::before {
    top: 175px !important;
  }

  body.gp-therapy-coastal > header.subpage-header.therapy-hero .logo,
  body.gp-functional-coastal > header.subpage-header.therapy-hero .logo,
  body.gp-kap-coastal > header.subpage-header.kap-page-hero .logo,
  body.gp-blog-coastal > header.subpage-header.therapy-hero .logo,
  body.gp-work-with-us-coastal > header.subpage-header.therapy-hero .logo {
    width: 160px !important;
    max-width: 160px !important;
    height: 160px !important;
  }

  body.gp-therapy-coastal > header.subpage-header.therapy-hero nav,
  body.gp-functional-coastal > header.subpage-header.therapy-hero nav,
  body.gp-kap-coastal > header.subpage-header.kap-page-hero nav,
  body.gp-blog-coastal > header.subpage-header.therapy-hero nav,
  body.gp-work-with-us-coastal > header.subpage-header.therapy-hero nav {
    gap: 9px 18px !important;
  }

  body.gp-therapy-coastal > header.subpage-header.therapy-hero nav a,
  body.gp-functional-coastal > header.subpage-header.therapy-hero nav a,
  body.gp-kap-coastal > header.subpage-header.kap-page-hero nav a,
  body.gp-blog-coastal > header.subpage-header.therapy-hero nav a,
  body.gp-work-with-us-coastal > header.subpage-header.therapy-hero nav a {
    font-size: clamp(13px, 1.03vw, 15px) !important;
  }

  body.gp-functional-coastal > header.subpage-header.therapy-hero nav {
    transform: translateY(-8px) !important;
  }

  body.gp-kap-coastal > header.subpage-header.kap-page-hero nav {
    transform: translateY(10px) !important;
  }

  body.gp-therapy-coastal > header.subpage-header.therapy-hero nav,
  body.gp-blog-coastal > header.subpage-header.therapy-hero nav,
  body.gp-work-with-us-coastal > header.subpage-header.therapy-hero nav {
    transform: none !important;
  }
}

/* This block intentionally stays last so legacy page styles cannot shrink the header. */
@media (min-width: 701px) {
  body.gp-therapy-coastal > header.subpage-header.therapy-hero,
  body.gp-functional-coastal > header.subpage-header.therapy-hero,
  body.gp-kap-coastal > header.subpage-header.kap-page-hero,
  body.gp-blog-coastal > header.subpage-header.therapy-hero,
  body.gp-work-with-us-coastal > header.subpage-header.therapy-hero {
    height: 455px !important;
    min-height: 455px !important;
    max-height: 455px !important;
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px clamp(24px, 3.25vw, 52px) 237px !important;
    background: #f4efe7 !important;
  }

  body.gp-therapy-coastal > header.subpage-header.therapy-hero::before,
  body.gp-functional-coastal > header.subpage-header.therapy-hero::before,
  body.gp-kap-coastal > header.subpage-header.kap-page-hero::before,
  body.gp-blog-coastal > header.subpage-header.therapy-hero::before,
  body.gp-work-with-us-coastal > header.subpage-header.therapy-hero::before {
    top: 218px !important;
  }

  body.gp-therapy-coastal > header.subpage-header.therapy-hero .logo,
  body.gp-functional-coastal > header.subpage-header.therapy-hero .logo,
  body.gp-kap-coastal > header.subpage-header.kap-page-hero .logo,
  body.gp-blog-coastal > header.subpage-header.therapy-hero .logo,
  body.gp-work-with-us-coastal > header.subpage-header.therapy-hero .logo {
    width: 200px !important;
    max-width: 200px !important;
    height: 200px !important;
    margin: 0 !important;
  }

  body.gp-therapy-coastal > header.subpage-header.therapy-hero nav,
  body.gp-functional-coastal > header.subpage-header.therapy-hero nav,
  body.gp-kap-coastal > header.subpage-header.kap-page-hero nav,
  body.gp-blog-coastal > header.subpage-header.therapy-hero nav,
  body.gp-work-with-us-coastal > header.subpage-header.therapy-hero nav {
    align-self: center !important;
    flex: 1 1 auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-content: flex-end !important;
    gap: 10px 20px !important;
  }

  body.gp-therapy-coastal > header.subpage-header.therapy-hero nav a,
  body.gp-functional-coastal > header.subpage-header.therapy-hero nav a,
  body.gp-kap-coastal > header.subpage-header.kap-page-hero nav a,
  body.gp-blog-coastal > header.subpage-header.therapy-hero nav a,
  body.gp-work-with-us-coastal > header.subpage-header.therapy-hero nav a {
    font-size: clamp(14px, 1.1vw, 16px) !important;
  }

  body.gp-functional-coastal > header.subpage-header.therapy-hero nav {
    transform: translateY(-10px) !important;
  }

  body.gp-kap-coastal > header.subpage-header.kap-page-hero nav {
    transform: translateY(14px) !important;
  }

  body.gp-therapy-coastal > header.subpage-header.therapy-hero nav,
  body.gp-blog-coastal > header.subpage-header.therapy-hero nav,
  body.gp-work-with-us-coastal > header.subpage-header.therapy-hero nav {
    transform: none !important;
  }
}

/* Remove the actual embedded MailerLite panel border on Home and KAP. */
body:not([class]) > section.gp-newsletter .gp-newsletter-card,
body.gp-kap-coastal > section.gp-newsletter .gp-newsletter-card,
body:not([class]) > section.gp-newsletter .ml-form-embedContainer,
body:not([class]) > section.gp-newsletter .ml-form-embedWrapper,
body:not([class]) > section.gp-newsletter .ml-form-embedBody,
body:not([class]) > section.gp-newsletter .ml-form-successBody,
body:not([class]) > section.gp-newsletter .ml-form-embedContent,
body.gp-kap-coastal > section.gp-newsletter .ml-form-embedContainer,
body.gp-kap-coastal > section.gp-newsletter .ml-form-embedWrapper,
body.gp-kap-coastal > section.gp-newsletter .ml-form-embedBody,
body.gp-kap-coastal > section.gp-newsletter .ml-form-successBody,
body.gp-kap-coastal > section.gp-newsletter .ml-form-embedContent {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  background: transparent !important;
}

@media (max-width: 850px) {
  body.gp-therapy-coastal > header.subpage-header.therapy-hero,
  body.gp-functional-coastal > header.subpage-header.therapy-hero,
  body.gp-kap-coastal > header.subpage-header.kap-page-hero,
  body.gp-blog-coastal > header.subpage-header.therapy-hero,
  body.gp-work-with-us-coastal > header.subpage-header.therapy-hero {
    height: 400px !important;
    min-height: 400px !important;
    max-height: 400px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 5px 12px 252px !important;
    background: #f4efe7 !important;
  }

  body.gp-therapy-coastal > header.subpage-header.therapy-hero .logo,
  body.gp-functional-coastal > header.subpage-header.therapy-hero .logo,
  body.gp-kap-coastal > header.subpage-header.kap-page-hero .logo,
  body.gp-blog-coastal > header.subpage-header.therapy-hero .logo,
  body.gp-work-with-us-coastal > header.subpage-header.therapy-hero .logo {
    width: 88px !important;
    max-width: 88px !important;
    height: 88px !important;
    margin: 0 !important;
  }

  body.gp-therapy-coastal > header.subpage-header.therapy-hero nav,
  body.gp-functional-coastal > header.subpage-header.therapy-hero nav,
  body.gp-kap-coastal > header.subpage-header.kap-page-hero nav,
  body.gp-blog-coastal > header.subpage-header.therapy-hero nav,
  body.gp-work-with-us-coastal > header.subpage-header.therapy-hero nav {
    align-self: center !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-content: center !important;
  }
}

/* Mobile keeps the same cream brand area and a compact navigation block. */
@media (max-width: 850px) {
  body.gp-therapy-coastal > header.subpage-header,
  body.gp-functional-coastal > header.subpage-header,
  body.gp-kap-coastal > header.subpage-header,
  body.gp-blog-coastal > header.subpage-header,
  body.gp-work-with-us-coastal > header.subpage-header {
    position: relative !important;
    isolation: isolate !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 400px !important;
    min-height: 400px !important;
    max-height: 400px !important;
    margin: 0 !important;
    padding: 5px 12px 252px !important;
    gap: 2px !important;
    overflow: hidden !important;
    background: #f4efe7 !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  body.gp-therapy-coastal > header.subpage-header::before,
  body.gp-functional-coastal > header.subpage-header::before,
  body.gp-kap-coastal > header.subpage-header::before,
  body.gp-blog-coastal > header.subpage-header::before,
  body.gp-work-with-us-coastal > header.subpage-header::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    z-index: -1 !important;
    top: 145px !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
  }

  body.gp-therapy-coastal > header.subpage-header::before,
  body.gp-work-with-us-coastal > header.subpage-header::before {
    background-image: url("assets/coastal-therapy-banner.jpg") !important;
  }

  body.gp-functional-coastal > header.subpage-header::before {
    background-image: url("assets/coastal-functional-banner.jpg") !important;
  }

  body.gp-kap-coastal > header.subpage-header::before {
    background-image: url("assets/coastal-kap-banner.jpg") !important;
  }

  body.gp-blog-coastal > header.subpage-header::before {
    background-image: url("assets/blog-stream-header.jpg") !important;
  }

  body > header.subpage-header::after {
    display: none !important;
    content: none !important;
  }

  body > header.subpage-header .logo {
    display: block !important;
    width: 88px !important;
    max-width: 88px !important;
    height: 88px !important;
    margin: 0 !important;
    object-fit: contain !important;
    filter: none !important;
  }

  body > header.subpage-header nav {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 5px 10px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body > header.subpage-header nav a {
    color: #247f79 !important;
    background: transparent !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    text-shadow: none !important;
  }
}

/* Keep the complete Functional Mental Health pricing block visible and aligned. */
body.gp-functional-coastal .gp-functional-pricing-cards-v2 {
  display: block !important;
}

body.gp-functional-coastal .gp-functional-pricing-cards-v2 .gp-fp-grid {
  display: grid !important;
}

/* Match all requested newsletter blocks to the seamless Functional MH treatment. */
body.gp-home-nav-refresh > section.gp-newsletter,
body:not([class]) > section.gp-newsletter,
body.gp-therapy-coastal > section.gp-newsletter,
body.gp-kap-coastal > section.gp-newsletter,
body.gp-blog-coastal > section.gp-newsletter,
body.gp-work-with-us-coastal > section.gp-newsletter,
body.gp-functional-coastal > section.gp-newsletter {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 48px clamp(20px, 5vw, 76px) !important;
  background: #f4efe7 !important;
}

body > section.gp-newsletter > .gp-newsletter-card {
  display: block !important;
  width: min(100%, 900px) !important;
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body > section.gp-newsletter .ml-embedded,
body > section.gp-newsletter .ml-form-embedContainer,
body > section.gp-newsletter .ml-form-embedWrapper,
body > section.gp-newsletter .ml-form-embedBody,
body > section.gp-newsletter .ml-form-successBody,
body > section.gp-newsletter .ml-form-embedContent {
  width: 100% !important;
  max-width: none !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body > section.gp-newsletter .ml-form-embedBody {
  padding: 0 !important;
}

body > section.gp-newsletter .ml-form-fieldRow input {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
}

body > section.gp-newsletter .ml-form-embedSubmit button {
  width: 100% !important;
  background: #248780 !important;
  border-radius: 5px !important;
}

@media (max-width: 650px) {
  body > section.gp-newsletter {
    padding: 34px 20px !important;
  }
}

/* Final specificity guard against older page-level header rules. */
@media (min-width: 701px) {
  body.gp-therapy-coastal > header.subpage-header.therapy-hero,
  body.gp-functional-coastal > header.subpage-header.therapy-hero,
  body.gp-kap-coastal > header.subpage-header.kap-page-hero,
  body.gp-blog-coastal > header.subpage-header.therapy-hero,
  body.gp-work-with-us-coastal > header.subpage-header.therapy-hero {
    height: 455px !important;
    min-height: 455px !important;
    max-height: 455px !important;
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px clamp(24px, 3.25vw, 52px) 237px !important;
    background: #f4efe7 !important;
  }

  body.gp-therapy-coastal > header.subpage-header.therapy-hero .logo,
  body.gp-functional-coastal > header.subpage-header.therapy-hero .logo,
  body.gp-kap-coastal > header.subpage-header.kap-page-hero .logo,
  body.gp-blog-coastal > header.subpage-header.therapy-hero .logo,
  body.gp-work-with-us-coastal > header.subpage-header.therapy-hero .logo {
    width: 200px !important;
    max-width: 200px !important;
    height: 200px !important;
    margin: 0 !important;
  }

  body.gp-therapy-coastal > header.subpage-header.therapy-hero nav,
  body.gp-functional-coastal > header.subpage-header.therapy-hero nav,
  body.gp-kap-coastal > header.subpage-header.kap-page-hero nav,
  body.gp-blog-coastal > header.subpage-header.therapy-hero nav,
  body.gp-work-with-us-coastal > header.subpage-header.therapy-hero nav {
    align-self: center !important;
    flex: 1 1 auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-content: flex-end !important;
    gap: 10px 20px !important;
  }

  body.gp-therapy-coastal > header.subpage-header.therapy-hero::before,
  body.gp-functional-coastal > header.subpage-header.therapy-hero::before,
  body.gp-kap-coastal > header.subpage-header.kap-page-hero::before,
  body.gp-blog-coastal > header.subpage-header.therapy-hero::before,
  body.gp-work-with-us-coastal > header.subpage-header.therapy-hero::before {
    top: 218px !important;
  }

  body.gp-therapy-coastal > header.subpage-header.therapy-hero nav a,
  body.gp-functional-coastal > header.subpage-header.therapy-hero nav a,
  body.gp-kap-coastal > header.subpage-header.kap-page-hero nav a,
  body.gp-blog-coastal > header.subpage-header.therapy-hero nav a,
  body.gp-work-with-us-coastal > header.subpage-header.therapy-hero nav a {
    font-size: clamp(14px, 1.1vw, 16px) !important;
  }

  body.gp-functional-coastal > header.subpage-header.therapy-hero nav {
    transform: translateY(-10px) !important;
  }

  body.gp-kap-coastal > header.subpage-header.kap-page-hero nav {
    transform: translateY(14px) !important;
  }

  body.gp-therapy-coastal > header.subpage-header.therapy-hero nav,
  body.gp-blog-coastal > header.subpage-header.therapy-hero nav,
  body.gp-work-with-us-coastal > header.subpage-header.therapy-hero nav {
    transform: none !important;
  }
}
