/**
 * Varallo Orthodontics — site chrome (header + footer) for the 2026-08-31 refresh.
 * Loaded site-wide. Scoped to the new .vo-* markup so nothing else is touched.
 */

:root {
	--vo-navy: #2a4369;
	--vo-cyan: #57c6ea;
	--vo-pink: #ea579b;
	--vo-cream: #fbeee6;
	--vo-max: 1360px;
	--vo-header-h: 128px;
}

/* ============ header ============ */

body header.vo-header {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 900;
	width: 100%;
	height: auto;
	min-height: 0;
	padding: 0;
	margin: 0;
	background: #fff;
	box-shadow: 0 1px 0 rgba(42, 67, 105, .08);
	font-family: vinila, "Helvetica Neue", Arial, sans-serif;
}

/* ---- utility bar ---- */

body header.vo-header .vo-utility {
	background: var(--vo-navy);
	color: #fff;
	font-size: 14px;
}

body header.vo-header .vo-utility-inner {
	max-width: 100%;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 26px;
	min-height: 34px;
}

body header.vo-header .vo-locations { position: relative; }

body header.vo-header .vo-locations-toggle {
	appearance: none;
	border: 0;
	background: none;
	color: #fff;
	font: inherit;
	padding: 6px 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

body header.vo-header .vo-locations-toggle i { color: var(--vo-cyan); }

body header.vo-header .vo-caret {
	width: 8px;
	height: 8px;
	border-right: 1.5px solid #fff;
	border-bottom: 1.5px solid #fff;
	transform: rotate(45deg) translateY(-2px);
}

body header.vo-header .vo-locations-toggle[aria-expanded="true"] .vo-caret {
	transform: rotate(-135deg) translateY(-2px);
}

body header.vo-header .vo-locations-menu {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 20;
	background: #fff;
	color: var(--vo-navy);
	min-width: 300px;
	padding: 22px 26px;
	box-shadow: 0 18px 40px rgba(42, 67, 105, .18);
	display: grid;
	gap: 18px;
}

body header.vo-header .vo-locations-menu[hidden] { display: none; }

body header.vo-header .vo-locations-item h5 {
	margin: 0 0 6px;
	font-size: 13px;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--vo-navy);
}

body header.vo-header .vo-locations-item a {
	display: block;
	color: var(--vo-navy);
	font-size: 15px;
	line-height: 1.45;
	text-decoration: none;
}

body header.vo-header .vo-locations-item a:hover { color: var(--vo-pink); }

body header.vo-header .vo-locations-phone { margin-top: 5px; font-weight: 500; }

body header.vo-header .vo-textus {
	color: #fff;
	font-size: 14px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

body header.vo-header .vo-textus i { color: var(--vo-cyan); }
body header.vo-header .vo-textus:hover { color: var(--vo-cyan); }

/* ---- main bar ---- */

body header.vo-header .vo-main {
	display: flex;
	align-items: stretch;
	gap: 0;
	min-height: 94px;
	padding-left: 24px;
	background: #fff;
}

body header.vo-header .vo-logo {
	position: static;
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	width: auto;
	max-width: 230px;
	margin: 0 34px 0 0;
	padding: 12px 0;
}

body header.vo-header .vo-logo svg,
body header.vo-header .vo-logo img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 58px;
}

body header.vo-header .vo-nav {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
}

body header.vo-header .vo-nav-list {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 26px;
	margin: 0;
	padding: 0;
}

body header.vo-header .vo-nav-list > li { margin: 0; padding: 0; position: relative; }

/* the mega-menu children live in the off-canvas panel; depth=1 keeps them out */
body header.vo-header .vo-nav-list ul { display: none; }

body header.vo-header .vo-nav-list > li > a {
	color: var(--vo-navy);
	font-size: 17px;
	text-decoration: none;
	white-space: nowrap;
	padding: 6px 0;
	display: block;
}

