/* Open & Affordable — design from the Wix Studio draft (Nov 2026).
   Colors and type live in theme.json; this file holds the components. */

:root {
	--oa-charcoal: #313638;
	--oa-blue: #4D9BC4;
	--oa-cyan: #00B5CF;
	--oa-teal: #02CDC5;
	--oa-yellow: #FDD531;
	--oa-gray: #F0F0F0;
	--oa-smoke: #F5F5F5;
	--oa-cream: #FFFEFD;
	--oa-border: 1px solid #313638;
	--oa-radius: 24px;   /* containers: the office info bar's corners, used everywhere */
	--oa-shadow: 0 2px 10px rgba(49, 54, 56, 0.12);
	--oa-icon-calendar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
	--oa-icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
	--oa-icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M10 8l4 4-4 4'/%3E%3C/svg%3E");
	--oa-icon-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E");
	--oa-icon-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

body { -webkit-font-smoothing: antialiased; }
img { height: auto; }

/* ---------- Icons on buttons and links ---------- */
.oa-ico-calendar .wp-block-button__link::before, .wp-block-button.oa-book .wp-block-button__link::before, a.oa-ico-calendar::before,
.oa-ico-phone .wp-block-button__link::before, a.oa-ico-phone::before,
.oa-ico-arrow .wp-block-button__link::after, a.oa-ico-arrow::after,
.oa-ico-mail .wp-block-button__link::before, a.oa-ico-mail::before,
.oa-ico-pin::before {
	content: "";
	display: inline-block;
	width: 1.05em;
	height: 1.05em;
	vertical-align: -0.17em;
	background: currentColor;
	-webkit-mask: var(--oa-i) center / contain no-repeat;
	mask: var(--oa-i) center / contain no-repeat;
}
.oa-ico-calendar, .wp-block-button.oa-book, a.oa-ico-calendar { --oa-i: var(--oa-icon-calendar); }
.oa-ico-phone, a.oa-ico-phone { --oa-i: var(--oa-icon-phone); }
.oa-ico-arrow, a.oa-ico-arrow { --oa-i: var(--oa-icon-arrow); }
.oa-ico-mail, a.oa-ico-mail { --oa-i: var(--oa-icon-mail); }
.oa-ico-pin { --oa-i: var(--oa-icon-pin); }
.oa-ico-calendar .wp-block-button__link::before, .wp-block-button.oa-book .wp-block-button__link::before, a.oa-ico-calendar::before,
.oa-ico-phone .wp-block-button__link::before, a.oa-ico-phone::before,
.oa-ico-mail .wp-block-button__link::before, a.oa-ico-mail::before, .oa-ico-pin::before { margin-right: 0.45em; }
.oa-ico-arrow .wp-block-button__link::after, a.oa-ico-arrow::after { margin-left: 0.45em; }

/* ---------- Buttons: pills with a thin dark outline ---------- */
.wp-block-button .wp-block-button__link { text-decoration: none; line-height: 1.3; }
.oa-btn-blue .wp-block-button__link { background: var(--oa-blue); color: #000; }
.oa-btn-cyan .wp-block-button__link { background: var(--oa-cyan); color: #000; }
.oa-btn-teal .wp-block-button__link { background: var(--oa-teal); color: #000; }
.oa-btn-blue .wp-block-button__link:hover, .oa-btn-cyan .wp-block-button__link:hover, .oa-btn-teal .wp-block-button__link:hover { filter: brightness(1.08); color: #000; }
.oa-btn-wide .wp-block-button__link { min-width: 15rem; }

/* ---------- Header ---------- */
header.wp-block-template-part > * { margin-block: 0 !important; }
.oa-header { background: #fff; padding-block: 0 !important; }
.oa-header > .wp-block-group { padding-block: 0.25rem !important; margin-block: 0 !important; }
.oa-header .oa-logo, .oa-header .wp-block-buttons, .oa-header .wp-block-navigation { margin-block: 0 !important; }
.oa-header .oa-logo img { display: block; max-width: var(--oa-logo-w, min(220px, 52vw)); height: auto; }
.oa-header .wp-block-navigation .wp-block-navigation__container { gap: 0.4rem 1.6rem; }
.oa-header .wp-block-navigation .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	color: var(--oa-charcoal);
	font-weight: 600;
	font-size: 1.2rem;
	text-decoration: none;
}
.oa-header .wp-block-navigation .wp-block-navigation__container > .wp-block-navigation-item:hover > .wp-block-navigation-item__content { color: var(--oa-blue); }
.oa-header .wp-block-navigation__submenu-container {
	border: var(--oa-border) !important;
	border-radius: var(--oa-radius);
	padding: 0.5rem 0;
	box-shadow: var(--oa-shadow);
	min-width: 15rem !important;
	background: #fff !important;
}
.oa-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 0.5rem 1.1rem; font-weight: 500; font-size: 1rem; color: var(--oa-charcoal); text-decoration: none; }
.oa-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--oa-gray); }
.oa-header .wp-block-button.oa-book .wp-block-button__link { padding: 0.6rem 1.6rem; min-width: 14rem; text-align: center; }

/* Promise bar under the header (turquoise, dark text — as in the draft) */
.oa-promo-bar { background: var(--oa-teal); color: var(--oa-charcoal); margin-block-start: 0 !important; }
body:not(.home) .oa-promo-bar { display: none; }   /* the promo bar shows on the homepage only, just below the header */
.oa-promo-bar > .oa-promo-list {
	/* the same width as the header row above, so the first item starts under the logo and the last ends under Book an Appointment */
	max-width: var(--wp--style--global--wide-size, 1280px) !important;
	list-style: none;
	margin: 0 auto !important;
	padding: 0.35rem 0 !important;
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	gap: 1.25rem;
	font-size: min(1rem, 1.23vw);   /* five items fit across the header width */
	font-weight: 500;
	overflow-x: auto;
	scrollbar-width: none;
}
.oa-promo-bar > .oa-promo-list::-webkit-scrollbar { display: none; }
.oa-promo-list li { margin: 0; white-space: nowrap; flex: none; }
.oa-promo-list li::before { content: "✓" / ""; margin-right: 0.4em; }
.oa-promo-list a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) { .oa-promo-bar > .oa-promo-list { justify-content: flex-start; font-size: 1rem; } }
/* Translations run longer than the English: the items wrap onto two centred lines instead of running off the bar */
@media (min-width: 961px) {
	html:not([lang^="en"]) .oa-promo-bar > .oa-promo-list { flex-wrap: wrap; justify-content: center; gap: 0.15rem 2rem; overflow: visible; font-size: 0.95rem; padding-inline: 1.5rem !important; }
}

/* ---------- Cards ---------- */
.oa-card, .oa-card-flat {
	background: var(--oa-gray);
	border: var(--oa-border);
	border-radius: var(--oa-radius);
	padding: 1.5rem;
	box-shadow: var(--oa-shadow);
}
.oa-card h2, .oa-card h3, .oa-card-flat h2, .oa-card-flat h3 { margin: 0; }
.oa-card p, .oa-card-flat p { margin: 0; }
.oa-card-flat .wp-block-post-title a, .oa-card .wp-block-post-title a { text-decoration: none; }
.oa-card-flat:hover { box-shadow: 0 4px 16px rgba(49, 54, 56, 0.18); }

/* ---------- Homepage ---------- */
.oa-hero-slides { position: relative; width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; height: min(38.7vw, 620px, var(--oa-fold, 9999px)); min-height: 240px; overflow: hidden; background: var(--oa-gray); }   /* --oa-fold: assets/design.js keeps the colored panels on screen */
.oa-hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; opacity: 0; transition: opacity 1.2s ease; }   /* when cropped short, keep faces (upper part) in view */
.oa-hero-slides img.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .oa-hero-slides img { transition: none; } }

.oa-panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* a strip in each panel's own colour along the bottom of General Dentistry · Coverage Options · Emergency Dental Care */
.oa-panel--blue { border-bottom: 10px solid var(--oa-blue); }
.oa-panel--cyan { border-bottom: 10px solid var(--oa-cyan); }
.oa-panel--teal { border-bottom: 10px solid var(--oa-teal); }
.oa-panel { padding: 1rem 1rem 1.15rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.oa-panel h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 400; line-height: 1.2; margin: 0; letter-spacing: 0.02em; }
.oa-panel h2 strong { display: block; font-weight: 700; }
.oa-panel--blue { background: rgba(77, 155, 196, 0.5); }
.oa-panel--cyan { background: rgba(0, 181, 207, 0.5); }
.oa-panel--teal { background: rgba(2, 205, 197, 0.5); }
.oa-panel .wp-block-button__link { min-width: 15rem; }
/* shorter screens (laptops): each panel's heading on one line, so the panels are slimmer and the photo gets the room */
@media (min-width: 782px) and (max-height: 900px) {
	.oa-panel { padding: 0.8rem 1rem 0.95rem; gap: 0.55rem; }
	.oa-panel h2 { font-size: clamp(1.15rem, 1.6vw, 1.45rem); }
	.oa-panel h2 strong { display: inline; margin-left: 0.3em; }
	.oa-panel .wp-block-button__link { padding-block: 0.5rem; }
}
@media (max-width: 781px) { .oa-panels { grid-template-columns: 1fr; } }

