/* ==================================================
   Executive Medicine FAQ
   Page-specific styles only
   ================================================== */

.em-faq-page,
.em-faq-page * {
	box-sizing: border-box;
}

.page-card.em-faq-page {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0;
	overflow: hidden;
	background: #ffffff;
}

.em-faq-page {
	--em-faq-navy: #243642;
	--em-faq-navy-deep: #1b2d37;
	--em-faq-green: #49765a;
	--em-faq-green-dark: #3b6249;
	--em-faq-green-light: #86bf96;
	--em-faq-green-pale: #e5eee6;
	--em-faq-cream: #f7f5ef;
	--em-faq-body: #51636b;
	--em-faq-line: #cad8cd;
	--em-faq-gold: #a98145;
	color: var(--em-faq-body);
	background: #ffffff;
}

.em-faq-page main {
	display: block;
}

.em-faq-page h1,
.em-faq-page h2,
.em-faq-page h3,
.em-faq-page p {
	margin-top: 0;
}

.em-faq-page h1,
.em-faq-page h2 {
	font-family:
		Didot,
		"Bodoni 72",
		"Bodoni MT",
		Georgia,
		serif;
	font-weight: 500;
	letter-spacing: -0.025em;
}

.em-faq-container {
	width: min(100% - 60px, 1160px);
	margin: 0 auto;
}

.em-faq-eyebrow {
	margin-bottom: 12px;
	color: var(--em-faq-green);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.45;
	text-transform: uppercase;
}

.em-faq-eyebrow-light {
	color: #b9d7bd;
}

/* ==================================================
   Hero
   ================================================== */

.em-faq-hero {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 510px;
	padding: 118px 30px 76px;
	color: rgba(255, 255, 255, 0.9);
	background:
		radial-gradient(circle at 80% 18%, rgba(134, 191, 150, 0.18), transparent 33%),
		linear-gradient(135deg, #1d303a 0%, #294753 70%, #315a5b 100%);
	text-align: center;
}

.em-faq-hero::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: var(--em-faq-green-light);
}

.em-faq-hero-inner {
	width: min(100%, 880px);
	margin: 0 auto;
}

.em-faq-hero-mark {
	display: block;
	width: auto;
	height: 104px;
	margin: 0 auto 24px;
	object-fit: contain;
}

.em-faq-hero h1 {
	margin-bottom: 20px;
	color: #fffdf7;
	font-size: clamp(3.1rem, 6vw, 5rem);
	line-height: 1.03;
	text-wrap: balance;
}

.em-faq-hero-supporting {
	max-width: 720px;
	margin: 0 auto;
	color: rgba(255, 255, 255, 0.94);
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
	line-height: 1.65;
	text-wrap: balance;
}

.em-faq-trust-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 12px;
	margin: 23px auto 0;
	color: #dce9dc;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	line-height: 1.45;
	text-transform: uppercase;
}

/* ==================================================
   Category navigation
   ================================================== */

.em-faq-category-nav {
	padding: 28px 0 30px;
	background: #ffffff;
	border-bottom: 1px solid rgba(36, 54, 66, 0.12);
}

.em-faq-category-label {
	margin-bottom: 13px;
	color: var(--em-faq-navy);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-align: center;
	text-transform: uppercase;
}

.em-faq-category-nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.em-faq-category-nav li {
	margin: 0;
}

.em-faq-category-nav a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 9px 14px;
	color: var(--em-faq-navy);
	background: var(--em-faq-cream);
	border: 1px solid rgba(73, 118, 90, 0.18);
	text-decoration: none;
	font-size: 0.83rem;
	font-weight: 600;
	line-height: 1.35;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.em-faq-category-nav a:hover {
	color: var(--em-faq-green-dark);
	background: var(--em-faq-green-pale);
	border-color: var(--em-faq-line);
}

.em-faq-category-nav a:focus-visible,
.em-faq-page summary:focus-visible,
.em-faq-page .em-faq-inline-action:focus-visible,
.em-faq-page .em-faq-button:focus-visible,
.em-faq-page .em-faq-answer a:focus-visible {
	outline: 3px solid rgba(134, 191, 150, 0.64);
	outline-offset: 3px;
}

/* ==================================================
   FAQ sections
   ================================================== */

