
:root {
	--ftc-primary: #062a57;
	--ftc-primary-deep: #031b3a;
	--ftc-gold: #c99633;
	--ftc-gold-dark: #a87920;
	--ftc-text: #16243a;
	--ftc-muted: #667085;
	--ftc-bg: #ffffff;
	--ftc-surface: #f8f5ef;
	--ftc-surface-blue: #f3f7fb;
	--ftc-border: #dfe5ec;
	--ftc-success: #1f6f4a;
	--ftc-danger: #9d2f2f;
	--ftc-radius: 18px;
	--ftc-radius-sm: 10px;
	--ftc-shadow: 0 18px 48px rgba(3, 27, 58, .10);
	--ftc-shell: 1240px;
	--ftc-reading: 820px;
	--ftc-header-h: 88px;
	--ftc-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	--ftc-font-serif: Georgia, "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--ftc-font-sans);
	color: var(--ftc-text);
	background: var(--ftc-bg);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--ftc-primary);
	text-decoration-thickness: .08em;
	text-underline-offset: .16em;
}

a:hover { color: var(--ftc-gold-dark); }

button,
input,
select,
textarea { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
	outline: 3px solid var(--ftc-gold);
	outline-offset: 3px;
}

.ftc-shell {
	width: min(calc(100% - 40px), var(--ftc-shell));
	margin-inline: auto;
}

.ftc-narrow { max-width: var(--ftc-reading); }
.ftc-main { min-height: 60vh; }

.ftc-skip-link {
	position: fixed;
	left: 16px;
	top: 12px;
	z-index: 99999;
	transform: translateY(-140%);
	padding: 10px 14px;
	border-radius: 8px;
	background: #fff;
	color: var(--ftc-primary-deep);
	box-shadow: var(--ftc-shadow);
	font-weight: 700;
}
.ftc-skip-link:focus { transform: translateY(0); }

.ftc-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255,255,255,.97);
	border-bottom: 1px solid rgba(6,42,87,.08);
	transition: box-shadow .2s ease, background .2s ease;
}
.ftc-header.is-scrolled { box-shadow: 0 8px 30px rgba(3,27,58,.08); }

.ftc-header-inner {
	width: min(calc(100% - 40px), 1440px);
	min-height: var(--ftc-header-h);
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(230px, 320px) 1fr auto;
	align-items: center;
	gap: 28px;
}

.ftc-brand { min-width: 0; }
.custom-logo-link,
.ftc-default-logo-link { display: inline-flex; align-items: center; }
.custom-logo,
.ftc-default-logo {
	max-width: 310px;
	max-height: 72px;
	width: auto;
	object-fit: contain;
}

.ftc-primary-navigation { justify-self: center; }
.ftc-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 4px;
}
.ftc-menu li { margin: 0; }
.ftc-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 10px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 650;
	font-size: 15px;
	color: var(--ftc-primary-deep);
	white-space: nowrap;
}
.ftc-menu a:hover,
.ftc-menu .current-menu-item > a,
.ftc-menu .current_page_item > a,
.ftc-menu .current-menu-ancestor > a {
	color: var(--ftc-gold-dark);
	background: #fff8eb;
}


.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ftc-header-search {
	display: flex;
	align-items: center;
	gap: 6px;
}
.ftc-header-search input {
	width: 130px;
	min-height: 38px;
	padding: 8px 10px;
	border: 1px solid var(--ftc-border);
	border-radius: 8px;
	background: #fff;
	color: var(--ftc-text);
}
.ftc-header-search button {
	min-width: 38px;
	min-height: 38px;
	border: 1px solid var(--ftc-border);
	border-radius: 8px;
	background: #fff;
	color: var(--ftc-primary);
	font-weight: 800;
	cursor: pointer;
}
.ftc-mobile-actions {
	display: none;
	padding-top: 12px;
	margin-top: 10px;
	border-top: 1px solid var(--ftc-border);
	gap: 10px;
}

.ftc-header-actions {
	display: flex;
	align-items: center;
	gap: 13px;
}
.ftc-login-link {
	color: var(--ftc-primary);
	font-size: 14px;
	font-weight: 750;
	text-decoration: none;
	white-space: nowrap;
}

.ftc-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid var(--ftc-border);
	border-radius: 10px;
	background: #fff;
	color: var(--ftc-primary);
	padding: 9px 12px;
	font-weight: 750;
}
.ftc-menu-toggle-icon,
.ftc-menu-toggle-icon::before,
.ftc-menu-toggle-icon::after {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
	position: relative;
	transition: transform .2s ease;
}
.ftc-menu-toggle-icon::before,
.ftc-menu-toggle-icon::after {
	content: "";
	position: absolute;
	left: 0;
}
.ftc-menu-toggle-icon::before { top: -6px; }
.ftc-menu-toggle-icon::after { top: 6px; }

.ftc-button,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.tutor-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 22px;
	border: 2px solid var(--ftc-primary);
	border-radius: 10px;
	background: var(--ftc-primary);
	color: #fff !important;
	text-decoration: none;
	font-weight: 800;
	line-height: 1.2;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.ftc-button:hover,
.wp-element-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.tutor-btn-primary:hover {
	background: var(--ftc-primary-deep);
	border-color: var(--ftc-primary-deep);
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(3,27,58,.15);
}
.ftc-button-secondary {
	background: transparent;
	color: var(--ftc-primary) !important;
	border-color: var(--ftc-primary);
}
.ftc-button-secondary:hover {
	background: #eff5fb;
	color: var(--ftc-primary-deep) !important;
}
.ftc-button-small { min-height: 42px; padding: 10px 15px; font-size: 14px; }
.ftc-button-full { width: 100%; }
.ftc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.ftc-text-link {
	font-weight: 800;
	text-decoration: none;
	color: var(--ftc-primary);
}
.ftc-text-link:hover { color: var(--ftc-gold-dark); }

