/*
Theme Name: Fountain Hills Recovery
Author: Josh Yager
Author URI: https://thedevq.com/
Description: DevQ site scaffold. Clone, rename the directory to the client slug, and build. One theme per site - no child theme, no premade blocks. Blocks are built per site and registered through the devq_blocks filter.
Version: 2.0.0
Text Domain: devq
DevQ Kit: 485c387 (2026-08-18)
*/

/* -----------------------------------------------------------------------------
 * CSS Variables
 * -------------------------------------------------------------------------- */
/* Set these to the site's design. They are the ONLY place the brand is defined:
 * the front end reads them here and the block editor canvas gets this same file
 * through add_editor_style(), so the editor cannot drift from the live page.
 *
 * These were an ACF Theme Settings > Styles page until 2026-09-03. They are code
 * now because a typeface and a palette are design decisions made once against the
 * approved comp -- not switches to leave live on a client's account, where the
 * page could restyle every template on the site in one click. */
:root {
  /* Brand */
  --primary: #00274A;      /* navy: headings, footer, dark bands */
  --secondary: #D5896F;    /* terracotta: buttons, accents */
  --tertiary: #EAF2F8;     /* soft sky: admissions bar, light sections */
  --sand: #F7F3EE;         /* warm off-white section background */
  --ink: #1B2B3A;
  --line: #E3E7EC;
  --terracotta-dark: #A0553C; /* small text on white, sand and sky (AA 4.7+) */
  --button-fill: #AC5C3E;
  --measure: 860px;           /* article column: prose, tabs, callouts, FAQs line up */     /* terracotta deep enough for white button text (AA 4.8) */

  /* Type */
  --font1: 'Cormorant', Georgia, serif;
  --font2: 'Mulish', Arial, sans-serif;
  --heading-weight: 700;
  --heading-line-height: 1.12;
  --body-weight: 400;
  --body-size: 16px;
  --body-line-height: 1.7;
  --body-color: #494949;

  /* Buttons */
  --button-radius: 999px;
  --button-padding: 15px 26px;

  /* Spacing */
  --spacing-small: 15px;
  --spacing-medium: 30px;
  --spacing-large: 60px;
  --section-padding-top: 96px;
  --section-padding-bottom: 96px;

  /* Z-index layers */
  --z-index-dropdown: 3;

  /* Transitions */
  --transition-fast: all 0.1s ease-in-out;
  --transition-default: all 0.3s ease-in-out;

  /* Other */
  --video-aspect-ratio: 56.25%;
  /* 16:9 */
}

@media (max-width: 1199px) {
  :root {
    --section-padding-top: 72px;
    --section-padding-bottom: 72px;
  }
}

@media (max-width: 767px) {
  :root {
    --section-padding-top: 52px;
    --section-padding-bottom: 52px;
  }
}

/* -----------------------------------------------------------------------------
 * Base Elements
 * -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  background: #fff;
  position: relative;
  font-family: var(--font2);
  font-weight: var(--body-weight);
  font-size: var(--body-size);
  color: var(--body-color);
  line-height: var(--body-line-height);
}

/* These name p/ul/li directly rather than letting them inherit from body, and a
 * rule matching an element directly beats a value inherited from an ancestor. So
 * on a dark build, overriding `body { color }` alone does NOT undo this -- set
 * --body-color instead. Every un-styled <p>, <ul> and <li> on the site reads from
 * it: the 404 and search templates, the_content() output, plain template markup. */
p, ul, li {
  font-family: var(--font2);
  font-weight: var(--body-weight);
  font-size: var(--body-size);
  color: var(--body-color);
  line-height: var(--body-line-height);
}

img {
  max-width: 100%;
}

/* WordPress prints this class on search-form labels and pagination text and
 * expects the theme to hide it. The kit defined it nowhere and neither does
 * reflex.css, so those labels rendered as visible body copy the moment you used
 * get_search_form() or paginate_links(). */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* -----------------------------------------------------------------------------
 * Typography
 * -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font1);
  font-weight: var(--heading-weight);
  line-height: var(--heading-line-height);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}



/* -----------------------------------------------------------------------------
 * Layout
 * -------------------------------------------------------------------------- */
.container-fluid {
  max-width: 2400px;
  margin: auto;
}

.videoWrapper {
  position: relative;
  padding-bottom: var(--video-aspect-ratio);
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* -----------------------------------------------------------------------------
 * Buttons
 * -------------------------------------------------------------------------- */
.btn {
  text-decoration: none;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--button-padding, 12px 28px);
  font-family: var(--font1);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  transition: var(--transition-default);
  border: 2px solid var(--primary);
  border-radius: var(--button-radius, 4px);
  cursor: pointer;
  /* Chunky by default, but never a hard floor. A flat `min-width: 250px` here
     resolves flex items' `min-width: auto` to 250px, so a .btn in a card footer
     or filter bar refuses to shrink and pushes its siblings out of the
     container. min() keeps the look and lets it collapse when space is tight. */
  min-width: min(250px, 100%);
}

.btn i {
  font-size: 14px;
}

