/*
 * Gambit Theme — Global Styles
 *
 * Mobile-first: base styles are mobile, scale up via min-width queries.
 * theme.json handles design tokens (colors, fonts, spacing) as CSS custom properties.
 * This file handles resets, layout utilities, component base styles, and responsive overrides.
 */

/* ==========================================================================
   CSS Custom Properties (shorthand aliases for theme.json tokens)
   ========================================================================== */

:root {
	/* Color aliases */
	--deep-charcoal: var(--wp--preset--color--deep-charcoal);
	--warm-white: var(--wp--preset--color--warm-white);
	--off-white: var(--wp--preset--color--off-white);

	--signal-red: var(--wp--preset--color--signal-red);
	--warm-copper: var(--wp--preset--color--warm-copper);
	--clinical-teal: var(--wp--preset--color--clinical-teal);
	--status-green: var(--wp--preset--color--status-green);
	--status-amber: var(--wp--preset--color--status-amber);
	--status-red: var(--wp--preset--color--status-red);

	/* Font aliases */
	--font-heading: var(--wp--preset--font-family--general-sans);
	--font-body: var(--wp--preset--font-family--inter);
	--font-mono: var(--wp--preset--font-family--jetbrains-mono);
	/* White (for alternating light sections) */
	--white: #ffffff;

	/* Dark text (for light-background sections) */
	--dark-charcoal-80: rgba(26, 26, 30, 0.8);
	--dark-charcoal-60: rgba(26, 26, 30, 0.6);
	--dark-charcoal-10: rgba(26, 26, 30, 0.1);
	--dark-charcoal-5: rgba(26, 26, 30, 0.05);

	/* Border radius */
	--radius-button: var(--wp--custom--border-radius--button);
	--radius-card: var(--wp--custom--border-radius--card);

	/* Warm-white opacity layers (used for borders, bgs, overlays on dark surfaces) */
	--warm-white-4: rgba(247, 245, 242, 0.04);
	--warm-white-5: rgba(247, 245, 242, 0.05);
	--warm-white-6: rgba(247, 245, 242, 0.06);
	--warm-white-8: rgba(247, 245, 242, 0.08);
	--warm-white-10: rgba(247, 245, 242, 0.1);
	--warm-white-15: rgba(247, 245, 242, 0.15);
	--warm-white-20: rgba(247, 245, 242, 0.2);
	--warm-white-75: rgba(247, 245, 242, 0.75);

	/* Signal-red opacity layers (used for tinted card surfaces on dark backgrounds) */
	--signal-red-5: rgba(196, 61, 47, 0.05);
	--signal-red-8: rgba(196, 61, 47, 0.08);
	--signal-red-10: rgba(196, 61, 47, 0.1);
	--signal-red-25: rgba(196, 61, 47, 0.25);
	--signal-red-35: rgba(196, 61, 47, 0.35);

	/* Elevated dark surface (slightly lighter than --deep-charcoal for card backgrounds) */
	--surface-elevated: #232328;

	/* Hover color variants */
	--signal-red-hover: #a83327;
	--clinical-teal-hover: #238578;

	/* Header height (used by header + spacer) */
	--header-height: 64px;

	/* Total fixed top offset — just the header. Promo bar is in document
	   flow (sticky), so it pushes content down naturally when visible. */
	--top-offset: var(--header-height);

	/* Easing curves */
	--ease-out-expo: cubic-bezier(0.23, 1, 0.32, 1);

	/* Responsive side padding — mobile default */
	--side-padding: 16px;

	/* Shared max-width for medication hero + sections that should align to it */
	--hero-max-width: 1650px;
}

@media (min-width: 768px) {
	:root {
		--side-padding: 24px;
	}
}

@media (min-width: 1100px) {
	:root {
		--header-height: 72px;
	}
}

@media (min-width: 1200px) {
	:root {
		--side-padding: 48px;
	}
}

@media (min-width: 1440px) {
	:root {
		--side-padding: 64px;
	}
}