body header.vo-header .vo-nav-list > li > a:hover,
body header.vo-header .vo-nav-list > li.current-menu-item > a { color: var(--vo-pink); }

body header.vo-header .vo-phones {
	display: flex;
	align-items: center;
	gap: 26px;
	flex: 0 0 auto;
	margin: 0 26px;
}

body header.vo-header .vo-phone-label {
	display: block;
	font-size: 12px;
	color: #6f7d92;
	margin-bottom: 2px;
}

body header.vo-header .vo-phone a {
	color: var(--vo-navy);
	font-size: 17px;
	text-decoration: none;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

body header.vo-header .vo-phone a i { color: var(--vo-cyan); font-size: 15px; }
body header.vo-header .vo-phone a:hover { color: var(--vo-pink); }

body header.vo-header .vo-consult {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	background: var(--vo-pink);
	color: #fff;
	text-decoration: none;
	font-size: 15px;
	letter-spacing: 2.2px;
	text-transform: uppercase;
	padding: 0 44px;
	margin: 0;
	transition: background .2s ease;
}

body header.vo-header .vo-consult:hover { background: #d64488; color: #fff; }

/* hamburger: mobile only */
body header.vo-header .menu-toggle { display: none; }

@media (max-width: 1500px) {
	body header.vo-header .vo-nav-list { gap: 16px; }
	body header.vo-header .vo-nav-list > li > a { font-size: 15px; }
	body header.vo-header .vo-phones { gap: 16px; margin: 0 16px; }
	body header.vo-header .vo-phone a { font-size: 15px; }
	body header.vo-header .vo-consult { padding: 0 24px; font-size: 13px; }
}

@media (max-width: 1320px) {
	body header.vo-header .vo-nav-list { gap: 12px; }
	body header.vo-header .vo-nav-list > li > a { font-size: 14px; }
	body header.vo-header .vo-phones { gap: 12px; margin: 0 12px; }
	body header.vo-header .vo-phone a { font-size: 14px; }
	body header.vo-header .vo-consult { padding: 0 18px; font-size: 12px; }
}

@media (max-width: 1024px) {
	/* below the desktop breakpoint the existing hamburger + off-canvas panel takes over */
	body header.vo-header .vo-nav,
	body header.vo-header .vo-phones { display: none; }

	body header.vo-header .vo-main {
		align-items: center;
		min-height: 74px;
		padding-right: 0;
	}

	body header.vo-header .vo-logo { max-width: 180px; margin-right: auto; }

	body header.vo-header .vo-consult {
		padding: 0 20px;
		font-size: 12px;
		letter-spacing: 1.6px;
		align-self: stretch;
	}

	body header.vo-header .menu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 62px;
		align-self: stretch;
		cursor: pointer;
	}
}

@media (max-width: 640px) {
	body header.vo-header .vo-utility-inner { justify-content: space-between; gap: 12px; font-size: 12px; }
	body header.vo-header .vo-utility { font-size: 12px; }
	body header.vo-header .vo-textus { font-size: 12px; }
	body header.vo-header .vo-consult { display: none; }
}

/* ============ footer ============ */

footer .vo-footer-bottom {
	background: var(--vo-cream);
	padding: 70px 0 90px;
}

footer .vo-footer-inner {
	max-width: var(--vo-max);
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 60px;
	align-items: center;
}

footer .vo-footer-brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	text-align: center;
}

footer .vo-footer-brand .footer-logo { display: block; max-width: 230px; }

footer .vo-footer-brand .footer-logo svg,
footer .vo-footer-brand .footer-logo img { display: block; width: 100%; height: auto; }

footer ul.vo-footer-social {
	list-style: none;
	display: flex;
	gap: 22px;
	margin: 0;
	padding: 0;
}

footer ul.vo-footer-social a { color: var(--vo-navy); font-size: 19px; }
footer ul.vo-footer-social a:hover { color: var(--vo-pink); }

footer .vo-footer-locations {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
	min-height: 340px;
}

