/*
Theme Name: Fitcore
Theme URI: https://workoutable.com
Author: Arun Kumar T
Description: Conversion-focused parent theme for fitness and health niche sites. One main action per page type (affiliate click, free plan signup or planner), click tracking, fast pages. Brand, copy and modules are set by a child theme (Workoutable, MEC Fitness).
Version: 0.7.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fitcore
*/

/* ==========================================================================
   Tokens. Child themes override these on :root.
   ========================================================================== */
:root {
	--fc-ink: #16181d;
	--fc-ink-2: #262a33;
	--fc-bg: #f7f6f3;
	--fc-surface: #ffffff;
	--fc-action: #e4572e;
	--fc-action-hover: #ec6c47;
	--fc-action-text: #16181d;
	--fc-link: #a63d1e;
	--fc-line: #e2ddd5;
	--fc-muted: #5a6170;
	--fc-on-ink: #f7f6f3;
	--fc-on-ink-muted: #b9c0cc;
	--fc-good: #1f7a4d;

	--fc-font-head: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--fc-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--fc-head-stretch: 100%;

	--fc-step--1: 0.875rem;
	--fc-step-0: 1.125rem;
	--fc-step-1: 1.375rem;
	--fc-step-2: 1.75rem;
	--fc-step-3: 2.1875rem;
	--fc-step-4: 2.75rem;

	--fc-measure: 44rem;
	--fc-wrap: 74rem;
	--fc-gutter: 16px;
	--fc-radius: 6px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--fc-bg);
	color: var(--fc-ink);
	font: 400 var(--fc-step-0)/1.6 var(--fc-font-body);
	overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; }
a { color: var(--fc-link); text-underline-offset: 0.15em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--fc-action); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--fc-font-head); font-stretch: var(--fc-head-stretch); font-weight: 800; line-height: 1.08; margin: 0; text-wrap: balance; color: inherit; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.screen-reader-text:focus { position: static !important; width: auto; height: auto; clip: auto; }
.fc-skip { position: absolute; left: -999px; top: 8px; background: var(--fc-surface); padding: 8px 12px; z-index: 50; }
.fc-skip:focus { left: 8px; }
.fc-wrap { max-width: var(--fc-wrap); margin: 0 auto; padding: 0 var(--fc-gutter); }

/* ==========================================================================
   Header
   ========================================================================== */
.fc-header { background: var(--fc-bg); border-bottom: 1px solid var(--fc-line); position: relative; z-index: 30; }
.fc-header__bar { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.fc-header__logo { flex: none; margin-right: auto; }
.fc-header__logo a { display: block; }
.fc-logo { font: 900 1.6rem/1 var(--fc-font-head); font-stretch: var(--fc-head-stretch); color: var(--fc-ink); text-decoration: none; }
.fc-header__logo img { display: block; height: 28px; width: auto; }
.fc-header__actions { display: flex; align-items: center; gap: 6px; }
.fc-icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--fc-ink); background: none; border: 0; border-radius: var(--fc-radius); cursor: pointer; }
.fc-icon-btn:hover { background: rgba(0, 0, 0, 0.05); }
.fc-icon-btn svg { width: 22px; height: 22px; }
.fc-menu-btn__close, .fc-menu-btn[aria-expanded="true"] .fc-menu-btn__open { display: none; }
.fc-menu-btn[aria-expanded="true"] .fc-menu-btn__close { display: block; }
.fc-header__cta { display: none; white-space: nowrap; }
.fc-header__search { border-top: 1px solid var(--fc-line); padding: 14px 0; }
.fc-header__search[hidden] { display: none; }
.fc-header__search .fc-search-form { max-width: 40rem; }

.fc-nav ul { list-style: none; margin: 0; padding: 0; }
.fc-nav a { display: block; color: var(--fc-ink); text-decoration: none; font-weight: 600; }
.fc-nav__offers { display: grid; gap: 10px; margin-top: 18px; }
.fc-nav__offers a { text-align: center; }

/* Phones and tablets: the menu opens as a panel under the bar. */
@media (max-width: 1023px) {
	.fc-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 64px); overflow-y: auto; background: var(--fc-bg); border-bottom: 1px solid var(--fc-line); box-shadow: 0 16px 24px -16px rgba(0, 0, 0, 0.25); padding: 8px var(--fc-gutter) 20px; }
	.fc-nav.is-open { display: block; }
	.fc-nav a { padding: 14px 0; font-size: 1.125rem; border-bottom: 1px solid var(--fc-line); }
	.fc-nav .current-menu-item > a, .fc-nav .current-menu-ancestor > a { color: var(--fc-link); }
	.fc-nav .sub-menu a { padding-left: 18px; font-size: 1rem; font-weight: 500; }
	.fc-nav__offers .fc-btn { padding: 12px 18px; border-bottom: 2px solid transparent; }
	.fc-nav__offers .fc-btn--line { border-color: var(--fc-ink); }
}
@media (min-width: 370px) {
	.fc-header__cta { display: inline-flex; }
}
@media (max-width: 479px) {
	.fc-header__bar { gap: 6px; }
	.fc-header__actions { gap: 0; margin-right: -8px; }
	.fc-header__cta { padding-inline: 12px; margin: 0 4px; }
}
@media (min-width: 640px) {
	.fc-header__logo img { height: 34px; }
}