/* Program Page Layout — contained content sections on desktop (Maximus pattern) */
@media (min-width: 1200px) {
	.single-program {
		--side-padding: 4vw;
	}

	.single-program .gambit-container--full {
		max-width: 1600px;
	}

	/* Exceptions — Header, Footer, Hero, Benefit Cards stay full-width */
	.single-program .gambit-header .gambit-container--full,
	.single-program .gambit-footer .gambit-container--full,
	.single-program .gambit-hero .gambit-container--full,
	.single-program .gambit-benefit-cards__inner {
		max-width: none;
		padding-left: 32px;
		padding-right: 32px;
	}
}

/* Trust marquee must stay full-bleed on all pages (marquee scroll requires
   unrestricted width — the .gambit-container--full global cap doesn't apply). */
.gambit-trust-marquee,
.gambit-trust-marquee .gambit-container--full {
	max-width: none;
}

/* ==========================================================================
   Topical Testosterone V2 — page-scoped overrides
   ========================================================================== */

.postname-topical-testosterone-v2 {
	background-color: var(--deep-charcoal);
}

.postname-topical-testosterone-v2 .gambit-health-team .gambit-container--full,
.postname-topical-testosterone-v2 .gambit-treatment-options .gambit-container--full {
	max-width: var(--hero-max-width);
	margin-inline: auto;
}

.postname-topical-testosterone-v2 .gambit-health-team__concierge-heading,
.postname-topical-testosterone-v2 .gambit-health-team__concierge,
.postname-topical-testosterone-v2 .gambit-health-team__cta-wrap {
	display: none;
}

/* ==========================================================================
   Weight Loss — page-scoped overrides
   Align the medication slider's content edges flush with the hero's text column
   at every viewport. Uses the hero's exact padding formula
   (`max(32px, (100vw - 1650px) / 2)`) so the slider's H2, subtext, and cards
   share the same x-position as the hero's H1 — no inset offset.
   ========================================================================== */

/* Light-program body bg. Block stylesheets paint their own surfaces, so this
   only affects the gaps between blocks (e.g. card-variant gold-upsell on
   /weight-loss/, where the section is an inset card and the page bg shows
   to its left/right/below). Scoped to .is-program-light so dark TRT/HGH
   pages are unaffected. */
body.is-program-light {
	background-color: var(--warm-white);
}

/* Pattern B alignment — applies site-wide to every program-CPT page so the
   content rail of treatment-options / how-it-works / testimonials / health-team /
   faq-accordion / stats-bar / etc. lines up with the hero text column.
   Plus the dual-action-glp1-pen medication page which uses the same rail. */
.single-program .gambit-treatment-options .gambit-container--full,
.single-program .gambit-bwp .gambit-container--full,
.single-program .gambit-how-it-works .gambit-container--full,
.single-program .gambit-clinically-studied .gambit-container--full,
.single-program .gambit-wlc .gambit-container--full,
.single-program .gambit-hrc .gambit-container--full,
.single-program .gambit-stats-bar .gambit-container,
.single-program .gambit-testimonials .gambit-container--full,
.single-program .gambit-health-team .gambit-container--full,
.single-program .gambit-map .gambit-container--full,
.single-program .gambit-faq-accordion .gambit-faq-accordion__layout.gambit-container,
.medication-condition-weight-loss .gambit-wlc .gambit-container--full,
.medication-condition-weight-loss .gambit-stats-bar .gambit-container,
.medication-condition-womens-health .gambit-map .gambit-container--full,
.medication-condition-womens-health .gambit-stats-bar .gambit-container {
	max-width: none;
	margin-inline: 0;
	/* Content rail = (100vw - 1650)/2 outer padding + 32px inner padding so
	   content lines up with hero/how-it-works content (which sit 32px inside
	   the 1650 container). On viewports < 1650+64 the max() clamps to 32px. */
	padding-left: max(32px, calc((100vw - var(--hero-max-width)) / 2 + 32px));
	padding-right: max(32px, calc((100vw - var(--hero-max-width)) / 2 + 32px));
}