.btn:hover {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Button Variants */
.btn.btn-secondary {
  background: var(--secondary);
  border-color: var(--secondary);
}

.btn.btn-secondary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn.btn-tertiary {
  background: var(--tertiary);
  border-color: var(--tertiary);
  color: var(--primary);
}

.btn.btn-tertiary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.btn.btn-white:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn.btn-outline-secondary {
  background: transparent;
  color: #fff;
  border-color: var(--secondary);
}

.btn.btn-outline-secondary:hover {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

.btn.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn.btn-outline-white:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

/* Header & navigation styles are in template-parts/header/ */
/* Footer styles are in template-parts/footer/ */
/* Mobile menu styles are in template-parts/mobile-menu/ */

/* -----------------------------------------------------------------------------
 * Utility Classes
 * -------------------------------------------------------------------------- */
.mobileonly,
.mobileOnly {
  display: none;
}

/* Section background variants */
.section-light {
  background-color: #f8f7f4;
}

.section-offwhite {
  background-color: #f5f4f0;
}

.section-dark {
  background-color: #1a1a2e;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark p,
.section-dark li {
  color: #fff;
}

.section-dark .cs-topper {
  color: var(--tertiary);
}

/* -----------------------------------------------------------------------------
 * Browser Customization
 * -------------------------------------------------------------------------- */
::selection {
  background: var(--tertiary);
  color: var(--secondary);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: #f5f5f5;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: var(--tertiary);
}

/* -----------------------------------------------------------------------------
 * Content Styles
 * -------------------------------------------------------------------------- */
.maincopy ul li {
  list-style: none;
  position: relative;
  margin-bottom: 15px;
}

/* -----------------------------------------------------------------------------
 * Media Queries
 * -------------------------------------------------------------------------- */
@media (max-width: 1199px) {

  /* Utility Classes */
  .mobileonly,
  .mobileOnly {
    display: initial;
  }

  .desktopOnly {
    display: none;
  }
}

/* Mobile Styles - 767px and below */
@media (max-width: 767px) {

  .btn {
    width: 100%;
    min-width: unset;
  }

  /* Typography */
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  h3 {
    font-size: 2rem;
  }

  h4 {
    font-size: 1.75rem;
  }

  h5 {
    font-size: 1.5rem;
  }

  .bigger-title {
    font-size: 3rem;
  }

  .sub-title {
    font-size: 20px;
  }
}
/* -----------------------------------------------------------------------------
 * Header / Footer -- scaffold baseline
 *
 * Deliberately plain. Every site rewrites header.php / footer.php to spec and
 * replaces this block; it exists so a freshly scaffolded site is legible rather
 * than unstyled.
 * -------------------------------------------------------------------------- */

.devq-header-wrap {
  position: relative;
  background: #fff;
  z-index: 100;
}

.devq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0;
}

.devq-header-logo a {
  display: inline-block;
  text-decoration: none;
}

.devq-header-logo img {
  display: block;
  max-height: 60px;
  width: auto;
}

.devq-header-wordmark {
  font-family: var(--font1);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.devq-desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.devq-desktop-nav li {
  position: relative;
}

.devq-desktop-nav a {
  text-decoration: none;
  color: inherit;
  font-family: var(--font2);
}

.devq-desktop-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-default);
  z-index: var(--z-index-dropdown);
}

.devq-desktop-nav li:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.devq-desktop-nav .dropdown-menu a {
  display: block;
  padding: 8px 16px;
}

.devq-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile menu ------------------------------------------------------------- */

.devq-mobile-menu {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-default);
  z-index: 999;
}

.devq-mobile-menu.is-active {
  opacity: 1;
  visibility: visible;
}

.devq-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

.devq-mobile-logo img {
  max-height: 56px;
  width: auto;
}

.devq-mobile-nav {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.devq-mobile-nav a {
  display: block;
  padding: 10px 0;
  font-size: 20px;
  text-decoration: none;
  color: inherit;
}

.devq-mobile-contact a {
  text-decoration: none;
  color: inherit;
  font-weight: 600;
}

/* Footer ------------------------------------------------------------------ */

.devq-footer {
  background: var(--secondary);
  padding: 32px 0;
  color: #fff;
}

.devq-footer a {
  color: #fff;
  text-decoration: none;
}

.devq-footer a:hover {
  opacity: 0.75;
}

.devq-footer-menu,
.devq-footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.devq-footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.devq-footer-copyright {
  margin: 0;
  font-size: 14px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
}

/* =============================================================================
 * Fountain Hills Recovery - site-wide styles
 * Brand: navy #00274A, terracotta #D5896F, Cormorant headings, Mulish body.
 * ========================================================================== */

/* ---------- Type scale (set here once; blocks never size h1-h6/p) ---------- */
body { color: var(--body-color); -webkit-font-smoothing: antialiased; }
/* AOS fade-left/right holds elements translated sideways until scrolled in; clip, not hidden, so the sticky header survives. Must be on html too. */
html, body { overflow-x: clip; }
h1, h2, h3, h4, h5, h6 { color: var(--primary); margin: 0 0 0.5em; letter-spacing: -0.005em; }
h1 { font-size: 3.6rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--terracotta-dark); }
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; }
img { height: auto; }