/* Desktop: links in the bar, one level of dropdowns. */
@media (min-width: 1024px) {
	.fc-header__bar { min-height: 72px; gap: 20px; }
	.fc-header__logo { margin-right: 8px; }
	.fc-menu-btn, .fc-nav__offers { display: none; }
	.fc-nav { flex: 1; }
	.fc-nav > ul { display: flex; align-items: center; gap: 2px; }
	.fc-nav > ul > li { position: relative; }
	.fc-nav > ul > li > a { position: relative; padding: 24px 12px; font-size: 1rem; }
	.fc-nav > ul > li > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 16px; height: 2px; background: var(--fc-action); transform: scaleX(0); transition: transform 0.15s; }
	.fc-nav > ul > li > a:hover::after, .fc-nav > ul > .current-menu-item > a::after, .fc-nav > ul > .current-menu-ancestor > a::after, .fc-nav > ul > .current-menu-parent > a::after { transform: scaleX(1); }
	.fc-nav .menu-item-has-children > a { padding-right: 26px; }
	.fc-nav .menu-item-has-children > a::before { content: ""; position: absolute; right: 10px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
	.fc-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 240px; padding: 8px; background: var(--fc-surface); border: 1px solid var(--fc-line); border-radius: var(--fc-radius); box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.3); }
	.fc-nav li:hover > .sub-menu, .fc-nav li:focus-within > .sub-menu { display: block; }
	.fc-nav .sub-menu a { padding: 10px 12px; font-size: 0.9375rem; border-radius: 4px; }
	.fc-nav .sub-menu a:hover { background: var(--fc-bg); color: var(--fc-link); }
	.fc-header__cta { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.fc-nav > ul > li > a::after { transition: none; }
}

/* ==========================================================================
   Title band
   ========================================================================== */
.fc-band { background: var(--fc-ink); color: var(--fc-on-ink); padding: 28px 0 32px; }
.fc-band.has-overlap { padding-bottom: 88px; }
.fc-crumbs { font-size: var(--fc-step--1); color: var(--fc-on-ink-muted); margin-bottom: 14px; }
.fc-crumbs a { color: var(--fc-on-ink-muted); }
.fc-band h1 { font-size: clamp(2rem, 7.5vw, 3.75rem); max-width: 26ch; color: #fff; }
.fc-band__lede { margin: 14px 0 0; color: var(--fc-on-ink-muted); max-width: 60ch; }
.fc-byline { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: var(--fc-step--1); line-height: 1.45; }
.fc-byline img, .fc-avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; }
.fc-avatar { background: var(--fc-on-ink); color: var(--fc-ink); display: grid; place-items: center; font: 800 1rem/1 var(--fc-font-head); }
.fc-byline strong { color: #fff; font-weight: 600; }
.fc-byline .fc-cred { color: var(--fc-on-ink-muted); }
.fc-byline a { color: inherit; }
.fc-cred-long { display: none; }
@media (min-width: 700px) { .fc-cred-long { display: inline; } .fc-cred-short { display: none; } }
.fc-disclosure { margin: 14px 0 0; font-size: var(--fc-step--1); color: var(--fc-on-ink-muted); max-width: 60ch; }
.fc-disclosure a { color: var(--fc-on-ink-muted); }

/* ==========================================================================
   Layout
   ========================================================================== */
.fc-layout { display: grid; gap: 40px; padding-bottom: 64px; }
.fc-main { min-width: 0; max-width: var(--fc-measure); }
.fc-rail { display: none; }
@media (min-width: 1100px) {
	.fc-layout.has-rail { grid-template-columns: minmax(0, var(--fc-measure)) 300px; justify-content: space-between; }
	.fc-rail { display: block; }
}
.fc-layout.is-full .fc-main { max-width: none; }
.fc-page-full { padding: 0; }

/* ==========================================================================
   The rank plate
   ========================================================================== */
.fc-plate {
	--s: 3.25rem;
	flex: none;
	width: var(--s); height: var(--s);
	border-radius: 50%;
	background: var(--fc-ink);
	color: var(--fc-on-ink);
	display: inline-grid; place-items: center;
	font: 900 calc(var(--s) * 0.56)/1 var(--fc-font-head);
	font-stretch: 62%;
	font-variant-numeric: tabular-nums;
	box-shadow: inset 0 0 0 4px var(--fc-ink), inset 0 0 0 6px rgba(255, 255, 255, 0.28);
}
.fc-plate--lg { --s: 4.5rem; }
.fc-plate--sm { --s: 2.25rem; box-shadow: inset 0 0 0 3px var(--fc-ink), inset 0 0 0 4px rgba(255, 255, 255, 0.28); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.fc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 52px; padding: 12px 22px;
	border-radius: var(--fc-radius); border: 2px solid transparent;
	font: 700 1.0625rem/1.2 var(--fc-font-body);
	text-decoration: none; text-align: center; cursor: pointer;
}
.fc-btn:hover { text-decoration: none; }
.fc-btn--buy { background: var(--fc-action); color: var(--fc-action-text); }
.fc-btn--buy:hover { background: var(--fc-action-hover); color: var(--fc-action-text); }
.fc-btn--ink { background: var(--fc-ink); color: var(--fc-on-ink); }
.fc-btn--ink:hover { background: var(--fc-ink-2); color: var(--fc-on-ink); }
.fc-btn--line { background: transparent; color: var(--fc-ink); border-color: var(--fc-ink); }
.fc-btn--line:hover { background: var(--fc-surface); color: var(--fc-ink); }
.fc-btn--on-ink { background: transparent; color: var(--fc-on-ink); border-color: var(--fc-on-ink); }
.fc-btn--on-ink:hover { background: var(--fc-ink-2); color: var(--fc-on-ink); }
.fc-btn--block { width: 100%; }
.fc-btn--sm { min-height: 44px; padding: 8px 16px; font-size: 0.9375rem; }

/* ==========================================================================
   Top-pick box
   ========================================================================== */
.fc-top-pick {
	position: relative; margin-top: -64px;
	background: var(--fc-surface); border: 1px solid var(--fc-line); border-radius: var(--fc-radius);
	padding: 28px 20px 20px;
	display: grid; gap: 14px 16px;
	grid-template-columns: 96px 1fr;
	grid-template-areas: "img head" "facts facts" "cta cta";
}
.fc-top-pick .fc-plate { position: absolute; top: -26px; right: 16px; --s: 3.5rem; }
.fc-top-pick__head { grid-area: head; align-self: center; }
.fc-top-pick__label { font-size: var(--fc-step--1); font-weight: 700; color: var(--fc-muted); margin: 0 0 2px; }
.fc-top-pick__name { font-size: var(--fc-step-1); }
.fc-top-pick__img { grid-area: img; justify-self: center; width: 96px; height: 96px; object-fit: contain; }
.fc-top-pick .fc-facts { grid-area: facts; font-size: 0.9375rem; gap: 4px; }
.fc-top-pick__cta { grid-area: cta; }
@media (min-width: 640px) {
	.fc-top-pick { grid-template-columns: auto 200px 1fr; grid-template-areas: "plate img head" "plate img facts" "plate img cta"; align-items: start; padding: 24px; column-gap: 24px; }
	.fc-top-pick .fc-plate { position: static; grid-area: plate; --s: 4.5rem; }
	.fc-top-pick__img { width: 200px; height: 200px; align-self: center; }
	.fc-top-pick__head { align-self: end; }
	.fc-top-pick__name { font-size: var(--fc-step-2); }
}
.fc-facts { margin: 0; display: grid; gap: 6px; font-size: 1rem; }
.fc-facts div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--fc-line); padding-bottom: 6px; }
.fc-facts dt { color: var(--fc-muted); }
.fc-facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.fc-best-for { display: inline-block; margin-top: 6px; font-size: var(--fc-step--1); font-weight: 700; color: var(--fc-good); }