.ftc-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 90% 12%, rgba(201,150,51,.18), transparent 30%),
		linear-gradient(135deg, #f7fafc 0%, #ffffff 58%, #fbf6eb 100%);
	border-bottom: 1px solid rgba(6,42,87,.07);
}
.ftc-hero::after {
	content: "";
	position: absolute;
	width: 420px;
	height: 420px;
	border: 1px solid rgba(6,42,87,.08);
	border-radius: 50%;
	right: -190px;
	bottom: -230px;
}
.ftc-hero-grid {
	min-height: 620px;
	display: grid;
	grid-template-columns: 1.16fr .84fr;
	align-items: center;
	gap: clamp(40px, 7vw, 96px);
	padding-block: 72px;
}
.ftc-hero-copy { position: relative; z-index: 2; }
.ftc-eyebrow {
	margin: 0 0 13px;
	color: var(--ftc-gold-dark);
	font-size: 13px;
	font-weight: 850;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.ftc-eyebrow-light { color: #e4bf70; }
.ftc-hero h1,
.ftc-page-hero h1,
.ftc-course-hero h1 {
	margin: 0;
	max-width: 920px;
	font-family: var(--ftc-font-serif);
	font-size: clamp(42px, 6vw, 76px);
	line-height: .98;
	letter-spacing: -.035em;
	color: var(--ftc-primary-deep);
}
.ftc-lead {
	max-width: 760px;
	margin: 22px 0 0;
	font-size: clamp(18px, 2vw, 22px);
	color: #41536b;
	line-height: 1.6;
}
.ftc-trust-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin-top: 34px;
	color: #4b5e76;
	font-size: 14px;
	font-weight: 700;
}
.ftc-trust-row span::before {
	content: "✓";
	margin-right: 7px;
	color: var(--ftc-gold-dark);
}

.ftc-hero-panel {
	position: relative;
	z-index: 1;
	padding: clamp(28px, 4vw, 52px);
	border: 1px solid rgba(6,42,87,.12);
	border-radius: 26px;
	background: rgba(255,255,255,.86);
	box-shadow: var(--ftc-shadow);
}
.ftc-hero-mark {
	width: 122px;
	height: 122px;
	display: grid;
	place-items: center;
	margin-bottom: 26px;
	border-radius: 30px;
	background: #fff;
	box-shadow: 0 15px 40px rgba(3,27,58,.10);
}
.ftc-hero-mark img { max-width: 104px; max-height: 104px; }
.ftc-hero-panel h2 {
	margin: 0;
	font-family: var(--ftc-font-serif);
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.15;
	color: var(--ftc-primary);
}
.ftc-hero-panel p { margin-bottom: 0; color: #53647a; }

.ftc-section { padding-block: clamp(68px, 8vw, 112px); }
.ftc-section-muted { background: var(--ftc-surface); }
.ftc-navy-section { background: var(--ftc-primary-deep); color: #fff; }
.ftc-navy-section h2 { color: #fff; }

.ftc-section-heading { max-width: 780px; margin-bottom: 36px; }
.ftc-section-heading h2,
.ftc-corporate-banner h2,
.ftc-process-grid h2 {
	margin: 0;
	font-family: var(--ftc-font-serif);
	font-size: clamp(32px, 4vw, 50px);
	line-height: 1.08;
	letter-spacing: -.025em;
	color: var(--ftc-primary-deep);
}
.ftc-heading-row {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	max-width: none;
}
.ftc-heading-row > div { max-width: 820px; }

.ftc-icon-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}
.ftc-feature-card {
	display: block;
	padding: 28px;
	border: 1px solid var(--ftc-border);
	border-radius: var(--ftc-radius);
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
a.ftc-feature-card:hover {
	transform: translateY(-4px);
	border-color: rgba(201,150,51,.55);
	box-shadow: var(--ftc-shadow);
	color: inherit;
}
.ftc-feature-index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 32px;
	padding-inline: 10px;
	margin-bottom: 26px;
	border-radius: 999px;
	background: #fff4dc;
	color: var(--ftc-gold-dark);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .08em;
}
.ftc-feature-card h2,
.ftc-feature-card h3 {
	margin: 0 0 10px;
	font-family: var(--ftc-font-serif);
	font-size: 25px;
	line-height: 1.2;
	color: var(--ftc-primary);
}
.ftc-feature-card p { margin: 0; color: #5b6d83; font-size: 15px; }

.ftc-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.ftc-card {
	overflow: hidden;
	border: 1px solid var(--ftc-border);
	border-radius: var(--ftc-radius);
	background: #fff;
	box-shadow: 0 10px 28px rgba(3,27,58,.05);
}
.ftc-card-media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #eef3f8;
}
.ftc-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ftc-card-media-placeholder {
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, #eef4fa, #fff8e9);
}
.ftc-card-media-placeholder img {
	width: 98px;
	height: 98px;
	object-fit: contain;
	mix-blend-mode: multiply;
}
.ftc-card-body { padding: 24px; }
.ftc-card-body h2,
.ftc-card-body h3 {
	margin: 0 0 9px;
	font-family: var(--ftc-font-serif);
	font-size: 24px;
	line-height: 1.23;
}
.ftc-card-body h2 a,
.ftc-card-body h3 a { color: var(--ftc-primary); text-decoration: none; }
.ftc-card-body p { color: #5b6d83; }

.ftc-audience-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border: 1px solid var(--ftc-border);
	border-radius: var(--ftc-radius);
	overflow: hidden;
}
.ftc-audience-grid > div {
	padding: 27px;
	border-right: 1px solid var(--ftc-border);
	border-bottom: 1px solid var(--ftc-border);
}
.ftc-audience-grid > div:nth-child(3n) { border-right: 0; }
.ftc-audience-grid > div:nth-last-child(-n+3) { border-bottom: 0; }
.ftc-audience-grid strong { display: block; color: var(--ftc-primary); margin-bottom: 7px; }
.ftc-audience-grid span { display: block; color: #66778c; font-size: 15px; }

.ftc-process-grid {
	display: grid;
	grid-template-columns: .75fr 1.25fr;
	align-items: center;
	gap: 60px;
}
.ftc-process-grid h2 { color: #fff; }
.ftc-process {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
}
.ftc-process li {
	position: relative;
	display: grid;
	gap: 10px;
	justify-items: center;
	text-align: center;
	color: #fff;
}
.ftc-process li:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 21px;
	left: calc(50% + 28px);
	width: calc(100% - 42px);
	height: 1px;
	background: rgba(255,255,255,.25);
}
.ftc-process span {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(255,255,255,.36);
	border-radius: 50%;
	background: rgba(255,255,255,.06);
	color: #e8c77f;
	font-weight: 900;
}
.ftc-process strong { font-size: 14px; }

.ftc-corporate-banner {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 36px;
	padding: clamp(32px, 5vw, 56px);
	border-radius: 24px;
	background: linear-gradient(135deg, #f5f8fb 0%, #fff7e6 100%);
	border: 1px solid #e6dfd0;
}
.ftc-corporate-banner p:not(.ftc-eyebrow) { max-width: 780px; color: #5a6c81; }

.ftc-page-hero,
.ftc-course-hero {
	padding-block: clamp(62px, 8vw, 100px);
	background:
		linear-gradient(90deg, rgba(248,245,239,.96), rgba(243,247,251,.96)),
		url("../images/ftc-mark.png") no-repeat right 5% center / 260px auto;
	border-bottom: 1px solid var(--ftc-border);
}
.ftc-page-hero h1,
.ftc-course-hero h1 { font-size: clamp(40px, 5vw, 64px); }

.ftc-content-shell { padding-block: clamp(48px, 7vw, 84px); }
.ftc-two-column {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
	gap: 48px;
	align-items: start;
}
.ftc-prose { max-width: var(--ftc-reading); }
.ftc-two-column .ftc-prose { max-width: none; }
.ftc-prose > *:first-child { margin-top: 0; }
.ftc-prose h2,
.ftc-prose h3,
.ftc-prose h4 {
	color: var(--ftc-primary-deep);
	line-height: 1.2;
}
.ftc-prose h2 {
	margin: 2.2em 0 .7em;
	font-family: var(--ftc-font-serif);
	font-size: clamp(28px, 3vw, 38px);
}
.ftc-prose h3 { margin: 1.8em 0 .5em; font-size: 23px; }
.ftc-prose p,
.ftc-prose li { color: #405269; }
.ftc-prose ul,
.ftc-prose ol { padding-left: 1.25em; }
.ftc-prose blockquote {
	margin: 30px 0;
	padding: 22px 26px;
	border-left: 4px solid var(--ftc-gold);
	background: var(--ftc-surface);
}
.ftc-featured-image { margin-bottom: 32px; border-radius: 18px; overflow: hidden; }

.ftc-course-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
	gap: 64px;
	align-items: center;
}
.ftc-course-facts {
	padding: 28px;
	border: 1px solid rgba(6,42,87,.13);
	border-radius: var(--ftc-radius);
	background: rgba(255,255,255,.88);
	box-shadow: 0 16px 42px rgba(3,27,58,.08);
}
.ftc-course-facts h2 { margin: 0 0 18px; color: var(--ftc-primary); font-size: 20px; }
.ftc-course-facts dl { margin: 0; }
.ftc-course-facts dl div {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 16px;
	padding: 12px 0;
	border-top: 1px solid var(--ftc-border);
}
.ftc-course-facts dt { color: var(--ftc-muted); font-size: 14px; }
.ftc-course-facts dd { margin: 0; color: var(--ftc-primary-deep); font-weight: 750; }
.ftc-muted { color: var(--ftc-muted); font-size: 14px; }

.ftc-sidebar-cta,
.ftc-form-card {
	position: sticky;
	top: calc(var(--ftc-header-h) + 24px);
	padding: 28px;
	border: 1px solid var(--ftc-border);
	border-radius: var(--ftc-radius);
	background: #fff;
	box-shadow: var(--ftc-shadow);
}
.ftc-sidebar-cta h2,
.ftc-form-card h2 { margin-top: 0; color: var(--ftc-primary); font-family: var(--ftc-font-serif); }
.ftc-sidebar-cta .ftc-text-link { display: inline-block; margin-top: 18px; }

.ftc-disclaimer {
	margin-top: 42px;
	padding: 22px 24px;
	border: 1px solid #ecd8aa;
	border-radius: 12px;
	background: #fff9ed;
}
.ftc-disclaimer strong { color: #795818; }
.ftc-disclaimer p { margin-bottom: 0; font-size: 15px; color: #64583f; }

.ftc-form {
	display: grid;
	gap: 16px;
}
.ftc-field { display: grid; gap: 7px; }
.ftc-field label { font-weight: 750; color: var(--ftc-primary-deep); font-size: 14px; }
.ftc-field input,
.ftc-field select,
.ftc-field textarea,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
	width: 100%;
	border: 1px solid #cfd7e2;
	border-radius: 9px;
	background: #fff;
	color: var(--ftc-text);
	padding: 11px 12px;
	min-height: 46px;
}
.ftc-field textarea { min-height: 128px; resize: vertical; }
.ftc-field input:focus,
.ftc-field select:focus,
.ftc-field textarea:focus {
	border-color: var(--ftc-primary);
	outline: 3px solid rgba(6,42,87,.10);
}
.ftc-checkbox {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 10px;
	align-items: start;
	font-size: 13px;
	color: #5c6c7f;
}
.ftc-checkbox input { margin-top: 4px; }
.ftc-hp { position: absolute !important; left: -9999px !important; }
.ftc-form-notice {
	padding: 12px 14px;
	border-radius: 9px;
	font-size: 14px;
}
.ftc-form-notice-success { background: #edf8f1; color: var(--ftc-success); }
.ftc-form-notice-error { background: #fff0f0; color: var(--ftc-danger); }

.ftc-faq-list { display: grid; gap: 12px; }
.ftc-faq-item {
	border: 1px solid var(--ftc-border);
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}
.ftc-faq-button {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 20px;
	border: 0;
	background: #fff;
	color: var(--ftc-primary-deep);
	text-align: left;
	font-weight: 800;
	cursor: pointer;
}
.ftc-faq-button::after { content: "+"; font-size: 22px; color: var(--ftc-gold-dark); }
.ftc-faq-button[aria-expanded="true"]::after { content: "−"; }
.ftc-faq-panel { padding: 0 20px 20px; color: #516379; }

.ftc-dashboard-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}
.ftc-dashboard-card {
	padding: 24px;
	border: 1px solid var(--ftc-border);
	border-radius: 14px;
	background: #fff;
}
.ftc-dashboard-card h2,
.ftc-dashboard-card h3 { margin-top: 0; color: var(--ftc-primary); }

.ftc-empty-state {
	padding: 46px;
	border: 1px dashed #cbd5e1;
	border-radius: 16px;
	background: #fafbfd;
	text-align: center;
}
.ftc-empty-state h2 { color: var(--ftc-primary); }

.ftc-search-results { display: grid; gap: 18px; }
.ftc-search-result {
	padding: 24px;
	border: 1px solid var(--ftc-border);
	border-radius: 12px;
}
.ftc-search-result h2 { margin: 0 0 8px; }
.ftc-search-result h2 a { color: var(--ftc-primary); text-decoration: none; }
.ftc-meta { margin: 0 0 6px; font-size: 12px; color: var(--ftc-gold-dark); font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }

.ftc-footer {
	margin-top: 40px;
	padding-top: 64px;
	background: var(--ftc-primary-deep);
	color: #c8d3df;
}
.ftc-footer-grid {
	display: grid;
	grid-template-columns: 1.5fr repeat(3, 1fr);
	gap: 44px;
	padding-bottom: 44px;
}
.ftc-footer-brand img {
	max-width: 320px;
	padding: 10px;
	border-radius: 10px;
	background: #fff;
}
.ftc-footer-brand p { max-width: 420px; }
.ftc-footer h2 { margin: 0 0 14px; color: #fff; font-size: 16px; }
.ftc-footer ul { list-style: none; margin: 0; padding: 0; }
.ftc-footer li + li { margin-top: 9px; }
.ftc-footer a { color: #d6e0ea; text-decoration: none; font-size: 14px; }
.ftc-footer a:hover { color: #efc96f; }
.ftc-footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding-block: 22px;
	border-top: 1px solid rgba(255,255,255,.12);
	font-size: 12px;
}
.ftc-footer-bottom p { margin: 0; }

.woocommerce .woocommerce-breadcrumb { color: var(--ftc-muted); font-size: 13px; }
.woocommerce div.product .product_title,
.woocommerce-products-header__title.page-title {
	font-family: var(--ftc-font-serif);
	color: var(--ftc-primary-deep);
}
.woocommerce ul.products li.product {
	padding: 14px;
	border: 1px solid var(--ftc-border);
	border-radius: 14px;
}
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price { color: var(--ftc-primary); font-weight: 800; }

.tutor-wrap,
.tutor-dashboard,
.tutor-course-details-page {
	--tutor-color-primary: var(--ftc-primary);
	--tutor-color-primary-rgb: 6,42,87;
}

@media (max-width: 1180px) {
	.ftc-header-inner {
		grid-template-columns: minmax(220px, 1fr) auto auto;
		gap: 16px;
	}
	.ftc-menu-toggle { display: inline-flex; order: 2; }
	.ftc-primary-navigation {
		display: none;
		position: absolute;
		left: 20px;
		right: 20px;
		top: calc(100% + 8px);
		padding: 16px;
		border: 1px solid var(--ftc-border);
		border-radius: 14px;
		background: #fff;
		box-shadow: var(--ftc-shadow);
	}
	.ftc-primary-navigation.is-open { display: block; }
	.ftc-menu { display: grid; gap: 2px; }
	.ftc-mobile-actions { display: grid; }
	.ftc-mobile-actions .ftc-header-search { width: 100%; }
	.ftc-mobile-actions .ftc-header-search input { flex: 1; width: auto; }
	.ftc-mobile-actions .ftc-login-link { display: inline-flex; min-height: 42px; align-items: center; }
	.ftc-header-search-desktop { display: none; }
	.ftc-menu a { width: 100%; }
	.ftc-header-actions { order: 3; }
}

@media (max-width: 960px) {
	.ftc-hero-grid,
	.ftc-course-hero-grid,
	.ftc-process-grid,
	.ftc-two-column {
		grid-template-columns: 1fr;
	}
	.ftc-hero-grid { min-height: auto; padding-block: 62px; }
	.ftc-hero-panel { max-width: 700px; }
	.ftc-icon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ftc-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ftc-audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ftc-audience-grid > div,
	.ftc-audience-grid > div:nth-child(3n),
	.ftc-audience-grid > div:nth-last-child(-n+3) {
		border-right: 1px solid var(--ftc-border);
		border-bottom: 1px solid var(--ftc-border);
	}
	.ftc-audience-grid > div:nth-child(2n) { border-right: 0; }
	.ftc-audience-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
	.ftc-process-grid { gap: 36px; }
	.ftc-sidebar-cta,
	.ftc-form-card { position: static; }
	.ftc-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
	:root { --ftc-header-h: 74px; }
	body { font-size: 16px; }
	.ftc-shell { width: min(calc(100% - 28px), var(--ftc-shell)); }
	.ftc-header-inner {
		width: calc(100% - 24px);
		min-height: var(--ftc-header-h);
		grid-template-columns: 1fr auto;
	}
	.ftc-brand { min-width: 0; }
	.custom-logo,
	.ftc-default-logo { max-width: min(250px, 64vw); max-height: 56px; }
	.ftc-header-actions { display: none; }
	.ftc-menu-toggle { grid-column: 2; grid-row: 1; }
	.ftc-primary-navigation { left: 12px; right: 12px; }
	.ftc-menu-toggle-label { display: none; }
	.ftc-hero h1,
	.ftc-page-hero h1,
	.ftc-course-hero h1 { font-size: clamp(38px, 12vw, 56px); }
	.ftc-hero-grid { padding-block: 50px; gap: 36px; }
	.ftc-hero-panel { padding: 26px; }
	.ftc-section { padding-block: 62px; }
	.ftc-heading-row,
	.ftc-corporate-banner,
	.ftc-footer-bottom { display: grid; align-items: start; }
	.ftc-icon-grid,
	.ftc-card-grid,
	.ftc-audience-grid,
	.ftc-dashboard-grid { grid-template-columns: 1fr; }
	.ftc-audience-grid > div,
	.ftc-audience-grid > div:nth-child(2n),
	.ftc-audience-grid > div:nth-last-child(-n+2) {
		border-right: 0;
		border-bottom: 1px solid var(--ftc-border);
	}
	.ftc-audience-grid > div:last-child { border-bottom: 0; }
	.ftc-process { grid-template-columns: 1fr; gap: 8px; }
	.ftc-process li { grid-template-columns: 44px 1fr; align-items: center; justify-items: start; text-align: left; }
	.ftc-process li:not(:last-child)::after {
		left: 21px;
		top: 44px;
		width: 1px;
		height: 16px;
	}
	.ftc-course-facts dl div { grid-template-columns: 1fr; gap: 3px; }
	.ftc-footer-grid { grid-template-columns: 1fr; }
	.ftc-footer-brand img { max-width: 280px; }
	.ftc-actions .ftc-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* Midrand Financial Training Center brand refinements — v1.1.0 */
.ftc-header {
	border-top: 4px solid var(--ftc-gold);
}
.ftc-header-inner {
	grid-template-columns: minmax(300px, 410px) 1fr auto;
	min-height: 96px;
}
.custom-logo,
.ftc-default-logo {
	max-width: 400px;
	max-height: 78px;
}
.ftc-default-logo-link { width: 100%; }
.ftc-default-logo { object-position: left center; }
.ftc-hero {
	background:
		radial-gradient(circle at 86% 18%, rgba(201,150,51,.16), transparent 26%),
		linear-gradient(135deg, #f8fafc 0%, #ffffff 58%, #fbf7ee 100%);
}
.ftc-hero-panel {
	border-top: 4px solid var(--ftc-gold);
}
.ftc-hero-mark {
	width: 136px;
	height: 136px;
	border-radius: 24px;
}
.ftc-hero-mark img { max-width: 118px; max-height: 118px; }
.ftc-footer-brand img {
	max-width: 420px;
	width: 100%;
}
@media (max-width: 1320px) {
	.ftc-header-inner { grid-template-columns: minmax(270px, 350px) 1fr auto; gap: 16px; }
	.custom-logo, .ftc-default-logo { max-width: 340px; }
}
@media (max-width: 1180px) {
	.ftc-header-inner { grid-template-columns: minmax(260px, 1fr) auto auto; }
	.custom-logo, .ftc-default-logo { max-width: 330px; }
}
@media (max-width: 720px) {
	.ftc-header { border-top-width: 3px; }
	.ftc-header-inner { min-height: 78px; }
	.custom-logo, .ftc-default-logo { max-width: min(285px, 72vw); max-height: 58px; }
}

/* --------------------------------------------------------------------------
   Midrand Financial Training Center — v1.2.0 icon-led design refinements
   -------------------------------------------------------------------------- */
:root {
	--ftc-primary: #0d2245;
	--ftc-navy: #0d2245;
	--ftc-primary-deep: #071833;
	--ftc-primary-soft: #163763;
	--ftc-gold: #c79a42;
	--ftc-gold-dark: #9f7522;
	--ftc-gold-soft: #f5ead3;
	--ftc-text: #1d2c42;
	--ftc-muted: #657287;
	--ftc-surface: #f7f5f1;
	--ftc-surface-blue: #f4f7fb;
	--ftc-border: #dde4ec;
	--ftc-radius: 20px;
	--ftc-shadow: 0 18px 50px rgba(7, 24, 51, .10);
	--ftc-shadow-soft: 0 10px 30px rgba(7, 24, 51, .07);
}

.ftc-icon {
	width: 1.15em;
	height: 1.15em;
	flex: 0 0 auto;
	vertical-align: -.16em;
}

.ftc-link-with-icon {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.ftc-button .ftc-icon { width: 18px; height: 18px; }
.ftc-text-link .ftc-icon { width: 16px; height: 16px; transition: transform .16s ease; }
.ftc-text-link:hover .ftc-icon { transform: translateX(3px); }

.ftc-header {
	border-top: 3px solid var(--ftc-gold);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}
.ftc-header-inner {
	grid-template-columns: minmax(275px, 380px) 1fr auto;
	min-height: 92px;
	gap: 22px;
}
.custom-logo,
.ftc-default-logo {
	max-width: 370px;
	max-height: 70px;
}
.ftc-header-search input { transition: width .2s ease, border-color .2s ease, box-shadow .2s ease; }
.ftc-header-search-desktop input { width: 112px; }
.ftc-header-search-desktop:focus-within input { width: 180px; }
.ftc-header-search button {
	display: inline-grid;
	place-items: center;
	padding: 0;
}
.ftc-header-search button .ftc-icon { width: 17px; height: 17px; }
.ftc-login-link { display: inline-flex; align-items: center; gap: 7px; }
.ftc-login-link .ftc-icon { width: 17px; height: 17px; color: var(--ftc-gold-dark); }

.ftc-menu a {
	position: relative;
}
.ftc-menu a::after {
	content: "";
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 4px;
	height: 2px;
	border-radius: 999px;
	background: var(--ftc-gold);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .16s ease;
}
.ftc-menu a:hover::after,
.ftc-menu .current-menu-item > a::after,
.ftc-menu .current_page_item > a::after,
.ftc-menu .current-menu-ancestor > a::after { transform: scaleX(1); }

.ftc-hero {
	background:
		radial-gradient(circle at 86% 14%, rgba(199,154,66,.18), transparent 24%),
		radial-gradient(circle at 66% 78%, rgba(13,34,69,.055), transparent 30%),
		linear-gradient(135deg, #f7fafc 0%, #fff 52%, #fbf6ec 100%);
}
.ftc-hero-grid {
	grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr);
	min-height: 650px;
	gap: clamp(42px, 6vw, 86px);
}
.ftc-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: linear-gradient(rgba(13,34,69,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(13,34,69,.025) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(to right, transparent 5%, #000 70%);
}
.ftc-hero-copy { position: relative; z-index: 2; }
.ftc-hero-kicker {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 20px;
	padding: 8px 12px;
	border: 1px solid #e8d5ac;
	border-radius: 999px;
	background: rgba(255,255,255,.82);
	color: #7f5c1b;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .04em;
}
.ftc-hero-kicker .ftc-icon { width: 17px; height: 17px; }
.ftc-hero h1 { max-width: 820px; font-size: clamp(48px, 5.7vw, 78px); }
.ftc-trust-row span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}
.ftc-trust-row span::before { display: none; }
.ftc-trust-row .ftc-icon { color: var(--ftc-gold-dark); width: 17px; height: 17px; }

.ftc-hero-visual {
	position: relative;
	z-index: 2;
	padding: 28px;
	border: 1px solid rgba(13,34,69,.12);
	border-top: 4px solid var(--ftc-gold);
	border-radius: 28px;
	background: rgba(255,255,255,.90);
	box-shadow: 0 24px 70px rgba(7,24,51,.12);
}
.ftc-hero-logo-card {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 22px;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--ftc-primary-deep), var(--ftc-primary));
	color: #fff;
}
.ftc-hero-brand-mark {
	width: 92px;
	height: 92px;
	object-fit: contain;
	padding: 8px;
	border-radius: 16px;
	background: #fff;
}
.ftc-hero-logo-card span {
	display: block;
	color: #e6c57c;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .18em;
}
.ftc-hero-logo-card strong {
	display: block;
	margin-top: 4px;
	font-family: var(--ftc-font-serif);
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.05;
}
.ftc-hero-benefit-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0,1fr));
	gap: 12px;
	margin-top: 14px;
}
.ftc-mini-card {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-height: 104px;
	padding: 17px;
	border: 1px solid var(--ftc-border);
	border-radius: 15px;
	background: #fff;
}
.ftc-mini-card > .ftc-icon {
	width: 34px;
	height: 34px;
	padding: 7px;
	border-radius: 10px;
	background: var(--ftc-gold-soft);
	color: var(--ftc-gold-dark);
}
.ftc-mini-card strong { display: block; color: var(--ftc-primary); font-size: 14px; }
.ftc-mini-card span { display: block; margin-top: 3px; color: var(--ftc-muted); font-size: 12px; line-height: 1.4; }

.ftc-category-strip {
	position: relative;
	z-index: 5;
	margin-top: -26px;
}
.ftc-category-strip-inner {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding: 10px;
	border: 1px solid var(--ftc-border);
	border-radius: 20px;
	background: #fff;
	box-shadow: var(--ftc-shadow-soft);
}
.ftc-category-link {
	display: grid;
	grid-template-columns: auto minmax(0,1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 18px;
	border-radius: 14px;
	color: var(--ftc-text);
	text-decoration: none;
}
.ftc-category-link + .ftc-category-link { border-left: 1px solid var(--ftc-border); }
.ftc-category-link:hover { background: var(--ftc-surface-blue); color: inherit; }
.ftc-category-link > .ftc-icon:last-child { color: var(--ftc-gold-dark); width: 16px; height: 16px; }
.ftc-category-link strong { display: block; color: var(--ftc-primary); font-size: 14px; }
.ftc-category-link small { display: block; margin-top: 2px; color: var(--ftc-muted); font-size: 11px; line-height: 1.35; }

.ftc-icon-tile {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: linear-gradient(135deg, var(--ftc-primary), var(--ftc-primary-soft));
	color: #fff;
	box-shadow: 0 8px 20px rgba(13,34,69,.14);
}
.ftc-icon-tile .ftc-icon { width: 22px; height: 22px; }
.ftc-icon-tile-soft { background: var(--ftc-gold-soft); color: var(--ftc-gold-dark); box-shadow: none; }

.ftc-section-heading > p:not(.ftc-eyebrow) { margin: 14px 0 0; max-width: 720px; color: var(--ftc-muted); }

.ftc-card {
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ftc-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ftc-shadow);
	border-color: #cfd8e4;
}
.ftc-card-media-placeholder {
	position: relative;
	isolation: isolate;
	background:
		radial-gradient(circle at 75% 25%, rgba(199,154,66,.25), transparent 28%),
		linear-gradient(145deg, #f4f7fb, #fbf6eb);
}
.ftc-course-icon-badge {
	position: relative;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 82px;
	height: 82px;
	border-radius: 22px;
	background: var(--ftc-primary);
	color: #fff;
	box-shadow: 0 15px 34px rgba(13,34,69,.20);
}
.ftc-course-icon-badge .ftc-icon { width: 38px; height: 38px; }
.ftc-card-watermark {
	position: absolute;
	right: 18px;
	bottom: -34px;
	z-index: 1;
	font-family: var(--ftc-font-serif);
	font-size: 170px;
	line-height: 1;
	font-weight: 700;
	color: rgba(13,34,69,.055);
}
.ftc-card-category {
	margin: 0 0 8px !important;
	color: var(--ftc-gold-dark) !important;
	font-size: 12px !important;
	font-weight: 850;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.ftc-course-meta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin-bottom: 9px;
	color: var(--ftc-muted);
	font-size: 12px;
}
.ftc-course-meta-row > span { display: inline-flex; align-items: center; gap: 5px; }
.ftc-course-meta-row .ftc-icon { width: 14px; height: 14px; color: var(--ftc-gold-dark); }

.ftc-audience-grid-icons > div {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 15px;
	align-items: start;
}
.ftc-audience-grid-icons > div > strong,
.ftc-audience-grid-icons > div > span:not(.ftc-icon-tile) { grid-column: 2; }
.ftc-audience-grid-icons .ftc-icon-tile { grid-row: 1 / span 2; }

.ftc-section-heading-light { max-width: 860px; }
.ftc-section-heading-light h2 { color: #fff; }
.ftc-process-section {
	position: relative;
	overflow: hidden;
}
.ftc-process-section::after {
	content: "";
	position: absolute;
	width: 520px;
	height: 520px;
	right: -240px;
	top: -260px;
	border: 1px solid rgba(255,255,255,.10);
	border-radius: 50%;
}
.ftc-process-icons { margin-top: 40px; }
.ftc-process-icons li { gap: 8px; }
.ftc-process-icons span {
	width: 58px;
	height: 58px;
	background: rgba(255,255,255,.06);
	color: #e7c36e;
}
.ftc-process-icons span .ftc-icon { width: 24px; height: 24px; }
.ftc-process-icons strong { font-size: 15px; }
.ftc-process-icons small { max-width: 130px; color: #aebccd; font-size: 11px; line-height: 1.4; }
.ftc-process-icons li:not(:last-child)::after { top: 29px; }

.ftc-corporate-banner-rich {
	grid-template-columns: auto minmax(0,1fr) auto;
	padding: clamp(30px, 5vw, 54px);
}
.ftc-corporate-icon {
	display: grid;
	place-items: center;
	width: 88px;
	height: 88px;
	border-radius: 22px;
	background: var(--ftc-primary);
	color: #fff;
	box-shadow: 0 14px 30px rgba(13,34,69,.18);
}
.ftc-corporate-icon .ftc-icon { width: 40px; height: 40px; }
.ftc-inline-features {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	margin-top: 18px;
}
.ftc-inline-features span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--ftc-primary);
	font-size: 13px;
	font-weight: 750;
}
.ftc-inline-features .ftc-icon { color: var(--ftc-gold-dark); }

.ftc-resource-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0,1fr));
	gap: 18px;
}
.ftc-resource-feature {
	display: flex;
	gap: 18px;
	padding: 24px;
	border: 1px solid var(--ftc-border);
	border-radius: var(--ftc-radius);
	background: #fff;
	color: inherit;
	text-decoration: none;
	box-shadow: 0 8px 24px rgba(7,24,51,.04);
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ftc-resource-feature:hover { transform: translateY(-3px); border-color: #d7c18e; box-shadow: var(--ftc-shadow-soft); color: inherit; }
.ftc-resource-feature > span {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	flex: 0 0 54px;
	border-radius: 15px;
	background: var(--ftc-gold-soft);
	color: var(--ftc-gold-dark);
}
.ftc-resource-feature > span .ftc-icon { width: 25px; height: 25px; }
.ftc-resource-feature h3 { margin: 0 0 7px; color: var(--ftc-primary); font-family: var(--ftc-font-serif); font-size: 22px; }
.ftc-resource-feature p { margin: 0; color: var(--ftc-muted); font-size: 14px; }

.ftc-final-cta-section { padding-top: 26px; }
.ftc-final-cta {
	display: grid;
	grid-template-columns: auto minmax(0,1fr) auto;
	align-items: center;
	gap: 26px;
	padding: clamp(28px, 4vw, 46px);
	border-radius: 24px;
	background: var(--ftc-primary-deep);
	color: #fff;
}
.ftc-final-cta h2 { margin: 0; color: #fff; font-family: var(--ftc-font-serif); font-size: clamp(28px, 4vw, 42px); line-height: 1.08; }
.ftc-final-cta-icon {
	display: grid;
	place-items: center;
	width: 70px;
	height: 70px;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 18px;
	background: rgba(255,255,255,.06);
	color: #e6c371;
}
.ftc-final-cta-icon .ftc-icon { width: 32px; height: 32px; }

/* Page hero and content presentation */
.ftc-page-hero,
.ftc-course-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 88% 20%, rgba(199,154,66,.16), transparent 24%),
		linear-gradient(105deg, #f7f5f1 0%, #f7fafc 68%, #fff 100%);
}
.ftc-page-hero::after,
.ftc-course-hero::after {
	content: "M";
	position: absolute;
	right: 4vw;
	bottom: -72px;
	font-family: var(--ftc-font-serif);
	font-size: clamp(180px, 24vw, 340px);
	font-weight: 700;
	line-height: 1;
	color: rgba(13,34,69,.035);
	pointer-events: none;
}
.ftc-page-hero-content {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: auto minmax(0,1fr);
	gap: 24px;
	align-items: start;
}
.ftc-page-hero-icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 20px;
	background: var(--ftc-primary);
	color: #fff;
	box-shadow: 0 14px 30px rgba(13,34,69,.16);
}
.ftc-page-hero-icon .ftc-icon { width: 32px; height: 32px; }
.ftc-page-hero-actions { margin-top: 24px; }

.ftc-feature-card-icon {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	margin-bottom: 22px;
	border-radius: 15px;
	background: var(--ftc-gold-soft);
	color: var(--ftc-gold-dark);
}
.ftc-feature-card-icon .ftc-icon { width: 26px; height: 26px; }

.ftc-info-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0,1fr));
	gap: 18px;
}
.ftc-info-card {
	padding: 24px;
	border: 1px solid var(--ftc-border);
	border-radius: 16px;
	background: #fff;
}
.ftc-info-card > .ftc-icon { width: 26px; height: 26px; color: var(--ftc-gold-dark); }
.ftc-info-card h3 { margin: 14px 0 6px; color: var(--ftc-primary); font-family: var(--ftc-font-serif); }
.ftc-info-card p { margin: 0; color: var(--ftc-muted); font-size: 14px; }

/* Dashboard */
.ftc-dashboard-grid { gap: 18px; }
.ftc-dashboard-card {
	position: relative;
	overflow: hidden;
	min-height: 170px;
	box-shadow: 0 8px 24px rgba(7,24,51,.04);
}
.ftc-dashboard-card > .ftc-icon {
	width: 42px;
	height: 42px;
	padding: 9px;
	border-radius: 12px;
	background: var(--ftc-gold-soft);
	color: var(--ftc-gold-dark);
}
.ftc-dashboard-card h2,
.ftc-dashboard-card h3 { margin: 18px 0 6px; }
.ftc-dashboard-card p { color: var(--ftc-muted); }
.ftc-progress-bar {
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: #e9edf2;
}
.ftc-progress-bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ftc-gold), var(--ftc-gold-dark)); }

/* Course detail */
.ftc-course-hero-grid { position: relative; z-index: 2; }
.ftc-course-title-row { display: flex; align-items: flex-start; gap: 22px; }
.ftc-course-title-icon {
	display: grid;
	place-items: center;
	width: 74px;
	height: 74px;
	flex: 0 0 74px;
	margin-top: 4px;
	border-radius: 20px;
	background: var(--ftc-primary);
	color: #fff;
}
.ftc-course-title-icon .ftc-icon { width: 34px; height: 34px; }
.ftc-course-facts dl div { align-items: start; }
.ftc-course-facts dt { display: inline-flex; align-items: center; gap: 7px; }
.ftc-course-facts dt .ftc-icon { width: 15px; height: 15px; color: var(--ftc-gold-dark); }

/* Login / registration */
.ftc-auth-shell {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(360px, .65fr);
	gap: 54px;
	align-items: start;
	max-width: 1050px;
}
.ftc-auth-card {
	padding: 30px;
	border: 1px solid var(--ftc-border);
	border-top: 4px solid var(--ftc-gold);
	border-radius: var(--ftc-radius);
	background: #fff;
	box-shadow: var(--ftc-shadow);
}
.ftc-auth-card h2 { margin-top: 0; color: var(--ftc-primary); font-family: var(--ftc-font-serif); }
.ftc-auth-benefits { display: grid; gap: 14px; }
.ftc-auth-benefit { display: flex; gap: 12px; }
.ftc-auth-benefit .ftc-icon { width: 22px; height: 22px; margin-top: 3px; color: var(--ftc-gold-dark); }
.ftc-auth-benefit strong { display: block; color: var(--ftc-primary); }
.ftc-auth-benefit span { display: block; color: var(--ftc-muted); font-size: 14px; }

/* Footer refinement */
.ftc-footer { margin-top: 0; }
.ftc-footer-brand img { max-width: 390px; }
.ftc-footer h2 { display: flex; align-items: center; gap: 8px; }
.ftc-footer h2 .ftc-icon { color: #e6c371; width: 16px; height: 16px; }

@media (max-width: 1320px) {
	.ftc-header-inner { grid-template-columns: minmax(260px, 330px) 1fr auto; }
	.custom-logo, .ftc-default-logo { max-width: 325px; }
	.ftc-menu a { padding-inline: 8px; font-size: 14px; }
}

@media (max-width: 1180px) {
	.ftc-header-inner { grid-template-columns: minmax(240px, 1fr) auto auto; }
	.ftc-category-strip-inner { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.ftc-category-link + .ftc-category-link { border-left: 0; }
	.ftc-category-link:nth-child(even) { border-left: 1px solid var(--ftc-border); }
	.ftc-category-link:nth-child(n+3) { border-top: 1px solid var(--ftc-border); }
}

@media (max-width: 960px) {
	.ftc-hero-grid { grid-template-columns: 1fr; }
	.ftc-hero-visual { max-width: 760px; }
	.ftc-corporate-banner-rich,
	.ftc-final-cta { grid-template-columns: auto 1fr; }
	.ftc-corporate-banner-rich > .ftc-button,
	.ftc-final-cta > .ftc-button { grid-column: 2; justify-self: start; }
	.ftc-resource-feature-grid,
	.ftc-info-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.ftc-auth-shell { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
	.ftc-header-inner { min-height: 76px; }
	.custom-logo, .ftc-default-logo { max-width: min(280px, 70vw); max-height: 56px; }
	.ftc-hero-grid { padding-top: 46px; padding-bottom: 78px; }
	.ftc-hero h1 { font-size: clamp(40px, 12vw, 58px); }
	.ftc-hero-visual { padding: 18px; border-radius: 22px; }
	.ftc-hero-logo-card { padding: 17px; gap: 14px; }
	.ftc-hero-brand-mark { width: 70px; height: 70px; }
	.ftc-hero-benefit-grid { grid-template-columns: 1fr; }
	.ftc-mini-card { min-height: auto; }
	.ftc-category-strip { margin-top: -32px; }
	.ftc-category-strip-inner { grid-template-columns: 1fr; padding: 8px; }
	.ftc-category-link:nth-child(even),
	.ftc-category-link:nth-child(n+3) { border-left: 0; border-top: 1px solid var(--ftc-border); }
	.ftc-category-link:first-child { border-top: 0; }
	.ftc-category-link small { display: none; }
	.ftc-resource-feature-grid,
	.ftc-info-grid { grid-template-columns: 1fr; }
	.ftc-audience-grid-icons > div { grid-template-columns: auto 1fr; }
	.ftc-process-icons li { grid-template-columns: 58px 1fr; }
	.ftc-process-icons li small { grid-column: 2; max-width: none; }
	.ftc-process-icons li:not(:last-child)::after { left: 29px; top: 58px; height: 18px; }
	.ftc-corporate-banner-rich,
	.ftc-final-cta { grid-template-columns: 1fr; }
	.ftc-corporate-banner-rich > .ftc-button,
	.ftc-final-cta > .ftc-button { grid-column: 1; width: 100%; }
	.ftc-corporate-icon,
	.ftc-final-cta-icon { width: 64px; height: 64px; }
	.ftc-page-hero-content { grid-template-columns: 1fr; }
	.ftc-page-hero-icon { width: 62px; height: 62px; }
	.ftc-course-title-row { display: grid; }
	.ftc-course-title-icon { width: 64px; height: 64px; }
	.ftc-footer-brand img { max-width: min(340px, 100%); }
}

/* v1.2.0 component completion and resilience */
.ftc-section-compact { padding-block: clamp(42px, 6vw, 72px); }
.ftc-info-grid-single-row { grid-template-columns: repeat(3, minmax(0,1fr)); margin-bottom: 34px; }
.ftc-prose-spaced { margin-top: 36px; }

.ftc-form-card-heading {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	margin-bottom: 20px;
}
.ftc-form-card-heading > .ftc-icon {
	width: 38px;
	height: 38px;
	padding: 8px;
	border-radius: 11px;
	background: var(--ftc-gold-soft);
	color: var(--ftc-gold-dark);
}
.ftc-form-card-heading .ftc-eyebrow { margin-bottom: 2px; }
.ftc-form-card-heading h2 { margin: 0; }

.ftc-empty-state-small { padding: 26px; }
.ftc-empty-state-small > .ftc-icon,
.ftc-empty-icon {
	display: inline-grid;
	place-items: center;
	width: 50px;
	height: 50px;
	margin-bottom: 14px;
	padding: 11px;
	border-radius: 14px;
	background: var(--ftc-gold-soft);
	color: var(--ftc-gold-dark);
}
.ftc-empty-icon .ftc-icon { width: 100%; height: 100%; }
.ftc-empty-state h3 { margin: 0 0 8px; color: var(--ftc-primary); font-family: var(--ftc-font-serif); }
.ftc-empty-state-small p { margin-bottom: 0; }
.ftc-empty-state-left { text-align: left; }

.ftc-catalogue-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
	padding: 18px 20px;
	border: 1px solid var(--ftc-border);
	border-radius: 15px;
	background: var(--ftc-surface-blue);
}
.ftc-catalogue-toolbar strong { display: block; color: var(--ftc-primary); }
.ftc-catalogue-toolbar span { display: block; margin-top: 2px; color: var(--ftc-muted); font-size: 13px; }
.ftc-catalogue-search {
	display: flex;
	align-items: center;
	min-width: 280px;
	border: 1px solid #ccd6e2;
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}
.ftc-catalogue-search input {
	min-width: 0;
	width: 100%;
	min-height: 42px;
	padding: 8px 12px;
	border: 0;
	outline: 0;
	background: transparent;
}
.ftc-catalogue-search button {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 0;
	border-left: 1px solid var(--ftc-border);
	background: #fff;
	color: var(--ftc-primary);
	cursor: pointer;
}
.ftc-catalogue-search button .ftc-icon { width: 18px; height: 18px; }
.ftc-course-intro { margin-bottom: 34px; }
.ftc-disclaimer-spaced { margin-top: 38px; }

.ftc-display-heading {
	margin: 0 0 18px;
	font-family: var(--ftc-font-serif);
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.08;
	color: var(--ftc-primary-deep);
}
.ftc-lead-small { max-width: 690px; color: var(--ftc-muted); font-size: 17px; }
.ftc-auth-card form { display: grid; gap: 16px; }
.ftc-auth-card form p { margin: 0; }
.ftc-auth-card label { display: block; margin-bottom: 6px; color: var(--ftc-primary-deep); font-size: 14px; font-weight: 750; }
.ftc-auth-card input[type="text"],
.ftc-auth-card input[type="password"],
.ftc-auth-card input[type="email"] {
	width: 100%;
	min-height: 47px;
	padding: 10px 12px;
	border: 1px solid #cfd7e2;
	border-radius: 9px;
	background: #fff;
}
.ftc-auth-card input[type="submit"] {
	width: 100%;
	min-height: 48px;
	padding: 12px 20px;
	border: 2px solid var(--ftc-primary);
	border-radius: 10px;
	background: var(--ftc-primary);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}
.ftc-auth-card input[type="submit"]:hover { background: var(--ftc-primary-deep); }
.ftc-auth-card .login-remember label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ftc-muted); }
.ftc-auth-footnote { margin: 18px 0 0; color: var(--ftc-muted); font-size: 13px; text-align: center; }
.ftc-auth-footnote a { font-weight: 700; }
.ftc-dashboard-intro {
	margin-bottom: 28px;
	padding: 26px;
	border: 1px solid var(--ftc-border);
	border-left: 4px solid var(--ftc-gold);
	border-radius: 16px;
	background: var(--ftc-surface-blue);
}
.ftc-dashboard-intro h2 { margin: 0 0 7px; color: var(--ftc-primary); font-family: var(--ftc-font-serif); font-size: 30px; }
.ftc-dashboard-intro p:last-child { margin-bottom: 0; color: var(--ftc-muted); }

.ftc-course-facts-empty {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 18px;
	padding: 14px;
	border-radius: 10px;
	background: var(--ftc-surface-blue);
	color: var(--ftc-muted);
}
.ftc-course-facts-empty .ftc-icon { width: 20px; height: 20px; color: var(--ftc-gold-dark); }
.ftc-course-facts-empty p { margin: 0; font-size: 13px; }
.ftc-course-content-section {
	display: grid;
	grid-template-columns: auto minmax(0,1fr);
	gap: 18px;
	margin-top: 38px;
	padding-top: 32px;
	border-top: 1px solid var(--ftc-border);
}
.ftc-course-content-section h2 { margin-top: 0; }
.ftc-section-inline-icon,
.ftc-sidebar-icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--ftc-gold-soft);
	color: var(--ftc-gold-dark);
}
.ftc-section-inline-icon .ftc-icon,
.ftc-sidebar-icon .ftc-icon { width: 24px; height: 24px; }
.ftc-sidebar-icon { margin-bottom: 18px; }
.ftc-disclaimer-title { display: flex; align-items: center; gap: 8px; }
.ftc-disclaimer-title .ftc-icon { width: 19px; height: 19px; }

.ftc-search-result {
	display: grid;
	grid-template-columns: auto minmax(0,1fr);
	gap: 18px;
	align-items: start;
	transition: transform .16s ease, box-shadow .16s ease;
}
.ftc-search-result:hover { transform: translateY(-2px); box-shadow: var(--ftc-shadow-soft); }
.ftc-search-result-icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--ftc-gold-soft);
	color: var(--ftc-gold-dark);
}
.ftc-search-result-icon .ftc-icon { width: 22px; height: 22px; }

