/* Shared V2 shell for modern non-treatment pages.
 * Keep this narrow: tokens, Genesis shell resets, shared footer CTA, and
 * typography rules used by extracted page islands.
 */

body.hong-main-v2 {
	--tpv2-background: #f6f4ef;
	--tpv2-surface: #fbfaf7;
	--tpv2-surface-alt: #f1eee8;
	--tpv2-border: #d9d4ca;
	--tpv2-ink: #111111;
	--tpv2-heading: #0f1419;
	--tpv2-body: #1b1f24;
	--tpv2-muted: #1f2933;
	--tpv2-red: #d81f26;
	background: var(--tpv2-background);
}

body.hong-main-v2 *,
body.hong-main-v2 *::before,
body.hong-main-v2 *::after {
	box-sizing: border-box;
}

html body.hong-main-v2,
body.hong-main-v2 .site-container {
	background-color: var(--tpv2-background) !important;
}

body.hong-main-v2 .site-inner,
body.hong-main-v2 .content-sidebar-wrap,
body.hong-main-v2 .content,
body.hong-main-v2 .entry,
body.hong-main-v2 .entry-content {
	background: transparent;
}

body.hong-main-v2 :is(.page-h, .entry-header .entry-title, .title.entry-title) {
	display: none;
}

body.hong-main-v2 .page-f {
	display: none !important;
}

body.hong-main-v2 .hong-main-v2-footer-cta {
	background-color: var(--tpv2-background);

	background-position: -1px -1px;

	color: #fff;
	font-family: var(--hong-sans);
	inline-size: 100vw;
	margin: 0 calc(50% - 50vw);
	padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 8vw, 120px);
}

body.hong-main-v2 .hong-main-v2-footer-cta__inner {
	align-items: end;
	background:
		linear-gradient(135deg, rgba(216, 31, 38, 0.18), transparent 34%),
		var(--tpv2-ink);
	border: 1px solid rgba(15, 20, 25, 0.22);
	display: grid;
	gap: clamp(28px, 5vw, 72px);
	grid-template-columns: minmax(0, 0.62fr) minmax(280px, 0.38fr);
	inline-size: min(var(--hong-width-landing, 1240px), calc(100% - 48px));
	margin-inline: auto;
	padding: clamp(32px, 5vw, 72px);
	position: relative;
}

body.hong-main-v2 .hong-main-v2-footer-cta__inner::before {
	background: var(--tpv2-red);
	block-size: 6px;
	content: "";
	inset-block-start: 0;
	inset-inline: 0;
	position: absolute;
}

body.hong-main-v2 .hong-main-v2-footer-cta__eyebrow {
	color: #ff6b6f;
	font-family: var(--hong-mono);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.18em;
	line-height: 1.45;
	margin: 0 0 22px;
	text-transform: uppercase;
}

body.hong-main-v2 .hong-main-v2-footer-cta h2 {
	color: #fff;
	font-size: clamp(44px, 6vw, 76px);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 0.94;
	margin: 0;
	max-inline-size: 12ch;
}

body.hong-main-v2 .hong-main-v2-footer-cta__copy > p:last-child {
	color: rgba(255, 255, 255, 0.82);
	font-size: clamp(19px, 1.6vw, 24px);
	line-height: 1.45;
	margin: 26px 0 0;
	max-inline-size: 38rem;
}

body.hong-main-v2 .hong-main-v2-footer-cta__actions {
	align-items: stretch;
	display: flex;
	flex-direction: column;
	gap: 14px;
	justify-self: end;
	min-inline-size: min(100%, 360px);
}

body.hong-main-v2 .hong-main-v2-footer-cta__button,
body.hong-main-v2 .hong-main-v2-footer-cta__button:visited {
	align-items: center;
	border: 1px solid rgba(255, 255, 255, 0.26);
	color: #fff;
	display: inline-flex;
	font-size: 17px;
	font-weight: 700;
	justify-content: space-between;
	line-height: 1.25;
	min-block-size: 54px;
	padding: 16px 20px;
	text-decoration: none;
	transition:
		background-color 180ms ease,
		border-color 180ms ease,
		color 180ms ease;
}

body.hong-main-v2 .hong-main-v2-footer-cta__button::after {
	content: "→";
	font-size: 18px;
	line-height: 1;
	margin-inline-start: 18px;
}

body.hong-main-v2 .hong-main-v2-footer-cta__button--primary {
	background: var(--tpv2-red);
	border-color: var(--tpv2-red);
}

