/* =========================================================
   Future Skills Training — design tokens & component styles
   Source of truth for the actual visual design (style.css at
   the theme root only carries the required WP theme header).
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
	--fst-navy: #14275c;
	--fst-navy-deep: #0d1c46;
	--fst-white: #ffffff;
	--fst-bg-tint: #eaf4fc;
	--fst-border: #dbe8f4;
	--fst-border-strong: #bcd4e8;
	--fst-text: #171717;
	--fst-text-muted: #5b5f6b;
	--fst-text-faint: #9a9a95;

	--fst-blue: #2c8fd1;
	--fst-blue-dark: #1f6ea3;
	--fst-blue-bg: #eaf4fc;
	--fst-blue-text: #1a5f8c;

	--fst-amber-bg: #fbe8c6;
	--fst-amber-text: #8a5a10;

	--fst-radius-sm: 8px;
	--fst-radius-md: 12px;
	--fst-radius-lg: 20px;
	--fst-radius-xl: 22px;

	--fst-container: 1200px;

	/* Elevation scale — soft, blue-tinted shadows instead of flat grey,
	   so cards feel lifted off the page rather than merely outlined. */
	--fst-shadow-xs: 0 1px 2px rgba(20, 39, 92, 0.05);
	--fst-shadow-card: 0 2px 10px -4px rgba(20, 39, 92, 0.10), 0 1px 2px rgba(20, 39, 92, 0.06);
	--fst-shadow-card-hover: 0 24px 40px -18px rgba(20, 39, 92, 0.30), 0 4px 10px -4px rgba(20, 39, 92, 0.12);
	--fst-shadow-pop: 0 10px 30px -12px rgba(20, 39, 92, 0.35);

	--fst-gradient-brand: linear-gradient(135deg, var(--fst-navy) 0%, var(--fst-blue) 100%);
	--fst-gradient-surface: linear-gradient(165deg, #ffffff 0%, #f5faff 100%);

	--fst-transition: 220ms cubic-bezier(0.22, 1, 0.36, 1);

	--fst-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
	--fst-font-heading: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset-ish base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--fst-font);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--fst-text);
	background: var(--fst-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

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

a {
	color: inherit;
	text-decoration: none;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

button {
	font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	font-family: var(--fst-font-heading);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

p {
	margin: 0 0 1em;
}

/* Skip link */
.fst-skip-link {
	position: absolute;
	left: -999px;
	top: auto;
	z-index: 10000;
	background: var(--fst-navy);
	color: var(--fst-white);
	padding: 12px 20px;
	border-radius: 0 0 var(--fst-radius-sm) 0;
}

.fst-skip-link:focus {
	left: 0;
	top: 0;
}

:focus-visible {
	outline: 3px solid var(--fst-blue);
	outline-offset: 2px;
}

.fst-container {
	max-width: var(--fst-container);
	margin: 0 auto;
	padding: 0 24px;
}

.fst-page-header,
.fst-section {
	padding: 64px 0;
}

.fst-page-header {
	background: linear-gradient(135deg, #ffffff 0%, var(--fst-bg-tint) 60%, #dbeefb 100%);
	border-style: solid;
	border-width: 0 0 3px 0;
	border-image: linear-gradient(90deg, var(--fst-navy), var(--fst-blue)) 1;
	margin-bottom: 0;
}

.fst-section.fst-single-how-to-enroll {
	padding: 32px 0;
}

/* .fst-section.fst-section--archive,
.fst-section.fst-section-single {
	padding: 0 0 64px;
} */

.fst-section--tint {
	background: var(--fst-bg-tint);
}

.fst-section--bordered {
	border-top: 1px solid var(--fst-border);
	border-bottom: 1px solid var(--fst-border);
}

.fst-h1 {
	color: var(--fst-navy);
	font-size: clamp(2rem, 1.6rem + 1.8vw, 2.75rem);
}

.fst-h2 {
	font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem);
	margin-bottom: 0.6em;
}

.fst-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--fst-blue-dark);
	font-weight: 700;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0 0 1em;
}

.fst-eyebrow::before {
	content: "";
	flex: none;
	width: 22px;
	height: 3px;
	border-radius: 2px;
	background: var(--fst-gradient-brand);
}

.fst-breadcrumb {
	color: var(--fst-text-faint);
	font-size: 0.9rem;
	margin: 0 0 1em;
}

.fst-intro {
	color: var(--fst-text-muted);
	font-size: 1.1rem;
	max-width: 62ch;
}

.fst-lede {
	color: var(--fst-text-muted);
	font-size: 1.05rem;
	/* max-width: 68ch; */
}

/* ---------- Header ---------- */
.fst-header {
	background: var(--fst-white);
	position: sticky;
	top: 0;
	z-index: 500;
	border-style: solid;
	border-width: 0 0 3px 0;
	border-image: linear-gradient(90deg, var(--fst-navy), var(--fst-blue)) 1;
	box-shadow: var(--fst-shadow-card);
}

.fst-header__inner {
	display: flex;
	align-items: center;
	/* justify-content: space-between; */
	justify-content: flex-start;
	/* 	gap: 24px; */
	padding-top: 16px;
	padding-bottom: 16px;
}

.fst-logo {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 800;
	font-size: 1.05rem;
	line-height: 1.15;
	color: var(--fst-navy);
	margin-left: 0;
	flex-shrink: 0;
}

.fst-logo__mark {
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: var(--fst-radius-sm);
	background: var(--fst-navy);
	color: var(--fst-white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 0.85rem;
}

.fst-logo img {
	max-height: 40px;
	width: auto;
}

.fst-nav {
	display: flex;
	align-items: center;
	gap: 28px;
	margin-left: auto;
}

.fst-nav__list {
	display: flex;
	align-items: center;
	gap: 26px;
}

.fst-nav__list a {
	color: var(--fst-text-muted);
	font-weight: 500;
	font-size: 0.98rem;
}

.fst-nav__list a:hover,
.fst-nav__list .current-menu-item>a,
.fst-nav__list .current_page_item>a,
.fst-nav__list a[aria-current="page"] {
	color: var(--fst-navy);
}

.fst-nav__toggle {
	display: none;
	background: none;
	border: 1px solid var(--fst-border-strong);
	border-radius: var(--fst-radius-sm);
	padding: 8px 10px;
	cursor: pointer;
}

.fst-nav__toggle span,
.fst-nav__toggle::before,
.fst-nav__toggle::after {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--fst-navy);
	margin: 4px 0;
	content: "";
}

/* ---------- Buttons ---------- */
.fst-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: var(--fst-radius-sm);
	font-weight: 600;
	font-size: 0.98rem;
	letter-spacing: -0.005em;
	border: 1px solid transparent;
	white-space: nowrap;
	transition: background var(--fst-transition), border-color var(--fst-transition), transform var(--fst-transition), box-shadow var(--fst-transition), color var(--fst-transition);
}