/* Light-program pages only: strip the signal-red glow + grain texture from the
   stats-bar so it reads as a flat dark proof band continuing from the
   section above. The default stats-bar treatment (radial red gradient +
   grain) is kept intact for TRT/HGH program pages. */
/* Card-variant gold-upsell — site-wide responsive gutter. Card sits closer to
   the screen edge on mobile (16px each side, where --side-padding is 16px) and
   scales up to 32px each side on desktop. min() caps the total gutter at 64px
   so the .single-program 4vw side-padding doesn't expand it further. Applied
   to every page that surfaces the .is-style-card variant — TT/WL/WH program
   landings + medication CPT pages on weight-loss + women's-health conditions. */
.postname-testosterone .gambit-gold-upsell.is-style-card,
.postname-weight-loss .gambit-gold-upsell.is-style-card,
.postname-womens-health .gambit-gold-upsell.is-style-card,
.medication-condition-weight-loss .gambit-gold-upsell.is-style-card,
.medication-condition-womens-health .gambit-gold-upsell.is-style-card {
	width: calc(100% - min(64px, var(--side-padding) * 2));
}

/* Testosterone gold-upsell card: align inner text with the 1650 hero rail
   on wide desktop, with a responsive --side-padding floor (16/24/32px) so
   text never sits flush against the card edge on mobile/tablet. */
.postname-testosterone .gambit-gold-upsell.is-style-card .gambit-gold-upsell__content {
	max-width: none;
	margin-inline: 0;
	padding-inline: max(var(--side-padding), calc((100vw - var(--hero-max-width)) / 2));
}

/* Practitioner-bios description on program pages: span the full content rail
   instead of the default 700px reading-width clamp. */
.single-program .gambit-health-team__description {
	max-width: none;
	margin-inline: 0;
}

.postname-weight-loss .gambit-stats-bar,
.postname-womens-health .gambit-stats-bar,
.medication-condition-weight-loss .gambit-stats-bar {
	background: var(--deep-charcoal);
}

.postname-weight-loss .gambit-stats-bar::before,
.postname-weight-loss .gambit-stats-bar::after,
.postname-womens-health .gambit-stats-bar::before,
.postname-womens-health .gambit-stats-bar::after,
.medication-condition-weight-loss .gambit-stats-bar::before,
.medication-condition-weight-loss .gambit-stats-bar::after {
	display: none;
}

/* ==========================================================================
   Shared Keyframes
   ========================================================================== */

