:root {
}

.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: 1024px;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Practitioner profiles: clear anchors and keyboard focus. */
#wp--skip-link--target article[id] {
	scroll-margin-top: 180px;
}

#wp--skip-link--target article summary:focus-visible {
	outline: 2px solid #7c3c32;
	outline-offset: 5px;
	border-radius: 3px;
}

@media (max-width: 600px) {
	#wp--skip-link--target article[id] {
		scroll-margin-top: 290px;
	}
}

/* Solid sticky header: photos cannot show through the outer padding. */
.wp-site-blocks > .is-position-sticky {
	background: #fffdf8;
	z-index: 30;
}

.hyt-page {
	color: #173c34;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 8px 24px;
}

.hyt-page h2 {
	font-size: clamp(28px,3.3vw,44px);
	line-height: 1.2;
	margin: 12px 0 22px;
	color: #173c34;
}

.hyt-page h3 {
	font-size: clamp(22px,2.3vw,29px);
	line-height: 1.3;
	margin: 16px 0;
	color: inherit;
}

.hyt-page p {
	line-height: 1.8;
}

.hyt-page a {
	color: #173c34;
	text-underline-offset: 4px;
}

.hyt-intro {
	padding: clamp(24px,4vw,48px);
	background: #f6f2e9;
	border-radius: 18px;
	margin: 0 0 40px;
}

.hyt-eyebrow {
	font-size: 12px;
	letter-spacing: 2px;
	font-weight: 700;
	color: #7c3c32;
	margin: 0 0 16px;
}

.hyt-lead {
	max-width: 760px;
	font-size: 17px;
}

.hyt-section {
	margin: 42px 0;
}

.hyt-grid {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 24px;
	align-items: start;
}

.hyt-three {
	display: grid;
	grid-template-columns: repeat(3,minmax(0,1fr));
	gap: 20px;
}

.hyt-card {
	padding: clamp(22px,3vw,32px);
	border: 1px solid #d9cdb8;
	border-radius: 16px;
	background: #fffdf8;
	min-width: 0;
}

.hyt-service-primary {
	background: #f6f2e9;
	border-top: 4px solid #173c34;
}

.hyt-number {
	font-size: 14px;
	color: #7c3c32;
	letter-spacing: 2px;
}

.hyt-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: clamp(24px,4vw,40px);
	background: #173c34;
	color: #fffdf8;
	border-radius: 18px;
	margin: 44px 0;
}

.hyt-cta h3 {
	margin-top: 0;
}

.hyt-cta .hyt-button {
	display: inline-block;
	background: #fffdf8;
	color: #173c34;
	padding: 14px 20px;
	border-radius: 7px;
	text-decoration: none;
}

.hyt-about-photo {
	margin: 0;
	border-radius: 16px;
	overflow: hidden;
}

.hyt-about-photo img {
	display: block;
	width: 100%;
	height: auto;
}

.hyt-gallery {
	display: grid;
	grid-template-columns: repeat(3,minmax(0,1fr));
	gap: 20px;
}

.hyt-gallery figure {
	margin: 0;
	background: #f6f2e9;
	border-radius: 12px;
	overflow: hidden;
}

.hyt-gallery img {
	width: 100%;
	height: 280px;
	object-fit: contain;
	display: block;
}

.hyt-page a:focus-visible {
	outline: 2px solid #7c3c32;
	outline-offset: 5px;
}

@media(max-width:700px) {
	.hyt-grid,.hyt-three {
		grid-template-columns: 1fr;
	}
	
	.hyt-gallery {
		grid-template-columns: repeat(2,minmax(0,1fr));
		gap: 12px;
	}
	
	.hyt-gallery img {
		height: 220px;
	}
}

@media(max-width:420px) {
	.hyt-gallery {
		grid-template-columns: 1fr;
	}
	
	.hyt-gallery img {
		height: auto;
		max-height: 440px;
	}
}
/* Review anchors and compact, legible form fields. */
#google-reviews { scroll-margin-top:180px; }
@media(max-width:600px){ #google-reviews { scroll-margin-top:290px; } .wp-block-jetpack-contact-form select { width:100%; max-width:100%; font-size:14px; } }

/* Larger clinic navigation. */
.wp-block-navigation .wp-block-navigation-item__content {font-size:18px;font-weight:500;}
@media(max-width:900px){.wp-block-navigation .wp-block-navigation-item__content{font-size:17px;}}