.fst-btn--primary {
/* 	background: var(--fst-gradient-brand); */
	background: white;
	color: black;
/* 	color: var(--fst-white); */
	box-shadow: 0 6px 16px -8px rgba(20, 39, 92, 0.5);
}

.fst-btn-home--primary {
	background: var(--fst-gradient-brand);
	color: var(--fst-white);
	box-shadow: 0 6px 16px -8px rgba(20, 39, 92, 0.5);
}

.fst-btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px -10px rgba(20, 39, 92, 0.55);
}

.fst-btn--secondary {
	background: var(--fst-white);
	color: var(--fst-navy);
	border-color: var(--fst-border-strong);
}

.fst-btn--secondary:hover {
	border-color: var(--fst-navy);
	background: var(--fst-bg-tint);
	transform: translateY(-2px);
	box-shadow: var(--fst-shadow-card);
}

.fst-btn--ghost-inverse {
	background: transparent;
	color: var(--fst-white);
	border-color: rgba(255, 255, 255, 0.5);
}

.fst-btn--ghost-inverse:hover {
	background: var(--fst-white);
	color: var(--fst-navy);
}

.fst-btn--nav {
	padding: 10px 18px;
	background: var(--fst-navy);
	color: var(--fst-white);
	border-color: var(--fst-navy);
}

.fst-btn--nav:hover {
	background: var(--fst-blue-dark);
	border-color: var(--fst-blue-dark);
}

.fst-btn--sm {
	padding: 9px 14px;
	font-size: 0.9rem;
}

.fst-btn__arrow {
	font-size: 0.85em;
}

/* ---------- Badges ---------- */
.fst-badge {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.fst-badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 8px; /* row-gap column-gap */
    margin-bottom: 16px; /* space before the H1 below it */
}

.fst-badge--default {
	background: var(--fst-gradient-brand);
	color: var(--fst-white);
/* 	color: var(--fst-gradient-brand);
    background: var(--fst-white); */
	border-radius: var(--fst-radius-sm);
	box-shadow: 0 6px 14px -6px rgba(20, 39, 92, 0.5);
}

.single-qualification .fst-badge--default,
.single-short_course .fst-badge--default {
/* 	background: var(--fst-gradient-brand);
	color: var(--fst-white); */
	color: var(--fst-gradient-brand);
    background: var(--fst-white);
	border-radius: var(--fst-radius-sm);
	box-shadow: 0 6px 14px -6px rgba(20, 39, 92, 0.5);
}

.fst-badge--blue {
	background: var(--fst-blue-bg);
	color: var(--fst-blue-text);
	border: 1px solid var(--fst-border-strong);
}

.fst-badge--amber {
	background: var(--fst-amber-bg);
	color: var(--fst-amber-text);
}

/* ---------- Callouts ---------- */
/* .fst-callout {
	display: flex;
	gap: 14px;
	padding: 18px 20px;
	border-radius: var(--fst-radius-md);
	font-size: 0.98rem;
	margin-top: 20px;
} */

.fst-callout {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 22px;
	border-radius: var(--fst-radius-md);
	font-size: 0.98rem;
	margin-top: 20px;
	box-shadow: var(--fst-shadow-xs);
}

.fst-callout--info {
/* 	background: var(--fst-blue-bg); */
	background: var(--fst-gradient-brand);
/* 	color: var(--fst-blue-text); */
	color: white;
	border: 1px solid var(--fst-border-strong);
}

.fst-callout--muted {
/* 	background: var(--fst-gradient-surface); */
	background: var(--fst-gradient-brand);
	border: 1px solid var(--fst-border);
/* 	color: var(--fst-text-muted); */
	color: white;
}

.fst-callout__icon {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	border-radius: 6px;
/* 	background-color: currentColor; */
	background-color: white;
	opacity: 0.15;
	position: relative;
}

.fst-callout__icon::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 3px;
	width: 6px;
	height: 10px;
/* 	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor; */
	opacity: 6;
	transform: rotate(40deg);
}

.fst-callout__body p:last-child {
	margin-bottom: 0;
}

/* ---------- Feature list (checkmark bullets) ---------- */
.fst-check-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px 32px;
}

.fst-check-list--single {
	grid-template-columns: 1fr;
}

.fst-check-list li {
	display: flex;
	gap: 12px;
	color: var(--fst-text-muted);
}

.fst-check-list .fst-check-icon {
	flex: none;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	border-radius: 6px;
	border: 1.5px solid var(--fst-blue);
	position: relative;
}

.fst-check-list .fst-check-icon::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 3px;
	width: 5px;
	height: 9px;
	border-right: 2px solid var(--fst-blue);
	border-bottom: 2px solid var(--fst-blue);
	transform: rotate(40deg);
}

/* Checklist styling for a *plain* <ul><li> list authored through an
   ACF WYSIWYG field (e.g. the Home "Why train with FST" / About "Our
   approach" sections) — no special icon markup required from the
   editor, unlike .fst-check-list above which expects a hand-built
   .fst-check-icon span per item. Wrap the WYSIWYG output in a
   `.fst-checklist-wrap` element. */
.fst-checklist-wrap ul {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.fst-checklist-wrap ul li {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--fst-text-muted);
	margin: 0;
}

.fst-checklist-wrap ul li i {
	color: var(--fst-blue);
	font-size: 1.1em;
}

@media (max-width: 640px) {
	.fst-checklist-wrap ul {
		grid-template-columns: 1fr;
	}
}


/* ---------- Card grids ---------- */
.fst-grid {
	display: grid;
	gap: 28px;
}

.fst-grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.fst-grid--2 {
	grid-template-columns: repeat(2, 1fr);
}

/* Elevated card — the shared "sexy card" look used for What We Offer,
   Student Support, Qualifications, and (via .fst-course-card below)
   Short Courses. White surface, soft blue-tinted shadow, a gradient
   accent bar that reveals on hover, and a lift + shadow-bloom
   interaction so every card family in the site now reads as one
   consistent, premium system. */
