/* ---------------------------------------------------------------------------
   site.css -- the "wp-custom-css" of the original WordPress site plus the
   small amount of glue this replica needs. Everything here is design, not
   content: the text itself lives in content/*.toml and is rendered by the
   Go engine into the .srv templates.
   --------------------------------------------------------------------------- */

/* Self-hosted web fonts (latin + latin-ext subsets; no third-party font CDN
   is contacted). Heebo is one variable file, declared once per weight exactly
   like the original site's Google Fonts stylesheet. */
@font-face {
	font-family: 'Heebo';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url(../fonts/heebo-300-700-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Heebo';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url(../fonts/heebo-300-700-latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Heebo';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(../fonts/heebo-300-700-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Heebo';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(../fonts/heebo-300-700-latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Playfair Display';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/playfair-display-italic-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Playfair Display';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/playfair-display-italic-latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- WordPress "custom CSS" (unchanged from the original site) ----------- */

h5.sub-title { text-align: center; }

.footer-copyright {
	font-size: 1.04em !important;
	font-weight: bold;
	padding: 0 !important;
}

h5.sub-title { padding-bottom: 2em; }

#concerns {
	padding-bottom: 1.5em;
	font-size: .9em;
}

.main-header { padding: 20px 0 15px 0; }
.main-header-w {
	border-bottom: 6px solid #ccbbaa;
}

.main-header-w * {
	font-size: 1.06em !important;
	font-weight: 600 !important;
}

li.menu-item { padding: 0; }
.top-bar-links-box-w { padding: 0;border:0; }

h5 {
	color: #444444 !important;
	font-size: 1.7em;
}

h5.sub-title { padding-bottom: 1em; }

strong { color: #444444; }

a { color: #444444; }

div.fwi-content { font-size: 1.15em !important; }

h5.fwi-header {
	font-size: 1.3em !important;
	padding-bottom: 1em;
}

div.banner-text { font-size: 1.05em !important; }

li { padding-bottom: 1em; }

.os-feature-with-icon { padding:2.7em; }

.os-ti-content-left { font-size: 1.2em !important; padding:1.8em 1.8em 2.5em 1.8em !important; }

.fwi-content-w { text-align: left !important; }

img.alignright { margin: 0 0 10px 15px; }

@media (min-width: 800px) {
	#areas-of-expertise { font-size: 1.1em; }
}

@media (max-width: 800px) {
	#areas-of-expertise { font-size: .9em; }
}

/* --- Visual Composer custom classes, one block per page ------------------ */
/* Home */
.vc_custom_1705979053350{background-color: #f1f5f6 !important;}
.vc_custom_1707717595486{padding-top: 2.5em !important;padding-right: 2em !important;padding-bottom: 3em !important;padding-left: 2em !important;}
/* About */
.vc_custom_1705980180274{background-color: rgba(237,233,225,0.27) !important;*background-color: rgb(237,233,225) !important;}
/* FAQ */
.vc_custom_1706043243484{background-color: rgba(237,237,239,0.5) !important;*background-color: rgb(237,237,239) !important;}
/* Sleep class */
.vc_custom_1706256286314{background-color: rgba(237,237,239,0.5) !important;*background-color: rgb(237,237,239) !important;}
.vc_custom_1706245585812{padding-top: 20px !important;padding-right: 20px !important;padding-left: 20px !important;background-color: #ffffff !important;}
/* Therapy intensive */
.vc_custom_1706147626644{background-color: rgba(237,237,239,0.5) !important;*background-color: rgb(237,237,239) !important;}
/* Services */
.vc_custom_1706227888946{background-color: #f1f5f6 !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.vc_custom_1706228287005{background-color: #f1f5f6 !important;}
/* Contact */
.vc_custom_1706252384642{background-color: rgba(210,214,205,0.25) !important;*background-color: rgb(210,214,205) !important;}
.vc_custom_1674178483565{padding-top: 20px !important;padding-right: 20px !important;padding-left: 20px !important;}
.vc_custom_1674161433580{background-color: #ccddee !important;}

/* --- Page-level layout from the original inline <style> blocks ----------- */

#important-things {
	font-size: 1.2em;
	padding: .5em .75em 2em .75em;
}
#intensive-video {
	padding: 0;
}
@media (min-width: 760px) {
	#important-things {
		float: left; font-size: 1.2em; width: 50%;
		padding: 0 2em 2em 0.5em; min-width: 300px;
	}
	#intensive-video {
		padding: 0 0 2em 0; float: left;
		width: 50%; min-width: 300px;
	}
}

/* The original hides the quote block's left column on every screen size. */
.os-tq-content-left { display: none; }

/* --- Glue for the replica ------------------------------------------------- */

/* The Hushmail widget inserts its iframe without a width, so the browser's
   300px default would apply; make it fill the column like on the original. */
iframe.hush-secure-form-iframe {
	width: 100%;
	border: 0;
	display: block;
}

/* The engine wraps the page body in #middle; WordPress did not, so drop its
   default margins to keep the section backgrounds full-bleed. */
#middle { margin: 0; padding: 0; }

/* Images that came from the old uploads folder. */
img.alignright.wp-image-34 { max-width: 100%; height: auto; }

/* --- The FAQ accordion -----------------------------------------------------
   Opened and closed entirely by CSS. site.js only flips the os-faq-open class
   on the item; the answer's height comes from a grid row that goes 0fr -> 1fr,
   so the browser measures the content itself. No element is measured in
   script, no height is written inline, no timer or transitionend is involved:
   there is nothing an interrupting tap or an odd mobile browser can leave in a
   half-open state. The base stylesheet sets .os-faq-answer to display:none,
   which has to be undone here (and on .os-faq-answer-i in the theme's mobile
   media query, where the base rule uses !important -- so !important it is).
   --------------------------------------------------------------------------- */

.os-faq-item .os-faq-answer,
.os-faq-item .os-faq-answer .os-faq-answer-i {
	display: block !important;
}

/* The collapsing box. Its rows hold the answer; overflow:hidden clips the
   content while the row is shorter than it. */
.os-faq-item .os-faq-answer {
	display: grid !important;
	grid-template-rows: 0fr;
	padding: 0;
	opacity: 0;
	overflow: hidden;
	transition: grid-template-rows .4s ease, padding .4s ease, opacity .3s ease;
}
.os-faq-item.os-faq-open .os-faq-answer {
	grid-template-rows: 1fr;
	padding: 20px 40px 0 45px;
	opacity: 1;
}

/* grid items have min-height:auto, which would let the content push the row
   past 0fr instead of being clipped. */
.os-faq-item .os-faq-answer > .os-faq-answer-i { min-height: 0; }

.os-faq-item .os-faq-question-w { cursor: pointer; }
.os-faq-item .os-faq-question-w:focus-visible { outline: 2px solid #2F82B7; outline-offset: 4px; }

/* While a question is open its boxed plus becomes the matching boxed minus
   from the theme's icon font (rotating the plus instead would turn the box
   into a diamond). */
.os-faq-item.os-faq-open .os-faq-question-w .icon-w i::before { content: "\eb19"; }

@media (max-width: 767px) {
	.os-faq-item.os-faq-open .os-faq-answer { padding: 20px 10px 0 45px; }
}

/* Nothing may animate when the visitor asked for less motion. */
@media (prefers-reduced-motion: reduce) {
	.os-faq-item .os-faq-answer { transition: none; }
}

/* --- Mobile menu ----------------------------------------------------------
   Same CSS-driven collapse as the FAQ: the theme shows the menu with
   display:none -> display:block and site.js animated its height. Here the box
   is always a grid and only its row changes, so the open/closed state is one
   class and nothing is measured in script.
   --------------------------------------------------------------------------- */
.mobile-menu-toggler, .mobile-menu-search-toggler { cursor: pointer; }

.mobile-header-w .mobile-header-menu-w {
	display: grid !important;
	grid-template-rows: 0fr;
	padding-top: 0;
	padding-bottom: 0;
	overflow: hidden;
	transition: grid-template-rows .4s ease, padding .4s ease;
}
.mobile-header-w .mobile-header-menu-w.active {
	grid-template-rows: 1fr;
	padding-top: 20px;
	padding-bottom: 20px;
}
.mobile-header-w .mobile-header-menu-w > .menu { min-height: 0; }

@media (prefers-reduced-motion: reduce) {
	.mobile-header-w .mobile-header-menu-w { transition: none; }
}

/* --- Search overlay -------------------------------------------------------
   The theme keeps the dimming layer at display:none and the old script faded
   it in; the form itself slides down through its own CSS transition.
   --------------------------------------------------------------------------- */
body.active-search-form .main-search-form-overlay { display: block; }

/* --- The admin interface ---------------------------------------------------
   The editor is generated by srvsite.go, not by the page templates, so all of
   its styling lives here. It reuses the public site's palette: the pale blue
   header (#ccddee), the tan rules and footer bar (#ccbbaa / #d5c9bb), the
   off-white section fills (#f1f5f6) and the #313131 body text. Heebo for text,
   Playfair Display italic for the accent type. No JavaScript is involved.
   --------------------------------------------------------------------------- */

.admin-page {
	margin: 0;
	background-color: #fff;
	color: #313131;
	font-family: 'Heebo', Helvetica, Arial, sans-serif;
	font-weight: 300;
	letter-spacing: .3px;
	line-height: 1.5;
}

.admin-page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
.admin-page > .admin-footer { margin-top: auto; }

.admin-page a { color: #313131; }
.admin-page a:hover { color: #000; }

.admin-masthead {
	background-color: #ccddee;
	border-bottom: 6px solid #ccbbaa;
	padding: 1.5em 0;
}

.admin-masthead-i {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 1.4em;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: .6em 1.4em;
}

.admin-masthead h1 {
	margin: 0;
	font-size: 1.3em;
	font-weight: 700;
	letter-spacing: 0;
}

.admin-masthead .admin-site-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-style: italic;
	font-weight: 400;
	font-size: 1.05em;
	color: #444;
}

.admin-masthead .admin-who {
	font-size: .85em;
	color: #567;
}

.admin-masthead .admin-nav { display: flex; align-items: baseline; gap: 1.2em; }
.admin-masthead .admin-nav a {
	font-size: .9em;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	padding-bottom: 1px;
}
.admin-masthead .admin-nav a:hover { border-bottom-color: #313131; }

.admin-tabs {
	max-width: 1100px;
	margin: 0 auto;
	padding: 1.6em 1.4em 0 1.4em;
	display: flex;
	flex-wrap: wrap;
	gap: .4em;
}

.admin-tabs a {
	padding: .5em 1.1em;
	background-color: #f1f5f6;
	border: 1px solid #dfe6e7;
	border-radius: .35em .35em 0 0;
	text-decoration: none;
	font-size: .93em;
	color: #455;
}

.admin-tabs a:hover { background-color: #e8eef0; }

.admin-tabs a.active {
	background-color: #fff;
	border-color: #ccbbaa;
	border-bottom-color: #fff;
	color: #111;
	font-weight: 700;
}

.admin-main {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 1.4em 4em 1.4em;
}

.admin-card {
	background-color: #fff;
	border: 1px solid #ccbbaa;
	border-radius: 0 .4em .4em .4em;
	padding: 1.4em 1.5em 1.6em 1.5em;
	box-shadow: 0 0 60px rgba(204, 221, 238, .5);
}

.admin-card h2 {
	margin: 0 0 .15em 0;
	font-size: 1.35em;
	font-weight: 700;
	letter-spacing: 0;
}

.admin-card .admin-subtitle {
	font-family: 'Playfair Display', Georgia, serif;
	font-style: italic;
	font-weight: 400;
	color: #567;
	margin: 0 0 1.4em 0;
}

.admin-card .admin-subtitle code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-style: normal;
	font-size: .85em;
	background-color: #f1f5f6;
	padding: .1em .4em;
	border-radius: .2em;
}

.admin-field { margin-bottom: 1.3em; }

.admin-field label {
	display: block;
	font-weight: 700;
	font-size: .95em;
	margin-bottom: .35em;
	letter-spacing: 0;
}

.admin-field .admin-key {
	font-weight: 300;
	color: #8c9a9e;
	font-size: .8em;
	margin-left: .55em;
}

.admin-field input[type=text],
.admin-field textarea {
	width: 100%;
	box-sizing: border-box;
	font-family: inherit;
	font-size: .95em;
	padding: .55em .7em;
	border: 1px solid #dfe6e7;
	border-radius: .3em;
	background-color: #fbfcfc;
	color: #313131;
}

.admin-field input[type=text]:focus,
.admin-field textarea:focus {
	outline: none;
	border-color: #b5c9d5;
	background-color: #fff;
	box-shadow: 0 0 0 3px rgba(204, 221, 238, .6);
}

.admin-field textarea {
	min-height: 9em;
	resize: vertical;
	line-height: 1.55em;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: .86em;
}

.admin-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1em;
	margin-top: 1.2em;
	padding-top: 1.2em;
	border-top: 1px solid #eef1f2;
}

.admin-page .admin-save {
	font-family: inherit;
	font-size: 1em;
	font-weight: 700;
	padding: .6em 1.8em;
	border: none;
	border-radius: .3em;
	background-color: #6f8fa3;
	color: #fff;
	cursor: pointer;
	letter-spacing: .4px;
	transition: background-color .2s ease;
}

.admin-page .admin-save:hover { background-color: #5d7c8f; }

.admin-saved {
	color: #2b6b48;
	font-weight: 700;
	font-size: .9em;
}

.admin-quiet-link { font-size: .9em; color: #667; }
.admin-quiet-link:hover { color: #111; }

/* The footer bar mirrors the public site's #d5c9bb footer. */
.admin-footer {
	margin-top: 3em;
	background-color: #d5c9bb;
	padding: 1.4em;
	text-align: center;
	font-size: .82em;
	color: #4a443c;
}
.admin-footer p { margin: 0; }

.admin-main-login { padding: 3em 1.4em 4em 1.4em; }
.admin-card-login { max-width: 30em; }

/* --- The (single) admin login form ---------------------------------------- */

.admin-page .admin-form { max-width: 24em; }

.admin-page .admin-form label {
	display: block;
	font-weight: 700;
	font-size: .95em;
	margin-bottom: .4em;
	letter-spacing: 0;
}

.admin-page .admin-form input[type=text],
.admin-page .admin-form input[type=password] {
	font-family: inherit;
	font-size: 1em;
	padding: .55em .7em;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	border: 1px solid #dfe6e7;
	border-radius: .3em;
	background-color: #fbfcfc;
	margin-bottom: 1.1em;
}

.admin-page .admin-form input[type=text]:focus,
.admin-page .admin-form input[type=password]:focus {
	outline: none;
	border-color: #b5c9d5;
	background-color: #fff;
	box-shadow: 0 0 0 3px rgba(204, 221, 238, .6);
}

.admin-page .admin-form input[type=submit] {
	font-family: inherit;
	font-size: 1em;
	font-weight: 700;
	padding: .6em 1.8em;
	cursor: pointer;
	border: none;
	border-radius: .3em;
	background-color: #6f8fa3;
	color: #fff;
	letter-spacing: .4px;
	transition: background-color .2s ease;
}

.admin-page .admin-form input[type=submit]:hover { background-color: #5d7c8f; }

.admin-page .admin-form .error {
	color: #9b3b33;
	font-weight: 700;
	margin: .9em 0 0 0;
}

@media (max-width: 640px) {
	.admin-masthead-i { display: block; }
	.admin-masthead .admin-nav { margin-top: .6em; }
	.admin-card { padding: 1.1em; }
}
