/*
Theme Name: EPH Firm
Author: The Law Office of Enoch P. Hicks, LLC
Description: Custom native block theme for the EPH Firm website.
Version: 0.7.0
Text Domain: eph-firm
*/

:root {
	--eph-radius-small: 4px;
	--eph-radius-medium: 6px;
	--eph-shadow-subtle: 0 1px 2px rgba(32, 32, 32, 0.08);
	--eph-site-gutter: clamp(1rem, 3vw, 2rem);
	--eph-section-space: clamp(2.75rem, 6vw, 6rem);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
}

img {
	height: auto;
	max-width: 100%;
}

a {
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
	text-decoration-thickness: 0.12em;
}

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--wp--preset--color--focus, #996600);
	outline-offset: 3px;
}

:where(
	.wp-element-button,
	button,
	input[type="button"],
	input[type="reset"],
	input[type="submit"],
	select
) {
	min-height: 44px;
}

.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.wp-site-blocks > main {
	flex: 1 0 auto;
}

.eph-sr-only,
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.eph-sr-only:focus,
.screen-reader-text:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	overflow: visible;
	width: auto;
}

.eph-skip-link,
.skip-link.screen-reader-text,
#wp-skip-link {
	background: var(--wp--preset--color--charcoal, #202020);
	border: 2px solid var(--wp--preset--color--brand-gold, #cc8800);
	border-radius: var(--eph-radius-small);
	color: var(--wp--preset--color--white, #ffffff);
	font-weight: 700;
	left: 1rem;
	padding: 0.75rem 1rem;
	position: fixed;
	text-decoration: none;
	top: 1rem;
	transform: translateY(-200%);
	transition: transform 120ms ease;
	z-index: 100000;
}

.eph-skip-link:focus,
.skip-link.screen-reader-text:focus,
#wp-skip-link:focus {
	color: var(--wp--preset--color--white, #ffffff);
	left: 1rem;
	margin: 0;
	position: fixed;
	top: 1rem;
	transform: translateY(0);
}

/* Header and primary navigation. */
.eph-site-header {
	background: var(--wp--preset--color--white, #ffffff);
	border-bottom: 1px solid var(--wp--preset--color--border-neutral, #d9d6d0);
	padding-inline: 0;
	position: relative;
	z-index: 20;
}

.eph-site-header__inner {
	gap: 1.5rem;
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size, 75rem);
	min-height: 7rem;
	padding: 1rem var(--eph-site-gutter);
	width: 100%;
}

.eph-brand-link {
	aspect-ratio: 407.0007227094 / 51.1368468386;
	background-image: url("assets/images/EPH-Logo-Horizontal-Full-Color-Transparent-Tight.svg");
	background-position: left center;
	background-repeat: no-repeat;
	background-size: contain;
	display: block;
	flex: 0 0 auto;
	height: auto;
	max-width: 100%;
	text-decoration: none;
	width: 26.25rem;
}

.eph-brand-link:hover {
	opacity: 0.92;
}

.eph-primary-navigation {
	margin-left: auto;
}

.eph-primary-navigation .wp-block-navigation__container {
	column-gap: 0.25rem;
	row-gap: 0.25rem;
}

.eph-primary-navigation .wp-block-navigation-item__content {
	align-items: center;
	border-radius: var(--eph-radius-small);
	color: var(--wp--preset--color--charcoal, #202020);
	display: flex;
	min-height: 44px;
	padding: 0.625rem 0.75rem;
	text-decoration: none;
}

.eph-primary-navigation .wp-block-navigation-item__content:hover,
.eph-primary-navigation .wp-block-navigation-item__content:focus-visible {
	background: var(--wp--preset--color--off-white, #f7f5f1);
	color: var(--wp--preset--color--charcoal, #202020);
	text-decoration: underline;
}

.eph-primary-navigation .wp-block-navigation__submenu-container {
	background: var(--wp--preset--color--white, #ffffff);
	border: 1px solid var(--wp--preset--color--border-neutral, #d9d6d0);
	border-radius: var(--eph-radius-small);
	box-shadow: var(--eph-shadow-subtle);
	min-width: 18rem;
	padding: 0.5rem;
}

.eph-primary-navigation
	.wp-block-navigation-submenu.open-on-click {
	position: relative;
}

.eph-primary-navigation
	.wp-block-navigation-submenu.open-on-click
	> .wp-block-navigation-item__content.wp-block-navigation-submenu__toggle {
	appearance: none;
	background: transparent;
	border: 0;
	cursor: pointer;
	font: inherit;
	gap: 0.5rem;
	padding: 0.625rem 0.75rem;
	text-align: left;
}

.eph-primary-navigation
	.wp-block-navigation-submenu.open-on-click
	> .wp-block-navigation-submenu__toggle:hover,
.eph-primary-navigation
	.wp-block-navigation-submenu.open-on-click
	> .wp-block-navigation-submenu__toggle:focus-visible,
.eph-primary-navigation
	.wp-block-navigation-submenu.open-on-click
	> .wp-block-navigation-submenu__toggle[aria-expanded="true"] {
	background: var(--wp--preset--color--off-white, #f7f5f1);
	color: var(--wp--preset--color--charcoal, #202020);
	text-decoration: underline;
}

.eph-primary-navigation
	.wp-block-navigation-submenu.open-on-click
	> .wp-block-navigation__submenu-icon {
	display: none;
}

.eph-primary-navigation
	.wp-block-navigation-submenu.open-on-click
	> .wp-block-navigation-submenu__toggle::after {
	border-bottom: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	content: "";
	display: block;
	flex: 0 0 auto;
	height: 0.5rem;
	transform: rotate(45deg) translateY(-0.125rem);
	transform-origin: center;
	width: 0.5rem;
}

.eph-primary-navigation
	.wp-block-navigation-submenu.open-on-click
	> .wp-block-navigation-submenu__toggle[aria-expanded="true"]::after {
	transform: rotate(225deg) translate(-0.125rem, -0.125rem);
}

.eph-primary-navigation .eph-nav-cta {
	flex-shrink: 0;
}

.eph-primary-navigation .eph-nav-cta > .wp-block-navigation-item__content {
	background: var(--wp--preset--color--brand-gold, #cc8800);
	border: 2px solid var(--wp--preset--color--brand-gold, #cc8800);
	border-radius: var(--eph-radius-medium);
	color: var(--wp--preset--color--charcoal, #202020);
	font-weight: 750;
	padding-inline: 1rem;
}

.eph-primary-navigation .eph-nav-cta > .wp-block-navigation-item__content:hover,
.eph-primary-navigation .eph-nav-cta > .wp-block-navigation-item__content:focus-visible {
	background: var(--wp--preset--color--accessible-dark-gold, #996600);
	border-color: var(--wp--preset--color--accessible-dark-gold, #996600);
	color: var(--wp--preset--color--white, #ffffff);
}

.eph-primary-navigation .wp-block-navigation__responsive-container-open,
.eph-primary-navigation .wp-block-navigation__responsive-container-close {
	align-items: center;
	border-radius: var(--eph-radius-small);
	display: none;
	height: 44px;
	justify-content: center;
	min-width: 44px;
	padding: 0.5rem;
}

.eph-primary-navigation .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--white, #ffffff);
	color: var(--wp--preset--color--charcoal, #202020);
	padding: 1.5rem var(--eph-site-gutter);
}

.eph-primary-navigation
	.wp-block-navigation__responsive-container.is-menu-open
	.wp-block-navigation__responsive-container-content {
	align-items: stretch;
	gap: 1rem;
	padding-top: 3.5rem;
}

.eph-primary-navigation
	.wp-block-navigation__responsive-container.is-menu-open
	.wp-block-navigation__container {
	align-items: stretch;
	gap: 0.5rem;
	width: 100%;
}

.eph-primary-navigation
	.wp-block-navigation__responsive-container.is-menu-open
	.wp-block-navigation-item {
	align-items: stretch;
	width: 100%;
}

.eph-primary-navigation
	.wp-block-navigation__responsive-container.is-menu-open
	.wp-block-navigation-item__content {
	justify-content: flex-start;
	width: 100%;
}

.eph-primary-navigation
	.wp-block-navigation__responsive-container.is-menu-open
	.wp-block-navigation__submenu-container {
	border: 0;
	box-shadow: none;
	margin: 0;
	padding: 0.5rem 0 0.5rem 1rem;
	width: 100%;
}

/* Main layout and reusable section primitives. */
.eph-main {
	padding-block: var(--eph-section-space);
}

.eph-main--front {
	padding-block: 0;
}

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

.eph-section--constrained {
	margin-inline: auto;
	max-width: var(--wp--style--global--content-size, 48rem);
}

.eph-section--wide {
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size, 75rem);
}

.eph-section-heading {
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
	max-width: 48rem;
}

.eph-eyebrow {
	color: var(--wp--preset--color--accessible-dark-gold, #996600);
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
}

.eph-card-grid {
	display: grid;
	gap: clamp(1rem, 3vw, 2rem);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eph-card {
	background: var(--wp--preset--color--surface, #ffffff);
	border: 1px solid var(--wp--preset--color--border-neutral, #d9d6d0);
	border-radius: var(--eph-radius-medium);
	box-shadow: var(--eph-shadow-subtle);
	height: 100%;
	padding: clamp(1.25rem, 3vw, 2rem);
}

.eph-notice {
	background: var(--wp--preset--color--off-white, #f7f5f1);
	border-left: 4px solid var(--wp--preset--color--brand-gold, #cc8800);
	border-radius: var(--eph-radius-small);
	padding: 1.25rem 1.5rem;
}

.eph-disclaimer {
	color: var(--wp--preset--color--primary-text, #4a4a4a);
	font-size: 0.9375rem;
	line-height: 1.65;
}

.eph-cta-band {
	background: var(--wp--preset--color--charcoal, #202020);
	color: var(--wp--preset--color--white, #ffffff);
	padding-block: clamp(2rem, 5vw, 4rem);
}

.eph-cta-band :where(h2, h3, p) {
	color: inherit;
}

.eph-responsive-image,
.eph-responsive-image img,
.wp-block-image.is-style-eph-responsive img {
	display: block;
	height: auto;
	max-width: 100%;
	width: 100%;
}

.eph-logo-mark {
	background-image: url("assets/images/EPH-Logo-Mark-Gold-Transparent.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	display: inline-block;
	height: 5rem;
	width: 6.625rem;
}

/* Buttons, links, and form foundations. */
.wp-element-button,
.wp-block-button__link {
	align-items: center;
	display: inline-flex;
	justify-content: center;
	min-height: 44px;
	transition:
		background-color 120ms ease,
		border-color 120ms ease,
		color 120ms ease;
}

.wp-element-button:hover,
.wp-block-button__link:hover {
	background: var(--wp--preset--color--accessible-dark-gold, #996600);
	border-color: var(--wp--preset--color--accessible-dark-gold, #996600);
	color: var(--wp--preset--color--white, #ffffff);
}

.wp-element-button:active,
.wp-block-button__link:active {
	background: var(--wp--preset--color--charcoal, #202020);
	border-color: var(--wp--preset--color--charcoal, #202020);
	color: var(--wp--preset--color--white, #ffffff);
}

.wp-block-button.is-style-eph-secondary .wp-block-button__link {
	background: transparent;
	border-color: var(--wp--preset--color--charcoal, #202020);
	color: var(--wp--preset--color--charcoal, #202020);
}

.wp-block-button.is-style-eph-secondary .wp-block-button__link:hover,
.wp-block-button.is-style-eph-secondary .wp-block-button__link:focus-visible {
	background: var(--wp--preset--color--off-white, #f7f5f1);
	border-color: var(--wp--preset--color--charcoal, #202020);
	color: var(--wp--preset--color--charcoal, #202020);
}

.wp-block-button.is-style-eph-dark .wp-block-button__link {
	background: var(--wp--preset--color--white, #ffffff);
	border-color: var(--wp--preset--color--white, #ffffff);
	color: var(--wp--preset--color--charcoal, #202020);
}

.wp-block-button.is-style-eph-dark .wp-block-button__link:hover,
.wp-block-button.is-style-eph-dark .wp-block-button__link:focus-visible {
	background: var(--wp--preset--color--brand-gold, #cc8800);
	border-color: var(--wp--preset--color--brand-gold, #cc8800);
	color: var(--wp--preset--color--charcoal, #202020);
}

:where(input:not([type="button"], [type="reset"], [type="submit"]), select, textarea) {
	background: var(--wp--preset--color--white, #ffffff);
	border: 1px solid var(--wp--preset--color--border-neutral, #d9d6d0);
	border-radius: var(--eph-radius-small);
	color: var(--wp--preset--color--charcoal, #202020);
	font: inherit;
	line-height: 1.4;
	padding: 0.75rem;
	width: 100%;
}

:where(input:not([type="button"], [type="reset"], [type="submit"]), select, textarea):hover {
	border-color: var(--wp--preset--color--primary-text, #4a4a4a);
}

textarea {
	min-height: 8rem;
	resize: vertical;
}

label {
	color: var(--wp--preset--color--charcoal, #202020);
	display: inline-block;
	font-weight: 700;
	margin-bottom: 0.375rem;
}

.eph-form-field {
	margin-bottom: 1.25rem;
}

.eph-form-help {
	display: block;
	font-size: 0.875rem;
	margin-top: 0.375rem;
}

/* Footer. */
.eph-site-footer {
	background: var(--wp--preset--color--charcoal, #202020);
	color: var(--wp--preset--color--white, #ffffff);
	margin-top: auto;
	padding-inline: 0;
	padding-block: 1.5rem 0.875rem;
}

.eph-site-footer :where(h2, h3, h4, p) {
	color: inherit;
}

.eph-site-footer a,
.eph-site-footer a:visited {
	color: var(--wp--preset--color--white, #ffffff);
	text-decoration: none;
	transition: color 120ms ease;
}

.eph-site-footer a:hover {
	color: var(--wp--preset--color--brand-gold, #cc8800);
	text-decoration: none;
}

.eph-site-footer a:focus-visible {
	color: var(--wp--preset--color--brand-gold, #cc8800);
	text-decoration: none;
}

.eph-site-footer__inner {
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size, 75rem);
	padding-inline: var(--eph-site-gutter);
}

.eph-footer-grid {
	column-gap: clamp(1.25rem, 3.3vw, 2.5rem);
	display: grid;
	grid-template-columns:
		minmax(20rem, 1.35fr)
		minmax(9.5rem, 0.8fr)
		minmax(11.5rem, 0.95fr)
		minmax(9.5rem, 0.75fr);
	row-gap: 1rem;
}

.eph-footer-grid > .wp-block-group {
	min-width: 0;
}

.eph-footer-contact > p {
	line-height: 1.45;
	margin: 0;
}

.eph-footer-contact > p + p {
	margin-top: 0.5rem;
}

.eph-footer-firm-name {
	font-size: clamp(0.875rem, 4.4vw, 1rem);
	line-height: 1.35 !important;
	white-space: nowrap;
}

.eph-footer-address-link {
	display: inline-block;
	min-height: 44px;
}

.eph-footer-heading {
	color: var(--wp--preset--color--brand-gold, #cc8800) !important;
	font-family: var(--wp--preset--font-family--system-sans);
	font-size: 0.875rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.eph-footer-heading + .eph-footer-navigation {
	margin-top: 0.5rem;
}

.eph-footer-navigation .wp-block-navigation__container {
	gap: 0;
}

.eph-footer-navigation .wp-block-navigation__container {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	width: 100%;
}

.eph-footer-navigation .wp-block-navigation-item {
	min-width: 0;
	width: 100%;
}

.eph-footer-navigation .wp-block-navigation-item__content {
	align-items: center;
	color: var(--wp--preset--color--white, #ffffff);
	display: flex;
	min-height: 44px;
	padding-block: 0.2rem;
	text-decoration: none;
	transition: color 120ms ease;
}

.eph-footer-navigation .wp-block-navigation-item__content:hover,
.eph-footer-navigation .wp-block-navigation-item__content:focus-visible {
	color: var(--wp--preset--color--brand-gold, #cc8800);
	text-decoration: none;
}

.eph-footer-disclaimer {
	border-top: 1px solid rgba(255, 255, 255, 0.28);
	font-size: 0.875rem;
	line-height: 1.65;
	margin-top: 1.5rem;
	padding-top: 1rem;
}

.eph-footer-meta {
	align-items: center;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.8125rem;
	gap: 0.35rem;
	margin-top: 1rem;
	padding-top: 0.75rem;
}

.eph-footer-meta > * {
	margin: 0;
}

.eph-footer-meta .wp-block-shortcode {
	display: inline;
}

/* Nonpublic design-system review pattern. */
.eph-design-review {
	background: var(--wp--preset--color--white, #ffffff);
}

.eph-token-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eph-token-swatch {
	border: 1px solid var(--wp--preset--color--border-neutral, #d9d6d0);
	border-radius: var(--eph-radius-small);
	min-height: 7rem;
	padding: 1rem;
}

.eph-token-swatch.has-charcoal-background-color,
.eph-token-swatch.has-accessible-dark-gold-background-color {
	color: var(--wp--preset--color--white, #ffffff);
}

.eph-logo-review-light,
.eph-logo-review-dark {
	align-items: center;
	border: 1px solid var(--wp--preset--color--border-neutral, #d9d6d0);
	border-radius: var(--eph-radius-small);
	display: flex;
	justify-content: center;
	min-height: 12rem;
	padding: 2rem;
}

.eph-logo-review-light::before,
.eph-logo-review-dark::before {
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	content: "";
	display: block;
	height: 6rem;
	max-width: 100%;
	width: 18rem;
}

.eph-logo-review-light {
	background: var(--wp--preset--color--white, #ffffff);
}

.eph-logo-review-light::before {
	background-image: url("assets/images/EPH-Logo-Horizontal-Full-Color-Transparent-Tight.svg");
}

.eph-logo-review-dark {
	background: var(--wp--preset--color--charcoal, #202020);
}

.eph-logo-review-dark::before {
	background-image: url("assets/images/EPH-Logo-Horizontal-Reversed-Transparent-Tight.svg");
}

/* Source-controlled Home and Attorney Biography page presentation. */
.eph-main--biography {
	padding-block: 0;
}

.eph-page-section {
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
	padding-inline: var(--eph-site-gutter);
}

.eph-page-section > :where(.alignwide, .eph-section--wide),
.eph-page-final-cta > :where(.alignwide, .eph-section--constrained) {
	width: 100%;
}

.eph-section--off-white {
	background: var(--wp--preset--color--off-white, #f7f5f1);
}

.eph-section--charcoal {
	background: var(--wp--preset--color--charcoal, #202020);
	color: var(--wp--preset--color--white, #ffffff);
}

.eph-section--charcoal :where(h2, h3, h4, p, cite) {
	color: inherit;
}

.eph-page-lead {
	font-size: clamp(1.125rem, 1.8vw, 1.375rem);
	line-height: 1.55;
}

.eph-page-kicker {
	color: var(--wp--preset--color--accessible-dark-gold, #996600);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.025em;
}

.eph-emphasis-line {
	color: var(--wp--preset--color--charcoal, #202020);
	font-size: 1.125rem;
}

.eph-button-group {
	margin-top: clamp(1.25rem, 3vw, 2rem);
}

.eph-page-final-cta {
	padding-inline: var(--eph-site-gutter);
	text-align: center;
}

.eph-page-final-cta .wp-block-buttons {
	justify-content: center;
}

.eph-page-final-cta .eph-cta-band__phone {
	margin-bottom: 0;
}

.eph-page-final-cta .eph-cta-band__phone a {
	align-items: center;
	color: inherit;
	display: inline-flex;
	font-weight: 700;
	min-height: 44px;
	padding-block: 0.625rem;
}

.eph-home-hero {
	background: var(--wp--preset--color--charcoal, #202020);
	padding-block: clamp(1rem, 2.5vw, 2rem);
}

.eph-home-hero__stage {
	background: #07090d;
	border-radius: var(--eph-radius-medium);
	display: grid;
	overflow: hidden;
	position: relative;
}

.eph-home-hero__media {
	grid-area: 1 / 1;
	margin: 0;
}

.eph-home-hero__media img {
	aspect-ratio: 16 / 9;
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center 45%;
	width: 100%;
}

.eph-home-hero__content {
	align-self: center;
	color: var(--wp--preset--color--white, #ffffff);
	grid-area: 1 / 1;
	margin: clamp(1.5rem, 5vw, 4rem);
	max-width: min(34rem, 44%);
	padding: clamp(1.25rem, 3vw, 2.5rem);
	position: relative;
	z-index: 1;
}

.eph-home-hero__content::before {
	background: rgba(7, 9, 13, 0.78);
	border-left: 4px solid var(--wp--preset--color--brand-gold, #cc8800);
	border-radius: var(--eph-radius-small);
	content: "";
	inset: 0;
	position: absolute;
	z-index: -1;
}

.eph-home-hero__content :where(h1, p) {
	color: inherit;
}

.eph-home-hero__content h1 {
	font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.eph-practice-grid,
.eph-review-grid,
.eph-steps-grid,
.eph-attorney-intro__columns,
.eph-bio-hero__columns,
.eph-bio-education__grid,
.eph-bio-credentials__grid {
	gap: clamp(1.25rem, 3vw, 2.5rem);
}

.eph-practice-group-label {
	margin-top: clamp(2rem, 4vw, 3.5rem);
}

.eph-practice-card,
.eph-step-card,
.eph-bio-practice__card {
	display: flex;
	flex-direction: column;
}

.eph-practice-card h3,
.eph-practice-card .wp-block-buttons,
.eph-step-card h3 {
	justify-content: center;
	text-align: center;
}

.eph-practice-card p + p {
	margin-block-start: 0.75rem;
}

.eph-practice-card .wp-block-buttons,
.eph-bio-practice__card > p:last-child {
	margin-top: auto;
	padding-top: 1rem;
}

.eph-experience-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.eph-experience-grid .eph-card h3 {
	font-size: 1.25rem;
	line-height: 1.25;
	min-height: 3.25rem;
}

.eph-steps-grid .wp-block-column {
	align-self: stretch;
	display: flex;
}

.eph-step-card {
	height: 100%;
	padding: clamp(1.25rem, 2vw, 1.5rem);
}

.eph-step-card h3 {
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	line-height: 1.25;
	margin-bottom: 0;
	min-height: 3.75rem;
}

.eph-step-card > h3 + p {
	margin-block-start: 0.5rem;
}

.eph-home-getting-started {
	padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.eph-attorney-intro__media,
.eph-bio-hero__media {
	margin: 0;
}

.eph-attorney-intro__media img,
.eph-bio-hero__media img {
	border-radius: var(--eph-radius-medium);
	box-shadow: var(--eph-shadow-subtle);
	display: block;
	width: 100%;
}

.eph-review-card {
	background: var(--wp--preset--color--white, #ffffff);
	border: 0;
	border-radius: var(--eph-radius-medium);
	color: var(--wp--preset--color--charcoal, #202020);
	height: 100%;
	margin: 0;
	padding: clamp(1.25rem, 3vw, 2rem);
}

.eph-review-card :where(p, cite) {
	color: inherit;
}

.eph-review-card cite {
	display: block;
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 700;
	margin-top: 1rem;
}

.eph-review-disclaimer {
	color: var(--wp--preset--color--white, #ffffff);
	margin-top: 1.5rem;
	max-width: 60rem;
}

.eph-bio-hero {
	background: var(--wp--preset--color--off-white, #f7f5f1);
}

.eph-bio-narrative,
.eph-bio-credentials__inner {
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size, 75rem);
}

.eph-bio-narrative > h2,
.eph-bio-credentials__inner > h2 {
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.eph-bio-narrative__section {
	margin-left: 0;
	max-width: 54rem;
}

.eph-bio-narrative__section + .eph-bio-narrative__section {
	border-top: 1px solid var(--wp--preset--color--border-neutral, #d9d6d0);
	margin-top: clamp(2rem, 4vw, 3rem);
	padding-top: clamp(2rem, 4vw, 3rem);
}

.eph-bio-narrative__section h3 {
	font-size: clamp(1.5rem, 2.7vw, 2.125rem);
}

.eph-bio-practice__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eph-bio-practice {
	padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.eph-bio-practice__card {
	min-height: 0;
	padding: clamp(1.25rem, 2vw, 1.5rem);
}

.eph-bio-practice__card h3 {
	margin-bottom: 0;
	text-align: center;
}

.eph-bio-practice__card > h3 + p {
	margin-block-start: 0.75rem;
}

.eph-bio-practice__card > p > a {
	align-items: center;
	display: inline-flex;
	min-height: 44px;
	padding-block: 0.625rem;
}

.eph-bio-credentials {
	background: var(--wp--preset--color--surface, #ffffff);
}

.eph-bio-credentials__section {
	border-top: 1px solid var(--wp--preset--color--border-neutral, #d9d6d0);
	padding-top: clamp(1.5rem, 3vw, 2.25rem);
}

.eph-bio-credentials__section + .eph-bio-credentials__section,
.eph-bio-credentials__columns {
	margin-top: clamp(2rem, 4vw, 3rem);
}

.eph-bio-credentials__columns {
	align-items: flex-start !important;
	gap: clamp(2rem, 5vw, 4rem);
}

.eph-bio-credentials__columns > .wp-block-column {
	min-width: 0;
}

.eph-bio-credentials__section h4:not(:first-child) {
	margin-top: 2rem;
}

@media (min-width: 48.0625rem) {
	.eph-bio-credentials__columns > .wp-block-column:first-child {
		flex-basis: 46%;
	}

	.eph-bio-credentials__columns > .wp-block-column:last-child {
		flex-basis: 54%;
	}
}

.eph-super-lawyers-badge-shell {
	margin-left: 0;
	margin-top: 1rem;
	max-width: 180px;
	min-height: 150px;
}

.eph-credential-list {
	padding-left: 1.25rem;
}

.eph-credential-list li + li {
	margin-top: 0.5rem;
}

/* Shared source-controlled service-page presentation. */
.eph-main--service {
	padding-block: 0;
}

.eph-service-hero {
	background: var(--wp--preset--color--charcoal, #202020);
	color: var(--wp--preset--color--white, #ffffff);
	overflow: hidden;
	padding-block: clamp(3.5rem, 7vw, 5.75rem);
}

.eph-service-hero__inner {
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size, 75rem);
	position: relative;
	width: 100%;
}

.eph-service-hero__inner::after {
	background: url("assets/images/EPH-Logo-Mark-Gold-Transparent.svg") center / contain no-repeat;
	content: "";
	height: clamp(12rem, 24vw, 20rem);
	opacity: 0.12;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: clamp(10rem, 20vw, 16.5rem);
}

.eph-service-hero__inner > * {
	margin-left: 0;
	max-width: 48rem;
	position: relative;
	z-index: 1;
}

.eph-service-hero :where(h1, p) {
	color: inherit;
}

.eph-service-hero h1 {
	font-size: clamp(2.75rem, 6vw, 5rem);
}

.eph-service-hero--dui .eph-service-hero__inner::after {
	content: none;
}

.eph-service-hero__columns {
	align-items: center !important;
	gap: clamp(2rem, 5vw, 4rem);
}

.eph-service-hero__copy {
	min-width: 0;
}

.eph-service-hero__media {
	margin: 0;
}

.eph-service-hero__media figure,
.eph-service-hero__media img {
	margin: 0;
	width: 100%;
}

.eph-service-hero__media img {
	border-radius: var(--eph-radius-medium);
	display: block;
	height: auto;
}

.eph-service-hero__subheading {
	color: var(--wp--preset--color--brand-gold, #cc8800) !important;
	font-size: clamp(1.25rem, 2.2vw, 1.625rem);
	font-weight: 700;
	line-height: 1.4;
}

.eph-service-approach,
.eph-service-relationship,
.eph-service-matters,
.eph-service-narrative {
	padding-block: clamp(3rem, 6vw, 5rem);
}

.eph-service-reading {
	margin-inline: auto;
}

.eph-service-reading > :where(p, ul) {
	max-width: 46rem;
}

.eph-service-group-grid {
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eph-service-group-grid--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eph-service-group {
	border-top: 3px solid var(--wp--preset--color--brand-gold, #cc8800);
	padding-top: 1rem;
}

.eph-service-group h3 {
	font-size: clamp(1.25rem, 2vw, 1.55rem);
	line-height: 1.25;
	min-height: 3.9rem;
}

.eph-service-list {
	margin-bottom: 0;
	padding-left: 1.25rem;
}

.eph-service-list li + li {
	margin-top: 0.45rem;
}

.eph-service-list--columns {
	column-count: 2;
	column-gap: clamp(2rem, 5vw, 4rem);
}

.eph-service-list--columns li {
	break-inside: avoid;
	padding-right: 1rem;
}

.eph-related-service-grid {
	display: grid;
	gap: clamp(1rem, 2.5vw, 1.75rem);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: clamp(2.5rem, 5vw, 4rem);
}

.eph-related-service {
	background: var(--wp--preset--color--surface, #ffffff);
	border-left: 4px solid var(--wp--preset--color--brand-gold, #cc8800);
	border-radius: var(--eph-radius-small);
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.eph-related-service h3 {
	font-size: clamp(1.3rem, 2vw, 1.625rem);
}

.eph-related-service--inactive {
	border-left-color: var(--wp--preset--color--border-neutral, #d9d6d0);
}

.eph-related-service__link {
	margin-bottom: 0;
	margin-top: auto;
}

.eph-related-service__link a {
	align-items: center;
	display: inline-flex;
	font-weight: 700;
	min-height: 44px;
	padding-block: 0.5rem;
}

.eph-service-narrative__section + .eph-service-narrative__section {
	border-top: 1px solid var(--wp--preset--color--border-neutral, #d9d6d0);
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding-top: clamp(2.5rem, 5vw, 4rem);
}

.eph-service-narrative__section h2 {
	font-size: clamp(2rem, 4vw, 3rem);
}

.eph-service-detail-columns {
	align-items: flex-start !important;
	gap: clamp(2rem, 5vw, 4rem);
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.eph-service-license__notice {
	background: var(--wp--preset--color--surface, #ffffff);
	font-size: 1.0625rem;
	font-weight: 700;
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
	max-width: 56rem;
}

.eph-service-license__notice p {
	margin: 0;
}

.eph-service-evidence-grid {
	display: grid;
	gap: clamp(1.75rem, 4vw, 3rem);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: clamp(2rem, 4vw, 3.5rem);
}

.eph-service-evidence-item {
	border-top: 3px solid var(--wp--preset--color--brand-gold, #cc8800);
	padding-top: 1rem;
}

.eph-service-evidence-item h3 {
	font-size: clamp(1.4rem, 2.3vw, 1.75rem);
}

.eph-service-caution {
	border-left: 3px solid var(--wp--preset--color--brand-gold, #cc8800);
	font-size: 0.9375rem;
	font-weight: 600;
	margin-top: 1.5rem;
	padding-left: 1rem;
}

.eph-service-matters__closing {
	font-weight: 600;
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
	max-width: 54rem;
}

.eph-service-supporting .eph-related-service {
	background: var(--wp--preset--color--surface, #ffffff);
}

.eph-service-supporting .eph-related-service h2 {
	font-size: clamp(1.75rem, 3vw, 2.375rem);
}

/* Restrained, reusable treatment for source-controlled policy pages. */
.eph-policy-hero {
	background: var(--wp--preset--color--off-white, #f7f5f1);
	border-bottom: 1px solid var(--wp--preset--color--border-neutral, #d9d6d0);
	padding: clamp(2.75rem, 5vw, 4.5rem) var(--eph-site-gutter);
}

.eph-policy-hero__inner,
.eph-policy-document {
	margin-inline: auto;
	max-width: 52rem;
	width: 100%;
}

.eph-policy-hero h1 {
	font-size: clamp(2.5rem, 5vw, 4.25rem);
	margin-bottom: 1rem;
}

.eph-policy-hero p {
	font-size: 1.0625rem;
	line-height: 1.7;
}

.eph-policy-content {
	padding: clamp(2.75rem, 5vw, 4.75rem) var(--eph-site-gutter);
}

.eph-policy-document > h2 {
	border-top: 1px solid var(--wp--preset--color--border-neutral, #d9d6d0);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding-top: clamp(1.5rem, 3vw, 2.25rem);
}

.eph-policy-document > h2:first-child {
	border-top: 0;
	margin-top: 0;
	padding-top: 0;
}

.eph-policy-document > h3 {
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	margin-top: 2rem;
}

.eph-policy-document > :where(p, ul, ol) {
	line-height: 1.7;
}

.eph-policy-document > :where(p, ul, ol) + :where(p, ul, ol) {
	margin-top: 1rem;
}

.eph-policy-list {
	padding-left: 1.4rem;
}

.eph-policy-list li + li {
	margin-top: 0.4rem;
}

/* Compact source-controlled 404 and 410 presentations. */
.eph-main--error {
	padding: clamp(3rem, 7vw, 6rem) var(--eph-site-gutter);
}

.eph-error-panel {
	margin-inline: auto;
	max-width: 52rem;
	width: 100%;
}

.eph-error-panel h1 {
	font-size: clamp(2.75rem, 6vw, 4.75rem);
	margin-bottom: 1rem;
}

.eph-error-panel h2 {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	margin-top: clamp(2rem, 4vw, 3rem);
}

.eph-error-links {
	display: grid;
	gap: 0.25rem clamp(1rem, 4vw, 2.5rem);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
}

.eph-error-links li {
	margin: 0;
}

.eph-error-links a {
	align-items: center;
	display: flex;
	font-weight: 650;
	min-height: 44px;
	padding-block: 0.375rem;
}

/* Contact and scheduling action pages. */
.eph-action-hero {
	background: var(--wp--preset--color--charcoal, #202020);
	color: var(--wp--preset--color--white, #ffffff);
	overflow: hidden;
	padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.eph-action-hero__inner {
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size, 75rem);
	position: relative;
	width: 100%;
}

.eph-action-hero__inner::after {
	background: url("assets/images/EPH-Logo-Mark-Gold-Transparent.svg") center / contain no-repeat;
	content: "";
	height: clamp(12rem, 24vw, 20rem);
	opacity: 0.12;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: clamp(10rem, 20vw, 16.5rem);
}

.eph-action-hero__inner > * {
	margin-left: 0;
	max-width: 52rem;
	position: relative;
	z-index: 1;
}

.eph-action-hero :where(h1, p) {
	color: inherit;
}

.eph-action-hero h1 {
	font-size: clamp(2.75rem, 6vw, 5rem);
}

.eph-action-hero__subheading {
	color: var(--wp--preset--color--brand-gold, #cc8800) !important;
	font-size: clamp(1.25rem, 2.2vw, 1.625rem);
	font-weight: 700;
	line-height: 1.4;
}

.eph-contact-main,
.eph-appointment-options {
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.eph-contact-layout {
	align-items: flex-start !important;
	gap: clamp(2rem, 5vw, 5rem);
}

.eph-contact-details {
	background: var(--wp--preset--color--charcoal, #202020);
	border-radius: var(--eph-radius-medium);
	color: var(--wp--preset--color--white, #ffffff);
	padding: clamp(1.5rem, 3vw, 2.25rem);
}

.eph-contact-details :where(h2, p) {
	color: inherit;
}

.eph-contact-details h2 {
	font-size: clamp(1.125rem, 1.7vw, 1.35rem);
	line-height: 1.35;
	margin-bottom: 1.25rem;
}

.eph-contact-details p,
.eph-contact-details a {
	font-size: 1rem;
	line-height: 1.55;
}

.eph-contact-details a,
.eph-contact-details a:visited {
	color: var(--wp--preset--color--white, #ffffff);
	text-decoration: none;
}

.eph-contact-details a:hover {
	color: var(--wp--preset--color--brand-gold, #cc8800);
}

.eph-contact-details__note {
	border-top: 1px solid rgba(255, 255, 255, 0.28);
	margin-top: 1.5rem;
	padding-top: 1.25rem;
}

.eph-contact-form-column {
	min-width: 0;
}

.eph-contact-form-shell {
	margin-top: 1.25rem;
}

.eph-contact-form {
	background: var(--wp--preset--color--surface, #ffffff);
	border: 1px solid var(--wp--preset--color--border-neutral, #d9d6d0);
	border-radius: var(--eph-radius-medium);
	box-shadow: var(--eph-shadow-subtle);
	padding: clamp(1.25rem, 3vw, 2rem);
}

.eph-contact-form fieldset {
	border: 0;
	margin-inline: 0;
	min-width: 0;
	padding: 0;
}

.eph-contact-form legend,
.eph-contact-form label {
	color: var(--wp--preset--color--charcoal, #202020);
	font-weight: 700;
}

.eph-contact-form legend {
	margin-bottom: 0.625rem;
}

.eph-contact-form input[type="radio"],
.eph-contact-form input[type="checkbox"] {
	accent-color: var(--wp--preset--color--accessible-dark-gold, #996600);
	flex: 0 0 auto;
	height: 1.125rem;
	margin: 0.125rem 0 0;
	width: 1.125rem;
}

.eph-form-grid,
.eph-form-choice-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eph-form-choice-grid--representation {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eph-form-choice {
	align-items: flex-start;
	border: 1px solid var(--wp--preset--color--border-neutral, #d9d6d0);
	border-radius: var(--eph-radius-small);
	cursor: pointer;
	display: flex;
	gap: 0.625rem;
	margin: 0;
	min-height: 44px;
	padding: 0.75rem;
}

.eph-form-choice:has(input:checked) {
	background: var(--wp--preset--color--off-white, #f7f5f1);
	border-color: var(--wp--preset--color--accessible-dark-gold, #996600);
}

.eph-form-help {
	color: var(--wp--preset--color--muted-text, #66625d);
	font-size: 0.875rem;
	font-weight: 400;
}

.eph-form-help {
	line-height: 1.55;
	margin-bottom: 0.625rem;
	margin-top: 0;
}

.eph-form-required {
	color: #8a1f11;
	font-size: 1em;
	font-weight: 800;
}

.eph-form-required-note {
	color: var(--wp--preset--color--muted-text, #66625d);
	font-size: 0.875rem;
	margin-bottom: 1.25rem;
	margin-top: 0;
}

.eph-form-conditional-field[hidden] {
	display: none !important;
}

.eph-form-checkbox label {
	align-items: flex-start;
	display: flex;
	gap: 0.75rem;
	line-height: 1.55;
	margin: 0;
}

.eph-field-error {
	color: #8a1f11;
	font-size: 0.875rem;
	font-weight: 700;
	margin-bottom: 0;
	margin-top: 0.375rem;
	min-height: 1.25rem;
}

.eph-contact-form :where(input, select, textarea)[aria-invalid="true"] {
	border-color: #8a1f11;
	box-shadow: 0 0 0 1px #8a1f11;
}

.eph-form-status,
.eph-form-summary {
	border-left: 4px solid var(--wp--preset--color--accessible-dark-gold, #996600);
	border-radius: var(--eph-radius-small);
	margin-bottom: 1rem;
	padding: 1rem 1.25rem;
}

.eph-form-status.is-error,
.eph-form-summary {
	background: #fff4f1;
	border-color: #8a1f11;
}

.eph-form-status.is-success {
	background: #f2f7ef;
	border-color: #3e6d33;
}

.eph-form-status p,
.eph-form-summary p {
	margin: 0;
}

.eph-form-summary.is-hidden {
	display: none;
}

.eph-form-honeypot {
	height: 1px;
	left: -10000px;
	overflow: hidden;
	position: absolute;
	top: auto;
	width: 1px;
}

.eph-contact-form-notice {
	background: var(--wp--preset--color--off-white, #f7f5f1);
	border-left: 4px solid var(--wp--preset--color--brand-gold, #cc8800);
	border-radius: var(--eph-radius-small);
	margin-block: 0.75rem 1rem;
	padding: 1.25rem 1.5rem;
}

.eph-contact-form-notice h3 {
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
}

.eph-contact-form-notice p {
	font-size: 0.9375rem;
	line-height: 1.6;
}

.eph-contact-form__submit {
	border: 2px solid var(--wp--preset--color--brand-gold, #cc8800);
	font: inherit;
	font-weight: 700;
	margin-top: 0.25rem;
}

.eph-form-consent {
	margin-bottom: 0.5rem;
}

.eph-form-acknowledgment {
	margin-bottom: 0.75rem;
}

.eph-form-turnstile {
	margin-block: 0.25rem 0.75rem;
	max-width: 100%;
}

.eph-form-security-unavailable {
	background: #fff4f1;
	border-left: 4px solid #8a1f11;
	border-radius: var(--eph-radius-small);
	margin-block: 0.25rem 0.75rem;
	padding: 1rem 1.25rem;
}

.eph-contact-form__submit:disabled {
	cursor: not-allowed;
	opacity: 0.7;
}

.eph-appointment-grid {
	display: grid;
	gap: clamp(1rem, 2.5vw, 2rem);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eph-appointment-card {
	color: var(--wp--preset--color--body-text, #4a4a4a);
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: clamp(1.25rem, 2.25vw, 1.75rem);
	text-decoration: none;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.eph-appointment-card:visited {
	color: var(--wp--preset--color--body-text, #4a4a4a);
}

.eph-appointment-card:hover {
	border-color: var(--wp--preset--color--accessible-dark-gold, #996600);
	box-shadow: 0 6px 18px rgba(32, 32, 32, 0.12);
	color: var(--wp--preset--color--body-text, #4a4a4a);
	transform: translateY(-2px);
}

.eph-appointment-card:focus-visible {
	border-color: var(--wp--preset--color--accessible-dark-gold, #996600);
	box-shadow: 0 0 0 3px var(--wp--preset--color--focus-ring, #005fcc);
	outline: 2px solid transparent;
	outline-offset: 3px;
}

.eph-appointment-card h3 {
	color: var(--wp--preset--color--charcoal, #202020);
	font-size: clamp(1.45rem, 2.2vw, 1.85rem);
	margin-bottom: 0.75rem;
}

.eph-appointment-card p:last-child {
	margin-bottom: 0;
}

.eph-appointment-card__meta {
	color: var(--wp--preset--color--accessible-dark-gold, #996600);
	font-size: 0.9375rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	margin-bottom: 1.25rem;
	margin-top: 0;
}

.eph-appointment-card--strategy {
	border-top: 4px solid var(--wp--preset--color--brand-gold, #cc8800);
}

.eph-appointment-options__heading {
	text-align: center;
}

.eph-scheduling-disclaimer {
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
	max-width: var(--wp--style--global--content-size, 48rem);
	padding: 1rem 1.25rem;
}

.eph-scheduling-disclaimer p {
	font-size: 0.9375rem;
	line-height: 1.55;
	margin-block: 0 0.625rem;
}

.eph-scheduling-disclaimer p:last-child {
	margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
	.eph-appointment-card {
		transition: none;
	}

	.eph-appointment-card:hover {
		transform: none;
	}
}

@media (max-width: 68rem) {
	.eph-site-header__inner {
		gap: 0.5rem;
		min-height: 6rem;
	}

	.eph-brand-link {
		width: min(18.5rem, calc(100vw - 5.25rem));
	}

	.eph-primary-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}

	.eph-primary-navigation .wp-block-navigation__responsive-container-open {
		display: flex !important;
	}

	.eph-primary-navigation:has(
			.wp-block-navigation__responsive-container.is-menu-open
		)
		> .wp-block-navigation__responsive-container-open {
		display: none !important;
	}

	.eph-primary-navigation
		.wp-block-navigation__responsive-container.is-menu-open
		.wp-block-navigation__responsive-container-close {
		display: flex !important;
	}

	.eph-primary-navigation
		.wp-block-navigation__responsive-container.is-menu-open
		.wp-block-navigation-submenu.open-on-click
		> .wp-block-navigation-submenu__toggle {
		align-self: flex-start;
		width: auto;
	}

	.eph-primary-navigation
		.wp-block-navigation__responsive-container.is-menu-open
		.wp-block-navigation-submenu.open-on-click
		> .wp-block-navigation-submenu__toggle[aria-expanded="false"]
		~ .wp-block-navigation__submenu-container {
		display: none !important;
	}

	.eph-primary-navigation
		.wp-block-navigation__responsive-container.is-menu-open
		.wp-block-navigation-submenu.open-on-click
		> .wp-block-navigation-submenu__toggle[aria-expanded="true"]
		~ .wp-block-navigation__submenu-container {
		display: flex !important;
	}

	.eph-footer-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.eph-footer-contact {
		grid-column: 1 / -1;
	}

}

@media (max-width: 75rem) {
	.eph-experience-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.eph-appointment-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 48rem) {
	:root {
		--eph-site-gutter: 1rem;
	}

	.eph-card-grid,
	.eph-token-grid {
		grid-template-columns: 1fr;
	}

	.eph-site-footer {
		padding-block: 1.125rem 0.75rem;
	}

	.eph-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 1rem;
	}

	.eph-footer-contact,
	.eph-footer-section--policies {
		grid-column: 1 / -1;
		text-align: left;
	}

	.eph-footer-heading {
		margin-bottom: 0;
	}

	.eph-footer-heading + .eph-footer-navigation {
		margin-top: 0.25rem;
	}

	.eph-footer-navigation--policies .wp-block-navigation__container {
		column-gap: 0.75rem;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.eph-footer-disclaimer {
		font-size: 0.8125rem;
		line-height: 1.45;
		margin-top: 1rem;
		padding-top: 0.75rem;
	}

	.eph-footer-meta {
		justify-content: flex-start;
		margin-top: 0.625rem;
		padding-top: 0.625rem;
	}

	.eph-page-section {
		padding-block: clamp(3rem, 12vw, 4.5rem);
	}

	.eph-home-hero {
		padding-block: 0;
		padding-inline: 0;
	}

	.eph-home-hero__stage {
		border-radius: 0;
		display: flex;
		flex-direction: column;
	}

	.eph-home-hero__content {
		margin: 0;
		max-width: none;
		order: -1;
		padding: clamp(2rem, 8vw, 3.5rem) var(--eph-site-gutter);
	}

	.eph-home-hero__content::before {
		border: 0;
		border-radius: 0;
	}

	.eph-home-hero__media img {
		aspect-ratio: auto;
		height: auto;
		object-fit: contain;
	}

	.eph-bio-hero__columns {
		flex-direction: column;
	}

	.eph-bio-hero__columns > .wp-block-column {
		flex-basis: auto !important;
	}

	.eph-experience-grid,
	.eph-bio-practice__grid {
		grid-template-columns: 1fr;
	}

	.eph-service-group-grid,
	.eph-related-service-grid,
	.eph-service-evidence-grid {
		grid-template-columns: 1fr;
	}

	.eph-contact-layout {
		flex-direction: column;
	}

	.eph-contact-layout > .wp-block-column {
		flex-basis: auto !important;
		width: 100%;
	}

	.eph-form-grid,
	.eph-form-choice-grid {
		grid-template-columns: 1fr;
	}

	.eph-action-hero__inner::after {
		height: 11rem;
		right: 0;
		top: 2rem;
		transform: none;
		width: 9rem;
	}

	.eph-service-hero__columns {
		flex-direction: column;
	}

	.eph-service-hero__columns > .wp-block-column {
		flex-basis: auto !important;
	}

	.eph-service-hero__media {
		max-width: 40rem;
		width: 100%;
	}

	.eph-service-group h3 {
		min-height: 0;
	}

	.eph-service-list--columns {
		column-count: 1;
	}

	.eph-service-hero__inner::after {
		height: 11rem;
		right: 0;
		top: 2rem;
		transform: none;
		width: 9rem;
	}

	.eph-experience-grid .eph-card h3,
	.eph-step-card h3 {
		min-height: 0;
	}

	.eph-step-card {
		height: auto;
	}

	.eph-page-final-cta .wp-block-button,
	.eph-page-final-cta .wp-block-button__link {
		width: 100%;
	}
}

@media (max-width: 22rem) {
	.eph-footer-navigation--policies .wp-block-navigation__container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 30rem) {
	.eph-primary-navigation
		.wp-block-navigation__responsive-container.is-menu-open {
		padding-inline: 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