.em-faq-section {
	padding: 84px 0 88px;
	background: #ffffff;
	scroll-margin-top: 92px;
}

.em-faq-section-cream {
	background: var(--em-faq-cream);
}

.em-faq-section-grid {
	display: grid;
	grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
	gap: 72px;
	align-items: start;
}

.em-faq-section-header {
	position: sticky;
	top: 104px;
	padding-top: 22px;
}

.em-faq-section-header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 54px;
	height: 2px;
	background: var(--em-faq-green-light);
}

.em-faq-section-header h2 {
	margin-bottom: 20px;
	color: var(--em-faq-navy);
	font-size: clamp(2.05rem, 3.25vw, 3.1rem);
	line-height: 1.12;
	text-wrap: balance;
}

.em-faq-section-header > p:last-child {
	margin-bottom: 0;
	font-size: 0.96rem;
	line-height: 1.7;
}

/* ==================================================
   Accessible native accordions
   ================================================== */

.em-faq-accordion {
	border-top: 1px solid var(--em-faq-line);
}

.em-faq-accordion details {
	margin: 0;
	border-bottom: 1px solid var(--em-faq-line);
}

.em-faq-accordion summary {
	position: relative;
	display: flex;
	min-height: 74px;
	align-items: center;
	padding: 20px 58px 20px 0;
	color: var(--em-faq-navy);
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.45;
	cursor: pointer;
	list-style: none;
	transition: color 0.2s ease;
}

.em-faq-accordion summary::-webkit-details-marker {
	display: none;
}

.em-faq-accordion summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 8px;
	display: inline-flex;
	width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	color: var(--em-faq-green-dark);
	background: var(--em-faq-green-pale);
	border: 1px solid rgba(73, 118, 90, 0.15);
	border-radius: 50%;
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1;
	transform: translateY(-50%);
}

.em-faq-accordion details[open] summary {
	color: var(--em-faq-green-dark);
}

.em-faq-accordion details[open] summary::after {
	content: "−";
}

.em-faq-accordion summary:hover {
	color: var(--em-faq-green-dark);
}

.em-faq-answer {
	max-width: 760px;
	padding: 0 58px 28px 0;
}

.em-faq-answer p {
	margin-bottom: 15px;
	font-size: 0.97rem;
	line-height: 1.72;
}

.em-faq-answer p:last-child {
	margin-bottom: 0;
}

.em-faq-answer ul:not(.em-faq-assessment-links) {
	margin: 8px 0 18px;
	padding-left: 21px;
}

.em-faq-answer ul:not(.em-faq-assessment-links) li {
	margin-bottom: 8px;
	padding-left: 4px;
	font-size: 0.97rem;
	line-height: 1.62;
}

.em-faq-answer a {
	color: var(--em-faq-green-dark);
	font-weight: 700;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.em-faq-answer a:hover {
	color: var(--em-faq-navy);
}

.em-faq-inline-action {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 7px;
	text-decoration: none;
}

.em-faq-inline-action:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.em-faq-inline-action i {
	font-size: 0.78rem;
}

.em-faq-assessment-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 19px 0 0;
	padding: 0;
	list-style: none;
}

.em-faq-assessment-links li {
	margin: 0;
}

.em-faq-assessment-links a {
	display: inline-flex;
	min-height: 39px;
	align-items: center;
	padding: 8px 12px;
	background: rgba(229, 238, 230, 0.72);
	border: 1px solid rgba(73, 118, 90, 0.18);
	text-decoration: none;
	font-size: 0.82rem;
}

.em-faq-assessment-links a:hover {
	background: var(--em-faq-green-pale);
	text-decoration: underline;
}

/* ==================================================
   Final call to action
   ================================================== */

.em-faq-final {
	padding: 84px 30px 90px;
	color: rgba(255, 255, 255, 0.87);
	background:
		radial-gradient(circle at 14% 84%, rgba(134, 191, 150, 0.11), transparent 34%),
		var(--em-faq-navy-deep);
	text-align: center;
}

.em-faq-final-inner {
	max-width: 850px;
	margin: 0 auto;
}

.em-faq-final h2 {
	margin-bottom: 19px;
	color: #fffdf7;
	font-size: clamp(2.4rem, 4.5vw, 4rem);
	line-height: 1.08;
}