@keyframes gambit-fadein {
	from {
		opacity: 0;
		transform: translateY(var(--fadein-offset, 12px));
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

body {
	margin: 0;
	padding: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* Prevent background scroll when modals/menus are open */
body.no-scroll {
	overflow: hidden;
}

/* Smooth page-level transitions */
::selection {
	background-color: var(--signal-red);
	color: var(--warm-white);
}

/* Smooth scrolling (respects prefers-reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

img,
picture,
video,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

/* ==========================================================================
   Typography
   ========================================================================== */

/* Subheadings — General Sans Medium */
.gambit-subheading,
.has-large-font-size,
.has-x-large-font-size {
	font-family: var(--font-heading);
	font-weight: 500;
}

/* Body emphasis — Inter Medium */
strong,
b,
.gambit-emphasis {
	font-weight: 500;
}

/* Data/numbers — JetBrains Mono */
.gambit-data,
.gambit-mono {
	font-family: var(--font-mono);
	font-size: 14px;
	font-weight: 400;
}

/* Enforce minimum text size */
small {
	font-size: 14px;
}

/* ==========================================================================
   Layout — Responsive Side Padding
   ========================================================================== */

.gambit-container {
	width: 100%;
	max-width: 1600px;
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--side-padding);
	padding-right: var(--side-padding);
}

/* Full-width container — no max-width cap, side padding handles edge breathing room. */
.gambit-container--full {
	max-width: none;
}

.gambit-container--narrow {
	max-width: 1200px;
}

.gambit-container--reading {
	max-width: 800px;
}

/* Blog surfaces mirror the Maximus reference: fixed 1120px on wide
   viewports, auto-insetting to 92% on narrow ones. The parent
   .gambit-container's --side-padding is cleared so the column sits
   flush at its full width on desktop. */
.gambit-container--blog {
	width: 1120px;
	max-width: 92%;
	padding-inline: 0;
}

/* Remove WP body-level padding — each block's .gambit-container handles its own */
.wp-site-blocks {
	padding-left: 0;
	padding-right: 0;
}

/* Hide header spacer on front page — hero handles its own top padding.
   Matches the page_on_front (.home) AND any page assigned the front-page
   template (e.g. /home-test/), so homepage duplicates render flush. */
.home .gambit-header-spacer,
.page-template-front-page .gambit-header-spacer {
	display: none;
}

/* Kill WP layout gaps — Gambit blocks control their own spacing */
:where(.wp-site-blocks) > *,
:where(.is-layout-flow) > *,
:where(.is-layout-constrained) > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

/* Stronger override — WP inline styles may load after global.css */
.wp-site-blocks > *,
.is-layout-flow > *,
.is-layout-constrained > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

/* ==========================================================================
   Section Spacing
   ========================================================================== */

.gambit-section {
	padding-top: 40px;
	padding-bottom: 40px;
}

@media (min-width: 768px) {
	.gambit-section {
		padding-top: 64px;
		padding-bottom: 64px;
	}
}

@media (min-width: 1200px) {
	.gambit-section {
		padding-top: 80px;
		padding-bottom: 80px;
	}
}

@media (min-width: 1400px) {
	.gambit-section {
		padding-top: 128px;
		padding-bottom: 128px;
	}
}

/* Tighter section variant */
.gambit-section--tight {
	padding-top: 24px;
	padding-bottom: 24px;
}

@media (min-width: 768px) {
	.gambit-section--tight {
		padding-top: 40px;
		padding-bottom: 40px;
	}
}

@media (min-width: 1200px) {
	.gambit-section--tight {
		padding-top: 64px;
		padding-bottom: 64px;
	}
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.gambit-btn,
.wp-block-button__link,
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 32px;
	border: none;
	border-radius: var(--radius-button);
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.1s ease;
}

.gambit-btn:active,
.wp-block-button__link:active,
.wp-element-button:active {
	transform: scale(0.98);
}

/* Primary button (default) */
.gambit-btn--primary,
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background-color: var(--signal-red);
	color: var(--warm-white);
}

.gambit-btn--primary:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background-color: var(--signal-red-hover);
}

.gambit-btn--primary:focus-visible,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:focus-visible {
	outline: 2px solid var(--warm-white);
	outline-offset: 2px;
}

/* Secondary button — Clinical Teal */
.gambit-btn--secondary {
	background-color: var(--clinical-teal);
	color: var(--warm-white);
}

.gambit-btn--secondary:hover {
	background-color: var(--clinical-teal-hover);
}

.gambit-btn--secondary:focus-visible {
	outline: 2px solid var(--warm-white);
	outline-offset: 2px;
}

/* Outline button */
.gambit-btn--outline,
.wp-block-button.is-style-outline .wp-block-button__link {
	background-color: transparent;
	color: var(--warm-white);
	border: 2px solid var(--warm-white);
}

.gambit-btn--outline:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background-color: var(--warm-white);
	color: var(--deep-charcoal);
}

/* Small button variant */
.gambit-btn--sm {
	min-height: 40px;
	padding: 8px 24px;
	font-size: 14px;
}

/* Mobile: all primary CTAs span full width */
@media (max-width: 767px) {
	.gambit-btn,
	.wp-block-button__link,
	.wp-element-button {
		width: 100%;
		min-height: 48px;
		padding: 12px 32px;
		font-size: 16px;
	}

	/* Small buttons stay inline */
	.gambit-btn--sm {
		width: auto;
		min-height: 40px;
		padding: 8px 24px;
		font-size: 14px;
	}
}