body.hong-main-v2 .hong-main-v2-footer-cta__button--secondary {
	background: rgba(255, 255, 255, 0.06);
}

body.hong-main-v2 .hong-main-v2-footer-cta__button:hover,
body.hong-main-v2 .hong-main-v2-footer-cta__button:focus-visible {
	background: #fff;
	border-color: #fff;
	color: var(--tpv2-ink);
}

body.hong-main-v2 :is(
	.hong-clinic-page__title,
	.hong-photo-archive__title,
	.hong-treatments-hero__title,
	.hong-research-page__hero-title,
	.hong-faq-archive-intro__title,
	.relateds-t h3
) {
	color: var(--tpv2-ink);
	font-family: var(--hong-display);
	font-size: clamp(45px, 5.6vw, 77px);
	font-weight: 900;
	letter-spacing: 0;
	line-height: 0.98;
	margin: 18px 0 24px;
	max-inline-size: 16ch;
}

body.hong-main-v2 :is(
	.hong-clinic-page__section-title,
	.hong-photo-archive__section-title
) {
	color: var(--tpv2-ink);
	font-size: clamp(40px, 4.5vw, 56px);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 0.95;
}

body.hong-main-v2 :is(
	.hong-clinic-page__lead,
	.hong-treatments-hero__summary,
	.hong-research-page__hero-lead,
	.hong-faq-archive-intro__lead
) {
	color: var(--tpv2-body);
	font-size: clamp(18px, 1.35vw, 21px);
	line-height: 1.55;
	max-inline-size: 44rem;
}

body.hong-main-v2 :is(
	.hong-clinic-page__text,
	.hong-clinic-page__section-text,
	.hong-clinic-page__process-text,
	.hong-clinic-page__treatment-text,
	.hong-clinic-page__leader-summary,
	.hong-clinic-page__access-text,
	.hong-photo-card__text,
	.hong-press-story-card__excerpt,
	.hong-press-outlet-tile__meta,
	.hong-treatments-section-head__text,
	.hong-treatments-fit-card__text,
	.hong-treatment-card__copy,
	.hong-treatment-card__copy p,
	.hong-treatments-reimbursement__text,
	.hong-treatments-reimbursement__proof,
	.hong-treatments-reimbursement__item-text,
	.hong-treatments-cta__text,
	.hong-research-page__section-text,
	.hong-research-page__leader-summary,
	.hong-research-page__leader-point,
	.hong-research-page__timeline-text,
	.hong-research-page__publication-text,
	.hong-research-page__note-text,
	.hong-research-page__teaching-text,
	.hong-research-page__route-text,
	.hong-research-page__archive-text,
	.hong-research-page__archive-link-text,
	.hong-faq-archive-intro__note,
	.hong-faq-archive .faq-body,
	.hong-faq-archive .faq-body p,
	.related-e
) {
	color: var(--tpv2-muted);
	font-size: 18px;
	line-height: 1.65;
}

body.hong-main-v2 :where(h1, h2, h3, h4) {
	font-family: var(--hong-display);
	letter-spacing: 0;
}

body.hong-main-v2 :where(h1, h2) {
	font-weight: 600;
}

body.hong-main-v2 :where(.hong-main-v2-kicker, .hong-home-v2-kicker, .hong-press-header__label, .hong-press-desk__eyebrow) {
	font-family: var(--hong-mono);
}

@media (max-width: 980px) {
	body.hong-main-v2 .hong-main-v2-footer-cta__inner {
		align-items: start;
		grid-template-columns: 1fr;
		inline-size: min(100% - 32px, var(--hong-width-landing, 1240px));
	}

	body.hong-main-v2 .hong-main-v2-footer-cta__actions {
		justify-self: start;
	}
}

@media (max-width: 760px) {
	body.hong-main-v2 .hong-main-v2-footer-cta {
		padding-block: 48px 72px;
	}

	body.hong-main-v2 .hong-main-v2-footer-cta__inner {
		inline-size: min(100% - 28px, var(--hong-width-landing, 1240px));
		padding: 28px;
	}

	body.hong-main-v2 .hong-main-v2-footer-cta h2 {
		font-size: clamp(38px, 12vw, 52px);
		letter-spacing: 0;
		line-height: 1;
	}

	body.hong-main-v2 .hong-main-v2-footer-cta__copy > p:last-child {
		font-size: 18px;
	}
}
