:root {
	--mds-navy: #063f63;
	--mds-navy-dark: #032f4c;
	--mds-aqua: #31c4ca;
	--mds-aqua-soft: #eafafb;
	--mds-coral: #ff6358;
	--mds-ink: #12334d;
	--mds-white: #fff;
	--mds-border: rgba(6, 63, 99, 0.14);
	--mds-shadow: 0 22px 54px rgba(6, 63, 99, 0.12);
	--mds-radius: 18px;
	--mds-section-space: clamp(78px, 9vw, 132px);
}

/* The practice's complete MARPE guide; all original patient collages stay intact. */
.mds-marpe-page { color:var(--mds-ink); font-size:1.05rem; line-height:1.75; }
.mds-marpe-page * { box-sizing:border-box; }
.mds-marpe-page [id], .mds-marpe-page[id] { scroll-margin-top:150px; }
.mds-marpe-page :is(h1,h2,h3,h4) { margin-top:0; text-wrap:balance; }
.mds-marpe-page h2 { font-size:clamp(2rem,3.4vw,3.1rem); line-height:1.12; margin-bottom:22px; }
.mds-marpe-page h3 { font-size:1.3rem; line-height:1.3; }
.mds-marpe-page p { margin:0 0 22px; }
.mds-marpe-page figure { margin:0; }
.mds-marpe-page .mds-eyebrow { margin-bottom:18px; color:#15818a; }
.mds-marpe-page .mds-actions { margin-top:28px; gap:12px; }
.mds-marpe-page .mds-button { min-height:50px; padding:16px 22px; font-size:.76rem; line-height:1.45; white-space:normal; }
.mds-marpe-section { padding-block:clamp(56px,7vw,100px); border-bottom:1px solid var(--mds-border); }
.mds-marpe-split { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(30px,5vw,76px); align-items:center; }
.mds-marpe-soft { background:#eff9f9; }
.mds-marpe-heading { max-width:850px; margin:0 auto 38px; text-align:center; }
.mds-marpe-heading > p:last-child { margin-bottom:0; }
.mds-marpe-hero { background:linear-gradient(120deg,#f0fafa 0%,#fff 65%); padding-block:clamp(50px,6vw,90px); }
.mds-marpe-hero h1 > .mds-eyebrow { display:block; font-size:.8rem; font-weight:750; line-height:1.6; letter-spacing:.13em; margin-bottom:22px; }
.mds-marpe-hero h1 { font-size:clamp(3rem,4.5vw,4.8rem); line-height:1.02; max-width:13ch; margin-bottom:25px; letter-spacing:-.045em; }
.mds-marpe-hero .mds-marpe-lead { font-size:clamp(1.2rem,1.7vw,1.5rem); font-weight:650; line-height:1.5; }
.mds-marpe-hero__copy > p:not(.mds-eyebrow) { max-width:52ch; }
.mds-marpe-highlights { display:flex; flex-wrap:wrap; gap:8px 20px; list-style:none; margin:25px 0 0; padding:0; font-size:.78rem; font-weight:650; }
.mds-marpe-highlights li { display:flex; align-items:center; gap:7px; }
.mds-marpe-highlights li::before { content:""; width:7px; height:7px; flex-shrink:0; border-radius:50%; background:#1b9ba3; }
.mds-marpe-case { display:block; overflow:hidden; text-decoration:none; color:var(--mds-navy); background:#fff; border:1px solid var(--mds-border); border-radius:18px; box-shadow:0 12px 30px rgba(6,63,99,.05); transition:box-shadow .2s; }
.mds-marpe-case:is(:hover,:focus-visible) { box-shadow:0 12px 30px rgba(6,63,99,.15); outline:3px solid #1b9ba3; outline-offset:3px; }
.mds-marpe-case > img { display:block; width:100%; height:auto; object-fit:contain; background:#102345; }
.mds-marpe-case > span { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px 16px; padding:17px 22px; font-size:.8rem; }
.mds-marpe-case > span > span { display:flex; gap:12px; align-items:center; color:#15818a; }
.mds-marpe-case svg, .mds-marpe-related svg, .mds-marpe-research svg { width:20px; height:20px; flex-shrink:0; }
.mds-marpe-hero__photo figcaption, .mds-marpe-doctors-photo figcaption { font-size:.79rem; line-height:1.6; color:#526d7a; margin:14px 4px 0; }
.mds-marpe-explainer { padding:clamp(26px,3.5vw,44px); border-radius:22px; background:#063f63; color:#fff; }
.mds-marpe-explainer .mds-eyebrow { color:#70d9dd; }
.mds-marpe-explainer :is(h3,h4) { color:#fff; }
.mds-marpe-explainer h3 { font-size:1.75rem; margin-bottom:25px; }
.mds-marpe-explainer h4 { font-size:1.05rem; margin:0 0 4px; }
.mds-marpe-explainer ol { list-style:none; margin:0; padding:0; }
.mds-marpe-explainer li { display:grid; grid-template-columns:34px minmax(0,1fr); gap:15px; padding:20px 0; border-top:1px solid #ffffff35; }
.mds-marpe-explainer li > span { display:grid; place-items:center; width:34px; height:34px; border:1px solid #70d9dd; border-radius:50%; color:#70d9dd; font-size:.85rem; }
.mds-marpe-explainer li p { color:#e2eeee; font-size:.95rem; margin:0; line-height:1.6; }
.mds-marpe-explainer .mds-marpe-explainer__foot { border-top:1px solid #ffffff35; padding-top:20px; font-size:.85rem; margin:0; color:#d5eff0; }
.mds-marpe-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.mds-marpe-cards article { background:#fff; padding:30px; border:1px solid var(--mds-border); border-radius:18px; }
.mds-marpe-number { display:block; color:#15818a; font-size:.8rem; font-weight:750; letter-spacing:.1em; margin-bottom:20px; }
.mds-marpe-cards article p { margin:0; font-size:.96rem; }
.mds-marpe-page .mds-marpe-note { color:#526d7a; font-size:.85rem; line-height:1.65; max-width:940px; text-align:center; margin:25px auto 0; }
.mds-marpe-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; }
.mds-marpe-navy { background:linear-gradient(115deg,#032f4c,#075570); color:#e3eeee; }
.mds-marpe-navy :is(h2,h3) { color:#fff; }
.mds-marpe-navy .mds-eyebrow, .mds-marpe-navy .mds-marpe-number { color:#70d9dd; }
.mds-marpe-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:30px; list-style:none; margin:0; padding:10px 0 0; }
.mds-marpe-steps li { border-top:1px solid #ffffff40; padding-top:25px; }
.mds-marpe-steps p { font-size:.95rem; margin:0; }
.mds-marpe-doctors-photo img { width:100%; height:auto; border-radius:22px; }
.mds-marpe-faq-layout { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:clamp(30px,6vw,90px); align-items:start; }
.mds-marpe-faq details { border-bottom:1px solid var(--mds-border); }
.mds-marpe-faq details:first-child { border-top:1px solid var(--mds-border); }
.mds-marpe-faq summary { padding:22px 36px 22px 0; position:relative; cursor:pointer; font-size:1.05rem; font-weight:750; line-height:1.5; list-style:none; }
.mds-marpe-faq summary::-webkit-details-marker { display:none; }
.mds-marpe-faq summary::after { content:"+"; position:absolute; right:4px; top:20px; font-size:1.4rem; color:#15818a; }
.mds-marpe-faq details[open] summary::after { content:"−"; }
.mds-marpe-faq details p { font-size:.97rem; padding-right:20px; }
.mds-marpe-research { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:50px; align-items:center; }
.mds-marpe-research ul { list-style:none; margin:0; padding:0; }
.mds-marpe-research li { padding:22px 0; border-bottom:1px solid var(--mds-border); }
.mds-marpe-research li a { display:flex; gap:20px; justify-content:space-between; font-weight:750; line-height:1.55; text-underline-offset:4px; }
.mds-marpe-research li span { display:block; font-size:.8rem; color:#526d7a; margin-top:10px; }
.mds-marpe-post-image { display:block; aspect-ratio:16/10; overflow:hidden; }
.mds-marpe-post-image img { display:block; width:100%; height:100%; object-fit:cover; }
.mds-marpe-related { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.mds-marpe-related a { padding:22px; background:#eff9f9; border:1px solid var(--mds-border); border-radius:14px; display:flex; align-items:center; justify-content:space-between; gap:16px; font-size:.92rem; font-weight:700; text-decoration:none; }
.mds-marpe-form { padding:clamp(18px,3vw,40px); background:#fff; border:1px solid var(--mds-border); border-radius:20px; }
.mds-marpe-form > .mds-panel__form { padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.mds-marpe-form :is(input,select,textarea) { max-width:100%; }
.mds-marpe-address { font-weight:650; }
.mds-marpe-dialog { width:min(1240px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); padding:20px; border:0; border-radius:18px; background:#fff; color:var(--mds-ink); }
.mds-marpe-dialog::backdrop { background:#032f4ce8; }
.mds-marpe-dialog__toolbar, .mds-marpe-dialog__controls { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.mds-marpe-dialog__toolbar { margin-bottom:14px; }
.mds-marpe-dialog__toolbar h2 { margin:0; font-size:1.15rem; }
.mds-marpe-dialog button { padding:10px 16px; border:1px solid var(--mds-border); border-radius:8px; background:#eff9f9; color:var(--mds-navy); font:inherit; cursor:pointer; }
.mds-marpe-dialog > img { display:block; width:100%; max-height:calc(100dvh - 230px); object-fit:contain; background:#102345; }
.mds-marpe-dialog__controls { margin-top:16px; font-size:.9rem; }
.mds-marpe-dialog > p { font-size:.78rem; margin:14px 0 0; text-align:center; }
html.mds-marpe-gallery-open { overflow:hidden; }
@media(max-width:1100px) {
 .mds-marpe-steps, .mds-marpe-related { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .mds-marpe-cards { gap:16px; }
 .mds-marpe-cards article { padding:24px; }
}
@media(max-width:850px) {
 .mds-marpe-split, .mds-marpe-faq-layout, .mds-marpe-research { grid-template-columns:minmax(0,1fr); gap:32px; }
 .mds-marpe-hero h1 { max-width:17ch; }
 .mds-marpe-cards { grid-template-columns:minmax(0,1fr); }
 .mds-marpe-hero__photo { max-width:650px; }
}
@media(max-width:600px) {
 .mds-marpe-page { font-size:1rem; }
 .mds-marpe-page h2 { font-size:2rem; }
 .mds-marpe-hero h1 { font-size:3.1rem; max-width:12ch; }
 .mds-marpe-gallery, .mds-marpe-steps, .mds-marpe-related { grid-template-columns:minmax(0,1fr); }
 .mds-marpe-page .mds-actions { flex-direction:column; align-items:stretch; }
 .mds-marpe-page .mds-button { width:100%; }
 .mds-marpe-dialog { padding:14px; }
 .mds-marpe-dialog__controls { gap:10px; }
 .mds-marpe-dialog button { padding:10px 12px; }
}

body {
	color: var(--mds-ink);
	font-size: 17px;
	overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--mds-navy);
	font-family: var(--launch-font-sans);
	font-weight: 850;
	letter-spacing: -0.035em;
}

.launch-container {
	width: min(1320px, calc(100vw - 48px));
}

.launch-utility {
	background: var(--mds-navy);
}

.launch-nav-wrap {
	background: rgba(255, 255, 255, 0.98);
}

.launch-nav {
	position: relative;
	grid-template-columns: minmax(210px, 276px) minmax(0, 1fr) auto;
	min-height: 78px;
	gap: 20px;
}

.launch-brand img,
.custom-logo {
	max-width: min(264px, 34vw);
	max-height: 52px;
}

.launch-primary-menu {
	gap: clamp(12px, 1.25vw, 22px);
}

.launch-primary-menu > li > a {
	color: var(--mds-navy);
	padding: 27px 0;
	font-size: clamp(0.7rem, 0.67vw, 0.79rem);
	font-weight: 800;
	letter-spacing: 0.025em;
	line-height: 1.15;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
}

.launch-submenu-toggle {
	width: 22px;
	margin-left: -5px;
}

.launch-primary-menu > li > a::after {
	background: var(--mds-coral);
}

/*
 * Keep large service menus useful without turning them into a second page.
 * The panel is anchored to the full navigation row instead of an individual
 * menu label, which gives category-heavy menus room to remain on one line.
 */
@media (min-width: 1121px) {
	.launch-primary-nav,
	.launch-primary-menu,
	.launch-primary-menu > li {
		position: static;
	}

	.launch-primary-menu .launch-mega-menu {
		top: 100%;
		left: 50%;
		width: min(1120px, calc(100vw - 56px));
		max-height: min(68vh, 590px);
		padding: 28px 30px 30px;
		overflow-x: hidden;
		overflow-y: auto;
		border-top: 3px solid var(--mds-aqua);
		border-radius: 0 0 18px 18px;
		gap: 24px 30px;
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
		overscroll-behavior: contain;
		scrollbar-color: var(--mds-aqua) #eef7f8;
	}

	.launch-mega-menu > li > a {
		padding-bottom: 9px;
		margin-bottom: 7px;
		color: var(--mds-navy);
		border-bottom-color: var(--mds-border);
		font-size: 0.74rem;
		letter-spacing: 0.11em;
		line-height: 1.2;
	}

	.launch-mega-menu .sub-menu a {
		padding: 5px 0;
		color: #5f716f;
		font-size: 0.84rem;
		font-weight: 650;
		line-height: 1.28;
	}

	.launch-mega-menu .sub-menu a:hover {
		color: var(--mds-coral);
	}

	.launch-mega-menu a:focus {
		outline: 0;
	}

	.launch-mega-menu a:focus-visible {
		border-radius: 3px;
		outline: 3px solid rgba(49, 196, 202, 0.42);
		outline-offset: 3px;
	}
}

.launch-button--primary {
	background: var(--mds-coral);
}

.launch-header-actions {
	gap: 8px;
}

.launch-header-phone,
.launch-header-actions > .launch-button {
	min-height: 42px;
	height: 42px;
	padding-right: 13px;
	padding-left: 13px;
	white-space: nowrap;
}

@media (max-width: 1360px) and (min-width: 1121px) {
	.launch-nav {
		grid-template-columns: minmax(180px, 226px) minmax(0, 1fr) auto;
		gap: 14px;
	}

	.launch-brand img,
	.custom-logo {
		max-width: 220px;
		max-height: 46px;
	}

	.launch-primary-menu {
		gap: 14px;
	}

	.launch-primary-menu > li > a {
		font-size: 0.69rem;
		letter-spacing: 0.01em;
	}

	.launch-header-phone {
		width: 42px;
		padding: 0;
		justify-content: center;
	}

	.launch-header-phone__label {
		display: none;
	}

	.launch-header-actions > .launch-button {
		padding-right: 12px;
		padding-left: 12px;
		font-size: 0.72rem;
	}
}

@media (max-width: 1220px) and (min-width: 1121px) {
	.launch-header-contact {
		display: none;
	}

	.launch-nav {
		grid-template-columns: minmax(176px, 210px) minmax(0, 1fr) auto;
	}

	.launch-primary-menu {
		gap: 10px;
	}
}

.mds-section {
	padding-block: var(--mds-section-space);
}

.mds-page-hero {
	padding: clamp(72px, 8vw, 112px) 0 clamp(58px, 7vw, 92px);
	background: linear-gradient(135deg, var(--mds-aqua-soft), #fff 72%);
	border-bottom: 1px solid var(--mds-border);
}

.mds-page-hero h1 {
	max-width: 900px;
	margin: 0;
	font-size: clamp(2.7rem, 5.5vw, 5rem);
	line-height: 1.02;
}

.mds-page-content {
	padding-block: clamp(64px, 8vw, 112px);
}

.mds-page-content > .launch-container {
	max-width: 1040px;
}

.mds-page-content .launch-entry__content {
	font-size: 1.04rem;
	line-height: 1.7;
}

/*
 * Retained Goya/WPBakery pages already contain their own full-width and
 * constrained rows. Do not squeeze the complete builder document into the
 * base theme's reading-width column while those pages are being rebuilt.
 */
.mds-page-content--legacy {
	position: relative;
	padding-top: 0;
}

.mds-legacy-hero-card {
	position: absolute;
	z-index: 30;
	top: clamp(52px, 6vw, 92px);
	left: max(24px, calc((100vw - 1320px) / 2));
	width: min(520px, calc(100vw - 48px));
	padding: clamp(30px, 4vw, 54px);
	overflow: hidden;
	color: rgba(255, 255, 255, 0.88);
	background: linear-gradient(145deg, rgba(3, 47, 76, 0.97), rgba(6, 63, 99, 0.94));
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-left: 7px solid var(--mds-aqua);
	border-radius: 8px;
	box-shadow: 0 26px 70px rgba(3, 47, 76, 0.28);
}

.mds-legacy-hero-card::after {
	position: absolute;
	right: -72px;
	bottom: -92px;
	width: 230px;
	height: 230px;
	content: "";
	background: radial-gradient(circle, rgba(49, 196, 202, 0.24), rgba(49, 196, 202, 0) 68%);
	border-radius: 50%;
	pointer-events: none;
}

.mds-legacy-hero-card .mds-eyebrow {
	position: relative;
	z-index: 1;
	color: var(--mds-aqua);
}

.mds-legacy-hero-card h1 {
	position: relative;
	z-index: 1;
	margin: 0 0 18px;
	color: #fff;
	font-size: clamp(2.5rem, 4.3vw, 4.65rem);
	line-height: 0.98;
	text-wrap: balance;
}

.mds-legacy-hero-card > p:not(.mds-eyebrow) {
	position: relative;
	z-index: 1;
	margin: 0 0 26px;
	font-size: 1rem;
	line-height: 1.65;
}

.mds-legacy-hero-card .mds-actions {
	position: relative;
	z-index: 1;
}

.mds-legacy-hero-card .mds-button {
	min-height: 48px;
	padding: 12px 17px;
	font-size: 0.74rem;
}

.mds-page-content--legacy .launch-entry__content > .wpb-content-wrapper,
.mds-page-content--legacy .launch-entry__content > .vc_row,
.mds-page-content--legacy .launch-entry__content > .sec_row {
	width: 100%;
	max-width: none;
	margin-right: 0;
	margin-left: 0;
}

.mds-page-content--legacy .sec_row.container {
	width: min(1320px, calc(100vw - 48px));
	max-width: 100%;
	margin-right: auto;
	margin-left: auto;
}

.mds-page-content--legacy .sec_row.container-fluid {
	width: 100%;
	max-width: none;
	padding-right: 0;
	padding-left: 0;
}

.mds-page-content--legacy .vc_row.max_width {
	width: min(1180px, calc(100% - 48px));
	max-width: 100%;
	margin-right: auto;
	margin-left: auto;
}

.mds-page-next-step {
	padding: clamp(38px, 5vw, 62px);
	margin-top: clamp(58px, 7vw, 90px);
	color: #fff;
	background: var(--mds-navy);
	border-radius: var(--mds-radius);
}

.mds-page-next-step h2 {
	margin: 0 0 12px;
	color: #fff;
	font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.mds-page-next-step p {
	max-width: 680px;
	margin: 0 0 24px;
	color: rgba(255, 255, 255, 0.84);
}

.mds-section--soft {
	background:
		radial-gradient(circle at 12% 18%, rgba(49, 196, 202, 0.12) 0 2px, transparent 3px) 0 0 / 24px 24px,
		linear-gradient(135deg, #f2fbfb 0%, #fff 58%, #eaf9fa 100%);
}

.mds-section--navy {
	position: relative;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.9);
	background:
		radial-gradient(circle at 78% 18%, rgba(49, 196, 202, 0.16), transparent 24%),
		linear-gradient(125deg, var(--mds-navy-dark), var(--mds-navy) 60%, #075b78);
}

.mds-section--navy::before,
.mds-final-cta::before,
.mds-inline-cta::before,
.launch-footer::before {
	position: absolute;
	width: clamp(280px, 36vw, 560px);
	height: clamp(280px, 36vw, 560px);
	content: "";
	background: url("/wp-content/uploads/2020/11/cropped-Logo-flower-square-270x270.png") center / contain no-repeat;
	border-radius: 50%;
	pointer-events: none;
}

.mds-section--navy::before {
	right: -10%;
	bottom: -34%;
}

.mds-section--navy > *,
.mds-final-cta > *,
.mds-inline-cta > *,
.launch-footer > * {
	position: relative;
	z-index: 1;
}

.mds-section--navy h2,
.mds-section--navy h3,
.mds-section--navy .mds-eyebrow {
	color: var(--mds-white);
}

.mds-eyebrow {
	margin: 0 0 14px;
	color: #168f99;
	font-size: 0.78rem;
	font-weight: 850;
	letter-spacing: 0.16em;
	line-height: 1.3;
	text-transform: uppercase;
}

.mds-script {
	margin: 0 0 12px;
	color: var(--mds-aqua);
	font-family: "Segoe Script", "Bradley Hand", cursive;
	font-size: clamp(1.55rem, 2.8vw, 2.45rem);
	font-weight: 650;
	line-height: 1.2;
}

.mds-section-heading {
	max-width: 760px;
	margin: 0 auto clamp(42px, 5vw, 72px);
	text-align: center;
}

.mds-section-heading h2,
.mds-split__copy h2,
.mds-intro h2,
.mds-final-cta h2 {
	margin-bottom: 20px;
	font-size: clamp(2.15rem, 4vw, 4rem);
	line-height: 1.04;
}

.mds-section-heading > p:last-child {
	max-width: 650px;
	margin-inline: auto;
	color: #587083;
}

.mds-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

.mds-button {
	display: inline-flex;
	min-height: 52px;
	padding: 14px 22px;
	align-items: center;
	justify-content: center;
	border: 2px solid transparent;
	border-radius: 5px;
	font-size: 0.82rem;
	font-weight: 850;
	gap: 10px;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.mds-button:hover {
	color: var(--mds-navy);
	box-shadow: 0 12px 28px rgba(6, 63, 99, 0.16);
	transform: translateY(-2px);
}

.mds-button svg {
	width: 18px;
	height: 18px;
}

.mds-button--aqua {
	color: var(--mds-navy);
	background: var(--mds-aqua);
}

.mds-button--coral {
	color: #fff;
	background: var(--mds-coral);
}

.mds-button--coral:hover {
	color: #fff;
}

.mds-button--outline {
	color: var(--mds-navy);
	background: #fff;
	border-color: var(--mds-aqua);
}

.mds-button--light {
	color: var(--mds-navy);
	background: #fff;
}

.mds-section-cta {
	display: flex;
	margin-top: clamp(38px, 5vw, 68px);
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px;
}

.mds-hero {
	position: relative;
	display: grid;
	min-height: clamp(620px, 76vh, 780px);
	overflow: hidden;
	align-items: center;
	background: #edf8f8;
	isolation: isolate;
}

.mds-hero__collage {
	position: absolute;
	z-index: -3;
	inset: 0;
}

.mds-hero__photo {
	position: absolute;
	width: var(--photo-width, clamp(124px, 14vw, 210px));
	margin: 0;
	aspect-ratio: 1;
	border: 7px solid #fff;
	box-shadow: 0 18px 50px rgba(4, 46, 73, 0.2);
	transform: rotate(var(--rotate, 0deg));
}

.mds-hero__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mds-hero__photo--1 { top: 3%; left: -2%; --rotate: -5deg; --photo-width: clamp(150px, 15vw, 224px); }
.mds-hero__photo--2 { top: 35%; left: 8%; --rotate: 4deg; }
.mds-hero__photo--3 { bottom: -5%; left: 0; --rotate: -3deg; --photo-width: clamp(142px, 15vw, 218px); }
.mds-hero__photo--4 { right: 20%; bottom: -5%; --rotate: -4deg; }
.mds-hero__photo--5 { top: 3%; right: 7%; --rotate: 5deg; --photo-width: clamp(148px, 15vw, 222px); }
.mds-hero__photo--6 { right: -2%; bottom: 1%; --rotate: -5deg; }
.mds-hero__photo--7 { top: 28%; left: 18%; --rotate: -2deg; --photo-width: clamp(108px, 11vw, 168px); }
.mds-hero__photo--8 { top: 34%; right: 17%; --rotate: 2deg; --photo-width: clamp(108px, 11vw, 168px); }
.mds-hero__photo--9 { top: -6%; left: 17%; --rotate: 3deg; --photo-width: clamp(112px, 12vw, 180px); }
.mds-hero__photo--10 { bottom: -8%; left: 27%; --rotate: 5deg; --photo-width: clamp(108px, 12vw, 182px); }
.mds-hero__photo--11 { top: -7%; right: 25%; --rotate: -3deg; --photo-width: clamp(112px, 12vw, 180px); }
.mds-hero__photo--12 { right: 30%; bottom: -9%; --rotate: 4deg; --photo-width: clamp(108px, 12vw, 182px); }
.mds-hero__photo--13 { top: 40%; left: -5%; --rotate: 6deg; --photo-width: clamp(118px, 13vw, 195px); }
.mds-hero__photo--14 { top: 38%; right: -5%; --rotate: -4deg; --photo-width: clamp(118px, 13vw, 195px); }

.mds-hero__wash {
	position: absolute;
	z-index: -2;
	inset: 0;
	background: radial-gradient(circle at center, rgba(255, 255, 255, 0.98) 0 25%, rgba(255, 255, 255, 0.82) 42%, rgba(255, 255, 255, 0.14) 72%), linear-gradient(90deg, rgba(234, 250, 251, 0.34), rgba(255, 255, 255, 0.06), rgba(234, 250, 251, 0.32));
}

.mds-hero__content {
	display: flex;
	max-width: 800px;
	padding-block: 80px;
	align-items: center;
	flex-direction: column;
	text-align: center;
}

.mds-hero h1 {
	margin-bottom: 22px;
	color: var(--mds-navy);
	font-size: clamp(3.7rem, 8.5vw, 7.6rem);
	font-weight: 900;
	line-height: 0.84;
	text-transform: uppercase;
}

.mds-hero h1 span {
	color: var(--mds-aqua);
	font-family: "Segoe Script", "Bradley Hand", cursive;
	font-size: 0.76em;
	font-weight: 700;
	text-transform: none;
}

.mds-hero__lede {
	max-width: 650px;
	margin-bottom: 28px;
	color: #244b64;
	font-size: clamp(1.05rem, 1.8vw, 1.3rem);
	font-weight: 620;
}

.mds-hero__play {
	display: inline-flex;
	margin-top: 30px;
	align-items: center;
	color: var(--mds-navy);
	background: transparent;
	border: 0;
	cursor: pointer;
	font: inherit;
	font-size: 0.78rem;
	font-weight: 850;
	gap: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mds-play {
	display: inline-grid;
	width: 58px;
	height: 58px;
	place-items: center;
	color: #fff;
	background: var(--mds-coral);
	border: 4px solid rgba(255, 255, 255, 0.88);
	border-radius: 50%;
	box-shadow: 0 10px 28px rgba(255, 99, 88, 0.36);
}

.mds-intro__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: center;
	gap: clamp(42px, 8vw, 110px);
}

.mds-intro {
	z-index: 4;
	width: min(1180px, calc(100vw - 48px));
	padding: clamp(38px, 5vw, 62px);
	margin: -76px auto 0;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 14px;
	box-shadow: 0 28px 75px rgba(3, 47, 76, 0.28);
}

.mds-intro > .launch-container {
	width: 100%;
}

.mds-transformations {
	padding-top: clamp(100px, 11vw, 155px);
}

.mds-intro__inner > div:last-child {
	font-size: 1.12rem;
}

.mds-transformations__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.mds-transformation {
	overflow: hidden;
	color: var(--mds-navy);
	background: #fff;
	border: 1px solid var(--mds-border);
	border-radius: var(--mds-radius);
	box-shadow: 0 10px 34px rgba(6, 63, 99, 0.07);
	text-decoration: none;
}

.mds-transformation img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.mds-transformation span {
	display: block;
	padding: 16px 20px;
	font-size: 0.84rem;
	font-weight: 850;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.mds-doctors {
	position: relative;
	overflow: hidden;
}

.mds-doctors::after {
	position: absolute;
	top: -130px;
	left: -120px;
	width: 420px;
	height: 420px;
	content: "";
	background: url("/wp-content/uploads/2020/11/cropped-Logo-flower-square-270x270.png") center / contain no-repeat;
	border-radius: 50%;
	pointer-events: none;
}

.mds-doctors .mds-split {
	position: relative;
	z-index: 1;
}

.mds-doctors .mds-split__media {
	order: 2;
	border: 8px solid #fff;
	transform: rotate(1.2deg);
}

.mds-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: clamp(42px, 7vw, 100px);
}

.mds-split--reverse .mds-split__copy {
	order: 2;
}

.mds-split__media,
.mds-video-card {
	overflow: hidden;
	border-radius: var(--mds-radius);
	box-shadow: var(--mds-shadow);
}

.mds-split__media img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.mds-split__copy > p:not(.mds-eyebrow) {
	margin-bottom: 26px;
	font-size: 1.08rem;
}

.mds-checks {
	display: grid;
	padding: 0;
	margin: 0 0 30px;
	gap: 12px;
	list-style: none;
}

.mds-checks li {
	position: relative;
	padding-left: 30px;
}

.mds-checks li::before {
	position: absolute;
	top: 0;
	left: 0;
	color: var(--mds-coral);
	content: "\2713";
	font-weight: 900;
}

.mds-services__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.mds-service-card {
	display: flex;
	overflow: hidden;
	color: var(--mds-ink);
	background: #fff;
	border: 1px solid var(--mds-border);
	border-radius: var(--mds-radius);
	box-shadow: 0 12px 40px rgba(6, 63, 99, 0.08);
	flex-direction: column;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.mds-service-card:hover {
	color: var(--mds-ink);
	box-shadow: var(--mds-shadow);
	transform: translateY(-5px);
}

.mds-service-card img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.mds-service-card > div {
	display: flex;
	padding: 28px;
	flex: 1;
	flex-direction: column;
}

.mds-service-card > div {
	color: rgba(255, 255, 255, 0.82);
	background: linear-gradient(135deg, var(--mds-navy-dark), var(--mds-navy));
}

.mds-service-card h3,
.mds-service-card > div .mds-eyebrow {
	color: #fff;
}

.mds-service-card > div .mds-eyebrow,
.mds-service-card span {
	color: var(--mds-aqua);
}

.mds-service-card h3 {
	margin-bottom: 14px;
	font-size: clamp(1.45rem, 2vw, 2rem);
}

.mds-service-card span {
	display: inline-flex;
	margin-top: auto;
	align-items: center;
	color: #138d96;
	font-size: 0.78rem;
	font-weight: 850;
	gap: 8px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.mds-video-poster {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	overflow: hidden;
	background: var(--mds-navy-dark);
	border: 0;
	cursor: pointer;
}

.mds-video-poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 220ms ease;
}

.mds-video-poster:hover img {
	transform: scale(1.02);
}

.mds-video-poster > .mds-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.mds-video-poster iframe {
	position: absolute;
	width: 100%;
	height: 100%;
	border: 0;
	inset: 0;
}

/* The homepage story trigger is a circle, not a full-width video card. */
.mds-hero__play.mds-video-poster {
	display: grid;
	width: 70px;
	height: 70px;
	margin-top: 28px;
	overflow: visible;
	background: var(--mds-coral);
	border: 5px solid rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	box-shadow: 0 14px 34px rgba(255, 99, 88, 0.38);
	place-items: center;
}

.mds-hero__play.mds-video-poster > .mds-play {
	position: static;
	width: auto;
	height: auto;
	color: #fff;
	background: transparent;
	border: 0;
	box-shadow: none;
	transform: none;
}

.mds-hero__play.mds-video-poster > span:last-child {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

body.mds-video-is-open {
	overflow: hidden;
}

.mds-video-modal {
	position: fixed;
	z-index: 100000;
	display: grid;
	padding: 24px;
	background: rgba(3, 47, 76, 0.9);
	inset: 0;
	place-items: center;
}

.mds-video-modal__frame {
	position: relative;
	width: min(1050px, 94vw);
	aspect-ratio: 16 / 9;
	background: #000;
	border: 6px solid #fff;
	border-radius: 12px;
	box-shadow: 0 35px 100px rgba(0, 0, 0, 0.42);
}

.mds-video-modal__frame iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.mds-video-modal__close {
	position: absolute;
	z-index: 2;
	top: -20px;
	right: -20px;
	display: grid;
	width: 46px;
	height: 46px;
	padding: 0;
	color: #fff;
	background: var(--mds-coral);
	border: 3px solid #fff;
	border-radius: 50%;
	font-size: 2rem;
	line-height: 1;
	place-items: center;
	cursor: pointer;
}

.mds-video-card {
	aspect-ratio: 16 / 9;
}

.mds-stories__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px;
}

.mds-story-card {
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--mds-border);
	border-radius: var(--mds-radius);
}

.mds-story-card .mds-video-poster {
	aspect-ratio: 16 / 9;
}

.mds-story-card .mds-play {
	width: 48px;
	height: 48px;
}

.mds-story-card > div {
	padding: 16px 16px 20px;
}

.mds-story-card h3 {
	margin: 0;
	font-size: 1.1rem;
}

.mds-virtual {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(105deg, rgba(255, 255, 255, 0.98), rgba(234, 250, 251, 0.92)),
		radial-gradient(circle at 90% 10%, rgba(49, 196, 202, 0.2), transparent 28%);
}

.mds-virtual::before {
	position: absolute;
	top: -42%;
	right: -12%;
	width: 620px;
	height: 620px;
	content: "";
	background: url("/wp-content/uploads/2020/11/cropped-Logo-flower-square-270x270.png") center / contain no-repeat;
	border-radius: 50%;
}

.mds-virtual__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
	align-items: center;
	gap: clamp(40px, 7vw, 90px);
}

.mds-virtual__media {
	position: relative;
	display: grid;
	min-height: 450px;
	place-items: end center;
	background: linear-gradient(150deg, var(--mds-navy), #0a7890);
	border-radius: 28px 28px 10px 10px;
	box-shadow: var(--mds-shadow);
}

.mds-virtual__media img {
	width: min(86%, 374px);
	max-height: 460px;
	object-fit: contain;
}

.mds-virtual__copy {
	padding: clamp(30px, 5vw, 64px);
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(49, 196, 202, 0.22);
	border-radius: 14px;
	box-shadow: 0 20px 55px rgba(6, 63, 99, 0.09);
}

.mds-virtual__copy h2 {
	margin-bottom: 18px;
	font-size: clamp(2.3rem, 4.5vw, 4.4rem);
	text-transform: uppercase;
}

.mds-virtual__benefits {
	display: flex;
	padding: 24px 0 0;
	margin: 28px 0 0;
	border-top: 1px solid var(--mds-border);
	gap: 18px;
	list-style: none;
}

.mds-virtual__benefits li {
	position: relative;
	padding-left: 22px;
	font-size: 0.82rem;
	font-weight: 750;
}

.mds-virtual__benefits li::before {
	position: absolute;
	left: 0;
	color: var(--mds-aqua);
	content: "\2713";
}

.mds-final-cta {
	position: relative;
	overflow: hidden;
	padding-block: clamp(60px, 7vw, 96px);
	color: #fff;
	background:
		linear-gradient(90deg, rgba(3, 47, 76, 0.95), rgba(6, 63, 99, 0.84) 62%, rgba(8, 117, 139, 0.72)),
		url("/wp-content/uploads/2022/07/cosmetic-dentistry-22.jpg") center 42% / cover;
}

.mds-final-cta::before {
	bottom: -70%;
	left: -8%;
}

.mds-final-cta__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
	align-items: center;
	gap: 42px;
}

.mds-final-cta h2 {
	max-width: 780px;
	margin: 0;
	color: #fff;
}

.launch-footer {
	position: relative;
	overflow: hidden;
	background: var(--mds-navy-dark);
}

.launch-footer::before {
	right: -10%;
	bottom: -70%;
	opacity: 0.6;
}

.mds-page-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(80px, 10vw, 145px);
	background:
		radial-gradient(circle at 88% 14%, rgba(49, 196, 202, 0.14) 0 2px, transparent 3px) 0 0 / 26px 26px,
		linear-gradient(110deg, #f2fbfb, #fff 58%, #e8fafa);
}

.mds-page-hero::after {
	position: absolute;
	right: -10%;
	bottom: -65%;
	width: min(620px, 52vw);
	height: min(620px, 52vw);
	content: "";
	background: url("/wp-content/uploads/2020/11/cropped-Logo-flower-square-270x270.png") center / contain no-repeat;
	border-radius: 50%;
	pointer-events: none;
}

.mds-page-hero .launch-container {
	position: relative;
	z-index: 1;
	max-width: 940px;
	margin-left: max(24px, calc((100vw - 1320px) / 2));
}

.mds-page-hero h1 {
	max-width: 900px;
	margin-bottom: 24px;
	font-size: clamp(3rem, 6.5vw, 6.5rem);
	font-weight: 900;
	line-height: 0.94;
	text-transform: uppercase;
}

.mds-page-hero h1 span {
	color: var(--mds-aqua);
	font-family: "Segoe Script", "Bradley Hand", cursive;
	font-size: 0.78em;
	font-weight: 700;
	text-transform: none;
}

.mds-page-hero > .launch-container > p:not(.mds-eyebrow) {
	max-width: 670px;
	font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.mds-page-hero--gallery,
.mds-page-hero--contact {
	color: rgba(255, 255, 255, 0.9);
	background: linear-gradient(115deg, var(--mds-navy-dark), var(--mds-navy) 66%, #08798c);
}

.mds-page-hero--services {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0 43%, rgba(255, 255, 255, 0.26) 72%),
		url("/wp-content/uploads/2022/01/Raul-and-Conchi-1024x683.jpg") 78% center / cover;
}

.mds-page-hero--contact {
	background:
		linear-gradient(90deg, rgba(3, 47, 76, 0.96) 0 43%, rgba(6, 63, 99, 0.28) 78%),
		url("/wp-content/uploads/2022/01/Raul-and-Conchi-1024x683.jpg") 76% center / cover;
}

.mds-page-hero--journal {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0 44%, rgba(255, 255, 255, 0.28) 76%),
		url("/wp-content/uploads/2022/07/cosmetic-dentistry-22.jpg") 78% center / cover;
}

.mds-page-hero__portrait {
	position: absolute;
	z-index: 1;
	top: 50%;
	width: clamp(150px, 18vw, 270px);
	margin: 0;
	aspect-ratio: 1;
	overflow: hidden;
	background: #fff;
	border: 9px solid #fff;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.mds-page-hero__portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mds-page-hero__portrait--left {
	left: -3%;
	transform: translateY(-50%) rotate(-5deg);
}

.mds-page-hero__portrait--right {
	right: -3%;
	transform: translateY(-50%) rotate(5deg);
}

.mds-page-hero--gallery .launch-container {
	max-width: 780px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.mds-service-pathways {
	position: relative;
	z-index: 3;
	padding-bottom: 22px;
	margin-top: -42px;
}

.mds-service-pathways__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.mds-service-pathways__grid a {
	position: relative;
	display: grid;
	min-height: 210px;
	overflow: hidden;
	align-items: end;
	color: #fff;
	background: var(--mds-navy);
	border: 5px solid #fff;
	border-radius: 10px;
	box-shadow: 0 18px 45px rgba(6, 63, 99, 0.2);
	text-decoration: none;
}

.mds-service-pathways__grid img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	inset: 0;
	opacity: 0.72;
	transition: transform 180ms ease;
}

.mds-service-pathways__grid a::after {
	position: absolute;
	content: "";
	background: linear-gradient(0deg, rgba(3, 47, 76, 0.98), rgba(3, 47, 76, 0) 72%);
	inset: 0;
}

.mds-service-pathways__grid span {
	position: relative;
	z-index: 1;
	padding: 22px;
	font-size: clamp(1rem, 1.5vw, 1.3rem);
	font-weight: 850;
	letter-spacing: 0.025em;
	text-transform: uppercase;
}

.mds-service-pathways__grid a:hover img {
	transform: scale(1.04);
}

.mds-blog-filters {
	display: flex;
	padding-top: 30px;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
}

.mds-blog-filters a {
	padding: 10px 18px;
	color: var(--mds-navy);
	background: #fff;
	border: 1px solid var(--mds-aqua);
	border-radius: 4px;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
}

.mds-blog-filters a:hover,
.mds-blog-filters .is-current {
	color: #fff;
	background: var(--mds-aqua);
}

.mds-page-hero--gallery h1,
.mds-page-hero--contact h1,
.mds-page-hero--gallery .mds-eyebrow,
.mds-page-hero--contact .mds-eyebrow {
	color: #fff;
}

.mds-content-shell > .launch-container,
.mds-article__content {
	font-size: 1.04rem;
}

.mds-content-shell h2,
.mds-article__content h2 {
	margin-top: 2.2em;
	font-size: clamp(1.9rem, 3vw, 3rem);
}

.mds-content-shell h3,
.mds-article__content h3 {
	margin-top: 1.8em;
}

.mds-content-shell img {
	border-radius: 12px;
}

.mds-inline-cta {
	position: relative;
	overflow: hidden;
	padding-block: clamp(50px, 6vw, 82px);
	color: #fff;
	background: linear-gradient(110deg, var(--mds-navy-dark), var(--mds-navy) 62%, #08758b);
}

.mds-inline-cta::before {
	right: -6%;
	bottom: -100%;
}

.mds-inline-cta > .launch-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.mds-inline-cta h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(2rem, 3.5vw, 3.6rem);
}

.mds-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
}

.mds-post-card {
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--mds-border);
	border-radius: var(--mds-radius);
	box-shadow: 0 12px 38px rgba(6, 63, 99, 0.08);
}

.mds-post-card:hover {
	box-shadow: var(--mds-shadow);
	transform: translateY(-4px);
}

.mds-post-card {
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.mds-post-card h3,
.mds-post-card h3 a {
	color: var(--mds-navy);
	text-decoration: none;
}

.mds-post-card__image {
	display: block;
	background: var(--mds-aqua-soft);
	aspect-ratio: 3 / 2;
}

.mds-post-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mds-post-card__body {
	padding: 28px;
}

.mds-post-card h2 {
	font-size: 1.55rem;
}

.mds-post-card h2 a {
	color: var(--mds-navy);
	text-decoration: none;
}

.mds-text-link {
	display: inline-flex;
	align-items: center;
	color: #118c96;
	font-size: 0.8rem;
	font-weight: 850;
	gap: 8px;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
}

.mds-text-link svg {
	width: 18px;
	height: 18px;
}

.mds-pagination {
	margin-top: 60px;
	text-align: center;
}

.mds-pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.mds-pagination .page-numbers {
	display: grid;
	min-width: 44px;
	height: 44px;
	padding-inline: 12px;
	place-items: center;
	color: var(--mds-navy);
	border: 1px solid var(--mds-border);
	border-radius: 5px;
	text-decoration: none;
}

.mds-pagination .current {
	background: var(--mds-aqua);
}

.mds-article {
	padding-block: clamp(72px, 8vw, 110px);
	background: linear-gradient(180deg, #fff 0%, #f5fbfb 100%);
}

.mds-article__header {
	max-width: 1100px;
}

.mds-article__header h1 {
	max-width: 980px;
	font-size: clamp(2.8rem, 5.5vw, 5.3rem);
}

.mds-article__meta {
	color: #647889;
}

.mds-article__meta span {
	margin-inline: 10px;
}

.mds-article__hero {
	margin-top: 42px;
	overflow: hidden;
	border-radius: var(--mds-radius);
}

.mds-article__hero img {
	width: 100%;
	max-height: 620px;
	object-fit: cover;
}

.mds-article__layout {
	display: grid;
	grid-template-columns: minmax(0, 780px) minmax(260px, 340px);
	margin-top: 54px;
	justify-content: space-between;
	gap: 70px;
}

.mds-article__content {
	font-size: 1.1rem;
	line-height: 1.75;
}

.mds-article__content blockquote {
	padding: 24px 0 24px 28px;
	margin: 42px 0;
	color: var(--mds-navy);
	border-left: 5px solid var(--mds-aqua);
	font-size: 1.35rem;
	font-weight: 700;
}

.mds-article__aside,
.mds-contact__details {
	position: sticky;
	top: 130px;
	padding: 30px;
	align-self: start;
	background: var(--mds-aqua-soft);
	border: 1px solid rgba(49, 196, 202, 0.24);
	border-radius: var(--mds-radius);
	box-shadow: 0 18px 50px rgba(6, 63, 99, 0.08);
}

.mds-article__aside h2,
.mds-contact__details h2 {
	font-size: 1.8rem;
}

.mds-article__aside .mds-button {
	width: 100%;
	margin-bottom: 18px;
}

.mds-article__toc {
	padding-bottom: 26px;
	margin-bottom: 28px;
	border-bottom: 1px solid rgba(6, 63, 99, 0.16);
}

.mds-article__toc ol {
	display: grid;
	padding: 0;
	margin: 0;
	gap: 13px;
	list-style: none;
	counter-reset: mds-toc;
}

.mds-article__toc li {
	position: relative;
	padding-left: 32px;
	counter-increment: mds-toc;
}

.mds-article__toc li::before {
	position: absolute;
	top: -2px;
	left: 0;
	display: grid;
	width: 24px;
	height: 24px;
	color: #fff;
	background: var(--mds-aqua);
	border-radius: 50%;
	content: counter(mds-toc);
	font-size: 0.72rem;
	font-weight: 800;
	place-items: center;
}

.mds-article__toc a {
	color: var(--mds-navy);
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
}

.mds-article__aside-cta h2 {
	font-size: 1.65rem;
}

.mds-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 0.45fr);
	gap: clamp(42px, 7vw, 90px);
}

.mds-contact {
	background:
		radial-gradient(circle at 92% 8%, rgba(49, 196, 202, 0.12) 0 2px, transparent 3px) 0 0 / 26px 26px,
		linear-gradient(180deg, #fff, #f2fbfb);
}

.mds-contact__content {
	padding: clamp(28px, 4vw, 52px);
	background: #fff;
	border: 1px solid var(--mds-border);
	border-radius: var(--mds-radius);
	box-shadow: var(--mds-shadow);
}

.mds-gallery-content {
	background: linear-gradient(180deg, #fff, #f3fbfb);
}

.mds-contact__content .nf-form-content input,
.mds-contact__content .nf-form-content select,
.mds-contact__content .nf-form-content textarea {
	border-color: rgba(6, 63, 99, 0.22);
	border-radius: 4px;
}

.mds-contact__content .nf-form-content input[type="button"],
.mds-contact__content .nf-form-content input[type="submit"] {
	color: #fff;
	background: var(--mds-coral);
	border: 0;
	font-weight: 800;
}

@media (max-width: 1100px) {
	.launch-nav {
		grid-template-columns: minmax(200px, 270px) 1fr auto;
	}

	.mds-hero__photo--7,
	.mds-hero__photo--8,
	.mds-hero__photo--9,
	.mds-hero__photo--10,
	.mds-hero__photo--13,
	.mds-hero__photo--14 {
		display: none;
	}

	.mds-services__grid,
	.mds-stories__grid {
		gap: 20px;
	}
}

@media (max-width: 900px) {
	:root {
		--mds-section-space: 76px;
	}

	.launch-container {
		width: min(100% - 36px, 760px);
	}

	.mds-intro__inner,
	.mds-split,
	.mds-final-cta__inner,
	.mds-virtual__inner {
		grid-template-columns: 1fr;
	}

	.mds-intro {
		width: min(100% - 36px, 760px);
		margin-top: -48px;
	}

	.mds-split--reverse .mds-split__copy {
		order: 0;
	}

	.mds-services__grid {
		grid-template-columns: 1fr;
	}

	.mds-transformations__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mds-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mds-article__layout,
	.mds-contact__grid {
		grid-template-columns: 1fr;
	}

	.mds-article__aside,
	.mds-contact__details {
		position: static;
	}

	.mds-service-card {
		display: grid;
		grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
	}

	.mds-service-card img {
		height: 100%;
		aspect-ratio: auto;
	}

	.mds-stories__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mds-virtual__media {
		min-height: 400px;
	}

	.mds-service-pathways__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mds-page-hero__portrait {
		opacity: 0.42;
	}
}

@media (max-width: 640px) {
	:root {
		--mds-section-space: 64px;
	}

	.launch-container {
		width: min(100% - 28px, 560px);
	}

	.mds-hero {
		min-height: 650px;
	}

	.mds-hero__photo {
		width: 118px;
		border-width: 4px;
		opacity: 0.74;
	}

	.mds-hero__photo--3,
	.mds-hero__photo--4,
	.mds-hero__photo--7,
	.mds-hero__photo--8,
	.mds-hero__photo--9,
	.mds-hero__photo--10,
	.mds-hero__photo--11,
	.mds-hero__photo--12,
	.mds-hero__photo--13,
	.mds-hero__photo--14 {
		display: none;
	}

	.mds-hero__wash {
		background: radial-gradient(circle at center, rgba(255, 255, 255, 0.98) 0 34%, rgba(255, 255, 255, 0.75) 68%, rgba(255, 255, 255, 0.42));
	}

	.mds-hero h1 {
		font-size: clamp(3.2rem, 18vw, 5rem);
	}

	.mds-actions,
	.mds-button {
		width: 100%;
	}

	.mds-transformations__grid,
	.mds-stories__grid,
	.mds-post-grid {
		grid-template-columns: 1fr;
	}

	.mds-inline-cta > .launch-container {
		align-items: stretch;
		flex-direction: column;
	}

	.mds-intro {
		width: calc(100% - 28px);
		padding: 30px 22px;
		margin-top: -30px;
	}

	.mds-virtual__benefits {
		align-items: flex-start;
		flex-direction: column;
	}

	.mds-virtual__copy {
		padding: 28px 22px;
	}

	.mds-service-pathways {
		margin-top: -20px;
	}

	.mds-service-pathways__grid {
		grid-template-columns: 1fr;
	}

	.mds-service-pathways__grid a {
		min-height: 180px;
	}

	.mds-page-hero__portrait {
		display: none;
	}

	.mds-service-card {
		display: flex;
	}

	.mds-service-card img {
		aspect-ratio: 16 / 10;
	}

	.mds-section-cta {
		align-items: stretch;
		flex-direction: column;
	}

	.mds-legacy-hero-card {
		top: 24px;
		left: 14px;
		width: calc(100vw - 28px);
		padding: 26px 22px;
		border-left-width: 5px;
	}

	.mds-legacy-hero-card h1 {
		font-size: clamp(2.15rem, 12vw, 3.35rem);
	}

	.mds-page-content--legacy .wpb-content-wrapper > .sec_row:first-child rs-module-wrap,
	.mds-page-content--legacy .wpb-content-wrapper > .sec_row:first-child rs-module {
		min-height: 620px !important;
	}
}

/* --------------------------------------------------------------------------
 * MDS navigation, flower wallpaper, trust signals, and footer refinements.
 * ----------------------------------------------------------------------- */

.launch-nav-wrap {
	border-bottom: 1px solid rgba(6, 63, 99, 0.08);
	box-shadow: 0 8px 22px rgba(3, 47, 76, 0.055);
}

.launch-header.is-scrolled .launch-nav-wrap {
	border-bottom-color: rgba(6, 63, 99, 0.11);
	box-shadow: 0 12px 30px rgba(3, 47, 76, 0.095);
}

.launch-primary-menu > li > a::after {
	display: none;
}

.mds-language-links {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 0.74rem;
	font-weight: 760;
	letter-spacing: 0.025em;
}

.mds-language-links a {
	color: inherit;
	text-decoration: none;
}

.mds-language-links a[aria-current="page"] {
	color: var(--mds-aqua);
}

.mds-language-links--utility {
	color: rgba(255, 255, 255, 0.84);
}

.mds-language-links--utility a:hover,
.mds-language-links--footer a:hover {
	color: #fff;
}

@media (min-width: 1121px) {
	.launch-primary-menu .launch-mega-menu {
		width: min(1320px, calc(100vw - 48px));
		padding: 24px;
		border-top: 0;
		border-radius: 0 0 22px 22px;
		box-shadow: 0 28px 70px rgba(3, 47, 76, 0.17);
	}

	.launch-primary-menu > .mds-menu-item--gallery > .launch-mega-menu {
		grid-template-columns: minmax(155px, 0.75fr) repeat(5, minmax(160px, 1fr));
		gap: 18px;
	}

	.launch-primary-menu > .mds-menu-item--services > .launch-mega-menu {
		grid-template-columns: repeat(5, minmax(185px, 1fr));
		align-items: start;
		gap: 14px;
	}

	.launch-primary-menu > .mds-menu-item--about-us > .launch-mega-menu {
		grid-template-columns: repeat(4, minmax(220px, 1fr));
	}

	.launch-primary-menu > .mds-menu-item--contact > .launch-mega-menu {
		width: min(980px, calc(100vw - 48px));
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 14px;
	}

	.mds-menu-item--gallery > .launch-mega-menu > li,
	.mds-menu-item--services > .launch-mega-menu > li,
	.mds-menu-item--about-us > .launch-mega-menu > li,
	.mds-menu-item--contact > .launch-mega-menu > li {
		padding: 14px;
		background: linear-gradient(145deg, #fff, #f5fbfb);
		border: 1px solid rgba(6, 63, 99, 0.1);
		border-radius: 12px;
	}

	.mds-menu-item--services > .launch-mega-menu > li {
		min-height: 100%;
		background: linear-gradient(160deg, #e9fbfb, #fff 62%);
		border-color: rgba(49, 196, 202, 0.38);
		box-shadow: 0 10px 30px rgba(6, 63, 99, 0.07);
	}

	.mds-menu-item--services > .launch-mega-menu > li:nth-child(2n) {
		background: linear-gradient(160deg, #f1fbfb, #fff 66%);
	}

	.mds-menu-item--services > .launch-mega-menu > li:nth-child(3n) {
		border-color: rgba(255, 99, 88, 0.34);
	}

	.mds-menu-item--contact > .launch-mega-menu > li > a {
		display: flex;
		min-height: 104px;
		padding: 18px 20px;
		margin: 0;
		align-items: flex-start;
		justify-content: center;
		color: var(--mds-navy);
		background: #fff;
		border: 0;
		border-left: 4px solid var(--mds-aqua);
		border-radius: 7px;
		font-size: 0.8rem;
		flex-direction: column;
	}

	.mds-menu-item--contact > .launch-mega-menu > li {
		padding: 0;
		overflow: hidden;
		background: transparent;
		border: 0;
	}

	.mds-menu-item--contact > .launch-mega-menu > .mds-menu-item--virtual-consult > a,
	.mds-menu-item--contact > .launch-mega-menu > .mds-menu-item--your-consultation > a {
		color: #fff;
		background: var(--mds-navy);
		border-left-color: var(--mds-coral);
	}

	.mds-menu-item--contact .mds-menu-description {
		display: block;
		margin-top: 7px;
		color: #667b89;
		font-size: 0.72rem;
		font-weight: 600;
		letter-spacing: 0;
		line-height: 1.4;
		text-transform: none;
	}

	.mds-menu-item--contact .mds-menu-item--virtual-consult .mds-menu-description,
	.mds-menu-item--contact .mds-menu-item--your-consultation .mds-menu-description {
		color: rgba(255, 255, 255, 0.75);
	}

	.mds-menu-item--contact > .launch-mega-menu > .mds-menu-item--covid {
		display: none;
	}

	.launch-mega-menu > li > a {
		border-bottom-width: 2px;
	}

	.mds-menu-thumb {
		display: block;
		margin: -4px -4px 12px;
		overflow: hidden;
		aspect-ratio: 16 / 9;
		background: var(--mds-aqua-soft);
		border-radius: 8px;
	}

	.mds-menu-thumb img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.mds-menu-label {
		display: block;
	}

	.mds-menu-item--gallery > .launch-mega-menu > li > a,
	.mds-menu-item--about-us > .launch-mega-menu > li > a {
		font-size: 0.7rem;
		line-height: 1.35;
	}

	.mds-menu-item--dr-concepcion-sanchez-garcia .mds-menu-label {
		white-space: nowrap;
	}

	.mds-menu-item--gallery > .launch-mega-menu > .mds-menu-item--gallery {
		background: var(--mds-navy);
	}

	.mds-menu-item--gallery > .launch-mega-menu > .mds-menu-item--gallery > a {
		color: #fff;
		border-bottom-color: rgba(255, 255, 255, 0.22);
	}

	.mds-menu-item--gallery > .launch-mega-menu > .mds-menu-item--gallery .sub-menu a {
		color: rgba(255, 255, 255, 0.82);
	}
}

/* Use the actual MDS flower as the subtle office-wallpaper motif. */
.mds-section--navy::before,
.mds-final-cta::before,
.mds-inline-cta::before,
.launch-footer::before,
.mds-doctors::after,
.mds-virtual::before,
.mds-page-hero::after {
	background: url("/wp-content/uploads/2020/11/cropped-Logo-flower-square-270x270.png") center / contain no-repeat;
	border-radius: 0;
	opacity: 0.09;
}

.mds-doctors::before,
.mds-virtual::after {
	position: absolute;
	width: 150px;
	height: 150px;
	content: "";
	background: url("/wp-content/uploads/2020/11/cropped-Logo-flower-square-270x270.png") center / contain no-repeat;
	opacity: 0.055;
	pointer-events: none;
}

.mds-doctors::before {
	right: 6%;
	bottom: 8%;
}

.mds-virtual::after {
	bottom: 8%;
	left: 4%;
}

.mds-hero__collage {
	transform: none;
	perspective: 1200px;
	transform-style: preserve-3d;
}

.mds-hero__photo {
	z-index: var(--photo-layer, 1);
	box-shadow: 0 var(--shadow-y, 18px) var(--shadow-blur, 50px) rgba(4, 46, 73, var(--shadow-alpha, 0.2));
	transform: translate3d(0, var(--photo-parallax-y, 0px), var(--photo-z, 0px)) rotate(var(--rotate, 0deg)) rotateX(var(--photo-tilt, 0deg));
	will-change: transform;
}

.mds-hero__photo:nth-child(3n + 1) {
	--photo-z: 28px;
	--photo-layer: 3;
	--shadow-y: 28px;
	--shadow-blur: 58px;
	--shadow-alpha: 0.25;
	--photo-tilt: 0.7deg;
}

.mds-hero__photo:nth-child(3n + 2) {
	--photo-z: 10px;
	--photo-layer: 2;
	--shadow-y: 20px;
	--shadow-blur: 44px;
	--shadow-alpha: 0.19;
}

.mds-hero__photo:nth-child(3n) {
	--photo-z: -18px;
	--photo-layer: 1;
	--shadow-y: 13px;
	--shadow-blur: 32px;
	--shadow-alpha: 0.14;
	--photo-tilt: -0.7deg;
}

.mds-hero__photo--15 { top: 11%; left: 29%; --rotate: -5deg; --photo-width: clamp(92px, 9vw, 136px); }
.mds-hero__photo--16 { bottom: 4%; left: 17%; --rotate: 3deg; --photo-width: clamp(96px, 10vw, 148px); }
.mds-hero__photo--17 { top: 13%; right: 34%; --rotate: 4deg; --photo-width: clamp(92px, 9vw, 136px); }
.mds-hero__photo--18 { right: 10%; bottom: 27%; --rotate: -2deg; --photo-width: clamp(94px, 10vw, 144px); }
.mds-hero__photo--19 { top: 57%; left: 22%; --rotate: -4deg; --photo-width: clamp(86px, 9vw, 130px); }
.mds-hero__photo--20 { top: 57%; right: 23%; --rotate: 5deg; --photo-width: clamp(86px, 9vw, 130px); }

.mds-hero .mds-actions {
	justify-content: center;
}

.mds-affiliations {
	position: relative;
	padding-block: clamp(45px, 6vw, 76px);
	overflow: hidden;
	color: rgba(255, 255, 255, 0.84);
	background: linear-gradient(115deg, var(--mds-navy-dark), var(--mds-navy) 62%, #086d82);
}

.mds-affiliations__heading {
	display: grid;
	grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1.5fr);
	align-items: end;
	gap: 30px;
}

.mds-affiliations__heading .mds-eyebrow {
	color: var(--mds-aqua);
}

.mds-affiliations__heading h2 {
	max-width: 760px;
	margin: 0;
	color: #fff;
	font-size: clamp(1.8rem, 3.2vw, 3.15rem);
}

.mds-affiliations__logos {
	display: grid;
	grid-template-columns: repeat(7, minmax(76px, 1fr));
	margin-top: 34px;
	align-items: center;
	gap: 18px;
}

.mds-affiliations__logos div {
	display: grid;
	min-height: 112px;
	padding: 10px;
	place-items: center;
	background: rgba(255, 255, 255, 0.055);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
}

.mds-affiliations__logos img {
	width: min(100%, 112px);
	height: auto;
	max-height: 88px;
	object-fit: contain;
}

.mds-reviews__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.mds-review-card {
	padding: clamp(26px, 3vw, 38px);
	background: rgba(255, 255, 255, 0.93);
	border: 1px solid rgba(6, 63, 99, 0.11);
	border-radius: var(--mds-radius);
	box-shadow: 0 14px 42px rgba(6, 63, 99, 0.08);
}

.mds-review-card__stars {
	margin: 0 0 20px;
	color: #f4ad2f;
	font-size: 1.05rem;
	letter-spacing: 0.14em;
}

.mds-review-card blockquote {
	padding: 0;
	margin: 0 0 24px;
	color: var(--mds-ink);
	border: 0;
	font-size: 1.04rem;
	font-weight: 630;
	line-height: 1.65;
}

.mds-review-card > p:last-child {
	display: flex;
	margin: 0;
	flex-direction: column;
	color: var(--mds-navy);
}

.mds-review-card > p:last-child span {
	color: #6d7f8d;
	font-size: 0.78rem;
	text-transform: uppercase;
}

.launch-footer__grid {
	grid-template-columns: minmax(230px, 1.25fr) repeat(3, minmax(170px, 0.75fr));
}

.launch-footer__grid a {
	display: block;
	margin-bottom: 10px;
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
}

.launch-footer__hours p {
	display: grid;
	grid-template-columns: minmax(70px, 0.75fr) minmax(118px, 1.25fr);
	margin: 0 0 10px;
	gap: 14px;
	color: rgba(255, 255, 255, 0.76);
}

.launch-footer__hours span {
	white-space: nowrap;
}

.launch-footer__hours strong {
	color: #fff;
	font-weight: 700;
	white-space: nowrap;
}

.mds-footer-socials {
	display: flex;
	margin-top: 24px;
	gap: 10px;
}

.mds-footer-socials a {
	display: grid;
	width: 38px;
	height: 38px;
	margin: 0;
	place-items: center;
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 50%;
	font-size: 0.74rem;
	font-weight: 850;
}

.launch-footer__bottom {
	gap: 24px;
}

.mds-footer-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

.mds-footer-legal a {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.78rem;
	text-decoration: none;
}

.mds-language-links--footer {
	margin-left: auto;
	color: rgba(255, 255, 255, 0.74);
}

.launch-footer__accessibility {
	padding-block: 18px;
	color: rgba(255, 255, 255, 0.62);
	background: rgba(0, 0, 0, 0.18);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.8rem;
}

.launch-footer__accessibility p {
	max-width: 880px;
	margin: 0;
}

.launch-footer__accessibility a {
	color: #fff;
	font-weight: 750;
}

.mds-mobile-practice-details {
	display: flex;
	padding: 16px 0;
	color: var(--mds-navy);
	flex-direction: column;
	font-size: 0.88rem;
	gap: 3px;
}

.mds-language-links--mobile {
	padding-block: 14px;
	color: var(--mds-navy);
}

@media (max-width: 1100px) {
	.mds-hero__photo--15,
	.mds-hero__photo--16,
	.mds-hero__photo--17,
	.mds-hero__photo--18,
	.mds-hero__photo--19,
	.mds-hero__photo--20 {
		display: none;
	}

	.mds-affiliations__logos {
		grid-template-columns: repeat(4, minmax(90px, 1fr));
	}

	.launch-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.mds-affiliations__heading,
	.mds-reviews__grid,
	.launch-footer__grid {
		grid-template-columns: 1fr;
	}

	.mds-affiliations__logos {
		grid-template-columns: repeat(2, minmax(100px, 1fr));
	}

	.launch-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.mds-language-links--footer {
		margin-left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mds-hero__collage {
		transform: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mds-button,
	.mds-service-card,
	.mds-video-poster img {
		transition: none;
	}
}

/* MARPE-inspired service layouts; retained content stays in normal flow. */
.mds-service-hero {
	position: relative;
	isolation: isolate;
	min-height: 620px;
	padding: clamp(56px, 6vw, 96px) 0 110px;
	background: var(--mds-navy-dark);
}
.mds-service-hero__grid {
	position: relative;
	z-index: 1;
	width: min(1320px, calc(100% - 48px));
	pointer-events: none;
}
.mds-service-hero__background {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.mds-service-hero__banner {
	width: min(650px, 58%);
	padding: clamp(28px, 3.5vw, 52px);
	color: #fff;
	background: rgba(3, 47, 76, 0.96);
	border-left: 6px solid var(--mds-aqua);
	border-radius: 8px;
	box-shadow: 0 24px 58px rgba(3, 47, 76, 0.2);
	pointer-events: auto;
}
.mds-service-hero__banner .mds-eyebrow { color: var(--mds-aqua); }
.mds-service-hero .mds-service-hero__banner :is(h1, h2) {
	margin: 0 0 24px;
	color: #fff;
	font-size: clamp(2.5rem, 4.4vw, 4.3rem);
	font-weight: 800;
	line-height: 1.1;
	overflow-wrap: anywhere;
	text-transform: none;
}
.mds-service-hero__intro {
	max-width: 34em;
	margin: 0 0 28px;
	font-size: 1.15rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.9);
}
.mds-home-video { position: relative; background: var(--mds-navy-dark); }
.mds-home-video > video {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: contain;
}
.mds-page-content--legacy .launch-entry__content { font-size: 18px; line-height: 1.75; }
.mds-page-content--legacy :is(h1, h2, h3, h4),
.mds-contact__content :is(h1, h2, h3, h4) {
	line-height: 1.2;
	font-weight: 650;
	text-transform: none;
	overflow-wrap: anywhere;
}
.mds-page-content--legacy h1 { font-size: clamp(2.4rem, 4.8vw, 4.4rem); }
.mds-page-content--legacy h2,
.mds-contact__content h2 { font-size: clamp(1.8rem, 2.8vw, 2.7rem); }
.mds-page-content--legacy h3,
.mds-contact__content h3 { font-size: clamp(1.3rem, 1.8vw, 1.7rem); }
.mds-page-content--legacy .vc_custom_heading {
	max-width: 100%;
	font-size: clamp(1.4rem, 2.5vw, 2.5rem) !important;
	line-height: 1.25;
}
.mds-page-content--legacy .wpb-content-wrapper > .sec_row { padding-block: clamp(30px, 4vw, 60px); }
.mds-page-content--legacy .wpb-content-wrapper > .sec_row:has(.mds-service-hero) { padding: 0; width: 100%; }
.mds-page-content--legacy .sec_row:has(.mds-service-hero) > .vc_row,
.mds-page-content--legacy .sec_row:has(.mds-service-hero) > .vc_row > .wpb_column > .vc_column-inner { margin: 0; padding: 0; }
.mds-page-content--legacy .wpb-content-wrapper > .sec_row:first-child:not(:has(.mds-service-hero)) { padding-top: 56px; }
.mds-page-content--legacy .vc_row.max_width { width: min(1180px, calc(100% - 48px)); }
.mds-page-content--legacy .vc_col-sm-6 > .vc_column-inner { padding-inline: clamp(15px, 2.5vw, 36px); }
.mds-page-content--legacy .vc_empty_space { height: min(36px, 4vw) !important; }
.mds-page-content--legacy .wpb_text_column p { max-width: 70ch; }
.mds-page-content--legacy :is(iframe, img), .mds-contact__content :is(iframe, img) { max-width: 100%; }
.mds-page-content--legacy .wpb_video_wrapper iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.mds-page-content--legacy :is(.et_btn, .vc_btn3) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 22px;
	margin: 8px 8px 8px 0;
	color: #fff;
	background: var(--mds-navy);
	border-radius: 5px;
	font-weight: 700;
	text-decoration: none;
}
/* The former theme provided these cards' grid and decoration. */
.mds-page-content--legacy .et-post-slider {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 32px;
}
.mds-page-content--legacy .et-post-slider > article {
	min-width: 0;
	padding: 28px;
	background: #f2f7f5;
	border: 1px solid var(--mds-border);
	border-radius: 10px;
}
.mds-page-content--legacy .et-post-slider .post-categories { padding: 0; margin: 0 0 14px; list-style: none; font-size: 0.85rem; }
.mds-page-content--legacy .et-post-slider h3 { margin: 0 0 18px; font-size: 1.3rem; line-height: 1.4; }
.mds-page-content--legacy .et-post-slider a { color: var(--mds-navy); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.mds-page-content--legacy .et-post-slider .post-meta { font-size: 0.85rem; }
.mds-page-content--legacy .et-post-slider .post-gallery:empty { display: none; }

/* Scope every Ninja Forms placement, including forms embedded in builder rows.
 * Input visibility, errors, CAPTCHA, field logic and submissions remain owned
 * by Ninja Forms; never recreate or replace the form or its action settings.
 */
.launch-main .nf-form-cont,
.launch-contact-band .nf-form-cont { width: 100%; min-width: 0; }
.launch-main .nf-form-content,
.launch-contact-band .nf-form-content { max-width: 760px; padding: 0; margin-inline: 0; }
.launch-main .nf-form-fields-required,
.launch-contact-band .nf-form-fields-required { margin-bottom: 22px; font-size: 0.9rem; }
.launch-main .nf-field-container,
.launch-contact-band .nf-field-container { margin-bottom: 22px; }
.launch-main .nf-field-label,
.launch-contact-band .nf-field-label { margin-bottom: 8px; font-size: 1rem; }
.launch-main .nf-form-content :is(input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="hidden"]), select, textarea),
.launch-contact-band .nf-form-content :is(input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="hidden"]), select, textarea) {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	color: var(--mds-ink);
	background: #fff;
	border: 1px solid #a6b9be;
	border-radius: 5px;
	font: inherit;
	font-size: 16px;
}
.launch-main .nf-form-content textarea,
.launch-contact-band .nf-form-content textarea { min-height: 140px; resize: vertical; }
.launch-main .nf-form-content :is(input, select, textarea):focus-visible,
.launch-contact-band .nf-form-content :is(input, select, textarea):focus-visible { outline: 3px solid #16848a; outline-offset: 3px; }
.launch-main .nf-form-content :is(input[type="button"], input[type="submit"], button[type="submit"]),
.launch-contact-band .nf-form-content :is(input[type="button"], input[type="submit"], button[type="submit"]) {
	min-height: 50px;
	max-width: 100%;
	padding: 13px 28px;
	color: #fff;
	background: var(--mds-navy);
	border: 0;
	border-radius: 5px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.launch-main .nf-error-msg,
.launch-contact-band .nf-error-msg { color: #a22c24; }
.launch-main .nf-response-msg,
.launch-contact-band .nf-response-msg { padding: 20px; color: var(--mds-ink); background: #eafafb; border-radius: 5px; }
.launch-main .nf-response-msg:empty,
.launch-contact-band .nf-response-msg:empty { padding: 0; }
.mds-contact__content .sec_row.container,
.mds-contact__content .vc_row.max_width { width: 100%; max-width: 100%; margin-inline: 0; padding-inline: 0; }
.mds-contact__content .vc_col-sm-6 { width: 100%; float: none; }
.mds-contact__content .vc_column-inner { padding-inline: 0 !important; }
.mds-contact__content .vc_empty_space { height: 24px !important; }

@media (max-width: 760px) {
	.launch-utility__inner { justify-content: center; }
	.launch-utility__details { min-width: 0; justify-content: center; width: 100%; }
	.launch-utility__details > .launch-utility__address,
	.launch-utility__hours,
	.launch-announcement { display: none; }
	.launch-nav { grid-template-columns: minmax(0, 1fr) 44px 44px; gap: 8px; min-height: 76px; }
	.launch-brand { min-width: 0; }
	.launch-brand img,
	.custom-logo { width: min(190px, 100%); max-width: 100%; height: auto; }
	.launch-menu-toggle { width: 44px; height: 44px; min-width: 44px; }
	.launch-header-actions { width: 44px; }
	.launch-header-actions > .launch-button { display: none; }
	.launch-header-actions .launch-header-phone { width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; }
	.mds-service-hero { min-height: 640px; padding-top: 32px; padding-bottom: 150px; }
	.mds-service-hero__banner { width: 100%; padding: 28px 22px; }
	.mds-service-hero .mds-service-hero__banner :is(h1, h2) { overflow-wrap: anywhere; font-size: clamp(2.05rem, 8vw, 3.1rem); }
	.mds-service-hero__intro { font-size: 1rem; }
	.mds-page-content--legacy .vc_col-sm-6 > .vc_column-inner { padding-inline: 15px; }
	.mds-page-content--legacy .et-post-slider { grid-template-columns: 1fr; }
	.mds-page-content--legacy .vc_row.max_width { width: calc(100% - 28px); }
	.mds-contact__grid { grid-template-columns: 1fr; }
	.mds-contact__content { padding: 24px 18px; }
}

/* Featured pathway test; the complete category navigation follows it. */
@media (min-width: 1121px) {
 .mds-menu-item--services > .launch-mega-menu > .mds-featured-services {
  grid-column: 1 / -1;
  min-height: 0;
  background: #063f63;
  border-color: #063f63;
 }
 .mds-menu-item--services .mds-featured-services > a { color: #fff; margin-bottom: 10px; }
 .mds-featured-services > .sub-menu { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
 .mds-featured-services > .sub-menu > li > a {
  display: flex; align-items: center; height: 100%; min-height: 48px;
  padding: 10px 14px; color: #063f63; background: #fff;
  border-left: 4px solid #2bbfc7; border-radius: 6px; font-weight: 700;
 }
 .mds-featured-services > .sub-menu > li > a:is(:hover, :focus-visible) { background: #dff9fa; }
}
.mds-related-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-block: 28px; }
.mds-related-posts__card { min-width: 0; overflow: hidden; border: 1px solid #dce6e9; border-radius: 12px; background: #fff; }
.mds-related-posts__card > a { display: block; }
.mds-related-posts__card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.mds-page-content--legacy .mds-related-posts__card h3 { margin: 0; padding: 24px; font-size: 1.35rem; line-height: 1.4; text-transform: none; }
.mds-related-posts__card h3 a { color: var(--mds-navy); }
.mds-related-posts__card p { padding: 0 24px 24px; margin: 0; }
@media (max-width: 760px) { .mds-related-posts { grid-template-columns: 1fr; } }
/* Keep the practice footer in flow so it cannot cover mobile service links. */
@media (max-width: 1120px) {
 .launch-mobile-menu__body { display: flex; flex-direction: column; overflow-x: hidden; overflow-y: auto; }
 .launch-mobile-menu__panels { position: relative; inset: auto; flex: 1 0 auto; overflow: visible; }
 .launch-mobile-menu__panel { display: none; position: relative; inset: auto; overflow: visible; transform: none; transition: none; }
 .launch-mobile-menu__panel.is-active { display: block; transform: none; }
 .launch-mobile-menu__footer { position: static; flex: 0 0 auto; margin: 0 clamp(26px, 6vw, 48px) 24px; }
}

/* Original page content, presented as full-width horizontal topic bands. */
.mds-page-content--legacy .launch-entry__content > .mds-content-panels { width: 100%; max-width: none; margin: 0; clear: both; }
.mds-content-panels { width: 100%; clear: both; }
.mds-panel { padding-block: clamp(48px, 6vw, 88px); background: #fff; border-bottom: 1px solid var(--mds-border); }
.mds-panel:nth-of-type(even) { background: #f0f8f8; }
.mds-panel .mds-panel__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; max-width: 1320px; margin-inline: auto; }
.mds-panel__copy { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; min-width: 0; }
.mds-panel__heading, .mds-panel__body, .mds-panel__media, .mds-panel__form, .mds-panel__topic { min-width: 0; }
.mds-panel__heading:empty, .mds-panel__body:empty { display: none; }
.mds-panel--untitled .mds-panel__copy { display: block; }
.mds-panel .mds-panel__heading :is(h1,h2,h3,h4,h5,h6) {
 margin: 0 0 18px !important; padding: 0; font-family: var(--launch-font-sans) !important;
 font-size: clamp(1.9rem, 3.1vw, 2.8rem) !important; line-height: 1.13 !important;
 font-weight: 850 !important; text-transform: none !important; letter-spacing: -.035em !important;
 color: var(--mds-navy) !important; overflow-wrap: break-word;
}
.mds-panel .mds-panel__heading h1 { font-size: clamp(2.5rem, 4.5vw, 4rem) !important; }
.mds-panel .mds-panel__eyebrow :is(h2,h3,h4,h5,h6) {
 color: #d85c4e !important; font-family: "Segoe Script", "Bradley Hand", cursive !important;
 font-size: clamp(1.4rem, 2vw, 1.8rem) !important; font-weight: 400 !important; letter-spacing: 0 !important; line-height: 1.4 !important;
}
.mds-panel__body, .mds-panel__topic, .mds-panel__list { font-size: 18px; line-height: 1.75; }
.mds-panel p { margin: 0 0 20px; }
.mds-panel p:last-child { margin-bottom: 0; }
.mds-panel a { text-underline-offset: 4px; }
.mds-panel__body > p:empty { display: none; }
.mds-panel__body ul, .mds-panel__body ol { padding-left: 24px; }
.mds-panel__body li { margin-bottom: 10px; }
.mds-panel--media .mds-panel__inner, .mds-panel--form .mds-panel__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 76px); }
.mds-panel--media .mds-panel__copy, .mds-panel--form .mds-panel__copy { display: block; }
.mds-panel--media:nth-of-type(even) .mds-panel__media { grid-column: 1; grid-row: 1; }
.mds-panel--media:nth-of-type(even) .mds-panel__copy { grid-column: 2; grid-row: 1; }
.mds-panel__media { display: grid; gap: 20px; align-content: center; }
.mds-panel__media :is(.wpb_wrapper, .vc_figure, figure, .vc_single_image-wrapper) { margin: 0 !important; padding: 0 !important; max-width: 100%; }
.mds-panel__media .wpb_single_image { margin: 0 !important; text-align: center; }
.mds-panel__media img { display: block; max-width: 100%; width: auto; height: auto !important; max-height: 580px; margin-inline: auto; object-fit: contain; border-radius: 12px; }
.mds-panel__media :is(iframe, video) { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; }
.mds-panel__media .wpb_video_wrapper { position: static; padding: 0; }
.mds-panel__subsections, .mds-panel__wide { grid-column: 1 / -1; min-width: 0; }
.mds-panel__subsections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--mds-border); border-bottom: 1px solid var(--mds-border); }
.mds-panel__subsections--1 { grid-template-columns: 1fr; }
.mds-panel__subsections--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mds-panel__topic { padding: 30px 28px; border-right: 1px solid var(--mds-border); border-bottom: 1px solid var(--mds-border); }
.mds-panel__topic:last-child { border-right: 0; }
.mds-panel .mds-panel__topic :is(h3,h4,h5,h6) { margin: 0 0 18px !important; font-size: 1.35rem !important; line-height: 1.3 !important; color: var(--mds-navy) !important; text-transform: none !important; }
.mds-panel__list > :is(ul,ol) { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding: 0; margin: 0; list-style: none; counter-reset: panel-item; }
.mds-panel__list > :is(ul,ol) > li { min-width: 0; padding: 28px; margin: 0; background: #fff; border: 1px solid var(--mds-border); border-top: 3px solid var(--mds-aqua); border-radius: 8px; }
.mds-panel__list > ol > li { counter-increment: panel-item; }
.mds-panel__list > ol > li::before { content: counter(panel-item, decimal-leading-zero); display: block; margin-bottom: 18px; color: #137b81; font-weight: 700; font-size: .9rem; letter-spacing: .1em; }
.mds-panel__wide > .mds-panel__list + .mds-panel__list { margin-top: 24px; }
.mds-panel.mds-panel--navy { background: var(--mds-navy); color: #deedf2; border-color: transparent; }
.mds-panel--navy .mds-panel__heading :is(h1,h2,h3,h4,h5,h6), .mds-panel--navy .mds-panel__topic :is(h3,h4,h5,h6), .mds-panel--navy :is(p,li,strong,span) { color: inherit !important; }
.mds-panel--navy .mds-panel__heading :is(h1,h2), .mds-panel--navy .mds-panel__topic :is(h3,h4,h5,h6) { color: #fff !important; }
.mds-panel--navy a { color: #a7e5e7; }
.mds-panel--navy :is(.mds-panel__topic,.mds-panel__subsections) { border-color: rgba(255,255,255,.22); }
.mds-panel--navy .mds-panel__list li { color: var(--mds-ink) !important; }
.mds-panel__form { padding: clamp(22px,3vw,40px); background: #fff; border: 1px solid var(--mds-border); border-radius: 14px; box-shadow: 0 18px 44px rgba(6,63,99,.06); }
.mds-panel__form .nf-form-cont { margin: 0; }
.mds-panel--module .mds-panel__inner { display: block; }
.mds-panel--module .mds-panel__copy { margin-bottom: 30px; }
.mds-panel--module .mds-panel__copy:has(.mds-panel__body:empty) { display: block; text-align: center; }
.mds-panel__subsections--1 .mds-panel__topic { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(32px,5vw,80px); padding-inline: 0; }
.mds-panel__topic-body p { max-width: 70ch; }
.mds-panel__topic-body :is(ul,ol) { padding-left: 24px; }
.mds-panel__form :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),textarea,select) { width: 100%; max-width: 100%; min-height: 48px; padding: 12px 14px; color: var(--mds-ink); border: 1px solid #b5c7ce; border-radius: 6px; background: #fff; font: inherit; }
.mds-panel__form textarea { min-height: 130px; }
.mds-panel__form label { font-size: 16px; font-weight: 700; }
.mds-panel__form .nf-field-container { margin-bottom: 20px; }
.mds-panel__form .nf-form-fields-required { font-size: 14px; margin-bottom: 20px; }
.mds-panel__form :is(input[type="submit"],input[type="button"],button[type="submit"]) { min-height: 48px; padding: 13px 28px; color: #fff; background: #b83f34; border: 0; border-radius: 6px; font: inherit; font-weight: 750; cursor: pointer; }
.mds-panel__form :is(input,textarea,select,button):focus-visible { outline: 3px solid #087d85; outline-offset: 3px; }
.mds-panel__form .nf-error-msg { font-size: 14px; }
.mds-panel__form .widget_ninja_forms_widget { width: 100%; max-width: 100%; margin: 0; }
.mds-panel--reading .mds-panel__copy { display: block; }
.mds-panel--reading .mds-panel__heading { max-width: 900px; margin-bottom: 32px; }
.mds-panel--reading .mds-panel__body { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; align-items: start; }
.mds-panel--reading .mds-panel__body > p { padding: 24px 26px; border-top: 3px solid var(--mds-aqua); background: #f0f8f8; border-radius: 6px; margin: 0; }
.mds-panel--reading.mds-panel--navy .mds-panel__body > p { background: rgba(255,255,255,.08); }
.mds-panel--reading .mds-panel__body > :not(p) { grid-column: 1 / -1; }
.mds-panel a.qbutton { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 13px 24px !important; margin: 8px 12px 8px 0 !important; background: var(--mds-navy) !important; color: #fff !important; border: 0 !important; border-radius: 6px; font-size: 16px; font-weight: 750; line-height: 1.4; text-decoration: none; }
.mds-panel a.qbutton :is(span,i) { color: inherit !important; }
.mds-panel a.qbutton .hidden_icon { display: none; }
.mds-panel--navy a.qbutton { background: #fff !important; color: var(--mds-navy) !important; }
.mds-panel--module .mds-panel__media { margin: 0 auto 24px; max-width: 120px; }
.mds-panel-anchor { display: block; scroll-margin-top: 140px; }
.mds-panel :is(.vc_custom_heading, .wpb_content_element) { margin-bottom: 0; }
@media (max-width: 1000px) {
 .mds-panel__subsections, .mds-panel__list > :is(ul,ol) { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .mds-panel__subsections--1 { grid-template-columns: 1fr; }
 .mds-panel__copy { gap: 32px; }
 .mds-panel--reading .mds-panel__body { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
 .mds-panel { padding-block: 40px; }
 .mds-panel .mds-panel__inner { width: calc(100% - 36px); gap: 26px; grid-template-columns: minmax(0,1fr); }
 .mds-panel__copy { display: block; }
 .mds-panel--media:nth-of-type(even) .mds-panel__media, .mds-panel--media:nth-of-type(even) .mds-panel__copy { grid-column: auto; grid-row: auto; }
 .mds-panel__subsections, .mds-panel__list > :is(ul,ol) { grid-template-columns: minmax(0,1fr); }
 .mds-panel__topic { padding: 24px 0; border-right: 0; }
 .mds-panel__subsections--1 .mds-panel__topic { display: block; }
 .mds-panel__body, .mds-panel__topic, .mds-panel__list { font-size: 17px; }
 .mds-panel__media img { max-height: none; }
 .mds-panel__form { padding: 22px 18px; }
 .mds-panel--reading .mds-panel__body { grid-template-columns: minmax(0,1fr); }
}

/* The child theme supplies its own mobile actions; keep the legacy plugin installed for rollback. */
html body .fixed-ctas { display: none !important; }
html body .footer-spacer { display: none !important; height: 0 !important; }

/* November 18 review: readable labels and balanced homepage sections. */
@media (min-width: 1121px) {
 html[lang^="es"] .launch-nav { grid-template-columns: minmax(180px,240px) minmax(0,1fr) auto; gap: 16px; }
 html[lang^="es"] .launch-primary-nav { min-width: 0; }
 html[lang^="es"] .launch-primary-menu { flex-wrap: wrap; gap: 0 14px; }
 html[lang^="es"] .launch-primary-menu > li > a { padding-block: 18px; font-size: .75rem; }
 html[lang^="es"] .launch-brand img { max-width: 100%; }
}
@media (min-width: 1121px) and (max-width: 1500px) {
 html[lang^="es"] .launch-header-phone { width: 42px; padding: 0; justify-content: center; }
 html[lang^="es"] .launch-header-phone__label { display: none; }
}
.mds-intro__specialties { display: flex; flex-wrap: wrap; gap: .12em .6em; }
.mds-intro__specialties > span { white-space: nowrap; }
.mds-section-heading h2, .mds-affiliations__heading h2 { text-wrap: balance; }
#mds-services-title { max-width: 20ch; margin-inline: auto; }
.mds-affiliations__heading { display: block; max-width: 980px; margin: 0 auto 36px; text-align: center; }
.mds-affiliations__heading h2 { max-width: 100%; margin-inline: auto; }
.mds-virtual__benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.mds-virtual__benefits li { min-width: 0; padding-left: 26px; }
.mds-virtual .mds-button { max-width: 100%; white-space: normal; text-align: center; }
.mds-story-card .mds-video-poster > .mds-play { top: auto; left: auto; right: 10px; bottom: 10px; width: 44px; height: 44px; transform: none; border-width: 3px; font-size: 15px; }
.mds-site-credit { padding-block: 12px 24px; margin-block: 0; text-align: center; font-size: 13px; }
.mds-site-credit a { color: inherit; text-underline-offset: 3px; }
@media (max-width: 760px) { .mds-intro__specialties { font-size: clamp(1.35rem,5.7vw,1.9rem); } }
@media (max-width: 600px) { .mds-virtual__benefits { grid-template-columns: minmax(0,1fr); } }

@media (min-width: 1121px) { html[lang^="es"] .launch-primary-menu > li { flex: 0 0 auto; } }

/* A compact welcome section with a practice introduction video. */
.mds-intro--welcome {
 width: min(1240px,calc(100vw - 48px));
 padding: clamp(24px,3.2vw,42px);
 margin-top: -52px;
 border-radius: 18px;
 background: linear-gradient(115deg,#063951,#07516b);
 box-shadow: 0 20px 54px rgba(3,47,76,.2);
}
.mds-intro--welcome::before { opacity: .06; }
.mds-intro--welcome .mds-intro__inner { grid-template-columns: minmax(0,1fr) minmax(0,1.04fr); gap: clamp(28px,4vw,52px); }
.mds-intro--welcome .mds-intro__copy { min-width: 0; }
.mds-intro--welcome .mds-intro__specialties {
 display: flex; flex-wrap: wrap; gap: 6px 14px;
 margin: 0 0 20px; color: #70d9dd; font-family: var(--launch-font-sans);
 font-size: .72rem; font-weight: 750; line-height: 1.5;
 letter-spacing: .09em; text-transform: uppercase;
}
.mds-intro--welcome h2 { max-width: 19ch; margin: 0 0 20px; font-size: clamp(2rem,3.2vw,2.8rem); line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.mds-intro--welcome .mds-intro__description { max-width: 48ch; margin: 0 0 26px; color: rgba(255,255,255,.87); font-size: 1rem; line-height: 1.65; }
.mds-intro--welcome .mds-actions { gap: 12px; align-items: stretch; }
.mds-intro--welcome .mds-button { min-height: 48px; padding: 13px 18px; font-size: .73rem; letter-spacing: .025em; white-space: normal; text-align: center; }
.mds-intro--welcome .mds-button--outline { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; }
.mds-intro--welcome .mds-button--outline:hover { background: rgba(255,255,255,.1); }
.mds-intro__media { min-width: 0; margin: 0; }
.mds-intro__video { overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,.12); }
.mds-intro__video img { display: block; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.mds-intro__video-action { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 10px 16px; color: #063951; background: #fff; font: 750 .9rem/1.3 var(--launch-font-sans); text-align: left; }
.mds-intro__play { display: inline-grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; color: #fff; background: #cc493f; border-radius: 50%; font-size: 11px; }
.mds-intro__video-action > svg { width: 18px; height: 18px; margin-left: auto; }
.mds-intro__video:is(:hover,:focus-visible) .mds-intro__video-action { background: #e4f8f8; }
.mds-intro__video:focus-visible { outline: 3px solid #70d9dd; outline-offset: 4px; }
.mds-intro__media figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px 12px; margin-top: 12px; color: rgba(255,255,255,.8); font-size: .78rem; line-height: 1.5; }
.mds-intro__language { color: #70d9dd; white-space: nowrap; }
@media (max-width: 900px) {
 .mds-intro--welcome { width: min(760px,calc(100vw - 36px)); margin-top: -36px; }
 .mds-intro--welcome .mds-intro__inner { grid-template-columns: minmax(0,1fr); gap: 28px; }
 .mds-intro--welcome h2 { max-width: 22ch; }
 .mds-intro--welcome .mds-intro__description { max-width: 60ch; }
}
@media (max-width: 600px) {
 .mds-intro--welcome { width: calc(100vw - 28px); padding: 26px 22px; margin-top: -24px; }
 .mds-intro--welcome .mds-intro__specialties { margin-bottom: 16px; font-size: .66rem; letter-spacing: .065em; }
 .mds-intro--welcome h2 { font-size: 2rem; }
 .mds-intro--welcome .mds-actions { width: 100%; flex-direction: column; }
 .mds-intro--welcome .mds-button { width: 100%; }
 .mds-intro__video-action { padding-inline: 12px; }
}

/* Patient-focused evidence, resources, and next steps on the existing page URLs. */
.mds-service-upgraded .mds-panel__body { max-width:78ch; }
.mds-service-upgraded .mds-panel:not(.mds-panel--media):not(.mds-panel--form) .mds-panel__copy { align-items:start; }
.mds-service-benefits .mds-panel__copy { display:block; }
.mds-service-benefits .mds-panel__body { display:block; max-width:900px; }
.mds-service-benefit-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; grid-column:1/-1; }
.mds-service-benefit-grid article { min-width:0; padding:28px; background:#fff; border:1px solid var(--mds-border); border-top:3px solid #31c4ca; border-radius:12px; color:var(--mds-ink); }
.mds-service-benefit-grid article h3 { color:var(--mds-navy); font-size:1.2rem; line-height:1.35; margin:0 0 14px; }
.mds-service-benefit-grid article p { font-size:1rem; line-height:1.7; }
.mds-service-benefits-footer { grid-column:1/-1; max-width:900px; font-size:18px; line-height:1.75; }
.mds-panel--navy .mds-service-benefit-grid article :is(h3,p,strong,span) { color:var(--mds-ink) !important; }
.mds-service-intro-actions { padding-block:24px; }
.mds-service-intro-actions .mds-actions { justify-content:center; margin:0; }
.mds-service-upgraded .mds-section-cta, .mds-service-upgraded .mds-service-inline-actions { grid-column:1/-1; }
.mds-service-upgraded .mds-service-inline-actions { justify-content:start; margin-top:8px; }
.mds-panel--navy .mds-service-inline-actions .mds-button { color:#fff; }
.mds-service-video-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; max-width:1080px; margin-inline:auto; }
.mds-service-video-grid:has(> :only-child) { grid-template-columns:minmax(0,680px); justify-content:center; }
.mds-service-upgraded .wpb_video_widget .wpb_video_wrapper { position:static; padding:0 !important; height:auto !important; }
.mds-service-video-caption { font-size:.84rem; line-height:1.6; margin:12px 0 0 !important; text-align:center; }
.mds-service-video-caption span { color:#526d7a; }
.mds-service-upgraded .mds-evidence-video { display:block; width:100%; padding:0; overflow:hidden; }
.mds-service-results-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.mds-service-results-grid:has(> :only-child) { grid-template-columns:minmax(0,820px); justify-content:center; }
.mds-service-results-grid .mds-marpe-case > img { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:contain; background:#102345; }
.mds-service-next-step { background:linear-gradient(125deg,#effafa,#fff); }
.mds-service-next-step h2 { font-size:clamp(1.9rem,3.1vw,2.8rem); line-height:1.13; text-wrap:balance; max-width:25ch; }
.mds-service-next-step__grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.85fr); align-items:center; gap:clamp(28px,5vw,70px); }
.mds-service-next-step__grid img { width:100%; height:auto; border-radius:18px; }
.mds-service-next-step__grid figure { margin:0; }
.mds-service-next-step figcaption { color:#526d7a; font-size:.8rem; margin-top:12px; }
.mds-service-post-image { display:block; aspect-ratio:16/10; overflow:hidden; }
.mds-service-post-image img { display:block; width:100%; height:100%; object-fit:cover; }
.mds-service-related-case { margin:22px 0 0; font-size:.9rem; }
.mds-service-related-case a { display:inline-flex; gap:14px; align-items:center; }
.mds-service-related-case svg { width:18px; height:18px; }
.mds-service-gallery-link { padding:20px; background:#effafa; border-radius:12px; }
@media(max-width:1000px) {
 .mds-service-benefit-grid, .mds-service-results-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:760px) {
 .mds-service-benefit-grid, .mds-service-results-grid, .mds-service-video-grid, .mds-service-next-step__grid { grid-template-columns:minmax(0,1fr); }
 .mds-service-benefit-grid article { padding:24px; }
 .mds-service-intro-actions .mds-actions { flex-direction:column; align-items:stretch; }
 .mds-service-intro-actions .mds-button, .mds-service-upgraded .mds-service-inline-actions .mds-button { width:100%; white-space:normal; }
 .mds-service-intro-actions .mds-button { padding:16px 20px; font-size:.76rem; }
}
.mds-evidence { padding-block: clamp(48px,6vw,80px); border-bottom: 1px solid var(--mds-border); }
.mds-evidence .mds-section-heading { max-width: 860px; margin: 0 auto 32px; }
.mds-evidence h2 { font-size: clamp(1.9rem,3.1vw,2.8rem); line-height: 1.13; text-wrap: balance; }
.mds-evidence .mds-actions, .mds-enriched-page .mds-actions { gap: 12px; margin-top: 24px; }
.mds-evidence .mds-button, .mds-enriched-page .mds-button { min-height: 48px; font-size: .76rem; padding: 14px 20px; line-height: 1.4; white-space: normal; }
.mds-evidence [id], .mds-enriched-page [id] { scroll-margin-top: 140px; }
.mds-evidence .mds-section-cta { margin-top: 30px; gap: 12px; }
.mds-evidence-note { font-size: .85rem; line-height: 1.5; color: #526d7a; text-align: center; margin: 18px 0 0; }
.mds-evidence-nav { background: #063f63; }
.mds-evidence-nav .launch-container { display:flex; flex-wrap:wrap; justify-content:center; gap: 10px 32px; padding-block:18px; }
.mds-evidence-nav a { color:#fff; font-size:.88rem; font-weight:700; text-underline-offset:5px; }
.mds-patient-hero { background: linear-gradient(120deg,#f0fafa,#fff) !important; }
.mds-patient-hero .mds-panel__inner { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap:clamp(28px,5vw,70px); }
.mds-patient-hero .mds-panel__copy { display:block; }
.mds-patient-hero .mds-panel__heading h1 { max-width:14ch; text-wrap:balance; }
.mds-patient-hero .mds-panel__heading h2 { font-size:clamp(1.15rem,1.7vw,1.4rem) !important; line-height:1.45 !important; max-width:34ch; }
.mds-patient-hero .mds-panel__eyebrow h2 { font:750 .75rem/1.5 var(--launch-font-sans) !important; text-transform:uppercase !important; color:#15818a !important; letter-spacing:.12em !important; }
.mds-patient-hero .mds-panel__body { font-size:1rem; line-height:1.7; }
.mds-patient-hero .mds-panel__body > .qbutton { display:none; }
.mds-patient-photo { margin:0; min-width:0; }
.mds-patient-photo img { width:100%; height:auto; border-radius:22px 22px 70px 22px; box-shadow:0 20px 45px #063f6314; }
.mds-patient-photo figcaption { font-size:.8rem; color:#526d7a; margin-top:14px; }
.mds-patient-welcome .mds-panel__copy { display:block; }
.mds-patient-welcome .mds-panel__body { font-size:1rem; }
.mds-patient-welcome .mds-panel__body > p { padding-left:24px; position:relative; }
.mds-patient-welcome .mds-panel__body > p::before { content:'\2713'; position:absolute; left:0; color:#168f99; font-weight:800; }
.mds-evidence-video { display:block; width:100%; overflow:hidden; border-radius:14px; border:1px solid var(--mds-border); box-shadow:0 14px 35px #063f6312; }
.mds-evidence-video img { width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; display:block; }
.mds-story-card .mds-evidence-video { aspect-ratio:auto; border:0; border-radius:0; box-shadow:none; }
.mds-evidence-video .mds-intro__video-action { font-size:.88rem; min-height:54px; }
.mds-patient-steps .mds-panel__copy { display:block; }
.mds-patient-steps .mds-panel__body { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; font-size:1rem; line-height:1.7; }
.mds-patient-step { padding:28px; background:#fff; border:1px solid var(--mds-border); border-radius:14px; }
.mds-patient-step__number { display:inline-grid; place-items:center; width:46px; height:46px; margin-bottom:20px; border-radius:50%; background:#dff4f4; color:#126d7b; font-weight:800; }
.mds-patient-step strong { display:block; margin-bottom:12px; font-size:1.2rem; line-height:1.35; }
.mds-evidence-results, .mds-evidence-stories { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.mds-evidence-results--single { max-width:800px; margin:auto; grid-template-columns:minmax(0,1fr); }
.mds-evidence-results .mds-transformation span { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.mds-evidence-results svg { width:20px; flex:0 0 20px; }
.mds-evidence-stories:has(> :only-child) { grid-template-columns:minmax(0,1fr); max-width:660px; margin:auto; }
.mds-evidence-stories:has(> :last-child:nth-child(2)) { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:1000px; margin:auto; }
.mds-evidence .mds-story-card h3 { font-size:1.35rem; }
.mds-evidence .mds-post-card__body { padding:28px; }
.mds-evidence .mds-post-card h3 { font-size:1.35rem; line-height:1.35; margin:0 0 26px; }
.mds-evidence .mds-post-card__body > .mds-eyebrow { display:flex; gap:10px; align-items:center; font-size:.72rem; }
.mds-evidence .mds-post-card__body > .mds-eyebrow svg { width:26px; height:26px; padding:4px; background:#e2f5f5; border-radius:6px; }
.mds-patient-reviews .wprev-no-slider { display:grid; grid-template-columns:1.2fr .8fr; gap:24px; }
.mds-patient-reviews .wprevpro_t1_outer_div { margin:0 !important; padding:0 !important; }
.mds-patient-reviews .wprevpro_t1_outer_div:first-child { grid-row:span 2; }
.mds-patient-reviews .wprevpro_t1_DIV_1 { float:none !important; width:100% !important; padding:28px !important; border:1px solid var(--mds-border); border-radius:14px; background:#fff; height:100%; box-shadow:0 10px 30px #063f6308; }
.mds-patient-reviews .wprevpro_t1_DIV_2 { padding:0 !important; margin:0 0 18px !important; background:transparent !important; border:0 !important; box-shadow:none !important; }
.mds-patient-reviews .wprevpro_t1_DIV_2::before, .mds-patient-reviews .wprevpro_t1_DIV_2::after { display:none !important; }
.mds-patient-reviews .wprevpro_t1_P_3 { font:400 1rem/1.75 var(--launch-font-sans) !important; color:var(--mds-ink) !important; margin:0 !important; }
.mds-patient-reviews .wprevpro_t1_P_3::before { display:none !important; }
.mds-patient-reviews .wprevpro_star_imgs_T1 { display:block; margin-bottom:15px; }
.mds-patient-reviews .wprevpro_star_imgs_T1::before { content:'\2605\2605\2605\2605\2605'; letter-spacing:.12em; color:#c17c16; }
.mds-patient-reviews .wprevpro_star_imgs_T1 > * { display:none; }
.mds-patient-reviews .wprevpro_t1_IMG_4 { width:40px !important; height:40px !important; border-radius:50% !important; }
.mds-patient-reviews .wprevpro_t1_SPAN_5 { font-size:.85rem !important; font-family:var(--launch-font-sans) !important; color:var(--mds-navy) !important; text-transform:none !important; }
.mds-patient-reviews .wprev_showdate_T1 { font-size:.75rem !important; color:#526d7a !important; }
.mds-instagram-layout, .mds-tmj-review { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(28px,5vw,70px); align-items:center; }
.mds-instagram-layout > div:first-child { max-width:520px; }
.mds-instagram-layout .mds-actions { align-items:flex-start; flex-direction:column; }
.mds-instagram-frame { max-width:420px; width:100%; margin:auto; border-radius:18px; overflow:hidden; background:#fff; box-shadow:0 15px 40px #063f6314; }
.mds-instagram-frame iframe { display:block; width:100%; height:680px; border:0; }
.mds-tmj-review .mds-section-cta { grid-column:1/-1; margin:0; }
.mds-tmj-review blockquote { font-size:1.15rem; }
@media(max-width:900px) {
 .mds-patient-hero .mds-panel__inner, .mds-patient-welcome .mds-panel__inner, .mds-instagram-layout, .mds-tmj-review { grid-template-columns:minmax(0,1fr); }
 .mds-patient-photo { max-width:640px; }
 .mds-patient-welcome__video { max-width:660px; }
 .mds-patient-steps .mds-panel__body { grid-template-columns:minmax(0,1fr); }
 .mds-patient-step { display:grid; grid-template-columns:46px minmax(0,1fr); gap:20px; }
 .mds-patient-step__number { margin:0; }
 .mds-evidence-results, .mds-evidence-stories { gap:16px; }
}
@media(max-width:600px) {
 .mds-evidence-results, .mds-evidence-stories, .mds-evidence-stories:has(> :last-child:nth-child(2)), .mds-patient-reviews .wprev-no-slider { grid-template-columns:minmax(0,1fr); }
 .mds-evidence .mds-section-heading { text-align:left; }
 .mds-evidence-nav .launch-container { justify-content:flex-start; gap:14px 24px; }
 .mds-evidence .mds-section-cta, .mds-patient-actions { flex-direction:column; align-items:stretch; }
 .mds-patient-step { padding:22px; gap:15px; }
 .mds-evidence .mds-button, .mds-enriched-page .mds-button { width:100%; }
 .mds-instagram-frame iframe { height:650px; }
 .mds-patient-hero .mds-panel__heading h1 { font-size:2.7rem !important; }
}
.mds-care-path { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.mds-care-path > div { display:flex; align-items:center; gap:20px; padding:28px; border:1px solid var(--mds-border); border-radius:14px; background:#f0fafa; }
.mds-care-path svg { flex:0 0 54px; width:54px; height:54px; color:#15818a; stroke-width:1.4; }
.mds-care-path h3 { margin:0; font-size:1.15rem; line-height:1.4; }
.mds-enriched-page .mds-panel__body > .mds-button { margin:12px 12px 0 0; }
@media(max-width:900px) { .mds-care-path { grid-template-columns:minmax(0,1fr); gap:16px; } }
.mds-patient-actions { margin:22px 0 24px !important; }
.mds-site-credit { display:flex; justify-content:center; gap:.25em; flex-wrap:nowrap; white-space:nowrap; font-size:clamp(11px,3vw,13px); }
.launch-footer .mds-site-credit a { display:inline; }
.mds-article-date, .mds-related-posts__date { color:#526d7a; font-size:.8rem; line-height:1.5; }
.mds-related-posts__card .mds-related-posts__date { margin:0; padding:24px 24px 0; }
.mds-page-content--legacy .mds-related-posts__card:has(.mds-related-posts__date) h3 { padding-top:12px; }
.mds-live-reviews { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; align-items:start; }
.mds-live-reviews .mds-review-card { padding:28px; }
.mds-live-reviews .mds-review-card blockquote { font-size:1rem; line-height:1.7; margin:0 0 24px; white-space:pre-line; }
.mds-live-review__author time { display:block; color:#526d7a; font-size:.8rem; margin-top:5px; }
.mds-live-reviews .mds-text-link { margin-top:16px; font-size:.78rem; }
@media(max-width:760px) { .mds-live-reviews { grid-template-columns:minmax(0,1fr); } }

/* Scannable patient questions and local appointment information. */
.mds-tmj-faq { max-width:960px; margin-inline:auto; }
.mds-tmj-faq details { border-block-end:1px solid var(--mds-border); padding:22px 0; }
.mds-tmj-faq summary { cursor:pointer; font-size:clamp(1.1rem,2vw,1.35rem); font-weight:750; color:var(--mds-navy); padding-right:18px; }
.mds-tmj-faq details p { font-size:18px; line-height:1.75; margin:18px 0 0; }
.mds-tmj-faq summary:focus-visible { outline:3px solid var(--mds-aqua); outline-offset:5px; }
.mds-tmj-local { padding:32px; margin:40px auto 24px; max-width:960px; background:#f0f8f8; border-radius:16px; }
.mds-tmj-local h3 { font-size:1.5rem; margin-top:0; }
.mds-tmj-sources { text-align:center; }
.mds-enriched-page--tmj h2 { text-wrap:balance; }

.mds-live-review__author { display:flex; flex-direction:column; margin:0; color:var(--mds-navy); }
.mds-live-review__author span { color:#526d7a; font-size:.78rem; text-transform:uppercase; margin-top:4px; }

/* New-patient service directory: concise cards and descriptive treatment links. */
.mds-patient-service-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.mds-patient-service { padding:28px; border:1px solid var(--mds-border); border-top:4px solid var(--mds-aqua); border-radius:14px; min-width:0; background:#fff; }
.mds-patient-service h3 { margin:0 0 12px; font-size:1.35rem; line-height:1.25; color:var(--mds-navy); letter-spacing:-.02em; }
.mds-patient-service > p { margin:0 0 22px; color:#526d7a; font-size:1rem; line-height:1.65; }
.mds-patient-service ul { display:flex; flex-wrap:wrap; gap:12px 18px; list-style:none; padding:0; margin:0; }
.mds-patient-service li { margin:0; padding:0; }
.mds-patient-service a { display:inline-flex; align-items:center; gap:7px; color:var(--mds-navy); font-size:.86rem; font-weight:750; text-decoration:underline; text-underline-offset:4px; }
.mds-patient-service a svg { width:16px; height:16px; flex:0 0 16px; }
.mds-patient-service a:hover { color:#0e7883; }
.mds-patient-service a:focus-visible { outline:3px solid var(--mds-aqua); outline-offset:5px; border-radius:2px; }
@media(max-width:1000px) { .mds-patient-service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .mds-patient-service-grid { grid-template-columns:minmax(0,1fr); gap:16px; } .mds-patient-service { padding:24px; } }

.mds-live-reviews:has(> :last-child:nth-child(1)) { grid-template-columns:minmax(0,860px); justify-content:center; }
.mds-live-reviews:has(> :last-child:nth-child(2)) { grid-template-columns:repeat(2,minmax(0,1fr)); }
@media(max-width:760px) { .mds-live-reviews:has(> :last-child:nth-child(2)) { grid-template-columns:minmax(0,1fr); } }

/* Original patient selfies: native lazy thumbnails, expandable collection. */
.mds-selfies { padding: clamp(40px, 5vw, 68px) 0; background: #eef8f8; }
.mds-selfies__heading { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.mds-selfies__heading h2 { margin: 8px 0 14px; font-size: clamp(1.65rem, 3vw, 2.6rem); line-height: 1.18; }
.mds-selfies__heading > p:last-child { margin-bottom: 0; }
.mds-selfies__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.mds-selfies__tile { display: block; overflow: hidden; aspect-ratio: 1; border-radius: 10px; background: #dceced; }
.mds-selfies__tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mds-selfies__tile:hover { box-shadow: 0 0 0 3px var(--mds-aqua); }
.mds-selfies__tile:focus-visible, .mds-selfies__more summary:focus-visible { outline: 3px solid var(--mds-navy); outline-offset: 5px; }
.mds-selfies__more { margin-top: 26px; }
.mds-selfies__more summary { width: fit-content; max-width: 100%; margin-inline: auto; padding: 12px 18px; cursor: pointer; color: var(--mds-navy); font-weight: 750; border: 1px solid var(--mds-navy); border-radius: 6px; }
.mds-selfies__more[open] summary { margin-bottom: 26px; }
.mds-selfie-dialog { width: min(1100px, 94vw); max-width: 94vw; max-height: 94dvh; padding: 20px; color: #fff; background: #032f4c; border: 0; border-radius: 14px; }
.mds-selfie-dialog::backdrop { background: rgb(0 15 28 / 85%); }
.mds-selfie-dialog__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.mds-selfie-dialog__bar p { margin: 0; font-size: 1rem; color: #fff; }
.mds-selfie-dialog button { display: inline-flex; min-height: 44px; padding: 10px 18px; align-items: center; justify-content: center; color: var(--mds-navy-dark); background: #fff; border: 1px solid #fff; border-radius: 5px; font: inherit; cursor: pointer; }
.mds-selfie-dialog button:focus-visible { outline: 3px solid var(--mds-aqua); outline-offset: 3px; }
.mds-selfie-dialog > img { display: block; width: 100%; height: min(68dvh, 760px); object-fit: contain; }
.mds-selfie-dialog__nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 14px; }
html.mds-selfie-open { overflow: hidden; }
@media(max-width:1000px) { .mds-selfies__grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media(max-width:640px) { .mds-selfies__grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; } .mds-selfie-dialog { padding: 14px; } }
