/* ==========================================================================
   Blanco Medical Center — main.css
   Theme layer ON TOP of Bootstrap 5. Bootstrap owns the grid/layout
   (rows, cols, navbar, cards, forms, utilities); this file owns the brand
   design tokens, Bootstrap variable overrides, and all visual styling.
   No build step.
   ========================================================================== */

:root {
	--navy: #06367d;
	--navy-600: #0a2f6a;
	--navy-800: #052a63;
	--green: #3b9c46;
	--green-600: #57aa3e;
	--green-700: #3b9c46;
	--cta-grad-start: #3b9c46;
	--cta-grad-end: #79bc36;
	--grad-cta: linear-gradient(90deg, var(--cta-grad-start), var(--cta-grad-end));
	--grad-btn: linear-gradient(90deg, #3b9c46 0%, #79bc36 100%);

	--bg: #f4f7f3;
	--white: #ffffff;
	--card: #ffffff;
	--text: #1f2a37;
	--muted: #6b7280;
	--line: #e3eae1;
	--navy-tint: #eef3fb;
	--star: #f5b301;

	--font-heading: "ivypresto-display", "Ivy Presto Display", Georgia, "Times New Roman", serif;
	--font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--gutter: 24px;
	--container: 1440px;          /* content sections — actual content width */
	--container-chrome: 1680px;   /* header + footer — actual content width */
	--radius: 14px;
	--radius-sm: 10px;
	--radius-btn: 24px;
	--shadow: 0 18px 40px -24px rgba(6, 54, 125, 0.35);
	--shadow-sm: 0 8px 24px -16px rgba(6, 54, 125, 0.4);
	--section-y: clamp(56px, 6vw, 96px);

	/* ---- Bootstrap variable overrides (brand) ---- */
	--bs-primary: #3b9c46;
	--bs-primary-rgb: 59, 156, 70;
	--bs-body-font-family: var(--font-body);
	--bs-body-font-size: 16px;
	--bs-body-color: var(--text);
	--bs-body-bg: var(--bg);
	--bs-border-color: var(--line);
	--bs-link-color: var(--green-700);
	--bs-link-hover-color: var(--green-700);
	--bs-emphasis-color: var(--navy);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
body.logged-in.admin-bar {
	padding-top:70px;
}
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	padding-top:104px;
}

img { max-width: 100%; height: auto; }
a { color: var(--green-700); text-decoration: none; }
/* a:hover { text-decoration: underline; } */

h1, h2, h3, h4 {
	font-family: var(--font-heading);
	color: var(--navy);
	line-height: 1.2;
	margin: 0 0 0.5em;
	font-weight: 400;
}
/* All IvyPresto Display headings render at Regular (400) per Figma. */

p { margin: 0 0 16px; }

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
}

/* ---------- Layout primitives ----------
   Bootstrap provides .container / .row / .col-*. We override the container
   max-width to the brand content widths (content sections 1440, header/footer
   chrome 1680); the +gutter*2 keeps the gutter outside the content width.
   Row gutters are capped at 48px in markup so half-gutter never exceeds the
   24px container padding (prevents horizontal overflow). */

.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.site-header .container,
.site-footer .container { max-width: calc(100% - 130px); }

