/**
 * Styles for the [fitrx_warranty] shortcode. Shares the same light "paper"
 * palette, Anton/Manrope type pairing, and 1520/20 container convention as
 * [fitrx_privacy_policy], [fitrx_blog_archive], and [fitrx_goal_quiz] — this
 * is meant to feel like the same site, not a bolted-on legal page. Body
 * copy is capped at 760px (not the full 1520px container) since a long
 * block of text that wide is uncomfortable to read.
 *
 * 'Anton' and 'Manrope' are the same two fonts every block/shortcode in
 * this plugin uses, loaded once site-wide by fitrx_blocks_enqueue_fonts()
 * in fitrx-blocks.php — not repeated here.
 */

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

.fitrx-warranty {
	--ink: #181818;
	--ink-soft: rgba(24, 24, 24, 0.64);
	--ink-softer: rgba(24, 24, 24, 0.44);
	--line: rgba(24, 24, 24, 0.12);
	--red: #ce0e2d;
	--paper: #f7f3ee;
	--card: #ffffff;

	display: block;
	width: 100%;
	background: var(--paper);
	color: var(--ink);
	font-family: 'Manrope', -apple-system, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.fitrx-warranty a { color: var(--red); text-decoration: underline; }
.fitrx-warranty a:hover,
.fitrx-warranty a:focus-visible { color: var(--ink); }
.fitrx-warranty :focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.fitrx-warranty-inner {
	max-width: 1520px;
	margin: 0 auto;
	padding: 20px;
}

/* ---- hero ---- */
.fitrx-warranty-hero {
	max-width: 760px;
	margin: 0 auto;
	padding: 56px 0 28px;
	text-align: center;
	border-bottom: 1px solid var(--line);
}

.fitrx-warranty-eyebrow {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--red);
	margin: 0 0 18px;
}

.fitrx-warranty-heading {
	font-family: 'Anton', sans-serif;
	font-weight: 400;
	font-size: clamp(32px, 5vw, 52px);
	line-height: 1;
	text-transform: uppercase;
	margin: 0 0 14px;
}

.fitrx-warranty-sub {
	font-size: 15px;
	font-weight: 600;
	color: var(--ink-soft);
	margin: 0;
}

/* ---- body copy ---- */
.fitrx-warranty-body {
	max-width: 760px;
	margin: 0 auto;
	padding: 40px 0 90px;
	font-size: 15.5px;
	line-height: 1.75;
	color: var(--ink-soft);
}

.fitrx-warranty-body p { margin: 0 0 20px; }
.fitrx-warranty-body strong { color: var(--ink); font-weight: 700; }

.fitrx-warranty-body h2 {
	font-family: 'Anton', sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	font-size: clamp(20px, 2.4vw, 26px);
	line-height: 1.15;
	color: var(--ink);
	margin: 44px 0 18px;
}

.fitrx-warranty-body h2:first-child { margin-top: 0; }

/* ---- "Important" callouts — the two explicit warnings in the source copy,
   set apart with a left accent bar so they read as "stop and pay attention"
   rather than blending into the surrounding paragraphs. ---- */
.fitrx-warranty-notice {
	background: var(--card);
	border-left: 3px solid var(--red);
	border-radius: 4px 12px 12px 4px;
	padding: 18px 22px;
	margin: 8px 0 32px;
}

.fitrx-warranty-notice p { margin: 0; color: var(--ink); }
.fitrx-warranty-notice strong { color: var(--red); }