@media (max-width: 1199px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.35rem; }
}
@media (max-width: 767px) {
  h1 { font-size: 2.45rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }

.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 10000; background: #fff; padding: 10px 16px; border-radius: 8px; }

/* ---------- Buttons: terracotta pill, navy on hover ---------- */
.btn {
  background: var(--button-fill);
  border-color: var(--button-fill);
  color: #fff;
  font-family: var(--font2);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-width: 0;
  line-height: 1.2;
}
.btn::after {
  content: "";
  width: 14px; height: 14px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s ease;
}
.btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn:hover::after { transform: translateX(3px); }
.btn.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn.btn-primary:hover { background: var(--button-fill); border-color: var(--button-fill); }
.btn.btn-outline { color: var(--primary); }
.btn .fhr-icon { width: 16px; height: 16px; }
.fhr-header-call::after, .devq-mobile-contact .btn::after, .fhr-admitbar .btn::after { display: none; }

/* ---------- Shared section pieces ---------- */
.fhr-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
}
.fhr-section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.fhr-section-head h2 { margin-bottom: 0.35em; }
.fhr-section-head--left { margin-left: 0; text-align: left; }
.fhr-section-intro p:last-child { margin-bottom: 0; }
.fhr-section-cta { margin-top: 44px; text-align: center; }

.fhr-icon { display: inline-block; vertical-align: middle; flex: none; }

/* Long-form prose (Care Article, tabs, answers, bios) */
.fhr-prose > :last-child { margin-bottom: 0; }
.fhr-prose h2 { margin-top: 1.6em; }
.fhr-prose h3 { margin-top: 1.4em; font-size: 1.6rem; }
.fhr-prose h4 { margin-top: 1.2em; }
.fhr-prose > h2:first-child, .fhr-prose > h3:first-child { margin-top: 0; }
.fhr-prose ul, .fhr-prose ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.fhr-prose li { margin-bottom: 0.45em; }
.fhr-prose ul li::marker { color: var(--secondary); }
.fhr-prose a:not(.btn) { color: var(--primary); text-decoration: underline; text-decoration-color: var(--secondary); text-decoration-thickness: 2px; }
.fhr-prose a:not(.btn):hover { color: var(--terracotta-dark); }
.fhr-prose img { border-radius: 14px; display: block; margin: 1.6em auto; }
.fhr-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--secondary); font-family: var(--font1); font-size: 1.45rem; color: var(--primary); }
.fhr-prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.95rem; }
.fhr-prose th, .fhr-prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.fhr-prose th { background: var(--sand); color: var(--primary); }
.fhr-prose .article-eyebrow { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terracotta-dark); margin: 2em 0 0.5em; }
.fhr-prose .article-eyebrow + h2 { margin-top: 0; }
.fhr-prose .article-button { margin: 1.6em 0; }
.fhr-prose .feature-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.fhr-prose .feature-list li { padding: 16px 20px; background: var(--sand); border-radius: 12px; margin: 0; }
.fhr-prose .feature-list strong { display: block; color: var(--primary); }

/* Click-to-load video */
.fhr-video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--primary); margin: 1.6em 0; }
.fhr-video img, .fhr-video iframe, .fhr-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; margin: 0; border-radius: 0; }
.fhr-video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 78px; height: 78px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--secondary); color: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(213, 137, 111, .3); transition: transform .2s ease, background .2s ease;
}
.fhr-video-play .fhr-icon { width: 30px; height: 30px; margin-left: 4px; }
.fhr-video-play:hover { transform: translate(-50%, -50%) scale(1.06); background: var(--primary); }