/* ==========================================================================
   Free plan card (exercise pages)
   ========================================================================== */
.fc-plan-card {
	position: relative; margin-top: -64px;
	background: var(--fc-surface); border: 1px solid var(--fc-line); border-radius: var(--fc-radius);
	padding: 20px; display: grid; gap: 14px;
}
.fc-plan-card h2 { font-size: var(--fc-step-2); }
.fc-plan-card p { margin: 0; color: var(--fc-muted); font-size: 1rem; }
.fc-plan-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 1rem; }
.fc-plan-card li::before { content: "\2713"; color: var(--fc-good); font-weight: 700; margin-right: 8px; }
@media (min-width: 640px) {
	.fc-plan-card { grid-template-columns: 1fr auto; align-items: center; padding: 24px 28px; column-gap: 32px; }
	.fc-plan-card .fc-btn { grid-column: 2; grid-row: 1 / span 3; }
}
.fc-no-overlap { margin-top: 24px; }

/* ==========================================================================
   Entry content (classic HTML posts)
   ========================================================================== */
.fc-entry { padding-top: 32px; }
.fc-entry > * { max-width: 100%; }
.fc-entry h2 { font-size: var(--fc-step-3); margin: 48px 0 16px; }
.fc-entry h3 { font-size: var(--fc-step-2); margin: 32px 0 12px; }
.fc-entry h4 { font-size: var(--fc-step-1); margin: 24px 0 8px; }
.fc-entry ul, .fc-entry ol { padding-left: 1.4em; margin: 0 0 1em; }
.fc-entry li { margin-bottom: 6px; }
.fc-entry img { height: auto; }
.fc-entry figure { margin: 24px 0; }
.fc-entry figcaption { font-size: var(--fc-step--1); color: var(--fc-muted); margin-top: 6px; }
.fc-entry blockquote { margin: 24px 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--fc-ink); }
.fc-entry iframe { max-width: 100%; }
.fc-entry table { width: 100%; border-collapse: collapse; font-size: 1rem; margin: 16px 0 24px; background: var(--fc-surface); }
.fc-entry th, .fc-entry td { border: 1px solid var(--fc-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.fc-entry .alignleft { float: left; margin: 0 20px 12px 0; }
.fc-entry .alignright { float: right; margin: 0 0 12px 20px; }
.fc-entry .aligncenter { margin-left: auto; margin-right: auto; display: block; }
.fc-entry .wp-block-image img { height: auto; }
.fc-page-links { margin: 24px 0; }

/* Easy Table of Contents */
.fc-entry #ez-toc-container { background: transparent; border: 1px solid var(--fc-line); border-radius: var(--fc-radius); box-shadow: none; padding: 14px 18px; width: 100%; margin: 24px 0; font-size: 1rem; }
.fc-entry #ez-toc-container .ez-toc-title { font-weight: 700; font-size: 1rem; }
.fc-entry #ez-toc-container a { color: var(--fc-ink); }

/* Video: thumbnail first, YouTube loads on tap */
.fc-video { position: relative; aspect-ratio: 16 / 9; background: var(--fc-ink) center / cover no-repeat; border-radius: var(--fc-radius); overflow: hidden; margin: 16px 0 20px; max-width: 100%; }
.fc-video button { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(0, 0, 0, 0.22); cursor: pointer; display: grid; place-items: center; color: var(--fc-on-ink); padding: 0; }
.fc-video button:hover { background: rgba(0, 0, 0, 0.08); }
.fc-video__play { width: 68px; height: 68px; border-radius: 50%; background: var(--fc-ink); display: grid; place-items: center; }
.fc-video__play::before { content: ""; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--fc-on-ink); margin-left: 5px; }
.fc-video__label { position: absolute; left: 12px; bottom: 10px; background: var(--fc-ink); padding: 6px 10px; border-radius: 4px; font: 600 var(--fc-step--1)/1 var(--fc-font-body); }
.fc-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Email signup blocks (Kit forms from the plugin and Ad Inserter) */
.fc-optin, .fc-entry .wk-mid-optin {
	background: var(--fc-surface); border: 1px solid var(--fc-line); border-left: 6px solid var(--fc-ink);
	border-radius: var(--fc-radius); padding: 6px 10px; margin: 32px 0 !important; min-height: 60px;
}
.fc-optin--end { border-left-color: var(--fc-action); }
.fc-optin .formkit-form, .fc-entry .wk-mid-optin .formkit-form { max-width: 100% !important; margin: 0 auto !important; border: 0 !important; box-shadow: none !important; }

/* Mid-article planner CTA and promo banners */
.fc-promo, .fc-inline-cta {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
	background: var(--fc-surface); border: 1px solid var(--fc-line); border-radius: var(--fc-radius);
	padding: 18px 20px; margin: 32px 0;
}
.fc-promo p, .fc-inline-cta p { margin: 0; max-width: 46ch; font-size: 1rem; }
.fc-promo strong, .fc-inline-cta strong { display: block; font-size: 1.0625rem; }
.fc-promo span, .fc-inline-cta span { color: var(--fc-muted); }
.fc-promo--planner { background: transparent; }
.fc-promo--dark { background: var(--fc-ink); color: var(--fc-on-ink); border-color: var(--fc-ink); }
.fc-promo--dark span { color: var(--fc-on-ink-muted); }

/* ==========================================================================
   Planner panel, author, related
   ========================================================================== */
.fc-planner { background: var(--fc-ink); color: var(--fc-on-ink); border-radius: var(--fc-radius); padding: 28px 22px; margin: 40px 0; display: grid; gap: 14px; }
.fc-planner h2 { font-size: var(--fc-step-3); color: #fff; margin: 0; }
.fc-planner p { margin: 0; color: var(--fc-on-ink-muted); max-width: 48ch; }
.fc-planner .fc-price { color: #fff; font: 800 var(--fc-step-2)/1 var(--fc-font-head); font-stretch: var(--fc-head-stretch); }
.fc-planner .fc-price small { font: 400 var(--fc-step--1)/1 var(--fc-font-body); color: var(--fc-on-ink-muted); margin-left: 8px; }
@media (min-width: 640px) { .fc-planner { padding: 36px; } }
.fc-planner--quiet { background: transparent; color: var(--fc-ink); border: 1px solid var(--fc-line); }
.fc-planner--quiet h2 { color: var(--fc-ink); font-size: var(--fc-step-2); }
.fc-planner--quiet p { color: var(--fc-muted); }

.fc-author { display: grid; grid-template-columns: auto 1fr; gap: 16px; border-top: 1px solid var(--fc-line); padding-top: 28px; margin-top: 48px; }
.fc-author img { width: 64px; height: 64px; border-radius: 50%; }
.fc-author h2 { font-size: var(--fc-step-1); margin: 0 0 6px; }
.fc-author p { font-size: 1rem; color: var(--fc-muted); margin: 0; }

.fc-related, .fc-entry .yarpp-related { margin-top: 48px; }
.fc-related h2, .fc-entry .yarpp-related h3 { font-size: var(--fc-step-2); margin: 0 0 16px; }
.fc-related ul, .fc-entry .yarpp-related ol, .fc-entry .yarpp-related ul { list-style: none; padding: 0; margin: 0; }
.fc-related li, .fc-entry .yarpp-related li { border-top: 1px solid var(--fc-line); margin: 0; }
.fc-related a, .fc-entry .yarpp-related a { display: block; padding: 14px 0; color: var(--fc-ink); text-decoration: none; font-weight: 600; }
.fc-related a:hover, .fc-entry .yarpp-related a:hover { text-decoration: underline; }
.fc-related small { display: block; color: var(--fc-muted); font-weight: 400; font-size: var(--fc-step--1); }

.fc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; font-size: var(--fc-step--1); }
.fc-tags a { color: var(--fc-muted); border: 1px solid var(--fc-line); border-radius: 999px; padding: 4px 12px; text-decoration: none; }
.fc-post-nav { display: grid; gap: 12px; margin-top: 40px; font-size: 1rem; }
@media (min-width: 640px) { .fc-post-nav { grid-template-columns: 1fr 1fr; } .fc-post-nav .fc-next { text-align: right; } }
.fc-post-nav a { color: var(--fc-ink); font-weight: 600; text-decoration: none; }
.fc-post-nav small { display: block; color: var(--fc-muted); font-weight: 400; }

/* ==========================================================================
   Sticky action: bottom bar on phones, rail card on desktop
   ========================================================================== */
.fc-sticky-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
	background: var(--fc-surface); border-top: 1px solid var(--fc-line);
	box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.12);
	padding: 10px var(--fc-gutter) calc(10px + env(safe-area-inset-bottom));
	display: flex; align-items: center; gap: 12px;
	transform: translateY(110%); visibility: hidden; transition: transform 0.25s ease, visibility 0.25s;
}
.fc-sticky-bar.is-on { transform: none; visibility: visible; }
.fc-sticky-bar img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.fc-sticky-bar__text { flex: 1; min-width: 0; font-size: 0.9375rem; font-weight: 700; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fc-sticky-bar .fc-btn { flex: none; min-height: 48px; padding: 10px 16px; font-size: 0.9375rem; }
@media (min-width: 1100px) { .fc-sticky-bar { display: none; } }

.fc-rail-card {
	position: sticky; top: 24px; margin-top: 32px;
	background: var(--fc-surface); border: 1px solid var(--fc-line); border-radius: var(--fc-radius);
	padding: 20px; display: grid; gap: 12px;
	opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s;
}
.fc-rail-card.is-on { opacity: 1; visibility: visible; }
.fc-rail-card img { width: 140px; height: 140px; object-fit: contain; justify-self: center; }
.fc-rail-card__label { display: flex; align-items: center; gap: 10px; font-size: var(--fc-step--1); font-weight: 700; color: var(--fc-muted); }
.fc-rail-card h2 { font-size: var(--fc-step-1); }
.fc-rail-card p { margin: 0; font-size: 0.9375rem; color: var(--fc-muted); }
@media (prefers-reduced-motion: reduce) { .fc-sticky-bar, .fc-rail-card { transition: none; } }

/* ==========================================================================
   Archives, cards, pagination, search, 404
   ========================================================================== */
.fc-archive-head { padding: 32px 0; }
.fc-archive-head h1 { font-size: clamp(2rem, 6vw, 3rem); }
.fc-archive-head p { color: var(--fc-on-ink-muted); max-width: 60ch; margin: 12px 0 0; }
.fc-cards { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 20px; }
@media (min-width: 640px) { .fc-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .fc-cards { grid-template-columns: 1fr 1fr 1fr; } }
.fc-card { background: var(--fc-surface); border: 1px solid var(--fc-line); border-radius: var(--fc-radius); overflow: hidden; display: flex; flex-direction: column; }
.fc-card__img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; display: block; background: var(--fc-line); }
.fc-card__body { padding: 16px 18px 20px; display: grid; gap: 8px; }
.fc-card__cat { font-size: var(--fc-step--1); font-weight: 700; color: var(--fc-muted); }
.fc-card h2 { font-size: var(--fc-step-1); }
.fc-card h2 a { color: var(--fc-ink); text-decoration: none; }
.fc-card h2 a:hover { text-decoration: underline; }
.fc-card p { margin: 0; font-size: 1rem; color: var(--fc-muted); }
.fc-pagination { margin: 8px 0 56px; }
.fc-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.fc-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--fc-line); border-radius: var(--fc-radius); color: var(--fc-ink); text-decoration: none; background: var(--fc-surface); }
.fc-pagination .current { background: var(--fc-ink); color: var(--fc-on-ink); border-color: var(--fc-ink); }
.fc-plan-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; background: var(--fc-surface); border: 1px solid var(--fc-line); border-radius: var(--fc-radius); padding: 18px 20px; margin-top: -40px; position: relative; }
.fc-plan-banner p { margin: 0; }
.fc-search-form { display: flex; gap: 8px; max-width: 520px; }
.fc-search-form input[type="search"] { flex: 1; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 1rem; border: 1px solid #c9bfb1; border-radius: var(--fc-radius); background: var(--fc-surface); color: var(--fc-ink); }
.fc-404 ul { padding-left: 1.2em; }

/* Comments */
.fc-comments { margin-top: 48px; border-top: 1px solid var(--fc-line); padding-top: 28px; font-size: 1rem; }
.fc-comments ol { list-style: none; padding: 0; }
.fc-comments textarea, .fc-comments input[type="text"], .fc-comments input[type="email"], .fc-comments input[type="url"] { width: 100%; padding: 10px 12px; font: inherit; border: 1px solid #c9bfb1; border-radius: var(--fc-radius); }

/* ==========================================================================
   Footer
   ========================================================================== */
.fc-footer { background: var(--fc-ink); color: var(--fc-on-ink-muted); padding: 40px 0 96px; font-size: var(--fc-step--1); }
.fc-footer .fc-logo { color: var(--fc-on-ink); }
.fc-footer .fc-logo img { filter: none; }
.fc-footer ul { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.fc-footer a { color: var(--fc-on-ink); }
.fc-footer p { max-width: 70ch; }
.fc-footer .widget { margin: 18px 0; }
@media (min-width: 1100px) { .fc-footer { padding-bottom: 40px; } }

/* ==========================================================================
   Older review format as product cards (inc/content-filters.php: fitcore_product_sections)
   ========================================================================== */
.fc-product {
	counter-increment: fc-sec;
	background: var(--fc-surface); border: 1px solid var(--fc-line); border-radius: var(--fc-radius);
	padding: 20px; margin: 32px 0;
}
.fc-product > h2 { display: flex; gap: 14px; align-items: center; margin: 0 0 16px; font-size: var(--fc-step-2); line-height: 1.1; }
.fc-product > h2::before {
	content: counter(fc-sec); flex: none;
	--s: 3.25rem; width: var(--s); height: var(--s); border-radius: 50%;
	background: var(--fc-ink); color: var(--fc-on-ink);
	display: grid; place-items: center;
	font: 900 1.8rem/1 var(--fc-font-head); font-stretch: 62%; font-variant-numeric: tabular-nums;
	box-shadow: inset 0 0 0 4px var(--fc-ink), inset 0 0 0 6px rgba(255, 255, 255, 0.28);
}
.fc-product .body-image-wrapper { margin: 0 0 16px !important; }
.fc-product .body-image-wrapper img { display: block; width: 100%; height: auto !important; max-height: 340px; object-fit: cover; border-radius: var(--fc-radius); }
.fc-product__best { margin: 16px 0; padding: 12px 14px; border-left: 3px solid var(--fc-good); background: var(--fc-bg); font-size: 1rem; }
.fc-product__best span { display: block; color: var(--fc-good); font-weight: 700; font-size: var(--fc-step--1); margin-bottom: 2px; }
.fc-pcs { display: grid; gap: 12px; margin: 16px 0; }
.fc-pc { border: 1px solid var(--fc-line); border-radius: var(--fc-radius); padding: 14px 16px; background: var(--fc-surface); }
.fc-pc__head { margin: 0 0 8px; font-weight: 800; font-family: var(--fc-font-head); font-stretch: var(--fc-head-stretch, 72%); font-size: var(--fc-step-1); }
.fc-pc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fc-pc li { position: relative; margin: 0; padding-left: 26px; font-size: 1rem; line-height: 1.45; }
.fc-pc li::before { position: absolute; left: 0; top: 0; width: 18px; text-align: center; font-weight: 800; }
.fc-pc--pros .fc-pc__head { color: var(--fc-good); }
.fc-pc--pros li::before { content: "\2713"; color: var(--fc-good); }
.fc-pc--cons .fc-pc__head { color: var(--fc-muted); }
.fc-pc--cons li::before { content: "\2212"; color: var(--fc-muted); }
.fc-product__cta { margin: 16px 0 0; }
.fc-product .wk-mid-optin, .fc-product .afxshop { margin-left: 0; margin-right: 0; }
@media (min-width: 640px) {
	.fc-product { padding: 28px; }
	.fc-pcs { grid-template-columns: 1fr 1fr; }
	.fc-product__cta .fc-btn { width: auto; min-width: 260px; }
}
/* Affiai single-product box (anywhere in the content, and under headings in the oldest reviews):
   photo + name + the standard outline button. */
.fc-product .amazon_wrapper { margin: 0 0 16px; }
.fc-entry .afxshop-box { margin: 0; font-family: inherit; }
.fc-entry .afxshop-box * { font-family: inherit; }
.fc-entry .afxshop-box .afxshop-list { list-style: none; margin: 0; padding: 0; }
.fc-entry .afxshop-box .afxshop-image { padding: 0 !important; margin: 0 !important; height: auto !important; position: static; }
.fc-entry .afxshop-box .afxshop-image img { position: static !important; display: block; width: 96px !important; height: 96px !important; min-height: 0 !important; max-height: none !important; padding: 0 !important; object-fit: contain; }
.fc-entry .afxshop-box .afxshop-title { margin: 0 !important; padding: 0 !important; max-height: none !important; height: auto !important; }
.fc-entry .afxshop-box .afxshop-offer { padding: 0 !important; margin: 0; }
.fc-entry .afxshop-box .afxshop-wrap { display: block; }
.fc-entry .afxshop-box .afxshop-item {
	display: grid !important; grid-template-columns: 96px minmax(0, 1fr); gap: 12px 16px; align-items: center;
	margin: 0; padding: 14px; border: 1px solid var(--fc-line); border-radius: var(--fc-radius); background: var(--fc-bg);
}
.fc-entry .afxshop-box .afxshop-header,
.fc-entry .afxshop-box .afxshop-content,
.fc-entry .afxshop-box .afxshop-side { flex: none !important; width: auto; min-width: 0; padding: 0; }
.fc-entry .afxshop-box .afxshop-side { grid-column: 1 / -1; }
.fc-entry .afxshop-box .afxshop-image img { width: 96px; height: 96px; object-fit: contain; margin: 0; }
.fc-entry .afxshop-box .afxshop-title { color: var(--fc-ink); font-size: 0.9375rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fc-entry .afxshop-box a { text-decoration: none; color: inherit; }
.fc-entry .afxshop-box .afxshop-btn { margin: 0; padding: 0; }
.fc-entry .afxshop-box .afxshop-button {
	display: flex; line-height: 1.2; align-items: center; justify-content: center; width: 100% !important; min-width: 0; min-height: 48px; margin: 0; padding: 10px 16px;
	background: transparent !important; background-color: transparent !important; color: var(--fc-ink) !important;
	border: 2px solid var(--fc-ink); border-radius: var(--fc-radius); text-shadow: none; font-size: 1rem; font-weight: 700; white-space: normal;
}
.fc-entry .afxshop-box .afxshop-button::before { content: "Check price on Amazon"; }
.fc-entry .afxshop-box .afxshop-button::after { content: none; display: none; }
.fc-entry .afxshop-box a:hover .afxshop-button { background: var(--fc-ink) !important; color: var(--fc-on-ink) !important; opacity: 1; }
.fc-pc--text p:not(.fc-pc__head) { margin: 0 0 8px; font-size: 1rem; line-height: 1.5; }
.fc-pc--text p:last-child { margin-bottom: 0; }
@media (min-width: 640px) {
	.fc-entry .afxshop-box .afxshop-item { grid-template-columns: 96px minmax(0, 1fr) auto; }
	.fc-entry .afxshop-box .afxshop-side { grid-column: auto; }
	.fc-entry .afxshop-box .afxshop-button { width: auto !important; white-space: nowrap; }
}

/* ==========================================================================
   Affiai product grids ("recommended products"): rows on phones, 3 cards on wide screens.
   Overrides the plugin's look (purple gradient button, 200px image box, centred big titles).
   ========================================================================== */
.fc-entry .afxshop-grid { margin: 24px 0; font-family: inherit; }
.fc-entry .afxshop-grid * { font-family: inherit; }
.fc-entry .afxshop-grid .afxshop-list { display: grid !important; gap: 12px; margin: 0 !important; padding: 0; list-style: none; }
.fc-entry .afxshop-grid .afxshop-item {
	display: flex !important; flex-direction: column; gap: 12px; min-width: 0 !important; margin: 0 !important; padding: 12px !important;
	background: var(--fc-surface); border: 1px solid var(--fc-line); border-radius: var(--fc-radius); box-shadow: none !important;
	text-align: left !important; cursor: default;
}
.fc-entry .afxshop-grid .afxshop-header { padding: 0 !important; width: 100%; }
.fc-entry .afxshop-grid .afxshop-header > a { display: flex !important; align-items: center; gap: 14px; text-decoration: none; color: var(--fc-ink); }
.fc-entry .afxshop-grid .afxshop-image { flex: none; width: 88px; height: auto !important; padding: 0 !important; margin: 0 !important; overflow: visible; }
.fc-entry .afxshop-grid .afxshop-image img { position: static !important; display: block; width: 88px !important; height: 88px !important; min-height: 0 !important; padding: 0 !important; object-fit: contain; }
.fc-entry .afxshop-grid .afxshop-content { padding: 0; min-width: 0; }
.fc-entry .afxshop-grid .afxshop-title {
	margin: 0 !important; padding: 0 !important; max-height: none !important; text-align: left !important;
	font-size: 0.9375rem; font-weight: 600; line-height: 1.4; color: var(--fc-ink);
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.fc-entry .afxshop-grid .afxshop-footer,
.fc-entry .afxshop-grid .afxshop-offer { padding: 0 !important; margin: 0; }
.fc-entry .afxshop-grid .afxshop-offer > a { display: block !important; text-decoration: none; }
.fc-entry .afxshop-grid .afxshop-wrap { display: block; }
.fc-entry .afxshop-grid .afxshop-btn { margin: 0; padding: 0; }
.fc-entry .afxshop-grid .afxshop-button {
	display: flex; align-items: center; justify-content: center; width: 100% !important; min-width: 0; min-height: 44px; margin: 0; padding: 8px 12px;
	background: transparent !important; background-color: transparent !important; color: var(--fc-ink) !important;
	border: 2px solid var(--fc-ink); border-radius: var(--fc-radius); text-shadow: none; font-size: 0.9375rem; font-weight: 700; line-height: 1.2; white-space: normal;
}
.fc-entry .afxshop-grid .afxshop-button::before { content: "Check price on Amazon"; }
.fc-entry .afxshop-grid .afxshop-button::after { content: none; display: none; }
.fc-entry .afxshop-grid .afxshop-offer > a:hover .afxshop-button { background: var(--fc-ink) !important; color: var(--fc-on-ink) !important; opacity: 1; }
@media (min-width: 640px) {
	.fc-entry .afxshop-grid .afxshop-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.fc-entry .afxshop-grid .afxshop-item { justify-content: space-between; }
	.fc-entry .afxshop-grid .afxshop-header > a { flex-direction: column; align-items: stretch; gap: 10px; }
	.fc-entry .afxshop-grid .afxshop-image { width: 100%; }
	.fc-entry .afxshop-grid .afxshop-image img { width: 100% !important; height: 140px !important; }
}

/* ==========================================================================
   Exercise pages: numbered exercise blocks and numbered steps (inc/content-filters.php: fitcore_exercise_sections)
   ========================================================================== */
.fc-entry { counter-reset: fc-sec fc-ex; }
.fc-exercise { counter-increment: fc-ex; margin: 40px 0; padding-top: 28px; border-top: 1px solid var(--fc-line); }
.fc-exercise > h3 { display: flex; gap: 14px; align-items: center; margin: 0 0 16px; font-size: var(--fc-step-2); line-height: 1.1; }
.fc-exercise > h3::before {
	content: counter(fc-ex); flex: none;
	--s: 3.25rem; width: var(--s); height: var(--s); border-radius: 50%;
	background: var(--fc-ink); color: var(--fc-on-ink);
	display: grid; place-items: center;
	font: 900 1.8rem/1 var(--fc-font-head); font-stretch: 62%; font-variant-numeric: tabular-nums;
	box-shadow: inset 0 0 0 4px var(--fc-ink), inset 0 0 0 6px rgba(255, 255, 255, 0.28);
}
.fc-exercise .embed-youtube { margin-bottom: 20px !important; border-radius: var(--fc-radius); overflow: hidden; }
.fc-steps__intro { font-weight: 700; margin-bottom: 10px; }
.fc-entry ul.fc-steps { list-style: none; margin: 0 0 20px; padding: 0; counter-reset: fc-step; display: grid; gap: 10px; }
.fc-entry ul.fc-steps > li { counter-increment: fc-step; position: relative; margin: 0; padding: 2px 0 0 40px; line-height: 1.5; }
.fc-entry ul.fc-steps > li::before {
	content: counter(fc-step); position: absolute; left: 0; top: 0;
	width: 28px; height: 28px; border-radius: 50%; background: var(--fc-ink); color: var(--fc-on-ink);
	display: grid; place-items: center; font: 700 0.875rem/1 var(--fc-font-body); font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Text pages: About, policies, contact (page.php, inc/pages.php)
   ========================================================================== */
.fc-band--page { padding: 32px 0 36px; }
.fc-page-date { margin: 16px 0 0; font-size: var(--fc-step--1); color: var(--fc-on-ink-muted); }
.fc-band__grid { display: grid; gap: 28px; }
@media (min-width: 900px) {
	.fc-band--page { padding: 48px 0 52px; }
	.fc-band__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: center; }
}

/* Coach card (profile pages) */
.fc-profile { background: var(--fc-bg); color: var(--fc-ink); border-radius: var(--fc-radius); padding: 20px; }
.fc-profile__head { display: flex; gap: 14px; align-items: center; }
.fc-profile__img { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.fc-profile__name { margin: 0; font: 800 var(--fc-step-1)/1.1 var(--fc-font-head); font-stretch: var(--fc-head-stretch); }
.fc-profile__cred { margin: 4px 0 0; font-size: var(--fc-step--1); line-height: 1.4; color: var(--fc-muted); }
.fc-profile__facts { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--fc-line); display: grid; gap: 8px; font-size: 1rem; font-weight: 600; line-height: 1.35; }
.fc-profile__facts li { position: relative; padding-left: 24px; }
.fc-profile__facts li::before { content: "\2713"; position: absolute; left: 0; color: var(--fc-good); font-weight: 800; }

/* Page body: each H2 starts a clearly separated section. */
.fc-entry--page > :first-child { margin-top: 0; }
.fc-entry--page h2 { padding-top: 28px; border-top: 1px solid var(--fc-line); scroll-margin-top: 24px; }
.fc-entry--page > h2:first-child { padding-top: 0; border-top: 0; }
.fc-entry--page h3 { scroll-margin-top: 24px; }
.fc-entry p.fc-tick { position: relative; padding-left: 30px; }
.fc-entry p.fc-tick::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--fc-good); font-weight: 800; }

/* "On this page" and the page-family menu */
.fc-pagenav__head { margin: 0 0 10px; font-size: var(--fc-step--1); font-weight: 700; color: var(--fc-muted); }
.fc-toc ol, .fc-family ul { list-style: none; margin: 0; padding: 0; }
.fc-toc li, .fc-family li { margin: 0; }
.fc-toc a, .fc-family a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--fc-line); color: var(--fc-ink); text-decoration: none; font-size: 1rem; line-height: 1.35; }
.fc-toc a:hover, .fc-family a:hover { border-left-color: var(--fc-ink); color: var(--fc-link); }
.fc-family a[aria-current="page"] { border-left-color: var(--fc-action); font-weight: 700; }
.fc-toc--inline { margin-top: 28px; padding: 0 16px; background: var(--fc-surface); border: 1px solid var(--fc-line); border-radius: var(--fc-radius); }
.fc-toc--inline summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; cursor: pointer; font-weight: 700; list-style: none; }
.fc-toc--inline summary::-webkit-details-marker { display: none; }
.fc-toc--inline summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; line-height: 1; }
.fc-toc--inline[open] summary::after { content: "2"; }
.fc-toc--inline ol { padding-bottom: 12px; }
.fc-family--end { margin-top: 48px; padding: 20px; background: var(--fc-surface); border: 1px solid var(--fc-line); border-radius: var(--fc-radius); }
@media (min-width: 1100px) {
	.fc-rail.fc-pagenav { position: sticky; top: 24px; align-self: start; display: grid; gap: 36px; padding-top: 32px; max-height: calc(100vh - 48px); overflow-y: auto; }
	.fc-toc--inline, .fc-family--end { display: none; }
}