.oa-intro-cols { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: start; }
.oa-intro-divider { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; height: 100%; }
.oa-intro-divider::after { content: ""; flex: 1; width: 2px; background: var(--oa-blue); min-height: 6rem; }
@media (max-width: 781px) { .oa-intro-cols { grid-template-columns: 1fr; } .oa-intro-divider { display: none; } }
.oa-tooth { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #02CDC5; display: grid; place-items: center; flex: none; }
.oa-tooth img { width: 58%; height: auto; display: block; }

.oa-media-round img, .oa-media-round { border-radius: var(--oa-radius); }
.oa-media-round img { width: 100%; object-fit: cover; }

.oa-services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.oa-service-card { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1.25rem; align-items: center; background: var(--oa-gray); border: var(--oa-border); border-radius: var(--oa-radius); padding: 1.25rem 1.5rem; text-decoration: none; color: inherit; box-shadow: var(--oa-shadow); }
.oa-service-card img { width: 6.5rem; height: auto; }
.oa-service-card h3 { font-size: 1.375rem; margin: 0 0 0.25rem; }
.oa-service-card p { margin: 0; font-size: 1rem; line-height: 1.5; }
.oa-service-card:hover { box-shadow: 0 4px 16px rgba(49, 54, 56, 0.2); }
@media (max-width: 781px) { .oa-services-grid { grid-template-columns: 1fr; } .oa-service-card { grid-template-columns: 4.5rem 1fr; } .oa-service-card img { width: 4.5rem; } }

.oa-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.oa-stat-card { background: var(--oa-gray); border: var(--oa-border); border-radius: var(--oa-radius); padding: 1.5rem 1rem; text-align: center; box-shadow: var(--oa-shadow); }
.oa-stat-card strong { display: block; font-size: 2.1rem; font-weight: 700; line-height: 1.2; }
.oa-stat-card span { font-size: 1.15rem; }
@media (max-width: 781px) { .oa-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Doctor carousel */
.oa-carousel { position: relative; }
.oa-carousel-track { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 0.5rem 3rem 1rem; scrollbar-width: none; }
.oa-carousel-track::-webkit-scrollbar { display: none; }
.oa-doc { flex: none; width: 11rem; scroll-snap-align: start; text-align: center; text-decoration: none; color: inherit; }
.oa-doc img { width: 11rem; height: 11rem; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--oa-shadow); }
.oa-doc span { display: block; margin-top: 0.5rem; font-weight: 700; }
.oa-doc small { display: block; font-size: 0.95rem; }
.oa-carousel-btn { position: absolute; top: 4.5rem; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: var(--oa-border); background: var(--oa-yellow); color: #000; font-size: 1.4rem; line-height: 1; cursor: pointer; display: grid; place-items: center; z-index: 2; }
.oa-carousel-btn.prev { left: 0; } .oa-carousel-btn.next { right: 0; }

/* Reviews */
.oa-stars { color: var(--oa-yellow); font-size: 2rem; letter-spacing: 0.15em; text-shadow: 0 1px 0 rgba(0,0,0,.25); }
.oa-reviews { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.5rem 0.25rem 1rem; }
.oa-review-card { flex: none; width: 17rem; scroll-snap-align: center; background: var(--oa-gray); border: var(--oa-border); border-radius: var(--oa-radius); padding: 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; box-shadow: var(--oa-shadow); }
.oa-review-card .oa-review-top { display: flex; align-items: center; justify-content: space-between; }
.oa-review-card .oa-avatar { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: var(--oa-blue); }
.oa-review-card .oa-g { font-weight: 700; font-size: 1.2rem; }
.oa-review-card .oa-g small { display: block; color: #E8A400; font-size: 0.95rem; letter-spacing: 0.08em; }
.oa-review-card p { margin: 0; font-size: 0.98rem; line-height: 1.5; }
.oa-review-card .oa-who { margin-top: auto; text-align: center; font-size: 0.95rem; }
.oa-review-card .oa-who a { text-decoration: none; }

/* Latest posts */
.oa-posts .wp-block-post-template { gap: 1.25rem; }
.oa-post-card { background: #fff; border: var(--oa-border); border-radius: var(--oa-radius); overflow: hidden; height: 100%; box-shadow: var(--oa-shadow); }
.oa-post-card .wp-block-post-featured-image { margin: 0; }
.oa-post-card .wp-block-post-title { font-size: 1.05rem; font-weight: 500; padding: 1rem 1.1rem 1.25rem; margin: 0; line-height: 1.45; }
.oa-post-card .wp-block-post-title a { text-decoration: none; }

/* Hours table */
.oa-hours { border-collapse: collapse; margin-inline: auto; }
.oa-hours td { padding: 0.15rem 1.25rem 0.15rem 0; }

/* Map */
.oa-map { height: 460px; border-radius: var(--oa-radius); border: var(--oa-border); overflow: hidden; z-index: 0; }
.oa-map-search { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; }
.oa-map-search input { flex: 1; font: inherit; padding: 0.6rem 1rem; border: var(--oa-border); border-radius: 999px; }
.oa-map-list { font-size: 0.95rem; }

/* ---------- Footer ---------- */
.oa-footer { background: linear-gradient(180deg, #F5F5F5 0%, #F0F0F0 100%); color: var(--oa-charcoal); }
.oa-footer h2 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.oa-footer ul { margin: 0; padding-left: 1.1rem; font-size: 0.95rem; line-height: 1.7; }
.oa-footer a { color: var(--oa-charcoal); text-decoration: none; }
.oa-footer a:hover { text-decoration: underline; }
.oa-footer-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 900px) { .oa-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.oa-footer-search { display: flex; justify-content: center; }
.oa-footer-search .wp-block-search__inside-wrapper { border: var(--oa-border) !important; border-radius: 999px; padding: 0.15rem 0.4rem; background: #fff; width: min(22rem, 90vw); }
.oa-footer-search input { border: 0 !important; background: transparent; font: inherit; }
.oa-footer-search button { border: 0 !important; background: transparent !important; color: var(--oa-charcoal) !important; }

/* ---------- Location pages ---------- */
.oa-breadcrumbs { font-size: 0.9rem; margin: 0 0 0.5rem; }
.oa-breadcrumbs a { text-decoration: none; }
.oa-loc-hero { background: var(--oa-cyan); border-radius: var(--oa-radius); overflow: hidden; display: grid; grid-template-columns: 1fr 1.3fr; align-items: stretch; }
.oa-loc-hero-text { padding: clamp(1.5rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.oa-loc-hero-text h1 { font-size: clamp(2rem, 3.5vw, 2.6rem); margin: 0; }
.oa-loc-hero-media { padding: 1rem 1rem 1rem 0; }
.oa-loc-hero-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--oa-radius); aspect-ratio: 4 / 3; }
@media (max-width: 781px) { .oa-loc-hero { grid-template-columns: 1fr; } .oa-loc-hero-media { padding: 0 1rem 1rem; } }

.oa-tx-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.oa-tx { width: 7.5rem; height: 7.5rem; border-radius: 50%; background: var(--oa-gray); border: 1px solid #C2C2C2; box-shadow: var(--oa-shadow); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; text-decoration: none; color: inherit; font-size: 0.82rem; gap: 0.2rem; padding: 0.5rem; }
.oa-tx img { width: 3.4rem; height: 3.4rem; object-fit: contain; }
.oa-tx:hover { border-color: var(--oa-blue); }

.oa-office-docs { display: flex; flex-direction: column; gap: 1.25rem; }
.oa-office-doc { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1.5rem; align-items: center; }
.oa-office-doc img { width: 9.5rem; height: 9.5rem; border-radius: 50%; object-fit: cover; }
.oa-office-doc .oa-card { padding: 1.25rem 1.5rem; }
.oa-office-doc h3 { font-size: 1.3rem; margin: 0 0 0.3rem; }
.oa-office-doc p { margin: 0 0 0.4rem; font-size: 0.98rem; }
.oa-office-doc .oa-readmore { text-decoration: none; font-weight: 600; }
@media (max-width: 600px) { .oa-office-doc { grid-template-columns: 1fr; justify-items: center; } }

.oa-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.oa-steps li { background: var(--oa-gray); border: var(--oa-border); border-radius: var(--oa-radius); padding: 1rem 1.25rem; box-shadow: var(--oa-shadow); }
.oa-steps strong { display: block; font-size: 1.15rem; margin-bottom: 0.2rem; }

.oa-review-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.oa-review-links a { flex: 1 1 14rem; max-width: 22rem; text-align: center; background: var(--oa-yellow); border: var(--oa-border); border-radius: 999px; padding: 0.7rem 1.2rem; font-weight: 600; text-decoration: none; color: #000; }
.oa-review-links a:hover { filter: brightness(1.05); }
.oa-social { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.oa-social a { background: #fff; border: var(--oa-border); border-radius: 999px; padding: 0.5rem 1.2rem; text-decoration: none; font-weight: 600; }

.oa-pill-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.oa-pill-link { display: inline-flex; align-items: center; background: var(--oa-yellow); border: var(--oa-border); border-radius: 999px; padding: 0.5rem 1.3rem; font-weight: 600; text-decoration: none; color: #000; }

/* ---------- Shared bits ---------- */
.oa-eyebrow { font-size: 1rem !important; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--teal-dark); margin-bottom: 0.25rem; }
.wp-block-details { border: var(--oa-border); border-radius: var(--oa-radius); padding: 1rem 1.25rem; margin-block: 0.75rem; background: var(--oa-gray); }
.wp-block-details summary { font-weight: 700; cursor: pointer; font-size: 1.1rem; }
.wp-block-details[open] summary { margin-bottom: 0.5rem; }
.oa-review { background: var(--oa-gray); border: var(--oa-border); border-radius: var(--oa-radius); padding: 1.5rem; margin: 1rem 0; }
.oa-review cite { font-style: normal; font-weight: 700; }
.oa-link-list { columns: 2 16rem; column-gap: 2rem; padding-left: 1.1rem; }
.oa-link-list li { break-inside: avoid; margin-bottom: 0.35rem; }
.oa-form-placeholder { margin-block: 1.5rem; }
.oa-child-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; margin-block: 2rem; }
.oa-child-card { display: flex; flex-direction: column; gap: 0.4rem; text-decoration: none; color: inherit; }
.oa-child-title { font-size: 1.3rem; font-weight: 700; }
.oa-child-text { font-size: 1rem; line-height: 1.5; }
.oa-call-office { font-size: 1.15rem; font-weight: 700; margin: 0.25rem 0 0; }
.oa-loc-card .wp-block-post-featured-image { margin: 0 0 0.75rem; }
.oa-loc-card .wp-block-post-featured-image img { border-radius: 10px; }
.oa-facts p { margin: 0; }

/* Office lists: pills and the Colorado / Missouri / All switch */
.oa-pills .wp-block-post-template { display: flex !important; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; }
.oa-pills .wp-block-post-template li { margin: 0; }
.oa-pills .wp-block-post-title { font-size: 1rem; font-weight: 600; margin: 0; }
.oa-pills .wp-block-post-title a { display: inline-block; background: #fff; border: var(--oa-border); border-radius: 999px; padding: 0.5rem 1rem; text-decoration: none; }
.oa-state-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0.5rem 0 1rem; }
.oa-state-status { font-weight: 700; margin-right: 0.25rem; }
.oa-state-btn { font: inherit; font-size: 0.95rem; font-weight: 600; padding: 0.45rem 0.95rem; min-height: 44px; border-radius: 999px; border: var(--oa-border); background: #fff; color: var(--oa-charcoal); cursor: pointer; }
.oa-state-btn[aria-pressed="true"] { background: var(--oa-charcoal); color: #fff; }
.oa-state-btn:focus-visible { outline: 3px solid var(--oa-blue); outline-offset: 2px; }
.oa-state-filter .wp-block-post[hidden] { display: none !important; }

/* Location search box */
.oa-location-search .wp-block-search__inside-wrapper { gap: 0.6rem; border: 0; padding: 0; }
.oa-location-search .wp-block-search__input { border: var(--oa-border); border-radius: 999px; padding: 0.7rem 1.2rem; font: inherit; }
.oa-location-search .wp-block-search__button { border-radius: 999px; margin-left: 0; background: var(--oa-yellow); color: #000; font-weight: 600; font-family: inherit; padding: 0.7rem 1.5rem; border: var(--oa-border); }

/* ---------- Service pages (Studio draft layout) ---------- */
.oa-service-title { text-align: center; font-size: clamp(1.75rem, 3.4vw, 2.625rem); margin: 0.25rem 0 0.75rem; }
.oa-service .oa-breadcrumbs { text-align: left; }
.oa-service-top { background: var(--oa-cream); }
.oa-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: linear-gradient(90deg, rgba(77,155,196,.55), rgba(0,181,207,.5) 50%, rgba(2,205,197,.5)); }
.oa-checks li { text-align: center; padding: 0.45rem 0.75rem; font-size: 0.95rem; }
.oa-checks li::before { content: "✓ "; }
.oa-hero-image img { display: block; width: 100%; height: clamp(260px, 38vw, 520px); object-fit: cover; }
.oa-service-panels { max-width: 900px; margin: -6rem auto 0; position: relative; z-index: 1; padding: 0 1rem; }
.oa-info-panels { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: var(--oa-radius); overflow: hidden; box-shadow: 0 6px 18px rgba(49,54,56,.25); }
.oa-info { padding: 1.5rem 1.4rem 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; }
.oa-info--blue { background: var(--oa-blue); }
.oa-info--cyan { background: var(--oa-cyan); }
.oa-info--teal { background: var(--oa-teal); }
.oa-info-ico { width: 2.6rem; height: 2.6rem; padding-bottom: 0.9rem; border-bottom: 2px solid var(--oa-charcoal); box-sizing: content-box; width: 100%; }
.oa-info-ico::before { width: 2.6rem !important; height: 2.6rem !important; margin: 0 !important; }
.oa-info h2 { font-size: 1.35rem; margin: 0.4rem 0 0; }
.oa-info p, .oa-info td { font-size: 0.95rem; margin: 0; }
.oa-info table { border-collapse: collapse; }
.oa-info td { padding: 0.1rem 1.2rem 0.1rem 0; }
.oa-info .oa-pill-link { background: transparent; align-self: center; margin-top: auto; font-weight: 500; }
.oa-info .oa-pill-link:hover { background: rgba(255,255,255,.35); }
@media (max-width: 781px) { .oa-checks, .oa-info-panels { grid-template-columns: 1fr; } .oa-service-panels { margin-top: -2rem; } }

.oa-band { padding-top: var(--wp--preset--spacing--50); padding-bottom: var(--wp--preset--spacing--50); }
.oa-service-body > .oa-band:first-child { padding-top: var(--wp--preset--spacing--60); }
.oa-band .wp-block-image.oa-rounded img { border-radius: var(--oa-radius); }
.oa-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem 1.5rem; margin-top: 3.5rem !important; }
.oa-dot-card { background: #fff; border-radius: var(--oa-radius); box-shadow: var(--oa-shadow); padding: 2.75rem 1.4rem 1.5rem; position: relative; }
.oa-dot-card::before { content: ""; position: absolute; top: -1.6rem; left: 50%; transform: translateX(-50%); width: 3.2rem; height: 3.2rem; border-radius: 50%; background: #5DE0B5; }
.oa-dot-card h3 { text-align: center; font-size: 1.15rem; margin: 0 0 0.75rem; }
.oa-dot-card p { font-size: 0.95rem; }

.oa-narrow { max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
.oa-doc-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 2rem auto; max-width: 1200px; }
.oa-doc-card { background: var(--oa-gray); border: var(--oa-border); border-radius: var(--oa-radius); padding: 1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.oa-doc-card img, .oa-doc-ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: #e4e4e4; display: block; margin-bottom: 0.5rem; }
.oa-doc-card h3 { font-size: 1.1rem; margin: 0; }
.oa-doc-role { font-size: 0.9rem; margin: 0; }
.oa-doc-bio { font-size: 0.82rem; margin: 0; }
.oa-doc-card .oa-more { font-size: 0.85rem; font-weight: 600; text-decoration: none; }
.oa-doc-card .oa-find { margin-top: auto; align-self: center; background: var(--oa-yellow); border: var(--oa-border); border-radius: 999px; padding: 0.4rem 1rem; font-size: 0.85rem; font-weight: 600; text-decoration: none; color: #000; }
@media (max-width: 960px) { .oa-doc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .oa-doc-cards { grid-template-columns: 1fr; } }

.oa-ins-row { justify-content: center; flex-wrap: wrap; gap: 0.6rem; margin: 1.5rem auto; max-width: 1000px; }
.oa-ins-row .oa-pill-link { background: #fff; font-weight: 500; }
.oa-ins-more { text-align: right; max-width: 1000px; margin: 0 auto 3rem !important; font-weight: 600; font-size: 1.25rem; }
.oa-ins-more a { text-decoration: none; }

.oa-faqs { max-width: 1000px; margin: 1.5rem auto 0; display: flex; flex-direction: column; gap: 0.75rem; }
.oa-faq { border: 1px solid #d9d9d9; background: #fff; display: grid; grid-template-columns: 4.5rem 1fr; }
.oa-faq summary { display: contents; cursor: pointer; list-style: none; }
.oa-faq summary::-webkit-details-marker { display: none; }
.oa-faq-n { grid-row: 1 / span 2; background: var(--oa-cyan); color: #fff; font-weight: 700; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; min-height: 4rem; }
.oa-faq-q { padding: 1.1rem 3rem 1.1rem 1rem; font-weight: 500; position: relative; }
.oa-faq-q::after { content: "⌄"; position: absolute; right: 1.2rem; top: 0.9rem; font-size: 1.2rem; transition: transform .2s; }
.oa-faq[open] .oa-faq-q::after { transform: rotate(180deg); }
.oa-faq-a { grid-column: 2; padding: 0 1.5rem 1.2rem 1rem; font-size: 0.92rem; }
.oa-faq-a p { margin: 0; }
.oa-faq summary:focus-visible .oa-faq-q { outline: 2px solid var(--oa-charcoal); outline-offset: -4px; }
.oa-info-ico::before { content: ""; display: block; background: currentColor; -webkit-mask: var(--oa-i) left center / contain no-repeat; mask: var(--oa-i) left center / contain no-repeat; }
.oa-info-ico.oa-ico-phone { --oa-i: var(--oa-icon-phone); }
.oa-info-ico.oa-ico-calendar { --oa-i: var(--oa-icon-calendar); }
.oa-doc-card .oa-more { display: block; }
.oa-doc-card .oa-find { display: inline-flex; align-items: center; margin-top: 0.75rem; }

/* ---------- Services landing ---------- */
.oa-services-landing { background: var(--oa-cream); padding-top: 1rem; }
.oa-svc-hero { display: grid; grid-template-columns: 1fr 1.25fr; background: #5DE0B5; border-radius: var(--oa-radius); overflow: hidden; }
.oa-svc-hero-text { padding: clamp(1.5rem, 4vw, 3.5rem); align-self: center; }
.oa-svc-hero-text h1 { font-size: clamp(1.9rem, 3.4vw, 2.625rem); margin: 0 0 1rem; }
.oa-svc-hero-media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.oa-svc-tabs { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1060px; margin: -3rem auto 0 !important; position: relative; z-index: 1; border-radius: 0 0 var(--oa-radius) var(--oa-radius); overflow: hidden; }
.oa-svc-tab { padding: 1.25rem 2rem 3rem; color: #fff; font-weight: 600; font-size: 1.15rem; text-decoration: none; line-height: 1.3; }
.oa-svc-tab::after { content: ""; display: block; border-bottom: 1px solid #fff; margin-top: 0.75rem; }
.oa-svc-tab--blue { background: var(--oa-blue); }
.oa-svc-tab--cyan { background: var(--oa-cyan); }
.oa-svc-tab--teal { background: var(--oa-teal); }
.oa-svc-group { padding: var(--wp--preset--spacing--50) 1rem; margin-top: 0 !important; }
.oa-svc-group:first-of-type { margin-top: 2rem !important; }
.oa-svc-inner { max-width: 1300px; margin: 0 auto; }
.oa-svc-inner > h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); margin: 0 0 0.75rem; }
.oa-svc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 2.5rem auto 0; }
.oa-svc-card { background: var(--oa-gray); border: 1px solid #c9c9c9; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; padding-bottom: 1.25rem; box-shadow: var(--oa-shadow); }
.oa-svc-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.oa-svc-card h3 { font-size: 1.6rem; margin: 1rem 1.25rem 0.4rem; }
.oa-svc-card p { margin: 0 1.25rem 1rem; }
.oa-svc-btn { margin: auto auto 0; background: var(--oa-blue); color: #fff; border-radius: 999px; padding: 0.5rem 2rem; text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.oa-svc-btn:hover { background: #3b86ad; }
@media (max-width: 781px) { .oa-svc-hero, .oa-svc-tabs, .oa-svc-cards { grid-template-columns: 1fr; } .oa-svc-tabs { margin-top: 0 !important; } }

/* ---------- Pages rebuilt from the draft ---------- */
.oa-draft-page h1.wp-block-heading { font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1.15; }
.oa-cols-list { columns: 4 12rem; column-gap: 2rem; font-size: 0.92rem; }
.oa-cols-list li { break-inside: avoid; }
.oa-faq-band:has(.oa-faqs:empty), .oa-faq-band:not(:has(.oa-faq)) { display: none; }
.oa-faq-jump { justify-content: center; flex-wrap: wrap; gap: 0.5rem; max-width: 1000px; margin: 0 auto 2rem; }
.oa-faq-jump .oa-pill-link { background: #fff; font-weight: 500; padding: 0.35rem 1rem; }
.oa-faq-topic { max-width: 1000px; margin: 2.5rem auto 0 !important; scroll-margin-top: 1rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.oa-faq-topic a { font-size: 1rem; font-weight: 600; }
.oa-stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.25rem; max-width: 1000px; margin: 2rem auto 0; }
.oa-stat-tile { background: var(--oa-gray); border: 1px solid #c9c9c9; border-radius: 8px; padding: 1.5rem 1rem; text-align: center; box-shadow: var(--oa-shadow); }
.oa-stat-tile strong { display: block; font-size: 1.75rem; font-weight: 600; }
.oa-stat-tile span { font-size: 0.95rem; }

/* ---------- Locations and Our Doctors directories ---------- */
.oa-dir-head { text-align: center; }
.oa-dir-head p { text-align: left; max-width: 1200px; margin-left: auto; margin-right: auto; }
.oa-filters { display: flex; flex-wrap: wrap; gap: 1rem; max-width: 1240px; margin: 1.25rem auto 0; padding-bottom: 1.5rem; border-bottom: 6px solid var(--oa-cyan); }
.oa-filter { display: flex; flex-direction: column; gap: 0.25rem; flex: 1 1 200px; font-size: 0.85rem; }
.oa-filter select, .oa-filter input { font: inherit; font-size: 0.9rem; padding: 0.55rem 0.75rem; border: 1px solid #b9b9b9; border-radius: 6px; background: #fff; color: var(--oa-charcoal); }
.oa-filter-none { flex-basis: 100%; margin: 0; }
.oa-filter-none button { font: inherit; text-decoration: underline; background: none; border: 0; padding: 0; cursor: pointer; }
.oa-filtered-out { display: none !important; }
.oa-dir-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; max-width: 1080px; margin: 2.5rem auto 0; }
.oa-dir-card { background: #fff; border: 1px solid #c9c9c9; border-radius: 8px; box-shadow: var(--oa-shadow); padding: 0 0 1.25rem; overflow: hidden; font-size: 0.92rem; }
.oa-dir-card[hidden] { display: none; }
.oa-dir-photo img { display: block; width: calc(100% - 1.5rem); margin: 0.75rem auto 0; aspect-ratio: 4 / 3; object-fit: cover; }
.oa-dir-card h2 { text-align: center; font-size: 1.2rem; margin: 0.9rem 1rem 0.5rem; }
.oa-dir-card h2 a { text-decoration: none; }
.oa-dir-card p { margin: 0 1.25rem 0.6rem; }
.oa-dir-actions { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; margin-top: 0.9rem; }
.oa-dir-actions .oa-pill-link { min-width: 11rem; justify-content: center; padding: 0.4rem 1rem; font-size: 0.88rem; }
@media (max-width: 900px) { .oa-dir-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .oa-dir-grid { grid-template-columns: 1fr; } }
.oa-doc-list { display: flex; flex-direction: column; gap: 1.25rem; max-width: 1000px; margin: 2rem auto 0; }
.oa-doc-row { display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem; align-items: center; background: var(--oa-gray); border: 1px solid #c9c9c9; border-radius: 8px; padding: 1.25rem 1.5rem; box-shadow: var(--oa-shadow); }
.oa-doc-row-photo img, .oa-doc-row-photo span { display: block; width: 200px; height: 200px; border-radius: 50%; object-fit: cover; background: #ddd; }
.oa-doc-row h2 { font-size: 1.25rem; margin: 0 0 0.4rem; }
.oa-doc-row h2 a { text-decoration: none; }
.oa-doc-school { font-size: 0.95rem; margin: 0 0 0.5rem; }
.oa-doc-row-bio { font-size: 0.88rem; margin: 0 0 0.5rem; }
.oa-doc-row-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; font-size: 0.88rem; margin: 0; }
.oa-doc-row-meta a { font-weight: 600; text-decoration: none; }
@media (max-width: 640px) { .oa-doc-row { grid-template-columns: 1fr; text-align: center; } .oa-doc-row-photo img, .oa-doc-row-photo span { margin: 0 auto; width: 160px; height: 160px; } .oa-doc-row-meta { justify-content: center; } }

/* ---------- Doctor profile ---------- */
.oa-doc-hero { display: grid; grid-template-columns: minmax(0, 0.8fr) 1fr; gap: 2rem; background: var(--oa-cyan); border-radius: var(--oa-radius); padding: 0.75rem; align-items: center; }
.oa-doc-hero-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.oa-doc-hero-text h1 { font-size: clamp(2rem, 3.4vw, 2.625rem); margin: 0; }
.oa-doc-hero-cred { font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 600; margin: 0.25rem 0 1.5rem; }
.oa-doc-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.oa-doc-facts li { padding-left: 3.6rem; position: relative; min-height: 2.6rem; }
.oa-doc-facts li::before { content: ""; position: absolute; left: 0; top: 0; width: 2.6rem; height: 2.6rem; background: currentColor; -webkit-mask: var(--oa-i) center / contain no-repeat; mask: var(--oa-i) center / contain no-repeat; }
.oa-dh-edu { --oa-i: var(--oa-icon-calendar); }
.oa-dh-grad { --oa-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10 12 5 2 10l10 5 10-5z'/%3E%3Cpath d='M6 12v5c3 2 9 2 12 0v-5'/%3E%3C/svg%3E"); }
.oa-doc-facts strong { display: block; font-size: 1.15rem; }
.oa-doc-bio-text { max-width: 1000px; margin: 0 auto; }
.oa-doc-offices { display: flex; flex-direction: column; gap: 1.5rem; max-width: 1000px; margin: 2rem auto 0; }
.oa-doc-office { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; background: rgba(255,255,255,.55); border-radius: var(--oa-radius); padding: 1.25rem; }
.oa-doc-office h3 { font-size: 1.5rem; margin: 0 0 0.5rem; }
.oa-doc-office-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; display: block; }
@media (max-width: 781px) { .oa-doc-hero, .oa-doc-office { grid-template-columns: 1fr; } }

/* ---------- Blog (draft layout) ---------- */
.oa-blog-cats { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.75rem; padding: 0 0 0.75rem; margin: 0 0 1.5rem; border-bottom: 1px solid #ddd; font-size: 0.9rem; }
.oa-blog-cats li { margin: 0; }
.oa-blog-cats a { text-decoration: none; }
.oa-blog-cats a:hover { color: var(--oa-cyan); }
.oa-blog-heading { font-size: clamp(1.6rem, 2.6vw, 2rem) !important; margin-bottom: 1.5rem; }
.oa-blog-grid { gap: 1.5rem !important; }
.oa-blog-card { background: #fff; border: 1px solid #e3e3e3; height: 100%; display: flex; flex-direction: column; }
.oa-blog-card .wp-block-post-featured-image { margin: 0; }
.oa-blog-card .wp-block-post-featured-image img { border-radius: 0; }
.oa-blog-card-body { padding: 1rem 1.1rem 1.25rem; }
.oa-blog-meta { gap: 0.5rem; font-size: 0.75rem; color: #6b7174; margin-bottom: 0.6rem; }
.oa-blog-meta > * + *::before { content: "· "; }
.oa-blog-card .wp-block-post-title { font-size: 1.15rem; line-height: 1.3; margin: 0 0 0.5rem; }
.oa-blog-card .wp-block-post-title a { text-decoration: none; }
.oa-blog-card .wp-block-post-excerpt { font-size: 0.85rem; color: #4A5154; }
.oa-blog-card .wp-block-post-excerpt__more-link { display: none; }
@media (max-width: 1000px) { .oa-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 600px) { .oa-blog-grid { grid-template-columns: 1fr !important; } }
.oa-blog-meta .wp-block-post-author-name { display: none; } .oa-blog-meta .wp-block-post-author-name + *::before { content: none; }
.oa-doc-mini { padding-top: 1.25rem; }
.oa-doc-mini::before { display: none; }
.oa-doc-mini-photo { margin: 0 auto 0.75rem; }
.oa-doc-mini-photo img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto; }
.oa-doc-mini h3 a { text-decoration: none; }

/* ---------- Office page: doctor cards and reviews (draft layout) ---------- */
.oa-doc-row h3 { font-size: 1.25rem; margin: 0 0 0.4rem; }
.oa-doc-row h3 a { text-decoration: none; }
.oa-loc-reviews-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem 2rem; max-width: 1240px; margin: 1.5rem auto 1rem; }
.oa-loc-reviews-head h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 0; }
.oa-loc-rating { margin: 0; display: grid; grid-template-columns: auto auto; gap: 0 0.5rem; align-items: center; }
.oa-loc-rating strong { font-size: 1.25rem; }
.oa-loc-rating small { grid-column: 1 / -1; font-size: 0.85rem; }
.oa-stars { color: #FDB813; letter-spacing: 0.1em; }
.oa-rev-carousel .oa-carousel-track { gap: 0.75rem; padding: 0.25rem 3rem 0.75rem; }
.oa-rev { flex: 0 0 15.5rem; scroll-snap-align: center; background: var(--oa-gray); border: var(--oa-border); border-radius: 8px; padding: 0.9rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.6rem; min-height: 15rem; }
.oa-rev-top { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.oa-rev-avatar { width: 3.25rem; height: 3.25rem; border-radius: 50%; object-fit: cover; flex: none; }
.oa-rev-initial { display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1.3rem; }
.oa-rev-src { display: flex; flex-direction: column; align-items: flex-end; font-weight: 700; font-size: 1.35rem; line-height: 1.1; }
.oa-rev-src--google { color: #4285F4; }
.oa-rev-src--zocdoc { color: #1a1a1a; }
.oa-rev-src--yelp { color: #d32323; }
.oa-rev-src--facebook { color: #1877F2; }
.oa-rev-src .oa-stars { font-size: 1.15rem; }
.oa-rev-text { font-size: 0.8rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.oa-rev-more { font-size: 0.8rem; font-weight: 600; text-decoration: none; margin-left: 0; align-self: flex-start; }
.oa-rev-name { font-size: 0.82rem; text-align: center; margin: auto 0 0; }
.oa-rev-carousel .oa-carousel-btn { top: 50%; transform: translateY(-50%); }
.oa-rev-note { font-size: 0.85rem; margin: 0.15rem 0 0; opacity: 0.85; }
.oa-loc-rating small a { color: inherit; }

/* ---------- Forms ---------- */
.oa-form { background: #fff; border: var(--oa-border); border-radius: var(--oa-radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--oa-shadow); max-width: 820px; margin: 0 auto; text-align: left; }
.oa-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.oa-step { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.oa-step > .oa-field--textarea, .oa-step > .oa-field--radio, .oa-step > .oa-field--checkboxes, .oa-step > .oa-field--checkbox, .oa-step > .oa-field--signature, .oa-step > .oa-field--file, .oa-step > .oa-form-text, .oa-step > .oa-form-heading, .oa-step > .oa-form-nav { grid-column: 1 / -1; }
@media (max-width: 640px) { .oa-step { grid-template-columns: 1fr; } }
.oa-field { display: flex; flex-direction: column; gap: 0.35rem; }
.oa-field[hidden], .oa-step[hidden] { display: none !important; }
.oa-label { font-weight: 600; font-size: 0.95rem; margin: 0; padding: 0; }
.oa-req { color: #B42318; }
.oa-form input[type=text], .oa-form input[type=email], .oa-form input[type=tel], .oa-form input[type=date], .oa-form input[type=number], .oa-form select, .oa-form textarea { font: inherit; font-size: 1rem; padding: 0.65rem 0.8rem; border: 1px solid #9AA1A4; border-radius: 8px; background: #fff; color: var(--oa-charcoal); width: 100%; box-sizing: border-box; }
.oa-form input:focus-visible, .oa-form select:focus-visible, .oa-form textarea:focus-visible { outline: 3px solid var(--oa-cyan); outline-offset: 1px; border-color: var(--oa-charcoal); }
.oa-form input:user-invalid, .oa-form select:user-invalid, .oa-form textarea:user-invalid { border-color: #B42318; }
.oa-choices { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.oa-choices--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
.oa-choices--teeth { display: grid; grid-template-columns: repeat(8, minmax(3rem, 1fr)); gap: 0.35rem; }
.oa-choices--teeth .oa-choice { justify-content: center; border: 1px solid #c9c9c9; border-radius: 6px; padding: 0.35rem; }
.oa-choice { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.95rem; cursor: pointer; }
.oa-choice input { width: 1.15rem; height: 1.15rem; margin: 0.15rem 0 0; accent-color: var(--oa-cyan); flex: none; }
.oa-choice--single span { font-size: 0.9rem; }
.oa-field--checkboxes.is-invalid .oa-choices, .oa-sig.is-invalid { outline: 2px solid #B42318; outline-offset: 4px; border-radius: 6px; }
.oa-form-heading { font-size: 1.3rem; font-weight: 700; margin: 0.5rem 0 0; }
.oa-form-text { font-size: 0.88rem; margin: 0; white-space: pre-line; background: var(--oa-smoke); padding: 0.85rem 1rem; border-radius: 8px; max-height: 22rem; overflow: auto; }
.oa-hint { font-size: 0.8rem; margin: 0; color: #4A5154; }
.oa-sig { position: relative; border: 1px dashed #9AA1A4; border-radius: 8px; background: #fbfbfb; }
.oa-sig canvas { display: block; width: 100%; height: 180px; touch-action: none; cursor: crosshair; }
.oa-sig-clear { position: absolute; top: 0.4rem; right: 0.4rem; font: inherit; font-size: 0.8rem; background: #fff; border: 1px solid #c9c9c9; border-radius: 999px; padding: 0.2rem 0.8rem; cursor: pointer; }
.oa-form-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.5rem; }
.oa-form-nav button { font: inherit; font-weight: 600; border-radius: 999px; padding: 0.7rem 1.8rem; cursor: pointer; border: var(--oa-border); }
.oa-btn-next, .oa-btn-submit { background: var(--oa-yellow); color: #000; margin-left: auto; }
.oa-btn-back { background: #fff; color: var(--oa-charcoal); }
.oa-form-nav button:disabled { opacity: 0.6; cursor: progress; }
.oa-form-progress { display: flex; gap: 0.4rem; list-style: none; padding: 0; margin: 0 0 1.25rem; }
.oa-form-progress li { flex: 1; height: 6px; border-radius: 3px; background: #e2e2e2; }
.oa-form-progress li.is-done, .oa-form-progress li.is-current { background: var(--oa-cyan); }
.oa-form-error { background: #FEF3F2; color: #912018; border: 1px solid #FDA29B; border-radius: 8px; padding: 0.75rem 1rem; margin: 1rem 0 0; }
.oa-form-done { text-align: center; font-size: 1.2rem; font-weight: 600; padding: 2rem 0; }
.oa-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.oa-field--radio .oa-choices, .oa-field--checkboxes .oa-choices { margin-top: 0.35rem; }

/* ---------- Main menu (published site's layout, Studio draft style) ---------- */
.oa-header > .wp-block-group { position: relative; }
.oa-mega { position: static; }
.oa-mega-top { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.25rem 1.5rem; }
.oa-mega-item { position: static; display: flex; align-items: center; }
.oa-mega-link { color: var(--oa-charcoal); font-size: 1.15rem; font-weight: 500; text-decoration: none; padding: 1.1rem 0; }
.oa-mega-link:hover, .oa-mega-item.is-open > .oa-mega-link, .oa-mega-link[aria-current] { color: var(--oa-blue); }
.oa-mega-caret { background: none; border: 0; padding: 0.3rem 0.2rem; margin-left: 0.1rem; cursor: pointer; color: inherit; line-height: 1; }
.oa-mega-caret::before { content: ""; display: block; width: 0.45rem; height: 0.45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.oa-mega-item.is-open .oa-mega-caret::before { transform: rotate(225deg) translate(-1px, -1px); }
.oa-mega-caret:focus-visible, .oa-mega-link:focus-visible, .oa-mega-toggle:focus-visible { outline: 3px solid var(--oa-cyan); outline-offset: 2px; border-radius: 4px; }
.oa-mega-panel { display: none; position: absolute; z-index: 60; top: 100%; left: 50%; transform: translateX(-50%); width: min(1040px, calc(100vw - 2rem)); background: #fff; border: 0; border-radius: 0 0 var(--oa-radius) var(--oa-radius); box-shadow: 0 18px 24px -6px rgba(49,54,56,.22); padding: 1.5rem 1.75rem; box-sizing: border-box; }
/* opened on hover by assets/design.js (with a short delay before closing) */
.oa-mega-item.is-open > .oa-mega-panel { display: block; }
.oa-mega-panel--links { display: none; }
.oa-mega-item.is-open > .oa-mega-panel--links { display: grid; }
/* opened on hover by assets/design.js (with a short delay before closing) */
.oa-mega-panel--links { grid-template-columns: 1fr auto; gap: 1.5rem; align-items: end; }
.oa-mega-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* Locations: each office on one line; the columns take the width of their longest name */
/* sized to what it shows: narrower for one state, or once the state suffix is hidden */
@media (min-width: 961px) { #oa-mega-locations { width: max-content; max-width: min(1180px, calc(100vw - 2rem)); } #oa-mega-locations.oa-mega-panel--links { grid-template-columns: max-content auto; gap: 1.5rem 3rem; } }
@media (min-width: 961px) { #oa-mega-locations .oa-mega-cols { grid-template-columns: repeat(var(--oa-loc-cols, 4), max-content); } }
#oa-mega-locations .oa-mega-cols a { white-space: nowrap; font-size: 0.95rem; }
@media (min-width: 961px) and (max-width: 1100px) { #oa-mega-locations.oa-mega-panel--links { grid-template-columns: 1fr; } #oa-mega-locations .oa-mega-cta { justify-self: end; } }
@media (max-width: 1180px) { #oa-mega-locations .oa-mega-cols a { font-size: 0.88rem; } #oa-mega-locations .oa-mega-cols ul { padding: 0 0.9rem; } #oa-mega-locations .oa-mega-cols ul:first-child { padding-left: 0; } }
.oa-mega-cols ul { list-style: none; margin: 0; padding: 0 1.25rem; border-left: 2px solid var(--oa-teal); display: flex; flex-direction: column; gap: 0.15rem; }
.oa-mega-cols ul:first-child { border-left: 0; padding-left: 0; }
.oa-mega-cols a { display: block; padding: 0.3rem 0; color: var(--oa-charcoal); text-decoration: none; font-size: 0.98rem; }
.oa-mega-cols a:hover, .oa-mega-cols a[aria-current] { color: var(--oa-blue); text-decoration: underline; text-underline-offset: 3px; }
.oa-mega-cta { align-self: end; background: var(--oa-yellow); border: var(--oa-border); border-radius: 999px; padding: 0.6rem 1.4rem; font-weight: 600; color: #000; text-decoration: none; white-space: nowrap; }
.oa-mega-cta:hover { background: #ffe066; }
.oa-mega-panel--cards { }
.oa-mega-item.is-open > .oa-mega-panel--cards, .oa-mega-panel--cards { }
.oa-mega-panel--cards:has(.oa-mega-resources) { display: none; }
.oa-mega-item.is-open > .oa-mega-panel--cards:has(.oa-mega-resources) { display: grid; }
/* opened on hover by assets/design.js (with a short delay before closing) */
.oa-mega-panel--cards:has(.oa-mega-resources) { grid-template-columns: 3fr 1.1fr; gap: 1.5rem; }
.oa-mega-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: 1.1rem 1.25rem; }
#oa-mega-about .oa-mega-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.oa-mega-card { display: flex; flex-direction: column; gap: 0.35rem; color: var(--oa-charcoal); text-decoration: none; }
.oa-mega-card img, .oa-mega-card-ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; border: 1px solid #d5d5d5; display: block; background: var(--oa-gray); transition: transform .15s, box-shadow .15s; }
.oa-mega-card:hover img { transform: translateY(-2px); box-shadow: var(--oa-shadow); }
.oa-mega-card-desc { font-size: 0.78rem; line-height: 1.3; color: #4A5154; }
.oa-mega-card-title { font-weight: 600; font-size: 0.98rem; text-decoration: underline; text-decoration-color: var(--oa-teal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.oa-mega-card:hover .oa-mega-card-title, .oa-mega-card[aria-current] .oa-mega-card-title { color: var(--oa-blue); }
.oa-mega-resources { border-left: 2px solid var(--oa-teal); padding-left: 1.25rem; }
.oa-mega-resources p { font-weight: 600; margin: 0 0 0.6rem; }
.oa-mega-resources ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.oa-mega-resources a { color: var(--oa-charcoal); font-size: 0.9rem; }
.oa-mega-resources a:hover { color: var(--oa-blue); }
.oa-mega-toggle { display: none; }

@media (max-width: 960px) {
	.oa-mega-toggle { display: inline-flex; align-items: center; gap: 0.5rem; font: inherit; font-weight: 600; background: #fff; border: var(--oa-border); border-radius: 999px; padding: 0.45rem 1rem; cursor: pointer; color: var(--oa-charcoal); }
	.oa-burger, .oa-burger::before, .oa-burger::after { display: block; width: 1.1rem; height: 2px; background: currentColor; position: relative; content: ""; }
	.oa-burger::before { position: absolute; top: -6px; } .oa-burger::after { position: absolute; top: 6px; }
	.oa-mega-top { display: none; position: absolute; z-index: 60; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-top: 1px solid #ddd; box-shadow: 0 12px 24px rgba(49,54,56,.18); max-height: calc(100vh - 6rem); overflow: auto; padding: 0.5rem 1rem 1rem; }
	.oa-mega.is-open .oa-mega-top { display: flex; }
	.oa-mega-item { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid #eee; }
	.oa-mega-link { padding: 0.8rem 0; flex: 1; }
	.oa-mega-caret { padding: 0.8rem; }
	.oa-mega-panel, .oa-mega-item.is-open > .oa-mega-panel { position: static; transform: none; width: 100%; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 1rem; }
	.oa-mega-item.is-open > .oa-mega-panel--links, .oa-mega-item.is-open > .oa-mega-panel--cards:has(.oa-mega-resources) { display: block; }
	.oa-mega-cols { grid-template-columns: 1fr 1fr; gap: 0 1rem; }
	.oa-mega-cols ul { border-left: 0; padding: 0; }
	.oa-mega-cta { display: inline-block; margin-top: 0.75rem; }
	.oa-mega-cards, #oa-mega-about .oa-mega-cards { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
	.oa-mega-card img, .oa-mega-card-ph, .oa-mega-card-desc { display: none; }
	.oa-mega-resources { border-left: 0; padding: 1rem 0 0; }
}

/* Doctor slideshow: full page width, random order, scrolls on its own. */
.oa-carousel--doctors { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; box-sizing: border-box; }
.oa-carousel--doctors .oa-carousel-track { padding-left: 4.5rem; padding-right: 4.5rem; scroll-snap-type: none; }
.oa-carousel--doctors .oa-carousel-track:focus-visible { outline: 3px solid var(--oa-charcoal); outline-offset: -3px; }
.oa-carousel--doctors .oa-carousel-btn.prev { left: 1rem; } .oa-carousel--doctors .oa-carousel-btn.next { right: 1rem; }
.oa-carousel-pause { position: absolute; right: 1rem; bottom: -0.25rem; z-index: 2; font: inherit; font-size: 0.85rem; background: rgba(255,255,255,.85); border: var(--oa-border); border-radius: 999px; padding: 0.2rem 0.9rem; cursor: pointer; color: var(--oa-charcoal); }
.oa-carousel-pause:focus-visible { outline: 3px solid var(--oa-charcoal); outline-offset: 2px; }
body { overflow-x: clip; } /* full-width sections never cause a sideways scroll */

/* Full-width photo "window": the photo stays put while the page scrolls past it (as in the Studio draft). */
.oa-reveal { position: relative; width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; height: clamp(260px, 33vw, 494px); clip-path: inset(0); overflow: hidden; margin-block: 0 !important; }
.oa-reveal figure { margin: 0; }
.oa-reveal img { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; max-width: none; object-fit: cover; object-position: 50% 50%; display: block; }
@media (prefers-reduced-motion: reduce) { .oa-reveal img { position: absolute; height: 100%; } }

/* Reviews: full page width, platform logos */
.oa-rev-carousel { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; box-sizing: border-box; }
.oa-rev-carousel .oa-carousel-track { padding-left: 4.5rem; padding-right: 4.5rem; }
.oa-rev-carousel .oa-carousel-btn.prev { left: 1rem; } .oa-rev-carousel .oa-carousel-btn.next { right: 1rem; }
.oa-rev-logo { display: block; height: 2.1rem; width: auto; max-width: 7.5rem; margin-left: auto; }
.oa-rev-src--zocdoc .oa-rev-logo { height: 2.4rem; }

/* Footer: every column's heading on the same line */
.oa-footer-cols > * { margin-top: 0 !important; margin-block-start: 0 !important; }
.oa-footer-cols > * > h2:first-child { margin-top: 0; }
.oa-rev-src--facebook .oa-rev-logo { height: 1.4rem; max-width: 7.5rem; }
.oa-rev-src--yelp .oa-rev-logo { height: 2.6rem; }

/* Locations menu: the visitor's state, and the Other States button (assets/geo.js) */
.oa-mega-ctas { display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem; align-self: end; }
.oa-mega-state { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; }
.oa-mega-state[hidden] { display: none; }
.oa-mega-state-now { margin: 0; font-size: 0.85rem; color: #4A5154; }
.oa-mega-state-btn { background: #fff; border: var(--oa-border); border-radius: 999px; padding: 0.5rem 1.2rem; font: inherit; font-weight: 600; color: var(--oa-charcoal); cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 0.45rem; }
.oa-mega-state-btn::after { content: ""; width: 0.4rem; height: 0.4rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.oa-mega-state-btn[aria-expanded="true"]::after { transform: rotate(225deg) translate(-1px, -1px); }
.oa-mega-state-btn:hover { background: var(--oa-gray); }
.oa-mega-state-btn:focus-visible, .oa-mega-state-list button:focus-visible { outline: 3px solid var(--oa-cyan); outline-offset: 2px; }
.oa-mega-state-list { position: absolute; z-index: 2; right: 0; top: 100%; margin: 0.35rem 0 0; padding: 0.35rem; list-style: none; background: #fff; border-radius: 10px; box-shadow: 0 10px 24px rgba(49,54,56,.2); min-width: 11rem; }
.oa-mega-state-list[hidden] { display: none; }
.oa-mega-state-list button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0.5rem 0.75rem; border-radius: 6px; font: inherit; color: var(--oa-charcoal); cursor: pointer; }
.oa-mega-state-list button:hover { background: var(--oa-smoke); color: var(--oa-blue); }
#oa-mega-locations .oa-mega-cta { align-self: auto; }
@media (min-width: 961px) and (max-width: 1100px) { #oa-mega-locations .oa-mega-ctas { flex-direction: row; align-items: flex-end; justify-content: flex-end; } }
@media (max-width: 960px) { .oa-mega-ctas, .oa-mega-state { align-items: flex-start; } .oa-mega-state-list { left: 0; right: auto; } }
#oa-mega-locations .oa-mega-cols { align-self: start; }
#oa-mega-locations .oa-mega-cols.is-one-state .oa-loc-st { display: none; }

/* Language toggle, right of About Us (includes/languages.php) */
.oa-lang { position: relative; margin-left: 0.25rem; }
.oa-lang-btn { display: inline-flex; align-items: center; gap: 0.35rem; background: none; border: 1px solid #c9cdcf; border-radius: 999px; padding: 0.3rem 0.7rem; font: inherit; font-size: 0.95rem; font-weight: 600; color: var(--oa-charcoal); cursor: pointer; }
.oa-lang-btn:hover, .oa-lang-btn[aria-expanded="true"] { border-color: var(--oa-blue); color: var(--oa-blue); }
.oa-lang-btn:focus-visible, .oa-lang-list a:focus-visible { outline: 3px solid var(--oa-cyan); outline-offset: 2px; }
.oa-lang-list { position: absolute; z-index: 70; top: calc(100% + 0.4rem); right: 0; margin: 0; padding: 0.35rem; list-style: none; background: #fff; border-radius: 10px; box-shadow: 0 10px 24px rgba(49,54,56,.2); min-width: 9.5rem; }
.oa-lang-list[hidden] { display: none; }
.oa-lang-list a { display: block; padding: 0.5rem 0.75rem; border-radius: 6px; color: var(--oa-charcoal); text-decoration: none; }
.oa-lang-list a:hover { background: var(--oa-smoke); color: var(--oa-blue); }
.oa-lang-list a[aria-current]::after { content: " ✓"; color: var(--oa-teal); font-weight: 700; }
@media (max-width: 960px) { .oa-lang { margin: 0.5rem 0 0; } .oa-lang-list { left: 0; right: auto; } }
.oa-lang-flag { width: 18px; height: 12px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex: none; }
.oa-lang-flag.oa-lang-flag--round { width: 20px; height: 20px; object-fit: contain; border-radius: 50%; box-shadow: none; }
.oa-lang-list a { display: flex; align-items: center; gap: 0.6rem; }

/* Desktop: the menu fills the space between the logo and Book an Appointment, items spread evenly */
@media (min-width: 1101px) {
	.oa-header .oa-mega { flex: 1 1 auto; margin-inline: clamp(1.5rem, 3vw, 3.5rem); }
	.oa-header .oa-mega-top { justify-content: space-between; }
	.oa-mega-link { font-size: var(--oa-nav-fs, 1.2rem); }
}

/* Desktop: each menu item reaches the bottom of the header, so the pointer goes straight from the item into its panel */
@media (min-width: 961px) {
	.oa-header .oa-mega { align-self: stretch; display: flex; }
	.oa-header .oa-mega-top { align-items: stretch; }
	.oa-header .oa-mega-item { align-items: center; }
}
.oa-lang-find { border-top: 1px solid #e6e8e9; margin-top: 0.3rem; padding-top: 0.3rem; }
.oa-lang-find a { white-space: nowrap; font-weight: 600; color: var(--oa-charcoal); }
.oa-lang-find svg { flex: none; color: var(--oa-teal); }
.oa-lang-list { min-width: 13.5rem; }
#oa-loc-filters { scroll-margin-top: 1rem; }

/* Desktop: logo, menu and Book an Appointment always on one line, in every language. assets/design.js shrinks the
   menu text (and the gaps) step by step when a translation is too long to fit. */
@media (min-width: 961px) {
	.oa-header > .wp-block-group { flex-wrap: nowrap !important; }
	.oa-header .oa-mega { min-width: 0; }
	.oa-header .oa-logo { flex: none; }
	.oa-header .wp-block-buttons { flex: none; }
	.oa-mega-link, .oa-header .oa-book .wp-block-button__link { white-space: nowrap; }
	.oa-mega-link { font-size: var(--oa-nav-fs, 1.15rem); }
	.oa-mega-top { column-gap: var(--oa-nav-gap, 1.5rem); }
	.oa-header .wp-block-button.oa-book .wp-block-button__link { min-width: 0; padding-inline: var(--oa-book-pad, 1.6rem); font-size: var(--oa-book-fs, inherit); }
}

/* Mega menu: every link looks like the card titles: semibold with the teal underline */
.oa-mega-cols a, .oa-mega-resources a {
	font-weight: 600;
	color: var(--oa-charcoal);
	text-decoration: underline;
	text-decoration-color: var(--oa-teal);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
.oa-mega-cols a:hover, .oa-mega-cols a[aria-current], .oa-mega-resources a:hover { color: var(--oa-blue); text-decoration-color: var(--oa-teal); }

/* Homepage services: as wide as the rest of the page, three cards across on desktop */
.is-layout-constrained > .oa-services-grid { max-width: var(--wp--style--global--wide-size, 1280px) !important; }
@media (min-width: 1100px) { .oa-services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Doctor Opportunities: benefits as cards; small label above a heading; lead line under a heading */
.oa-benefits { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1.25rem; max-width: var(--wp--style--global--wide-size, 1280px) !important; margin-top: 1.5rem !important; }
.is-layout-constrained > .oa-benefits { max-width: var(--wp--style--global--wide-size, 1280px) !important; }
.oa-benefit { background: #fff; border: var(--oa-border); border-radius: var(--oa-radius); padding: 1.25rem 1.4rem; box-shadow: var(--oa-shadow); }
.oa-benefit h3 { font-size: 1.25rem; margin: 0 0 0.5rem; padding-bottom: 0.45rem; border-bottom: 2px solid var(--oa-teal); }
.oa-benefit p { margin: 0; font-size: 1rem; line-height: 1.55; }
.oa-eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.9rem; font-weight: 600; color: var(--oa-blue); margin-bottom: 0.25rem !important; }
.oa-lead { font-size: 1.15rem; }
.oa-benefit-ic { display: block; width: 56px; height: 56px; object-fit: contain; margin-bottom: 0.6rem; }
/* doctor quotes */
.oa-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 1.5rem; margin-top: 1.5rem !important; }
.is-layout-constrained > .oa-quotes { max-width: var(--wp--style--global--wide-size, 1280px) !important; }
.oa-quote { margin: 0; background: #fff; border: var(--oa-border); border-radius: var(--oa-radius); padding: 1.5rem 1.6rem; box-shadow: var(--oa-shadow); display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; }
.oa-quote blockquote { margin: 0; padding: 0 0 0 1rem; border-left: 3px solid var(--oa-teal); }
.oa-quote blockquote p { margin: 0; font-size: 1.05rem; line-height: 1.6; font-style: italic; }
.oa-quote figcaption { display: flex; align-items: center; gap: 0.9rem; }
.oa-quote figcaption img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.oa-quote figcaption span { display: grid; gap: 0.15rem; }
.oa-quote figcaption a { font-weight: 600; color: var(--oa-charcoal); text-decoration: underline; text-decoration-color: var(--oa-teal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.oa-quote figcaption a.oa-quote-since { font-weight: 400; font-size: 0.92rem; text-decoration: none; color: #4A5154; }

/* Bands marked oa-band--wide: text runs as wide as the rest of the page (the wide width, not the narrow reading width) */
.oa-band--wide.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) { max-width: var(--wp--style--global--wide-size, 1280px) !important; }

/* Phones & tablets: like the published site: logo left, Menu button right, Book an Appointment on its own line below */
@media (max-width: 960px) {
	.oa-header > .wp-block-group { flex-wrap: wrap !important; align-items: center; row-gap: 0.75rem; padding-block: 0.75rem !important; }
	.oa-header .oa-logo { flex: 1 1 auto; order: 1; }
	.oa-header .oa-logo img { max-width: min(260px, 58vw); }
	.oa-header .oa-mega { order: 2; flex: none; margin: 0 !important; }
	.oa-header .wp-block-buttons { order: 3; flex: 1 1 100%; display: flex; flex-wrap: nowrap; gap: 0.6rem; align-items: center; }
	.oa-header .wp-block-button.oa-book { flex: 1 1 auto; min-width: 0; max-width: 18rem; }   /* about the width of the logo, as on the published site */
	.oa-header .wp-block-button.oa-book .wp-block-button__link { display: flex; justify-content: center; width: 100%; box-sizing: border-box; padding-block: 0.7rem; padding-inline: 0.8rem; font-size: 1.05rem; white-space: nowrap; }
	.oa-mega-toggle { padding: 0.55rem 1.15rem; font-size: 1.05rem; }
}
@media (max-width: 480px) {
	.oa-header .wp-block-button.oa-book .wp-block-button__link { font-size: 0.95rem; padding-inline: 0.6rem; gap: 0.35rem; }
}
.oa-band--wide .oa-form { max-width: none; }   /* a form in a full-width section spans it too */
/* form fields side by side (forms/*.json "row") */
.oa-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0 1.25rem; align-items: start; }
.oa-form-row > .oa-field { min-width: 0; }
.oa-step > .oa-form-row { grid-column: 1 / -1; }   /* a row of side-by-side fields spans the form */
@media (min-width: 900px) { .oa-form--cols-3 .oa-step { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.oa-office-pick { display: grid; grid-template-columns: minmax(7.5rem, 0.6fr) 1fr; gap: 0.5rem; }
.oa-office-pick select { min-width: 0; width: 100%; }
/* file upload area */
.oa-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem; text-align: center; padding: 1.4rem 1rem; border: 2px dashed #9aa3a7; border-radius: var(--oa-radius); background: #f7fbfd; color: var(--oa-charcoal); cursor: pointer; transition: border-color .15s, background .15s; }
.oa-drop svg { color: var(--oa-blue); }
.oa-drop:hover, .oa-drop.is-over { border-color: var(--oa-blue); background: #eaf4fa; }
.oa-drop:focus-within { outline: 3px solid var(--oa-cyan); outline-offset: 2px; }
.oa-drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.oa-drop-main b { color: var(--oa-blue); text-decoration: underline; text-underline-offset: 3px; }
.oa-drop-sub { font-size: 0.88rem; color: #5b6366; }
.oa-drop-file { font-size: 0.95rem; font-weight: 600; }
.oa-drop.has-file { border-style: solid; border-color: var(--oa-teal); background: #effbfa; }
.oa-drop.is-bad { border-color: #dc2626; background: #fef2f2; }
.oa-drop.is-bad .oa-drop-file { color: #b91c1c; }
.oa-form-row .oa-drop { padding: 0.75rem; gap: 0.15rem; }   /* compact when beside other fields */
.oa-form-row .oa-drop svg { width: 24px; height: 24px; }
.oa-breadcrumbs { display: none !important; }   /* the trail is kept only as hidden data for Google (includes/design.php) */
.oa-doc-office-link { color: inherit; text-decoration: underline; text-decoration-color: var(--oa-teal); text-decoration-thickness: 2px; text-underline-offset: 3px; } .oa-doc-office-link:hover { color: var(--oa-blue); }

/* Language picker in the footer (moved from the menu): centered, its list opens upward */
.oa-lang-foot { list-style: none; margin: 1.25rem 0 0.75rem; padding: 0; display: flex; justify-content: center; }
.oa-lang-foot .oa-lang { margin: 0; }
.oa-footer .oa-lang-btn { background: #fff; color: var(--oa-charcoal); }
.oa-lang-foot .oa-lang-list { top: auto; bottom: calc(100% + 0.4rem); left: 50%; right: auto; transform: translateX(-50%); text-align: left; }
@media (max-width: 960px) { .oa-lang-foot .oa-lang { margin: 0; } .oa-lang-foot .oa-lang-list { left: 50%; } }
/* Home doctors slider: the name and photo go to the doctor, each office name to its office */
.oa-doc .oa-doc-main { display: block; text-decoration: none; color: inherit; }
.oa-doc .oa-doc-where a { color: inherit; text-decoration: underline; text-decoration-color: rgba(0,0,0,.25); text-underline-offset: 3px; }
.oa-doc .oa-doc-where a:hover { text-decoration-color: currentColor; }

/* Footer: search (2/3 the width it was) with the language picker to its right, same border */
.oa-footer-tools { display: flex; align-items: center; justify-content: center; gap: 0.75rem; flex-wrap: wrap; margin-top: 2rem; }
.oa-footer-tools > p:empty { display: none; }
.oa-footer-tools .oa-footer-search { margin: 0; flex: 0 1 auto; }
.oa-footer-tools { --oa-tool-h: 50px; }
.oa-footer-tools .oa-footer-search .wp-block-search__inside-wrapper { width: min(547px, calc(100vw - 10rem)) !important; height: var(--oa-tool-h); box-sizing: border-box; align-items: center; }
.oa-footer-tools .oa-lang-foot { margin: 0; }
.oa-footer .oa-lang-foot .oa-lang-btn { border: var(--oa-border); border-radius: 999px; background: #fff; height: var(--oa-tool-h); padding: 0 1.1rem; box-sizing: border-box; }

/* Location pages: "How Open and Affordable Dental and Braces Works" and "How a dentist in … can help", as in the Wix Studio draft:
   a gradient band with a 10px edge, and two equal halves that meet — white text panel and photo, rounded on the outer corners. */
.oa-loc-works-band { background: linear-gradient(#F5F5F5, #00B5CF); padding: 10px; }
.oa-loc-help-band { background: linear-gradient(#00B5CF, #02CDC5); padding: 10px; }
.oa-loc-works, .oa-loc-help { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: none; margin: 0; }
.oa-loc-works-text, .oa-loc-help-text { background: #FFFEFD; padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 3.5vw, 3rem); color: #313638; font-size: 1.125rem; line-height: 1.6; }
.oa-loc-works-text { border-radius: 10px 0 0 10px; }
.oa-loc-help-text { border-radius: 0 10px 10px 0; }
.oa-loc-works-text h2, .oa-loc-help-text h2 { font-size: clamp(2rem, 3.3vw, 2.625rem); line-height: 1.3; margin: 0 0 0.75rem; }
.oa-loc-works-text h2 { color: var(--oa-blue); }
.oa-loc-help-text h2 { color: #313638; }
.oa-loc-works-text > p, .oa-loc-help-text p { margin: 0 0 1.6em; }
.oa-loc-help-text p:last-child { margin-bottom: 0; }
.oa-loc-steps { margin: 0; padding-left: 1.6rem; display: grid; gap: 1.6em; }
.oa-loc-steps ul { list-style: circle; margin: 0.15rem 0 0; padding-left: 1.6rem; }
.oa-loc-sub { font-size: 1.125rem; font-weight: 400; line-height: 1.6; margin: 0 0 1.6em; color: #313638; }
.oa-loc-works-photo, .oa-loc-help-photo { position: relative; min-height: 22rem; overflow: hidden; }
.oa-loc-works-photo { border-radius: 0 10px 10px 0; }
.oa-loc-help-photo { border-radius: 10px 0 0 10px; }
.oa-loc-fill, .oa-loc-fill img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border-radius: 0; }
.oa-loc-fill img { object-fit: cover; object-position: 50% 30%; display: block; }
@media (max-width: 781px) {
	.oa-loc-works, .oa-loc-help { grid-template-columns: 1fr; }
	.oa-loc-works-photo, .oa-loc-help-photo { order: -1; min-height: 16rem; border-radius: 10px 10px 0 0; }
	.oa-loc-works-text, .oa-loc-help-text { border-radius: 0 0 10px 10px; }
}

/* Office pages → Meet Our Dentists: the round photo sits on the card's left edge, half outside it, as in the Wix Studio draft */
.oa-doc-list { max-width: 1000px; gap: 1.75rem; }
.oa-doc-row { --oa-doc-ph: 225px; position: relative; display: block; min-height: var(--oa-doc-ph); margin-left: calc(var(--oa-doc-ph) / 2); padding: 2rem 2.25rem 1.75rem calc(var(--oa-doc-ph) / 2 + 2.75rem); background: #E6E9EF; border: 1px solid #B3B7BE; border-radius: 10px; box-shadow: none; box-sizing: border-box; }
.oa-doc-row-photo { position: absolute; left: calc(var(--oa-doc-ph) / -2); top: -1px; }
.oa-doc-row-photo img, .oa-doc-row-photo span { width: var(--oa-doc-ph); height: var(--oa-doc-ph); }
.oa-doc-row h3 { font-size: 1.3rem; margin: 0 0 0.9rem; }
.oa-doc-school { font-size: 1.05rem; margin: 0 0 0.9rem; }
.oa-doc-row-bio { font-size: 1.05rem; line-height: 1.3; margin: 0 0 0.6rem; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.oa-doc-row-meta { font-size: 1.05rem; }
@media (max-width: 640px) {
	.oa-doc-row { --oa-doc-ph: 160px; margin: calc(var(--oa-doc-ph) / 2) 0 0; padding: calc(var(--oa-doc-ph) / 2 + 1rem) 1.25rem 1.5rem; text-align: center; }
	.oa-doc-row-photo { left: 50%; top: calc(var(--oa-doc-ph) / -2); transform: translateX(-50%); }
}

/* Location pages → reviews, as in the Wix Studio draft: grey cards with a dark border and drop shadow, larger type */
.oa-on-color { color: #FFFEFD; font-size: clamp(2rem, 3.3vw, 2.625rem); }
.oa-loc-reviews .oa-loc-reviews-head { margin: 1.5rem auto 1.25rem; padding: 0 1rem; }
.oa-loc-reviews .oa-loc-reviews-head h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); color: #313638; }
.oa-rev-carousel .oa-carousel-track { gap: 0.9rem; padding-top: 0.5rem; padding-bottom: 1rem; }
.oa-rev { flex: 0 0 17rem; min-height: 19rem; background: #F0F0F0; border: 1.5px solid #C9CED1; border-radius: 10px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); padding: 1rem 0.85rem 1.1rem; gap: 0.75rem; }
.oa-rev-avatar { width: 5rem; height: 5rem; }
.oa-rev-logo { height: 2.9rem; max-width: 9.25rem; }
.oa-rev-src .oa-stars { font-size: 1.6rem; }
.oa-rev-text { font-size: 1rem; line-height: 1.2; color: #313638; }
.oa-rev-more { font-size: 1rem; font-weight: 400; color: #313638; }
.oa-rev-name { font-size: 1rem; font-weight: 700; color: #313638; }
.oa-rev-name a, .oa-rev-name + * { font-weight: 400; }

/* Share Your 5-Star Experience: teal → cyan band, big yellow buttons with the platform logos */
.oa-share-band { background: linear-gradient(#02CDC5, #00B5CF); }
.oa-share-band .oa-stars { font-size: 2.6rem; margin: 0.25rem 0 1rem; }
.oa-review-links { gap: 1.5rem; flex-wrap: wrap; }
.oa-review-links a.oa-review-link { flex: 1 1 18rem; max-width: 25rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.9rem; padding: 0.55rem 1.5rem; min-height: 3.4rem; font-size: 1.3rem; font-weight: 600; color: #313638; border: 1.5px solid #313638; }
.oa-review-link img { height: 2rem; width: auto; display: block; }
.oa-review-link--facebook img { height: 1.7rem; }
.oa-review-link--google img { height: 2.1rem; }

/* Location pages → treatments: across the full width of the page, seven to a row, as in the Wix Studio draft */
.oa-tx-grid.alignfull { --oa-tx-n: 7; --oa-tx-gap: clamp(0.75rem, 1.6vw, 1.5rem); box-sizing: border-box; width: 100%; max-width: none; padding: 0 clamp(1rem, 3vw, 3rem); gap: var(--oa-tx-gap); margin-top: 1.5rem; }
.oa-tx-grid.alignfull .oa-tx { flex: 0 0 calc((100% - (var(--oa-tx-n) - 1) * var(--oa-tx-gap)) / var(--oa-tx-n)); width: auto; height: auto; aspect-ratio: 1; max-width: 13rem; background: #E6E9EF; border: 1px solid #6E7378; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35); font-size: clamp(0.85rem, 1.25vw, 1.15rem); gap: 0.4rem; padding: 0.75rem; color: #313638; }
.oa-tx-grid.alignfull .oa-tx img { width: 48%; height: auto; max-height: 50%; }
@media (max-width: 1100px) { .oa-tx-grid.alignfull { --oa-tx-n: 5; } }
@media (max-width: 760px) { .oa-tx-grid.alignfull { --oa-tx-n: 3; } }
/* Share buttons: the full Facebook, Google and Yelp wordmarks */
.oa-review-link--facebook img { height: 1.55rem; }
.oa-review-link--google img { height: 2.15rem; }
.oa-review-link--yelp img { height: 2.75rem; margin: -0.3rem 0; }

/* Dental-school logos (Nexus → Marketing → Doctor Profiles), just ahead of the school's name */
.oa-doc-school { display: flex; align-items: center; gap: 0.6rem; }
.oa-school-logo { width: 2.5rem; height: 2.5rem; object-fit: contain; flex: none; display: inline-block; vertical-align: middle; }
.oa-dh-edu .oa-school-logo { margin: 0 0.5rem 0 0.35rem; }
@media (max-width: 640px) { .oa-doc-school { justify-content: center; } }

/* Service pages → Emergency Call / Where Are We? / Office Hours: a clear drop shadow, and each button in the colour of the panel to its right */
.oa-info-panels { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45), 0 10px 24px rgba(49, 54, 56, 0.3); }
.oa-info--blue .oa-pill-link { background: var(--oa-cyan); }
.oa-info--cyan .oa-pill-link { background: var(--oa-teal); }
.oa-info--blue .oa-pill-link:hover { background: var(--oa-cyan); filter: brightness(1.08); }
.oa-info--cyan .oa-pill-link:hover { background: var(--oa-teal); filter: brightness(1.08); }

/* Service pages, as in the Wix Studio draft:
   numbered cards (green number circle on the top-left edge, three to a row), icon cards (cyan circle with the icon,
   two to a row), plain cards (no circle), photos side by side across the page, and a yellow Book Now! button */
.oa-plain-card::before, .oa-num-card::before, .oa-icon-card::before { display: none; }
.oa-plain-card { padding-top: 1.5rem; }
.oa-card-grid:has(.oa-num-card) { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1000px; margin-inline: auto !important; gap: 3.25rem 2.25rem; }
.oa-num-card { padding: 2.9rem 1.4rem 1.75rem; }
.oa-num-card h3 { text-align: left; }
.oa-num-badge { position: absolute; top: -1.75rem; left: 1.1rem; width: 3.6rem; height: 3.6rem; margin: 0 !important; border-radius: 50%; background: #5DE0B5; color: #fff; display: grid; place-items: center; font-size: 2rem !important; font-weight: 600; line-height: 1; }
.oa-card-grid:has(.oa-icon-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin-inline: auto !important; gap: 4.5rem 6rem; margin-top: 5rem !important; }
.oa-icon-card { padding: 3.75rem 1.4rem 1.5rem; border: 1px solid #d9dcdf; }
.oa-icon-card h3 { text-align: left; }
.oa-icon-card .oa-card-icon { position: absolute; top: -3.75rem; left: 50%; transform: translateX(-50%); width: 7.5rem; height: 7.5rem; margin: 0; border-radius: 50%; background: var(--oa-cyan); display: grid; place-items: center; }
.oa-icon-card .oa-card-icon img { width: 62%; height: 62%; object-fit: contain; filter: brightness(0) invert(1); }
.oa-photo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 1.5rem !important; }
.oa-photo-row .wp-block-image { margin: 0; height: clamp(16rem, 29vw, 23rem); }
.oa-photo-row .wp-block-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oa-book-now { margin-top: 1.75rem !important; }
.oa-book-now .wp-block-button__link { background: var(--oa-yellow); color: #313638; border: var(--oa-border); border-radius: 999px; padding: 0.55rem 2rem; font-weight: 600; }
@media (max-width: 900px) { .oa-card-grid:has(.oa-num-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .oa-card-grid:has(.oa-num-card), .oa-card-grid:has(.oa-icon-card) { grid-template-columns: 1fr; } }
.oa-card-grid > * { margin-block-start: 0 !important; }   /* cards in a row line up at the top */

/* Book an Appointment, as on the published site: blue → teal background, a white card with a yellow insurance bar
   top and bottom, logo and heading centred, the office map on the left and the form on the right */
.oa-book-band { background: linear-gradient(135deg, #2E8FD0 0%, #1FB5D6 45%, #3DD3C9 100%); padding: clamp(1.5rem, 3vw, 3rem) 1rem; }
.oa-book-card { max-width: 1100px; margin: 0 auto; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }
.oa-book-bar { margin: 0; background: var(--oa-yellow); text-align: center; font-weight: 600; font-size: 0.95rem; padding: 0.7rem 1rem; }
.oa-book-head { text-align: center; padding: 1.5rem clamp(1rem, 4vw, 4rem) 0.5rem; }
.oa-book-logo { width: min(340px, 70%); height: auto; display: block; margin: 0 auto 0.75rem; }
.oa-book-head h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 0.75rem; }
.oa-book-head p { max-width: 46rem; margin: 0 auto; line-height: 1.7; }
.oa-book-cols { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 1.5rem; padding: 1.5rem clamp(1rem, 2vw, 1.75rem) 1.75rem; align-items: stretch; }
.oa-book-map .oa-map-wrap { height: 100%; display: flex; flex-direction: column; }
.oa-book-map .oa-map { flex: 1; min-height: 28rem; border-radius: 8px; }
.oa-book-form .oa-form { max-width: none; margin: 0; padding: 0; border: 0; box-shadow: none; background: none; }
.oa-book-form .oa-form input:not([type=checkbox]):not([type=radio]), .oa-book-form .oa-form select, .oa-book-form .oa-form textarea { background: #EAF4F8; border-color: #BFE0EC; }
@media (max-width: 860px) { .oa-book-cols { grid-template-columns: 1fr; } .oa-book-map { order: 2; } .oa-book-map .oa-map { min-height: 20rem; } }

/* "We are in-network with many insurance plans, including": the carriers' logos */
.oa-ins-row:has(.oa-ins-logo) { gap: 1.25rem 2.5rem; max-width: 1150px; align-items: center; }
.oa-ins-logo { display: flex; align-items: center; justify-content: center; width: 11rem; height: 4rem; padding: 0.25rem; border-radius: 8px; transition: transform 0.15s ease; }
.oa-ins-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; mix-blend-mode: multiply; }
.oa-ins-logo:hover, .oa-ins-logo:focus-visible { transform: scale(1.06); }
@media (max-width: 600px) { .oa-ins-logo { width: 8.5rem; height: 3.2rem; } }
.oa-doc-card[hidden] { display: none !important; }

/* Doctor cards with the round photo on the edge: the card is exactly as tall as the photo (text centred, bio cut to fit) */
@media (min-width: 641px) {
	.oa-doc-row { height: var(--oa-doc-ph); min-height: 0; padding-top: 0.9rem; padding-bottom: 0.9rem; display: flex; flex-direction: column; justify-content: center; overflow: visible; }
	.oa-doc-row > div { min-height: 0; }
	.oa-doc-row h3, .oa-doc-row h2 { margin: 0 0 0.45rem; }
	.oa-doc-row .oa-doc-school { margin: 0 0 0.45rem; }
	.oa-doc-row .oa-school-logo { width: 2rem; height: 2rem; }
	.oa-doc-row .oa-doc-row-bio { margin: 0 0 0.35rem; -webkit-line-clamp: 3; line-clamp: 3; }
	.oa-doc-row .oa-doc-row-meta { margin: 0; }
}
/* Service pages use the location pages' review cards; the office link sits at the bottom inside the card */
.oa-rev-name { margin-top: auto; line-height: 1.5; }
.oa-rev-name a { display: inline-flex; align-items: center; gap: 0.25rem; margin-top: 0.15rem; font-size: 0.95rem; color: #313638; }
/* Connect with Us!: round social icons */
.oa-social--icons { gap: 1.1rem; }
.oa-social--icons a { background: none; border: 0; padding: 0; border-radius: 50%; line-height: 0; transition: transform 0.15s ease; }
.oa-social--icons a:hover, .oa-social--icons a:focus-visible { transform: scale(1.1); }
.oa-social--icons img { width: 3rem; height: 3rem; display: block; }

/* Patient Forms & Education, as in the Wix Studio draft: a teal → blue background and wide white accordion bars */
.oa-pf-band { background: radial-gradient(circle at 89% 80%, rgba(77, 155, 196, 0.9) 0%, rgba(77, 155, 196, 0) 45%), linear-gradient(120deg, #5FE0B5 0%, #2EC4C9 45%, #19B6D6 100%); padding: clamp(2rem, 4vw, 3.5rem) 1rem; }
.oa-pf { max-width: 1000px; margin: 0 auto; text-align: center; }
.oa-pf h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 0 0 1rem; }
.oa-pf-intro { margin: 0 auto 2rem; max-width: none; line-height: 1.7; }
.oa-pf-list { display: grid; gap: 0.75rem; text-align: left; }
.oa-pf-acc { background: #F5F5F5; border: 1.5px solid #D4D7DA; border-radius: 10px; overflow: hidden; }
.oa-pf-acc > summary { list-style: none; cursor: pointer; position: relative; padding: 0.85rem 4rem; text-align: center; font-weight: 700; font-size: clamp(1.15rem, 2.1vw, 1.75rem); color: #313638; }
.oa-pf-acc > summary::-webkit-details-marker { display: none; }
.oa-pf-acc > summary::after { content: ""; position: absolute; right: 1.75rem; top: 50%; width: 0.85rem; height: 0.85rem; border-left: 3px solid #313638; border-bottom: 3px solid #313638; transform: translateY(-50%) rotate(45deg); transition: transform 0.2s ease; }
.oa-pf-acc[open] > summary::after { transform: translateY(-75%) rotate(-45deg); }
.oa-pf-acc > summary:hover { background: #EDEFF1; }
.oa-pf-body { background: #fff; margin: 0 0.5rem 0.5rem; border-radius: 6px; padding: 1.25rem clamp(1rem, 3vw, 2.5rem) 1.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem 2rem; }
.oa-pf-note { grid-column: 1 / -1; margin: 0; background: #FFF6D1; border-radius: 8px; padding: 0.7rem 1rem; font-size: 0.95rem; }
.oa-pf-group h3 { font-size: 1.05rem; margin: 0 0 0.5rem; }
.oa-pf-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.oa-pf-links a { display: inline-flex; gap: 0.45rem; align-items: baseline; text-decoration: none; color: #313638; }
.oa-pf-links a::before { content: "PDF"; font-size: 0.65rem; font-weight: 700; color: #fff; background: #D64545; border-radius: 3px; padding: 0.1rem 0.3rem; transform: translateY(-1px); }
.oa-pf-links a:hover { text-decoration: underline; text-decoration-color: var(--oa-teal); text-underline-offset: 3px; }

/* Services menu: four even columns sized to fit their links (no dividing lines), Learn More on its own row below */
@media (min-width: 961px) {
	#oa-mega-services.oa-mega-panel--links { grid-template-columns: 1fr; gap: 1rem; width: min(1075px, calc(100vw - 2rem)); max-width: none; }   /* fixed: as wide as the Locations menu with every office */
	#oa-mega-services .oa-mega-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 1.75rem; }   /* four equal columns */
	#oa-mega-services .oa-mega-cols ul { padding: 0 0 0 1.75rem; }   /* the teal dividing lines stay */
	#oa-mega-services .oa-mega-cols ul:first-child { padding-left: 0; }
	#oa-mega-services .oa-mega-cols a { white-space: nowrap; }
	#oa-mega-services .oa-mega-ctas { justify-self: end; }
}
/* the yellow buttons in the menus: 50px tall */
.oa-mega-cta { display: inline-flex; align-items: center; justify-content: center; height: 50px; box-sizing: border-box; padding: 0 1.5rem; font-size: 1rem; line-height: 1; }
/* Services menu: links without the teal underline (shown on hover only) */
#oa-mega-services .oa-mega-cols a { text-decoration: none; }
#oa-mega-services .oa-mega-cols a:hover, #oa-mega-services .oa-mega-cols a[aria-current] { text-decoration: underline; text-decoration-color: var(--oa-teal); text-underline-offset: 4px; }
/* Every menu: no underline on links; the teal underline shows on hover (and on the page you're on) */
.oa-mega-cols a, .oa-mega-resources a, .oa-mega-panel a:not(.oa-mega-cta):not(.oa-mega-card) { text-decoration: none; }
.oa-mega-cols a:hover, .oa-mega-cols a:focus-visible, .oa-mega-cols a[aria-current],
.oa-mega-resources a:hover, .oa-mega-resources a:focus-visible,
.oa-mega-panel a:not(.oa-mega-cta):not(.oa-mega-card):hover { text-decoration: underline; text-decoration-color: var(--oa-teal); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Buttons are at most 42px tall (header, menus, pills, forms, review and state buttons) */
.wp-block-button__link, .oa-pill-link, .oa-mega-cta, .oa-mega-state-btn, .oa-chat-hdr, .oa-lang-btn, .oa-review-links a.oa-review-link,
.oa-btn-submit, .oa-btn-next, .oa-btn-back, .oa-btn-prev, .oa-state-btn, .oa-find, .wp-block-search__button, .oa-book-now .wp-block-button__link {
	height: 42px !important; min-height: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important;
	display: inline-flex !important; align-items: center; justify-content: center; white-space: nowrap; box-sizing: border-box; line-height: 1;
}
.oa-carousel-btn { width: 42px; height: 42px; }
.oa-review-links a.oa-review-link { font-size: 1.1rem; gap: 0.6rem; }
.oa-review-link--facebook img { height: 1.15rem; }
.oa-review-link--google img { height: 1.55rem; }
.oa-review-link--yelp img { height: 2rem; margin: 0; }
.oa-chat-hdr img { width: 24px; height: 24px; }
/* Patient Forms: the online forms inside the bars, with a tab per language / consent, and the PDFs underneath */
.oa-pf-body--form { display: block; }
.oa-pf-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; margin: 0 0 1.25rem; }
.oa-pf-tabs button { font: inherit; font-weight: 600; background: #F0F0F0; border: 1px solid #C9CDD1; border-radius: 999px; padding: 0 1.1rem; height: 38px; cursor: pointer; color: #313638; }
.oa-pf-tabs button[aria-selected="true"] { background: var(--oa-teal); border-color: #313638; }
.oa-pf-form .oa-form { max-width: 820px; margin: 0 auto; }
.oa-pf-pdfs { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px dashed #C9CDD1; }
.oa-pf-pdf-h { font-weight: 700; margin: 0 0 0.75rem; }
.oa-pf-pdf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem 2rem; }
/* Homepage: the blue / cyan / teal bar (as under the three panels at the top) just above the footer */
.oa-tri-bar { display: grid; grid-template-columns: repeat(3, 1fr); height: 10px; margin-block: 0 !important; }
.oa-tri-bar span:nth-child(1) { background: var(--oa-blue); }
.oa-tri-bar span:nth-child(2) { background: var(--oa-cyan); }
.oa-tri-bar span:nth-child(3) { background: var(--oa-teal); }
/* Homepage doctor slider: each office link with the location pin, like the review cards */
.oa-doc-where { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.15rem 0.75rem; }
.oa-doc-where a.oa-ico-pin { display: inline-flex; align-items: center; white-space: nowrap; }
.oa-doc-where a.oa-ico-pin::before { margin-right: 0.3em; }
/* Locations menu: Choose a State / Other States and Find Your Location, same width */
#oa-mega-locations .oa-mega-ctas { display: flex; flex-direction: column; align-items: flex-end; }
#oa-mega-locations .oa-mega-state-btn, #oa-mega-locations .oa-mega-cta { width: 13.5rem; justify-content: center; }
/* Location pages → treatments: circles 20% smaller (still seven to a row across the page) */
.oa-tx-grid.alignfull { justify-content: space-evenly; }
.oa-tx-grid.alignfull .oa-tx { flex-basis: calc(0.8 * (100% - (var(--oa-tx-n) - 1) * var(--oa-tx-gap)) / var(--oa-tx-n)); max-width: 10.4rem; font-size: clamp(0.72rem, 1vw, 0.92rem); padding: 0.6rem; }
/* Patients / About Us menus: card titles without the underline; the teal underline shows on hover */
.oa-mega-card-title { text-decoration: none; }
.oa-mega-card:hover .oa-mega-card-title, .oa-mega-card:focus-visible .oa-mega-card-title, .oa-mega-card[aria-current] .oa-mega-card-title { text-decoration: underline; text-decoration-color: var(--oa-teal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
/* Patients and About Us menus: card titles without the teal underline; it shows on hover (and on the page you're on) */
.oa-mega-card-title { text-decoration: none; }
.oa-mega-card:hover .oa-mega-card-title, .oa-mega-card:focus-visible .oa-mega-card-title, .oa-mega-card[aria-current] .oa-mega-card-title { text-decoration: underline; text-decoration-color: var(--oa-teal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.oa-pf-acc { box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45), 0 6px 16px rgba(49, 54, 56, 0.18); }   /* Patient Forms: drop shadow on the bars */
/* the blue / cyan / teal bar is the top edge of the footer on every page, with no gap above or below it */
footer.wp-block-template-part { margin-block-start: 0 !important; }
footer .oa-tri-bar { margin: 0 !important; }
footer .oa-tri-bar + .oa-footer { margin-block-start: 0 !important; }
.oa-map-pop { font: 14px/1.45 Urbanist, system-ui, sans-serif; color: #313638; } .oa-map-pop a { color: #2d7aa3; }

/* Pricing & Dental Insurance, as in the Wix Studio draft */
.oa-split-band { padding: 0; background: #FFFEFD; }
.oa-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.oa-split-text { padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 5vw, 5rem); align-self: center; max-width: 40rem; justify-self: end; }
.oa-split-text h2 { margin: 0 0 1rem; }
.oa-split-text ol { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.35rem; }
.oa-split-photo { position: relative; min-height: 26rem; }
.oa-split-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.oa-ins-list { columns: 4 13rem; column-gap: 2rem; max-width: var(--wp--style--global--wide-size, 1280px) !important; margin: 1.5rem auto !important; padding-left: 1.1rem; }
.oa-ins-list li { break-inside: avoid; margin: 0 0 0.15rem; }
.oa-tight-h { margin-bottom: 0.25rem !important; }
.oa-sub-h { font-size: clamp(1.3rem, 2.2vw, 1.75rem); margin-top: 0 !important; }
.oa-pay-list { display: grid; gap: 2.25rem; max-width: 960px !important; margin: 1.5rem auto 0 !important; }
.oa-pay-row { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1.5rem; align-items: center; }
.oa-pay-ic { width: 6rem; height: auto; max-height: 5.5rem; object-fit: contain; }
.oa-pay-row h3 { font-size: clamp(1.35rem, 2.3vw, 1.9rem); margin: 0 0 0.35rem; }
.oa-pay-row p { margin: 0; }
@media (max-width: 781px) { .oa-split { grid-template-columns: 1fr; } .oa-split-photo { min-height: 16rem; } .oa-split-text { justify-self: stretch; } .oa-pay-row { grid-template-columns: 4rem 1fr; } .oa-pay-ic { width: 4rem; } }
.oa-band--wide.is-layout-constrained > .oa-pay-list { max-width: 960px !important; }
/* Location pages → treatments: full rows spread across the page; a shorter last row sits together in the middle,
   with the same spacing as the rows above */
.oa-tx-grid.alignfull { justify-content: center; column-gap: calc((100% - var(--oa-tx-n) * 0.8 * (100% - (var(--oa-tx-n) - 1) * var(--oa-tx-gap)) / var(--oa-tx-n)) / (var(--oa-tx-n) - 1) - 1px); }   /* 1px spare so a full row never wraps from rounding */
/* (circle size and spacing worked out together so each full row holds exactly --oa-tx-n circles) */
.oa-tx-grid.alignfull { --oa-tx-w: min(10.4rem, 0.92 * (100% - (var(--oa-tx-n) - 1) * var(--oa-tx-gap)) / var(--oa-tx-n)); column-gap: calc((100% - var(--oa-tx-n) * var(--oa-tx-w)) / (var(--oa-tx-n) - 1) - 1px); }
.oa-tx-grid.alignfull .oa-tx { flex: 0 0 var(--oa-tx-w); width: var(--oa-tx-w); max-width: none; min-width: 0; box-sizing: border-box; }
.oa-tx-grid.alignfull .oa-tx span { white-space: normal; overflow-wrap: anywhere; }

/* Why Open & Affordable, as in the Wix Studio draft */
.oa-why-hero { background: #FFFEFD; padding: 1.75rem 0 2rem; text-align: center; }
.oa-why-hero h1 { margin: 0; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.oa-why-sub { margin: 0.35rem 0 1.25rem; font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 600; color: var(--oa-charcoal); }
.oa-why-hero-img { display: block; width: 100%; height: clamp(14rem, 25vw, 22rem); object-fit: cover; }
.oa-why-hero-foot { padding: 1rem 1rem 0; }
.oa-why-hero-foot p { margin: 0 0 1rem; }
.oa-why-stats { background: linear-gradient(#FFFEFD, #4D9BC4); padding: clamp(2rem, 4vw, 3rem) 1rem; text-align: center; }
.oa-why-stats h2, .oa-why-reasons h2, .oa-why-reviews h2, .oa-why-ready h2, .oa-why-find h2 { margin: 0 0 0.6rem; font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.oa-why-stats .oa-stat-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); max-width: 1180px; margin: 1.75rem auto 0; }
.oa-why-stats .oa-stat-tile { background: #F0F0F0; border: 1.5px solid #9AA0A6; border-radius: 10px; box-shadow: 0 2px 6px rgba(0,0,0,.35); padding: 1.5rem 1rem; display: grid; gap: 0.4rem; }
.oa-why-stats .oa-stat-tile strong { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 600; }
.oa-why-stats .oa-stat-tile span { font-size: 1.1rem; color: #4A5154; }
.oa-why-reasons { background: linear-gradient(#4D9BC4, #02CDC5); padding: clamp(2.5rem, 4vw, 3.5rem) 1rem; text-align: center; color: #fff; }
.oa-why-reasons h2 { color: #fff; line-height: 1.3; }
.oa-why-reasons > p { color: #fff; }
.oa-why-hero, .oa-why-stats, .oa-why-reasons, .oa-why-reviews, .oa-why-ready, .oa-why-find { margin-block: 0 !important; }
.oa-why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1.75rem; max-width: 960px; margin: 1.75rem auto 0; text-align: left; color: var(--oa-charcoal); }
.oa-why-card { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; align-items: center; background: #EEEEEE; border: 1.5px solid #9AA0A6; border-radius: 10px; box-shadow: 0 2px 6px rgba(0,0,0,.35); padding: 1.25rem 1.25rem; }
.oa-why-card img { width: 5.5rem; height: 5.5rem; object-fit: contain; }
.oa-why-card h3 { margin: 0 0 0.3rem; font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--oa-charcoal); }
.oa-why-card p { margin: 0; color: #4A5154; font-size: 0.98rem; line-height: 1.45; }
.oa-why-reviews { background: #02CDC5; padding: clamp(2rem, 4vw, 3rem) 1rem; text-align: center; }
.oa-why-reviews h2 { color: #fff; }
.oa-why-revhead { margin: 0 0 0.4rem; color: #fff; font-size: 1.5rem; display: flex; justify-content: center; align-items: center; gap: 1.25rem; }
.oa-why-revhead .oa-stars { color: var(--oa-yellow); font-size: 2rem; letter-spacing: 0.1em; }
.oa-why-reviews a { color: #fff; }
.oa-why-ready { background: #FFFEFD; padding: clamp(2.5rem, 4vw, 3.5rem) 1rem; text-align: center; }
.oa-why-ready-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.oa-why-find { background: #FFFEFD; padding: 0 1rem clamp(2rem, 4vw, 3rem); text-align: center; }
.oa-why-find .oa-map-wrap { max-width: 1280px; margin: 1.5rem auto 0; text-align: left; }
@media (max-width: 781px) { .oa-why-grid { grid-template-columns: 1fr; } .oa-why-stats .oa-stat-tiles { grid-template-columns: 1fr 1fr; } }
.oa-why-reasons .oa-why-card p { color: #4A5154 !important; }
.oa-why-reasons .oa-why-card h3 { color: var(--oa-charcoal) !important; }
main .oa-why-stats + .oa-why-reasons, main .oa-why-reasons + .oa-why-reviews { margin-top: 0 !important; }

/* Doctor pages: the Studio draft's icons, the offices beside a map of them, the booking form */
.oa-doc-facts li.oa-dh-edu, .oa-doc-facts li.oa-dh-grad, .oa-doc-facts li.oa-dh-assoc { padding-left: 4.6rem; min-height: 3.6rem; }
.oa-doc-facts li.oa-dh-edu::before, .oa-doc-facts li.oa-dh-grad::before, .oa-doc-facts li.oa-dh-assoc::before { content: none; }
.oa-dh-ic { position: absolute; left: 0; top: 0; width: 3.4rem; height: 3.4rem; color: var(--oa-charcoal); }
.oa-dh-ic svg { width: 100%; height: 100%; display: block; }
.oa-doc-where { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; align-items: stretch; max-width: 1180px; margin: 1.5rem auto 0; }
.oa-doc-office-list { display: grid; gap: 1rem; align-content: start; }
.oa-doc-where .oa-doc-office { grid-template-columns: 1fr; margin: 0; }
.oa-doc-where .oa-doc-office-photo { display: none; }
.oa-doc-map .oa-map-wrap, .oa-doc-map .oa-map { height: 100%; }
.oa-doc-map .oa-map { min-height: 22rem; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.oa-doc-book { max-width: 860px; margin: 1.5rem auto 0; }
@media (max-width: 781px) { .oa-doc-where { grid-template-columns: 1fr; } .oa-doc-map .oa-map { min-height: 18rem; } }
.oa-doc-offices:has(.oa-doc-where) { max-width: 1180px; } .oa-doc-offices .oa-doc-where { margin-top: 0; }

/* Office pages: practice details as a row of cards right under the hero */
.oa-ld-band { background: var(--wp--preset--color--cream, #FFFEFD); padding: 0 1.5rem 1.75rem; margin-block: 0 !important; }
.oa-ld-band > .oa-ld { max-width: none; }
.oa-ld { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; max-width: 1180px; margin: 0 auto; }
.oa-ld-card { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 0.85rem; align-items: start; background: #fff; border: 1px solid #DDE3E6; border-top: 4px solid var(--wp--preset--color--cyan, #00B5CF); border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.08); padding: 1.1rem 1.15rem; color: var(--oa-charcoal); }
.oa-ld-card h3 { margin: 0 0 0.35rem; font-size: 1.15rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.oa-ld-card p { margin: 0 0 0.4rem; line-height: 1.45; font-size: 0.98rem; }
.oa-ld-ic { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--oa-yellow, #F8D553); position: relative; }
.oa-ld-ic::before { content: ""; position: absolute; inset: 0.65rem; background: var(--oa-charcoal); -webkit-mask: var(--oa-i) center / contain no-repeat; mask: var(--oa-i) center / contain no-repeat; }
.oa-ld-where { --oa-i: var(--oa-icon-pin); }
.oa-ld-contact { --oa-i: var(--oa-icon-phone); }
.oa-ld-hours { --oa-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.oa-ld-lang { --oa-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3Cpath d='M8.5 12h.01M12 12h.01M15.5 12h.01'/%3E%3C/svg%3E"); }
.oa-ld-link { font-weight: 600; color: var(--oa-charcoal); text-decoration: underline; text-decoration-color: var(--oa-teal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.oa-ld-link:hover { color: var(--oa-blue); }
.oa-ld-phone { font-size: 1.25rem; font-weight: 700; color: var(--oa-charcoal); text-decoration: none; }
.oa-ld-note { font-size: 0.9rem; color: #5b6366; }
.oa-ld-now { font-size: 0.75rem; font-weight: 700; padding: 0.15rem 0.55rem; border-radius: 999px; }
.oa-ld-now.is-open { background: #DDF5E4; color: #19693A; }
.oa-ld-now.is-closed { background: #F3E1E1; color: #8A2B2B; }
.oa-nowrap { white-space: nowrap; }
/* Side-by-side upload boxes (Refer to Us): three equal columns, boxes lined up even when a label wraps */
.oa-form-row:has(> .oa-field--file) { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 1rem 1.25rem; }
.oa-form-row > .oa-field--file { display: flex; flex-direction: column; }
.oa-form-row > .oa-field--file .oa-drop { flex: 1; min-height: 9rem; }
@media (max-width: 781px) { .oa-form-row:has(> .oa-field--file) { grid-template-columns: 1fr; } }
/* Refer to Us: the Schedule Appointment card, one wide column for the form */
.oa-book-form--single { padding: 1.25rem clamp(1rem, 4vw, 3rem) 2rem; }
.oa-book-form--single .oa-form-intro, .oa-book-form--single .oa-form > h2:first-child { display: none; }
/* teeth: one row of 16 for the upper teeth and one for the lower */
.oa-choices--teeth { grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 0.3rem; }
.oa-choices--teeth .oa-choice { flex-direction: column; align-items: center; gap: 0.2rem; padding: 0.4rem 0.1rem; min-width: 0; font-size: 0.95rem; }
.oa-choices--teeth .oa-choice input { margin: 0; }
@media (max-width: 781px) { .oa-choices--teeth { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
/* Locations menu: four equal columns across the panel, the State and Find Your Location buttons in a row underneath */
@media (min-width: 961px) {
	#oa-mega-locations.oa-mega-panel--links { width: min(1180px, calc(100vw - 2rem)); grid-template-columns: 1fr; gap: 1.25rem; }
	#oa-mega-locations .oa-mega-cols { grid-template-columns: repeat(var(--oa-loc-cols, 4), minmax(0, 1fr)); width: 100%; }
	#oa-mega-locations .oa-mega-ctas { flex-direction: row; align-items: center; justify-content: flex-end; gap: 1rem; border-top: 1px solid #e3e7e9; padding-top: 1rem; }
	#oa-mega-locations .oa-mega-cta { justify-self: auto; }
}
@media (min-width: 961px) {
	#oa-mega-locations .oa-mega-ctas { align-items: center; }
	#oa-mega-locations .oa-mega-state:not([hidden]) { display: flex; flex-direction: row; align-items: center; gap: 1rem; position: relative; }
	#oa-mega-locations .oa-mega-state-now { margin: 0; }
}
/* Locations menu with one short column (Missouri): the box shrinks to fit, list and buttons centred */
@media (min-width: 961px) {
	#oa-mega-locations.oa-mega-panel--links.is-narrow { width: max-content; }
	#oa-mega-locations.is-narrow .oa-mega-cols { grid-template-columns: max-content; justify-content: center; }
	#oa-mega-locations.is-narrow .oa-mega-ctas { justify-content: center; }
}
/* Services menu: the same grey line under the columns as the Locations menu, Learn More on the right below it */
@media (min-width: 961px) {
	#oa-mega-services .oa-mega-ctas { justify-self: stretch; display: flex; justify-content: flex-end; align-items: center; border-top: 1px solid #e3e7e9; padding-top: 1rem; }
}
/* Office pages: Connect with Us fades from the blue above to the cream FAQ section below */
.oa-connect-band { background: linear-gradient(#00B5CF, #FFFEFD); }
/* Footer: Services takes two columns, its heading centred over both */
.oa-footer-cols > .oa-footer-services { grid-column: span 2; }
.oa-footer-services > h2 { text-align: center; }
.oa-footer-services ul { columns: 2; column-gap: 1.5rem; }
.oa-footer-services li { break-inside: avoid; }
@media (max-width: 900px) { .oa-footer-services ul { columns: 2; } }
/* Refer to Us: the intro text runs the full width of the form fields */
.oa-book-card--single .oa-book-head { padding-inline: clamp(1rem, 4vw, 3rem); }
.oa-book-card--single .oa-book-head p { max-width: none; }

/* Female Dentists page (Wix Studio draft): cyan hero card with the info panels overlapping it, owned-clinic cards, every female doctor */
.oa-fem-hero-band { background: #FFFEFD; padding: 0.75rem 1rem 2.5rem; margin-block: 0 !important; }
.oa-fem-hero .oa-loc-hero-text { padding-bottom: 6.5rem; }
.oa-fem-hero .oa-loc-hero-media img { aspect-ratio: 16 / 11; }
.oa-fem-panels { margin-top: -5.5rem; }
.oa-fem-intro, .oa-fem-clinics, .oa-fem-team, .oa-fem-faq { background: #FFFEFD; padding: 1.5rem 1rem 2.5rem; margin-block: 0 !important; }
.oa-fem-intro > *, .oa-fem-clinics > h2, .oa-fem-clinics > p, .oa-fem-team > h2, .oa-fem-team > p { max-width: 900px; margin-left: auto !important; margin-right: auto !important; }
.oa-fem-intro h2, .oa-fem-clinics h2, .oa-fem-team h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.75rem; }
.oa-fem-cta { text-align: center; margin-top: 1.25rem; }
.oa-owned { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: 1180px; margin: 1.5rem auto 0; }
.oa-owned-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #F0F0F0; border: 1.5px solid #C9CED1; border-radius: 10px; overflow: hidden; min-height: 15rem; }
.oa-owned-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 0.5rem); justify-self: center; }
.oa-owned-text { padding: 1rem 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.oa-owned-text h3 { font-size: 1.15rem; margin: 0; }
.oa-owned-text p { margin: 0; font-size: 0.95rem; line-height: 1.5; }
.oa-owned-text p a { color: inherit; }
.oa-owned-text .oa-pill-link { margin-top: auto; align-self: center; }
.oa-owned-photo { display: block; background: #e4e4e4; }
.oa-owned-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oa-ico-book { --oa-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h6a4 4 0 0 1 4 4v12a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 4h-6a4 4 0 0 0-4 4v12a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E"); }
a.oa-ico-book::before { content: ""; display: inline-block; width: 1.1em; height: 1.1em; margin-right: 0.45em; vertical-align: -0.15em; background: currentColor; -webkit-mask: var(--oa-i) center / contain no-repeat; mask: var(--oa-i) center / contain no-repeat; }
.oa-doc-cards--all { max-width: 1180px; }
.oa-doc-cards--all .oa-doc-card { background: #F0F0F0; border: 1.5px solid #C9CED1; border-radius: 10px; }
@media (max-width: 900px) { .oa-owned { grid-template-columns: 1fr; } .oa-owned-card:last-child:nth-child(odd) { width: auto; } .oa-doc-cards--all { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .oa-owned-card { grid-template-columns: 1fr; } .oa-owned-photo { order: -1; aspect-ratio: 16 / 9; } .oa-doc-cards--all { grid-template-columns: 1fr; } }

/* Phones: Call Now / Book an Appointment fixed to the bottom of the screen (includes/tracking.php) */
.oa-mbar { display: none; }
@media (max-width: 781px) {
	.oa-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9980; gap: 0; background: #fff; box-shadow: 0 -2px 10px rgba(0,0,0,.18); padding: 0 0 env(safe-area-inset-bottom); }
	.oa-mbar a { flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 3.6rem; padding: 0.45rem 0.6rem; text-decoration: none; font-weight: 700; font-size: 1rem; line-height: 1.15; color: #313638; }
	.oa-mbar-call { background: #02CDC5; }
	.oa-mbar-book { background: var(--oa-yellow, #F8D553); }
	.oa-mbar a small { display: block; font-weight: 500; font-size: 0.78rem; opacity: 0.85; }
	.oa-mbar-ic { width: 1.45rem; height: 1.45rem; flex: none; background: currentColor; -webkit-mask: var(--oa-i) center / contain no-repeat; mask: var(--oa-i) center / contain no-repeat; }
	.oa-mbar-ic--phone { --oa-i: var(--oa-icon-phone); }
	.oa-mbar-ic--cal { --oa-i: var(--oa-icon-calendar); }
	body { padding-bottom: calc(3.6rem + env(safe-area-inset-bottom)); }
	.oa-chat { bottom: calc(3.6rem + env(safe-area-inset-bottom)); }
	.oa-chat.is-open { bottom: 0; }
}
@media print { .oa-mbar { display: none !important; } }
/* the carousels' hidden screen-reader labels were positioned against the carousel instead of the scrolling track,
   so off-screen cards stretched the page sideways (worst on phones). Keep them inside the track, and never let the
   page itself scroll sideways. */
.oa-carousel-track, .oa-rev, .oa-review-card { position: relative; }
html, body { overflow-x: clip; }
/* Phones: review carousels are swiped, so the arrow buttons (which covered the review text) go, and each card takes
   most of the screen width with the next one peeking in */
@media (max-width: 600px) {
	.oa-rev-carousel .oa-carousel-btn { display: none; }
	.oa-rev-carousel .oa-carousel-track { padding-left: 1rem; padding-right: 1rem; scroll-padding-left: 1rem; }
	.oa-rev { flex-basis: 82vw; }
}
/* phone bar: Call Now · Text Us · Book Now */
@media (max-width: 781px) {
	.oa-mbar a { font-size: 0.95rem; gap: 0.4rem; padding: 0.4rem 0.35rem; flex-direction: column; text-align: center; }
	.oa-mbar a small { font-size: 0.7rem; }
	.oa-mbar-text { background: #4D9BC4; color: #fff !important; }
	.oa-mbar-ic--text { --oa-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3C/svg%3E"); }
}

/* Translated pages: longer words. Service names wrap inside their column instead of running past the menu's edge,
   and the About Us / Patients picture cards line up row by row (picture, description, title) however long the text. */
#oa-mega-services .oa-mega-cols a { white-space: normal; line-height: 1.3; padding-top: 0.35rem; padding-bottom: 0.35rem; }
@media (min-width: 961px) {
	.oa-mega-cards { grid-auto-rows: auto; align-items: stretch; }
	.oa-mega-card { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0.35rem; align-content: start; }
	.oa-mega-card-desc { align-self: end; }
	.oa-mega-card-title { align-self: start; }
}

/* Career Information: the resource links as teal buttons with an icon (video, PDF or document, slides, page) */
.oa-page-career-information .wp-block-post-title { font-size: clamp(2rem, 3.4vw, 2.75rem); text-align: center; }
.oa-page-career-information .oa-link-list { columns: auto; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem 1rem; margin-block: 1.25rem 0; }
@media (max-width: 640px) { .oa-page-career-information .oa-link-list { grid-template-columns: 1fr; } }
.oa-page-career-information .oa-link-list a { width: 100%; box-sizing: border-box; }
.oa-page-career-information .oa-link-list li { margin: 0; }
.oa-page-career-information .oa-link-list a { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1.4rem; background: var(--oa-teal); color: var(--oa-charcoal); border: 1px solid var(--oa-charcoal); border-radius: 999px; font-weight: 500; font-size: 1.05rem; text-decoration: none; line-height: 1.2; transition: background-color .15s, transform .15s; }
.oa-page-career-information .oa-link-list a:hover, .oa-page-career-information .oa-link-list a:focus-visible { background: #2ee0d8; transform: translateY(-1px); }
.oa-page-career-information .oa-link-list a::before { content: ""; flex: none; width: 1.2rem; height: 1.2rem; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m11 8 4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m11 8 4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat; }
.oa-page-career-information .oa-link-list a[href*="youtube"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='4'/%3E%3Cpath d='m10 9 5 3-5 3z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='4'/%3E%3Cpath d='m10 9 5 3-5 3z'/%3E%3C/svg%3E"); }
.oa-page-career-information .oa-link-list a[href$=".pdf"]::before, .oa-page-career-information .oa-link-list a[href*="/document/"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h5'/%3E%3C/svg%3E"); }
.oa-page-career-information .oa-link-list a[href*="/presentation/"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M12 16v4M8 20h8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M12 16v4M8 20h8'/%3E%3C/svg%3E"); }
/* the password box */
.post-password-form { max-width: 34rem; margin-inline: auto; text-align: center; }
.post-password-form label { display: inline-flex; align-items: center; gap: 0.6rem; }
.post-password-form input[type="password"] { font: inherit; padding: 0.55rem 0.9rem; border: 1px solid #c9ced1; border-radius: 999px; min-width: 14rem; }
.post-password-form input[type="password"]:focus { outline: 3px solid var(--oa-cyan); outline-offset: 1px; }
.oa-page-career-information .oa-signature { display: block; width: auto; max-width: 220px; max-height: 90px; height: auto; margin: 0.4rem 0 0.2rem; }

/* Practice Opportunities (/practice-opportunities) */
.oa-po { --po-mentor: var(--oa-teal); --po-sale: #2E6FB7; display: grid; gap: 3rem; margin-block: 2rem; width: min(1280px, 100%); max-width: none !important; margin-inline: auto !important; }
.oa-po-h { text-align: center; margin: 0 0 1.25rem; }
.oa-po-map .oa-map { height: 520px; }
.oa-po-list { list-style: none; margin: 1.5rem 0 0; padding: 0; columns: 4; column-gap: 2rem; }
.oa-po-list li { break-inside: avoid; padding: 0.3rem 0 0.3rem 1.4rem; position: relative; }
.oa-po-list li::before { content: ""; position: absolute; left: 0; top: 0.65rem; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--po-mentor); }
.oa-po-list li.oa-po-sale::before { background: var(--po-sale); }
.oa-po-list a { color: inherit; text-decoration: none; font-weight: 600; }
.oa-po-list a:hover { text-decoration: underline; }
.oa-po-key { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2rem; margin: 1.25rem 0 0; font-weight: 600; }
.oa-po-key span { display: inline-flex; align-items: center; gap: 0.5rem; }
.oa-po-key span::before { content: ""; width: 1.4rem; height: 0.9rem; border-radius: 4px; background: var(--po-mentor); }
.oa-po-key .oa-po-sale::before { background: var(--po-sale); }
.oa-po-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.oa-po-since { display: block; font-size: 0.85rem; color: #5b6366; margin-top: 0.1rem; }
.oa-po-card { background: var(--oa-cream); border: var(--oa-border); border-radius: var(--oa-radius); padding: 1rem 1.15rem; box-shadow: var(--oa-shadow); }
.oa-po-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.5rem; }
.oa-po-name { line-height: 1.4; }
.oa-po-name b { display: block; font-size: 1.05rem; }
.oa-po-acts { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.45rem; }
.oa-po-acts .oa-po-mail { margin-left: 0; }
.oa-po-name .oa-po-tel { background: var(--oa-cyan); padding: 0.3rem 0.95rem; font-size: 0.92rem; white-space: nowrap; }
.oa-po-name .oa-po-tel:hover { filter: brightness(1.08); }
.oa-po-note .oa-po-mail { width: 1.6rem; height: 1.6rem; font-size: 0.85rem; font-style: normal; margin: 0 0.15rem; }
.oa-po-mail { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; margin-left: 0.25rem; border-radius: 50%; background: var(--oa-cyan); color: #fff; text-decoration: none; font-size: 1rem; vertical-align: middle; }
.oa-po-mail:hover { background: var(--oa-blue); }
.oa-po-logo { width: 3.25rem; height: 3.25rem; object-fit: contain; flex: none; }
.oa-po-card ul { margin: 0; padding-left: 1.2rem; }
.oa-po-card li { padding: 0.15rem 0; }
.oa-po-card li a { color: inherit; }
.oa-po-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; color: #fff; background: var(--po-sale); border-radius: 999px; padding: 0.05rem 0.5rem; margin-left: 0.25rem; vertical-align: middle; }
.oa-po-note { text-align: center; font-style: italic; margin: 1.5rem auto 0; max-width: 42rem; }
@media (max-width: 900px) { .oa-po-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .oa-po-list { columns: 3; } }
@media (max-width: 600px) { .oa-po-map .oa-map { height: 340px; } .oa-po-grid { grid-template-columns: 1fr; } .oa-po-list { columns: 2; } }
/* Career Information links: Student Shadowing top right, Practice Opportunities last across both columns */
@media (min-width: 641px) {
	.oa-page-career-information .oa-link-list li:has(a[href*="student-shadowing"]) { grid-column: 2; grid-row: 1; }
	.oa-page-career-information .oa-link-list li:has(a[href*="practice-opportunities"]) { grid-column: 1 / -1; order: 99; }
	.oa-page-career-information .oa-link-list li:has(a[href*="practice-opportunities"]) a { justify-content: center; }
}
/* Career Information's section headings below the page title; Practice Opportunities' title like Career Information's */
.oa-page-career-information .wp-block-post-content h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.25; }
.oa-page-practice-opportunities .wp-block-post-title { font-size: clamp(2rem, 3.4vw, 2.75rem); text-align: center; }

.oa-map-search { flex-wrap: wrap; align-items: center; }
.oa-map-search .oa-pill-link { background: var(--oa-cyan); cursor: pointer; font: inherit; font-weight: 600; }
.oa-map-near { flex-basis: 100%; margin: 0.25rem 0 0; font-size: 0.95rem; }
/* Number cards on content pages (About Us): the same look as the homepage's number cards */
.oa-card-grid:has(.oa-stat-num) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.oa-dot-card:has(> .oa-stat-num) { background: var(--oa-gray); border: var(--oa-border); padding: 1.5rem 1rem; text-align: center; }
.oa-dot-card:has(> .oa-stat-num)::before { content: none; }
.oa-dot-card > .oa-stat-num { font-size: 2.1rem; font-weight: 700; line-height: 1.2; margin: 0; }
.oa-dot-card:has(> .oa-stat-num) p { font-size: 1.15rem; margin: 0; text-align: center; }
@media (max-width: 781px) { .oa-card-grid:has(.oa-stat-num) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* FAQ page search */
.oa-faq-search { max-width: 1000px; margin: 0 auto 1.25rem; }
.oa-faq-search input { width: 100%; box-sizing: border-box; font: inherit; font-size: 1.1rem; padding: 0.85rem 1.25rem 0.85rem 3rem; border: var(--oa-border); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23313638' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 1.1rem center / 1.2rem; }
.oa-faq-search input:focus { outline: 3px solid var(--oa-cyan); outline-offset: 1px; }
.oa-faq-found { margin: 0.5rem 0 0; text-align: center; font-weight: 600; min-height: 1.5em; }
.oa-faq.oa-faq-miss { display: none; }
.oa-faq-searching .oa-faq-jump { display: none; }
.oa-faq mark { background: #FDE68A; color: inherit; padding: 0 0.1em; border-radius: 3px; }

/* Office pages: the details bar under the hero (Option B): one white bar, four parts with round teal icons */
.oa-ib { box-sizing: border-box; max-width: var(--wp--style--global--wide-size, 1280px); margin-inline: auto; background: #fff; border-radius: 24px; display: grid; grid-template-columns: 1.15fr 1.1fr 1.2fr 1fr; box-shadow: 0 10px 28px rgba(0,0,0,.08); }
.oa-ib-part { display: flex; gap: 0.9rem; padding: 1.4rem 1.5rem; align-items: flex-start; min-width: 0; }
.oa-ib-part + .oa-ib-part { border-left: 1px solid #e3e7e9; }
.oa-ib-part h3 { margin: 0 0 0.35rem; font-size: 1.15rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.oa-ib-part p { margin: 0 0 0.4rem; font-size: 0.95rem; line-height: 1.45; }
.oa-ib-link { color: var(--oa-blue); font-weight: 600; font-size: 0.92rem; text-decoration: none; overflow-wrap: anywhere; }
.oa-ib-link:hover { text-decoration: underline; }
.oa-ib-note { color: var(--oa-blue); font-weight: 600; font-size: 0.92rem !important; }
.oa-ib-phone { font-size: 1.25rem; font-weight: 700; color: var(--oa-charcoal); text-decoration: none; }
.oa-ib-ic { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--oa-teal); display: grid; place-items: center; }
.oa-ib-ic::before { content: ""; width: 1.2rem; height: 1.2rem; background: var(--oa-charcoal); -webkit-mask: var(--oa-i) center / contain no-repeat; mask: var(--oa-i) center / contain no-repeat; }
.oa-ib-where { --oa-i: var(--oa-icon-pin); }
.oa-ib-hours { --oa-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.oa-ib-contact { --oa-i: var(--oa-icon-phone); }
.oa-ib-lang { --oa-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E"); }
@media (max-width: 1100px) {
	.oa-ib { grid-template-columns: 1fr 1fr; }
	.oa-ib-part:nth-child(3) { border-left: 0; }
	.oa-ib-part:nth-child(n+3) { border-top: 1px solid #e3e7e9; }
}
@media (max-width: 600px) {
	.oa-ib { grid-template-columns: 1fr; }
	.oa-ib-part + .oa-ib-part { border-left: 0; border-top: 1px solid #e3e7e9; }
	.oa-ib-part { padding: 1.1rem 1.2rem; }
}

/* Language picker in the header: a globe and the language code, just left of Book an Appointment */
.oa-lang-head { list-style: none; margin: 0 !important; padding: 0; display: flex; align-items: center; flex: none; }
.oa-lang-head .oa-lang { margin: 0; }
/* no outline: it reads as part of the menu, not a third button beside Book an Appointment and Let's Chat */
.oa-lang-head .oa-lang-btn { gap: 0.3rem; padding: 0.35rem 0.3rem; font-size: var(--oa-nav-fs, 1.1rem); font-weight: 500; color: var(--oa-charcoal); border-color: transparent; background: none; }
.oa-lang-head .oa-lang-btn:hover, .oa-lang-head .oa-lang-btn[aria-expanded="true"] { border-color: transparent; color: var(--oa-blue); }
@media (min-width: 961px) { .oa-lang-head { padding-left: 0.9rem !important; border-left: 1px solid #dfe3e5; } }
.oa-lang-head .oa-lang-btn::after { content: ""; width: 0.4rem; height: 0.4rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-1px, -2px); margin-left: 0.15rem; }
.oa-lang-head .oa-lang-btn[aria-expanded="true"]::after { transform: rotate(225deg) translate(-1px, -1px); }
.oa-lang-head .oa-lang-list { right: 0; left: auto; }
@media (min-width: 961px) { .oa-header > .wp-block-group > .oa-lang-head { margin-right: -0.25rem !important; } }
@media (max-width: 960px) {
	.oa-lang-head { order: 2; }
	.oa-lang-head .oa-lang { margin: 0; }
	.oa-lang-head .oa-lang-list { right: 0; left: auto; }
}
/* the one-time language suggestion under the header */
.oa-lang-hint { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.6rem 1rem; background: var(--oa-charcoal); color: #fff; padding: 0.6rem 3rem 0.6rem 1.25rem; position: relative; font-size: 1rem; }
.oa-lang-hint p { margin: 0; }
.oa-lang-hint-go { background: var(--oa-yellow); color: var(--oa-charcoal); border-radius: 999px; padding: 0.35rem 1rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.oa-lang-hint-go:hover { background: #fff; }
.oa-lang-hint-x { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0.25rem 0.5rem; }
.oa-lang-hint-x:focus-visible, .oa-lang-hint-go:focus-visible { outline: 3px solid var(--oa-cyan); outline-offset: 2px; }
/* Office details bar, styled like the service pages' coloured panels: no blue band, four tinted panels side by side,
   each with a strip in its own colour along the bottom (blue · cyan · teal · blue) */
.oa-ib-band.has-cyan-background-color { background: var(--wp--preset--color--cream, #FFFEFD) !important; padding-top: 0 !important; }
.oa-ib { background: none; border-radius: 0; box-shadow: none; overflow: hidden; }
.oa-ib-part, .oa-ib-part + .oa-ib-part { border-left: 0; border-top: 0; }
.oa-ib-part { padding: 1.25rem 1.4rem 1.15rem; }
.oa-ib-part:nth-child(4n+1) { background: rgba(77, 155, 196, 0.5); border-bottom: 10px solid var(--oa-blue); }
.oa-ib-part:nth-child(4n+2) { background: rgba(0, 181, 207, 0.5); border-bottom: 10px solid var(--oa-cyan); }
.oa-ib-part:nth-child(4n+3) { background: rgba(2, 205, 197, 0.5); border-bottom: 10px solid var(--oa-teal); }
.oa-ib-part:nth-child(4n+4) { background: rgba(77, 155, 196, 0.5); border-bottom: 10px solid var(--oa-blue); }
.oa-ib-ic { background: #fff; }
.oa-ib-link, .oa-ib-note { color: var(--oa-charcoal); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) { .oa-ib-part:nth-child(n+3) { border-top: 0; } }
@media (max-width: 600px) { .oa-ib-part + .oa-ib-part { border-top: 0; } }

/* Office pages: the treatments as icon cards (Option A): six across, a coloured strip along each card's bottom
   (blue · cyan · teal), See All Services in yellow last; the office's welcome text underneath in two columns */
.oa-tx-cards { box-sizing: border-box; max-width: var(--wp--style--global--wide-size, 1280px); margin: 1.75rem auto 2.25rem !important; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.oa-tx-cards .oa-tx { width: auto; height: auto; aspect-ratio: auto; max-width: none; background: #fff; border: 1px solid #C9CED1; border-radius: 18px; box-shadow: none; padding: 1.1rem 0.75rem 0.95rem; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0.6rem; text-align: center; font-weight: 600; font-size: 1rem; color: var(--oa-charcoal); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.oa-tx-cards .oa-tx img { width: 62px; height: 52px; max-height: none; object-fit: contain; }
.oa-tx-cards .oa-tx span { white-space: normal; }
.oa-tx-cards .oa-tx:nth-child(3n+1) { border-bottom: 5px solid var(--oa-blue); }
.oa-tx-cards .oa-tx:nth-child(3n+2) { border-bottom: 5px solid var(--oa-cyan); }
.oa-tx-cards .oa-tx:nth-child(3n) { border-bottom: 5px solid var(--oa-teal); }
.oa-tx-cards .oa-tx:hover, .oa-tx-cards .oa-tx:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.08); border-color: var(--oa-blue); }
.oa-tx-cards .oa-tx.oa-tx-all { background: var(--oa-yellow); border: 1px solid var(--oa-charcoal); border-bottom: 5px solid var(--oa-charcoal); justify-content: center; flex-direction: row; flex-wrap: wrap; gap: 0.35rem; font-size: 1.05rem; }
@media (max-width: 1100px) { .oa-tx-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .oa-tx-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; } .oa-tx-cards .oa-tx { font-size: 0.85rem; padding: 0.8rem 0.35rem 0.7rem; gap: 0.45rem; border-radius: 14px; } .oa-tx-cards .oa-tx img { width: 44px; height: 38px; } .oa-tx-cards .oa-tx.oa-tx-all { font-size: 0.9rem; } }
@media (max-width: 340px) { .oa-tx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .oa-tx-text { columns: 2; column-gap: 3rem; max-width: 1100px; margin-inline: auto; } .oa-tx-text > * { max-width: none !important; break-inside: avoid-column; } .oa-tx-text > p { break-inside: auto; } }
/* Office details bar: rounded outer corners; icons as in the first proposal (pin, calendar, phone, 文A) in solid circles,
   each in the colour of the panel to its right (the last one wraps round to the first panel's blue) */
.oa-ib { border-radius: 24px; overflow: hidden; }
.oa-ib-part:nth-child(1) .oa-ib-ic { background: var(--oa-cyan); }
.oa-ib-part:nth-child(2) .oa-ib-ic { background: var(--oa-teal); }
.oa-ib-part:nth-child(3) .oa-ib-ic { background: var(--oa-blue); }
.oa-ib-part:nth-child(4) .oa-ib-ic { background: var(--oa-blue); }
.oa-ib-part:last-child:nth-child(3) .oa-ib-ic { background: var(--oa-blue); }
.oa-ib-hours { --oa-i: var(--oa-icon-calendar); }
.oa-ib-lang .oa-ib-ic::before { content: "文A"; width: auto; height: auto; background: none; -webkit-mask: none; mask: none; font-weight: 700; font-size: 0.85rem; letter-spacing: -0.02em; color: var(--oa-charcoal); }

/* Office pages: Meet Our Dentists as cards three across (Option A): round photo over the card's top edge, a coloured
   strip along the bottom (blue · cyan · teal), Book With Dr. … and Read More */
.oa-dcards { box-sizing: border-box; max-width: var(--wp--style--global--wide-size, 1280px); margin: 4rem auto 0 !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4.25rem 1.5rem; }
.oa-dcard { background: #fff; border: 1px solid #C9CED1; border-radius: 22px; padding: 0 1.5rem 1.4rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.oa-dcard:nth-child(3n+1) { border-bottom: 6px solid var(--oa-blue); }
.oa-dcard:nth-child(3n+2) { border-bottom: 6px solid var(--oa-cyan); }
.oa-dcard:nth-child(3n) { border-bottom: 6px solid var(--oa-teal); }
.oa-dcard-photo { display: block; margin-top: -55px; }
.oa-dcard-photo img, .oa-dcard-photo span { display: block; width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 5px solid #fff; box-shadow: 0 6px 16px rgba(0,0,0,.12); background: #ddd; box-sizing: border-box; }
.oa-dcard h3 { margin: 0.2rem 0 0; font-size: 1.35rem; }
.oa-dcard h3 a { text-decoration: none; color: inherit; }
.oa-dcard .oa-doc-school { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin: 0; font-size: 0.92rem; }
.oa-dcard .oa-school-logo { width: 28px; height: 28px; object-fit: contain; flex: none; }
.oa-dcard-bio { font-size: 0.95rem; line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.oa-dcard-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: auto 0 0; padding-top: 0.3rem; }
.oa-dcard-book, .oa-dcard-more { border: 1px solid var(--oa-charcoal); border-radius: 999px; padding: 0.5rem 1.1rem; font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--oa-charcoal); }
.oa-dcard-book { background: var(--oa-yellow); }
.oa-dcard-book:hover, .oa-dcard-more:hover { background: #fff; border-color: var(--oa-blue); color: var(--oa-blue); }
@media (max-width: 1000px) { .oa-dcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .oa-dcards { grid-template-columns: 1fr; gap: 4rem; } }

/* Meet Our Dentists: the intro paragraph as wide as the dentist cards below it */
.oa-dcards-intro { max-width: var(--wp--style--global--wide-size, 1280px) !important; text-align: center; }
/* We Speak: the same icon colour as the first panel's (cyan) */
.oa-ib-part.oa-ib-lang .oa-ib-ic { background: var(--oa-cyan); }

/* Read More on the dentist cards: the circled arrow after the words */
.oa-dcard-more { display: inline-flex; align-items: center; gap: 0.45rem; }
.oa-dcard-more::after { content: ""; width: 1.05em; height: 1.05em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256,0C114.618,0,0,114.618,0,256s114.618,256,256,256s256-114.618,256-256S397.382,0,256,0z M256,469.333c-117.818,0-213.333-95.515-213.333-213.333S138.182,42.667,256,42.667S469.333,138.182,469.333,256S373.818,469.333,256,469.333z'/%3E%3Cpath d='M228.418,134.248c-8.331-8.331-21.839-8.331-30.17,0c-8.331,8.331-8.331,21.839,0,30.17L289.83,256l-91.582,91.582c-8.331,8.331-8.331,21.839,0,30.17c8.331,8.331,21.839,8.331,30.17,0l106.667-106.667c8.331-8.331,8.331-21.839,0-30.17L228.418,134.248z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256,0C114.618,0,0,114.618,0,256s114.618,256,256,256s256-114.618,256-256S397.382,0,256,0z M256,469.333c-117.818,0-213.333-95.515-213.333-213.333S138.182,42.667,256,42.667S469.333,138.182,469.333,256S373.818,469.333,256,469.333z'/%3E%3Cpath d='M228.418,134.248c-8.331-8.331-21.839-8.331-30.17,0c-8.331,8.331-8.331,21.839,0,30.17L289.83,256l-91.582,91.582c-8.331,8.331-8.331,21.839,0,30.17c8.331,8.331,21.839,8.331,30.17,0l106.667-106.667c8.331-8.331,8.331-21.839,0-30.17L228.418,134.248z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Our Dentists (/dentists/): the title the same size as the other pages' */
.oa-dir-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.625rem); line-height: 1.2; margin: 0.5rem 0 1rem; }

/* Practice Opportunities: a small photo beside each owner dentist's name, and their "Why I Chose O&A" */
.oa-po-card header { align-items: center; }
.oa-po-photo { flex: none; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.oa-po-card header .oa-po-name { flex: 1 1 auto; min-width: 0; }
.oa-po-why { margin-top: 0.7rem; padding-top: 0.6rem; border-top: 1px solid #e3e7e9; font-size: 0.95rem; }
.oa-po-why b { display: block; font-size: 0.9rem; margin-bottom: 0.2rem; }
.oa-po-why p { margin: 0; font-style: italic; }

.oa-po-school { flex: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.oa-po-grad { font-weight: 700; font-size: 0.95rem; color: var(--oa-charcoal); }
/* How O&A Works / How a dentist can help: 100px of room on the left and right of the white cards (less on smaller screens) */
.oa-loc-works-band, .oa-loc-help-band { padding-left: 100px; padding-right: 100px; }
@media (max-width: 1100px) { .oa-loc-works-band, .oa-loc-help-band { padding-left: 40px; padding-right: 40px; } }
@media (max-width: 600px) { .oa-loc-works-band, .oa-loc-help-band { padding-left: 16px; padding-right: 16px; } }

/* Office pages: "Open & Affordable Dental [Office] Treatments" on one line (it wraps only on narrow screens) */
.oa-tx-head { max-width: var(--wp--style--global--wide-size, 1280px) !important; }
@media (min-width: 900px) { .oa-tx-head { white-space: nowrap; font-size: clamp(1.6rem, 2.6vw, 2.6rem); } }

/* Dentist profile pages (Option B): a blue-to-teal band, a white card over it with the round photo, name, degree,
   Education · Graduated · Where to Find Me panels (the service pages' colours) and Book / Call / Read My Story */
.oa-dp { position: relative; margin: -0.75rem 0 0; padding: 65px 1.5rem 0; }
.oa-dp::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 215px; background: linear-gradient(90deg, var(--oa-blue), var(--oa-cyan), var(--oa-teal)); }
.oa-dp-card { position: relative; box-sizing: border-box; max-width: 1100px; margin: 0 auto; background: #fff; border-radius: 28px; box-shadow: 0 14px 34px rgba(0,0,0,.1); padding: 0 2.5rem 2rem; text-align: center; }
.oa-dp-photo { display: block; width: 230px; height: 230px; border-radius: 50%; object-fit: cover; border: 8px solid #fff; box-shadow: 0 8px 22px rgba(0,0,0,.15); margin: -20px auto 0; position: relative; top: -20px; background: #e6e9ef; box-sizing: border-box; }
.oa-dp h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); margin: 0.2rem 0 0.1rem; }
.oa-dp-cred { font-size: 1.25rem; margin: 0 0 1.4rem; font-weight: 500; }
.oa-dp-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); border-radius: 18px; overflow: hidden; text-align: left; margin-bottom: 1.25rem; }
.oa-dp-p { padding: 1rem 1.2rem 0.9rem; }
.oa-dp-p b { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.35rem; }
.oa-dp-p > span { display: flex; align-items: center; flex-wrap: wrap; gap: 0.45rem; font-size: 1.02rem; line-height: 1.35; }
.oa-dp-p .oa-school-logo { width: 32px; height: 32px; object-fit: contain; flex: none; }
.oa-dp-p a { color: inherit; }
.oa-dp-p1 { background: rgba(77,155,196,.5); border-bottom: 8px solid var(--oa-blue); }
.oa-dp-p2 { background: rgba(0,181,207,.5); border-bottom: 8px solid var(--oa-cyan); }
.oa-dp-p3 { background: rgba(2,205,197,.5); border-bottom: 8px solid var(--oa-teal); }
.oa-dp-assoc { font-size: 0.95rem; margin: 0 0 1rem; }
.oa-dp-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin: 0; }
.oa-dp-book { background: var(--oa-yellow); }
.oa-dp-call, .oa-dp-story { background: #fff; }
#story, #book { scroll-margin-top: 1rem; }
@media (max-width: 760px) {
	.oa-dp-card { padding: 0 1.1rem 1.4rem; }
	.oa-dp-photo { width: 170px; height: 170px; }
	.oa-dp-panels { grid-template-columns: 1fr; }
}

/* Dentist profiles, Where To Find (Option C): a big rounded map with the office card(s) floating over its left side,
   on a light blue-to-teal band (the same colours as the profile card's band) */
.oa-dw-band { background: linear-gradient(90deg, rgba(77,155,196,.25), rgba(2,205,197,.25)); }
.oa-doc-offices:has(.oa-dw) { max-width: none; display: block; margin: 1.75rem auto 0; }
.oa-dw { position: relative; box-sizing: border-box; max-width: var(--wp--style--global--wide-size, 1280px); margin: 0 auto; border-radius: 28px; overflow: hidden; box-shadow: 0 14px 34px rgba(0,0,0,.1); }
.oa-dw .oa-map { height: 440px; border: 0; border-radius: 0; }
.oa-dw-cards { position: absolute; left: 2rem; top: 50%; transform: translateY(-50%); width: 380px; max-height: calc(100% - 3rem); overflow: auto; display: flex; flex-direction: column; gap: 0.8rem; z-index: 500; padding: 4px; }
.oa-dw-card { background: #fff; border-radius: 22px; box-shadow: 0 14px 30px rgba(0,0,0,.18); padding: 1.3rem 1.5rem; border-bottom: 8px solid var(--oa-cyan); }
.oa-dw-card:nth-child(3n+2) { border-bottom-color: var(--oa-teal); } .oa-dw-card:nth-child(3n) { border-bottom-color: var(--oa-blue); }
.oa-dw-card h3 { font-size: 1.45rem; margin: 0 0 0.5rem; display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.oa-dw-card p { margin: 0 0 0.6rem; line-height: 1.45; }
.oa-dw-btns { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.9rem 0 0 !important; }
.oa-dw-call { background: var(--oa-yellow); }
.oa-dw-btn { background: #fff; }
.oa-dw--many .oa-dw-card { padding: 1rem 1.2rem; }
@media (max-width: 860px) {
	.oa-dw { overflow: visible; box-shadow: none; border-radius: 0; }
	.oa-dw .oa-map { height: 300px; border-radius: 22px; }
	.oa-dw-cards { position: static; transform: none; width: auto; max-height: none; margin-top: 0.9rem; padding: 0; }
}

/* profile band across the whole width; each panel's icon or logo beside its text */
.oa-dp::before { left: 50%; right: auto; width: 100vw; margin-left: -50vw; }
.oa-dp-p > span { flex-wrap: nowrap; align-items: flex-start; }
.oa-dp-p > span > .oa-ico-pin, .oa-dp-p > span > .oa-dp-cap, .oa-dp-p > span > .oa-dp-ic, .oa-dp-p > span > .oa-school-logo { flex: none; margin-top: 0.05rem; }
.oa-dp-p > span > .oa-ico-pin::before { margin-right: 0; width: 1.1em; height: 1.1em; }
.oa-dp-t { min-width: 0; }
/* floating office cards: room for their shadow, buttons on one line */
.oa-dw-cards { left: 1.25rem; padding: 1.25rem; width: 400px; overflow: visible; }
.oa-dw--many .oa-dw-cards { overflow: auto; }
.oa-dw-btns .oa-pill-link { font-size: 0.92rem; padding: 0.45rem 0.9rem; }
@media (max-width: 860px) { .oa-dw-cards { width: auto; padding: 0; } }
.oa-dw-cards { width: 440px; } .oa-dw-btns { gap: 0.4rem; }
/* Where To Find on the dentist profiles: the brand's blue → cyan → teal, full strength (like the band at the top) */
.oa-dw-band { background: linear-gradient(135deg, var(--oa-blue) 0%, var(--oa-cyan) 55%, var(--oa-teal) 100%); }
.oa-dw-band h2 { color: #fff; }

/* Dentist profiles: the reviews on a grey → teal gradient; Book an Appointment on teal */
.oa-doc-rev-band { background: linear-gradient(180deg, var(--wp--preset--color--cream) 0%, var(--oa-teal) 100%); }
/* Dentists at several offices: a taller map and smaller office cards, so more of them fit over it */
@media (min-width: 861px) {
	.oa-dw--many .oa-map { height: 600px; }
	.oa-dw--many .oa-dw-cards { width: 340px; gap: 0.6rem; max-height: calc(100% - 2rem); padding: 1rem; }
	.oa-dw--many .oa-dw-card { padding: 0.8rem 1rem 0.75rem; border-radius: 16px; border-bottom-width: 6px; box-shadow: 0 8px 18px rgba(0,0,0,.16); }
	.oa-dw--many .oa-dw-card h3 { font-size: 1.12rem; margin: 0 0 0.3rem; }
	.oa-dw--many .oa-dw-card h3 .oa-ld-now { font-size: 0.72rem; }
	.oa-dw--many .oa-dw-card p { font-size: 0.88rem; line-height: 1.35; margin: 0 0 0.35rem; }
	.oa-dw--many .oa-dw-btns { margin-top: 0.5rem !important; gap: 0.35rem; }
	.oa-dw--many .oa-dw-btns .oa-pill-link { font-size: 0.8rem; padding: 0.3rem 0.7rem; }
}

/* Form phone fields: the country box joined to the number; email fields: a ✓ when it looks right, a hint when not */
.oa-tel { display: flex; align-items: stretch; }
.oa-tel .oa-tel-cc { flex: none; width: auto; max-width: 7.5rem; border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: 0; padding-right: 1.6rem; }
.oa-tel input[type=tel] { flex: 1 1 auto; min-width: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.oa-form input[type=email].is-ok { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.8rem center; background-size: 1.1rem; padding-right: 2.4rem; }
.oa-email-hint { font-size: 0.85rem; margin-top: 0.3rem; min-height: 0; }
.oa-email-hint.is-bad { color: #b45309; }
.oa-email-hint button { font: inherit; background: none; border: 0; padding: 0; color: var(--oa-blue); text-decoration: underline; cursor: pointer; }

/* frozen header: the logo row and the promo bar stay at the top while the page scrolls (below the WP admin bar when logged in) */
@media (min-width: 961px) {   /* desktop only; phones and tablets scroll the header away */
	header.wp-block-template-part { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
	html { scroll-padding-top: 150px; }   /* in-page links (#book, #story) land below the frozen header */
}
@media (min-width: 961px) { .oa-mega-panel { max-height: calc(100vh - 150px); overflow-y: auto; } }

/* phones & tablets: the menu button is a round ☰ (the word "Menu" stays for screen readers) */
@media (max-width: 960px) {
	.oa-header .oa-mega-toggle { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; font-size: 0; gap: 0; }
	.oa-header .oa-mega-toggle .oa-burger { font-size: 1rem; }
	.oa-lang-head .oa-mega-item.oa-lang { border-bottom: 0; }
	.oa-header > .wp-block-group > .oa-lang-head { order: 2; margin: 0 0 0 auto !important; }
	.oa-header .oa-mega { order: 3; }
}
/* phones: one row: logo on the left, language and ☰ on the right (Book and Chat live in the bottom bar) */
@media (max-width: 781px) {
	.oa-header > .wp-block-group { flex-wrap: nowrap !important; gap: 0.6rem !important; padding-block: 0.6rem !important; }
	.oa-header .oa-logo { order: 1; flex: 1 1 0; min-width: 0; }
	.oa-header .oa-logo a { display: block; }
	.oa-header .oa-logo img { width: 100% !important; max-width: 17rem !important; }
	.oa-header > .wp-block-group > .oa-lang-head { order: 2; margin: 0 0 0 auto !important; }
	.oa-header .oa-mega { order: 3; flex: none; margin: 0 !important; }
	.oa-lang-head .oa-lang-list { right: 0; left: auto; }
}

/* phones: Let's Chat! (with Chippy) in the bottom bar replaces Text Us, so the header drops Book an Appointment and Let's Chat! */
@media (max-width: 781px) {
	.oa-mbar-chat { background: #4D9BC4; color: #fff !important; position: relative; }
	.oa-mbar-chat img { width: 1.9rem; height: 1.9rem; display: block; flex: none; margin: -0.2rem 0; }
	.oa-mbar-chat .oa-chat-dot { position: absolute; top: 0.4rem; left: calc(50% + 0.6rem); right: auto; }
	.oa-header .wp-block-buttons { display: none !important; }
}

/* phones: the promotions wrap onto two centred lines instead of scrolling sideways */
@media (max-width: 781px) {
	.oa-promo-bar > .oa-promo-list, html:not([lang^="en"]) .oa-promo-bar > .oa-promo-list { flex-wrap: wrap; justify-content: center; gap: 0.1rem 0.9rem; overflow: visible; font-size: clamp(0.7rem, 3.1vw, 0.9rem); line-height: 1.35; padding: 0.35rem 0.75rem !important; }
	.oa-promo-list li::before { margin-right: 0.25em; }
	/* English: shorter wording so the five fit on two lines (the translated sites keep their full wording) */
	html[lang^="en"] .oa-promo-list li[data-short] .oa-pfull { display: none; }
	html[lang^="en"] .oa-promo-list li[data-short]::after { content: attr(data-short); }
	html[lang^="en"] .oa-promo-bar > .oa-promo-list { font-size: clamp(0.7rem, 3.3vw, 0.95rem); gap: 0.1rem 0.7rem; padding-inline: 0.5rem !important; }
	.oa-promo-list li:has(a[href^="tel:"]) { display: none; }   /* Call … is in the bottom bar's Call Now on phones */
	html[lang^="en"] .oa-promo-list li:nth-child(4) { order: -1; }   /* All Ages up to the first line */
	html[lang^="en"] .oa-promo-list li:nth-child(-n+2) { order: -2; }
}

/* Locations and Services menus: the same teal dividers and the same link size. Centred without translateX(-50%),
   which put the panel on a half pixel and made the 2px lines look thinner in one menu than the other */
@media (min-width: 961px) {
	.oa-mega-panel { left: 0; right: 0; margin-inline: auto; transform: none; }
	#oa-mega-locations .oa-mega-cols ul, #oa-mega-services .oa-mega-cols ul { border-left: 2px solid var(--oa-teal); }
	#oa-mega-locations .oa-mega-cols ul:first-child, #oa-mega-services .oa-mega-cols ul:first-child { border-left: 0; }
	#oa-mega-locations .oa-mega-cols a, #oa-mega-services .oa-mega-cols a { font-size: 0.98rem; }
}
@media (min-width: 961px) and (max-width: 1180px) { #oa-mega-locations .oa-mega-cols a, #oa-mega-services .oa-mega-cols a { font-size: 0.9rem; } }


/* ---------- Collapsing menus and sections: one circled arrow everywhere ----------
   Shut, it points at its label (they all sit after the label, so it points left); open, it points down toward what opened. */
:root { --oa-icon-circarrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='black'%3E%3Cpath d='M256,0C114.618,0,0,114.618,0,256s114.618,256,256,256s256-114.618,256-256S397.382,0,256,0z M256,469.333c-117.818,0-213.333-95.515-213.333-213.333S138.182,42.667,256,42.667S469.333,138.182,469.333,256S373.818,469.333,256,469.333z'/%3E%3Cpath d='M228.418,134.248c-8.331-8.331-21.839-8.331-30.17,0c-8.331,8.331-8.331,21.839,0,30.17L289.83,256l-91.582,91.582c-8.331,8.331-8.331,21.839,0,30.17c8.331,8.331,21.839,8.331,30.17,0l106.667-106.667c8.331-8.331,8.331-21.839,0-30.17L228.418,134.248z'/%3E%3C/svg%3E"); }
.oa-mega-caret::before, .oa-mega-state-btn::after, .oa-lang-head .oa-lang-btn::after, .oa-faq-q::after, .oa-pf-acc > summary::after {
	content: "" !important; display: inline-block; width: 1em; height: 1em; border: 0 !important; background: currentColor;
	-webkit-mask: var(--oa-icon-circarrow) center / contain no-repeat; mask: var(--oa-icon-circarrow) center / contain no-repeat;
	transform: rotate(180deg); transition: transform .2s ease; margin: 0;
}
.oa-mega-item.is-open .oa-mega-caret::before, .oa-mega-state-btn[aria-expanded="true"]::after, .oa-lang-head .oa-lang-btn[aria-expanded="true"]::after,
.oa-faq[open] .oa-faq-q::after, .oa-pf-acc[open] > summary::after { transform: rotate(90deg); }
.oa-mega-caret::before { width: 0.95rem; height: 0.95rem; }
.oa-mega-state-btn::after, .oa-lang-head .oa-lang-btn::after { width: 0.95rem; height: 0.95rem; margin-left: 0.1rem; }
.oa-faq-q::after { top: calc(50% - 0.6rem); width: 1.2rem; height: 1.2rem; }
.oa-pf-acc > summary::after { width: 1.5rem; height: 1.5rem; margin-top: -0.75rem; background: #313638; }
.oa-pf-acc[open] > summary::after { transform: rotate(90deg); }
/* sections that use the browser's own ▸ */
.wp-block-details > summary::marker, details:not(.oa-faq):not(.oa-pf-acc) > summary::marker { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='14' height='14' fill='%25235b6f79'%3E%3Cpath d='M256,0C114.618,0,0,114.618,0,256s114.618,256,256,256s256-114.618,256-256S397.382,0,256,0z M256,469.333c-117.818,0-213.333-95.515-213.333-213.333S138.182,42.667,256,42.667S469.333,138.182,469.333,256S373.818,469.333,256,469.333z'/%3E%3Cpath d='M228.418,134.248c-8.331-8.331-21.839-8.331-30.17,0c-8.331,8.331-8.331,21.839,0,30.17L289.83,256l-91.582,91.582c-8.331,8.331-8.331,21.839,0,30.17c8.331,8.331,21.839,8.331,30.17,0l106.667-106.667c8.331-8.331,8.331-21.839,0-30.17L228.418,134.248z'/%3E%3C/svg%3E") "  "; }
.wp-block-details[open] > summary::marker, details[open]:not(.oa-faq):not(.oa-pf-acc) > summary::marker { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='14' height='14' fill='%25235b6f79'%3E%3Cg transform='rotate%2890 256 256%29'%3E%3Cpath d='M256,0C114.618,0,0,114.618,0,256s114.618,256,256,256s256-114.618,256-256S397.382,0,256,0z M256,469.333c-117.818,0-213.333-95.515-213.333-213.333S138.182,42.667,256,42.667S469.333,138.182,469.333,256S373.818,469.333,256,469.333z'/%3E%3Cpath d='M228.418,134.248c-8.331-8.331-21.839-8.331-30.17,0c-8.331,8.331-8.331,21.839,0,30.17L289.83,256l-91.582,91.582c-8.331,8.331-8.331,21.839,0,30.17c8.331,8.331,21.839,8.331,30.17,0l106.667-106.667c8.331-8.331,8.331-21.839,0-30.17L228.418,134.248z'/%3E%3C/g%3E%3C/svg%3E") "  "; }
/* every arrow sits to the left of its label: → shut, ↓ open */
.oa-mega-caret::before, .oa-mega-state-btn::after, .oa-lang-head .oa-lang-btn::after, .oa-faq-q::after, .oa-pf-acc > summary::after { transform: none; }
.oa-mega-item.is-open .oa-mega-caret::before, .oa-mega-state-btn[aria-expanded="true"]::after, .oa-lang-head .oa-lang-btn[aria-expanded="true"]::after,
.oa-faq[open] .oa-faq-q::after, .oa-pf-acc[open] > summary::after { transform: rotate(90deg); }
.oa-mega-caret { order: -1; margin: 0 0.25rem 0 0; }
.oa-mega-state-btn::after, .oa-lang-head .oa-lang-btn::after { order: -1; margin: 0 0.15rem 0 0; }
.oa-faq-q { padding-left: 2.7rem; }
.oa-faq-q::after { left: 1rem; right: auto; }
.oa-pf-acc > summary::after { left: 1.75rem; right: auto; }
/* a band that ends with an edge-to-edge photo row: the photos meet the next band (no empty strip below them) */
.oa-band:has(> .oa-photo-row:last-child) { padding-bottom: 0 !important; }
/* service pages: the coloured bands sit flush against each other (no strip of page background between them) */
.oa-service-body > .oa-band { margin-block: 0 !important; }
/* service page title: the full page width so it can sit on one line (assets/design.js shrinks it to fit) */
@media (min-width: 782px) { .oa-service-title { max-width: var(--wp--style--global--wide-size, 1280px) !important; } }

/* Booking-style cards (Book an Appointment, Careers → Apply Now): the intro runs the width of the white card */
.oa-book-head p { max-width: none; }
.oa-book-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 0.75rem; }
#apply, #shadow-form { display: block; scroll-margin-top: 1rem; }
.oa-btn-arrow { display: inline-block; margin-inline: 0.45em; }
.oa-btn-next .oa-btn-arrow:last-child { margin-right: 0; } .oa-btn-back .oa-btn-arrow:first-child { margin-left: 0; }

/* Phone: the country's flag in the box (drawn, so it shows on Windows too) */
.oa-tel { position: relative; }
.oa-tel-flag { position: absolute; left: 0.7rem; top: 50%; width: 1.35rem; height: 0.9rem; transform: translateY(-50%); border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); background: center / cover no-repeat; pointer-events: none; z-index: 1; }
.oa-tel-flag[data-cc="US"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 10'%3E%3Cpath fill='%23b22234' d='M0 0h19v10H0z'/%3E%3Cpath stroke='%23fff' stroke-width='.77' d='M0 1.15h19M0 2.69h19M0 4.23h19M0 5.77h19M0 7.31h19M0 8.85h19'/%3E%3Cpath fill='%233c3b6e' d='M0 0h7.6v5.38H0z'/%3E%3C/svg%3E"); }
.oa-tel-flag[data-cc="MX"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Cpath fill='%23006847' d='M0 0h1v2H0z'/%3E%3Cpath fill='%23fff' d='M1 0h1v2H1z'/%3E%3Cpath fill='%23ce1126' d='M2 0h1v2H2z'/%3E%3Ccircle cx='1.5' cy='1' r='.22' fill='%238c5a2b'/%3E%3C/svg%3E"); }
.oa-tel-flag[data-cc="GB"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Cpath fill='%23012169' d='M0 0h60v30H0z'/%3E%3Cpath stroke='%23fff' stroke-width='6' d='M0 0l60 30M60 0L0 30'/%3E%3Cpath stroke='%23C8102E' stroke-width='2' d='M0 0l60 30M60 0L0 30'/%3E%3Cpath stroke='%23fff' stroke-width='10' d='M30 0v30M0 15h60'/%3E%3Cpath stroke='%23C8102E' stroke-width='6' d='M30 0v30M0 15h60'/%3E%3C/svg%3E"); }
.oa-tel-flag[data-cc="XX"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23313638' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c3 3.5 3 14.5 0 18M12 3c-3 3.5-3 14.5 0 18'/%3E%3C/svg%3E"); box-shadow: none; width: 1.1rem; height: 1.1rem; }
.oa-tel .oa-tel-cc { padding-left: 2.45rem; max-width: 9rem; }
/* fields marked wide take the whole row; a field in the button row (Careers: the resume) sits beside Submit */
.oa-step > .oa-field--wide { grid-column: 1 / -1; }
.oa-form-nav--with { align-items: flex-end; flex-wrap: wrap; }
.oa-form-nav--with > .oa-field--nav { flex: 1 1 18rem; margin: 0; }
.oa-form-nav--with > .oa-btn-submit { align-self: flex-end; }
/* service-page feature cards with an icon (includes/card-icons.php): a round cyan badge on the card's top edge */
.oa-dot-card.oa-has-ic { padding-top: 3.1rem; }
.oa-card-ic { position: absolute; top: -2rem; left: 50%; transform: translateX(-50%); width: 4rem; height: 4rem; border-radius: 50%; background: var(--oa-cyan); box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.oa-card-ic::before { content: ""; position: absolute; inset: 22%; background: #fff; -webkit-mask: var(--oa-ic) center / contain no-repeat; mask: var(--oa-ic) center / contain no-repeat; }
.oa-card-grid:has(.oa-has-ic) { row-gap: 3.5rem; margin-top: 4rem !important; }

/* Phone: a small country box (flag and +1), the rest for the number */
.oa-tel .oa-tel-cc { width: 5.6rem !important; max-width: 5.6rem; min-width: 0; padding-left: 2.3rem; padding-right: 1.1rem; background-position: right 0.35rem center; font-size: 0.95rem; }
/* Which Office: the state and office boxes share the whole row */
.oa-field--wide .oa-office-pick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0.6rem; }
.oa-field--wide .oa-office-pick select { width: 100%; }
/* Careers: a compact resume box beside Apply Now */
.oa-form-nav--with { flex-wrap: nowrap; }
.oa-form-nav--with > .oa-field--nav { flex: 0 1 62%; max-width: 24rem; }
.oa-form-nav--with > .oa-field--nav .oa-drop { padding: 0.75rem 0.9rem; gap: 0.15rem; }
@media (max-width: 560px) { .oa-form-nav--with { flex-wrap: wrap; } .oa-form-nav--with > .oa-field--nav { flex-basis: 100%; max-width: none; } }
/* one country (US only): the +1 box is a label, not a menu */
.oa-tel--one .oa-tel-cc { pointer-events: none; -webkit-appearance: none; appearance: none; background-image: none !important; width: 4.6rem !important; max-width: 4.6rem; padding-right: 0.5rem; color: var(--oa-charcoal); opacity: 1; }
/* service pages: behind the coloured panels the cream fades into the grey of the section that follows */
.oa-service-top:has(+ .oa-service-body > .oa-band:first-child.has-smoke-background-color) { background: linear-gradient(180deg, var(--oa-cream) 0%, var(--oa-cream) 45%, #F5F5F5 100%); }
.oa-service-top:has(+ .oa-service-body > .oa-band:first-child.has-gray-background-color) { background: linear-gradient(180deg, var(--oa-cream) 0%, var(--oa-cream) 45%, #F0F0F0 100%); }
/* dentist cards on service pages: three lines of every bio, the yellow Find Me button centred at the bottom */
.oa-doc-card .oa-doc-bio { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.oa-doc-card .oa-doc-img { margin: 0; }
.oa-doc-card .oa-doc-acts { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.oa-doc-card .oa-doc-acts .oa-find { align-self: center; margin-top: 0.25rem; }
.oa-doc-card > p:empty { display: none; }
/* Locations menu: Other States opens upward, over the office list, so the menu panel doesn't grow a scroll bar */
@media (min-width: 961px) { .oa-mega-state-list { top: auto; bottom: 100%; margin: 0 0 0.4rem; box-shadow: 0 -6px 24px rgba(49,54,56,.2), 0 2px 6px rgba(49,54,56,.12); } }
/* Practice Opportunities card: school logo and year on the name's line; phone and email on their own line below */
.oa-po-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.6rem; }
.oa-po-who { min-width: 0; }
.oa-po-who b { display: block; font-size: 1.05rem; }
.oa-po-top .oa-po-logo { width: 2.6rem; height: 2.6rem; }
.oa-po-acts .oa-po-mail { flex: none; width: 2rem; height: 2rem; }
/* Dentist Opportunities: the grey sections fade in from the cream above and back out to the cream below */
.oa-page-dentist-opportunities .oa-band.has-smoke-background-color { background: linear-gradient(180deg, var(--oa-cream) 0%, #F5F5F5 22%, #EEF1F2 50%, #F5F5F5 78%, var(--oa-cream) 100%) !important; }
.oa-page-dentist-opportunities .oa-service-body > .oa-band, .oa-page-dentist-opportunities .oa-service-body > .oa-faq-band { margin-block: 0 !important; }
/* form Continue buttons: the circled arrow (the same one as the open/close boxes) after the word */
.oa-btn-next { display: inline-flex; align-items: center; gap: 0.5rem; }
.oa-btn-ci { display: inline-block; flex: none; width: 1.15em; height: 1.15em; background: currentColor; -webkit-mask: var(--oa-icon-circarrow) center / contain no-repeat; mask: var(--oa-icon-circarrow) center / contain no-repeat; }
/* Consent Forms: the language row under the form row, a little smaller */
.oa-pf-tabs--lang { margin-top: -0.6rem; }
.oa-pf-tabs--lang button { height: 32px; font-size: 0.9rem; font-weight: 500; padding: 0 0.9rem; }
/* Consent Forms: the language row as one segmented bar (like the tabs in Nexus) */
.oa-pf-tabs--lang { display: inline-flex; flex-wrap: wrap; gap: 0; margin: -0.35rem auto 1.25rem; background: #fff; border: 1px solid #d9dde0; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.oa-pf-form--2d { text-align: center; }
.oa-pf-form--2d > .oa-pf-pane { text-align: left; }
.oa-pf-tabs--lang button { height: 42px; padding: 0 1.25rem; border: 0; border-left: 1px solid #e3e6e8; border-radius: 0; background: #fff; color: #313638; font-size: 0.92rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.07em; }
.oa-pf-tabs--lang button:first-child { border-left: 0; }
.oa-pf-tabs--lang button:hover { background: #F3F7F8; }
.oa-pf-tabs--lang button[aria-selected="true"] { background: #52B2C3; color: #fff; border-color: #52B2C3; }
@media (max-width: 600px) { .oa-pf-tabs--lang button { padding: 0 0.7rem; font-size: 0.8rem; letter-spacing: 0.04em; } }
.oa-pf-langnote { margin: -0.5rem auto 1rem; padding: 0.5rem 1rem; max-width: 34rem; background: #FFF6D6; border: 1px solid #F0DC8A; border-radius: 10px; font-size: 0.9rem; text-align: center; }
/* every Patient Forms language bar is the segmented one, centred */
.oa-pf-form:has(> .oa-pf-tabs--lang) { text-align: center; }
.oa-pf-form:has(> .oa-pf-tabs--lang) > .oa-pf-pane { text-align: left; }
.oa-pf-tabs--lang:first-child { margin-top: 0; }
/* Consent Forms: the paper copies follow the form and language picked above */
.oa-pf-pdfs [hidden] { display: none !important; }
.oa-pf-pdf-none { grid-column: 1 / -1; margin: 0; color: #4A5154; }
/* Our Dentists page: the office pages' dentist cards (three across) */
.oa-dcards--dir { max-width: 1180px; margin: 5rem auto 0 !important; row-gap: 5rem; }
.oa-dcards--dir .oa-dcard[hidden] { display: none !important; }
.oa-dcard h2 { margin: 0.2rem 0 0; font-size: 1.35rem; }
.oa-dcard h2 a { text-decoration: none; color: inherit; }
.oa-dcard-offices { margin: 0; font-size: 0.9rem; font-weight: 600; }
.oa-dcard-offices a { text-decoration: none; }
.oa-dcard-offices a:hover { text-decoration: underline; text-decoration-color: var(--oa-teal); }
/* maps and their floating cards stay under the frozen header when the page scrolls (their own z-indexes are kept inside) */
.oa-dw, .oa-map, .leaflet-container { isolation: isolate; }
header.wp-block-template-part { z-index: 1000; }
/* Careers: the role picker under "What would you like to do?" (the forms' language bar style) */
.oa-career-pick { margin: 1.25rem 0 0 !important; }
.oa-band[hidden] { display: none !important; }
/* the role picker fits on one line in its half-width column */
.oa-career-pick { display: flex; flex-wrap: nowrap; width: 100%; max-width: 100%; }
.oa-career-pick button { flex: 1 1 auto; padding: 0 0.6rem; text-transform: none; letter-spacing: 0; font-size: 0.95rem; white-space: nowrap; }
@media (max-width: 1100px) { .oa-career-pick { flex-wrap: wrap; } .oa-career-pick button { border-top: 1px solid #e3e6e8; } }

/* About Us — staging rework: story, stats, values, Evolution timeline */
.oa-about-hero .oa-why-hero-foot p { max-width: 900px; margin-inline: auto; }
.oa-about-story { background: linear-gradient(#FFFEFD, #F4EFE6); padding: clamp(2rem, 4vw, 3rem) 1rem; text-align: center; margin-block: 0 !important; }
.oa-about-story h2, .oa-about-evolution h2 { margin: 0 0 1.5rem; font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.oa-about-founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; max-width: 1080px; margin: 0 auto; text-align: left; }
.oa-about-founder figure { margin: 0; }
.oa-about-founder img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.3); display: block; }
.oa-about-founder figcaption { margin-top: 0.5rem; font-size: 0.9rem; color: #4A5154; text-align: center; }
.oa-about-founder h3 { margin: 0 0 0.6rem; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.oa-about-stats { background: linear-gradient(#F4EFE6, #4D9BC4); }
.oa-about-stats .oa-stat-tile h3 { margin: 0; font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 600; }
.oa-about-stats .oa-stat-tile p { margin: 0; font-size: 1.1rem; color: #4A5154; }
.oa-about-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; max-width: 1180px; margin: 1.75rem auto 0; text-align: left; }
.oa-about-card { background: #EEEEEE; border: 1.5px solid #9AA0A6; border-radius: 10px; box-shadow: 0 2px 6px rgba(0,0,0,.35); padding: 1.4rem 1.4rem; color: var(--oa-charcoal); }
.oa-about-values .oa-about-card h3 { margin: 0 0 0.6rem; font-size: clamp(1.2rem, 1.8vw, 1.45rem); color: var(--oa-charcoal) !important; }
.oa-about-values .oa-about-card p { margin: 0 0 0.75rem; color: #4A5154 !important; line-height: 1.5; }
.oa-about-values .oa-about-card a { color: #2F7FA8; font-weight: 600; }
.oa-about-evolution { background: linear-gradient(#02CDC5, #FFFEFD 22rem); padding: clamp(2.5rem, 4vw, 3.5rem) 1rem; text-align: center; margin-block: 0 !important; }
.oa-about-evolution > p { margin: 0 0 2rem; }
.oa-tl { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; position: relative; text-align: left; }
.oa-tl::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: linear-gradient(var(--oa-yellow), #4D9BC4, #02CDC5); border-radius: 2px; }
.oa-tl-item { position: relative; width: 50%; padding: 0 2.75rem 1.75rem 0; box-sizing: border-box; }
.oa-tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 1.75rem 2.75rem; }
.oa-tl-year { position: absolute; top: 0.6rem; right: -2.1rem; width: 4.2rem; height: 4.2rem; border-radius: 50%; background: var(--oa-yellow); color: var(--oa-charcoal); font-weight: 700; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.3); z-index: 1; font-size: 1.05rem; }
.oa-tl-item:nth-child(even) .oa-tl-year { right: auto; left: -2.1rem; }
.oa-tl-card { background: #F0F0F0; border: 1.5px solid #9AA0A6; border-radius: 10px; box-shadow: 0 2px 6px rgba(0,0,0,.25); padding: 1.1rem 1.25rem; position: relative; }
.oa-tl-card h3 { margin: 0 0 0.4rem; font-size: 1.3rem; }
.oa-tl-card p { margin: 0 0 0.5rem; }
.oa-tl-offices { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.oa-tl-offices a { background: #fff; border: 1px solid #C9C9C9; border-radius: 999px; padding: 0.2rem 0.7rem; font-size: 0.9rem; text-decoration: none; color: #2F7FA8; }
.oa-tl-offices a:hover { background: var(--oa-yellow); color: var(--oa-charcoal); }
.oa-tl-total { display: inline-block; margin-top: 0.25rem; font-size: 0.85rem; color: #4A5154; font-weight: 600; }
.oa-tl-now .oa-tl-year { background: #02CDC5; color: #fff; font-size: 0.95rem; }
@media (max-width: 781px) {
  .oa-about-founder, .oa-about-cards { grid-template-columns: 1fr; }
  .oa-tl::before { left: 1.6rem; }
  .oa-tl-item, .oa-tl-item:nth-child(even) { width: auto; margin-left: 0; padding: 0 0 1.5rem 4.4rem; }
  .oa-tl-year, .oa-tl-item:nth-child(even) .oa-tl-year { left: 0; right: auto; width: 3.2rem; height: 3.2rem; font-size: 0.9rem; }
}
.oa-about-hero .oa-why-hero-img { object-position: 35% 30%; }

/* Ad landing pages (/emergency-dentist-ad/…, /locations-ad/…, /medicaid-locations-ad/…; plugin includes/ads.php) */
.oa-ad-page main > .wp-block-group, .oa-ad-page main .alignfull { margin-block: 0 !important; }
.oa-ad-hero { background: linear-gradient(#FFFEFD, #F4EFE6); padding: clamp(1.25rem, 3vw, 2.5rem) 1rem; }
.oa-ad-hero-in { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; }
.oa-ad-hero-text h1 { margin: .4rem 0 .5rem; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.15; }
.oa-ad-sub { font-size: 1.15rem; margin: 0 0 .75rem; }
.oa-ad-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.18); display: block; }
.oa-ad-addr { display: flex; align-items: flex-start; gap: .5rem; margin: 0 0 .4rem; color: #4A5154; flex-wrap: wrap; }
.oa-ad-pin { width: 1.1rem; height: 1.1rem; margin-top: .15rem; flex: none; background: currentColor; -webkit-mask: var(--oa-icon-pin) center / contain no-repeat; mask: var(--oa-icon-pin) center / contain no-repeat; color: #4D9BC4; }
.oa-ad-dir { font-weight: 600; color: #2F7FA8; align-self: flex-end; }
.oa-ad-rating { margin: 0; font-size: 1.05rem; } .oa-ad-rating .oa-stars { color: var(--oa-yellow); letter-spacing: .08em; }
.oa-ad-checks { list-style: none; margin: .5rem 0 1.1rem; padding: 0; display: grid; gap: .45rem; }
.oa-ad-checks li { position: relative; padding-left: 1.9rem; font-size: 1.05rem; }
.oa-ad-checks li::before { content: "✓"; position: absolute; left: 0; top: .05rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: #02CDC5; color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.oa-ad-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.oa-ad-call { background: var(--oa-teal) !important; color: #fff !important; }
.oa-ad-eyebrow { margin: .6rem 0 0; font-weight: 600; color: #2F7FA8; }
.oa-ad-emband, .oa-ad-reviews, .oa-ad-docs, .oa-ad-tx, .oa-ad-booking, .oa-ad-faq, .oa-ad-connect, .oa-ad-count { padding: clamp(2rem, 4vw, 3rem) 1rem; text-align: center; }
.oa-ad-emband h2, .oa-ad-reviews h2, .oa-ad-docs h2, .oa-ad-tx h2, .oa-ad-booking h2, .oa-ad-faq h2, .oa-ad-connect h2 { margin: 0 0 .6rem; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.oa-ad-lead { max-width: 900px; margin: 0 auto 1.5rem; }
.oa-ad-emband { background: linear-gradient(#F4EFE6, #F5F5F5); }
.oa-ad-em-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; max-width: 1180px; margin: 0 auto 1.75rem; text-align: left; }
a.oa-ad-em { text-decoration: none; display: flex; gap: .8rem; align-items: center; background: #EEEEEE; border: 1.5px solid #9AA0A6; border-radius: 10px; box-shadow: 0 2px 6px rgba(0,0,0,.25); padding: 1rem; color: var(--oa-charcoal); text-align: left; transition: transform .15s; }
a.oa-ad-em:hover { transform: translateY(-2px); }
a.oa-ad-em img { width: 3.2rem; height: 3.2rem; object-fit: contain; flex: none; }
a.oa-ad-em strong { display: block; font-size: 1.1rem; } a.oa-ad-em small { color: #4A5154; font-size: .92rem; line-height: 1.35; }
.oa-ad-center { justify-content: center; display: flex; flex-wrap: wrap; gap: .75rem; }
.oa-ad-reviews { background: linear-gradient(#F5F5F5, #4D9BC4 70%); }
.oa-ad-count { background: #4D9BC4; padding-top: 0; color: #fff; }
.oa-ad-count-line { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 700; color: #fff; } .oa-ad-count .oa-stars { color: var(--oa-yellow); }
.oa-ad-docs { background: linear-gradient(#4D9BC4, #F5F5F5 18rem); }
.oa-ad-locations .oa-ad-docs, .oa-ad-medicaid .oa-ad-docs { background: linear-gradient(#02CDC5, #F5F5F5 18rem); }
.oa-ad-locations .oa-ad-reviews, .oa-ad-medicaid .oa-ad-reviews { background: linear-gradient(#F4EFE6, #02CDC5 75%); }
.oa-ad-docs h2 { color: var(--oa-charcoal); }
.oa-ad-tx { background: linear-gradient(#F5F5F5, #FFFFFF); }
.oa-ad-booking { background: linear-gradient(#FFFFFF, #F4EFE6); text-align: left; }
.oa-ad-book-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; scroll-margin-top: 110px; }
.oa-ad-book-text h3 { margin: 1.25rem 0 .4rem; }
.oa-ad-book-form { background: #fff; border: 1.5px solid #C9C9C9; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.12); padding: clamp(1rem, 2.5vw, 1.75rem); }
.oa-ad-callline { font-weight: 600; }
.oa-ad-faq { background: #F4EFE6; }
.oa-ad-faq-list { max-width: 900px; margin: 0 auto; text-align: left; }
.oa-ad-connect { background: #FFFEFD; }
@media (max-width: 900px) { .oa-ad-em-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 781px) {
  .oa-ad-hero-in, .oa-ad-book-in { grid-template-columns: 1fr; }
  .oa-ad-hero-media { order: -1; }
  .oa-ad-em-grid { grid-template-columns: 1fr; }
}

/* Careers → Owner Dentist Contact Info (plugin includes/owner-contacts.php) */
.oa-oc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.25rem; margin: 1.5rem auto 2rem; }
.oa-oc-card { background: #F0F0F0; border: 1.5px solid #9AA0A6; border-radius: 10px; box-shadow: 0 2px 6px rgba(0,0,0,.25); padding: 1.1rem 1.25rem; }
.oa-oc-card header { display: flex; gap: .85rem; align-items: center; margin-bottom: .75rem; }
.oa-oc-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.oa-oc-card h3 { margin: 0; font-size: 1.25rem; }
.oa-oc-since { margin: .15rem 0 0; font-size: .9rem; color: #2F7FA8; font-weight: 600; }
.oa-oc-card dl { display: grid; grid-template-columns: max-content 1fr; gap: .35rem .9rem; margin: 0; }
.oa-oc-card dt { font-weight: 700; color: #4A5154; } .oa-oc-card dd { margin: 0; overflow-wrap: anywhere; }
.oa-oc-school { display: flex; align-items: center; gap: .5rem; } .oa-oc-school img { height: 26px; width: auto; max-width: 70px; object-fit: contain; }

.oa-ad-hero-media img { max-width: 100%; height: auto; }
.oa-ad-hero-media > * { max-width: 100%; }
.oa-ad-hero-media img { max-height: 30rem; }

/* Forms: every one-line box (text, email, phone, date, time picker, drop-downs) the same height. Safari draws date
   boxes and drop-downs taller or shorter than text boxes unless the height is set. */
.oa-form input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=hidden]), .oa-form select { height: 3rem; min-height: 3rem; line-height: 1.3; padding-top: 0; padding-bottom: 0; }
.oa-form input[type=date] { -webkit-appearance: none; appearance: none; display: flex; align-items: center; }
.oa-form input[type=date]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.oa-form input[type=date]::-webkit-datetime-edit { padding: 0; line-height: 1.3; }
.oa-form select { -webkit-appearance: none; appearance: none; padding-right: 2.2rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23384044' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.8rem center; background-size: 1rem; }
.oa-dp-ic { width: 1.6rem; height: 1.6rem; object-fit: contain; display: block; }
.oa-mega-card--logo img { object-fit: cover; background: #fff; }

/* Calendar icons everywhere (Book an Appointment buttons, the phone bar, info panels, office hours): the full-colour
   calendar & clock picture instead of a one-colour outline */
a.oa-ico-calendar::before, .oa-ico-calendar .wp-block-button__link::before, .wp-block-button.oa-book .wp-block-button__link::before,
.oa-info-ico.oa-ico-calendar::before, .oa-mbar-ic--cal, .oa-ib-hours .oa-ib-ic::before {
	background: url("../img/calendar.svg") center / contain no-repeat !important; -webkit-mask: none !important; mask: none !important;
}
.oa-info-ico.oa-ico-calendar::before { background-position: left center !important; }
a.oa-ico-calendar::before, .oa-ico-calendar .wp-block-button__link::before, .wp-block-button.oa-book .wp-block-button__link::before { width: 1.25em; height: 1.25em; vertical-align: -0.27em; }
.oa-ib-hours .oa-ib-ic::before { width: 1.6rem; height: 1.6rem; }

/* Location pins everywhere (office links, Where to Find Me, info bars, ad pages): the red pin with the white centre */
.oa-ico-pin::before, .oa-ld-where .oa-ld-ic::before, .oa-ib-where .oa-ib-ic::before, .oa-ad-pin {
	background: url("../img/pin.svg") center / contain no-repeat !important; -webkit-mask: none !important; mask: none !important;
}
.oa-ib-where .oa-ib-ic::before { width: 1.5rem; height: 1.5rem; }
.oa-ld-where .oa-ld-ic::before { inset: 0.5rem; }

/* Phone icons everywhere (Call buttons, the phone bar, info panels, office Call or Email): the red telephone */
.oa-ico-phone .wp-block-button__link::before, a.oa-ico-phone::before, .oa-info-ico.oa-ico-phone::before, .oa-mbar-ic--phone,
.oa-ld-contact .oa-ld-ic::before, .oa-ib-contact .oa-ib-ic::before {
	background: url("../img/phone.svg") center / contain no-repeat !important; -webkit-mask: none !important; mask: none !important;
}
.oa-info-ico.oa-ico-phone::before { background-position: left center !important; }

/* Languages ("We Speak" on office pages): the colourful speech-bubble globe */
.oa-ib-lang .oa-ib-ic::before, .oa-ld-lang .oa-ld-ic::before {
	content: "" !important; background: url("../img/languages.svg") center / contain no-repeat !important; -webkit-mask: none !important; mask: none !important;
}
.oa-ib-lang .oa-ib-ic::before { width: 1.7rem !important; height: 1.7rem !important; }
.oa-ld-lang .oa-ld-ic::before { inset: 0.45rem; }

/* Patients menu: four equal columns — 3 × 2 cards, Most Popular Resources in the fourth */
@media (min-width: 782px) {
	.oa-mega-panel--cards:has(.oa-mega-resources) { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 1.25rem; }
	#oa-mega-patients .oa-mega-cards { grid-column: span 3; grid-template-columns: repeat(3, minmax(0, 1fr)); }   /* 3 × 2 cards */
	#oa-mega-patients .oa-mega-resources { grid-column: span 1; }   /* Most Popular Resources in the right column */
	/* a narrower menu, so its four columns are exactly as wide as About Us's five:
	   About card = (W − 3.5rem padding − 4 gaps) / 5; this menu = 4 of those + 3 gaps + padding */
	#oa-mega-patients.oa-mega-panel { width: calc((min(1040px, 100vw - 2rem) - 8.5rem) * 0.8 + 7.25rem); }
}
/* Legal pages (Notice of Privacy Practices) */
.oa-legal { background: #FFFEFD; padding: 2rem 1rem 3rem; margin-block: 0 !important; }
.oa-legal > * { max-width: 860px; margin-left: auto !important; margin-right: auto !important; }
.oa-legal > p:first-child { margin-top: 0; }
.oa-legal h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: 2rem auto .6rem; }
.oa-legal p { line-height: 1.65; margin-block: 0 .9rem; }
.oa-legal .oa-legal-ver { color: #5b6b72; font-size: .95rem; }
.oa-legal .oa-legal-dl { margin-bottom: 1.5rem; }

/* Homepage services: cards lift on hover, like the menu cards and the office pages' treatment cards */
.oa-service-card { transition: transform .15s, box-shadow .15s, border-color .15s; }
.oa-service-card:hover, .oa-service-card:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.08); border-color: var(--oa-blue); }
@media (prefers-reduced-motion: reduce) { .oa-service-card { transition: none; } .oa-service-card:hover { transform: none; } }

/* Office pages: the blurb under the treatments is one column, as wide as the treatment cards above it */
@media (min-width: 900px) { .oa-tx-text { columns: auto; column-count: 1; max-width: var(--wp--style--global--wide-size, 1280px); } }
.oa-tx-text > * { max-width: none !important; }

/* Office pages: the hero box and its photo use the info bar's 24px corners */
.oa-loc-hero { border-radius: 24px !important; }
.oa-loc-hero-media img, .oa-loc-hero-media > * { border-radius: 24px !important; }

/* Containers everywhere use the 24px corners (--oa-radius); these had their own */
.oa-rev, .oa-dcard, .oa-ld-card, .oa-tx-cards .oa-tx { border-radius: var(--oa-radius) !important; }
.oa-loc-works-text, .oa-loc-help-photo { border-radius: var(--oa-radius) 0 0 var(--oa-radius) !important; }
.oa-loc-help-text, .oa-loc-works-photo { border-radius: 0 var(--oa-radius) var(--oa-radius) 0 !important; }
@media (max-width: 781px) {
	.oa-loc-works-photo, .oa-loc-help-photo { border-radius: var(--oa-radius) var(--oa-radius) 0 0 !important; }
	.oa-loc-works-text, .oa-loc-help-text { border-radius: 0 0 var(--oa-radius) var(--oa-radius) !important; }
}

/* FAQ boxes (every page): soft white cards, a round teal +/− that turns, a teal edge and tint on the open one */
.wp-block-details { background: #fff; border: 1px solid #E1E6E8; border-radius: var(--oa-radius); box-shadow: 0 2px 10px rgba(49,54,56,.06); padding: 0; margin-block: 0.7rem; overflow: hidden; transition: box-shadow .15s, border-color .15s; }
.wp-block-details:hover { border-color: #C7DDE3; box-shadow: 0 6px 18px rgba(49,54,56,.09); }
.wp-block-details > summary { list-style: none; display: flex; align-items: center; gap: 0.9rem; padding: 1.05rem 1.35rem; font-size: 1.12rem; font-weight: 700; color: var(--oa-charcoal); cursor: pointer; }
.wp-block-details > summary::-webkit-details-marker { display: none; }
.wp-block-details > summary::marker { content: none !important; }
.wp-block-details > summary::before { content: ""; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: #E6F7F9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2302A9A2' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 1rem no-repeat; transition: transform .2s, background-color .2s; }
.wp-block-details[open] { border-color: #9EDCDA; box-shadow: inset 4px 0 0 #02CDC5, 0 6px 18px rgba(49,54,56,.08); background: #F6FCFC; }
.wp-block-details[open] > summary { margin-bottom: 0; }
.wp-block-details[open] > summary::before { transform: rotate(45deg); background-color: #02CDC5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E"); }
.wp-block-details > :not(summary) { margin: 0 1.35rem 0.9rem 4.25rem; color: #4A5154; line-height: 1.6; }
.wp-block-details > :not(summary):last-child { margin-bottom: 1.15rem; }
@media (max-width: 600px) { .wp-block-details > summary { font-size: 1rem; padding: 0.9rem 1rem; gap: 0.7rem; } .wp-block-details > :not(summary) { margin-left: 1rem; margin-right: 1rem; } }

/* Office pages: FAQ intro on the left (with Call and Let's Chat!), the questions on the right */
.oa-faqx { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; max-width: var(--wp--style--global--wide-size, 1280px); margin: 0 auto; }
.oa-faqx-intro { position: sticky; top: 7rem; }
.oa-faqx-eyebrow { margin: 0 0 .4rem; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #02A9A2; }
.oa-faqx-intro h2 { margin: 0 0 .8rem; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.15; text-align: left; }
.oa-faqx-intro p { color: #4A5154; line-height: 1.6; }
.oa-faqx-btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }
.oa-faqx-btns .oa-ico-phone { background: var(--oa-teal); }
.oa-faqx-list > .wp-block-details:first-child { margin-top: 0; }
@media (max-width: 860px) { .oa-faqx { grid-template-columns: 1fr; } .oa-faqx-intro { position: static; text-align: center; } .oa-faqx-intro h2 { text-align: center; } .oa-faqx-btns { justify-content: center; } }
.oa-faqx-intro .oa-faqx-eyebrow { color: #02A9A2 !important; }
.oa-on-color.oa-h-charcoal { color: var(--oa-charcoal) !important; }

/* Office pages: Nearby Offices (the three closest), above the FAQs */
.oa-near-band { background: linear-gradient(#FFFEFD, #F4EFE6); padding: clamp(2.25rem, 4vw, 3.25rem) 1rem; margin-block: 0 !important; }
.oa-near { max-width: var(--wp--style--global--wide-size, 1280px); margin: 0 auto; text-align: center; }
.oa-near h2 { margin: 0 0 .4rem; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.oa-near-sub { margin: 0 0 1.5rem; color: #4A5154; }
.oa-near-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; text-align: left; }
.oa-near-card { background: #fff; border: 1px solid #E1E6E8; border-radius: var(--oa-radius); box-shadow: 0 2px 10px rgba(49,54,56,.06); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s, border-color .15s; }
.oa-near-card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.08); border-color: var(--oa-blue); }
.oa-near-photo img, .oa-near-ph { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #E6F7F9; }
.oa-near-body { padding: 1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.oa-near-dist { margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #02A9A2; }
.oa-near-body h3 { margin: 0; font-size: 1.3rem; }
.oa-near-body h3 a { color: var(--oa-charcoal); text-decoration: none; }
.oa-near-body h3 a:hover { text-decoration: underline; text-decoration-color: var(--oa-teal); }
.oa-near-addr { margin: 0; color: #4A5154; line-height: 1.5; }
.oa-near-acts { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: auto; padding-top: .6rem; }
.oa-near-acts .oa-ico-phone { background: var(--oa-teal); }
.oa-near-go { font-weight: 700; color: var(--oa-charcoal); text-decoration: none; }
.oa-near-go:hover { color: var(--oa-blue); }
@media (max-width: 900px) { .oa-near-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* Office pages: Visiting Our {Office} Office (City Blurb, Areas We Serve, Getting Here — from Nexus Office Profiles) */
.oa-local-band { background: #fff; padding: clamp(2.25rem, 4vw, 3.25rem) 1rem; margin-block: 0 !important; }
.oa-local { max-width: var(--wp--style--global--wide-size, 1280px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.oa-local-eyebrow { margin: 0 0 .35rem; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #02A9A2; }
.oa-local h2 { margin: 0 0 .8rem; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.15; }
.oa-local-text p { color: #4A5154; line-height: 1.65; }
.oa-local-sub { margin: 1.4rem 0 .7rem; font-size: 1.15rem; color: var(--oa-charcoal); }
.oa-local-areas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.oa-local-areas li { background: #E6F7F9; color: #1F5F6B; border-radius: 999px; padding: .35rem .9rem; font-size: .95rem; font-weight: 600; }
.oa-local-card { background: #FBF8F3; border: 1px solid #ECE4D6; border-radius: var(--oa-radius); padding: 1.4rem 1.5rem 1.6rem; }
.oa-local-card .oa-local-sub { margin-top: 0; }
.oa-local-card dl { margin: 0 0 1.1rem; display: grid; gap: .85rem; }
.oa-local-card dt { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #02A9A2; }
.oa-local-card dd { margin: .15rem 0 0; color: #313638; line-height: 1.5; }
@media (max-width: 860px) { .oa-local { grid-template-columns: 1fr; } }
/* the office's Special Notice (Nexus), in the hero */
.oa-loc-notice { background: #FFF6D6; border-left: 4px solid var(--oa-yellow); border-radius: 12px; padding: .6rem .9rem; font-weight: 600; color: #313638; }
/* Buttons lift with a shadow on hover, the same small movement as the service and treatment cards (2px up, a touch
   bigger): Leave a Review, the office hero's Book / Call, the FAQ section's Call / Let's Chat!, and the header's Book an
   Appointment and Let's Chat! (phones) */
.oa-review-links a.oa-review-link, .oa-loc-hero .oa-pill-row a, .oa-faqx-btns a, .oa-header .wp-block-button.oa-book .wp-block-button__link, .oa-chat-hdr { transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, background-color .15s ease; }
.oa-review-links a.oa-review-link:hover, .oa-review-links a.oa-review-link:focus-visible,
.oa-loc-hero .oa-pill-row a:hover, .oa-loc-hero .oa-pill-row a:focus-visible,
.oa-faqx-btns a:hover, .oa-faqx-btns a:focus-visible,
.oa-header .wp-block-button.oa-book .wp-block-button__link:hover, .oa-header .wp-block-button.oa-book .wp-block-button__link:focus-visible,
.oa-chat-hdr:hover, .oa-chat-hdr:focus-visible { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 18px rgba(0, 0, 0, .16); filter: none; }
@media (prefers-reduced-motion: reduce) { .oa-review-links a.oa-review-link:hover, .oa-loc-hero .oa-pill-row a:hover, .oa-faqx-btns a:hover, .oa-header .wp-block-button.oa-book .wp-block-button__link:hover, .oa-chat-hdr:hover { transform: none; } }
}

/* Visiting Our Office: a second office photo under the text (Nexus Office Profiles' next photo) */
.oa-local-photo { margin: 1.4rem 0 0; }
.oa-local-photo img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--oa-radius); box-shadow: 0 2px 10px rgba(49,54,56,.06); background: #E6F7F9; }
/* Visiting Our Office, balanced: both columns the same height. The photo fills whatever the left column has left under
   the text (at least 240px), so it ends level with the Getting Here card; the card's Directions button sits at its foot. */
@media (min-width: 861px) {
	.oa-local { align-items: stretch; }
	.oa-local-text { display: flex; flex-direction: column; }
	.oa-local-photo { position: relative; flex: 1 1 auto; min-height: 240px; margin-bottom: 0 !important; }
	.oa-local-photo img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
	.oa-local-card { display: flex; flex-direction: column; }
	.oa-local-card .oa-local-dir { margin-top: auto; align-self: flex-start; }
}

/* Visiting Our Office: the photo slideshow (photos stacked, the shown one fades in) */
.oa-slides { position: relative; overflow: hidden; border-radius: var(--oa-radius); aspect-ratio: 16 / 9; background: #E6F7F9; box-shadow: 0 2px 10px rgba(49,54,56,.06); }
.oa-slides img { position: absolute !important; inset: 0; width: 100%; height: 100% !important; aspect-ratio: auto !important; object-fit: cover; border-radius: 0 !important; box-shadow: none !important; opacity: 0; transition: opacity .8s ease; }
.oa-slides img.is-on { opacity: 1; }
.oa-slides-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); color: #313638; font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15); opacity: 0; transition: opacity .2s, background .2s; z-index: 2; }
.oa-slides-btn.prev { left: .75rem; } .oa-slides-btn.next { right: .75rem; }
.oa-slides:hover .oa-slides-btn, .oa-slides-btn:focus-visible { opacity: 1; }
.oa-slides-btn:hover { background: #fff; }
.oa-slides-dots { position: absolute; left: 0; right: 0; bottom: .7rem; display: flex; justify-content: center; gap: .4rem; z-index: 2; }
.oa-slides-dots i { width: .5rem; height: .5rem; border-radius: 50%; background: rgba(255,255,255,.6); box-shadow: 0 0 3px rgba(0,0,0,.3); transition: background .2s, transform .2s; }
.oa-slides-dots i.is-on { background: #fff; transform: scale(1.25); }
@media (hover: none) { .oa-slides-btn { opacity: 1; } }
@media (min-width: 861px) { .oa-slides { aspect-ratio: auto; } }
/* review cards: the review itself reads left to right (its section may be centred) */
.oa-rev .oa-rev-text { text-align: left; }
/* service pages: the booking heading and text above the dentist cards are as wide as the cards */
.oa-cta-w { max-width: 1200px; margin-left: auto !important; margin-right: auto !important; }
/* a plain reading section, as the Studio draft has it (X-Rays → Advantages of Regular Dental X-Rays) */
.oa-prose-band { background: #FFFEFD; padding: clamp(2rem, 4vw, 3rem) 1rem; margin-block: 0 !important; }
.oa-prose-band h2 { margin: 0 0 1rem; text-align: left; font-size: clamp(1.9rem, 3vw, 2.4rem); }
.oa-prose-band h3 { margin: 1.6rem 0 .7rem; font-size: clamp(1.6rem, 2.5vw, 2.05rem); font-weight: 600; }
.oa-prose-band p { line-height: 1.7; margin: 0 0 1rem; }
/* Service pages: an optional quote under the booking text (Nitrous Oxide) */
.oa-cta-quote { font-style: italic; margin-top: .4rem !important; }
/* X-Rays → Types of Dental X-Rays: a picture of each kind centred on the card's top edge (Bitewing has one so far) */
.oa-card-grid:has(.oa-xr-icon) { margin-top: 4.5rem !important; row-gap: 5rem; }
.oa-card-grid:has(.oa-xr-icon) > .oa-plain-card { position: relative; padding-top: 4.25rem; }
.oa-xr-icon { position: absolute; top: -3.5rem; left: 50%; transform: translateX(-50%); width: 7rem; height: 7rem; margin: 0 !important; }
.oa-xr-icon img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 4px 10px rgba(20, 40, 80, .18)); }

/* Book an Appointment → an office on Nexus PMS: its live booking page in place of the request form (assets/forms.js) */
.oa-form--pms [hidden] { display: none !important; }
.oa-pms-book { grid-column: 1 / -1; margin-top: .5rem; }
.oa-pms-note { margin: 0 0 .6rem; font-weight: 600; color: var(--oa-teal-dark, #0d5c63); }
.oa-pms-book iframe { display: block; width: 100%; height: 900px; border: 0; border-radius: 12px; background: #fff; }
/* Icon cards with full-colour icons (Sleep Specialist): a white circle with a cyan ring, and the icon in its own colours */
.oa-icon-card .oa-card-icon--color { box-sizing: border-box; background: #fff; border: 4px solid var(--oa-cyan); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.oa-icon-card .oa-card-icon--color img { filter: none; width: 58%; height: 58%; }
/* Service pages: a little more room under the title, above the checkmark bar */
.oa-service-title { margin-bottom: 2rem !important; }
/* Female Dentists → female-owned clinic cards: the photo fills its half without setting the card's height, so every
   card is the same height as the text side (square or tall photos no longer stretch a card) */
@media (min-width: 521px) {
	.oa-owned-photo { position: relative; min-height: 15rem; }
	.oa-owned-photo img { position: absolute; inset: 0; }
}