.section { padding: 120px 0; }
.section--center { text-align: center; }
.section--navy { background: var(--navy); color: #dce7f7; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }

.section__head { max-width: 720px; margin: 0 auto clamp(32px, 4vw, 80px); text-align: center; }
.section__head--left { margin-left: 0; text-align: left; }
.section__heading { font-size: clamp(30.4px, 3vw, 44px); }
.section__sub { color: var(--muted); font-size: 16.8px; margin: 0; }
.section--navy .section__sub { color: #c4d4ee; }

.eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 12px;
	font-weight: 800;
	color: var(--green);
	margin: 0 0 12px;
}
.eyebrow--center { text-align: center; }
.eyebrow--plain { text-transform: none; letter-spacing: normal; font-size: 18px; font-weight: 400; color: var(--muted); }

.rte > :first-child { margin-top: 0; }
.rte > :last-child { margin-bottom: 0; }
.rte a { color: var(--green-700); text-decoration: underline; }

.media-placeholder {
	display: block;
	background: linear-gradient(135deg, #e7eef7, #d7e2f1);
	border-radius: var(--radius);
	min-height: 220px;
	width: 100%;
}

/* ---------- Buttons (theme skin over Bootstrap .btn) ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13.6px 32px;
	border-radius: var(--radius-btn);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
	border: 2px solid transparent;
	text-decoration: none;
	transition: box-shadow 0.3s ease, background-position 0.5s ease, color 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
	background-origin: border-box;
	background-repeat: no-repeat;
}
.btn:hover { text-decoration: none; filter: brightness(1.06); }

/* Variant selectors include legacy BEM aliases (.btn--*) so any content or
   CF7 form still using the old names renders identically. */
.btn-primary,
.btn--primary {
	background-image: var(--grad-btn);
	background-size: 220% 100%;
	background-position: 0% 50%;
	color: #fff;
	border-color: transparent;
	box-shadow: 0 8px 18px -10px rgba(59, 156, 70, 0.75);
}
.btn-primary:hover,
.btn-primary:focus,
.btn--primary:hover,
.btn--primary:focus {
	color: #fff;
	background-position: 100% 50%;
	box-shadow: 0 14px 28px -10px rgba(59, 156, 70, 0.85);
	border-color:  transparent;
}

.btn-light,
.btn--secondary { background: #fff; color: var(--green-700); border-color: #fff; }
.btn-light:hover,
.btn--secondary:hover { color: var(--green-700); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.45); }

.btn-outline-light,
.btn--ghost { background: transparent; color: var(--green-700); border-color: #fff; }
.btn-outline-white{border-color: #fff;}  
.section--navy .btn-outline-light,
.cta-band .btn-outline-light,
.section--navy .btn--ghost,
.cta-band .btn--ghost { color: #fff; }
.btn-outline-light:hover,
.btn--ghost:hover { background: linear-gradient(90deg, #3B9C46 0%, #79BC36 100%); color: #fff; }

.btn-outline-green {
    color: var(--green);
    border-color: var(--green);
}
.btn-outline-green:hover {
    color: #fff;
    background-color: var(--green);
    border-color: var(--green);
}
.cta-band .btn-row .btn-outline-light:hover{
    background: #fff;
    color: var(--green);
}
@media (prefers-reduced-motion: reduce) {
	.btn, .site-header__cta { transition: none; }
}

/* Row of buttons (renamed from btn-group to avoid Bootstrap's .btn-group,
   which strips inner button rounding). */
.btn-row { display: flex; flex-wrap: wrap; gap: 13.6px; }

/* ---------- Pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 9.6px; list-style: none; margin: 40px 0; padding: 0; }
.pill {
	background: var(--navy-tint);
	color: var(--navy);
	border: 1px solid #d5e2f5;
	border-radius: 999px;
	padding: 6.4px 15.2px;
	font-size: 13.6px;
	font-weight: 600;
}

/* ==========================================================================
   Header / Bootstrap navbar
   ========================================================================== */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: fixed; top: 0; z-index: 1030; width: 100%;left:0;}
.site-header .navbar {padding-top: 25px; padding-bottom: 25px; }
.site-header__inner { gap: 24px; }
.site-header__logo { display: inline-flex; align-items: center; padding: 0; margin: 0; }
.site-header__logo img { max-height: 52px; width: auto; }
.site-header__logo-text { font-family: var(--font-heading); font-weight: 700; color: var(--navy); font-size: 20px; }

.primary-menu { gap: 40px; align-items: center; }
.primary-menu .nav-link { padding: 0; color: #111827; font-weight: 500; font-size: 15px; }
.primary-menu .nav-link:hover,
.primary-menu .nav-link.active,
.primary-menu .current-menu-item > .nav-link { color: var(--green-700); }

.navbar-toggler { border: 0; padding: 4px 6.4px; }
.navbar-toggler:focus { box-shadow: none; }

.site-header__actions { display: flex; align-items: center; gap: 17.6px; }
.site-header__cta {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	padding: 8px 28px;
	border-radius: 28px;
	background-image: var(--grad-btn);
	background-size: 200% 100%;
	background-position: 0% 50%;
	color: #fff;
	line-height: 1.15;
	text-align: center;
	white-space: nowrap;
	box-shadow: 0 8px 18px -10px rgba(59, 156, 70, 0.75);
	transition: background-position 0.5s ease, box-shadow 0.3s ease, filter 0.2s ease;
}
.hero-btns {  display: flex; gap: 20px;}
.hero-outline-light-btn { background: transparent;  color: #fff; border-color: #fff;}
.hero-outline-light-btn:hover {
    border-color: transparent !important;
    background: var(--grad-btn) !important;
	background-origin: border-box !important;
    background-repeat: no-repeat !important;
}
.site-header__cta:hover { color: #fff; text-decoration: none; background-position: 100% 50%; filter: brightness(1.05); box-shadow: 0 12px 24px -10px rgba(59, 156, 70, 0.85); }
.site-header__cta-label { font-size: 13px; font-weight: 600; text-transform: uppercase;  opacity: 0.92; }
.site-header__cta-phone { font-size: 20px; font-weight: 700; }

/* Header search toggle (icon button) */
.site-header__search-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border: 0; background: transparent; color: var(--navy); cursor: pointer; border-radius: 50%; transition: background 0.2s ease, color 0.2s ease; }
.site-header__search-toggle:hover { background: var(--navy-tint); color: var(--green-700); }
.site-header__search-icon { width: 20px; height: 20px; }

.site-search { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow); padding: 18.4px 0; z-index: 99; opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity 0.28s ease, transform 0.28s ease; }
.site-search.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .site-search { transition: none; } }

.site-search .container { display: flex; align-items: center; gap: 16px; }
.site-search__close { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; background: transparent; color: var(--muted); cursor: pointer; border-radius: 50%; transition: background 0.2s ease, color 0.2s ease; }
.site-search__close:hover { background: var(--navy-tint); color: var(--navy); }
.site-search__close-icon { width: 20px; height: 20px; }

/* Search form (header panel + mobile drawer + results page) */
.search-form { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; border: 1px solid var(--line); border-radius: 999px; padding: 3.2px 4.8px 3.2px 19.2px; background: var(--bg); }
.search-form__input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--text); padding: 9.6px 0; }
.search-form__input:focus { outline: none; box-shadow: none; }
.search-form__submit { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background-image: var(--grad-btn); color: #fff; cursor: pointer; transition: filter 0.2s ease; }
.search-form__submit:hover { filter: brightness(1.06); }
.search-form__icon { width: 18px; height: 18px; }

/* ==========================================================================
   Hero — navy panel on the left, full-bleed photo blending in on the right
   ========================================================================== */
.hero { position: relative; overflow: hidden;}
.hero.section { padding: 0; }
.site-main--home { position: relative;}
.hero__bg { position: absolute; top: 0; right: 0; bottom: 0; width: 54%; z-index: 1; max-height:1200px; }
.hero__image { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #06367d 1.89%, rgba(6, 54, 125, 0) 37.74%); }
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__content { width: 50%; padding-block: clamp(40px, 5vw, 64px); }
.hero__heading { font-size: clamp(38.4px, 3.4vw, 62.4px); color: #fff; font-weight: 400; margin-bottom: 0; line-height: 1.1;max-width: 560px; }
.hero__divider { display: block; width: 60px; height: 2px; border-radius: 2px; background: var(--green); margin: 22.4px 0; }
.hero__sub { color: #ffffff; font-size: 18px; line-height: 1.6; max-width: 560px; margin-bottom: 45px;}
.hero__stats { display: flex; flex-wrap: wrap; gap: 14.4px 32px; list-style: none; margin: 45px 0 0; padding: 0; }
.hero__stats li { display: flex; align-items: center; gap: 9.6px; font-size: 14px; color: #fff; }
.hero__stat-icon { display: inline-flex; color: #fff; }
.hero__stat-icon .hero__stat-svg { width: 20px; height: 20px; }
.hero__stats strong { color: #fff; font-weight: 700; }

/* ==========================================================================
   Quote strip
   ========================================================================== */
.quote-strip { background: #fff;  }
.quote-strip__inner { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.quote-strip__quote {
	font-family: var(--font-heading);
	font-style: italic;
	font-size: clamp(25.6px, 2.6vw, 38px);
	color: var(--navy);
	line-height: 1.35;
	margin: 0;
}
.quote-strip__divider { width: 120px; height: 1px; background: #e5e7eb;display: block;margin: 35px auto;}
.quote-strip__author { color: var(--muted); font-size: 16px; margin: 0; }
.quote-strip__author::before { content: "— "; }
.quote-strip__name { font-weight: 400; color: var(--muted); }
.quote-strip__creds { font-weight: 700; color: var(--navy); }
.quote-strip__creds::before { content: " | "; color: var(--muted);}

/* ==========================================================================
   Services grid  (layout via Bootstrap row/col; card skin here)
   ========================================================================== */
.services { background: var(--bg); position: relative;  z-index: 3;}
.service-card {
	position: relative;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: 40px;
	box-shadow: var(--shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-btn); border-radius: var(--radius) var(--radius) 0 0; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card__icon { display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; background: var(--navy-tint); border-radius: 50%; margin-bottom: 17.6px; color: var(--navy); }
.service-card__icon-img { width: 28px; height: 28px; object-fit: contain; }
.service-card__icon-svg { width: 26px; height: 26px; }
.service-card__title { font-size: 21.6px; margin-bottom: 8px; }
.service-card__desc { color: var(--muted); font-size: 15.2px; margin-bottom: 16px; }
.service-card__link { color: var(--green-700); font-weight: 600; font-size: 14.4px;    text-transform: capitalize; }
.service-card__link::after { content: " →";     transition: transform 0.2s ease; display: inline-block;}
.services__intro { max-width: 900px; margin: 0; color: var(--muted); font-size: 15.2px; text-align: left; }
.services__intro-row { margin-top: 80px;}
/* ==========================================================================
   Doctor intro
   ========================================================================== */
.doctor-intro { background: #fff; }
.doctor-intro__media { position: relative; }
.doctor-intro__image { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.doctor-intro__media .media-placeholder { min-height: 460px; }
.doctor-intro__badge { position: absolute; left:42px; bottom: 26px; background-color: #3B9C46; color: #fff; font-size: 12.8px; font-weight: 600; padding: 8px 17.6px; border-radius: 24px; box-shadow: 0 10px 20px -10px rgba(59, 156, 70, 0.8); }
.doctor-intro__name { font-family: var(--font-heading); font-size: clamp(33.6px, 3vw, 48px); color: var(--navy); font-weight: 400; line-height: 1.1; margin: 5.6px 0 8px; }
.doctor-intro__tagline { color: var(--green-700); font-weight: 600; font-size: 20px; margin: 0 0 13.6px; }
.doctor-intro__divider { display: block; width: 64px; height: 3px; background: var(--green); border-radius: 2px; margin: 0 0 24px; }
.doctor-intro__bio { color: var(--muted); }

/* ==========================================================================
   Stats band
   ========================================================================== */
.stats-band__list { list-style: none; margin: 0; padding: 0; text-align: center; }
.stats-band__list li { display: flex; flex-direction: column; gap: 5.6px; }
.stats-band__list strong { font-family: var(--font-heading); font-size: clamp(38.4px, 4vw, 64px); font-weight: 400; color: #fff; }
.stats-band__list span { color: rgba(255, 255, 255, 0.7); font-size: 16px; font-weight: 600; }
.stats-band{ padding: 90px 0;}

/* ==========================================================================
   Feature list  (section columns via Bootstrap; the media collage keeps its
   own decorative overlapping-image grid)
   ========================================================================== */
.feature-list__intro { color: var(--muted); margin-bottom: 32px; }
.feature-list__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.feature { display: flex; gap: 20px; align-items: flex-start; }
.feature__icon { flex: 0 0 auto; width: 65px; height: 65px; display: inline-flex; align-items: center; justify-content: center;  border-radius: 50%; color: var(--green); }
/* .feature__icon-svg { width: 24px; height: 24px; } */
.feature__title { font-family: var(--font-body); font-weight: 700; font-size: 18px; color: var(--navy); margin-bottom: 4px; }
.feature__desc { color: var(--muted); font-size: 15.2px; margin: 0;line-height: 1.4;}
.feature-list__media { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 1fr); min-height: 440px; }
.feature-list__media::before { content: ""; position: absolute; right: 0; bottom: -6%; width: 55%; height: 55%; background: radial-gradient(circle, rgba(99, 177, 59, 0.28), transparent 70%); z-index: 0; }
.feature-list__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-list__img--back { grid-column: 3 / 7; grid-row: 1 / 5; z-index: 1; }
.feature-list__img--front { grid-column: 1 / 5; grid-row: 3 / 7; z-index: 2; }
.feature-list__media .media-placeholder { min-height: 420px; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { background: #fff; }
.testimonial-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); }
.testimonial-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17.6px; }
.testimonial-card__mark { width: 34px; height: 34px; color: var(--green); flex: 0 0 auto; }
.testimonial-card__stars { color: var(--star); font-size: 16.32px; letter-spacing: 2px; }
.testimonial-card__quote {
    font-style: normal;
    color: var(--muted);
    margin: 0 0 24px;
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    letter-spacing: 0%;
}
.testimonial-card__name { display: block; font-weight: 700; color: var(--navy); margin: 0 0 2.4px; }
.testimonial-card__role { display: block; color: var(--green-700); font-size: 13.12px; margin: 0; }
.testimonial-card { display: flex; flex-direction: column; }
.testimonial-card__person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-card__avatar-img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-card__meta { display: flex; flex-direction: column; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { background: var(--grad-cta); color: #fff; padding: 0; }
.cta-band__inner { min-height: 260px; }
.cta-band__media { align-self: end; }
.cta-band__image {    
	height: 430px;
    width: 100%;
    margin: 0 auto;
    position: absolute;
    bottom: 0;
    left: -70px;
    max-width: 328px;
    object-fit: contain;
    object-position: left center;
	}
.cta-band__content { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 100px 0 100px 60px; }
.cta-band__text { max-width: 850px; }
.cta-band__heading { color: #fff; font-size: 39px; margin-bottom: 12px; }
.cta-band__sub { color: rgba(255, 255, 255, 0.85); font-size: 18px; margin-bottom: 0; }
.cta-band__content .btn-row { margin-top: 0; flex-shrink: 0; }

/* ==========================================================================
   Benefits grid
   ========================================================================== */
.benefits { background: #fff; }
.benefit-card { 
	background: var(--card);
	border-radius: 10px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	border: 1px solid #3B9C46;
	box-shadow: 0px 2px 10px 0px #0000000D;
	padding: 24px;
 }
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit-card__media {
	    position: relative;
    height: 100px;
    border-radius: 10px;
}
.benefit-card__image { width: 100%; height: 100%; object-fit: cover; }
.benefit-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
 }
.benefit-card__title { 
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 14.4px;
	z-index: 2;
	color: #fff;
	margin: 0;
	font-family: Manrope;
	font-weight: 700;
	font-size: 16px;
	line-height: 24px;
 }
.benefit-card__body { padding-top: 20px; }
.benefit-card__desc { color: var(--muted); font-size: 14.88px; margin: 0; }
.benefits__cta { text-align: center; margin-top: 56px; }

/* ==========================================================================
   SEO text block (location)
   ========================================================================== */
.seo-block__body { color: var(--muted); }
.seo-block__image { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.seo-block__media .media-placeholder { min-height: 320px; }
.seo-block.seo-block--img-left {  background-color: #fff;}

/* ==========================================================================
   Blog teaser + post cards
   ========================================================================== */
.blog-teaser { background: var(--bg); }
.post-card__image { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius);}
.post-card__body { padding: 45px; display: flex; flex-direction: column; gap: 12px; }
.post-card__meta { display: flex; align-items: center; gap: 9.6px; }
.post-card__cat { background: var(--green); color: #fff; font-size: 12.8px; font-weight: 700; padding: 4.8px 13.6px; border-radius: 999px; }
.post-card__read { color: var(--muted); font-size: 12.48px; }
.post-card__title { font-family: var(--font-body); font-weight: 700; font-size: 20.8px; margin: 4px 0; }
.post-card__title a { color: var(--navy); }
.post-card__excerpt { color: var(--muted); font-size: 14.72px; margin: 0; }
.post-card__link { 
    color: var(--green-700);
    margin-top: auto;
    font-weight: 800;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
	    text-transform: capitalize;
 }
 .post-card__link svg {
    margin-left: 10px;
}
.post-card__link:hover {
    color: var(--navy);
}
.post-card__link:hover svg path{
    stroke: var(--navy);
}
/* .post-card__link::after { content: " >"; } */
.blog-teaser__cta { text-align: center; margin-top: 70px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: #fff;padding: 0;}
.contact__eyebrow { color: var(--muted); font-size: 15.2px; margin: 0 0 8px; }
.contact__map {     
    min-height: 420px;
    position: absolute;
    top: 0;
    left: 0;
    width: 49%;
    height: 100%;}
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.contact__map-placeholder { height: 100%; min-height: 420px; }
.contact__panel { display: flex; flex-direction: column; justify-content: center; }
.contact__inner {
	padding-top: 80px;
	padding-bottom: 80px;
}
.form-group {
    margin-bottom: 30px;
}
/* Legacy 2-up row used by CF7 forms generated via tools/install-cf7.php. */
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .form-label { font-size: 13.6px; font-weight: 600; color: var(--navy); margin-bottom: 5.6px; }
.contact-form .form-control {
	padding: 12px 14.4px; border: 2px solid #DCDCDC; border-radius: var(--radius-sm);
	color: var(--text); background: transparent;    height: 50px;
}
.contact-form .form-control:focus,
.wpcf7-form input:not([type="submit"]):focus,
.wpcf7-form textarea:focus {outline-offset: 0; border-color: var(--green); background: #fff; box-shadow: none; }
.wpcf7-form input:not([type="submit"]),
.wpcf7-form textarea {
	width: 100%; padding: 12px 14.4px; border: 2px solid #DCDCDC; border-radius: 16px;
	font: inherit; color: var(--text); background:transparent;height:50px;
}
.wpcf7-form p { margin: 0 0 16px; }
.wpcf7-form .wpcf7-submit,
.contact-form .btn { margin-top: 8px; }
.wpcf7-form .wpcf7-textarea.form-control {
    height: 160px;
}
.form-control::placeholder {
    color: #777777;
    opacity: 1;
}

/* ==========================================================================
   Page banner / blog / team / single
   ========================================================================== */
.page-banner {position: relative; padding: clamp(48px, 4vw, 48px) 0; overflow: hidden;}
.page-banner__bg { position: absolute; inset: 0; z-index: 0; }
.page-banner__image { width: 100%; height: 100%; object-fit: cover; }
.page-banner--image::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(6, 54, 125, 0.92), rgba(6, 54, 125, 0.62)); }
.page-banner__inner { position: relative; z-index: 2; }
.page-banner .eyebrow { color: #9fe0a6; }
.page-banner__title { 

color: #fff; font-size: clamp(30.4px, 4vw, 48px); margin: 0;
    font-family: var(--font-heading);
    line-height: 1.2;
 }
.page-banner__subtitle { color: #c4d4ee; margin-top: 10px; max-width: 640px; }
.page-banner__desc { color: #c4d4ee; margin-top: 8px; }
.page-banner__meta { color: #b7c8e4; font-size: 14.4px; margin-top: 8px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { margin-top: 16px; }
.breadcrumbs__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 13.6px; }
.breadcrumbs__item { display: flex; align-items: center; gap: 8px; color: #c4d4ee; }
.breadcrumbs__item:not(:first-child)::before { content: "/"; opacity: 0.5; }
.breadcrumbs__link { color: #c4d4ee; text-decoration: none; }
.breadcrumbs__link:hover { color: #fff; text-decoration: underline; }
.breadcrumbs__current { color: #fff; font-weight: 600; }

/* ==========================================================================
   About Us page sections
   ========================================================================== */
.section--navy .eyebrow--plain { color: #c4d4ee; }

/* About — Intro */
.about-intro__image { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.about-intro__body { color: var(--text); }
.about-intro__cta { margin-top: 24px; }

/* About — Highlights (icon cards) */
.about-highlights .section__head { margin-bottom: clamp(28px, 3vw, 48px); }
.highlight { text-align: center; padding: 32px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.highlight:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.highlight__icon { display: flex; align-self: center; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: #fff; margin-bottom: 20px; }
.highlight__icon-img { width: 40px; height: 40px; object-fit: contain; }
.highlight__title { color: var(--navy); font-size: 20px; margin: 0 0 8px; }
.highlight__desc { color: var(--muted); font-size: 15px; margin: 0; }

/* About — Process (checklist) */
.about-process__body { color: var(--text); }
.about-process__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.about-process__item { position: relative; padding-left: 38px; color: var(--text); font-weight: 500; }
.about-process__item::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; font-weight: 700; }
.about-process__cta { margin-top: 28px; }
.about-process__image { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }

/* About — Testimonials (navy) */
.about-testimonials .testimonial { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); padding: 28px; color: #eaf1fb; }
.testimonial__quote { font-family: var(--font-heading); font-size: 18px; line-height: 1.6; margin: 0 0 20px; quotes: "\201C" "\201D"; }
.testimonial__quote::before { content: open-quote; color: var(--green-600); }
.testimonial__quote::after { content: close-quote; color: var(--green-600); }
.testimonial__meta { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial__avatar-img { width: 100%; height: 100%; object-fit: cover; }
.testimonial__name { color: #fff; font-weight: 700; }
.about-testimonials__cta, .section__cta { text-align: center; margin-top: clamp(28px, 3vw, 48px); }

/* ==========================================================================
   Contact page (contact_details layout)
   ========================================================================== */
.contact-details__intro { color: var(--muted); margin-bottom: 28px; }
.contact-info { display: grid; gap: 22px; }
.contact-info__location { display: grid; gap: 18px; }
.contact-info__location + .contact-info__location { margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact-info__title { color: var(--navy); font-size: 18px; margin: 0; }
.contact-info__item { display: flex; align-items: flex-start; gap: 14px; }
.contact-info__icon { flex: 0 0 44px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy-tint); color: var(--green); }
.contact-info__svg { width: 20px; height: 20px; }

.contact-info__location .contact-info__item:nth-child(2) .contact-info__text {padding-top: 4px; }
.contact-info__location .contact-info__item:last-child .contact-info__text {padding-top: 4px; }
.contact-info__text { color: var(--text); font-size: 15.5px; line-height: 1.6; padding-top: 10px; }


.contact-info__address { display: block; }
.contact-info__text a { color: var(--navy); font-weight: 600; }
.contact-info__text a:hover { color: var(--green-700); }
.contact-info__link { display: inline-block; margin-top: 6px; color: var(--green-700); text-decoration: underline; font-weight: 700; font-size: 13.2px; text-transform: uppercase; letter-spacing: 0.04em; }
.contact-details__form-heading { color: var(--navy); font-size: 22px; margin: 0 0 20px; }
.contact-details__map { margin-top: clamp(48px, 5vw, 80px); line-height: 0; }
.contact-details__map iframe { width: 100%; height: 420px; border: 0; display: block; }
.contact-details__map .media-placeholder { height: 420px; }

/* ==========================================================================
   Team / Clinicians page (team_grid layout)
   ========================================================================== */
.team-grid .section__head { margin-bottom: clamp(28px, 3vw, 48px); }
.team-grid__list { justify-content: center; }
.team-grid .team-card__image { aspect-ratio: 1 / 1; }
.team-card__media { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.team-card:hover .team-card__media { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-grid__empty { text-align: center; color: var(--muted); }

/* ==========================================================================
   Services page (service_cards / icon_service_list / service_philosophy)
   ========================================================================== */
.section--tint { background: var(--navy-tint); }

/* Primary service cards (whole card clickable) */
.service-block { display: flex; flex-direction: column; height: 100%; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease; }
a.service-block:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-block__image { width: 100%; height: auto; display: block; }
.service-block__body { display: flex; flex-direction: column; gap: 10px; }
.service-block__title { color: var(--navy); font-size: clamp(20px, 2vw, 25px); margin: 0; }
.service-block__desc { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.service-block__cta { margin-top: 6px; color: var(--green-700); font-weight: 600; text-transform: capitalize; letter-spacing: 0.04em; font-size: 14.4px; }
a.service-block .service-block__cta::after { content: " \2192"; transition: transform 0.2s ease; display: inline-block; }
a.service-block:hover .service-block__cta::after { transform: translateX(4px); }

/* Icon service list (conditions) */
.icon-service { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 26px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); }
.icon-service__icon { flex: 0 0 auto; width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #f4f7f3; }
.icon-service__icon-img { width: 30px; height: 30px; object-fit: contain; }
.icon-service__label { color: var(--navy); font-weight: 600; font-size: 15px; line-height: 1.35; }

/* Treatment philosophy */
.service-philosophy__body { color: var(--text); }
.service-philosophy__cta { margin-top: 24px; }
.service-philosophy__image { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }

/* ==========================================================================
   Service details — Content + Image (choose image side)
   ========================================================================== */
.content-media__image { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.content-media__body { color: var(--text); }
.content-media__cta { margin-top: 24px; }
.content-media--img-left .content-media__content { padding-left: clamp(0px, 2vw, 28px); }
.content-media--img-right .content-media__content { padding-right: clamp(0px, 2vw, 28px); }
/* Zebra striping when several stack together on a service-details page. */
.service-details-page .content-media:nth-of-type(even) { background: var(--navy-tint); }

/* ==========================================================================
   Blog index — list + sidebar
   ========================================================================== */
.blog-list { display: grid; gap: 28px; }
.post-list-item { display: flex; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.post-list-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-list-item__media { flex: 0 0 40%; max-width: 40%; display: block; overflow: hidden; }
.post-list-item__image { width: 100%; height: 100%; min-height: 200px; aspect-ratio: 3 / 2; object-fit: cover; }
.post-list-item__body { flex: 1 1 auto; padding: 26px 28px; display: flex; flex-direction: column; gap: 10px; }
/* Shared blog meta row (category · author · date) — used on cards and single posts */
.post-meta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; margin: 0 0 4px; }
.post-meta-row > * + *::before { content: "\00b7"; margin-right: 12px; color: var(--muted); }
.post-meta-row__cat { color: var(--green-700); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.post-meta-row__cat:hover { color: var(--navy); }
.post-meta-row__author, .post-meta-row__date { color: var(--muted); }
.post-meta-row__author a { color: var(--muted); font-weight: 600; }
.post-meta-row__author a:hover { color: var(--green-700); }
.post-meta-row__avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; vertical-align: middle; margin-right: 8px; }
/* Logo fallback when a post has no featured image */
.post-list-item__image--logo { object-fit: contain; padding: 30px; background: var(--navy-tint); }
.post-list-item__title { font-size: clamp(20px, 2vw, 25px); margin: 0; }
.post-list-item__title a { color: var(--navy); }
.post-list-item__title a:hover { color: var(--green-700); }
.post-list-item__excerpt { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin: 0; }
.post-list-item__btn { align-self: flex-start; margin-top: 6px; }

/* Sidebar widgets */
.sidebar { display: grid; gap: 26px; }
.widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.widget__title { color: var(--navy); font-size: 19px; margin: 0 0 18px; padding-bottom: 12px;  text-align: center;}
.widget__note { color: var(--muted); margin: 0; }

/* Sidebar search (posts only) */
.sidebar-search { position: relative; display: flex; }
.sidebar-search__input { width: 100%; padding: 12px 46px 12px 15px; border: 2px solid #dcdcdc; border-radius: var(--radius-sm); font: inherit; color: var(--text); background: #fff; }
.sidebar-search__input:focus { outline: none; outline-offset: 0; border-color: var(--green); }
.sidebar-search__submit { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--green); cursor: pointer; }
.sidebar-search__submit:hover { color: var(--navy); }
.sidebar-search__icon { width: 20px; height: 20px; }

/* Categories list */
.widget--categories .widget__list { list-style: none; margin: 0; padding: 0; }
.widget--categories .widget__list li { padding: 9px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.widget--categories .widget__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.widget--categories .widget__list a { color: var(--text); font-weight: 600; }
.widget--categories .widget__list a:hover { color: var(--green-700); }

/* Contact form widget (dark) */
.widget--form { background: var(--navy); border-color: var(--navy); }
.widget--form .widget__title { color: #fff; }
.widget--form .wpcf7-form p { margin: 0 0 28px; }
.widget--form .wpcf7-form input:not([type="submit"]),
.widget--form .wpcf7-form textarea { background: rgba(255, 255, 255, 0.08); border: 2px solid rgba(255, 255, 255, 0.2); color: #fff; border-radius: var(--radius-sm); }
.widget--form .wpcf7-form input:not([type="submit"])::placeholder,
.widget--form .wpcf7-form textarea::placeholder { color: #b7c8e4; }
.widget--form .wpcf7-form input:not([type="submit"]):focus,
.widget--form .wpcf7-form textarea:focus { border-color: var(--green); outline: none; background: rgba(255, 255, 255, 0.12); }
.widget--form .wpcf7-form .wpcf7-submit { width: 100%; margin-top: 4px; }

/* Search results summary (above the posts) */
.search-summary { color: var(--navy); font-size: clamp(20px, 2.2vw, 26px); margin: 0 0 24px; }
.search-summary__none { color: var(--muted); }

/* 404 page */
.error-404__text { color: var(--muted); max-width: 620px; margin: 0 auto 32px; }
.error-404__form { max-width: 620px; margin: 0 auto 32px; text-align: left; }
.error-404__form .wpcf7-form p { margin: 0 0 16px; }

/* Single post — header (title in content), full-width featured image */
.single-post__header { margin-bottom: clamp(20px, 3vw, 28px); }
.single-post__title { color: var(--navy); font-size: clamp(28px, 3.4vw, 42px); margin: 4px 0 12px; }
.single-post__meta { margin: 0; }
.single-post__hero { margin-bottom: clamp(28px, 4vw, 48px); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.single-post__hero-img { width: 100%; /* aspect-ratio: 16 / 7; */ object-fit: cover; display: block; }

.team-card { text-align: center; }
.team-card__image { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.team-card__name { margin: 16px 0 2.4px; font-size: 19.2px; }
.team-card__name a { color: var(--navy); }
.team-card__role { color: var(--green-700); font-weight: 600; font-size: 14.4px; margin: 0; }

.single-team__image { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.single-team__contact { display: flex; flex-direction: column; gap: 9.6px; margin-top: 20px; }
.single-team__link { color: var(--navy); font-weight: 600; }
.single-team__role { color: var(--green-700); font-weight: 700; margin: 4px 0; }
.single-team__tagline { color: var(--muted); margin-bottom: 16px; }
.single-team__bio { color: var(--text); }
.specialties { columns: 2; list-style: none; padding: 0; }
.specialties li { padding: 5.6px 0 5.6px 22.4px; position: relative; color: var(--muted); }
.specialties li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.post-meta { color: var(--muted); font-size: 14.4px; margin: 0; }
.section--navy .post-meta { color: #b7c8e4; }

.pagination { display: block; margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 0; flex-wrap: wrap; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.page-numbers { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--navy); text-decoration: none; font-weight: 600; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
a.page-numbers:hover { background: var(--navy-tint); border-color: var(--navy); }
.page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.page-numbers.dots { border-color: transparent; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { color: #c4d4ee; }
.site-footer__main { padding: clamp(48px, 5vw, 72px) 0 clamp(32px, 3vw, 48px); }
.site-footer__logo img { max-height: 54px; margin-bottom: 19.2px;}
.site-footer__logo-text { font-family: var(--font-heading); color: #fff; font-size: 20.8px; font-weight: 700; }
.site-footer__desc { color: #b7c8e4; font-size: 14px; max-width: 352px; }
.site-footer__heading { color: #fff; font-size: 14px; margin-bottom: 17.6px; text-transform: uppercase;font-family: Manrope;
    font-weight: 800;}
.site-footer__subheading { color: #fff; font-size: 12px; margin: 24px 0 9.6px;text-transform: uppercase;font-weight: 700;}
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 9.6px; }
.footer-menu a { color: #c4d4ee; font-size: 14px; }
.footer-menu a:hover { color: #fff; text-decoration: none; }
.site-footer__address { color: #b7c8e4; font-size: 14px; margin-bottom: 8px; white-space: normal; }
.footer-location{ color: #b7c8e4; font-size: 14px; margin-bottom: 15px; white-space: normal; }
.footer-location .direction-link {
    color: #b7c8e4;
    text-decoration: underline;
}
.footer-location .direction-link:hover {
     color: var(--green-700);
}
.site-footer__directions { color: var(--green); font-weight: 600; font-size: 14.4px; display: inline-block; margin-bottom: 12px; }
.site-footer__link.footer-link-phn {
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #fff;
}
.footer-link-phn:hover {
    color: var(--green-700);
}
.site-footer__link { display: block; color: #c4d4ee; margin-bottom: 5.6px; font-size: 14px;}
.site-footer__link:hover { color: #fff; text-decoration: none; }
.site-footer__hours { list-style: none; margin: 0; padding: 0; font-size: 14.4px; }
.site-footer__hours li { display: flex; gap: 16px; padding: 3.2px 0; color: #b7c8e4; }
.site-footer__social { display: flex; gap: 9.6px; list-style: none; margin: 20px 0 0; padding: 0; }
.site-footer__social a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #fff; }
.site-footer__social a:hover { background: var(--green); text-decoration: none; }
.site-footer__social svg { width: 18px; height: 18px; }

.site-footer__bar { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); text-align: center; }
.site-footer__copyright { margin: 0; font-size: 13px; color: #a9bcda; }
.site-footer__legal { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.site-footer__legal li::before { content: "·"; margin-right: 8px; color: #6f86ad; }
.site-footer__legal a { color: #a9bcda; font-size: 13px; }
.site-footer__legal a:hover { color: #fff; text-decoration: none; }

/* ==========================================================================
   Responsive  (Bootstrap handles the grid collapse; these are the bespoke
   sections — navbar drawer, hero, feature collage, CTA)
   ========================================================================== */
@media (max-width: 991.98px) {



}

@media (max-width: 600px) {
	.hero__stats { gap: 20px 32px; }
	.site-footer__bar { flex-direction: column; align-items: center; }
	.contact-form__row { grid-template-columns: 1fr; }
}

/* FAQ accordion (faq_accordion layout, FAQ CPT) */
.faq-accordion { display: grid; gap: 16px; }
.faq-item[open] { border-color: var(--green); }
.faq-item__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font-family: var(--font-heading); font-size: clamp(17px, 1.8vw, 20px); color: var(--navy); font-weight: 600; }
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after { content: ""; flex: 0 0 auto; width: 12px; height: 12px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg); transition: transform 0.2s ease; margin-right: 4px; }
.faq-item[open] .faq-item__q::after { transform: rotate(225deg); }
.faq-item__q:hover { color: var(--green-700); }
.faq-item__answer { padding: 0 24px 22px; color: var(--muted); line-height: 1.65; }
.review-schema-wrapper {
    margin-top: 35px;
}
.clientreviews {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 30px;
}
.clientreviews .heading {
    font-size: 28px;
} 
.about-highlights { background-color: #fff;	}
.about-highlights  .highlight { background: #f4f7f3;}
.service-cards { background-color: #fff;}
.service-cards .service-block { background: #f4f7f3;}
/* ---- Dropdown submenus ---- */
.primary-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.wpcf7-not-valid-tip {display: none;}
.team-contact-info {
    display: flex;
    gap: 50px;
    font-size: 20px;
}

.sidebar .widget--form textarea.wpcf7-textarea {
    height: 100px;
}
.card-full-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.doctor-intro__content .btn-row {gap: 40px;}
.icon-service-list__grid {
    justify-content: center;
} 
.page-template-template-services .contact-details {
    background-color: #fff;
}
.single-team__link svg {
    height: 25px;
    width: 25px;
    margin-right: 10px;
}
.widget--form .wpcf7-spinner{display:none;}
.service-cards__grid {
    justify-content: center;
}
.wpcf7 form .wpcf7-response-output {
    color: #fff;
}

.error-404__form .wpcf7 form .wpcf7-response-output ,
.contact-details__form .wpcf7 form .wpcf7-response-output ,
 .contact .wpcf7 form .wpcf7-response-output {
    color: #000;
}
.about-testimonials {
    background: var(--navy-tint);
}
.wpcf7 .wpcf7-submit:disabled {
    border-color: var(--green-700);
    color: #fff;
}
.post-card__media:hover {
    filter: brightness(0.8);
}
.post-card__title:hover a {
    color: var(--green-700);
}
.testimonials__grid {
    justify-content: center;
}
.cta-band .btn.btn-light:hover {
    background-color: #fff !important;
    filter: none !important;
}
.service-card:hover .service-card__link::after {
    transform: translateX(4px);
}

/* ============================================================
   Homepage scroll-reveal animations
   Hidden state applies only under <html class="has-reveal">, which the
   inline head script sets on the front page when IntersectionObserver is
   supported and the visitor has NOT requested reduced motion. Class is set
   before first paint, so there is no flash of hidden content.
   main.js adds .anim-in when an element scrolls into view.
   ============================================================ */

.has-reveal .section__head,
.has-reveal .service-card,
.has-reveal .services__intro-row > [class*="col-"],
.has-reveal .content-media__content,
.has-reveal .content-media__media,
.has-reveal .seo-block__content,
.has-reveal .seo-block__media,
.has-reveal .quote-strip__inner,
.has-reveal .doctor-intro__media,
.has-reveal .doctor-intro .eyebrow,
.has-reveal .doctor-intro__name,
.has-reveal .doctor-intro__tagline,
.has-reveal .doctor-intro .pills,
.has-reveal .doctor-intro__badge,
.has-reveal .doctor-intro__bio,
.has-reveal .stats-band__list > [class*="col-"],
.has-reveal .feature-list__intro,
.has-reveal .feature-list__media,
.has-reveal .feature,
.has-reveal .testimonials .row > [class*="col-"],
.has-reveal .cta-band__content,
.has-reveal .cta-band__media,
.has-reveal .benefit-card,
.has-reveal .benefits__cta,
.has-reveal .post-card,
.has-reveal .blog-teaser__cta {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s cubic-bezier(0.16, 0.68, 0.43, 0.99), transform 0.7s cubic-bezier(0.16, 0.68, 0.43, 0.99);
}
.has-reveal .anim-in {
	opacity: 1 !important;
	transform: none !important;
}
.page-insurances .benefit-card { padding: 20px; display: flex; flex-direction: column; }
.page-insurances .benefit-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.page-insurances .benefit-card__link:focus-visible { outline: 2px solid #3b9c46; outline-offset: 4px; border-radius: 10px; }

.page-insurances .benefit-card__media {
  height: 150px; padding: 20px;
  background: #fff; border: 1px solid #e6efe7; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.page-insurances .benefit-card__media::after { display: none; } /* remove dark overlay */

.page-insurances .benefit-card__image {
  width: auto; height: auto; max-width: 100%; max-height: 100%;
  object-fit: contain; transition: transform .25s;
}
.page-insurances .benefit-card__link:hover .benefit-card__image { transform: scale(1.04); }

.page-insurances .benefit-card__title { position: static; color: #1f2a24; margin: 0; }
.page-insurances .benefit-card__body { padding-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.page-insurances .benefit-card__desc { color: #3b9c46; font-size: 14px; word-break: break-all; }
.page-insurances .benefit-card__desc::after { content: " \2197"; }
.page-insurances .benefit-card__link:hover .benefit-card__desc { text-decoration: underline; }
.hero__sub-heading p {
    font-weight: 700;
    color: #fff;
}
.hero__sub-heading{
    margin-top: 12px;
}
.bg-green-light {
    background-color: #d9ebd4;
}
.home .blog-teaser {
    background-color: #d9ebd4;
}
@media (prefers-reduced-motion: reduce) {
	.has-reveal .anim-in,
	.has-reveal [class] {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}


.hero__bg img.hero__image.anim-in {
    max-width: 1200px;
    max-height: 1200px;
}

.quote-strip {
    position: relative;
    z-index: 2;
}