/* ==========================================================================
   Cards
   ========================================================================== */

.gambit-card {
	border-radius: var(--radius-card);
	overflow: hidden;
	background-color: var(--warm-white-5);
	border: 1px solid var(--warm-white-10);
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.gambit-card:hover {
	transform: translateY(-2px);
	border-color: var(--warm-white-20);
}

.gambit-card__body {
	padding: 24px;
}

@media (min-width: 768px) {
	.gambit-card__body {
		padding: 32px;
	}
}

/* ==========================================================================
   Evidence Card — full-width rounded container for grouped proof-point sections
   ========================================================================== */

.gambit-evidence-card {
	border-radius: var(--radius-card);
	border: 1px solid var(--warm-white-8);
	background-color: var(--warm-white-4);
	overflow: hidden;
	margin-left: var(--side-padding);
	margin-right: var(--side-padding);
}

/* Match hero/benefit-cards: 32px side margin on program pages at desktop */
@media (min-width: 1200px) {
	.single-program .gambit-evidence-card {
		margin-left: 32px;
		margin-right: 32px;
	}
}

/* /testosterone/: card sizing is intentional (32px outer margin), but the
   text INSIDE the card needs its own breathing room from the card edge on
   mobile/tablet, and on wide desktop (>1650px) it should align horizontally
   with the hero / treatment-options / how-it-works content rail at
   `(100vw - 1650)/2` from each viewport edge.
   Floor = --side-padding (responsive: 16px mobile, 24px tablet, 32px desktop)
   so text never sits flush against the card edge. */
body.single-program .gambit-evidence-card .gambit-clinical-results .gambit-container,
body.single-program .gambit-evidence-card .gambit-stats-bar .gambit-container {
	max-width: none;
	margin-inline: 0;
	padding-left: max(var(--side-padding), calc((100vw - var(--hero-max-width)) / 2));
	padding-right: max(var(--side-padding), calc((100vw - var(--hero-max-width)) / 2));
}

/* Collapse block margins and lift to elevated surface */
.gambit-evidence-card .gambit-clinical-results,
.gambit-evidence-card .gambit-stats-bar {
	margin-top: 0;
	margin-bottom: 0;
}

/* Elevated background — slightly lighter than page for card contrast */
.gambit-evidence-card .gambit-clinical-results {
	padding-bottom: 40px;
	background:
		radial-gradient(ellipse 80% 60% at 30% 50%, var(--signal-red-8), transparent 70%),
		radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255, 255, 255, 0.02), transparent 60%),
		var(--surface-elevated);
}

.gambit-evidence-card .gambit-stats-bar {
	padding-top: 40px;
	background:
		radial-gradient(ellipse 80% 60% at 50% 40%, var(--signal-red-8), transparent 70%),
		radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255, 255, 255, 0.02), transparent 60%),
		var(--surface-elevated);
}

/* Remove the stats-bar top separator when inside the card */
.gambit-evidence-card .gambit-stats-bar::after {
	display: none;
}

@media (min-width: 768px) {
	.gambit-evidence-card .gambit-clinical-results {
		padding-bottom: 48px;
	}

	.gambit-evidence-card .gambit-stats-bar {
		padding-top: 48px;
	}
}

@media (min-width: 1200px) {
	.gambit-evidence-card .gambit-clinical-results {
		padding-bottom: 64px;
	}

	.gambit-evidence-card .gambit-stats-bar {
		padding-top: 64px;
	}
}

/* ==========================================================================
   Light Section Variant
   ========================================================================== */

.gambit-section--light,
.gambit-section--white {
	color: var(--deep-charcoal);
}

.gambit-section--light {
	background-color: var(--warm-white);
}

.gambit-section--white {
	background-color: var(--white);
}

.gambit-section--light h1,
.gambit-section--light h2,
.gambit-section--light h3,
.gambit-section--light h4,
.gambit-section--light h5,
.gambit-section--light h6,
.gambit-section--white h1,
.gambit-section--white h2,
.gambit-section--white h3,
.gambit-section--white h4,
.gambit-section--white h5,
.gambit-section--white h6 {
	color: var(--deep-charcoal);
}