.fst-card {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--fst-gradient-surface);
	border: 1px solid var(--fst-border);
	border-radius: var(--fst-radius-xl);
	padding: 32px;
	box-shadow: var(--fst-shadow-card);
	transition: box-shadow var(--fst-transition), transform var(--fst-transition), border-color var(--fst-transition);
}

.fst-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--fst-gradient-brand);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--fst-transition);
}

.fst-card:hover {
	transform: translateY(-6px);
	border-color: var(--fst-border-strong);
	box-shadow: var(--fst-shadow-card-hover);
}

.fst-card:hover::before {
	transform: scaleX(1);
}

.fst-card--white {
	background: var(--fst-white);
}

.fst-card h3 {
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin-bottom: 0.5em;
}

.fst-card h3 a:hover {
	color: var(--fst-blue-dark);
}

.fst-card p {
	color: var(--fst-text-muted);
	margin-bottom: 0;
}

.fst-card__icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: var(--fst-radius-md);
	margin-bottom: 20px;
	background: var(--fst-gradient-brand);
	color: var(--fst-white);
	font-size: 20px;
	box-shadow: 0 10px 20px -8px rgba(20, 39, 92, 0.55);
	transition: transform var(--fst-transition);
}

.fst-card:hover .fst-card__icon {
	transform: scale(1.08) rotate(-4deg);
}

/* ---------- Qualification card: text + image side-by-side header ---------- */
.fst-card__top {
	display: flex;
	gap: 28px;
	align-items: flex-start;
	margin-bottom: 4px;
}

.fst-card__intro {
	flex: 1 1 auto;
	min-width: 0; /* lets the description text wrap instead of forcing the flex item wide */
}

.fst-card__intro p {
	margin-top: 12px;
	margin-bottom: 0;
}

.fst-card__media {
	flex: 0 0 280px;
	height: 170px;
	border-radius: var(--fst-radius-md);
	overflow: hidden;
}

.fst-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 760px) {
	.fst-card__top {
		flex-direction: column;
	}

	.fst-card__media {
		flex: none;
		width: 100%;
		height: 200px;
	}
}

/* ---------- Qualification detail: header text + image ---------- */
.fst-detail-header__top {
	display: flex;
	gap: 32px;
	align-items: flex-start;
	margin-bottom: 20px;
}

.fst-detail-header__intro {
	flex: 1 1 auto;
	min-width: 0;
}

.fst-detail-header__intro .fst-h1 {
	margin-bottom: 0;
}

.fst-detail-header__media {
	flex: 0 0 380px;
/* 	height: 260px; */
	border-radius: var(--fst-radius-lg);
	overflow: hidden;
	box-shadow: var(--fst-shadow-card-hover);
/* 	transition: transform var(--fst-transition), box-shadow var(--fst-transition); */
}

.fst-detail-header__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
/* 	transition: transform var(--fst-transition); */
}

.fst-detail-header__media:hover {
	transform: scale(1.04);
	box-shadow: 0 30px 50px -20px rgba(20, 39, 92, 0.4), 0 8px 16px -6px rgba(20, 39, 92, 0.18);
}

@media (max-width: 900px) {
	.fst-detail-header__top {
		flex-direction: column;
	}

	.fst-detail-header__media {
		flex: none;
		width: 100%;
		height: 220px;
	}
}

/* ---------- Hero ---------- */
.fst-hero {
	position: relative;
	overflow: hidden;
	padding: 56px 0 64px;
	background: linear-gradient(135deg, #ffffff 0%, var(--fst-bg-tint) 55%, #dbeefb 100%);
	border-style: solid;
	border-width: 0 0 3px 0;
	border-image: linear-gradient(90deg, var(--fst-navy), var(--fst-blue)) 1;
}

.fst-hero::before {
	content: "";
	position: absolute;
	top: -140px;
	right: -120px;
	width: 440px;
	height: 440px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(44, 143, 209, 0.22), rgba(20, 39, 92, 0.05) 60%, transparent 72%);
	pointer-events: none;
}

.fst-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 48px;
	align-items: start;
}

.fst-hero h1 {
	color: var(--fst-navy);
	font-size: clamp(2.1rem, 1.4rem + 3vw, 3rem);
	margin-bottom: 0.4em;
}

.fst-hero__cta {
	display: flex;
	gap: 14px;
	/* margin-top: 28px; */
	flex-wrap: wrap;
}

.fst-snapshot {
	position: relative;
	overflow: hidden;
	background: var(--fst-gradient-surface);
	border: 1px solid var(--fst-border);
	border-radius: var(--fst-radius-xl);
	padding: 28px;
	box-shadow: var(--fst-shadow-pop);
	transition: transform var(--fst-transition), box-shadow var(--fst-transition);
}

.fst-snapshot:hover {
	transform: translateY(-4px);
	box-shadow: var(--fst-shadow-card-hover);
}

.fst-snapshot::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--fst-gradient-brand);
}

.fst-snapshot__title {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--fst-navy);
	font-weight: 700;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 16px;
}

.fst-snapshot__title::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--fst-gradient-brand);
	box-shadow: 0 0 0 4px var(--fst-blue-bg);
}

.fst-snapshot dl {
	margin: 0;
}

.fst-snapshot .fst-snapshot__row {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 16px;
	padding: 14px 0;
	border-top: 1px solid var(--fst-border);
}

.fst-snapshot .fst-snapshot__row:first-child {
	border-top: 0;
	padding-top: 0;
}

.fst-snapshot dt {
	color: var(--fst-text-faint);
	font-size: 0.92rem;
	font-weight: 500;
}

.fst-snapshot dd {
	margin: 0;
	font-weight: 700;
	color: var(--fst-navy);
}

/* ---------- Stat grid (Duration / Delivery / Fees / Intake) ---------- */
/* Rebuilt as a row of distinct, individually-elevated tiles (instead
   of one flat box carved up by internal borders) so it reads as part
   of the same card system as .fst-card / .fst-course-card. */
.fst-stat-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.fst-stat-grid--2 {
	grid-template-columns: repeat(2, 1fr);
}

.fst-stat {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px;
	background: var(--fst-white);
	border: 1px solid var(--fst-border);
	border-radius: var(--fst-radius-md);
	box-shadow: var(--fst-shadow-xs);
	transition: box-shadow var(--fst-transition), transform var(--fst-transition), border-color var(--fst-transition);
}

