:root {
  --practice-deep: #284855;
  --practice-ink: #152f3b;
  --practice-cyan: #66b1d0;
  --practice-sky: #c1e1eb;
  --practice-cream: #fffbf4;
  --practice-ice: #e8f1f0;
  --booking-gold: #e5b34c;
  --booking-gold-hover: #f4ce78;
  --booking-ink: #192e36;
}

.site-header.gm-header, .footer {
  background: var(--practice-deep);
  color: var(--practice-cream);
}
.site-header.gm-header {
  position: relative;
  z-index: 5;
  border: 0;
  border-bottom: 1px solid #678b9a;
}
.site-header .header-inner, .footer .footer-inner {
  width: min(88%, 1340px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.8rem);
}
.gm-header .header-inner { min-height: 80px; }
.gm-header .gm-wordmark, .footer .gm-wordmark {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font: 400 clamp(1.75rem, 2.45vw, 2.42rem)/1 var(--serif);
  letter-spacing: -.018em;
  text-decoration: none;
  color: var(--practice-cream);
}
.gm-header .gm-rose, .footer .gm-rose {
  display: block;
  flex: none;
  width: 2.7rem;
  height: 2.8rem;
}
.gm-header .gm-rose img, .footer .gm-rose img {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.site-header.gm-header #nav {
  display: flex;
  margin: 0 0 0 auto;
  padding: 0;
  position: static;
  align-items: center;
  gap: clamp(1rem, 2.1vw, 2.1rem);
  overflow: visible;
  border: 0;
  box-shadow: none;
  color: var(--practice-cream);
  background: var(--practice-deep);
}
.gm-header #nav a, .footer .footer-links a {
  font: 500 .96rem/1.45 var(--sans);
  text-decoration: none;
  color: var(--practice-cream);
}
.gm-header #nav > a, .gm-header #nav .service-nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .4rem 0;
}
.gm-header #nav a:hover, .footer .footer-links a:hover, .gm-header #nav a[aria-current="page"] {
  color: var(--practice-sky);
  text-decoration: underline;
  text-decoration-color: var(--practice-cyan);
  text-underline-offset: .28em;
}
.gm-header .menu-btn, .gm-header #nav > .mobile-appointment { display: none; }
.gm-header .header-cta, .gm-header #nav > .mobile-appointment {
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .75rem 1.2rem;
  border: 1px solid;
  border-radius: .3rem;
  font: 700 .94rem/1.35 var(--sans);
  text-decoration: none;
  box-shadow: none;
  white-space: nowrap;
}
.gm-header .header-cta { display: inline-flex; }
.gm-header .header-cta,
.gm-header #nav > .mobile-appointment,
main a:is(.button, .btn)[href="https://graceinhealings.intakeq.com/booking"] {
  background: var(--booking-gold);
  border-color: #84621e;
  color: var(--booking-ink);
  font-weight: 700;
}
.gm-header .header-cta:hover,
.gm-header #nav > .mobile-appointment:hover,
main a:is(.button, .btn)[href="https://graceinhealings.intakeq.com/booking"]:hover {
  background: var(--booking-gold-hover);
  border-color: #725318;
  color: var(--booking-ink);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: .2em;
}
.gm-header .header-cta:focus-visible,
.gm-header #nav > .mobile-appointment:focus-visible,
main a:is(.button, .btn)[href="https://graceinhealings.intakeq.com/booking"]:focus-visible {
  outline: 3px solid #183945;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #fffaf0;
}
.gm-header #nav .service-nav { position: relative; display: flex; align-items: center; }
.gm-header #nav .service-toggle {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  width: 2rem;
  min-height: 44px;
  color: var(--practice-cream);
  background: transparent;
}
.gm-header #nav .service-list {
  position: absolute;
  inset: 100% auto auto -.75rem;
  display: grid;
  width: max-content;
  max-width: 20rem;
  margin: 0;
  padding: .4rem .95rem .65rem;
  border: 1px solid #748f9b;
  border-radius: 0 0 .35rem .35rem;
  background: var(--practice-deep);
}
.gm-header #nav .service-list[hidden] { display: none; }
.gm-header #nav .service-list a { padding: .65rem .2rem; }
.gm-header :focus-visible, .footer :focus-visible {
  outline: 3px solid var(--practice-sky);
  outline-offset: 3px;
}
.welcome-note {
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--practice-cyan);
  background: var(--practice-ice);
  color: #244654;
  text-align: center;
  font: 400 clamp(.98rem, 1.22vw, 1.12rem)/1.5 var(--sans);
}
.welcome-note p { margin: 0; text-wrap: balance; }
.welcome-note strong { font-weight: 700; white-space: nowrap; }
.footer .footer-inner { min-height: 104px; padding-block: 1.7rem; flex-wrap: wrap; }
.footer .footer-inner p { margin: 0; font-size: .94rem; color: #d6eaf0; }
.footer .footer-links { display: flex; align-items: center; gap: .5rem 1.2rem; margin-left: auto; flex-wrap: wrap; }
.footer .footer-links a { padding: .35rem 0; }
.practice-chat-launcher {
  border-color: var(--practice-deep);
  background: var(--practice-sky);
  color: var(--practice-ink);
}
.practice-chat-launcher:hover { background: #dceff5; }
.practice-chat-header { background: var(--practice-deep); }
.chat-embedded .welcome-note { display: none; }

/* The articles, FAQ and service pages use the same palette as the home and booking pages. */
body:has(.blog-article, .journal-intro, .faq-page, .article, .assistant-page) {
  --brand: var(--practice-deep);
  --ink: var(--practice-ink);
  --muted: #415c66;
  --paper: #faf7ef;
  --line: #aec2c9;
}
.journal-group > h2 { border-color: #6da0b3; }
.journal-entry h3, .faq-page h2, .article h2 { color: #284855; }
.faq-page .under, .article .under, .reading a, .crumb a { color: #21556c; }
.blog-article .practice, .faq-page .faq-aside { background: #e4f1f5; border-color: #83a8b6; }
.blog-article .practice { border-inline-start-color: #4e8aa2; }

@media (max-width: 1040px) {
  .site-header.gm-header .header-inner { position: static; min-height: 68px; justify-content: space-between; }
  .gm-header .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: auto;
    min-width: 76px;
    min-height: 44px;
    padding: .45rem .7rem;
    border: 1px solid #96b6c3;
    border-radius: .35rem;
    background: var(--practice-deep);
    color: var(--practice-cream);
    cursor: pointer;
  }
  .gm-header .menu-btn span { width: 12px; height: 7px; border-block: 1px solid currentColor; }
  .gm-header .header-cta { display: none; }
  .gm-header #nav > .mobile-appointment { display: inline-flex; width: fit-content; margin-top: .4rem; }
  .site-header.gm-header #nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
    margin: 0;
    padding: .6rem 6% 1.1rem;
    border-block: 1px solid #7593a1;
    box-shadow: 0 .7rem 1rem #142d3226;
  }
  .site-header.gm-header #nav.open { display: grid; align-items: start; gap: .1rem; }
  .gm-header #nav .service-nav { display: grid; grid-template-columns: auto 3rem; justify-content: start; }
  .gm-header #nav .service-toggle { width: 44px; }
  .gm-header #nav .service-list {
    position: static;
    grid-column: 1 / -1;
    border: 0;
    border-inline-start: 1px solid #839eab;
    border-radius: 0;
    box-shadow: none;
  }
}
@media (max-width: 650px) {
  .site-header .header-inner, .footer .footer-inner { width: calc(100% - 2.5rem); }
  .site-header.gm-header .header-inner { position: static; min-height: 65px; }
  .gm-header .gm-wordmark { font-size: clamp(1.58rem, 5.7vw, 1.82rem); }
  .gm-header .gm-rose { width: 2rem; height: 2.2rem; }
  .welcome-note { padding: .55rem .65rem; }
  .footer .footer-inner { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .footer .footer-links { margin: 0; gap: .2rem 1rem; }
}