.em-faq-final-inner > p:not(.em-faq-eyebrow) {
	max-width: 700px;
	margin: 0 auto;
	color: rgba(255, 255, 255, 0.84);
	font-size: 1rem;
	line-height: 1.72;
}

.em-faq-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 31px;
}

.em-faq-button {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	padding: 13px 23px;
	border: 1px solid transparent;
	text-align: center;
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.35;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.em-faq-button:hover {
	transform: translateY(-1px);
}

.em-faq-button-primary {
	color: #ffffff;
	background: var(--em-faq-green);
	border-color: var(--em-faq-green);
}

.em-faq-button-primary:hover,
.em-faq-button-primary:focus-visible {
	color: #ffffff;
	background: var(--em-faq-green-dark);
	border-color: var(--em-faq-green-dark);
}

.em-faq-button-light {
	color: var(--em-faq-navy);
	background: #ffffff;
	border-color: #ffffff;
}

.em-faq-button-light:hover,
.em-faq-button-light:focus-visible {
	color: var(--em-faq-navy);
	background: var(--em-faq-cream);
	border-color: var(--em-faq-cream);
}

/* ==================================================
   Tablet
   ================================================== */

@media (max-width: 960px) {
	.em-faq-section {
		padding: 72px 0 76px;
	}

	.em-faq-section-grid {
		grid-template-columns: minmax(230px, 0.6fr) minmax(0, 1.4fr);
		gap: 46px;
	}

	.em-faq-section-header {
		top: 86px;
	}

	.em-faq-answer {
		padding-right: 48px;
	}
}

/* ==================================================
   Mobile
   ================================================== */

@media (max-width: 760px) {
	.em-faq-container {
		width: min(100% - 36px, 1160px);
	}

	.em-faq-hero {
		min-height: 475px;
		padding: 102px 18px 62px;
	}

	.em-faq-hero-mark {
		height: 86px;
		margin-bottom: 20px;
	}

	.em-faq-hero h1 {
		font-size: clamp(2.65rem, 12vw, 3.7rem);
		line-height: 1.05;
	}

	.em-faq-hero-supporting {
		font-size: 1rem;
		line-height: 1.6;
	}

	.em-faq-trust-line {
		align-items: center;
		flex-direction: column;
		gap: 4px;
		font-size: 0.7rem;
	}

	.em-faq-trust-line span {
		display: none;
	}

	.em-faq-category-nav {
		padding: 24px 0;
	}

	.em-faq-category-nav ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.em-faq-category-nav a {
		width: 100%;
		height: 100%;
		padding: 10px 9px;
		font-size: 0.78rem;
	}

	.em-faq-section {
		padding: 60px 0 64px;
		scroll-margin-top: 70px;
	}

	.em-faq-section-grid {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.em-faq-section-header {
		position: relative;
		top: auto;
	}

	.em-faq-section-header h2 {
		font-size: clamp(2rem, 9vw, 2.65rem);
		line-height: 1.14;
	}

	.em-faq-accordion summary {
		min-height: 68px;
		padding: 18px 49px 18px 0;
		font-size: 1rem;
	}

	.em-faq-accordion summary::after {
		right: 2px;
		width: 31px;
		height: 31px;
		font-size: 1.15rem;
	}

	.em-faq-answer {
		padding: 0 3px 25px 0;
	}

	.em-faq-answer p,
	.em-faq-answer ul:not(.em-faq-assessment-links) li {
		font-size: 0.95rem;
	}

	.em-faq-final {
		padding: 65px 18px 72px;
	}

	.em-faq-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.em-faq-button {
		width: 100%;
	}
}

/* ==================================================
   Narrow mobile
   ================================================== */

@media (max-width: 460px) {
	.em-faq-category-nav ul {
		grid-template-columns: 1fr;
	}

	.em-faq-category-nav a {
		min-height: 43px;
	}

	.em-faq-assessment-links {
		flex-direction: column;
	}

	.em-faq-assessment-links a {
		width: 100%;
	}
}

/* ==================================================
   Reduced motion
   ================================================== */

@media (prefers-reduced-motion: reduce) {
	.em-faq-category-nav a,
	.em-faq-accordion summary,
	.em-faq-button {
		transition: none;
	}

	.em-faq-button:hover {
		transform: none;
	}
}