.fst-stat:hover {
	transform: translateY(-2px);
	border-color: var(--fst-border-strong);
	box-shadow: var(--fst-shadow-card);
}

.fst-stat::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 3px;
	border-radius: var(--fst-radius-md) 0 0 var(--fst-radius-md);
	background: var(--fst-gradient-brand);
}

.fst-stat__label {
	color: var(--fst-text-faint);
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.fst-stat__value {
	font-weight: 700;
	color: var(--fst-navy);
}

/* ---------- Detail page header (Qualification / Short Course) ---------- */
.fst-detail-header {
	padding: 48px 0 40px;
	background: linear-gradient(135deg, #ffffff 0%, var(--fst-bg-tint) 60%, #dbeefb 100%);
	border-style: solid;
	border-width: 0 0 3px 0;
	border-image: linear-gradient(90deg, var(--fst-navy), var(--fst-blue)) 1;
}

.fst-detail-header .fst-badge {
	margin-right: 8px;
	margin-bottom: 16px;
}

.fst-detail-header__cta {
	display: flex;
	gap: 12px;
	margin: 24px 0 8px;
	flex-wrap: wrap;
}

/* ---------- Units panel (code + heading + description card list) ---------- */
.fst-units-heading {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--fst-blue);
	margin: 28px 0 10px;
}

.fst-unit-high-risk {
	color: #b3261e;
	font-weight: 600;
	font-size: 0.85rem;
	margin-left: 6px;
}

.fst-units-panel {
	border: 1px solid var(--fst-border);
	border-radius: var(--fst-radius-xl);
	overflow: hidden;
	background: var(--fst-white);
	margin-bottom: 28px;
	box-shadow: var(--fst-shadow-card);
	transition: box-shadow var(--fst-transition);
}

.fst-units-panel:hover {
	box-shadow: var(--fst-shadow-card-hover);
}

.fst-units-panel:last-child {
	margin-bottom: 0;
}

.fst-units-panel__header {
	background: var(--fst-gradient-brand);
	color: var(--fst-white);
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px 24px;
}

.fst-units-panel__header h3 {
	margin: 0;
	font-size: 1.05rem;
	flex: 1;
}

.fst-units-panel__icon {
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: 5px;
	border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.fst-units-count {
	flex: none;
	background: rgba(255, 255, 255, 0.15);
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 600;
}

.fst-unit-row {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	padding: 18px 24px;
	border-top: 1px solid var(--fst-border);
}

.fst-unit-row:first-child {
	border-top: 0;
}

.fst-unit-row:nth-child(even) {
	background: var(--fst-bg-tint);
}

.fst-unit-row .fst-badge {
	flex: none;
	margin-top: 2px;
	white-space: nowrap;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.fst-unit-row__body h4 {
	margin: 0 0 4px;
	font-size: 1rem;
	font-weight: 700;
}

.fst-unit-row__body p {
	margin: 0;
	color: var(--fst-text-muted);
	font-size: 0.92rem;
}

/* ---------- Panel heading (icon + title) used above editor content ---------- */
.fst-panel-heading {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}

.fst-panel-heading__icon {
	flex: none;
	width: 24px;
	height: 24px;
	border-radius: 6px;
	border: 1.5px solid var(--fst-blue);
}

/* ---------- Entry requirements ---------- */
/* .fst-req-list li {
	display: flex;
	gap: 10px;
	padding: 8px 0;
	color: var(--fst-text-muted);
} */

.fst-req-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	color: var(--fst-text-muted);
}

.fst-req-list li::before {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 5px;
	border: 1.5px solid var(--fst-border-strong);
	border-radius: 4px;
}

/* When a Font Awesome icon is active, hide the CSS placeholder box */
.fst-req-list--fa-icon li::before {
	display: none;
}

/* .fst-req-list--fa-icon li i {
	flex: none;
	width: 20px;
	margin-top: 1.5px;
	font-size: 1rem;
	text-align: center;
} */

.fst-req-list--fa-icon li i {
	flex: none;
	width: 20px;
	font-size: 1rem;
	text-align: center;
}

/* FA icons inside the checklist (Our approach) */
.fst-checklist-wrap ul li i {
	flex: none;
	width: 20px;
	margin-top: 1.5px;
	/* color: var(--fst-blue); */
	font-size: 1rem;
	text-align: center;
}

/* FA icons inside fst-card__icon span */
.fst-card__icon i {
	font-size: 1.5rem;
	/* color: var(--fst-blue); */
}

/* ---------- Short course card grid ---------- */
.fst-course-filterbar {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	color: var(--fst-text-muted);
	font-size: 0.92rem;
}

.fst-course-filterbar .dot {
	display: inline-block;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	margin-right: 6px;
}

.dot--vic {
	background: var(--fst-blue);
}

.dot--wa {
	background: #e08a1e;
}

/* ---------- Short course filter bar (search + category + button) ---------- */
.fst-course-filter-form {
	display: flex;
	align-items: stretch;
	gap: 12px;
	flex-wrap: wrap;
}

.fst-course-filter-form .fst-search-field {
	flex: 1 1 240px;
}

.fst-course-filter-select {
	flex: 0 1 220px;
	min-width: 160px;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%235b5f6b'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px;
	padding-right: 40px;
	cursor: pointer;
}

.fst-course-filter-form .fst-btn {
	flex: 0 0 auto;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.fst-course-filter-form.is-loading {
	opacity: 0.65;
	pointer-events: none;
}

.fst-course-filter-status {
	min-height: 1.2em;
	margin: 10px 0 0;
	font-size: 0.88rem;
	color: var(--fst-text-muted);
}

.fst-course-empty {
	padding: 40px 24px;
	text-align: center;
	color: var(--fst-text-muted);
	background: var(--fst-bg-tint);
	border: 1px solid var(--fst-border);
	border-radius: var(--fst-radius-md);
}

@media (max-width: 640px) {
	.fst-course-filter-form {
		flex-direction: column;
	}

	.fst-course-filter-form .fst-search-field,
	.fst-course-filter-select,
	.fst-course-filter-form .fst-btn {
		flex: 1 1 auto;
		width: 100%;
		justify-content: center;
	}
}

.fst-course-card {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--fst-gradient-surface);
	border: 1px solid var(--fst-border);
	border-radius: var(--fst-radius-xl);
	padding: 26px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	box-shadow: var(--fst-shadow-card);
	transition: box-shadow var(--fst-transition), transform var(--fst-transition), border-color var(--fst-transition);
}

.fst-course-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--fst-gradient-brand);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--fst-transition);
}

