/* =====================================================================
   Faith & Future Blog Kit — brand styles (matches the Summit website)
   Dark surfaces · brand blue #2563FF · purple glow · gold accent
   Colours/fonts come from Settings → F&F Blog Kit (values below are fallbacks)
   ===================================================================== */
:root {
	--ff-primary: #2563FF;
	--ff-secondary: #6D4AFF;
	--ff-accent: #ECC15C;
	--ff-radius: 18px;
	--ff-font-head: 'Sora', system-ui, sans-serif;
	--ff-font-quote: 'EB Garamond', Georgia, serif;

	/* theme palettes (overridden from settings) */
	--ff-dark-surface: #1A1A1D;
	--ff-dark-text: #FFFFFF;
	--ff-dark-muted: #A9A9B3;
	--ff-light-surface: #FFFFFF;
	--ff-light-text: #0F1222;
	--ff-light-muted: #4B5063;
}

/* ---------- THEMES ----------
   :root uses the default theme (set in settings, dark by default).
   Add class ff-theme-dark / ff-theme-light to any block or Group to switch. */
:root, .ff-theme-dark {
	--ff-surface: var(--ff-dark-surface);
	--ff-text: var(--ff-dark-text);
	--ff-muted: var(--ff-dark-muted);
	--ff-deep: #060918;
	--ff-on-deep: #FFFFFF;
	--ff-glow-a: 55%;
	--ff-link: color-mix(in srgb, var(--ff-primary) 65%, #fff);
	--ff-glow: 0 24px 60px -30px color-mix(in srgb, var(--ff-primary) 70%, transparent);
}
.ff-theme-light {
	--ff-surface: var(--ff-light-surface);
	--ff-text: var(--ff-light-text);
	--ff-muted: var(--ff-light-muted);
	--ff-deep: color-mix(in srgb, var(--ff-primary) 6%, #fff);
	--ff-on-deep: var(--ff-light-text);
	--ff-glow-a: 22%;
	--ff-link: color-mix(in srgb, var(--ff-primary) 88%, #000);
	--ff-glow: 0 18px 40px -24px color-mix(in srgb, var(--ff-primary) 45%, transparent);
}
/* derived values are re-computed wherever a theme is applied */
:root, .ff-theme-dark, .ff-theme-light {
	--ff-surface-2: color-mix(in srgb, var(--ff-text) 4%, var(--ff-surface));
	--ff-chip: color-mix(in srgb, var(--ff-primary) 16%, var(--ff-surface));
	--ff-border: color-mix(in srgb, var(--ff-text) 11%, transparent);
	--ff-border-blue: color-mix(in srgb, var(--ff-primary) 45%, transparent);
	--ff-grad: linear-gradient(135deg, var(--ff-primary), var(--ff-secondary));
	--ff-card-bg: linear-gradient(180deg, var(--ff-surface-2), var(--ff-surface));
	--ff-glow-bg:
		radial-gradient(110% 90% at 100% 0%, color-mix(in srgb, var(--ff-primary) var(--ff-glow-a), transparent), transparent 55%),
		radial-gradient(80% 90% at 0% 100%, color-mix(in srgb, var(--ff-secondary) calc(var(--ff-glow-a) * .65), transparent), transparent 60%),
		var(--ff-deep);
}
/* a Group/section switched to a theme also gets the matching text colour */
.wp-block-group:is(.ff-theme-dark, .ff-theme-light) { color: var(--ff-muted); }
.wp-block-group:is(.ff-theme-dark, .ff-theme-light) :is(h1, h2, h3, h4, h5, h6) { color: var(--ff-text); }
.wp-block-group.ff-theme-dark:not([class*="is-style-ff-"]):not(.has-background) { background: #121212; padding: 2em; border-radius: var(--ff-radius); }
.wp-block-group.ff-theme-light:not([class*="is-style-ff-"]):not(.has-background) { background: #F6F7FB; padding: 2em; border-radius: var(--ff-radius); }

:root {
	--ff-ease: cubic-bezier(.2, .7, .2, 1);

	/* icons (used as masks so they take brand colours) */
	--ff-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
	--ff-i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 4-1.4 1.4 5.6 5.6H4v2h12.2l-5.6 5.6L12 20l8-8z'/%3E%3C/svg%3E");
	--ff-i-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 6.4 17.6 5 12 10.6 6.4 5 5 6.4 10.6 12 5 17.6 6.4 19l5.6-5.6 5.6 5.6 1.4-1.4-5.6-5.6z'/%3E%3C/svg%3E");
	--ff-i-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.3 18.2 21l-1.6-7L22 9.2l-7.2-.6L12 2 9.2 8.6 2 9.2 7.5 14l-1.7 7z'/%3E%3C/svg%3E");
	--ff-i-tip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 21h6v-1.5H9zm3-19a7 7 0 0 0-4 12.74V17a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2.26A7 7 0 0 0 12 2z'/%3E%3C/svg%3E");
	--ff-i-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 15h-2v-6h2zm0-8h-2V7h2z'/%3E%3C/svg%3E");
	--ff-i-note: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17.25V21h3.75L17.8 9.94l-3.75-3.75zM20.7 7.04a1 1 0 0 0 0-1.41l-2.34-2.34a1 1 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z'/%3E%3C/svg%3E");
	--ff-i-warning: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z'/%3E%3C/svg%3E");
	--ff-i-success: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-2 15-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8z'/%3E%3C/svg%3E");
	--ff-i-important: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 15h-2v-2h2zm0-4h-2V7h2z'/%3E%3C/svg%3E");
	--ff-i-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.4 8.6 12 13.2l4.6-4.6L18 10l-6 6-6-6z'/%3E%3C/svg%3E");
	--ff-i-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12l1.4 1.4L11 7.8V20h2V7.8l5.6 5.6L20 12l-8-8z'/%3E%3C/svg%3E");
	--ff-i-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm.5 11H11V7h1.5v4.8l4 2.4-.75 1.23z'/%3E%3C/svg%3E");
}

/* shared icon technique */
.ff-callout__icon::after, .ff-toc__toggle, .ff-top::before, .ff-reading-time__icon, .ff-faq__q::after {
	-webkit-mask: var(--ff-icon) center / contain no-repeat;
	mask: var(--ff-icon) center / contain no-repeat;
	background: currentColor;
}

/* shared card look (same as the website's "What you gain" cards) */
.ff-callout, .ff-takeaways, .ff-pc, .ff-faq__item, .ff-toc,
.wp-block-group.is-style-ff-box, .wp-block-details.is-style-ff-brand {
	background: var(--ff-card-bg);
	border: 1px solid var(--ff-border);
	border-radius: var(--ff-radius);
	color: var(--ff-muted);
}
:is(.ff-callout, .ff-takeaways, .ff-pc, .ff-faq__item, .ff-toc, .ff-steps) :is(strong, b, h2, h3, h4) { color: var(--ff-text); }
:is(.ff-callout, .ff-takeaways, .ff-pc, .ff-faq__item, .ff-toc, .ff-steps, .wp-block-group.is-style-ff-box) a:not([class]) {
	color: var(--ff-link);
	text-decoration-color: color-mix(in srgb, var(--ff-link) 40%, transparent);
	text-underline-offset: 3px;
}

/* =====================================================================
   TABLES
   ===================================================================== */
.wp-block-table[class*="is-style-ff-"] {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 2.25em 0;
}
.wp-block-table[class*="is-style-ff-"] table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: .95em;
	line-height: 1.55;
	border: 0;
}
.wp-block-table[class*="is-style-ff-"] thead { border: 0; }
.wp-block-table[class*="is-style-ff-"] th,
.wp-block-table[class*="is-style-ff-"] td {
	border: 0;
	padding: .95em 1.2em;
	text-align: left;
	vertical-align: top;
}
.wp-block-table[class*="is-style-ff-"] th { font-family: var(--ff-font-head); font-weight: 600; }
.wp-block-table[class*="is-style-ff-"] figcaption {
	font-size: .85em;
	color: var(--ff-muted);
	margin-top: .8em;
	text-align: center;
}

/* Brand */
.wp-block-table.is-style-ff-brand table {
	background: var(--ff-surface);
	color: var(--ff-muted);
	border: 1px solid var(--ff-border);
	border-radius: var(--ff-radius);
	overflow: hidden;
	box-shadow: var(--ff-glow);
}
.wp-block-table.is-style-ff-brand thead th,
.wp-block-table.is-style-ff-brand table:not(:has(thead)) tbody tr:first-child td {
	background: var(--ff-primary);
	color: #fff;
	font-family: var(--ff-font-head);
	font-weight: 600;
}
.wp-block-table.is-style-ff-brand tbody td { border-top: 1px solid var(--ff-border); }
.wp-block-table.is-style-ff-brand tbody tr:nth-child(even) td { background: var(--ff-surface-2); }
.wp-block-table.is-style-ff-brand tbody td:first-child { color: var(--ff-text); font-weight: 600; }
.wp-block-table.is-style-ff-brand tbody tr td { transition: background .2s; }
.wp-block-table.is-style-ff-brand tbody tr:hover td { background: color-mix(in srgb, var(--ff-primary) 12%, var(--ff-surface)); }
.wp-block-table.is-style-ff-brand table:not(:has(thead)) tbody tr:first-child:hover td { background: var(--ff-primary); }
.wp-block-table.is-style-ff-brand tfoot td {
	background: var(--ff-chip);
	color: var(--ff-text);
	font-weight: 700;
	border-top: 1px solid var(--ff-border-blue);
}

/* Minimal */
.wp-block-table.is-style-ff-minimal table { color: var(--ff-muted); }
.wp-block-table.is-style-ff-minimal thead th {
	color: var(--ff-primary);
	font-size: .78em;
	text-transform: uppercase;
	letter-spacing: .14em;
	border-bottom: 1px solid var(--ff-border-blue);
}
.wp-block-table.is-style-ff-minimal tbody td { border-bottom: 1px solid var(--ff-border); }
.wp-block-table.is-style-ff-minimal tbody td:first-child { color: var(--ff-text); }
.wp-block-table.is-style-ff-minimal tbody tr:last-child td { border-bottom: 0; }

/* Comparison — first column sticky, 2nd column highlighted */
.wp-block-table.is-style-ff-compare table {
	background: var(--ff-surface);
	color: var(--ff-muted);
	border: 1px solid var(--ff-border);
	border-radius: var(--ff-radius);
	overflow: hidden;
}
.wp-block-table.is-style-ff-compare thead th {
	background: var(--ff-surface-2);
	color: var(--ff-text);
	text-align: center;
	border-bottom: 1px solid var(--ff-border);
}
.wp-block-table.is-style-ff-compare thead th:nth-child(2) { background: var(--ff-primary); color: #fff; }
.wp-block-table.is-style-ff-compare td { text-align: center; border-top: 1px solid var(--ff-border); }
.wp-block-table.is-style-ff-compare td:nth-child(2) { background: color-mix(in srgb, var(--ff-primary) 10%, var(--ff-surface)); color: var(--ff-text); }
.wp-block-table.is-style-ff-compare td:first-child,
.wp-block-table.is-style-ff-compare th:first-child {
	text-align: left;
	position: sticky;
	left: 0;
	z-index: 1;
	background: var(--ff-surface-2);
	color: var(--ff-text);
	font-weight: 600;
}

@media (max-width: 640px) {
	.wp-block-table[class*="is-style-ff-"] table { min-width: 560px; font-size: .9em; }
}

/* =====================================================================
   QUOTES
   ===================================================================== */
/* Brand — serif italic like the site's "About" statement */
.wp-block-quote.is-style-ff-brand {
	position: relative;
	margin: 2.5em 0;
	padding: 1.6em 1.9em 1.6em 2.1em;
	border: 1px solid var(--ff-border);
	border-left: 3px solid var(--ff-primary);
	border-radius: 0 var(--ff-radius) var(--ff-radius) 0;
	background: linear-gradient(90deg, color-mix(in srgb, var(--ff-primary) 12%, var(--ff-surface)), var(--ff-surface) 70%);
	color: var(--ff-text);
	font-family: var(--ff-font-quote);
	font-style: italic;
	font-size: 1.3em;
	line-height: 1.5;
}
.wp-block-quote.is-style-ff-brand::before {
	content: "\201C";
	position: absolute;
	top: -.2em;
	right: .35em;
	font: italic 400 4em/1 var(--ff-font-quote);
	color: var(--ff-accent);
	opacity: .55;
	pointer-events: none;
}
.wp-block-quote.is-style-ff-brand p { margin: 0 0 .5em; }
.wp-block-quote.is-style-ff-brand p:last-of-type { margin-bottom: 0; }
.wp-block-quote.is-style-ff-brand cite {
	display: block;
	margin-top: 1em;
	font: normal 600 .6em/1.4 var(--ff-font-head);
	color: var(--ff-primary);
	letter-spacing: .14em;
	text-transform: uppercase;
}
.wp-block-quote.is-style-ff-brand cite::before { content: "—  "; }

/* Big card — glowing dark card like the "March Mega Summit" banner */
.wp-block-quote.is-style-ff-card {
	position: relative;
	overflow: hidden;
	margin: 2.75em 0;
	padding: 2.6em 2em 2.2em;
	border: 1px solid var(--ff-border-blue);
	border-radius: var(--ff-radius);
	background: var(--ff-glow-bg);
	color: var(--ff-on-deep);
	text-align: center;
	font-family: var(--ff-font-quote);
	font-style: italic;
	font-size: 1.55em;
	line-height: 1.4;
	box-shadow: var(--ff-glow);
}
.wp-block-quote.is-style-ff-card::before {
	content: "\201C";
	display: block;
	margin: 0 auto -.25em;
	font: italic 400 2.6em/1 var(--ff-font-quote);
	color: var(--ff-accent);
}
.wp-block-quote.is-style-ff-card p { margin: 0 0 .4em; }
.wp-block-quote.is-style-ff-card cite {
	display: inline-block;
	margin-top: 1.1em;
	padding: .55em 1.2em;
	border: 1px solid color-mix(in srgb, var(--ff-on-deep) 25%, transparent);
	border-radius: 999px;
	font: normal 600 .45em/1 var(--ff-font-head);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ff-on-deep);
}

.wp-block-pullquote.is-style-ff-brand {
	margin: 2.75em 0;
	padding: 2em 1.5em;
	border: 0;
	border-top: 1px solid var(--ff-border-blue);
	border-bottom: 1px solid var(--ff-border-blue);
	color: var(--ff-text);
	text-align: center;
}
.wp-block-pullquote.is-style-ff-brand blockquote p {
	font-family: var(--ff-font-quote);
	font-style: italic;
	font-size: 1.7em;
	line-height: 1.35;
}
.wp-block-pullquote.is-style-ff-brand blockquote p::before { content: "\201C"; color: var(--ff-accent); }
.wp-block-pullquote.is-style-ff-brand blockquote p::after { content: "\201D"; color: var(--ff-accent); }
.wp-block-pullquote.is-style-ff-brand cite {
	color: var(--ff-primary);
	font: 600 .8em var(--ff-font-head);
	text-transform: uppercase;
	letter-spacing: .14em;
}

/* =====================================================================
   LISTS — icons sit in the same rounded "chip" as the website's cards
   ===================================================================== */
:is(ul, ol):is(.is-style-ff-check, .is-style-ff-arrow, .is-style-ff-star, .is-style-ff-cross) {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
}
:is(.is-style-ff-check, .is-style-ff-arrow, .is-style-ff-star, .is-style-ff-cross) > li {
	position: relative;
	padding-left: 2.3em;
	margin: .7em 0;
	line-height: 1.6;
}
:is(.is-style-ff-check, .is-style-ff-arrow, .is-style-ff-star, .is-style-ff-cross) > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .1em;
	width: 1.5em;
	height: 1.5em;
	border-radius: 7px;
	background: var(--ff-chip);
}
:is(.is-style-ff-check, .is-style-ff-arrow, .is-style-ff-star, .is-style-ff-cross) > li::after {
	content: "";
	position: absolute;
	left: .3em;
	top: .4em;
	width: .9em;
	height: .9em;
	background: var(--ff-primary);
	-webkit-mask: var(--ff-icon) center / contain no-repeat;
	mask: var(--ff-icon) center / contain no-repeat;
}
.is-style-ff-check > li { --ff-icon: var(--ff-i-check); }
.is-style-ff-arrow > li { --ff-icon: var(--ff-i-arrow); }
.is-style-ff-star > li { --ff-icon: var(--ff-i-star); }
.is-style-ff-star > li::before { background: color-mix(in srgb, var(--ff-accent) 16%, var(--ff-surface)); }
.is-style-ff-star > li::after { background: var(--ff-accent); }
.is-style-ff-cross > li { --ff-icon: var(--ff-i-cross); }
.is-style-ff-cross > li::before { background: color-mix(in srgb, #FF5C5C 16%, var(--ff-surface)); }
.is-style-ff-cross > li::after { background: #FF6B6B; }
:is(.is-style-ff-check, .is-style-ff-arrow, .is-style-ff-star, .is-style-ff-cross) li :is(ul, ol) { margin-top: .4em; }

:is(ol, ul).is-style-ff-numbered {
	list-style: none;
	counter-reset: ff-num;
	padding-left: 0;
	margin-left: 0;
}
.is-style-ff-numbered > li {
	counter-increment: ff-num;
	position: relative;
	padding-left: 2.8em;
	margin: 1em 0;
	min-height: 1.9em;
	line-height: 1.6;
}
.is-style-ff-numbered > li::before {
	content: counter(ff-num, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: -.05em;
	width: 2.1em;
	height: 2.1em;
	border-radius: 10px;
	background: var(--ff-chip);
	border: 1px solid var(--ff-border-blue);
	color: var(--ff-link);
	font: 700 .85em/2.1em var(--ff-font-head);
	text-align: center;
}

/* =====================================================================
   HEADINGS, PARAGRAPHS, IMAGES, SEPARATOR, GROUP, BUTTON
   ===================================================================== */
.is-style-ff-underline { position: relative; padding-bottom: .5em; }
.is-style-ff-underline::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 64px;
	height: 3px;
	border-radius: 3px;
	background: var(--ff-grad);
}
.has-text-align-center.is-style-ff-underline::after { left: 50%; transform: translateX(-50%); }
.is-style-ff-bar {
	padding-left: .75em;
	border-left: 3px solid var(--ff-primary);
	line-height: 1.25;
}

/* Eyebrow — "—— ABOUT THE FAITH & FUTURE SUMMIT ——" label from the website */
p.is-style-ff-eyebrow {
	display: flex;
	align-items: center;
	gap: .9em;
	margin-bottom: .4em;
	color: var(--ff-primary);
	font: 500 .8em/1.4 var(--ff-font-head);
	letter-spacing: .16em;
	text-transform: uppercase;
}
p.is-style-ff-eyebrow::before,
p.is-style-ff-eyebrow.has-text-align-center::after {
	content: "";
	flex: 0 0 2.5em;
	height: 1px;
	background: currentColor;
}
p.is-style-ff-eyebrow.has-text-align-center { justify-content: center; }

p.is-style-ff-lead {
	font-family: var(--ff-font-quote);
	font-style: italic;
	font-size: 1.35em;
	line-height: 1.5;
	color: var(--ff-text);
	padding-bottom: 1em;
	border-bottom: 1px solid var(--ff-border);
}
p.is-style-ff-highlight {
	padding: 1em 1.25em;
	border-radius: 12px;
	background: color-mix(in srgb, var(--ff-accent) 10%, var(--ff-surface));
	border: 1px solid color-mix(in srgb, var(--ff-accent) 40%, transparent);
	color: var(--ff-text);
}
p.is-style-ff-dropcap::first-letter {
	float: left;
	margin: .06em .14em 0 0;
	font: 700 3.6em/.85 var(--ff-font-head);
	background: var(--ff-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.wp-block-image.is-style-ff-shadow img {
	border-radius: var(--ff-radius);
	border: 1px solid var(--ff-border);
	box-shadow: var(--ff-glow);
}
.wp-block-image.is-style-ff-frame img {
	border-radius: var(--ff-radius);
	padding: 6px;
	background: var(--ff-grad);
	box-shadow: var(--ff-glow);
}
.wp-block-image[class*="is-style-ff-"] figcaption { font-size: .85em; color: var(--ff-muted); text-align: center; }

hr.wp-block-separator.is-style-ff-ornament {
	position: relative;
	overflow: visible;
	border: 0;
	height: 1px;
	max-width: 280px;
	margin: 3em auto;
	background: linear-gradient(90deg, transparent, var(--ff-primary), transparent);
	opacity: 1;
}
hr.wp-block-separator.is-style-ff-ornament::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 9px;
	height: 9px;
	background: var(--ff-accent);
	transform: translate(-50%, -50%) rotate(45deg);
	box-shadow: 0 0 14px color-mix(in srgb, var(--ff-accent) 70%, transparent);
}

.wp-block-group.is-style-ff-box { padding: 1.9em; }
.wp-block-group.is-style-ff-gradient {
	padding: 2.2em;
	border-radius: var(--ff-radius);
	border: 1px solid var(--ff-border-blue);
	background: var(--ff-glow-bg);
	color: var(--ff-on-deep);
}
.wp-block-group.is-style-ff-gradient :is(h1, h2, h3, h4, a) { color: var(--ff-on-deep); }

.wp-block-button.is-style-ff-brand .wp-block-button__link {
	background: var(--ff-primary);
	color: #fff;
	border-radius: 10px;
	padding: .85em 1.7em;
	font-family: var(--ff-font-head);
	font-weight: 600;
	box-shadow: 0 12px 28px -12px var(--ff-primary);
	transition: transform .2s var(--ff-ease), box-shadow .2s, filter .2s;
}
.wp-block-button.is-style-ff-brand .wp-block-button__link:hover {
	transform: translateY(-2px);
	filter: brightness(1.1);
	box-shadow: 0 16px 32px -12px var(--ff-primary);
}
.wp-block-button.is-style-ff-outline .wp-block-button__link {
	background: transparent;
	color: var(--ff-text);
	border: 1px solid color-mix(in srgb, var(--ff-text) 30%, transparent);
	border-radius: 10px;
	padding: .85em 1.7em;
	font-family: var(--ff-font-head);
	font-weight: 600;
	transition: border-color .2s, background .2s;
}
.wp-block-button.is-style-ff-outline .wp-block-button__link:hover {
	border-color: var(--ff-primary);
	background: color-mix(in srgb, var(--ff-primary) 12%, transparent);
}

.wp-block-details.is-style-ff-brand { padding: 0; margin: .75em 0; }
.wp-block-details.is-style-ff-brand summary { padding: 1.05em 1.3em; font-weight: 600; color: var(--ff-text); cursor: pointer; }
.wp-block-details.is-style-ff-brand > :not(summary) { padding: 0 1.3em; }
.wp-block-details.is-style-ff-brand[open] { border-color: var(--ff-border-blue); }

/* =====================================================================
   CALLOUT BOX
   ===================================================================== */
.ff-callout {
	--ff-c: var(--ff-accent);
	--ff-icon: var(--ff-i-tip);
	display: flex;
	gap: 1.1em;
	align-items: flex-start;
	margin: 2em 0;
	padding: 1.4em 1.5em;
	background:
		linear-gradient(90deg, color-mix(in srgb, var(--ff-c) 9%, transparent), transparent 60%),
		var(--ff-card-bg);
	border-color: color-mix(in srgb, var(--ff-c) 28%, transparent);
	line-height: 1.65;
}
.ff-callout--info { --ff-c: var(--ff-primary); --ff-icon: var(--ff-i-info); }
.ff-callout--note { --ff-c: var(--ff-secondary); --ff-icon: var(--ff-i-note); }
.ff-callout--warning { --ff-c: #F5B83D; --ff-icon: var(--ff-i-warning); }
.ff-callout--success { --ff-c: #34C38F; --ff-icon: var(--ff-i-success); }
.ff-callout--important { --ff-c: #FF5C5C; --ff-icon: var(--ff-i-important); }
.ff-callout__icon {
	position: relative;
	flex: 0 0 auto;
	width: 2.6em;
	height: 2.6em;
	border-radius: 12px;
	background: color-mix(in srgb, var(--ff-c) 16%, var(--ff-surface));
	color: var(--ff-c);
}
.ff-callout__icon::after {
	content: "";
	position: absolute;
	inset: 25%;
}
.ff-callout__body { flex: 1 1 auto; min-width: 0; padding-top: .15em; }
.ff-callout__title {
	margin: 0 0 .3em !important;
	font: 600 1.05em/1.35 var(--ff-font-head);
	color: var(--ff-text);
}
.ff-callout__content > :first-child { margin-top: 0; }
.ff-callout__content > :last-child { margin-bottom: 0; }

/* =====================================================================
   KEY TAKEAWAYS
   ===================================================================== */
.ff-takeaways {
	position: relative;
	overflow: hidden;
	margin: 2.25em 0;
	padding: 1.7em 1.8em 1.3em;
	border-color: var(--ff-border-blue);
	box-shadow: var(--ff-glow);
}
.ff-takeaways::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: var(--ff-grad);
}
.ff-takeaways__title {
	display: flex;
	align-items: center;
	gap: .9em;
	margin: 0 0 .6em !important;
	color: var(--ff-primary);
	font: 600 .82em/1.4 var(--ff-font-head);
	letter-spacing: .16em;
	text-transform: uppercase;
}
.ff-takeaways__title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, var(--ff-border-blue), transparent);
}
.ff-takeaways__content { color: var(--ff-text); }
.ff-takeaways__content > :first-child { margin-top: 0; }
.ff-takeaways__content > :last-child { margin-bottom: 0; }

/* =====================================================================
   PROS & CONS
   ===================================================================== */
.ff-pros-cons,
.ff-pros-cons > .block-editor-inner-blocks > .block-editor-block-list__layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25em;
}
.ff-pros-cons { margin: 2em 0; }
.ff-pros-cons > .block-editor-inner-blocks { grid-column: 1 / -1; }
.ff-pc {
	--ff-c: #34C38F;
	position: relative;
	overflow: hidden;
	padding: 1.5em 1.5em 1.1em;
	margin: 0 !important;
}
.ff-pc::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: var(--ff-c);
}
.ff-pc--cons { --ff-c: #FF6B6B; }
.ff-pc__title {
	margin: 0 0 .5em !important;
	font: 600 1.1em var(--ff-font-head);
	color: var(--ff-c);
}
.ff-pc .is-style-ff-check > li::before { background: color-mix(in srgb, #34C38F 16%, var(--ff-surface)); }
.ff-pc .is-style-ff-check > li::after { background: #34C38F; }
@media (max-width: 640px) {
	.ff-pros-cons,
	.ff-pros-cons > .block-editor-inner-blocks > .block-editor-block-list__layout { grid-template-columns: 1fr; }
}

/* =====================================================================
   FAQ — same look as the website's FAQ
   ===================================================================== */
.ff-faq { margin: 2em 0; display: grid; gap: .8em; }
.ff-faq > .block-editor-inner-blocks > .block-editor-block-list__layout { display: grid; gap: .8em; }
.ff-faq__item {
	overflow: hidden;
	margin: 0 !important;
	transition: border-color .25s;
}
.ff-faq__item[open], .ff-faq__item.is-editing { border-color: color-mix(in srgb, var(--ff-text) 18%, transparent); }
.ff-faq__q {
	--ff-icon: var(--ff-i-chev);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1em;
	padding: 1.15em 1.4em;
	cursor: pointer;
	font-weight: 500;
	color: var(--ff-text);
	list-style: none;
}
.ff-faq__q::-webkit-details-marker { display: none; }
.ff-faq__q-text { flex: 1 1 auto; }
.ff-faq__q::after {
	content: "";
	flex: 0 0 auto;
	width: 1.3em;
	height: 1.3em;
	transition: transform .3s var(--ff-ease);
}
.ff-faq__item[open] .ff-faq__q::after { transform: rotate(180deg); }
.ff-faq__item.is-editing .ff-faq__q::after { display: none; }
.ff-faq__a { padding: 0 1.4em 1.2em; line-height: 1.7; color: var(--ff-muted); }
.ff-faq__a > :first-child { margin-top: 0; }
.ff-faq__a > :last-child { margin-bottom: 0; }
.ff-faq__item[open] .ff-faq__a { animation: ff-fade .35s var(--ff-ease); }
@keyframes ff-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* =====================================================================
   STEPS
   ===================================================================== */
.ff-steps { margin: 2em 0; counter-reset: ff-step; color: var(--ff-muted); }
.ff-step {
	counter-increment: ff-step;
	position: relative;
	display: flex;
	gap: 1.2em;
	padding-bottom: 1.7em;
	margin: 0 !important;
}
.ff-step::before {
	content: "";
	position: absolute;
	left: 1.4em;
	top: 3em;
	bottom: .3em;
	width: 1px;
	background: linear-gradient(var(--ff-border-blue), transparent);
}
.ff-steps .ff-step:last-child::before,
.ff-steps .block-editor-block-list__layout > .ff-step:nth-last-child(2)::before { display: none; }
.ff-step__num {
	flex: 0 0 auto;
	width: 2.8em;
	height: 2.8em;
	border-radius: 12px;
	background: var(--ff-chip);
	border: 1px solid var(--ff-border-blue);
	color: var(--ff-link);
	font: 700 1em var(--ff-font-head);
	display: grid;
	place-items: center;
	box-shadow: 0 10px 24px -14px var(--ff-primary);
}
.ff-step__num::after { content: counter(ff-step, decimal-leading-zero); }
.ff-step__body { flex: 1 1 auto; min-width: 0; padding-top: .45em; }
.ff-step__title { margin: 0 0 .35em !important; font: 600 1.15em/1.35 var(--ff-font-head); color: var(--ff-text); }
.ff-step__body > :last-child { margin-bottom: 0; }

/* =====================================================================
   CTA — glowing banner like "Ready to Join the Movement?"
   ===================================================================== */
.ff-cta {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25em 2em;
	margin: 2.75em 0;
	padding: 2.3em 2.4em;
	border: 1px solid var(--ff-border-blue);
	border-radius: var(--ff-radius);
	background: var(--ff-glow-bg);
	color: var(--ff-on-deep);
	box-shadow: var(--ff-glow);
}
.ff-cta__inner { position: relative; flex: 1 1 280px; }
.ff-cta__title { margin: 0 0 .3em !important; font: 700 1.55em/1.25 var(--ff-font-head); color: var(--ff-on-deep); letter-spacing: -.01em; }
.ff-cta__text { margin: 0 !important; color: color-mix(in srgb, var(--ff-on-deep) 75%, transparent); }
.ff-cta__btn {
	position: relative;
	display: inline-block;
	padding: .9em 1.8em;
	border-radius: 10px;
	background: var(--ff-primary);
	color: #fff !important;
	font: 600 1em var(--ff-font-head);
	text-decoration: none !important;
	white-space: nowrap;
	box-shadow: 0 14px 30px -12px var(--ff-primary);
	transition: transform .2s var(--ff-ease), filter .2s;
}
.ff-cta__btn:hover { transform: translateY(-2px); filter: brightness(1.1); }

/* =====================================================================
   TABLE OF CONTENTS
   ===================================================================== */
.ff-toc { margin: 2em 0; overflow: hidden; }
.ff-toc__head {
	--ff-icon: var(--ff-i-chev);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.1em 1.4em;
	cursor: pointer;
	list-style: none;
	border-bottom: 1px solid transparent;
}
.ff-toc__head::-webkit-details-marker { display: none; }
.ff-toc[open] .ff-toc__head { border-bottom-color: var(--ff-border); }
.ff-toc__title {
	color: var(--ff-primary);
	font: 600 .82em/1.4 var(--ff-font-head);
	letter-spacing: .16em;
	text-transform: uppercase;
}
.ff-toc__toggle {
	width: 1.3em;
	height: 1.3em;
	color: var(--ff-text);
	transition: transform .3s var(--ff-ease);
}
.ff-toc[open] .ff-toc__toggle { transform: rotate(180deg); }
.ff-toc__list, .ff-toc__list ol {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: ff-toc;
}
.ff-toc__list { padding: .8em 1.1em 1.1em; }
.ff-toc__list ol { padding-left: 2.6em; margin: .1em 0 .4em; }
.ff-toc__list li { counter-increment: ff-toc; margin: .1em 0; }
.ff-toc__list a {
	display: flex;
	gap: .75em;
	padding: .4em .5em;
	border-radius: 10px;
	color: var(--ff-text);
	text-decoration: none;
	line-height: 1.45;
	transition: background .2s, color .2s;
}
.ff-toc__list > li > a::before {
	content: counter(ff-toc, decimal-leading-zero);
	flex: 0 0 auto;
	width: 2em;
	height: 1.7em;
	border-radius: 7px;
	background: var(--ff-chip);
	color: var(--ff-link);
	font: 700 .78em/1.7em var(--ff-font-head);
	text-align: center;
	margin-top: .1em;
}
.ff-toc__list ol a { font-size: .93em; color: var(--ff-muted); }
.ff-toc__list ol a::before { content: "—"; color: var(--ff-primary); }
.ff-toc__list a:hover, .ff-toc__list a.is-active { background: color-mix(in srgb, var(--ff-primary) 12%, transparent); color: var(--ff-text); }
.ff-toc__list a.is-active { box-shadow: inset 2px 0 0 var(--ff-primary); }
.ff-toc--editor .ff-toc__list .is-sub { padding-left: 2.6em; }
.ff-toc--editor .ff-toc__list .is-sub > a::before { content: "—"; background: none; width: auto; color: var(--ff-primary); }
.ff-toc__empty { padding: 1em 1.4em; margin: 0; font-style: italic; }

/* =====================================================================
   READING TIME, PROGRESS BAR, BACK TO TOP
   ===================================================================== */
.ff-reading-time {
	--ff-icon: var(--ff-i-clock);
	display: inline-flex;
	align-items: center;
	gap: .45em;
	padding: .45em 1em;
	border: 1px solid color-mix(in srgb, var(--ff-text) 25%, transparent);
	border-radius: 999px;
	color: var(--ff-text);
	font: 600 .8em var(--ff-font-head);
	letter-spacing: .02em;
}
.ff-reading-time__icon { width: 1.1em; height: 1.1em; color: var(--ff-primary); }

.ff-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 99999;
	pointer-events: none;
}
.admin-bar .ff-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .ff-progress { top: 46px; } }
.ff-progress span {
	display: block;
	height: 100%;
	width: 0;
	background: var(--ff-grad);
	box-shadow: 0 0 12px var(--ff-primary);
	transition: width .1s linear;
}

.ff-top {
	--ff-icon: var(--ff-i-up);
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 9999;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 12px;
	background: var(--ff-primary);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 12px 28px -10px var(--ff-primary);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity .3s, transform .3s var(--ff-ease), visibility .3s, filter .2s;
}
.ff-top::before { content: ""; display: block; width: 20px; height: 20px; margin: auto; }
.ff-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.ff-top:hover { filter: brightness(1.12); }

html { scroll-padding-top: 100px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
	.ff-top, .ff-progress span, .ff-faq__item[open] .ff-faq__a { transition: none; animation: none; }
}
@media print {
	.ff-progress, .ff-top { display: none !important; }
}
