/**
 * V2 parallax page overrides — neutralises legacy theme CSS on hero/nav/first viewport.
 * Scoped to body.delamere-v2-design and body.delamere-v2-parallax.
 */

html {
  scroll-behavior: smooth;
  --header-offset: 0px;
}

body.delamere-v2-design {
  margin-top: 0 !important;
  padding-top: 0 !important;
  background: var(--olive-dark, #3d4235);
  overflow-x: clip;
}

body.delamere-v2-design.delamere-help-guide {
  background: var(--white, #fff);
  color: var(--ink, #2f3229);
}

body.delamere-v2-design.delamere-help-guide main#site-content,
body.delamere-v2-design.delamere-help-guide .contentBody {
  background: var(--white, #fff);
}

body.delamere-v2-design .pageBuilder,
body.delamere-v2-design main.main-layout,
body.delamere-v2-design .page-container,
body.delamere-v2-design main#site-content,
body.delamere-v2-design main.room-rates-2026,
body.delamere-v2-design main.new-addiction-template,
body.delamere-v2-design main.addiction-treatment {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Parallax heroes are built to sit under the fixed nav. Every other template
   starts below the solid header, including pages that do not use <main>. */
body.delamere-v2-design:not(.delamere-v2-parallax) {
  padding-top: var(--header-h) !important;
}

/* Desktop: hero copy, reviews and anchors share the content column. The clinic photo stays full bleed. */
@media (min-width: 1024px) {
  body.delamere-v2-parallax .hero__content {
    margin-inline-start: var(--content-inset);
    padding-left: 0;
    width: min(680px, calc(100% - var(--content-inset) - 48px));
  }
  body.delamere-v2-parallax .hero__fold-foot .hero__credibility,
  body.delamere-v2-parallax .hero__fold-foot .hero__anchors {
    padding-inline: var(--content-inset);
  }
  body.delamere-v2-parallax .hero__fold-foot .proof-strip__viewport {
    padding-inline: var(--content-inset);
  }
}

body.delamere-v2-design .wrap-fixedheader,
body.delamere-v2-design .dl-mobile-header,
body.delamere-v2-design .mobileMenu {
  display: none !important;
}

/* Undo legacy global link styles (header critical CSS, site.min.css common.scss) */
body.delamere-v2-parallax a:not(.btn--gold):not(.addict-card__primary):not(.btn--ghost-dark):not(.btn--quiet):not(.btn--phone) {
  color: inherit;
}

/* Mobile homepage section anchors sit outside section.hero — inherit would pick up body olive */
body.delamere-v2-parallax .hero-anchors a {
  color: var(--gold, #ffd26c) !important;
}

body.delamere-v2-parallax .hero-anchors a:hover,
body.delamere-v2-parallax .hero-anchors a:active,
body.delamere-v2-parallax .hero-anchors a:focus-visible {
  color: var(--gold, #ffd26c) !important;
}

body.delamere-v2-parallax .hero__anchors a {
  color: #fff !important;
}

body.delamere-v2-parallax .hero__anchors a:hover,
body.delamere-v2-parallax .hero__anchors a:active,
body.delamere-v2-parallax .hero__anchors a:focus-visible {
  color: var(--gold, #ffd26c) !important;
}

/* Keep button CTAs ununderlined — common.scss sets section a { text-decoration: underline } */
body.delamere-v2-parallax a.btn:not(.btn--quiet):not(.btn--phone),
body.delamere-v2-parallax a.btn:not(.btn--quiet):not(.btn--phone):hover,
body.delamere-v2-parallax a.btn:not(.btn--quiet):not(.btn--phone):focus-visible {
  text-decoration: none !important;
}

body.delamere-v2-parallax a:not(.btn--quiet):not(.btn--phone) {
  text-decoration: none;
}

body.delamere-v2-design .site-nav-shell .site-header__phone {
  color: #fff !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .45);
}

body.delamere-v2-design .site-nav-shell .site-header__phone:hover {
  color: var(--gold, #ffd26c) !important;
}

/* Undo legacy global button rules on header nav triggers only (not mega panel columns) */
body.delamere-v2-design .site-nav-shell .site-header__nav-item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  line-height: inherit !important;
  padding: 10px clamp(8px, .9vw, 14px) !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #fff !important;
  font-size: clamp(9px, .82vw, 11px) !important;
  font-weight: 600 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}

body.delamere-v2-design .site-nav-shell .site-header__nav-item:hover,
body.delamere-v2-design .site-nav-shell .site-header__nav-item.is-active {
  color: var(--gold, #ffd26c) !important;
  background: none !important;
}

/* Burger: mobile/tablet drawer trigger only — must not inherit nav-item or legacy button styles */
@media (max-width: 1023px) {
  body.delamere-v2-design .site-nav-shell .burger {
    display: grid !important;
    place-items: center !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    min-height: 46px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    white-space: normal !important;
    line-height: normal !important;
  }
}

@media (min-width: 1024px) {
  body.delamere-v2-design .site-nav-shell .burger {
    display: none !important;
  }
}

body.delamere-v2-design .site-nav-shell a {
  text-decoration: none;
}

@media (max-width: 1023px) {
  body.delamere-v2-design .site-nav-shell .nav-group__link {
    color: var(--gold, #ffd26c) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: .24em !important;
    text-transform: uppercase !important;
  }

  body.delamere-v2-design .site-nav-shell .nav-group__link:hover,
  body.delamere-v2-design .site-nav-shell .nav-group__link:focus-visible,
  body.delamere-v2-design .site-nav-shell .nav-group__link.is-current {
    color: var(--gold, #ffd26c) !important;
  }
}

/* Mega menu — restore column layout after legacy button / link resets */
@media (min-width: 1024px) {
  body.delamere-v2-design .site-nav-shell .nav-group__toggle {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 0 8px !important;
    margin: 0 0 6px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 210, 108, .32) !important;
    border-radius: 0 !important;
    line-height: 1.2 !important;
    background: none !important;
    box-shadow: none !important;
    color: var(--gold, #ffd26c) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    text-align: left !important;
    white-space: normal !important;
    line-height: 1.35 !important;
    pointer-events: none !important;
  }

  body.delamere-v2-design .site-nav-shell .nav-group.is-highlight .nav-group__toggle {
    color: var(--gold, #ffd26c) !important;
  }

  body.delamere-v2-design .site-nav-shell .nav-item__subtoggle {
    display: grid !important;
    place-items: center !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    margin-left: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background: transparent !important;
    color: var(--gold, #ffd26c) !important;
    opacity: 0.85;
    font-size: inherit !important;
    font-weight: inherit !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    box-shadow: none !important;
  }

  body.delamere-v2-design .site-nav-shell .nav-group__panel a,
  body.delamere-v2-design .site-nav-shell .nav-group__panel .nav-item__head a {
    padding: 5px 0 !important;
    font-size: clamp(14px, 0.95vw, 16px) !important;
    line-height: 1.38 !important;
    font-weight: 400 !important;
    color: var(--gold, #ffd26c) !important;
    text-decoration: none !important;
  }

  body.delamere-v2-design .site-nav-shell .nav-group__panel .nav-sub a {
    padding: 4px 0 !important;
    font-size: clamp(13px, 0.9vw, 15px) !important;
    line-height: 1.35 !important;
  }

  body.delamere-v2-design .site-nav-shell .nav-group__panel li + li {
    margin-top: 0 !important;
  }

  body.delamere-v2-design .site-nav-shell .nav-group__panel a.is-all {
    margin-top: 8px !important;
    font-size: 11px !important;
  }

  body.delamere-v2-design .site-nav-shell .nav-group__panel a.is-all,
  body.delamere-v2-design .site-nav-shell .nav-group__panel a.is-current,
  body.delamere-v2-design .site-nav-shell .nav-item.has-children.is-open .nav-item__head a {
    color: var(--gold, #ffd26c) !important;
  }

  body.delamere-v2-design .site-nav-shell .nav-group__panel > ul:has(> li.nav-item.has-children) > li.nav-item.has-children,
  body.delamere-v2-design .site-nav-shell .nav-group__panel > ul:has(> li.nav-item.has-children) > li.nav-item.has-children .nav-item__head {
    display: contents !important;
  }

  body.delamere-v2-design .site-nav-shell .nav-item.has-children .nav-item__head {
    cursor: pointer !important;
  }

  body.delamere-v2-design .site-nav-shell .nav-item__subtoggle {
    pointer-events: auto !important;
    cursor: pointer !important;
  }

  body.delamere-v2-design .site-nav-shell .nav-sub-panel__list a {
    padding: 5px 0 !important;
    font-size: clamp(12.5px, 0.82vw, 14px) !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    color: var(--gold, #ffd26c) !important;
    text-decoration: none !important;
  }

  body.delamere-v2-design .site-nav-shell .nav-sub-panel__list a:hover,
  body.delamere-v2-design .site-nav-shell .nav-sub-panel__list a:focus-visible {
    color: var(--gold, #ffd26c) !important;
  }

  body.delamere-v2-design .site-nav-shell .nav-promo .btn--gold {
    color: var(--olive-dark, #3d4235) !important;
    text-decoration: none !important;
  }
}

/* site-style.css + header critical CSS apply hero.jpg and padding to every .hero */
body.delamere-v2-parallax section.hero {
  background: none !important;
  background-image: none !important;
  padding: 0 !important;
}

body.delamere-v2-parallax .site-nav-shell {
  background: transparent;
}
body.delamere-v2-parallax .site-nav-shell.is-mega-open {
  background: rgba(61, 66, 53, .97);
}

/* Legacy critical CSS + compiled bundles fight V2 hero links/buttons */
body.delamere-v2-parallax section.hero a {
  text-decoration: none !important;
}

body.delamere-v2-parallax section.hero .hero__title {
  font-weight: 300 !important;
  font-size: clamp(32px, 4.8vw, 56px) !important;
  line-height: 1.12 !important;
  color: #fff !important;
}

body.delamere-v2-parallax .hero__content .btn--gold,
body.delamere-v2-parallax .hero__content .btn--gold:hover,
body.delamere-v2-parallax .hero__content .btn--gold:active,
body.delamere-v2-parallax .hero__content .btn--gold:focus-visible {
  color: var(--olive-dark, #3d4235) !important;
  background: var(--gold, #ffd26c) !important;
  border-color: var(--gold, #ffd26c) !important;
  transform: none !important;
}

body.delamere-v2-parallax .hero__content .btn--ghost,
body.delamere-v2-parallax .hero__content .btn--ghost:hover,
body.delamere-v2-parallax .hero__content .btn--ghost:active,
body.delamere-v2-parallax .hero__content .btn--ghost:focus-visible {
  color: var(--olive-dark, #3d4235) !important;
  background: #fff !important;
  border-color: #fff !important;
  transform: none !important;
}

body.delamere-v2-parallax .hero__content .btn--phone,
body.delamere-v2-parallax .hero__content .btn--phone:hover,
body.delamere-v2-parallax .hero__content .btn--phone:focus-visible {
  transform: none !important;
}

body.delamere-v2-parallax .hero__content .btn:hover,
body.delamere-v2-parallax .hero__content .btn:focus-visible {
  transform: none !important;
}

body.delamere-v2-parallax .hero .at-breadcrumb__item a {
  color: rgba(255, 255, 255, .82) !important;
  text-decoration: none !important;
}

body.delamere-v2-parallax .hero .at-breadcrumb__item a:hover {
  color: var(--gold, #ffd26c) !important;
}

/* Prevent legacy .button rules from styling V2 hero CTAs if class names overlap */
body.delamere-v2-parallax section.hero .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: auto !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

body.delamere-v2-parallax section.hero .btn--phone {
  display: inline-flex !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  line-height: inherit !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
}

/* Legacy .button / .button-alt — match V2 .btn sizing (12px), beat common.scss 16px */
body.delamere-v2-design .pageBuilder--v2 .button,
body.delamere-v2-design .pageBuilder--v2 a.button,
body.delamere-v2-design .pageBuilder--v2 .button-alt,
body.delamere-v2-design .pageBuilder--v2 a.button-alt,
body.delamere-v2-design .pageBuilder--v2 .buttonalt,
body.delamere-v2-design .pageBuilder--v2 a.buttonalt,
body.delamere-v2-design .hero--page-builder .button,
body.delamere-v2-design .hero--page-builder a.button,
body.delamere-v2-design .hero--page-builder .button-alt,
body.delamere-v2-design .hero--page-builder a.button-alt,
body.delamere-v2-design .hero--page-builder .buttonalt,
body.delamere-v2-design .hero--page-builder a.buttonalt {
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  line-height: 1.25 !important;
  height: auto !important;
  min-height: 54px !important;
}

/* V2 CTA buttons — 12px; beat legacy common.scss / header critical CSS (16px) */
body.delamere-v2-design .btn,
body.delamere-v2-design .btn--gold,
body.delamere-v2-design .btn--ghost,
body.delamere-v2-design .sticky-cta__actions .btn,
body.delamere-v2-design .nav-panel__foot .sticky-cta__actions .btn {
  font-size: 12px !important;
  line-height: 1.25 !important;
  height: auto !important;
}
body.delamere-v2-design .sticky-cta__actions .btn--ghost,
body.delamere-v2-design .nav-panel__foot .sticky-cta__actions .btn--ghost {
  font-size: 11px !important;
  letter-spacing: .03em !important;
}
body.delamere-v2-design .sticky-cta__actions .btn--ghost:hover,
body.delamere-v2-design .sticky-cta__actions .btn--ghost:focus-visible,
body.delamere-v2-design .nav-panel__foot .sticky-cta__actions .btn--ghost:hover,
body.delamere-v2-design .nav-panel__foot .sticky-cta__actions .btn--ghost:focus-visible {
  color: var(--olive-dark, #3d4235) !important;
  background: #fff;
}
body.delamere-v2-design .site-header .site-header__cta,
body.delamere-v2-design .site-header .site-header__brochure {
  width: 158px !important;
  min-width: 158px !important;
  max-width: 158px !important;
  min-height: 36px !important;
  height: 36px !important;
  padding: 0 8px !important;
  font-size: 10px !important;
  letter-spacing: .06em !important;
}
body.delamere-v2-design .site-header .site-header__brochure {
  background: #fff !important;
  color: var(--olive-dark) !important;
  border-color: #fff !important;
}
body.delamere-v2-design .site-header .site-header__cta:hover,
body.delamere-v2-design .site-header .site-header__cta:focus-visible,
body.delamere-v2-design .site-header .site-header__brochure:hover,
body.delamere-v2-design .site-header .site-header__brochure:focus-visible {
  transform: none !important;
}
body.delamere-v2-design .site-header .site-header__cta:hover,
body.delamere-v2-design .site-header .site-header__cta:focus-visible {
  background: var(--gold, #ffd26c) !important;
  color: var(--olive-dark) !important;
  border-color: transparent !important;
}
body.delamere-v2-design .site-header .site-header__brochure:hover,
body.delamere-v2-design .site-header .site-header__brochure:focus-visible {
  background: #fff !important;
  color: var(--olive-dark) !important;
  border-color: #fff !important;
}

/* Undo homepage-v2-faq Montserrat h1 override on parallax hero headline */
body.page-template-page-homepage-v2-php.delamere-v2-parallax section.hero .hero__title {
  font-family: Montserrat, sans-serif !important;
  font-weight: 300 !important;
  font-synthesis: none;
}

/* Mobile sticky CTA + body padding from custom-style inline — not used on parallax homepage */
body.page-template-page-homepage-v2-php.delamere-v2-parallax {
  padding-bottom: 0 !important;
}

body.page-template-page-homepage-v2-php.delamere-v2-parallax .delamere-mobile-sticky-cta {
  display: none !important;
}

body.page-template-template-addiction-treatment-php.delamere-v2-parallax {
  padding-bottom: 0 !important;
}

body.page-template-template-addiction-treatment-php.delamere-v2-parallax .delamere-mobile-sticky-cta {
  display: none !important;
}

/* Full-width prose within longform grid — addiction, help guides, page builder */
body.page-template-template-addiction-treatment-php .longform .prose,
body.page-template-template-addiction-treatment-php .longform .prose ul,
body.page-template-template-addiction-treatment-php main.addiction-treatment .longform .prose,
body.page-template-template-addiction-treatment-php main.addiction-treatment .longform .prose ul,
body.delamere-help-guide .pageBuilder--v2 .longform .prose,
body.delamere-help-guide .pageBuilder--v2 .longform .prose ul,
body.delamere-v2-parallax .pageBuilder--v2 .longform .prose,
body.delamere-v2-parallax .pageBuilder--v2 .longform .prose ul,
body.delamere-v2-parallax .pageBuilder--v2 .pb-v2-body .prose,
body.delamere-v2-parallax .pageBuilder--v2 .pb-v2-body .prose ul {
  max-width: none;
}

/* Detox weeks carousel — ghost nav (beat legacy global button gold fill) */
body.delamere-v2-parallax .weeks__nav,
body.delamere-v2-parallax .weeks__nav:hover,
body.delamere-v2-parallax .weeks__nav:focus,
body.delamere-v2-parallax .weeks__nav:focus-visible,
body.delamere-v2-parallax .weeks__nav:active {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--olive-mid, #767a4c) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 300 !important;
  min-height: 0 !important;
  height: auto !important;
  line-height: 1 !important;
  padding: 0 !important;
  white-space: normal !important;
}
body.delamere-v2-parallax .weeks__nav:hover:not(:disabled),
body.delamere-v2-parallax .weeks__nav:focus-visible:not(:disabled) {
  color: var(--olive, #45483b) !important;
}

/* Layout builder gallery — full-bleed (beat legacy .outline max-width: 1200px !important) */
body.delamere-v2-parallax section.gallery .outline,
body.delamere-v2-parallax .pageBuilder--v2 .pb-v2-body > section.gallery .outline {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.delamere-v2-parallax.page-template-template-layout-page-builder-php,
body.delamere-v2-parallax:has(.pageBuilder--v2) {
  padding-bottom: 0 !important;
}

body.delamere-v2-parallax.page-template-template-layout-page-builder-php .delamere-mobile-sticky-cta,
body.delamere-v2-parallax:has(.pageBuilder--v2) .delamere-mobile-sticky-cta {
  display: none !important;
}

/* Longform typography + legacy conflict fixes */
body.delamere-v2-parallax .longform .section-title {
  font-family: Montserrat, sans-serif !important;
  font-weight: 300 !important;
  font-synthesis: none;
}

body.delamere-v2-design .longform .prose,
body.delamere-v2-design .longform .prose :is(p, li, td, th, dd, dt, figcaption),
body.delamere-v2-design .longform .weeks__body :is(p, li),
body.delamere-v2-design .longform .phase__body p,
body.delamere-v2-design .longform .phase p,
body.delamere-v2-design .longform .card li,
body.delamere-v2-design .longform .card .prose :is(p, li),
body.delamere-v2-design .longform .faq__a p,
body.delamere-v2-parallax .longform .prose,
body.delamere-v2-parallax .longform .prose :is(p, li, td, th, dd, dt, figcaption),
body.delamere-v2-parallax .longform .faq__a p {
  font-size: 16px !important;
  font-weight: 300 !important;
  line-height: 1.8 !important;
}

body.delamere-v2-design .longform .prose :is(.has-small-font-size, .has-normal-font-size, .has-medium-font-size, .has-large-font-size, .has-x-large-font-size),
body.delamere-v2-parallax .longform .prose :is(.has-small-font-size, .has-normal-font-size, .has-medium-font-size, .has-large-font-size, .has-x-large-font-size) {
  font-size: 16px !important;
}

/* Beat global custom-style `p { font-size: 18px }` and pasted inline sizes in WYSIWYG. */
body.delamere-v2-design .longform .prose :not(:is(h1, h2, h3, h4, h5, h6)) *,
body.delamere-v2-parallax .longform .prose :not(:is(h1, h2, h3, h4, h5, h6)) * {
  font-size: inherit !important;
}

body.delamere-v2-design .longform .prose,
body.delamere-v2-parallax .longform .prose {
  font-size: 16px !important;
}

/* Light longform: olive copy links (override legacy .addiction-treatment a { gold }). */
body.delamere-v2-design main.addiction-treatment .longform__body > :is(section.lf--cream, section.lf--white, section.lf--grey) :is(.prose, .section-copy, .faq__a, .weeks__body, .longform-video__channel) a:not(.btn):not(.button):not([class*="button"]),
body.delamere-v2-design .pageBuilder--v2 .longform__body > :is(section.lf--cream, section.lf--white, section.lf--grey) :is(.prose, .section-copy, .faq__a) a:not(.btn):not(.button):not([class*="button"]),
body.delamere-v2-design :is(.chapter--cream, .chapter--white, .chapter--grey) :is(.prose, .section-copy) a:not(.btn):not(.button):not([class*="button"]) {
  color: var(--olive-mid, #767a4c) !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
  text-decoration-color: rgba(118, 122, 76, .45) !important;
}

body.delamere-v2-design main.addiction-treatment .longform__body > :is(section.lf--cream, section.lf--white, section.lf--grey) :is(.prose, .section-copy, .faq__a, .weeks__body, .longform-video__channel) a:not(.btn):not(.button):not([class*="button"]):hover,
body.delamere-v2-design main.addiction-treatment .longform__body > :is(section.lf--cream, section.lf--white, section.lf--grey) :is(.prose, .section-copy, .faq__a, .weeks__body, .longform-video__channel) a:not(.btn):not(.button):not([class*="button"]):focus-visible,
body.delamere-v2-design :is(.chapter--cream, .chapter--white, .chapter--grey) :is(.prose, .section-copy) a:not(.btn):not(.button):not([class*="button"]):hover,
body.delamere-v2-design :is(.chapter--cream, .chapter--white, .chapter--grey) :is(.prose, .section-copy) a:not(.btn):not(.button):not([class*="button"]):focus-visible {
  color: var(--olive, #45483b) !important;
  text-decoration-color: var(--olive, #45483b) !important;
}

/* Dark surfaces: gold copy links. */
body.delamere-v2-design :is(.lf--approach, .chapter--olive, .chapter--dark, .close) :is(.prose, .section-copy, .panel, .faq__a) a:not(.btn):not(.button):not([class*="button"]),
body.delamere-v2-design section.hero :is(.prose, .hero__wysiwyg, .hero__sub) a:not(.btn):not(.button):not(.hero-cta):not([class*="button"]) {
  color: var(--gold, #ffd26c) !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 210, 108, .55) !important;
}

body.delamere-v2-design :is(.lf--approach, .chapter--olive, .chapter--dark, .close) :is(.prose, .section-copy, .panel, .faq__a) a:not(.btn):not(.button):not([class*="button"]):hover,
body.delamere-v2-design :is(.lf--approach, .chapter--olive, .chapter--dark, .close) :is(.prose, .section-copy, .panel, .faq__a) a:not(.btn):not(.button):not([class*="button"]):focus-visible,
body.delamere-v2-design section.hero :is(.prose, .hero__wysiwyg, .hero__sub) a:not(.btn):not(.button):not(.hero-cta):not([class*="button"]):hover,
body.delamere-v2-design section.hero :is(.prose, .hero__wysiwyg, .hero__sub) a:not(.btn):not(.button):not(.hero-cta):not([class*="button"]):focus-visible {
  color: #fff !important;
  text-decoration-color: rgba(255, 255, 255, .85) !important;
}

body.delamere-v2-parallax .pageBuilder--v2 .longform .prose,
body.delamere-v2-parallax .pageBuilder--v2 .longform .prose p,
body.delamere-v2-parallax .pageBuilder--v2 .longform .faq__a,
body.delamere-v2-parallax .pageBuilder--v2 .longform .faq__a p,
body.delamere-v2-parallax .pageBuilder--v2 .longform .section-title {
  color: inherit !important;
}

body.delamere-v2-parallax .longform .pull {
  border: 0 !important;
  padding: 0 !important;
}

body.delamere-v2-parallax .longform .pull blockquote,
body.delamere-v2-parallax .longform .pull blockquote p {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 0 16px !important;
  color: var(--olive, #45483b) !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  line-height: 1.8 !important;
  letter-spacing: 0 !important;
  max-width: none !important;
  box-shadow: none !important;
}

body.delamere-v2-parallax .longform .faq__q {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  width: 100% !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
  height: auto !important;
  line-height: 1.45 !important;
  padding: 22px 0 !important;
  color: var(--olive, #45483b) !important;
  font-size: clamp(15px, 1.7vw, 18px) !important;
  font-weight: 600 !important;
  text-align: left !important;
  white-space: normal !important;
  text-transform: none !important;
  letter-spacing: -.005em !important;
  cursor: pointer;
}

body.delamere-v2-parallax .longform .faq__q:hover,
body.delamere-v2-parallax .longform .faq__q:focus,
body.delamere-v2-parallax .longform .faq__q:focus-visible,
body.delamere-v2-parallax .longform .faq.is-open .faq__q {
  background: transparent !important;
  color: var(--olive-mid, #767a4c) !important;
  transform: none !important;
}

body.delamere-v2-parallax .longform .panel .btn--ghost,
body.delamere-v2-parallax .longform .panel .btn--ghost:hover,
body.delamere-v2-parallax .longform .panel .btn--ghost:focus-visible {
  color: #fff !important;
  background: transparent !important;
  border-color: rgba(255, 255, 255, .55) !important;
}

body.delamere-v2-parallax .longform .btn--ghost-dark,
body.delamere-v2-parallax .longform .btn--ghost-dark:hover,
body.delamere-v2-parallax .longform .btn--ghost-dark:focus-visible {
  color: var(--olive, #45483b) !important;
  background: transparent !important;
  border-color: var(--olive, #45483b) !important;
  transform: none !important;
}

body.delamere-v2-parallax .longform .dl-author-module {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

/* Chapter typography — undo legacy homepage-v2 / custom-style heading weights */
body.delamere-v2-parallax .chapter .section-title {
  font-family: Montserrat, sans-serif !important;
  font-weight: 300 !important;
  font-synthesis: none;
}

body.delamere-v2-parallax .chapter .section-copy,
body.delamere-v2-parallax .chapter .faq__a,
body.delamere-v2-parallax .addict-card p {
  font-size: 16px !important;
  font-weight: 300 !important;
}

body.delamere-v2-parallax .chapter .btn,
body.delamere-v2-parallax .close .btn {
  font-size: 12px !important;
  font-weight: 500 !important;
}

body.delamere-v2-parallax .btn--gold,
body.delamere-v2-parallax .btn--gold:hover,
body.delamere-v2-parallax .btn--gold:focus-visible,
body.delamere-v2-parallax .addict-card__primary,
body.delamere-v2-parallax .addict-card__primary:hover,
body.delamere-v2-parallax .addict-card__primary:focus-visible {
  color: var(--olive-dark, #3d4235) !important;
}

body.delamere-v2-parallax .chapter .faq__q {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
  min-width: 0 !important;
  height: auto !important;
  line-height: 1.5 !important;
  padding: 18px 0 !important;
  color: var(--olive-mid, #767a4c) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  text-align: left !important;
  white-space: normal !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  cursor: pointer;
}

body.delamere-v2-parallax .chapter .faq__q:hover,
body.delamere-v2-parallax .chapter .faq__q:focus,
body.delamere-v2-parallax .chapter .faq__q:focus-visible,
body.delamere-v2-parallax .chapter .faq.is-open .faq__q {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--olive-mid, #767a4c) !important;
  transform: none !important;
}

body.delamere-v2-parallax .chapter .faq__q span:last-child {
  color: var(--gold, #ffd26c) !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

/* Addiction + page builder FAQs match the homepage accordion. */
body.delamere-v2-design .faq-home,
body.delamere-v2-parallax .faq-home {
  max-width: 820px;
}

body.delamere-v2-design .faq-home .section-title,
body.delamere-v2-parallax .faq-home .section-title {
  margin-bottom: 18px;
}

body.delamere-v2-design .faq-home .faq__q,
body.delamere-v2-parallax .faq-home .faq__q {
  align-items: center !important;
  gap: 16px !important;
  padding: 18px 0 !important;
  color: var(--olive-mid, #767a4c) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  letter-spacing: normal !important;
}

body.delamere-v2-design .faq-home .faq__q:hover,
body.delamere-v2-design .faq-home .faq__q:focus,
body.delamere-v2-design .faq-home .faq__q:focus-visible,
body.delamere-v2-design .faq-home .faq.is-open .faq__q,
body.delamere-v2-parallax .faq-home .faq__q:hover,
body.delamere-v2-parallax .faq-home .faq__q:focus,
body.delamere-v2-parallax .faq-home .faq__q:focus-visible,
body.delamere-v2-parallax .faq-home .faq.is-open .faq__q {
  background: transparent !important;
  color: var(--olive-mid, #767a4c) !important;
  transform: none !important;
}

body.delamere-v2-design .faq-home .faq__q span:last-child,
body.delamere-v2-parallax .faq-home .faq__q span:last-child {
  flex: 0 0 auto;
  color: var(--gold, #ffd26c) !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

body.delamere-v2-design .faq-home .faq.is-open .faq__q span:last-child,
body.delamere-v2-parallax .faq-home .faq.is-open .faq__q span:last-child {
  transform: rotate(45deg);
}

body.delamere-v2-design .faq-home .faq__a,
body.delamere-v2-parallax .faq-home .faq__a,
body.delamere-v2-design .faq-home .faq__a p,
body.delamere-v2-parallax .faq-home .faq__a p {
  max-width: 62ch !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  line-height: 1.6 !important;
}

body.delamere-v2-design .faq-home .faq__a,
body.delamere-v2-parallax .faq-home .faq__a {
  padding: 0 0 18px !important;
  opacity: .9;
}

body.delamere-v2-parallax .chapter--olive .quote blockquote,
body.delamere-v2-parallax .chapter--olive .quote blockquote p {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 0 16px !important;
  color: #fff !important;
  font-size: clamp(17px, 2vw, 22px) !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
}

body.delamere-v2-parallax .chapter--olive .quote cite {
  color: var(--gold, #ffd26c) !important;
}