.fst-course-card:hover {
	box-shadow: var(--fst-shadow-card-hover);
	border-color: var(--fst-border-strong);
	transform: translateY(-6px);
}

.fst-course-card:hover::before {
	transform: scaleX(1);
}

.fst-course-card--muted {
	opacity: 0.62;
}

.fst-course-card--muted:hover {
	box-shadow: var(--fst-shadow-card);
	transform: none;
}

.fst-course-card--muted:hover::before {
	transform: scaleX(0);
}

.fst-course-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.fst-course-card h3 {
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin: 0;
}

.fst-course-card h3 a:hover {
	color: var(--fst-blue-dark);
}

.fst-course-card__code {
	color: var(--fst-text-faint);
	font-size: 0.85rem;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.fst-course-card__meta {
	color: var(--fst-text-muted);
	font-size: 0.92rem;
	font-weight: 500;
}

/* ---------- Sessions / booking table ---------- */
.fst-sessions-table {
	width: 100%;
	border-collapse: collapse;
	border-radius: var(--fst-radius-md);
	overflow: hidden;
	border: 1px solid var(--fst-border);
}

.fst-sessions-table thead th {
	background: var(--fst-gradient-brand);
	color: var(--fst-white);
	text-align: left;
	padding: 14px 18px;
	font-weight: 600;
	font-size: 0.9rem;
}

.fst-sessions-table td {
	padding: 14px 18px;
	border-top: 1px solid var(--fst-border);
	font-size: 0.95rem;
}

.fst-sessions-table td:last-child {
	text-align: right;
}

.fst-sessions-note {
	color: var(--fst-text-faint);
	font-size: 0.9rem;
	margin: -6px 0 20px;
}

/* ---------- Numbered steps (How to Enrol) ---------- */
/* .fst-steps {
	border-top: 1px solid var(--fst-border);
} */
.fst-step {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 24px;
	padding: 32px 0;
	border-bottom: 1px solid var(--fst-border);
}

.fst-step__number {
	font-size: 2.2rem;
	font-weight: 800;
	color: var(--fst-blue);
}

.fst-step h3 {
	font-size: 1.2rem;
	margin-bottom: 0.35em;
}

.fst-step h3 a:hover {
	color: var(--fst-blue);
}

.fst-step p {
/* 	color: var(--fst-text-muted); */
	color: white;
	margin-bottom: 0.75em;
}

.page-id-16 .fst-step p {
	color: var(--fst-text-muted);
	margin-bottom: 0.75em;
}

.page-id-16 .fst-callout__body p {
	color: white;
}

.fst-note-pill {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 32px 0;
	color: var(--fst-text-muted);
}

.fst-note-pill__badge {
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--fst-navy);
	color: var(--fst-white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.85rem;
}

.fst-note-pill__body p:last-child {
	margin-bottom: 0;
}

/* ---------- Two-column text blocks (Complaints & Appeals, Privacy) ---------- */
.fst-columns-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 48px;
}

.fst-columns-2 h3 {
	font-size: 1.2rem;
}

.fst-columns-2 p,
.fst-columns-2 li {
	color: var(--fst-text-muted);
}

.fst-columns-2 ul {
	margin-top: 10px;
}

/* Process step table (Complaints & Appeals) */
.fst-process-table {
	display: grid;
	gap: 0;
	border: 1px solid var(--fst-border);
	border-radius: var(--fst-radius-md);
	overflow: hidden;
	margin-top: 24px;
}

.fst-process-row {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 20px;
	padding: 20px 22px;
	border-top: 1px solid var(--fst-border);
	background: var(--fst-bg-tint);
}

.fst-process-row:first-child {
	border-top: 0;
}

.fst-process-row:nth-child(even) {
	background: var(--fst-white);
}

.fst-process-row strong {
	display: block;
}

.fst-process-row p {
	margin: 0;
	color: var(--fst-text-muted);
}

/* ---------- Policies list ---------- */
/* .fst-policy-list {
	border-top: 1px solid var(--fst-border);
} */
.fst-policy-item {
	display: flex;
	gap: 16px;
	padding: 22px 0;
	border-bottom: 1px solid var(--fst-border);
}

.fst-policy-item__icon {
	flex: none;
	width: 22px;
	height: 22px;
	margin-top: 4px;
	border: 1.5px solid var(--fst-border-strong);
	border-radius: 6px;
}

.fst-policy-item h3 {
	font-size: 1.05rem;
	margin-bottom: 4px;
}

.fst-policy-item p {
	color: var(--fst-text-muted);
	margin: 0;
}

/* ---------- Campus / contact cards ---------- */
.fst-campus-card {
	background: var(--fst-white);
	border: 1px solid var(--fst-border);
	border-radius: var(--fst-radius-lg);
	padding: 26px;
}

.fst-campus-card .fst-eyebrow {
	margin-bottom: 0.4em;
	font-size: 0.85rem;
}

.fst-campus-card h3 {
	font-size: 1.3rem;
	margin-bottom: 6px;
}

.fst-campus-card p {
	color: var(--fst-text-muted);
	margin-bottom: 4px;
}

.fst-contact-list {
	background: var(--fst-white);
	border: 1px solid var(--fst-border);
	border-radius: var(--fst-radius-lg);
	padding: 26px;
	box-shadow: var(--fst-shadow-card);
}

.fst-contact-list dt {
	color: var(--fst-text-faint);
	font-size: 0.85rem;
	margin-bottom: 2px;
}

.fst-contact-list dd {
	margin: 0 0 20px;
	font-weight: 600;
}

.fst-contact-list dd:last-child {
	margin-bottom: 0;
}

.fst-enquiry-embed {
	background: var(--fst-bg-tint);
	border: 1px solid var(--fst-border);
	border-radius: var(--fst-radius-lg);
	padding: 26px;
	transition: transform var(--fst-transition), box-shadow var(--fst-transition);
}

.fst-enquiry-embed p {
	color: var(--fst-text-muted);
}

.fst-enquiry-embed:hover {
	transform: translateY(-4px) scale(1.015);
	box-shadow: 0 16px 32px -14px rgba(20, 39, 92, 0.35), 0 0 0 1px var(--fst-border-strong);
}

/* ---------- FAQ accordion ---------- */
.fst-faq-category {
	color: var(--fst-blue);
	font-weight: 700;
	font-size: 0.95rem;
	margin: 36px 0 14px;
}