/* Stars */
.fhr-stars { display: inline-flex; gap: 2px; color: #D9D9D9; }
.fhr-stars .is-on { color: #F2B01E; }

/* Lightbox */
.fhr-lightbox { padding: 0; border: 0; background: transparent; max-width: 92vw; max-height: 90vh; overflow: visible; }
.fhr-lightbox::backdrop { background: rgba(0, 20, 38, .9); }
.fhr-lightbox img { display: block; max-width: 92vw; max-height: 86vh; border-radius: 10px; }
.fhr-lightbox button { position: absolute; background: #fff; color: var(--primary); border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.fhr-lightbox-close { top: -18px; right: -18px; }
.fhr-lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.fhr-lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Header ---------- */
.devq-header-wrap { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow .25s ease; }
.devq-header-wrap.is-scrolled { box-shadow: 0 6px 24px rgba(0, 39, 74, .1); }
.admin-bar .devq-header-wrap { top: 32px; }
.devq-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.devq-header-logo { flex-shrink: 0; }
.devq-header-logo img { display: block; width: auto; max-height: 78px; }
.devq-header-nav { flex: 1; display: flex; justify-content: center; }
.devq-desktop-nav { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.devq-desktop-nav > li { position: relative; margin: 0; }
.devq-desktop-nav > li > a {
  display: flex; align-items: center; gap: 6px; padding: 34px 11px;
  font-family: var(--font2); font-size: 0.92rem; font-weight: 700; color: var(--primary); text-decoration: none; white-space: nowrap;
}
.devq-desktop-nav > li > a .fa-caret-down { display: none; }
.devq-desktop-nav > li.menu-item-has-children > a::after {
  content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px); opacity: .6;
}
.devq-desktop-nav > li > a:hover, .devq-desktop-nav > li.current-menu-item > a, .devq-desktop-nav > li.current-menu-ancestor > a { color: var(--terracotta-dark); }
/* Dropdowns. Open state comes from fhr.js (.is-open, with a short close delay so a diagonal mouse move
   doesn't drop the panel) or from keyboard focus. Without JS, plain :hover still works. */
.devq-desktop-nav > li > .dropdown-menu {
  position: absolute; top: calc(100% - 14px); left: 50%; transform: translate(-50%, 10px);
  min-width: 280px; margin: 0; padding: 14px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 39, 74, .16);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  display: block; z-index: 120;
}
/* invisible bridge so the pointer can cross from the tab to the panel */
.devq-desktop-nav > li > .dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.devq-desktop-nav:not(.fhr-nav-js) > li:hover > .dropdown-menu,
.devq-desktop-nav > li.is-open > .dropdown-menu,
.devq-desktop-nav > li:has(:focus-visible) > .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
  transition: opacity .18s ease, transform .18s ease, visibility 0s;
}
.devq-desktop-nav.fhr-nav-js > li:hover:not(.is-open):not(:has(:focus-visible)) > .dropdown-menu { opacity: 0; visibility: hidden; pointer-events: none; }
.devq-desktop-nav.is-switching > li > .dropdown-menu { transition: none; }
.devq-desktop-nav > li.is-open > a { color: var(--terracotta-dark); }
.devq-desktop-nav > li.is-open > a::after { transform: rotate(225deg) translate(-2px, -2px); }
.devq-desktop-nav .dropdown-menu li { margin: 0; }
.devq-desktop-nav .dropdown-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 0.9rem; font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.35; transition: background .15s ease, color .15s ease; }
.devq-desktop-nav .dropdown-menu a:hover, .devq-desktop-nav .dropdown-menu a:focus-visible { background: var(--sand); color: var(--primary); }
.devq-desktop-nav .dropdown-menu .current-menu-item > a { color: var(--terracotta-dark); }
/* Third level: always an inline, indented list inside the panel, never a flyout. */
.devq-desktop-nav .dropdown-menu .dropdown-menu,
.devq-desktop-nav .dropdown-menu li:hover > .dropdown-menu,
.devq-desktop-nav .dropdown-menu li:focus-within > .dropdown-menu {
  /* inherit, not visible/auto: an explicit value here would re-show (and make clickable) the third
     level while its parent panel is closed, leaving invisible links over the page under the header */
  position: static; inset: auto; transform: none; opacity: 1; visibility: inherit; pointer-events: inherit;
  min-width: 0; width: auto; margin: 0 0 6px 12px; padding: 0 0 0 10px; background: none; border: 0;
  border-left: 2px solid var(--line); border-radius: 0; box-shadow: none; transition: none;
}
.devq-desktop-nav .dropdown-menu .dropdown-menu::before { display: none; }
.devq-desktop-nav .dropdown-menu .dropdown-menu a { font-weight: 500; font-size: 0.86rem; padding: 6px 10px; color: #5a6470; }
.devq-desktop-nav .dropdown-menu .menu-item-has-children > a { color: var(--primary); }
/* Therapy: two columns; Holistic Therapies (.fhr-mega-col, last in the menu) starts column two. */
.devq-desktop-nav > li.fhr-mega > .dropdown-menu { columns: 2; column-gap: 20px; width: 620px; padding: 18px; }
.devq-desktop-nav > li.fhr-mega > .dropdown-menu > li { break-inside: avoid; }
.devq-desktop-nav > li.fhr-mega > .dropdown-menu > li.fhr-mega-col { break-before: column; }
/* Keep panels on screen near the edges */
.devq-desktop-nav > li:first-child > .dropdown-menu { left: 0; transform: translate(0, 10px); }
.devq-desktop-nav > li:first-child.is-open > .dropdown-menu,
.devq-desktop-nav:not(.fhr-nav-js) > li:first-child:hover > .dropdown-menu,
.devq-desktop-nav > li:first-child:has(:focus-visible) > .dropdown-menu { transform: translate(0, 0); }

.devq-header-actions { display: flex; align-items: center; gap: 10px; }
.fhr-header-call { padding: 13px 20px; font-size: 0.8rem; white-space: nowrap; }

.devq-hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.devq-hamburger-box { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 26px; height: 20px; }
.devq-hamburger-bar { display: block; width: 100%; height: 2.5px; background: var(--primary); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.devq-hamburger.is-active .devq-hamburger-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.devq-hamburger.is-active .devq-hamburger-bar:nth-child(2) { opacity: 0; }
.devq-hamburger.is-active .devq-hamburger-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.desktopOnly { display: inherit; }
.mobileOnly { display: none; }

@media (max-width: 1360px) {
  .devq-desktop-nav > li > a { padding-left: 8px; padding-right: 8px; font-size: 0.86rem; }
  .fhr-header-call-label { display: none; }
  .fhr-header-call { padding: 13px; border-radius: 50%; }
}
@media (max-width: 1199px) {
  .desktopOnly { display: none !important; }
  .mobileOnly { display: block !important; }
  .devq-header { min-height: 74px; }
  .devq-header-logo img { max-height: 58px; }
  .fhr-header-call-label { display: inline; }
  .fhr-header-call { border-radius: 999px; padding: 11px 16px; }
}
@media (max-width: 767px) {
  .fhr-header-call-label { display: none; }
  .fhr-header-call { padding: 12px; border-radius: 50%; }
  .devq-header-logo img { max-height: 52px; }
}

/* Mobile drawer */
.devq-mobile-menu { background: #fff; padding: 24px; box-sizing: border-box; overflow-y: auto; }
/* Kit centres the drawer vertically, which pushes the top off-screen once the menu is taller than the viewport. Stack from the top instead. */
.devq-mobile-menu { justify-content: flex-start; align-items: stretch; gap: 0; padding: 22px 24px 32px; overscroll-behavior: contain; }
.devq-mobile-menu .devq-mobile-logo { align-self: flex-start; margin-right: 56px; }
.devq-mobile-menu .devq-menu-close { width: 44px; height: 44px; top: 18px; right: 16px; display: grid; place-items: center; }
.devq-mobile-menu > nav { width: 100%; }
.devq-mobile-nav { text-align: left; }
.devq-mobile-nav a { font-size: 1.05rem; }
.devq-mobile-nav .sub-menu { display: none; max-height: none !important; overflow: visible; }
.devq-mobile-nav .submenu-open > .sub-menu { display: block; }
.devq-mobile-nav .sub-menu .sub-menu { margin-bottom: 4px; border-left: 2px solid var(--line); padding-left: 12px; }
.devq-mobile-nav .sub-menu a { font-size: 0.98rem; }
.devq-mobile-nav .sub-menu .menu-item-has-children > a { color: var(--primary); font-weight: 600; }
.devq-mobile-menu .devq-mobile-contact { width: 100%; margin-top: 8px; }
.devq-mobile-menu .devq-mobile-contact .btn { width: 100%; justify-content: center; box-sizing: border-box; }
.devq-mobile-nav { list-style: none; margin: 24px 0; padding: 0; }
.devq-mobile-nav li { margin: 0; border-bottom: 1px solid var(--line); position: relative; }
.devq-mobile-nav a { display: block; padding: 14px 44px 14px 0; font-family: var(--font2); font-weight: 700; color: var(--primary); text-decoration: none; }
.devq-mobile-nav .sub-menu { list-style: none; margin: 0 0 10px; padding: 0 0 0 14px; }
.devq-mobile-nav .sub-menu li { border: 0; }
.devq-mobile-nav .sub-menu a { padding: 9px 44px 9px 0; font-weight: 500; color: var(--ink); }
.devq-submenu-toggle { position: absolute; right: -6px; top: 3px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.devq-submenu-toggle i { display: none; }
.devq-submenu-toggle::before { content: ""; display: block; width: 8px; height: 8px; margin: auto; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(45deg); transition: transform .2s; }
.devq-submenu-toggle[aria-expanded="true"]::before, .submenu-open > .devq-submenu-toggle::before { transform: rotate(-135deg); }
.devq-mobile-contact { display: grid; gap: 10px; }
.devq-mobile-logo img { max-height: 48px; width: auto; }

/* ---------- Footer ---------- */
.fhr-footer { background: var(--primary); color: rgba(255, 255, 255, .82); padding: 96px 0 40px; }
.fhr-footer p, .fhr-footer li, .fhr-footer small { color: rgba(255, 255, 255, .82); }
.fhr-footer a { color: #fff; text-decoration: none; }
.fhr-footer a:hover { color: var(--secondary); }
/* Get Help band: contact on the left, the intake form in a white card on the right */
.fhr-footer-cta { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 80px; align-items: start; padding-bottom: 80px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.fhr-footer-cta-text { padding-top: 12px; }
.fhr-footer-cta .fhr-eyebrow { color: var(--secondary); }
.fhr-footer-title { color: #fff; font-size: 3.2rem; line-height: 1.05; margin: 10px 0 18px; }
.fhr-footer-intro { font-size: 1.08rem; max-width: 30em; margin: 0 0 36px; }
.fhr-footer-details { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
.fhr-footer-details li { display: flex; gap: 14px; margin: 0; line-height: 1.55; }
.fhr-footer-details .fhr-icon { flex: 0 0 auto; width: 40px; height: 40px; padding: 10px; box-sizing: border-box; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--secondary); }
.fhr-footer-details small { display: block; margin-bottom: 2px; font-size: 0.7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.fhr-footer-phone { grid-column: 1 / -1; }
.fhr-footer-phone a:first-of-type { font-family: var(--font1); font-size: 2rem; font-weight: 700; line-height: 1.15; display: block; }
.fhr-footer .fhr-footer-phone-local { font-size: 0.95rem; color: rgba(255, 255, 255, .8); }
.fhr-footer-form { background: #fff; color: var(--body-color); border-radius: 22px; padding: 36px 36px 30px; box-shadow: 0 30px 70px rgba(0, 0, 0, .25); }
.fhr-footer .fhr-footer-form p, .fhr-footer .fhr-footer-form li, .fhr-footer .fhr-footer-form small, .fhr-footer .fhr-footer-form label, .fhr-footer .fhr-footer-form legend { color: var(--body-color); }
.fhr-footer .fhr-footer-form .gfield_label, .fhr-footer .fhr-footer-form legend.gfield_label { color: var(--primary); }
.fhr-footer .fhr-footer-form a { color: var(--primary); text-decoration: underline; }
.fhr-footer .fhr-footer-form a:hover { color: var(--terracotta-dark); }
/* Links row */
.fhr-footer-main { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr) minmax(0, 0.8fr); gap: 56px; padding: 64px 0 0; }
.fhr-footer-logo img { max-height: 84px; width: auto; margin-bottom: 20px; }
.fhr-footer-lede { max-width: 26em; margin: 0 0 22px; }
.fhr-footer-heading { color: #fff; font-size: 1.45rem; margin: 0 0 18px; }
.fhr-footer-social { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fhr-footer-social a { display: inline-block; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; font-size: 0.82rem; }
.fhr-footer-social a:hover { border-color: var(--secondary); }
.fhr-footer-menu { list-style: none; padding: 0; margin: 0; }
.fhr-footer-col--wide .fhr-footer-menu { columns: 2; column-gap: 24px; }
.fhr-footer-menu li { margin: 0 0 10px; break-inside: avoid; font-size: 0.94rem; }
.fhr-footer-badges { list-style: none; padding: 40px 0 0; margin: 56px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 34px; }
.fhr-footer-badges li { margin: 0; }
.fhr-footer-badges img { max-height: 76px; width: auto; display: block; }
.fhr-footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 30px; margin-top: 40px; font-size: 0.85rem; }
.fhr-footer-legal p { margin: 0; font-size: 0.85rem; }
.fhr-footer-legal ul { list-style: none; display: flex; gap: 20px; padding: 0; margin: 0; }
.fhr-footer-legal li { margin: 0; font-size: 0.85rem; }

@media (max-width: 1199px) {
  .fhr-footer-cta { grid-template-columns: 1fr; gap: 48px; }
  .fhr-footer-title { font-size: 2.6rem; }
  .fhr-footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .fhr-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .fhr-footer { padding: 64px 0 96px; }
  .fhr-footer-cta { padding-bottom: 56px; }
  .fhr-footer-title { font-size: 2.2rem; }
  .fhr-footer-details { grid-template-columns: 1fr; gap: 20px; }
  .fhr-footer-phone a:first-of-type { font-size: 1.6rem; }
  .fhr-footer-form { padding: 26px 20px 22px; border-radius: 18px; }
  .fhr-footer-main { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; }
  .fhr-footer-legal { flex-direction: column; align-items: flex-start; }
}

/* ---------- Sticky admissions bar ---------- */
.fhr-admitbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--tertiary); border-top: 1px solid #d6e3ee; box-shadow: 0 -6px 24px rgba(0, 39, 74, .08);
  transform: translateY(110%); visibility: hidden; transition: transform .4s ease, visibility 0s linear .4s; }
/* Slides up once the visitor is 60% down the page (fhr.js adds .is-visible). */
.fhr-admitbar.is-visible { transform: none; visibility: visible; transition: transform .4s ease; }
@media (prefers-reduced-motion: reduce) { .fhr-admitbar, .fhr-admitbar.is-visible { transition: none; } }
.fhr-admitbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.fhr-admitbar-call { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--primary); }
.fhr-admitbar-call .fhr-icon { width: 38px; height: 38px; padding: 9px; box-sizing: border-box; border-radius: 50%; background: var(--secondary); color: #fff; }
.fhr-admitbar-call small { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5a6b7b; }
.fhr-admitbar-call strong { font-size: 1.15rem; }
.fhr-admitbar-actions { display: flex; gap: 10px; }
.fhr-admitbar .btn { padding: 12px 20px; }
@media (max-width: 767px) {
  .fhr-admitbar .container { min-height: 62px; padding-left: 12px; padding-right: 12px; gap: 8px; }
  .fhr-admitbar-call small, .fhr-admitbar-contact { display: none; }
  .fhr-admitbar-call strong { font-size: 1rem; }
  .fhr-admitbar .btn { padding: 11px 14px; font-size: 0.72rem; }
}

/* ---------- Gravity Forms (all three forms) ---------- */
.gform_wrapper.gravity-theme .gfield_label { font-family: var(--font2); font-size: 0.82rem; font-weight: 700; color: inherit; }
.gform_wrapper.gravity-theme input[type=text], .gform_wrapper.gravity-theme input[type=email], .gform_wrapper.gravity-theme input[type=tel],
.gform_wrapper.gravity-theme input[type=date], .gform_wrapper.gravity-theme select, .gform_wrapper.gravity-theme textarea {
  width: 100%; padding: 13px 15px !important; font-family: var(--font2); font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid #cfd6de; border-radius: 10px; box-sizing: border-box;
}
.gform_wrapper.gravity-theme textarea.medium, .gform_wrapper.gravity-theme textarea.small { height: 110px; }
.gform_wrapper.gravity-theme input:focus, .gform_wrapper.gravity-theme select:focus, .gform_wrapper.gravity-theme textarea:focus { outline: 2px solid var(--secondary); outline-offset: 1px; border-color: var(--secondary); }
.gform_wrapper.gravity-theme .gform_fields { row-gap: 14px; column-gap: 14px; }
.gform_wrapper.gravity-theme .gform_footer { margin: 18px 0 0; padding: 0; }
.gform_wrapper.gravity-theme .gform_footer input[type=submit], .gform_wrapper.gravity-theme .gform_footer button {
  width: 100%; padding: 16px 24px; border: 0; border-radius: 999px; background: var(--button-fill); color: #fff; cursor: pointer;
  font-family: var(--font2); font-size: 0.85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: background .2s ease;
}
.gform_wrapper.gravity-theme .gform_footer input[type=submit]:hover { background: var(--primary); }
.gform_wrapper.gravity-theme .gfield_consent_label, .gform_wrapper.gravity-theme .gfield_description { font-size: 0.78rem; line-height: 1.5; }
.gform_wrapper.gravity-theme .gfield_required { color: var(--terracotta-dark); }
.gform_wrapper.gravity-theme .gfield--width-half { align-self: end; }
.gform_confirmation_message { padding: 18px; border-radius: 12px; background: var(--tertiary); color: var(--primary); }

/* Kit blog.css reuses --button-radius for cards and article images; buttons here are pills (999px), so give those their own radius. */
body .devq-card { border-radius: 18px; }
body .devq-prose img { border-radius: 14px; }
.devq-prose table, .fhr-prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 0.95rem; }
.devq-prose th, .devq-prose td, .fhr-prose th, .fhr-prose td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.devq-prose thead th, .fhr-prose thead th, .devq-prose tr:first-child th { background: var(--tertiary); color: var(--primary); font-weight: 700; }
@media (max-width: 767px) { .devq-prose table, .fhr-prose table { display: block; overflow-x: auto; } }

/* Gravity Forms polish: asterisk markers, consent rows, select placeholder */
.gform_wrapper.gravity-theme .gform_required_legend { font-size: 0.78rem; color: #6b7785; margin: 0 0 12px; }
.gform_wrapper.gravity-theme .gfield_required_asterisk { color: var(--terracotta-dark); margin-left: 2px; }
.gform_wrapper.gravity-theme .gfield_label { margin-bottom: 6px; }
.gform_wrapper.gravity-theme select { appearance: none; -webkit-appearance: none; padding-right: 40px !important; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2300274A' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center; }
.gform_wrapper.gravity-theme select:invalid, .gform_wrapper.gravity-theme select option[value=""] { color: #8a96a3; }
.gform_wrapper.gravity-theme .ginput_container_consent { display: flex; align-items: flex-start; gap: 10px; }
.gform_wrapper.gravity-theme .ginput_container_consent input[type=checkbox] { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--primary); }
.gform_wrapper.gravity-theme .gfield_consent_label { color: #5a6470; }
.gform_wrapper.gravity-theme .gfield--type-consent { padding: 12px 14px; background: var(--sand); border-radius: 10px; }
.gform_wrapper.gravity-theme .gfield--type-html { font-size: 0.85rem; color: #5a6470; }
.fhr-footer-main > * { margin: 0; padding: 0; }
/* Keep the contact details beside the (taller) form while it scrolls past */
@media (min-width: 1200px) { .fhr-footer-cta-text { position: sticky; top: 130px; } }
.devq-mobile-menu .devq-mobile-contact .btn { color: #fff; font-weight: 800; }
.devq-mobile-menu .devq-mobile-contact .btn-outline { color: var(--primary); }
.devq-mobile-menu .devq-mobile-contact .btn .fhr-icon { width: 18px; height: 18px; }
/* Blog meta in terracotta: the AA-safe shade on white */
body .devq-card__date, body .devq-postnav__label { color: var(--terracotta-dark); }
/* Footer phone: full 44px tap height on phones */
.fhr-footer-phone a:first-of-type { padding: 7px 0; margin: -7px 0; }
.fhr-footer--no-cta { padding-top: 24px; }

/* ---------- Design pass 2026-11-09: article pages ---------- */
.fhr-prose, .devq-prose { font-size: 1.0625rem; line-height: 1.75; }
/* first paragraph under the hero reads as a lead */
.sanctuaryhero-block + .carearticle-block .fhr-prose > p:first-child { font-size: 1.2rem; line-height: 1.7; color: var(--ink); }
/* two adjacent lists (column splits from the old site) read as one */
.fhr-prose ul:has(+ ul), .fhr-prose ol:has(+ ol) { margin-bottom: 0.45em; }
.fhr-prose h2 { margin-top: 1.4em; }
/* single-row "talk to our support" style boxes */
.fhr-prose .feature-list li { border-left: 3px solid var(--secondary); }
.fhr-prose .feature-list a[href^="tel:"] { font-weight: 800; }
/* blog pull quotes */
.devq-prose blockquote, .fhr-prose blockquote { margin: 1.8em 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--secondary); font-family: var(--font1); font-size: 1.5rem; line-height: 1.4; color: var(--primary); }
.devq-prose blockquote p { font-size: inherit; margin: 0; }
@media (max-width: 767px) {
  .fhr-prose, .devq-prose { font-size: 1rem; }
  .sanctuaryhero-block + .carearticle-block .fhr-prose > p:first-child { font-size: 1.1rem; }
}

/* ==========================================================================
   Accessibility pass 2026-11-09 (WCAG 2.2 AA)
   ========================================================================== */
/* Focus ring readable on any background: white halo inside a terracotta-dark ring (5.4:1 on white; the halo carries it on navy and photos). */
:focus-visible { outline: 3px solid var(--terracotta-dark); outline-offset: 2px; box-shadow: 0 0 0 2px #fff; }
.treatmentgrid-link:focus-visible { outline: none; box-shadow: none; }
/* Footer and breadcrumb links: at least 24px tall targets (2.5.8). */
:where(.fhr-footer, .devq-breadcrumbs, .breadcrumbs, .yoast-breadcrumbs) a:where(:not(.btn)) { display: inline-block; padding-block: 3px; }
/* [customcta] card from old blog posts (functions/fhr-site.php). */
.fhr-customcta { margin: 2em 0; padding: 28px 30px; border-radius: 18px; background: var(--sand, #F6F1EA); border-left: 4px solid var(--terracotta-dark); display: grid; gap: 22px; }
.fhr-customcta.has-img { grid-template-columns: minmax(0, 220px) 1fr; align-items: center; }
.fhr-customcta__img { width: 100%; height: auto; border-radius: 12px; }
.fhr-customcta__title { font-family: var(--font1); font-size: 1.6rem; line-height: 1.2; font-weight: 700; color: var(--primary); margin: 0 0 8px; }
.fhr-customcta__body p:last-of-type { margin-bottom: 16px; }
@media (max-width: 767px) { .fhr-customcta { padding: 22px 20px; } .fhr-customcta.has-img { grid-template-columns: 1fr; } }
.fhr-footer .fhr-footer-phone-local { padding-block: 9px; margin-block: -6px; }

/* ==========================================================================
   Design pass 2026-11-10 (chrome-qa): shared scroller arrows, hero form width,
   footer tap targets on phones
   ========================================================================== */
.fhr-scroller-nav { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
.fhr-scroller-nav[hidden] { display: none; }
.fhr-scroller-btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--primary); border-radius: 50%; background: #fff; color: var(--primary); cursor: pointer; transition: var(--transition-default); }
.fhr-scroller-btn.is-prev .fhr-icon { transform: scaleX(-1); }
.fhr-scroller-btn:hover:not(:disabled) { background: var(--primary); color: #fff; }
.fhr-scroller-btn:disabled { opacity: .35; cursor: default; }
@media (max-width: 1199px) {
  /* stacked hero: form card runs the same width as the headline column */
  .sanctuaryhero-block .sanctuaryhero-form { max-width: 760px; }
}
@media (max-width: 767px) {
  .sanctuaryhero-block .sanctuaryhero-form { max-width: none; }
  .fhr-footer-legal a, .fhr-footer a[href^="mailto:"] { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Paid landing pages (page-landing.php, /lp/): no menus, so the phone number gets the room.
   header.php / footer.php branch on fhr_is_landing(). */
.fhr-header-lp-note { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); white-space: nowrap; }
.fhr-landing .devq-header-actions { gap: 18px; }
.fhr-landing .fhr-header-call-label { display: inline; }
.fhr-landing .fhr-header-call { border-radius: 999px; padding: 14px 22px; font-size: 0.95rem; }
@media (max-width: 767px) {
  .fhr-header-lp-note { display: none; }
  .fhr-landing .fhr-header-call { padding: 11px 15px; font-size: 0.82rem; }
}

/* ---------- Clinical review line (functions/fhr-review.php) ---------- */
.fhr-review { background: var(--sand); border-bottom: 1px solid var(--line); }
.fhr-review p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin: 0; padding: 14px 0; font-size: .92rem; color: var(--ink); }
.fhr-review-by { display: inline-flex; align-items: center; gap: 8px; }
.fhr-review-by .fhr-icon { color: var(--terracotta-dark); width: 18px; height: 18px; }
.fhr-review a { color: var(--primary); font-weight: 700; }
.fhr-review-date { color: #5f6b77; }
@media (max-width: 767px) {
    .fhr-review p { gap: 4px; flex-direction: column; align-items: flex-start; }
}

/* Comparison table (e.g. /programs/levels-of-care/): on phones each row becomes a card, cells labelled by column. */
@media (max-width: 767px) {
  .fhr-prose table.fhr-compare { display: block; overflow: visible; border: 0; }
  .fhr-compare thead { display: none; }
  .fhr-compare tbody, .fhr-compare tr { display: block; }
  .fhr-compare tr { margin: 0 0 16px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
  .fhr-compare tbody th[scope="row"] { display: block; background: var(--tertiary); color: var(--primary); border-bottom: 1px solid var(--line); }
  .fhr-compare td { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; }
  .fhr-compare td::before { content: attr(data-label); font-weight: 700; color: var(--primary); }
  .fhr-compare tr td:last-child { border-bottom: 0; }
}