/* Kadence Blocks rows and contact form inside pages: the theme's spacing and fields. */
.fc-entry .kb-row-layout-wrap { margin: 0 !important; background: none !important; }
.fc-entry .kb-row-layout-wrap > .kt-row-column-wrap { padding: 0 !important; max-width: none !important; }
.fc-entry .kt-inside-inner-col { padding: 0 !important; }
.fc-entry .wp-block-kadence-form { margin: 0 0 32px; padding: 22px; background: var(--fc-surface); border: 1px solid var(--fc-line); border-radius: var(--fc-radius); }
.fc-entry .kb-form .kadence-blocks-form-field > label { font-size: 1rem !important; font-weight: 700 !important; color: var(--fc-ink) !important; }
.fc-entry .kb-form .kadence-blocks-form-field label .required { color: var(--fc-link) !important; }
.fc-entry .kb-form .kb-text-style-field { width: 100%; min-height: 48px; padding: 10px 12px; font: inherit !important; font-size: 1rem !important; color: var(--fc-ink) !important; background: var(--fc-bg); border: 1px solid #c9c3b8 !important; border-radius: var(--fc-radius); }
.fc-entry .kb-form .kb-text-style-field:focus { border-color: var(--fc-ink) !important; outline: 3px solid var(--fc-action); outline-offset: 1px; }
.fc-entry .kb-form .kb-forms-submit { min-height: 50px; padding: 0 24px; background: var(--fc-ink) !important; color: var(--fc-on-ink) !important; border: 0; border-radius: var(--fc-radius) !important; font: 700 1rem/1 var(--fc-font-body) !important; cursor: pointer; }
.fc-entry .kb-form .kb-forms-submit:hover { background: var(--fc-ink-2) !important; }

/* ==========================================================================
   Tag filter: chips to filter a tagged list (inc/content-filters.php: fitcore_tag_filter)
   ========================================================================== */
.fc-tagfilter { margin: 20px 0 32px; padding: 18px; background: var(--fc-surface); border: 1px solid var(--fc-line); border-radius: var(--fc-radius); display: grid; gap: 14px; }
.fc-tagfilter[hidden] { display: none; }
.fc-tagfilter__group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fc-tagfilter__label { flex: 0 0 100%; font-size: var(--fc-step--1); font-weight: 700; color: var(--fc-muted); }
.fc-chip { min-height: 44px; padding: 8px 16px; font: 600 1rem/1.2 var(--fc-font-body); color: var(--fc-ink); background: var(--fc-bg); border: 1px solid #c9c3b8; border-radius: 999px; cursor: pointer; }
.fc-chip:hover { border-color: var(--fc-ink); }
.fc-chip[aria-pressed="true"] { background: var(--fc-ink); border-color: var(--fc-ink); color: var(--fc-on-ink); }
.fc-tagfilter__count { margin: 0; font-size: var(--fc-step--1); color: var(--fc-muted); }
.fc-tagitem { padding-top: 24px; margin-top: 28px; border-top: 1px solid var(--fc-line); }
.fc-tagitem[hidden] { display: none; }
.fc-tagitem > h3 { margin-top: 0; scroll-margin-top: 24px; }
.fc-tagitem__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.fc-tag { display: inline-block; padding: 3px 10px; font-size: var(--fc-step--1); font-weight: 700; line-height: 1.4; color: var(--fc-ink); background: var(--fc-bg); border: 1px solid var(--fc-line); border-radius: 999px; }
.fc-tag--good { color: #fff; background: var(--fc-good); border-color: var(--fc-good); }
.fc-tag--bad { color: #fff; background: #a3261b; border-color: #a3261b; }
.fc-tagitem__sum { font-weight: 600; margin: 0 0 12px; }

/* ==========================================================================
   Contact form ([fitcore_contact_form], inc/contact-form.php)
   ========================================================================== */
.fc-contact { margin: 8px 0 40px; scroll-margin-top: 24px; }
.fc-contact__form, .fc-contact__done { padding: 22px; background: var(--fc-surface); border: 1px solid var(--fc-line); border-radius: var(--fc-radius); }
.fc-contact__form[hidden], .fc-contact__done[hidden] { display: none; }
.fc-contact__title { margin: 0 0 18px; font: 800 var(--fc-step-2)/1.1 var(--fc-font-head); font-stretch: var(--fc-head-stretch); }
.fc-contact__row { display: grid; gap: 0 16px; }
.fc-field { margin: 0 0 16px; }
.fc-field label { display: block; margin-bottom: 6px; font-size: 1rem; font-weight: 700; }
.fc-field input, .fc-field select, .fc-field textarea { display: block; width: 100%; min-height: 48px; padding: 11px 12px; font: inherit; font-size: 1rem; line-height: 1.4; color: var(--fc-ink); background: var(--fc-bg); border: 1px solid #b9b2a6; border-radius: var(--fc-radius); }
.fc-field textarea { min-height: 150px; resize: vertical; }
.fc-field select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.fc-field input:focus, .fc-field select:focus, .fc-field textarea:focus { border-color: var(--fc-ink); outline: 3px solid var(--fc-action); outline-offset: 1px; background-color: #fff; }
.fc-contact__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fc-contact__send { width: 100%; min-height: 52px; }
.fc-contact__send:disabled { opacity: 0.7; cursor: progress; }
.fc-contact__note { margin: 14px 0 0; font-size: var(--fc-step--1); color: var(--fc-muted); }
.fc-contact__error { margin: 0 0 16px; padding: 12px 14px; font-weight: 600; color: #8a1f14; background: #fdecea; border-left: 4px solid #a3261b; border-radius: 4px; }
.fc-contact__error[hidden] { display: none; }
.fc-contact__done { border-left: 4px solid var(--fc-good); }
.fc-contact__done-title { margin: 0 0 6px; font: 800 var(--fc-step-2)/1.1 var(--fc-font-head); font-stretch: var(--fc-head-stretch); color: var(--fc-good); }
.fc-contact__done p:last-child { margin: 0; }
@media (min-width: 640px) {
	.fc-contact__form, .fc-contact__done { padding: 30px; }
	.fc-contact__row { grid-template-columns: 1fr 1fr; }
	.fc-contact__send { width: auto; padding-inline: 32px; }
}