.fst-faq-category:first-child {
	margin-top: 0;
}

.fst-faq-item {
	background: var(--fst-white);
	border: 1px solid var(--fst-border);
	border-radius: var(--fst-radius-md);
	margin-bottom: 10px;
	overflow: hidden;
}

.fst-faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px;
	cursor: pointer;
	font-weight: 700;
	list-style: none;
}

.fst-faq-item summary>span:first-child {
	margin-right: auto;
}

.fst-faq-item summary .fst-badge {
	margin-left: 20px;
}

.fst-faq-item summary::-webkit-details-marker {
	display: none;
}

.fst-faq-item summary::after {
	margin-left: 20px !important;
	content: "+";
	flex: none;
	color: var(--fst-text-faint);
	font-size: 1.3rem;
	font-weight: 400;
}


.fst-faq-item[open] summary::after {
	content: "\2212";
}

.fst-faq-item__answer {
	padding: 0 20px 20px;
	color: var(--fst-text-muted);
}

.fst-faq-item__answer p:last-child {
	margin-bottom: 0;
}

/* ---------- Inline CTA row (lighter-weight than the full banner) ---------- */
.fst-inline-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
/* 	background: var(--fst-bg-tint); */
	background: var(--fst-gradient-brand);
	border: 1px solid var(--fst-border);
	border-radius: var(--fst-radius-lg);
	padding: 26px 28px;
}

.fst-inline-cta p {
	margin: 0;
/* 	color: var(--fst-text-muted); */
	color: white;
	max-width: 60ch;
}

/* ---------- CTA banner ---------- */
.fst-cta-banner {
	background: linear-gradient(135deg, var(--fst-navy) 0%, var(--fst-navy-deep) 100%);
	color: var(--fst-white);
}

.fst-cta-banner__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 28px 24px;
	flex-wrap: wrap;
}

.fst-cta-banner__heading {
	font-weight: 800;
	font-size: 1.2rem;
	margin: 0;
}

/* ---------- Footer ---------- */
.fst-footer {
	background: var(--fst-white);
	border-style: solid;
	border-width: 3px 0 0 0;
	border-image: linear-gradient(90deg, var(--fst-navy), var(--fst-blue)) 1;
	padding: 48px 0 28px;
}

.fst-footer__top {
	display: flex;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
	margin-bottom: 32px;
}

/* .fst-footer__nav {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	align-content: center;
} */

.fst-footer__nav {
	display: flex;
	align-items: center;
	gap: 16px;
}

.fst-footer__nav li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fst-footer__nav a {
	color: var(--fst-text-muted);
	font-size: 0.95rem;
}

.fst-footer__nav a:hover {
	color: var(--fst-navy);
}

.fst-footer__meta {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
	color: var(--fst-text-muted);
	font-size: 0.88rem;
	font-weight: 600;
	border-top: 1px solid var(--fst-border);
	padding-top: 20px;
}

.fst-footer__meta a {
	color: var(--fst-text-muted);
	font-weight: 600;
}

.fst-footer__meta a:hover {
	color: var(--fst-navy);
}

/* ---------- Blog ---------- */
.fst-post-list {
	display: grid;
	gap: 28px;
}

.fst-post-card {
	border-bottom: 1px solid var(--fst-border);
	padding-bottom: 28px;
}

.fst-post-card h2 {
	font-size: 1.4rem;
}

.fst-post-card .fst-post-meta {
	color: var(--fst-text-faint);
	font-size: 0.88rem;
	margin-bottom: 8px;
}

.fst-post-card p {
	color: var(--fst-text-muted);
}

.fst-entry-content h2 {
	font-size: 1.5rem;
	margin-top: 1.4em;
}

.fst-entry-content h3 {
	font-size: 1.2rem;
	margin-top: 1.2em;
}

.fst-entry-content p,
.fst-entry-content li {
	color: var(--fst-text-muted);
}

.fst-entry-content img {
	border-radius: var(--fst-radius-md);
}

.fst-entry-content ul,
.fst-entry-content ol {
	list-style: disc;
	padding-left: 1.4em;
	margin-bottom: 1em;
}

.fst-entry-content ol {
	list-style: decimal;
}

/* ---------- 404 ---------- */
.fst-404 {
	padding: 96px 0;
	text-align: center;
}

/* ---------- Tables that can outgrow narrow viewports ---------- */
/* .fst-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
} */

/* .fst-table-scroll .fst-sessions-table {
	min-width: 560px;
} */

.fst-table-scroll {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.fst-table-scroll .fst-sessions-table {
	width: 100%;
}

@media (min-width: 561px) {
	.fst-table-scroll .fst-sessions-table {
		min-width: 560px;
	}
}

.fst-prose table {
	display: block;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* ---------- Search form ---------- */
.fst-search-form {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	max-width: 480px;
}

.fst-search-field {
	flex: 1 1 220px;
	min-width: 0;
	padding: 12px 16px;
	font-size: 1rem;
	font-family: inherit;
	border: 1px solid var(--fst-border-strong);
	border-radius: var(--fst-radius-sm);
	background: var(--fst-white);
	color: var(--fst-text);
}

/* ---------- Responsive ---------- */

/* Prevent any stray wide element from creating page-level horizontal scroll */
html,
body {
	overflow-x: hidden;
}

/* Tablet: ease 3-up grids down to 2-up before collapsing fully at 760px */
@media (max-width: 900px) {

	.fst-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--fst-white);
		border-bottom: 1px solid var(--fst-border);
		flex-direction: column;
		align-items: stretch;
		padding: 16px 24px 24px;
		gap: 16px;
		display: none;
		max-height: calc(100vh - 100%);
		overflow-y: auto;
	}

	.fst-nav.is-open {
		display: flex;
	}

	.fst-nav__list {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
		width: 100%;
	}

	.fst-nav__list a {
		display: block;
		padding: 4px 0;
	}

	.fst-nav__toggle {
		display: block;
	}

	.fst-logo {
		display: none;
	}

	.fst-header__inner {
		justify-content: space-between;
		position: relative;
	}

	.fst-hero__grid,
	.fst-columns-2 {
		grid-template-columns: 1fr;
		gap: unset;
	}

	.fst-grid--3 {
		grid-template-columns: repeat(2, 1fr);
	}

	.fst-stat-grid,
	.fst-stat-grid--2 {
		grid-template-columns: repeat(2, 1fr);
	}

	.fst-check-list {
		grid-template-columns: 1fr;
	}

	.fst-page-header,
	.fst-section {
		padding: 48px 0;
	}

	.fst-hero {
		padding: 44px 0 48px;
	}

	.fst-snapshot {
		margin-top: 20px;
	}

	.fst-footer__top {
		justify-content: center;
	}
}