.gambit-section--light .gambit-btn--outline,
.gambit-section--white .gambit-btn--outline {
	color: var(--deep-charcoal);
	border-color: var(--deep-charcoal);
}

.gambit-section--light .gambit-btn--outline:hover,
.gambit-section--white .gambit-btn--outline:hover {
	background-color: var(--deep-charcoal);
	color: var(--warm-white);
}

/* Dark link variant for light sections */
.gambit-section--light a:not(.gambit-btn),
.gambit-section--white a:not(.gambit-btn) {
	color: var(--signal-red);
}

/* Accent text (for typewriter cycling word, product headline emphasis) */
.gambit-accent {
	font-family: var(--font-heading);
	font-weight: 500;
	font-style: italic;
}

/* ==========================================================================
   Accessibility — Focus Styles
   ========================================================================== */

:focus-visible {
	outline: 2px solid var(--clinical-teal);
	outline-offset: 2px;
}

/* Skip to content link */
.gambit-skip-link {
	position: absolute;
	top: -100%;
	left: 16px;
	z-index: 10000;
	padding: 12px 24px;
	background-color: var(--signal-red);
	color: var(--warm-white);
	font-family: var(--font-heading);
	font-weight: 700;
	text-decoration: none;
	border-radius: var(--radius-button);
}

.gambit-skip-link:focus {
	top: 16px;
}

/* Screen reader only */
.gambit-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

/* Text alignment */
.gambit-text-center { text-align: center; }
.gambit-text-left { text-align: left; }
.gambit-text-right { text-align: right; }

/* Hide element completely (removed from flow) */
.gambit-hidden { display: none; }

/* Stack layout — vertical flex with consistent gap */
.gambit-stack {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.gambit-stack--sm { gap: 8px; }
.gambit-stack--lg { gap: 32px; }

/* Grid layout */
.gambit-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr;
}