.search-form {
	display: flex;
	max-width: 520px;
	border: 1px solid #ccd6e2;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}
.search-form label { flex: 1; }
.search-form .search-field {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 0;
	outline: 0;
}
.search-form .search-submit {
	padding: 10px 18px;
	border: 0;
	background: var(--ftc-primary);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}

.ftc-404 { min-height: 66vh; display: grid; align-items: center; }
.ftc-404-inner { position: relative; z-index: 2; max-width: 800px; text-align: center; }
.ftc-404-inner .ftc-lead { margin-inline: auto; }
.ftc-404-inner .ftc-actions { justify-content: center; }
.ftc-404-icon {
	display: grid;
	place-items: center;
	width: 78px;
	height: 78px;
	margin: 0 auto 22px;
	border-radius: 22px;
	background: var(--ftc-primary);
	color: #fff;
}
.ftc-404-icon .ftc-icon { width: 34px; height: 34px; }

.ftc-footer-badges { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.ftc-footer-badges span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 9px;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 999px;
	color: #d8e1ec;
	font-size: 11px;
}
.ftc-footer-badges .ftc-icon { width: 14px; height: 14px; color: #e6c371; }

.navigation.pagination { margin-top: 36px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 10px;
	border: 1px solid var(--ftc-border);
	border-radius: 9px;
	background: #fff;
	color: var(--ftc-primary);
	text-decoration: none;
	font-weight: 750;
}
.page-numbers.current,
.page-numbers:hover { border-color: var(--ftc-primary); background: var(--ftc-primary); color: #fff; }

.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 14px; border: 1px solid var(--ftc-border); text-align: left; vertical-align: top; }
th { background: var(--ftc-surface-blue); color: var(--ftc-primary); }

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce-checkout #payment,
.woocommerce-cart-form,
.woocommerce .cart_totals {
	border-color: var(--ftc-border);
	border-radius: 14px;
}
.woocommerce-checkout #payment { background: var(--ftc-surface-blue); }
.woocommerce table.shop_table { border-radius: 12px; border-color: var(--ftc-border); }

@media (max-width: 960px) {
	.ftc-info-grid-single-row { grid-template-columns: 1fr; }
	.ftc-catalogue-toolbar { align-items: stretch; }
	.ftc-catalogue-search { min-width: 230px; }
}

@media (max-width: 720px) {
	.ftc-catalogue-toolbar { display: grid; }
	.ftc-catalogue-search { min-width: 0; width: 100%; }
	.ftc-course-content-section { grid-template-columns: 1fr; }
	.ftc-search-result { grid-template-columns: 1fr; }
	.ftc-404-inner .ftc-actions .ftc-button { width: 100%; }
}


/* v1.2.0 — complete catalogue, icon polish and responsive hardening */
.ftc-all-courses-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.ftc-all-courses-grid .ftc-course-card{height:100%;display:flex;flex-direction:column;min-width:0}
.ftc-all-courses-grid .ftc-card-body{display:flex;flex:1;flex-direction:column;min-width:0}
.ftc-all-courses-grid .ftc-card-body .ftc-text-link{margin-top:auto;padding-top:1rem}
.ftc-card-mini-meta{display:flex;flex-wrap:wrap;gap:.55rem .9rem;margin:.85rem 0 0;color:var(--ftc-muted);font-size:.82rem}
.ftc-card-mini-meta>span{display:inline-flex;align-items:center;gap:.35rem;min-width:0}
.ftc-card-mini-meta .ftc-icon{width:16px;height:16px;color:var(--ftc-gold)}
.ftc-course-category-label{display:inline-flex;margin:.45rem 0 0;padding:.35rem .65rem;border:1px solid rgba(190,149,75,.32);border-radius:999px;color:var(--ftc-gold-dark,#8f681f);font-size:.8rem;font-weight:700;background:rgba(190,149,75,.08)}
.ftc-course-content-section-stack{align-items:flex-start}
.ftc-module-list{list-style:none!important;margin:1.2rem 0 0!important;padding:0!important;display:grid;gap:.75rem}
.ftc-module-list li{display:flex;align-items:center;gap:.85rem;margin:0!important;padding:.8rem 1rem;border:1px solid var(--ftc-border);border-radius:12px;background:#fff}
.ftc-module-list li>span{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:var(--ftc-navy);color:#fff;font-size:.78rem;font-weight:800}
.ftc-module-list li>strong{font-family:var(--ftc-font-sans);font-size:.96rem;line-height:1.35}
.ftc-regulatory-review-note{display:flex;align-items:flex-start;gap:.55rem;margin-top:.8rem!important;padding-top:.8rem;border-top:1px solid rgba(13,34,69,.12);font-size:.9rem}
.ftc-regulatory-review-note .ftc-icon{flex:0 0 18px;width:18px;height:18px;margin-top:.1rem;color:var(--ftc-gold-dark,#8f681f)}
.ftc-default-logo-link,.custom-logo-link{display:flex;align-items:center;min-width:0;max-width:100%}
.ftc-default-logo,.custom-logo{display:block;width:auto;max-width:100%;height:auto;max-height:70px;object-fit:contain}
.ftc-brand{min-width:0;overflow:hidden}
.ftc-header-inner>*{min-width:0}
.ftc-primary-navigation,.ftc-menu,.ftc-header-actions{min-width:0}
.ftc-card h3,.ftc-card p,.ftc-feature-card h2,.ftc-feature-card p,.ftc-info-card h3,.ftc-info-card p{overflow-wrap:anywhere}
.ftc-icon-tile,.ftc-course-icon-badge,.ftc-feature-card-icon,.ftc-page-hero-icon,.ftc-course-title-icon,.ftc-dashboard-card>.ftc-icon{box-shadow:0 9px 30px rgba(13,34,69,.09)}
.ftc-feature-card-icon,.ftc-course-icon-badge,.ftc-page-hero-icon,.ftc-course-title-icon{transition:transform .2s ease,box-shadow .2s ease}
.ftc-feature-card:hover .ftc-feature-card-icon,.ftc-course-card:hover .ftc-course-icon-badge{transform:translateY(-2px);box-shadow:0 12px 32px rgba(13,34,69,.14)}

@media (max-width:1180px){
 .ftc-all-courses-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ftc-default-logo,.custom-logo{max-height:62px}
}
@media (max-width:720px){
 .ftc-all-courses-grid{grid-template-columns:1fr}
 .ftc-default-logo,.custom-logo{max-height:48px;max-width:min(72vw,390px)}
 .ftc-module-list li{align-items:flex-start;padding:.75rem}
 .ftc-course-title-row{align-items:flex-start}
 .ftc-page-hero-content,.ftc-course-hero-grid,.ftc-two-column{min-width:0}
 .ftc-card,.ftc-form-card,.ftc-course-facts,.ftc-sidebar-cta{max-width:100%;min-width:0}
}


/* --------------------------------------------------------------------------
   v1.3.0 — complete course catalogue, contact details and display hardening
   -------------------------------------------------------------------------- */
.ftc-course-filter-bar {
	display: grid;
	grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
	gap: 18px;
	align-items: center;
	margin: 0 0 28px;
	padding: 18px;
	border: 1px solid var(--ftc-border);
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--ftc-shadow-soft);
}
.ftc-course-filter-search {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	padding: 0 12px;
	border: 1px solid #ccd6e2;
	border-radius: 11px;
	background: var(--ftc-surface-blue);
}
.ftc-course-filter-search > .ftc-icon { width: 19px; height: 19px; color: var(--ftc-gold-dark); }
.ftc-course-filter-search input {
	width: 100%;
	min-width: 0;
	min-height: 46px;
	padding: 9px 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--ftc-text);
}
.ftc-filter-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.ftc-filter-chips button {
	min-height: 38px;
	padding: 7px 12px;
	border: 1px solid var(--ftc-border);
	border-radius: 999px;
	background: #fff;
	color: var(--ftc-primary);
	font-size: 13px;
	font-weight: 750;
	cursor: pointer;
}
.ftc-filter-chips button:hover,
.ftc-filter-chips button.is-active {
	border-color: var(--ftc-primary);
	background: var(--ftc-primary);
	color: #fff;
}
.ftc-course-card[hidden] { display: none !important; }
.ftc-course-filter-empty { margin-top: 20px; }

.ftc-contact-person-card {
	display: grid;
	grid-template-columns: auto minmax(0,1fr) minmax(270px, .8fr);
	gap: 20px;
	align-items: center;
	margin-bottom: 28px;
	padding: 24px;
	border: 1px solid var(--ftc-border);
	border-top: 4px solid var(--ftc-gold);
	border-radius: var(--ftc-radius);
	background: linear-gradient(135deg, #fff 0%, var(--ftc-surface-blue) 100%);
	box-shadow: var(--ftc-shadow-soft);
}
.ftc-contact-avatar {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border-radius: 18px;
	background: var(--ftc-primary);
	color: #fff;
}
.ftc-contact-avatar .ftc-icon { width: 29px; height: 29px; }
.ftc-contact-person-card h2 {
	margin: 0 0 5px;
	color: var(--ftc-primary-deep);
	font-family: var(--ftc-font-serif);
	font-size: clamp(27px, 3vw, 36px);
}
.ftc-contact-person-card p:not(.ftc-eyebrow) { margin: 0; color: var(--ftc-muted); }
.ftc-contact-actions { display: grid; gap: 9px; }
.ftc-contact-link {
	display: flex;
	align-items: center;
	gap: 11px;
	min-width: 0;
	padding: 11px 13px;
	border: 1px solid var(--ftc-border);
	border-radius: 12px;
	background: #fff;
	color: var(--ftc-primary);
	text-decoration: none;
}
.ftc-contact-link:hover { border-color: rgba(199,154,66,.65); box-shadow: var(--ftc-shadow-soft); }
.ftc-contact-link > .ftc-icon { width: 22px; height: 22px; color: var(--ftc-gold-dark); }
.ftc-contact-link span { min-width: 0; }
.ftc-contact-link small { display: block; color: var(--ftc-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.ftc-contact-link strong { display: block; overflow-wrap: anywhere; font-size: 14px; }

.ftc-footer-contact { display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); }
.ftc-footer-contact > strong { color: #fff; font-size: 13px; }
.ftc-footer-contact a { display: inline-flex; align-items: center; gap: 7px; overflow-wrap: anywhere; }
.ftc-footer-contact .ftc-icon { width: 14px; height: 14px; color: #e6c371; }

.ftc-header-actions .ftc-link-with-icon > .ftc-icon,
.ftc-mobile-actions .ftc-link-with-icon > .ftc-icon { width: 17px; height: 17px; }

@media (max-width: 1380px) {
	.ftc-header-search-desktop { display: none; }
}
@media (max-width: 960px) {
	.ftc-course-filter-bar { grid-template-columns: 1fr; }
	.ftc-filter-chips { justify-content: flex-start; }
	.ftc-contact-person-card { grid-template-columns: auto 1fr; }
	.ftc-contact-actions { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
	.ftc-course-filter-bar { padding: 13px; }
	.ftc-filter-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
	.ftc-filter-chips button { white-space: nowrap; }
	.ftc-contact-person-card { grid-template-columns: 1fr; padding: 19px; }
	.ftc-contact-avatar { width: 54px; height: 54px; }
	.ftc-contact-actions { grid-column: 1; grid-template-columns: 1fr; }
	.ftc-contact-link { width: 100%; }
	.ftc-footer-contact a { max-width: 100%; }
}

.ftc-catalogue-toolbar-simple { justify-content: space-between; }
.ftc-catalogue-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 11px;
	border-radius: 999px;
	background: #fff;
	color: var(--ftc-primary);
	font-size: 12px;
	font-weight: 750;
	white-space: nowrap;
}
.ftc-catalogue-badge .ftc-icon { width: 16px; height: 16px; color: var(--ftc-gold-dark); }
@media (max-width: 720px) {
	.ftc-catalogue-toolbar-simple { display: grid; }
	.ftc-catalogue-badge { justify-self: start; white-space: normal; }
}

/* Header overflow prevention for medium laptops/tablets. */
@media (max-width: 1280px) {
	.ftc-header-inner {
		grid-template-columns: minmax(240px, 1fr) auto auto;
		gap: 14px;
	}
	.ftc-menu-toggle { display: inline-flex; order: 2; }
	.ftc-primary-navigation {
		display: none;
		position: absolute;
		left: 20px;
		right: 20px;
		top: calc(100% + 8px);
		padding: 16px;
		border: 1px solid var(--ftc-border);
		border-radius: 14px;
		background: #fff;
		box-shadow: var(--ftc-shadow);
	}
	.ftc-primary-navigation.is-open { display: block; }
	.ftc-menu { display: grid; gap: 2px; }
	.ftc-menu a { width: 100%; }
	.ftc-mobile-actions { display: grid; }
	.ftc-mobile-actions .ftc-header-search { width: 100%; }
	.ftc-mobile-actions .ftc-header-search input { flex: 1; width: auto; }
	.ftc-mobile-actions .ftc-login-link { display: inline-flex; min-height: 42px; align-items: center; }
	.ftc-header-search-desktop { display: none; }
	.ftc-header-actions { order: 3; }
}

/* --------------------------------------------------------------------------
   CRM shortcode compatibility
   Keeps third-party CRM/contact/enrolment shortcodes inside MFTC containers
   without changing their submission logic.
   -------------------------------------------------------------------------- */
.ftc-crm-slot {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.ftc-crm-slot > * {
	max-width: 100%;
	box-sizing: border-box;
}

.ftc-crm-slot form,
.ftc-crm-slot .wpcf7,
.ftc-crm-slot .wpforms-container,
.ftc-crm-slot .gform_wrapper,
.ftc-crm-slot .forminator-ui,
.ftc-crm-slot .crm-form,
.ftc-crm-slot .contact-form {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.ftc-crm-slot :where(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), select, textarea) {
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
}

.ftc-crm-slot :where(img, iframe, video, canvas, svg) {
	max-width: 100%;
}

.ftc-crm-slot :where(table) {
	width: 100%;
	max-width: 100%;
}

.ftc-crm-slot :where(.row, .form-row, .fields, .field-row, .crm-row) {
	max-width: 100%;
	min-width: 0;
}

.ftc-crm-slot-contact,
.ftc-crm-slot-corporate,
.ftc-crm-slot-enrol {
	overflow-wrap: anywhere;
}


@media (max-width: 960px) {
	.ftc-crm-slot :where(.row, .form-row, .fields, .field-row, .crm-row) {
		grid-template-columns: 1fr !important;
		flex-wrap: wrap;
	}
}

@media (max-width: 720px) {
	.ftc-crm-slot,
	.ftc-crm-slot > *,
	.ftc-crm-slot form {
		min-width: 0 !important;
		max-width: 100% !important;
	}

	.ftc-crm-slot :where(button, input[type="submit"], .button, .btn) {
		max-width: 100%;
	}
}

.ftc-form-grid {
	display: grid;
	gap: 16px;
	min-width: 0;
}
.ftc-form-grid-two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 720px) {
	.ftc-form-grid-two { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   v1.5.0 — compact course cards, complete course pages and chatbot mount
   -------------------------------------------------------------------------- */

/* Course cards: remove the decorative media block and put the meaningful icon
   at the bottom-left, as part of the card action footer. */
.ftc-course-card-compact {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border-top: 3px solid var(--ftc-gold);
}
.ftc-course-card-compact::after {
	content: "M";
	position: absolute;
	right: -10px;
	bottom: -42px;
	z-index: -1;
	font-family: var(--ftc-font-serif);
	font-size: 150px;
	font-weight: 700;
	line-height: 1;
	color: rgba(13,34,69,.035);
	pointer-events: none;
}
.ftc-all-courses-grid .ftc-course-card > .ftc-card-media,
.ftc-course-card-compact > .ftc-card-media {
	display: none !important;
}
.ftc-course-card-compact .ftc-card-body,
.ftc-all-courses-grid .ftc-course-card-compact .ftc-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
	padding: 28px;
}
.ftc-course-card-compact .ftc-card-category {
	margin-bottom: 10px !important;
}
.ftc-course-card-compact h3 {
	margin-bottom: 14px;
	font-size: clamp(23px, 2vw, 29px);
}
.ftc-course-card-compact .ftc-course-card-summary {
	margin: 0;
	color: #52677f;
	font-size: 15px;
	line-height: 1.75;
}
.ftc-course-card-footer {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin-top: auto;
	padding-top: 22px;
}
.ftc-course-card-footer .ftc-course-icon-badge {
	position: static;
	display: grid;
	place-items: center;
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: var(--ftc-primary);
	color: #fff;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(13,34,69,.14);
}
.ftc-course-card-footer .ftc-course-icon-badge .ftc-icon {
	width: 27px;
	height: 27px;
}
.ftc-course-card-footer .ftc-text-link {
	margin: 0 !important;
	padding: 10px 0 8px;
	white-space: nowrap;
}
.ftc-course-card-compact .ftc-card-mini-meta {
	margin: 18px 0 0;
	padding-bottom: 2px;
}
.ftc-course-card-compact:hover .ftc-course-icon-badge {
	transform: translateY(-2px);
	box-shadow: 0 13px 28px rgba(13,34,69,.18);
}

/* Rich course page content. */
.ftc-course-prose {
	display: grid;
	gap: 0;
}
.ftc-course-content-section {
	padding: 28px 0;
	border-bottom: 1px solid var(--ftc-border);
}
.ftc-course-content-section:first-child { padding-top: 0; }
.ftc-course-content-section h2 {
	margin: 0 0 14px;
}
.ftc-course-content-section p:last-child,
.ftc-course-content-section ul:last-child,
.ftc-course-content-section ol:last-child { margin-bottom: 0; }
.ftc-check-list {
	list-style: none !important;
	margin: 16px 0 0 !important;
	padding: 0 !important;
	display: grid;
	gap: 10px;
}
.ftc-check-list li {
	position: relative;
	margin: 0 !important;
	padding-left: 30px;
}
.ftc-check-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: .05em;
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--ftc-gold-soft);
	color: var(--ftc-gold-dark);
	font-size: 12px;
	font-weight: 900;
}
.ftc-authoritative-sources {
	margin-top: 34px;
	padding: 28px;
	border: 1px solid #d6dfeb;
	border-left: 4px solid var(--ftc-gold);
	border-radius: 16px;
	background: linear-gradient(135deg, #f7f9fc, #fffaf0);
}
.ftc-authoritative-sources-heading {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}
.ftc-authoritative-sources-heading > .ftc-icon {
	flex: 0 0 25px;
	width: 25px;
	height: 25px;
	margin-top: 2px;
	color: var(--ftc-gold-dark);
}
.ftc-authoritative-sources h2 {
	margin: 0;
	font-size: clamp(25px, 3vw, 34px);
}
.ftc-authoritative-sources > p { color: #52677f; }
.ftc-authoritative-sources ul { margin-bottom: 0; }
.ftc-authoritative-sources a { font-weight: 750; }
.ftc-source-reviewed {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 20px !important;
	padding-top: 16px;
	border-top: 1px solid rgba(13,34,69,.12);
	font-size: 14px;
}
.ftc-source-reviewed .ftc-icon { width: 17px; height: 17px; color: var(--ftc-gold-dark); }
.ftc-contact-inline {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 18px;
	padding: 14px;
	border: 1px solid var(--ftc-border);
	border-radius: 12px;
	background: var(--ftc-surface-blue);
	color: var(--ftc-primary);
	text-decoration: none;
}
.ftc-contact-inline > .ftc-icon { width: 22px; height: 22px; color: var(--ftc-gold-dark); }
.ftc-contact-inline small,
.ftc-contact-inline strong { display: block; }
.ftc-contact-inline small { color: var(--ftc-muted); font-size: 11px; }
.ftc-contact-inline strong { margin-top: 2px; font-size: 15px; }

/* Defensive display rules for WordPress/plugin content on every template. */
.ftc-main,
.ftc-shell,
.ftc-content-shell,
.ftc-prose,
.ftc-card,
.ftc-card-body,
.ftc-course-layout,
.ftc-course-hero-grid,
.ftc-page-hero-content,
.ftc-crm-slot {
	min-width: 0;
}
.ftc-prose img,
.ftc-prose video,
.ftc-prose iframe,
.ftc-crm-slot img,
.ftc-crm-slot video,
.ftc-crm-slot iframe {
	max-width: 100%;
}
.ftc-prose pre,
.ftc-prose code { overflow-wrap: anywhere; }

@media (max-width: 720px) {
	.ftc-course-card-compact .ftc-card-body { padding: 23px; }
	.ftc-course-card-footer { align-items: center; }
	.ftc-course-card-footer .ftc-course-icon-badge { flex-basis: 52px; width: 52px; height: 52px; }
	.ftc-course-card-footer .ftc-course-icon-badge .ftc-icon { width: 24px; height: 24px; }
	.ftc-authoritative-sources { padding: 22px; }
}

/* --------------------------------------------------------------------------
   MFTC v1.6.0 — full-width layout and header collision fixes
   -------------------------------------------------------------------------- */
:root {
	--ftc-shell: 1680px;
	--ftc-reading: 920px;
	--ftc-header-h: 84px;
}

html,
body,
.ftc-header,
.ftc-main,
.ftc-footer {
	width: 100%;
	max-width: none;
}

/* Full-width page canvas with a small safe-area gutter. Sections/backgrounds
   remain edge-to-edge while content can use the available viewport. */
.ftc-shell {
	width: min(calc(100% - 48px), var(--ftc-shell));
	max-width: var(--ftc-shell);
	margin-inline: auto;
}

/* Previous .ftc-narrow was applied to the shell itself on standard, FAQ and
   legal pages. Keep those pages full-width while retaining readable prose. */
.ftc-shell.ftc-narrow {
	max-width: var(--ftc-shell);
}
.ftc-shell.ftc-narrow > .ftc-prose,
.ftc-shell.ftc-narrow > article.ftc-prose {
	max-width: min(100%, 980px);
}
.ftc-shell.ftc-narrow > .ftc-faq-list {
	max-width: min(100%, 1180px);
}

/* Header uses the complete viewport, starts close to the left edge, and
   reserves independent columns for navigation and actions. */
.ftc-header-inner {
	width: 100%;
	max-width: none;
	min-height: var(--ftc-header-h);
	margin: 0;
	padding: 0 18px;
	grid-template-columns: minmax(250px, 292px) minmax(0, 1fr) auto;
	gap: 12px;
}
.ftc-brand {
	justify-self: start;
	overflow: visible;
}
.ftc-default-logo-link,
.custom-logo-link {
	justify-content: flex-start;
	width: auto;
	max-width: 100%;
}
.ftc-default-logo,
.custom-logo {
	width: auto;
	max-width: 286px;
	max-height: 62px;
	object-position: left center;
}

.ftc-primary-navigation {
	justify-self: stretch;
	min-width: 0;
}
.ftc-menu {
	justify-content: center;
	gap: 0;
	min-width: 0;
}
.ftc-menu li {
	min-width: 0;
}
.ftc-menu a {
	min-height: 42px;
	padding: 7px 8px;
	font-size: 14px;
	line-height: 1.2;
}
.ftc-menu a::after {
	left: 8px;
	right: 8px;
}

.ftc-header-actions {
	justify-self: end;
	gap: 8px;
	white-space: nowrap;
}
.ftc-header-actions .ftc-button-small {
	padding-inline: 13px;
}

/* Compact desktop search button. The input opens in a floating panel instead
   of occupying the same row as the Contact menu item. */
.ftc-header-search-shell {
	position: relative;
	flex: 0 0 auto;
}
.ftc-header-search-toggle {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--ftc-border);
	border-radius: 10px;
	background: #fff;
	color: var(--ftc-primary);
	cursor: pointer;
}
.ftc-header-search-toggle:hover,
.ftc-header-search-toggle[aria-expanded="true"] {
	border-color: rgba(199,154,66,.65);
	background: #fff9ef;
	color: var(--ftc-gold-dark);
}
.ftc-header-search-toggle .ftc-icon {
	width: 18px;
	height: 18px;
}
.ftc-header-search-panel {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 1200;
	width: min(380px, calc(100vw - 32px));
	padding: 12px;
	border: 1px solid var(--ftc-border);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--ftc-shadow);
}
.ftc-header-search-panel[hidden] {
	display: none !important;
}
.ftc-header-search-panel .ftc-header-search-desktop {
	display: flex !important;
	width: 100%;
	gap: 8px;
}
.ftc-header-search-panel .ftc-header-search-desktop input {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	min-height: 44px;
}
.ftc-header-search-panel .ftc-header-search-desktop button {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
}

/* Make WordPress/editor/plugin content honour the full-width MFTC canvas. */
.ftc-content-shell,
.ftc-page-hero-content,
.ftc-course-hero-grid,
.ftc-hero-grid,
.ftc-category-strip-inner,
.ftc-footer-grid,
.ftc-footer-bottom {
	max-width: var(--ftc-shell);
}
.ftc-content-shell {
	width: min(calc(100% - 48px), var(--ftc-shell));
}

/* Avoid third-party blocks reintroducing a narrow site wrapper. */
.ftc-main > .wp-site-blocks,
.ftc-main > .entry-content,
.ftc-content-shell > .entry-content,
.ftc-content-shell > .wp-block-group,
.ftc-content-shell > .wp-block-columns {
	max-width: 100%;
}

@media (max-width: 1500px) {
	.ftc-header-inner {
		grid-template-columns: minmax(225px, 258px) minmax(0, 1fr) auto;
		padding-inline: 14px;
		gap: 8px;
	}
	.ftc-default-logo,
	.custom-logo {
		max-width: 252px;
		max-height: 58px;
	}
	.ftc-menu a {
		padding-inline: 6px;
		font-size: 13.5px;
	}
	.ftc-header-actions {
		gap: 6px;
	}
	.ftc-login-link {
		font-size: 13.5px;
	}
}

/* Switch to the controlled mobile/tablet menu before the desktop row can
   collide. The header actions stay independent and never sit under nav links. */
@media (max-width: 1280px) {
	.ftc-header-inner {
		grid-template-columns: minmax(230px, 1fr) auto auto;
		gap: 10px;
	}
	.ftc-brand {
		max-width: 320px;
	}
	.ftc-default-logo,
	.custom-logo {
		max-width: 300px;
	}
	.ftc-menu-toggle {
		display: inline-flex;
		order: 2;
	}
	.ftc-primary-navigation {
		display: none;
		position: absolute;
		left: 14px;
		right: 14px;
		top: calc(100% + 8px);
		padding: 16px;
		border: 1px solid var(--ftc-border);
		border-radius: 14px;
		background: #fff;
		box-shadow: var(--ftc-shadow);
	}
	.ftc-primary-navigation.is-open {
		display: block;
	}
	.ftc-menu {
		display: grid;
		gap: 2px;
	}
	.ftc-menu a {
		width: 100%;
		font-size: 15px;
	}
	.ftc-mobile-actions {
		display: grid;
	}
	.ftc-header-search-shell {
		display: none;
	}
	.ftc-header-actions {
		order: 3;
	}
}

@media (max-width: 720px) {
	:root { --ftc-header-h: 72px; }
	.ftc-shell,
	.ftc-content-shell {
		width: calc(100% - 28px);
	}
	.ftc-header-inner {
		width: 100%;
		padding-inline: 12px;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 8px;
	}
	.ftc-brand {
		max-width: min(76vw, 300px);
	}
	.ftc-default-logo,
	.custom-logo {
		max-width: min(74vw, 288px);
		max-height: 52px;
	}
	.ftc-header-actions {
		display: none;
	}
	.ftc-menu-toggle {
		grid-column: 2;
		grid-row: 1;
	}
	.ftc-primary-navigation {
		left: 10px;
		right: 10px;
	}
}

/* Common WordPress wrapper compatibility: do not allow an inherited theme or
   plugin wrapper to re-constrain MFTC templates after an in-place update. */
body > #page,
body > .site,
.site-content,
.content-area,
.wp-site-blocks {
	width: 100%;
	max-width: none;
}


/* --------------------------------------------------------------------------
   MFTC v1.7.0 — shared header/hero alignment and plugin-owned chatbot
   -------------------------------------------------------------------------- */

/* Use one horizontal grid for the header and every full-width content shell.
   On wide screens this means the logo begins exactly where the hero copy begins,
   and the utility actions end exactly where the hero's right-hand panel ends. */
.ftc-header-inner {
	width: min(calc(100% - 48px), var(--ftc-shell));
	max-width: var(--ftc-shell);
	margin-inline: auto;
	padding-inline: 0;
	grid-template-columns: minmax(250px, 292px) minmax(0, 1fr) auto;
	gap: 12px;
}

.ftc-brand {
	justify-self: start;
	align-self: center;
	width: 100%;
}

.ftc-default-logo-link,
.custom-logo-link {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
}

.ftc-default-logo,
.custom-logo {
	display: block;
	width: auto;
	max-width: 286px;
	max-height: 62px;
	margin: 0;
	object-fit: contain;
	object-position: left center;
}

.ftc-primary-navigation {
	justify-self: stretch;
	width: 100%;
	min-width: 0;
}

.ftc-menu {
	justify-content: center;
	min-width: 0;
}

.ftc-header-actions {
	justify-self: end;
	align-self: center;
	margin: 0;
	padding: 0;
	white-space: nowrap;
}

@media (max-width: 1500px) {
	.ftc-header-inner {
		width: min(calc(100% - 48px), var(--ftc-shell));
		grid-template-columns: minmax(220px, 252px) minmax(0, 1fr) auto;
		gap: 8px;
	}
	.ftc-default-logo,
	.custom-logo {
		max-width: 248px;
		max-height: 57px;
	}
	.ftc-menu a {
		padding-inline: 6px;
		font-size: 13.5px;
	}
}

/* Collapse before the navigation can crowd the brand/actions. Header content
   continues to use the same left/right page gutters. */
@media (max-width: 1320px) {
	.ftc-header-inner {
		width: min(calc(100% - 48px), var(--ftc-shell));
		grid-template-columns: minmax(230px, 1fr) auto auto;
		gap: 10px;
	}
	.ftc-brand { max-width: 310px; }
	.ftc-default-logo,
	.custom-logo { max-width: 300px; }
	.ftc-menu-toggle { display: inline-flex; order: 2; }
	.ftc-primary-navigation {
		display: none;
		position: absolute;
		left: 20px;
		right: 20px;
		top: calc(100% + 8px);
		width: auto;
		padding: 16px;
		border: 1px solid var(--ftc-border);
		border-radius: 14px;
		background: #fff;
		box-shadow: var(--ftc-shadow);
	}
	.ftc-primary-navigation.is-open { display: block; }
	.ftc-menu { display: grid; gap: 2px; justify-content: stretch; }
	.ftc-menu a { width: 100%; font-size: 15px; }
	.ftc-mobile-actions { display: grid; }
	.ftc-header-search-shell { display: none; }
	.ftc-header-actions { order: 3; }
}

@media (max-width: 720px) {
	.ftc-header-inner {
		width: calc(100% - 28px);
		padding-inline: 0;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 8px;
	}
	.ftc-brand { max-width: min(76vw, 300px); }
	.ftc-default-logo,
	.custom-logo {
		max-width: min(74vw, 288px);
		max-height: 52px;
	}
	.ftc-primary-navigation {
		left: 14px;
		right: 14px;
	}
}

/* --------------------------------------------------------------------------
   v1.7.2 — full-width contact CRM placement
   The contact page is intentionally single-column: primary contact, enquiry
   type cards, then one full-width CRM-linked form.
   -------------------------------------------------------------------------- */
.ftc-contact-page-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.ftc-contact-page-layout .ftc-contact-person-card,
.ftc-contact-page-layout .ftc-contact-enquiry-types,
.ftc-contact-page-layout .ftc-contact-crm-section {
	width: 100%;
	max-width: none;
	min-width: 0;
	margin-left: 0;
	margin-right: 0;
}

.ftc-contact-page-layout .ftc-contact-person-card,
.ftc-contact-page-layout .ftc-contact-enquiry-types {
	margin-bottom: 0;
}

.ftc-form-card-full {
	position: static;
	top: auto;
	width: 100%;
	max-width: none;
	min-width: 0;
	padding: clamp(24px, 3vw, 42px);
}

.ftc-contact-crm-section .ftc-form-card-heading {
	margin-bottom: 26px;
}

/* Override restrictive widths from CRM shortcode providers while preserving
   their submission logic and field markup. */
.ftc-contact-crm-section .ftc-crm-slot,
.ftc-contact-crm-section .ftc-crm-slot > *,
.ftc-contact-crm-section .ftc-crm-slot form,
.ftc-contact-crm-section .ftc-crm-slot .ftc-form-card,
.ftc-contact-crm-section .ftc-crm-slot .crm-form,
.ftc-contact-crm-section .ftc-crm-slot .contact-form,
.ftc-contact-crm-section .ftc-crm-slot .wpcf7,
.ftc-contact-crm-section .ftc-crm-slot .wpforms-container,
.ftc-contact-crm-section .ftc-crm-slot .gform_wrapper,
.ftc-contact-crm-section .ftc-crm-slot .forminator-ui {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.ftc-contact-crm-section .ftc-crm-form {
	width: 100%;
}

@media (max-width: 720px) {
	.ftc-contact-page-layout { gap: 20px; }
	.ftc-form-card-full { padding: 20px; }
}

/* --------------------------------------------------------------------------
   MFTC v1.8.0 — full-width, mobile-first stability and service expansion
   -------------------------------------------------------------------------- */
:root {
	--ftc-shell: 100%;
	--ftc-page-gutter: clamp(16px, 2.8vw, 56px);
	--ftc-reading: 960px;
}

html,
body {
	width: 100%;
	max-width: 100%;
	overflow-x: clip;
}

/* Every public MFTC page now uses the viewport rather than a centred narrow
   site box. Individual prose blocks can still keep a comfortable line length. */
.ftc-shell,
.ftc-header-inner,
.ftc-resources-shell,
.ftc-content-shell,
.woocommerce .ftc-shell,
.woocommerce-page .ftc-shell {
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	padding-left: max(var(--ftc-page-gutter), env(safe-area-inset-left));
	padding-right: max(var(--ftc-page-gutter), env(safe-area-inset-right));
}

.ftc-header-inner {
	grid-template-columns: minmax(230px, 292px) minmax(0, 1fr) auto;
	gap: 12px;
}

/* WordPress and common plugin wrappers must not re-box the page. */
#page,
.site,
.site-main,
.site-content,
.content-area,
.entry-content,
.wp-site-blocks,
.wp-block-group.alignfull,
body > .wp-site-blocks {
	max-width: none;
}

.ftc-main,
.ftc-page-hero,
.ftc-course-hero,
.ftc-section,
.ftc-footer,
.ftc-category-strip {
	width: 100%;
	max-width: none;
}

/* Keep prose readable without shrinking the actual page canvas. */
.ftc-shell.ftc-narrow,
.ftc-prose,
.ftc-resource-intro {
	max-width: none;
}
.ftc-shell.ftc-narrow > .ftc-prose,
.ftc-shell.ftc-narrow > article.ftc-prose,
.ftc-prose > p,
.ftc-prose > ul,
.ftc-prose > ol,
.ftc-prose > blockquote {
	max-width: var(--ftc-reading);
}
.ftc-prose > table,
.ftc-prose > figure,
.ftc-prose > .alignwide,
.ftc-prose > .alignfull {
	max-width: 100%;
}

/* Courses should use the available desktop width rather than creating very
   wide three-card rows on large monitors. */
.ftc-all-courses-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: 100%;
}
.ftc-catalogue-toolbar,
.ftc-course-filter-bar,
.ftc-course-filter-empty,
.ftc-disclaimer-spaced {
	width: 100%;
	max-width: none;
}

/* Resources is deliberately independent of the legacy resource shortcode and
   uses the full page canvas. */
.ftc-resources-main,
.ftc-resources-main .ftc-page-hero,
.ftc-resources-main .ftc-section,
.ftc-resources-shell {
	width: 100%;
	max-width: none;
}
.ftc-resources-topic-grid {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}
.ftc-resources-card-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Financial Consulting */
.ftc-consulting-main,
.ftc-consulting-main .ftc-section,
.ftc-consulting-main .ftc-page-hero {
	width: 100%;
	max-width: none;
}
.ftc-consulting-service-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ftc-consulting-home-banner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(18px, 3vw, 42px);
	padding-top: clamp(28px, 4vw, 54px);
	padding-bottom: clamp(28px, 4vw, 54px);
	background: linear-gradient(110deg, var(--ftc-surface-blue), #fff 58%, #fbf4e6);
	border-top: 1px solid var(--ftc-border);
	border-bottom: 1px solid var(--ftc-border);
}
.ftc-consulting-home-icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 18px;
	background: var(--ftc-primary);
	color: #fff;
	box-shadow: var(--ftc-shadow-soft);
}
.ftc-consulting-home-icon .ftc-icon { width: 32px; height: 32px; }
.ftc-consulting-home-copy h2 { margin: 4px 0 10px; }
.ftc-consulting-home-copy p:last-child { margin-bottom: 0; max-width: 980px; }

/* Third-party CRM/LMS/commerce output must remain inside the viewport. */
.ftc-main form,
.ftc-main iframe,
.ftc-main video,
.ftc-main embed,
.ftc-main object,
.ftc-main table,
.ftc-crm-slot,
.ftc-crm-slot > *,
.tutor-wrap,
.learndash-wrapper,
.llms-course-navigation,
.woocommerce,
.woocommerce-page {
	max-width: 100%;
	min-width: 0;
}
.ftc-main input,
.ftc-main select,
.ftc-main textarea,
.ftc-main button {
	max-width: 100%;
}
.ftc-prose table {
	display: block;
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* Tablet */
@media (max-width: 1480px) {
	.ftc-all-courses-grid,
	.ftc-resources-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ftc-resources-topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1320px) {
	.ftc-header-inner {
		grid-template-columns: minmax(220px, 1fr) auto auto;
		padding-left: max(var(--ftc-page-gutter), env(safe-area-inset-left));
		padding-right: max(var(--ftc-page-gutter), env(safe-area-inset-right));
	}
}

@media (max-width: 1050px) {
	.ftc-all-courses-grid,
	.ftc-resources-card-grid,
	.ftc-consulting-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ftc-resources-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ftc-consulting-home-banner { grid-template-columns: auto minmax(0, 1fr); }
	.ftc-consulting-home-banner > .ftc-button { grid-column: 1 / -1; justify-self: start; }
}

/* Mobile */
@media (max-width: 720px) {
	:root { --ftc-page-gutter: 16px; }
	body { font-size: 16px; }
	.ftc-shell,
	.ftc-header-inner,
	.ftc-resources-shell,
	.ftc-content-shell {
		width: 100%;
		padding-left: max(var(--ftc-page-gutter), env(safe-area-inset-left));
		padding-right: max(var(--ftc-page-gutter), env(safe-area-inset-right));
	}
	.ftc-header-inner { grid-template-columns: minmax(0, 1fr) auto; }
	.ftc-brand { max-width: min(76vw, 286px); }
	.ftc-default-logo,
	.custom-logo { max-width: min(74vw, 278px); max-height: 52px; }
	.ftc-primary-navigation { left: var(--ftc-page-gutter); right: var(--ftc-page-gutter); }
	.ftc-page-hero,
	.ftc-course-hero { padding-top: 34px; padding-bottom: 34px; }
	.ftc-page-hero h1,
	.ftc-course-hero h1 { font-size: clamp(34px, 10vw, 48px); line-height: 1.02; overflow-wrap: anywhere; }
	.ftc-hero h1 { font-size: clamp(40px, 12vw, 58px); line-height: .98; overflow-wrap: anywhere; }
	.ftc-all-courses-grid,
	.ftc-resources-card-grid,
	.ftc-resources-topic-grid,
	.ftc-consulting-service-grid { grid-template-columns: 1fr; }
	.ftc-course-filter-bar,
	.ftc-catalogue-toolbar { gap: 14px; }
	.ftc-filter-chips { display: flex; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scroll-snap-type: x proximity; }
	.ftc-filter-chips button { flex: 0 0 auto; scroll-snap-align: start; }
	.ftc-consulting-home-banner { grid-template-columns: 1fr; }
	.ftc-consulting-home-icon { width: 62px; height: 62px; }
	.ftc-actions,
	.ftc-page-hero-actions { align-items: stretch; }
	.ftc-actions .ftc-button,
	.ftc-page-hero-actions .ftc-button { width: 100%; justify-content: center; }
	.ftc-course-layout,
	.ftc-two-column { grid-template-columns: 1fr; }
	.ftc-sidebar-cta { position: static; }
}

/* Financial Consulting adds an additional primary-nav item. Collapse the menu
   before a normal laptop viewport can force links into the utility actions. */
@media (max-width: 1500px) {
	.ftc-header-inner {
		grid-template-columns: minmax(230px, 1fr) auto auto;
		gap: 10px;
	}
	.ftc-brand { max-width: 310px; }
	.ftc-default-logo,
	.custom-logo { max-width: 292px; max-height: 58px; }
	.ftc-menu-toggle { display: inline-flex; order: 2; }
	.ftc-primary-navigation {
		display: none;
		position: absolute;
		left: var(--ftc-page-gutter);
		right: var(--ftc-page-gutter);
		top: calc(100% + 8px);
		width: auto;
		padding: 16px;
		border: 1px solid var(--ftc-border);
		border-radius: 14px;
		background: #fff;
		box-shadow: var(--ftc-shadow);
	}
	.ftc-primary-navigation.is-open { display: block; }
	.ftc-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; justify-content: stretch; }
	.ftc-menu a { width: 100%; font-size: 15px; }
	.ftc-mobile-actions { display: none; }
	.ftc-header-search-shell { display: block; }
	.ftc-header-actions { order: 3; }
}

@media (max-width: 900px) {
	.ftc-header-actions .ftc-login-link,
	.ftc-header-actions .ftc-button { display: none; }
	.ftc-mobile-actions { display: grid; }
	.ftc-menu { grid-template-columns: 1fr; }
}

/* MFTC v1.8.1 — plugin chatbot launcher compatibility.
   The plugin remains the owner of chatbot rendering and open/close logic. */
.mftc-plugin-chat-launcher {
	pointer-events: auto !important;
	touch-action: manipulation !important;
	z-index: 2147483000 !important;
	isolation: isolate;
	cursor: pointer;
}

.mftc-plugin-chat-launcher.mftc-chat-logo-only {
	width: 60px !important;
	height: 60px !important;
	min-width: 60px !important;
	min-height: 60px !important;
	max-width: 60px !important;
	max-height: 60px !important;
	padding: 8px !important;
	border-radius: 999px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0 !important;
	overflow: hidden !important;
	box-sizing: border-box !important;
	line-height: 1 !important;
}

.mftc-plugin-chat-launcher.mftc-chat-logo-only img,
.mftc-plugin-chat-launcher.mftc-chat-logo-only svg,
.mftc-plugin-chat-launcher.mftc-chat-logo-only picture {
	width: 100% !important;
	height: 100% !important;
	max-width: 44px !important;
	max-height: 44px !important;
	object-fit: contain !important;
	pointer-events: none !important;
}

.mftc-chat-launcher-logo {
	display: block !important;
	width: 44px !important;
	height: 44px !important;
	object-fit: contain !important;
}

/* Common plugin launcher wrappers should remain clickable above site UI. */
:is([class*="chatbot" i], [id*="chatbot" i], [class*="chat-widget" i], [id*="chat-widget" i], [class*="assistant-widget" i], [id*="assistant-widget" i]) {
	max-width: 100vw;
}

@media (max-width: 640px) {
	.mftc-plugin-chat-launcher.mftc-chat-logo-only {
		width: 56px !important;
		height: 56px !important;
		min-width: 56px !important;
		min-height: 56px !important;
		max-width: 56px !important;
		max-height: 56px !important;
		padding: 7px !important;
	}
}

/* --------------------------------------------------------------------------
   MFTC v1.8.2 — restore approved header alignment after v1.8.x expansion
   The header and homepage/page content use the same responsive gutters. This
   keeps the visible logo aligned with the hero copy and the utility actions
   aligned with the right edge of the hero/content grid.
   -------------------------------------------------------------------------- */
.ftc-header-inner {
	width: 100%;
	max-width: none;
	margin: 0;
	padding-left: max(var(--ftc-page-gutter), env(safe-area-inset-left));
	padding-right: max(var(--ftc-page-gutter), env(safe-area-inset-right));
	grid-template-columns: minmax(220px, 286px) minmax(0, 1fr) auto;
	gap: 12px;
}

.ftc-brand {
	justify-self: start;
	align-self: center;
	width: 100%;
	max-width: 286px;
	overflow: visible;
}

.ftc-default-logo-link,
.custom-logo-link {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
}

.ftc-default-logo,
.custom-logo {
	display: block;
	width: auto;
	max-width: 278px;
	max-height: 60px;
	margin: 0;
	object-fit: contain;
	object-position: left center;
}

.ftc-primary-navigation {
	position: static;
	display: block;
	justify-self: stretch;
	width: 100%;
	min-width: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.ftc-menu {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0;
	min-width: 0;
}

.ftc-menu a {
	padding-inline: 6px;
	font-size: 13px;
}

.ftc-menu-toggle {
	display: none;
}

.ftc-mobile-actions {
	display: none;
}

.ftc-header-actions {
	display: flex;
	justify-self: end;
	align-self: center;
	align-items: center;
	order: initial;
	gap: 8px;
	margin: 0;
	padding: 0;
	white-space: nowrap;
}

.ftc-header-search-shell {
	display: block;
}

/* Keep the full desktop navigation until the point where the additional
   Financial Consulting item would genuinely crowd the utility actions. */
@media (max-width: 1500px) and (min-width: 1321px) {
	.ftc-header-inner {
		grid-template-columns: minmax(205px, 244px) minmax(0, 1fr) auto;
		gap: 8px;
	}
	.ftc-brand { max-width: 244px; }
	.ftc-default-logo,
	.custom-logo {
		max-width: 238px;
		max-height: 55px;
	}
	.ftc-menu-toggle { display: none; }
	.ftc-primary-navigation {
		position: static;
		display: block;
		width: 100%;
		padding: 0;
		border: 0;
		background: transparent;
		box-shadow: none;
	}
	.ftc-menu {
		display: flex;
		grid-template-columns: none;
		justify-content: center;
		gap: 0;
	}
	.ftc-menu a {
		width: auto;
		padding-inline: 5px;
		font-size: 12.5px;
	}
	.ftc-mobile-actions { display: none; }
	.ftc-header-search-shell { display: block; }
	.ftc-header-actions { display: flex; order: initial; }
}

/* Controlled navigation from tablet/smaller-laptop sizes. The outer left and
   right positions still use the exact same page gutters as the content. */
@media (max-width: 1320px) {
	.ftc-header-inner {
		grid-template-columns: minmax(220px, 1fr) auto auto;
		gap: 10px;
	}
	.ftc-brand { max-width: 300px; }
	.ftc-default-logo,
	.custom-logo {
		max-width: 292px;
		max-height: 56px;
	}
	.ftc-menu-toggle {
		display: inline-flex;
		order: 2;
	}
	.ftc-primary-navigation {
		display: none;
		position: absolute;
		left: max(var(--ftc-page-gutter), env(safe-area-inset-left));
		right: max(var(--ftc-page-gutter), env(safe-area-inset-right));
		top: calc(100% + 8px);
		width: auto;
		padding: 16px;
		border: 1px solid var(--ftc-border);
		border-radius: 14px;
		background: #fff;
		box-shadow: var(--ftc-shadow);
		z-index: 1300;
	}
	.ftc-primary-navigation.is-open { display: block; }
	.ftc-menu {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 4px;
		justify-content: stretch;
	}
	.ftc-menu a {
		width: 100%;
		padding: 9px 10px;
		font-size: 15px;
	}
	.ftc-header-search-shell { display: none; }
	.ftc-header-actions { display: flex; order: 3; }
	.ftc-mobile-actions { display: none; }
}

@media (max-width: 900px) {
	.ftc-header-actions .ftc-login-link,
	.ftc-header-actions .ftc-button { display: none; }
	.ftc-mobile-actions { display: grid; }
	.ftc-menu { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
	.ftc-header-inner {
		width: 100%;
		padding-left: max(var(--ftc-page-gutter), env(safe-area-inset-left));
		padding-right: max(var(--ftc-page-gutter), env(safe-area-inset-right));
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 8px;
	}
	.ftc-brand { max-width: min(74vw, 286px); }
	.ftc-default-logo,
	.custom-logo {
		max-width: min(72vw, 278px);
		max-height: 50px;
	}
	.ftc-menu-toggle {
		grid-column: 2;
		grid-row: 1;
	}
	.ftc-header-actions { display: none; }
	.ftc-primary-navigation {
		left: var(--ftc-page-gutter);
		right: var(--ftc-page-gutter);
	}
}