@media (max-width: 760px) {

	.fst-grid--3,
	.fst-grid--2 {
		grid-template-columns: 1fr;
	}

	.fst-stat-grid {
		grid-template-columns: 1fr;
	}

	.fst-stat-grid--2 {
		grid-template-columns: 1fr;
		margin-top: 20px !important;
	}

	.fst-step {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.fst-step__number {
		font-size: 1.7rem;
	}

	.fst-process-row {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.fst-cta-banner__inner {
		flex-direction: column;
		/* align-items: flex-start; */
	}

	.fst-snapshot .fst-snapshot__row {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.fst-units-panel__header {
		flex-wrap: wrap;
		gap: 8px;
	}

	.fst-unit-row {
		flex-direction: column;
		gap: 8px;
	}

	.fst-inline-cta {
		flex-direction: column;
		align-items: flex-start;
	}

	.fst-inline-cta .fst-btn {
		width: 100%;
		justify-content: center;
	}

	.fst-detail-header__cta .fst-btn,
	.fst-hero__cta .fst-btn {
		flex: 1 1 auto;
		justify-content: center;
	}

	.fst-course-card__top {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.fst-footer__top {
		justify-content: space-around;
	}

	.fst-footer__nav {
		flex-direction: column;
		gap: 20px;
	}
}

/* Small phones */
@media (max-width: 480px) {

	body {
		font-size: 16px;
	}

	.fst-page-header,
	.fst-section {
		padding: 36px 0;
	}

/* 	.fst-section.fst-section--archive,
	.fst-section.fst-section-single {
		padding: 0 0 36px;
	} */

	.fst-hero {
		padding: 36px 0 40px;
	}

	.fst-hero__cta {
		flex-direction: column;
		align-items: stretch;
	}

	.fst-card,
	.fst-campus-card {
		padding: 20px;
	}

	.fst-snapshot {
		padding: 20px;
		margin-top: 20px;
	}

	.fst-enquiry-embed {
		text-align: center;
		padding: 20px;
	}

	.fst-cta-banner__inner {
		padding: 24px 16px;
	}

	.fst-footer {
		padding: 36px 0 24px;
	}

	.fst-note-pill {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.fst-search-form {
		flex-direction: column;
		max-width: none;
	}

	.fst-search-form .fst-btn {
		justify-content: center;
	}

	.fst-badge {
		border-radius: 10px;
	}
}

/*  */
.fst-check-icon--fa {
	background: transparent;
	border-color: transparent;
	color: var(--fst-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.15rem;
}

.fst-check-icon--fa::after {
	display: none;
}

/* ---------- Prose / wysiwyg rich-text output ---------- */
/*
 * Scoped to .fst-prose so the global CSS reset (ul/ol list-style:none,
 * heading margin:0, a color:inherit) does not strip all formatting from
 * ACF wysiwyg fields (description on Qualifications / Short Courses / Units).
 * Wrap any get_field('description') echo in <div class="fst-prose">.
 */
.fst-prose {
	max-width: 90%;
	margin-top: 16px;
	color: var(--fst-text);
	line-height: 1.7;
}

.fst-prose p {
	margin: 0 0 1em;
}

.fst-prose p:last-child {
	margin-bottom: 0;
}

.fst-prose h2,
.fst-prose h3,
.fst-prose h4 {
	margin: 1.4em 0 0.45em;
	font-weight: 700;
	line-height: 1.25;
}

.fst-prose h2 {
	font-size: 1.25rem;
}

.fst-prose h3 {
	font-size: 1.1rem;
}

.fst-prose h4 {
	font-size: 1rem;
}

/* Lists: undo global reset with explicit values (revert is unreliable
 * when the author reset (ul{list-style:none}) sits in the same stylesheet) */
.fst-prose ul {
	list-style-type: disc;
	padding-left: 1.6em;
	margin: 0 0 1em 0;
}

.fst-prose ol {
	list-style-type: decimal;
	padding-left: 1.6em;
	margin: 0 0 1em 0;
}

.fst-prose ul ul {
	list-style-type: circle;
	margin-bottom: 0;
}

.fst-prose ul ul ul {
	list-style-type: square;
}

.fst-prose li {
	margin-bottom: 0.35em;
	display: list-item;
}

/* Inline elements */
.fst-prose a {
	color: var(--fst-blue);
	text-decoration: underline;
}

.fst-prose a:hover {
	color: var(--fst-blue-dark);
}

.fst-prose strong {
	font-weight: 700;
}

.fst-prose em {
	font-style: italic;
}

/* Blockquote */
.fst-prose blockquote {
	margin: 1.2em 0;
	padding: 12px 20px;
	border-left: 4px solid var(--fst-blue);
	background: var(--fst-blue-bg);
	color: var(--fst-blue-text);
	border-radius: 0 var(--fst-radius-sm) var(--fst-radius-sm) 0;
	font-style: italic;
}

.fst-prose hr {
	border: none;
	border-top: 1px solid var(--fst-border);
	margin: 1.5em 0;
}

/* Tables inside prose */
.fst-prose table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1em;
	font-size: 0.95rem;
}

.fst-prose th,
.fst-prose td {
	text-align: left;
	padding: 8px 12px;
	border: 1px solid var(--fst-border);
}

.fst-prose th {
	background: var(--fst-bg-tint);
	font-weight: 700;
}


.fst-course-card__codes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 4px 0 12px;
}

.fst-course-card__info {
	display: flex;
    justify-content: space-between;
}

.fst-code-pill {
	display: inline-block;
	background: var(--fst-white);
	color: var(--fst-blue-text);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.02em;
	padding: 5px 12px;
	border-radius: 999px;
	box-shadow: 0 1px 2px rgba(20, 39, 92, 0.06), 0 0 0 1px var(--fst-border);
	white-space: nowrap;
	transition: box-shadow var(--fst-transition), color var(--fst-transition);
}

.fst-course-card:hover .fst-code-pill {
	box-shadow: 0 1px 2px rgba(20, 39, 92, 0.06), 0 0 0 1px var(--fst-border-strong);
}

/* ---------- Contact form card (left) ---------- */
.fst-contact-form-card {
	background: var(--fst-white);
	border: 1px solid var(--fst-border);
	border-radius: var(--fst-radius-xl);
	padding: 32px;
	box-shadow: var(--fst-shadow-card);
}

.fst-contact-form-card .wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.fst-contact-form-card .wpcf7-form p {
	margin: 0;
}

.fst-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.fst-contact-form-card .wpcf7-form-control:not(.wpcf7-submit) {
	width: 100%;
	padding: 14px 44px 14px 18px;
	border: 1px solid var(--fst-border);
	border-radius: var(--fst-radius-sm);
	background: var(--fst-white);
	font-family: var(--fst-font);
	font-size: 0.97rem;
	color: var(--fst-text);
	transition: border-color var(--fst-transition), box-shadow var(--fst-transition);
}

.fst-contact-form-card .wpcf7-form-control:not(.wpcf7-submit)::placeholder {
	color: var(--fst-text-faint);
}

.fst-contact-form-card .wpcf7-form-control:not(.wpcf7-submit):focus {
	outline: none;
	border-color: var(--fst-blue);
	box-shadow: 0 0 0 3px var(--fst-blue-bg);
}

.fst-contact-form-card textarea.wpcf7-form-control {
	min-height: 140px;
	resize: vertical;
}

.fst-contact-form-card .wpcf7-form-control-wrap {
	position: relative;
	display: block;
}

.fst-contact-form-card .wpcf7-form-control-wrap::after {
	position: absolute;
	right: 16px;
	top: 16px;
	font-family: "Font Awesome 6 Free";
	font-size: 0.95rem;
	color: var(--fst-text-faint);
	pointer-events: none;
}

.fst-contact-form-card .wpcf7-form-control-wrap[data-name="your-name"]::after    { content: "\f007"; font-weight: 400; }
.fst-contact-form-card .wpcf7-form-control-wrap[data-name="your-email"]::after   { content: "\f0e0"; font-weight: 400; }
.fst-contact-form-card .wpcf7-form-control-wrap[data-name="your-subject"]::after { content: "\f303"; font-weight: 900; }
.fst-contact-form-card .wpcf7-form-control-wrap[data-name="your-phone"]::after   { content: "\f095"; font-weight: 900; }
.fst-contact-form-card .wpcf7-form-control-wrap[data-name="your-message"]::after { content: "\f303"; font-weight: 900; top: 18px; }

.fst-contact-form-card select.wpcf7-form-control {
	appearance: none;
	cursor: pointer;
}

.fst-contact-form-card .wpcf7-form-control-wrap[data-name="your-course"]::after {
	content: "\f078";
	font-weight: 900;
	font-size: 0.8rem;
}

.fst-contact-form-card input.wpcf7-submit {
	align-self: flex-start;
	margin-top: 4px;
	border-radius: var(--fst-radius-sm);
	font-weight: 600;
	font-size: 0.98rem;
	padding: 13px 28px;
	background: var(--fst-gradient-brand);
	color: var(--fst-white);
	border: 1px solid transparent;
	box-shadow: 0 6px 16px -8px rgba(20, 39, 92, 0.5);
	cursor: pointer;
	transition: transform var(--fst-transition), box-shadow var(--fst-transition);
}

.fst-contact-form-card input.wpcf7-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px -10px rgba(20, 39, 92, 0.55);
}

.fst-contact-form-card .wpcf7-not-valid-tip {
	font-size: 0.83rem;
	color: #b3261e;
	margin-top: 4px;
}

.fst-contact-form-card .wpcf7-form-control.wpcf7-not-valid {
	border-color: #b3261e;
}

.fst-contact-form-card .wpcf7-response-output {
	margin-top: 16px;
	padding: 12px 16px;
	border-radius: var(--fst-radius-sm);
	font-size: 0.92rem;
	border: 1px solid var(--fst-border);
}

@media (max-width: 640px) {
	.fst-form-row {
		grid-template-columns: 1fr;
	}

	.fst-contact-form-card {
		padding: 22px;
	}
}

.fst-contact-form-col {
	display: flex;
	flex-direction: column;
}

.fst-contact-form-col__desc {
	color: var(--fst-text-muted);
	margin-bottom: 18px;
}

/* ---------- Qualification detail hero (navy band) ---------- */
.fst-qual-hero {
	background: var(--fst-gradient-brand);
	padding: 48px 0 44px;
}

.fst-qual-hero__grid {
	display: flex;
	gap: 40px;
	align-items: center;
}

.fst-qual-hero__content {
	flex: 1 1 auto;
	min-width: 0;
}

.fst-breadcrumb--inverse {
	color: rgba(255, 255, 255, 0.65);
}

.fst-breadcrumb--inverse a {
	color: rgba(255, 255, 255, 0.85);
}

.fst-breadcrumb--inverse a:hover {
	color: #fff;
}

.fst-h1--inverse {
	color: #fff;
}

.fst-qual-hero__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0 26px;
}

.fst-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
}

.fst-tag i {
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.85em;
}

.fst-qual-hero__media {
	flex: 0 0 450px;
	border-radius: var(--fst-radius-lg);
	overflow: hidden;
	box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.5);
}