@media (min-width: 576px) {
	.gambit-grid--2 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 768px) {
	.gambit-grid--3 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1200px) {
	.gambit-grid--3 {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 768px) {
	.gambit-grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1200px) {
	.gambit-grid--4 {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* ==========================================================================
   WordPress Block Overrides
   ========================================================================== */

/* Ensure block buttons inherit our styles */
.wp-block-buttons {
	gap: 16px;
}

/* Block separator */
.wp-block-separator {
	border-color: var(--warm-white-15);
	opacity: 1;
}

/* Block image — responsive defaults */
.wp-block-image img {
	border-radius: var(--radius-card);
}

/* Block columns — responsive gap */
.wp-block-columns {
	gap: 24px;
}

@media (min-width: 768px) {
	.wp-block-columns {
		gap: 32px;
	}
}

@media (min-width: 1200px) {
	.wp-block-columns {
		gap: 40px;
	}
}

/* 404 page styles moved to blocks/error-404/style.css so they only load when
   the block actually renders. */


/* ==========================================================================
   /executive-health/ — Gambit Gold tier page-scoped color overrides
   Swaps signal-red in-page accents for warm-copper (the canonical Gambit
   Gold token). Scoped via body.postname-executive-health so /testosterone/,
   /growth-hormone/, etc. are unaffected.

   Page chrome (header, footer, mobile nav, skip-link) intentionally stays
   signal-red — that's global brand identity, not page-tier theming.

   Hero card surface (#140C06 dark gold) + hero italic + hero CTA are
   handled in blocks/hero/style.css. Benefit-cards royal-purple surface is
   handled in blocks/benefit-cards/style.css. This block handles everything
   else on the page.
   ========================================================================== */

/* Treatment-options cards (6-capability + 3-tier) */
body.postname-executive-health .gambit-treatment-options__card-image {
	background-color: rgba(184, 115, 51, 0.10);
}
body.postname-executive-health .gambit-treatment-options__check {
	color: var(--warm-copper, #B87333);
	stroke: var(--warm-copper, #B87333);
}
body.postname-executive-health .gambit-treatment-options__cta-primary,
body.postname-executive-health .gambit-treatment-options .gambit-btn--primary {
	background-color: var(--warm-copper, #B87333);
	color: var(--deep-charcoal, #1A1A1E);
}
body.postname-executive-health .gambit-treatment-options__cta-primary:hover,
body.postname-executive-health .gambit-treatment-options .gambit-btn--primary:hover,
body.postname-executive-health .gambit-treatment-options__cta-primary:focus-visible,
body.postname-executive-health .gambit-treatment-options .gambit-btn--primary:focus-visible {
	background-color: #A0632B;
	color: var(--deep-charcoal, #1A1A1E);
}
body.postname-executive-health .gambit-treatment-options__cta-secondary {
	color: var(--warm-copper, #B87333);
}
body.postname-executive-health .gambit-treatment-options__card--featured {
	border-top-color: var(--warm-copper, #B87333);
}

/* Treatment-options badges that use signal-red (e.g. "BUNDLE SAVE $X" promo) */
body.postname-executive-health .gambit-treatment-options__badge--promo {
	background-color: var(--warm-copper, #B87333);
	color: var(--deep-charcoal, #1A1A1E);
}

/* Practitioner-bios CTA button */
body.postname-executive-health .gambit-health-team .gambit-btn--primary {
	background-color: var(--warm-copper, #B87333);
	color: var(--deep-charcoal, #1A1A1E);
}
body.postname-executive-health .gambit-health-team .gambit-btn--primary:hover,
body.postname-executive-health .gambit-health-team .gambit-btn--primary:focus-visible {
	background-color: #A0632B;
}

/* How-it-works step accents */
body.postname-executive-health .gambit-how-it-works__step-number,
body.postname-executive-health .gambit-how-it-works__step em,
body.postname-executive-health .gambit-how-it-works em {
	color: var(--warm-copper, #B87333);
}

/* Clinical-results / brand-promise H2 italic + accents */
body.postname-executive-health .gambit-clinical-results__heading em {
	color: var(--warm-copper, #B87333);
}

/* Stats bar (the "Make your move." closing CTA strip) */
body.postname-executive-health .gambit-stats-bar__heading em {
	color: var(--warm-copper, #B87333);
}
body.postname-executive-health .gambit-stats-bar__cta {
	color: var(--warm-copper, #B87333);
	border-color: var(--warm-copper, #B87333);
}
body.postname-executive-health .gambit-stats-bar__cta:hover,
body.postname-executive-health .gambit-stats-bar__cta:focus-visible {
	background-color: var(--warm-copper, #B87333);
	color: var(--deep-charcoal, #1A1A1E);
}

/* Testimonials quote marks + metric accents */
body.postname-executive-health .gambit-testimonials__quote-mark,
body.postname-executive-health .gambit-testimonials__metric-accent {
	color: var(--warm-copper, #B87333);
}

/* FAQ accordion */
body.postname-executive-health .gambit-faq-accordion__book-link {
	color: var(--warm-copper, #B87333);
	border-color: var(--warm-copper, #B87333);
}
body.postname-executive-health .gambit-faq-accordion__book-link:hover,
body.postname-executive-health .gambit-faq-accordion__book-link:focus-visible {
	background-color: var(--warm-copper, #B87333);
	color: var(--deep-charcoal, #1A1A1E);
}
body.postname-executive-health .gambit-faq-accordion__item-number,
body.postname-executive-health .gambit-faq-accordion__number,
body.postname-executive-health [class*="faq"] [class*="number"] {
	color: var(--warm-copper, #B87333);
}
body.postname-executive-health .gambit-faq-accordion__chevron,
body.postname-executive-health [class*="faq"] [class*="chevron"] {
	color: var(--warm-copper, #B87333);
}

/* Generic catch-all: any signal-red icon/SVG inside the page content */
body.postname-executive-health .gambit-treatment-options svg[fill="currentColor"],
body.postname-executive-health .gambit-clinical-results svg[fill="currentColor"] {
	color: var(--warm-copper, #B87333);
}


/* /executive-health/ — additional gold-tier overrides (caught in second audit pass) */

/* Practitioner-bios title (red role label like "Medical Director & Internal Medicine Specialist") */
body.postname-executive-health .gambit-health-team__title {
	color: var(--warm-copper, #B87333);
}

/* How-it-works connector line + section-level CTA */
body.postname-executive-health .gambit-how-it-works__connector,
body.postname-executive-health .gambit-how-it-works__connector path {
	stroke: rgba(184, 115, 51, 0.5);
	color: rgba(184, 115, 51, 0.5);
}
body.postname-executive-health .gambit-how-it-works .gambit-btn--primary {
	background-color: var(--warm-copper, #B87333);
	color: var(--deep-charcoal, #1A1A1E);
}
body.postname-executive-health .gambit-how-it-works .gambit-btn--primary:hover,
body.postname-executive-health .gambit-how-it-works .gambit-btn--primary:focus-visible {
	background-color: #A0632B;
}

/* Catch any remaining in-page primary buttons (not header/footer) */
body.postname-executive-health main .gambit-btn--primary:not(.gambit-header__cta):not(.gambit-footer__cta-button):not(.gambit-btn--sm) {
	background-color: var(--warm-copper, #B87333);
	color: var(--deep-charcoal, #1A1A1E);
}
body.postname-executive-health main .gambit-btn--primary:not(.gambit-header__cta):not(.gambit-footer__cta-button):not(.gambit-btn--sm):hover,
body.postname-executive-health main .gambit-btn--primary:not(.gambit-header__cta):not(.gambit-footer__cta-button):not(.gambit-btn--sm):focus-visible {
	background-color: #A0632B;
}


/* /executive-health/ — third pass: backgrounds, gradients, shadows */

/* How-it-works step numbers (red gradient) → gold gradient */
body.postname-executive-health .gambit-how-it-works__number {
	background-image: linear-gradient(135deg, var(--warm-copper, #B87333) 0%, #8E5728 100%);
	box-shadow: 0 2px 10px 0 rgba(184, 115, 51, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12);
	color: var(--deep-charcoal, #1A1A1E);
}

/* Treatment-options card box-shadow (red tint → gold tint) */
body.postname-executive-health .gambit-treatment-options__card {
	box-shadow: 0 12px 32px 0 rgba(184, 115, 51, 0.10);
}

/* Clinical-results / "Designed for executives" section — bg radial red → gold */
body.postname-executive-health .gambit-clinical-results {
	background-image: radial-gradient(80% 60% at 30% 50%, rgba(184, 115, 51, 0.08), rgba(0, 0, 0, 0));
}

/* Stats-bar / "Nothing to lose. Make your move." section — bg radial red → gold */
body.postname-executive-health .gambit-stats-bar {
	background-image: radial-gradient(80% 60% at 50% 40%, rgba(184, 115, 51, 0.08), rgba(0, 0, 0, 0));
}

/* Subtle gold tint on the testimonials section to keep visual continuity
   with the gold-tinted sections above and below. Without this, the
   testimonials drop into pure charcoal which reads as a visual break. */
body.postname-executive-health .gambit-testimonials {
	background-image: radial-gradient(60% 50% at 50% 30%, rgba(184, 115, 51, 0.05), rgba(0, 0, 0, 0));
}


/* /executive-health/ — mobile hero image-card frame: red → gold.
   Matches the DESKTOP outer-card color (#140C06) so the visible hero
   card looks the same shade across breakpoints. Page-scoped + mobile-only;
   desktop reset (background:none + border:none at 900px+) is unchanged. */
@media (max-width: 899px) {
	body.postname-executive-health .gambit-hero__card-image {
		background-color: #140C06;
		background-image: radial-gradient(120% 90% at 50% 50%, rgba(184, 115, 51, 0.13), transparent 80%);
		border-color: rgba(184, 115, 51, 0.20);
	}
}