footer .vo-accordion {
	background: #fbdce8;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

footer .vo-loc + .vo-loc { border-top: 1px solid rgba(42, 67, 105, .12); }

footer .vo-loc-toggle {
	appearance: none;
	width: 100%;
	border: 0;
	background: none;
	cursor: pointer;
	font: inherit;
	color: var(--vo-navy);
	font-size: 26px;
	text-align: left;
	padding: 26px 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

footer .vo-loc-sign {
	position: relative;
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

footer .vo-loc-sign::before,
footer .vo-loc-sign::after {
	content: "";
	position: absolute;
	background: var(--vo-navy);
	left: 0;
	top: 8px;
	width: 18px;
	height: 2px;
}

footer .vo-loc-sign::after { transform: rotate(90deg); }
footer .vo-loc.is-open .vo-loc-sign::after { transform: rotate(0deg); }

footer .vo-loc-body { padding: 0 28px 30px; }
footer .vo-loc-body[hidden] { display: none; }

footer .vo-loc-body p { margin: 0 0 14px; }

footer .vo-loc-body a {
	color: var(--vo-navy);
	font-size: 17px;
	line-height: 1.5;
	text-decoration: none;
}

footer .vo-loc-body a:hover { color: var(--vo-pink); }

footer .vo-footer-map { display: block; position: relative; overflow: hidden; }

footer .vo-footer-map img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 900px) {
	footer .vo-footer-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	footer .vo-footer-locations { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	footer .vo-footer-map { height: 240px; }
}

/* --- live QA fixes (2026-09-18) --------------------------------------- */

/* Theme rule `header a.logo` carries top/transform; it survived the position
   reset and pulled the logo up out of the white bar. */
body header.vo-header .vo-logo {
	top: auto;
	left: auto;
	right: auto;
	bottom: auto;
	transform: none;
}

/* Icon-only social links: the visually-hidden helper lives on the homepage
   wrapper only, so these labels printed next to the icons in the footer. */
body footer .screen-reader-text,
body header.vo-header .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* --- Start With a Free Consultation (theme .footer-top) to the design --- */
body footer .footer-top {
	background: #2a4369;
	padding: 96px 0 104px;
}

body footer .footer-top .row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	grid-template-rows: auto auto auto auto;
	column-gap: 80px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 40px;
	align-items: start;
}

/* let the heading, list, snippet, form and photo become grid items */
body footer .footer-top .cta-col,
body footer .footer-top .cta-wrapper {
	display: contents;
}

body footer .footer-top .cta-wrapper h2 {
	grid-column: 1;
	grid-row: 1;
	margin: 0 0 18px;
	color: #57c6ea;
	font-size: 60px;
	line-height: 1.08;
}

body footer .footer-top .cta-wrapper h2 span { color: #ea579b; }

body footer .footer-top .cta-wrapper ol {
	grid-column: 1;
	grid-row: 2;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
	counter-reset: vo-step;
}

body footer .footer-top .cta-wrapper ol li {
	position: relative;
	margin: 0 0 18px;
	padding-left: 62px;
	min-height: 44px;
	display: flex;
	align-items: center;
	color: #fff;
	font-size: 17px;
	line-height: 1.5;
	counter-increment: vo-step;
}

body footer .footer-top .cta-wrapper ol li::before {
	content: counter(vo-step);
	position: absolute;
	left: 0;
	top: 0;
	width: 44px;
	height: 44px;
	border: 2px solid #ea579b;
	border-radius: 50%;
	color: #ea579b;
	font-size: 17px;
	line-height: 40px;
	text-align: center;
}

body footer .footer-top .cta-wrapper .vk-rating-snippet {
	grid-column: 1;
	grid-row: 3;
	margin: 0 0 36px;
	color: #fff;
	font-size: 17px;
	line-height: 1.6;
}

body footer .footer-top .bg-col {
	grid-column: 1;
	grid-row: 4;
	width: 100%;
	max-width: 450px;
	height: 340px;
	background-size: cover;
	background-position: center;
	border-radius: 4px;
}

body footer .footer-top .gform_wrapper {
	grid-column: 2;
	grid-row: 1 / span 4;
	margin: 8px 0 0;
	max-width: none;
}

body footer .footer-top .gform_wrapper ul.gform_fields { display: block; }

body footer .footer-top .gform_wrapper li.gfield { margin: 0 0 18px !important; }

body footer .footer-top .gform_wrapper .gfield_label,
body footer .footer-top .gform_wrapper .gform_heading { display: none; }

body footer .footer-top .gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]),
body footer .footer-top .gform_wrapper select,
body footer .footer-top .gform_wrapper textarea {
	width: 100% !important;
	height: 58px;
	padding: 0 20px !important;
	border: 0;
	border-radius: 2px;
	background: #fff;
	color: #2a4369;
	font-size: 17px;
	line-height: 58px;
}

body footer .footer-top .gform_wrapper textarea { height: 120px; line-height: 1.5; padding: 16px 20px !important; }

body footer .footer-top .gform_wrapper input::placeholder,
body footer .footer-top .gform_wrapper select { color: #7c8aa2; }

body footer .footer-top .gform_wrapper .ginput_container_radio ul.gfield_radio {
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 0;
}

body footer .footer-top .gform_wrapper .ginput_container_radio ul.gfield_radio li {
	flex: 1 1 0;
	margin: 0 !important;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .45);
	border-radius: 2px;
}

body footer .footer-top .gform_wrapper .ginput_container_radio label {
	display: block;
	padding: 16px 18px;
	color: #fff;
	font-size: 15px;
}

body footer .footer-top .gform_wrapper .gfield_consent_label,
body footer .footer-top .gform_wrapper .ginput_container_consent label,
body footer .footer-top .gform_wrapper .gfield_description {
	color: #fff;
	font-size: 13px;
	line-height: 1.55;
}

body footer .footer-top .gform_wrapper .gfield_consent_label a,
body footer .footer-top .gform_wrapper .gfield_description a { color: #57c6ea; }

body footer .footer-top .gform_wrapper .gform_footer { margin: 26px 0 0; padding: 0; }

body footer .footer-top .gform_wrapper input[type="submit"] {
	min-width: 150px;
	height: 56px;
	padding: 0 34px;
	border: 0;
	border-radius: 2px;
	background: #f7c9da;
	color: #2a4369;
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .3s ease-in-out, color .3s ease-in-out;
}

body footer .footer-top .gform_wrapper input[type="submit"]:hover {
	background: #ea579b;
	color: #fff;
}

@media only screen and (max-width: 1024px) {
	body footer .footer-top { padding: 64px 0 72px; }
	body footer .footer-top .row {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto;
		padding: 0 24px;
	}
	body footer .footer-top .cta-wrapper h2,
	body footer .footer-top .cta-wrapper ol,
	body footer .footer-top .cta-wrapper .vk-rating-snippet,
	body footer .footer-top .bg-col,
	body footer .footer-top .gform_wrapper {
		grid-column: 1;
		grid-row: auto;
	}
	body footer .footer-top .cta-wrapper h2 { font-size: 40px; }
	body footer .footer-top .bg-col { max-width: none; height: 240px; margin: 0 0 32px; }
}

body footer .footer-top .gform_wrapper .ginput_container_radio ul.gfield_radio li {
	display: flex;
	align-items: center;
	padding: 0 16px;
	min-height: 58px;
}

body footer .footer-top .gform_wrapper .ginput_container_radio li input[type="radio"] {
	flex: 0 0 auto;
	margin: 0 10px 0 0;
}

body footer .footer-top .gform_wrapper .ginput_container_radio label { padding: 0; }

/* --- 2026-09-18 revision round ---------------------------------------- */

/* Office labels are cyan in the design, the number stays navy. */
body header.vo-header .vo-phone-label { color: var(--vo-cyan); }

/* Desktop sub menus open on hover (menu now renders children). */
body header.vo-header .vo-nav-list > li { position: relative; }

body header.vo-header .vo-nav-list ul.sub-menu {
	display: block;
	position: absolute;
	top: 100%;
	left: -18px;
	z-index: 40;
	min-width: 250px;
	margin: 0;
	padding: 10px 0;
	list-style: none;
	background: #fff;
	box-shadow: 0 14px 34px rgba(42, 67, 105, .16);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .2s ease-in-out, transform .2s ease-in-out, visibility .2s;
}

body header.vo-header .vo-nav-list > li:hover > ul.sub-menu,
body header.vo-header .vo-nav-list > li:focus-within > ul.sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

body header.vo-header .vo-nav-list ul.sub-menu li { margin: 0; }

body header.vo-header .vo-nav-list ul.sub-menu a {
	display: block;
	padding: 9px 22px;
	color: var(--vo-navy);
	font-size: 15px;
	line-height: 1.4;
	text-decoration: none;
	white-space: normal;
}

body header.vo-header .vo-nav-list ul.sub-menu a:hover { color: var(--vo-pink); }

body header.vo-header .vo-nav-list ul.sub-menu ul.sub-menu { top: 0; left: 100%; }

/* Consult photo overhangs the navy band into the cream section, per design. */
body footer .footer-top .bg-col {
	position: relative;
	z-index: 3;
	height: 470px;
	margin-bottom: -132px;
}

body footer .footer-logos {
	position: relative;
	z-index: 1;
	padding-top: 168px;
}

/* Footer map follows the open office row. */
body footer .vo-footer-maps { position: relative; }

body footer .vo-footer-maps .vo-footer-map[hidden] { display: none; }

@media only screen and (max-width: 1024px) {
	body footer .footer-top .bg-col { height: 300px; margin-bottom: -90px; }
	body footer .footer-logos { padding-top: 120px; }
}

/* the map wrapper takes the grid cell the single map link used to hold */
body footer .vo-footer-maps { display: block; position: relative; min-height: 340px; }

body footer .vo-footer-maps .vo-footer-map { position: absolute; inset: 0; height: auto; }

@media only screen and (max-width: 1024px) {
	body footer .vo-footer-maps { min-height: 240px; }
}

/* Consult photo: the portrait used in the design (pulled from the design PDF). */
body footer .footer-top .bg-col {
	background-image: url("../img/phase-b/consult-photo-team.jpg");
	background-position: center 22%;
	background-repeat: no-repeat;
}

/* Interior banner: no gap above it, and a top border matching the other three. */
body.page-template-default .banner {
	margin-top: 0;
	border-top: 20px solid #bce2ee;
}

body.page-template-default .banner video { margin-top: 0; }

@media screen and (max-width: 830px) {
	body.page-template-default .banner {
		margin-top: 0;
		border-top: 10px solid #bce2ee;
	}
}


/* --- 2026-09-18 round 3 --- */

/* Header phone labels: navy, tight. */
body header.vo-header .vo-phone-label {
	color: #2a4369;
	line-height: 1;
	margin: 0;
}

/* Consult photo reaches further into the cream band, as in the design. */
body footer .footer-top .bg-col {
	height: 550px;
	margin-bottom: -215px;
}

body footer .footer-logos { padding-top: 250px; }

@media (max-width: 1024px) {
	body footer .footer-top .bg-col { height: 380px; margin-bottom: -140px; }
	body footer .footer-logos { padding-top: 170px; }
}

/* Location tabs: open row light pink, closed row a shade darker (design). */
footer .vo-accordion { background: #fbe2e8; }

footer .vo-loc:not(.is-open) { background: #f6c6d1; }

footer .vo-loc + .vo-loc { border-top: 0; }

/* The nav column was narrower than its own list, so the phone block printed on
   top of "Contact Us" between 1024px and 1500px. Size the column to content. */
body header.vo-header .vo-nav { flex: 1 0 auto; }

/* --- 2026-09-18: mobile hamburger sat under the utility bar ---------------
   The legacy theme rule is .menu-toggle { position: absolute; top: 0;
   height: 90px } relative to the header, which predates the utility bar, so
   at mobile the 3-bar icon rendered at y=45 - inside the 51px navy bar.
   Anchor it in the white .vo-main row instead and center the bars in it. */
@media (max-width: 1024px) {
	body header.vo-header .menu-toggle {
		position: relative;
		top: auto;
		right: auto;
		height: auto;
	}

	body header.vo-header .menu-toggle span {
		top: 50%;
		left: 50%;
		margin: 0;
		transform: translate(-50%, -50%);
	}
}

/* --- 2026-09-18: interior spacing after the header rebuild -----------------
   Scoped to the no-header page template only (free-consult et al). The
   homepage (page-template-homepage-nc) is untouched by all three rules. */

/* style.css has body.page-template-no-header section.content { margin-top: 90px },
   written for the old 90px fixed header. The new header is in-flow/sticky and
   145px tall, so that margin is now a dead white band under it. */
body.page-template-no-header section.content { margin-top: 0; }

/* The 250px top padding on .footer-logos exists to clear the consult photo
   that overhangs the navy band - but style.css hides .footer-top entirely on
   this template, so the padding was 250px of empty white above the logos.
   Back to the theme's own 4em. */
body.page-template-no-header footer .footer-logos { padding-top: 4em; }

/* The sticky pink testimonial rail was pinned at top: 80px, sized for the old
   header, so it slid up underneath the 145px header while scrolling. */
body.page-template-no-header .flex-row .col-right {
	top: 145px;
	min-height: calc(100vh - 145px);
}

/* The .vk-rating-snippet line is inline-styled color: white in the page
   content - correct in the footer (pink band), unreadable in the grey
   .col-left on the no-header template. Scoped to .col-left so the footer
   copy stays white. */
body.page-template-no-header .flex-row .col-left .vk-rating-snippet,
body.page-template-no-header .flex-row .col-left .vk-rating-snippet strong {
	color: #2a4369 !important;
}

/* =========================================================================
   2026-09-21 design-review round (TE/NC homepage PDF, 2026-09-18)
   ========================================================================= */

/* Consult photo: 2026-10-01 client swap - Audrey's photo replaced with the
   team photo the practice sent (IMG_0075), cropped 900x1100 to the same frame.
   Previously: high-res original Nelson supplied, cropped
   to the 450x550 frame so the eyes land at 32% of the height (upper third).
   The desktop box matches the file aspect, so only the short landscape boxes
   below 1024px need a focal offset. */
body footer .footer-top .bg-col {
	background-image: url("../img/phase-b/consult-photo-team.jpg");
	background-size: cover;
	background-position: 50% 50%;
}

@media only screen and (max-width: 1024px) {
	body footer .footer-top .bg-col { background-position: 50% 31%; }
}

/* Consent copy: tighter lines. */
body footer .footer-top .gform_wrapper .gfield_consent_label,
body footer .footer-top .gform_wrapper .ginput_container_consent label,
body footer .footer-top .gform_wrapper .gfield_description { line-height: 1.45; }

/* Form field rhythm: GF adds a 12px spacer above inputs that carry a (hidden)
   label, so the text fields were 70px tall and the select 58px. */
body footer .footer-top .gform_wrapper .gform_fields .ginput_container { margin-top: 0; }
body footer .footer-top .gform_wrapper .gform_fields .gfield { margin-bottom: 16px; }

/* Consent checkbox beside the copy, aligned to the first line. */
body footer .footer-top .gform_wrapper .gfield--type-consent .ginput_container_consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

body footer .footer-top .gform_wrapper .gfield--type-consent input[type="checkbox"] {
	flex: 0 0 auto;
	margin: 4px 0 0 !important;
}

body footer .footer-top .gform_wrapper .gfield--type-consent .gfield_consent_label { flex: 1 1 auto; }

/* Utility bar: the locations menu is right-aligned, which pushed it off-screen
   on phones (measured x = -182 at 375px). */
@media only screen and (max-width: 700px) {
	body header.vo-header .vo-locations-menu {
		left: 0;
		right: auto;
		min-width: 0;
		width: calc(100vw - 32px);
		max-width: 320px;
		padding: 18px 20px;
	}
}

/* Footer offices: desktop keeps the accordion + swapping map. Tablet/mobile
   lists both offices with their own map underneath, per the review note. */
body footer .vo-loc-map { display: none; }

@media only screen and (max-width: 900px) {
	body footer .vo-footer-maps { display: none; }

	body footer .vo-loc-body,
	body footer .vo-loc-body[hidden] { display: block !important; }

	body footer .vo-loc-toggle { pointer-events: none; }
	body footer .vo-loc-sign { display: none; }

	body footer .vo-loc-map {
		display: block;
		margin: 18px 0 4px;
	}

	body footer .vo-loc-map img {
		display: block;
		width: 100%;
		height: 200px;
		object-fit: cover;
	}

	/* Consult photo stopped overlapping the steps copy above the form. */
	body footer .footer-top .bg-col { margin-bottom: 24px; height: 300px; }
	body footer .footer-logos { padding-top: 4em; }
}

/* ---------------------------------------------------------------------------
   2026-09-21: hide the consult photo on tablet and mobile. The frame is only
   240-300px tall there, so a portrait headshot loses the forehead and chin no
   matter where the focal point sits. Desktop (>1024px) keeps the 450x550 photo.
   --------------------------------------------------------------------------- */
@media only screen and (max-width: 1024px) {
	body footer .footer-top .bg-col { display: none; }
}

/* Per Nelson: kill GF legacy markup's top margin on hidden-label inputs. */
body footer .gform_legacy_markup_wrapper li.hidden_label input {
	margin-top: 0 !important;
}


/* --- 2026-09-28 website notes --- */

/* Inline SVG social icon (TikTok — not in the Font Awesome build the theme ships). */
.vo-svg-icon {
	width: 1em;
	height: 1em;
	fill: currentColor;
	vertical-align: -0.125em;
	display: inline-block;
}

/* Interior banner badge (page meta `banner_badge`, e.g. Invisalign Diamond Provider). */
.banner .banner-message .banner-badge {
	display: block;
	width: auto;
	max-width: 190px;
	height: auto;
	margin: 18px auto 0;
}

@media screen and (max-width: 830px) {
	.banner .banner-message .banner-badge { max-width: 140px; margin-top: 12px; }
}

/* No Header template (free-consult etc.): the Location field became a <select>
   at launch and fell back to the browser default (21px tall, grey). Match the
   text fields (73px, 1px #d4d5d8 border, 17px Vinila), and reset the consent
   copy, which inherited the fields' 39px line-height. */
body.page-template-no-header #main .gform_wrapper select.gfield_select {
	width: 100% !important;
	height: 73px;
	margin: 12px 0 0;
	padding: 0 48px 0 20px;
	border: 1px solid #d4d5d8;
	border-radius: 0;
	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='%232A4369' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 20px center / 12px 8px;
	-webkit-appearance: none;
	appearance: none;
	color: #222325;
	font-family: inherit;
	font-size: 17px;
	line-height: normal;
	cursor: pointer;
}

body.page-template-no-header #main .gform_wrapper select.gfield_select:has(option[value=""]:checked) {
	color: #6b6e75;
}

body.page-template-no-header #main .gform_wrapper .ginput_container_consent,
body.page-template-no-header #main .gform_wrapper .gfield_consent_label {
	line-height: 1.55;
}

/* Text inputs drop to 34px line-height (68px tall) below 700px. */
@media only screen and (max-width: 699px) {
	body.page-template-no-header #main .gform_wrapper select.gfield_select { height: 68px; }
}
