/* Presentation for the approved client content update. */
.et_pb_section.meridian-home-hero { position: relative; isolation: isolate; overflow: hidden; }
/* Match the exposed home backdrop to the navy sections without changing Divi's entrance animations. */
body.home.custom-background { background-color: #020a35 !important; }
.meridian-home-hero > .et_pb_row { position: relative; z-index: 1; }
.meridian-home-hero h1 { font-size: clamp(42px, 3.4vw, 54px) !important; line-height: 1.12; letter-spacing: -.01em; max-width: 760px; text-wrap: balance; }
.meridian-home-hero .et_pb_text { width: 100% !important; max-width: min(100%, 760px) !important; }
/* Hierarchy: bold H1, lighter lead paragraph, small tracked credential label. */
.meridian-home-hero .et_pb_text:not(.meridian-credentials) p {
	max-width: 640px;
	color: rgba(255, 255, 255, .9);
	font-size: clamp(17px, 1.35vw, 20px);
	font-weight: 400;
	line-height: 1.65;
	text-wrap: pretty;
}
.meridian-home-hero .meridian-credentials p {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-top: 12px;
	font-size: clamp(13px, .95vw, 14px);
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: .16em;
	text-transform: uppercase;
}
.meridian-home-hero .meridian-credentials p::before {
	content: "";
	flex: 0 0 32px;
	height: 1px;
	background: currentColor;
	opacity: .7;
}
/* Clinical Care images: smaller LED photo with the cupping photo layered in front of its lower corner. */
body.home .insurance-11-inlbtn-sc > .et_pb_column:first-child > .et_pb_image:nth-child(2) {
	z-index: 2 !important;
}
@media (min-width: 981px) {
	body.home .insurance-11-inlbtn-sc > .et_pb_column:first-child > .et_pb_image:first-child { max-width: 66% !important; }
	body.home .insurance-11-inlbtn-sc > .et_pb_column:first-child > .et_pb_image:nth-child(2) {
		max-width: min(300px, 56%) !important;
		margin-top: -24% !important;
	}
}
@media (max-width: 980px) {
	body.home .insurance-11-inlbtn-sc > .et_pb_column:first-child > .et_pb_image:first-child { max-width: min(400px, 78%) !important; }
	/* Divi's 100px bottom dividers are absolutely positioned over the section, so reserve room for them when columns stack. */
	body.home #main-content .et_pb_section:has(> .et_pb_bottom_inside_divider) { padding-bottom: 150px !important; }
}
.meridian-home-hero a.dsm_button,
.meridian-home-hero .dsm_button a,
body #page-container .et_pb_section.meridian-home-hero .et_pb_module a.et_pb_button,
body #page-container .et_pb_section.meridian-home-hero .et_pb_module a.et_pb_button:hover,
body #page-container .et_pb_section.meridian-home-hero .et_pb_module a.et_pb_button:focus-visible { color: #020a35 !important; }
.meridian-home-hero a.et_pb_button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.meridian-concern-row {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	gap: 12px;
}
.meridian-concern-row > .et_pb_column { display: flex; justify-content: center; width: auto !important; margin: 0 !important; min-width: 0; }
.meridian-concern-card { width: 100%; max-width: 210px; }
.meridian-concern-card .et_pb_text_inner { height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.meridian-concern-card h3 { margin-top: auto; padding-bottom: 0; font-size: 18px !important; line-height: 1.3; overflow-wrap: anywhere; }
.meridian-concern-card p { font-size: 14px; line-height: 1.5; }
.meridian-concern-row > .et_pb_column:nth-child(odd) { transform: translateY(10px); }
.meridian-concern-row > .et_pb_column:nth-child(even) { transform: translateY(-10px); }
.meridian-why-cards .et_pb_image_wrap { display: block; }
.meridian-why-cards .et_pb_image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 65%; }
.meridian-home-cta .et_pb_button_module_wrapper { text-align: center; }
/* Divi paints the section gradient beneath its background video, so this scrim sits between the video and the copy. */
.et_pb_section.meridian-home-cta { position: relative; isolation: isolate; overflow: hidden; }
.et_pb_section.meridian-home-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		radial-gradient(ellipse 75% 85% at 50% 50%, rgba(2, 10, 53, .9) 0%, rgba(2, 10, 53, .78) 60%, rgba(2, 10, 53, .58) 100%),
		linear-gradient(180deg, rgba(2, 10, 53, .35) 0%, rgba(2, 10, 53, 0) 30%, rgba(2, 10, 53, 0) 70%, rgba(2, 10, 53, .35) 100%);
}
.meridian-home-cta > .et_pb_row { position: relative; z-index: 2; }
/* Tablet/phone show the first video frame under Divi's 72% gradient, so a lighter scrim keeps the desktop tone. */
@media (max-width: 980px) {
	.et_pb_section.meridian-home-cta::after {
		background: radial-gradient(ellipse 75% 85% at 50% 50%, rgba(2, 10, 53, .64) 0%, rgba(2, 10, 53, .45) 60%, rgba(2, 10, 53, 0) 100%);
	}
}
body #page-container .et_pb_section.meridian-home-cta .et_pb_module a.et_pb_button:focus-visible { outline: 3px solid #fff !important; outline-offset: 4px; }
.meridian-home-cta .et_pb_text_inner h2 {
	padding-bottom: 0;
	color: #fff !important;
	font-size: 40px;
	line-height: 1.2;
	letter-spacing: .01em;
	text-wrap: balance;
	text-shadow: 0 2px 18px rgba(2, 10, 53, .65);
}
/* Centered gold rule with a diamond, matching the art-deco accents used on the team page. */
.meridian-home-cta .et_pb_text_inner h2::after {
	content: "";
	display: block;
	width: 124px;
	height: 12px;
	margin: 20px auto 22px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 124 12'%3E%3Cpath d='M0 6h52M72 6h52' stroke='%23c8b037' stroke-width='1'/%3E%3Cpath d='M62 1.5 66.5 6 62 10.5 57.5 6Z' fill='%23c8b037'/%3E%3C/svg%3E") no-repeat center / contain;
}
.meridian-home-cta .et_pb_text_inner p {
	padding-bottom: 0;
	color: #ead77c !important;
	font-size: clamp(13px, 1.05vw, 15px);
	font-weight: 500;
	line-height: 1.7;
	letter-spacing: .2em;
	text-transform: uppercase;
	text-wrap: balance;
	text-shadow: 0 1px 10px rgba(2, 10, 53, .8);
}
.et-l--header .meridian-brand-logo .et_pb_image_wrap { display: block; }
.et-l--header .meridian-brand-logo a { display: block; border-radius: 50%; }
.et-l--header .meridian-brand-name a { display: block; }
.et-l--header .meridian-brand-name a:focus-visible { outline: 3px solid #9c7320; outline-offset: 3px; }
:is(html, #page-container) :is(body, #et-boc) .et-l--header .et_pb_column_0_tb_header { align-items: center; gap: 8px; }
:is(html, #page-container) :is(body, #et-boc) .et-l--header .meridian-brand-logo {
	width: 60px !important;
	flex: 0 0 60px;
}
:is(html, #page-container) :is(body, #et-boc) .et-l--header .meridian-brand-logo img {
	width: 60px !important;
	height: 60px !important;
}
/* The editable Media Library wordmark preserves the original logo's lettering. */
:is(html, #page-container) :is(body, #et-boc) .et-l--header .meridian-brand-name {
	width: 144px;
	flex: 0 1 144px;
	min-width: 0;
}
:is(html, #page-container) :is(body, #et-boc) .et-l--header .meridian-brand-name p { padding: 0; }
.et-l--header .meridian-brand-name img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}
@media (max-width: 480px) {
	:is(html, #page-container) :is(body, #et-boc) .et-l--header .meridian-brand-logo { width: 54px !important; flex-basis: 54px; }
	:is(html, #page-container) :is(body, #et-boc) .et-l--header .meridian-brand-logo img { width: 54px !important; height: 54px !important; }
	:is(html, #page-container) :is(body, #et-boc) .et-l--header .meridian-brand-name { width: 136px; flex-basis: 136px; }
}
:is(html, #page-container) :is(body, #et-boc) .et-l--footer .meridian-footer-main { background: #fff !important; }
/* Match Divi's CPT specificity and override its equal-column flex layout. */
:is(html, #page-container) :is(body, #et-boc) .et-l--footer .meridian-footer-cards {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	gap: 24px;
}
.meridian-concern-row::after { display: none; }
:is(html, #page-container) :is(body, #et-boc) .et-l--footer .meridian-footer-cards::before,
:is(html, #page-container) :is(body, #et-boc) .et-l--footer .meridian-footer-cards::after { display: none !important; }
:is(html, #page-container) :is(body, #et-boc) .et-l--footer .meridian-footer-cards > .et_pb_column {
	width: auto !important;
	margin: 0 !important;
	min-width: 0;
	background: #f7f5f2 !important;
}
.meridian-footer-cards p, .meridian-footer-cards h3, .meridian-footer-cards h4 { overflow-wrap: anywhere; }
.meridian-footer-cards a[href^="tel:"], .meridian-contact-details a[href^="tel:"] { display: inline-flex; align-items: center; min-height: 44px; }
.meridian-footer-cards .dsm-business-hours-header { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.meridian-footer-cards .dsm-business-hours-day, .meridian-footer-cards .dsm-business-hours-time { white-space: normal; }
.meridian-footer-cards .dsm-business-hours-time { margin-left: auto; }
.meridian-footer-social { display: flex; justify-content: center; gap: 12px; width: 100%; margin-top: 20px; }
.meridian-footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #c8b037; border-radius: 50%; color: #020a35; transition: background-color .2s ease, color .2s ease; }
:is(html, #page-container) :is(body, #et-boc) .et-l--footer .meridian-footer-cards .meridian-footer-social a { color: #020a35; }
.meridian-footer-social a:hover { background: #020a35; color: #fff; }
.meridian-footer-social a:focus-visible { outline: 3px solid #9c7320; outline-offset: 3px; }
.meridian-footer-social svg { display: block; width: 20px; height: 20px; fill: currentColor; }
.meridian-footer-social a:last-child svg { fill: none; }
.meridian-footer-social .meridian-instagram-dot { fill: currentColor; }
.meridian-footer-legal a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.et-l--footer a:focus-visible, .meridian-contact-details a:focus-visible { outline: 3px solid #9c7320; outline-offset: 4px; }
.page-id-19 .et-l--footer .meridian-footer-cards { display: none !important; }
.meridian-contact-heading h1 { font-size: clamp(34px, 4vw, 58px) !important; line-height: 1.2; }
.meridian-team-photo { max-width: 960px !important; }
.meridian-team-photo img { width: 100%; height: auto; border-radius: 8px; }
.meridian-book-button a { min-height: 44px; }
@media (max-width: 980px) {
	.meridian-concern-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.meridian-concern-card { max-width: 240px; }
	.meridian-concern-row > .et_pb_column:nth-child(odd) { transform: translateY(8px); }
	.meridian-concern-row > .et_pb_column:nth-child(even) { transform: translateY(-8px); }
	:is(html, #page-container) :is(body, #et-boc) .et-l--footer .meridian-footer-cards { grid-template-columns: minmax(0, 1fr); max-width: 600px !important; }
	.meridian-mobile-flow .et_pb_text,
	.meridian-mobile-flow .et_pb_code,
	.meridian-mobile-flow .et_pb_image,
	.meridian-mobile-flow .et_pb_column { max-width: 100%; margin-inline: 0 !important; padding-inline: 0 !important; }
	.meridian-mobile-flow .et_pb_text_inner > h2 { overflow-wrap: anywhere; }
}
@media (max-width: 767px) {
	.et_pb_section.meridian-home-hero { padding-block: 70px !important; }
	.meridian-home-hero h1 { font-size: clamp(32px, 8.5vw, 42px) !important; }
	.meridian-home-hero .meridian-credentials p { padding-top: 0; }
	/* Keep every home H2 on one mobile size so none outranks the hero H1. */
	body.home #main-content .et_pb_text h2 { font-size: 28px !important; line-height: 1.25 !important; }
	.meridian-home-cta .et_pb_text_inner p { letter-spacing: .12em; }
}
@media (max-width: 600px) {
	/* One concern per row on phones: a compact, scannable list instead of a cramped staggered grid. */
	.meridian-concern-row { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 14px; max-width: 420px; margin-inline: auto; }
	.meridian-concern-row > .et_pb_column:nth-child(odd),
	.meridian-concern-row > .et_pb_column:nth-child(even) { transform: none; }
	.meridian-concern-row .meridian-concern-card { max-width: none; padding: 20px 22px !important; }
	.meridian-concern-card .et_pb_text_inner { flex-direction: row; justify-content: flex-start; gap: 14px; text-align: left; }
	.meridian-concern-card .et_pb_text_inner::before {
		content: "";
		flex: 0 0 9px;
		height: 9px;
		background: #c8b037;
		transform: rotate(45deg);
	}
	.meridian-concern-card h3 { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.meridian-home-hero *, .meridian-team-photo * { animation: none !important; transition: none !important; }
	.meridian-footer-social a { transition: none; }
	.et_animated { animation: none !important; opacity: 1 !important; transform: none !important; }
}