.fst-qual-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* .fst-qual-hero__media:hover {
	transform: scale(1.03);
} */

@media (max-width: 900px) {
	.fst-qual-hero__grid {
		flex-direction: column;
		align-items: stretch;
	}

	.fst-qual-hero__media {
		flex: none;
		width: 100%;
		height: 220px;
	}
}


/* ---------- Short course card: photo banner + duration pill ---------- */
.fst-course-card__media {
	position: relative;
	margin: -26px -26px 20px;
	height: 170px;
	overflow: hidden;
	border-radius: var(--fst-radius-xl) var(--fst-radius-xl) 0 0;
}

.fst-course-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform var(--fst-transition);
}

/* .fst-course-card:hover .fst-course-card__media img {
	transform: scale(1.06);
} */

.fst-course-card__duration {
	position: absolute;
	top: 14px;
	left: 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--fst-gradient-brand);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	padding: 6px 12px;
	border-radius: 999px;
	box-shadow: 0 6px 14px -6px rgba(20, 39, 92, 0.55);
}

.fst-course-card__duration i {
	font-size: 0.85em;
}

@media (max-width: 480px) {
	.fst-course-card__media {
		margin: -20px -20px 18px; /* matches .fst-card padding:20px override at this breakpoint — .fst-course-card doesn't currently get that override, add it if you want consistency, see note below */
	}
}








