/* FA4L Booking Extensions — colours taken from the Figma design (navy + red). Change them here. */
:root {
	--fa4l-navy: #12306f;
	--fa4l-red: #e02828;
	--fa4l-border: #d0d5dd;
	--fa4l-bg: #f5f7fb;
}

.fa4l-form {
	max-width: 640px;
	color: #1d2433;
}
.fa4l-form p {
	margin: 0 0 16px;
}
.fa4l-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}
@media (max-width: 600px) {
	.fa4l-grid {
		grid-template-columns: 1fr;
	}
}
.fa4l-field label {
	display: block;
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--fa4l-navy);
	margin-bottom: 6px;
}
.fa4l-field input[type="text"],
.fa4l-field input[type="email"],
.fa4l-field input[type="tel"],
.fa4l-field input[type="number"],
.fa4l-field select {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid var(--fa4l-border);
	border-radius: 6px;
	background: #fff;
	font: inherit;
	box-sizing: border-box;
}
.fa4l-field input:focus,
.fa4l-field select:focus {
	outline: 2px solid var(--fa4l-navy);
	outline-offset: 0;
	border-color: var(--fa4l-navy);
}
.fa4l-radios {
	border: 0;
	padding: 0;
	margin: 0 0 16px;
}
.fa4l-radios label,
.fa4l-check label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
}
.fa4l-radios input,
.fa4l-check input {
	margin-right: 8px;
}
.fa4l-hp {
	position: absolute;
	left: -9999px;
}
.fa4l-btn,
.fa4l-form button.fa4l-btn {
	display: inline-block;
	background: var(--fa4l-red);
	color: #fff;
	border: 0;
	border-radius: 6px;
	padding: 13px 30px;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}
.fa4l-btn:hover {
	opacity: 0.9;
	color: #fff;
}
.fa4l-notice {
	padding: 14px 16px;
	background: var(--fa4l-bg);
	border-left: 4px solid var(--fa4l-navy);
	border-radius: 4px;
	margin: 0 0 20px;
}
.fa4l-notice p {
	margin: 0;
}
.fa4l-notice-error {
	border-left-color: var(--fa4l-red);
}
/* Reserve fields inside checkout (block + classic) */
.fa4l-reserve-fields {
	max-width: none;
	margin-top: 12px;
	padding: 14px;
	background: var(--fa4l-bg);
	border-radius: 6px;
}
.fa4l-reserve-fields .fa4l-field {
	margin: 0 0 12px;
}
.fa4l-reserve-desc {
	margin: 0 0 12px;
}

/* ===================== Homepage sections (Figma) ===================== */
:root {
	--fa4l-blue: #1e9be9;
}
.fa4l-section {
	max-width: 1180px;
	margin: 0 auto;
	padding: 56px 20px;
	color: #1d2433;
}
.fa4l-head {
	text-align: center;
	margin-bottom: 36px;
}
.fa4l-eyebrow {
	margin: 0 0 8px;
	color: var(--fa4l-red);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.fa4l-h2 {
	margin: 0;
	color: var(--fa4l-navy);
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	line-height: 1.2;
	font-weight: 700;
}
.fa4l-h2 span {
	color: var(--fa4l-red);
}
.fa4l-center {
	text-align: center;
	margin: 36px 0 0;
}

/* Buttons */
.fa4l-btn-outline {
	background: #fff;
	color: var(--fa4l-navy);
	border: 1.5px solid var(--fa4l-navy);
}
.fa4l-btn-outline:hover {
	background: var(--fa4l-navy);
	color: #fff;
	opacity: 1;
}
.fa4l-btn-navy {
	background: var(--fa4l-navy);
	color: #fff;
}
.fa4l-btn-block {
	display: block;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
}
.fa4l-section .fa4l-btn {
	padding: 11px 22px;
	font-size: 0.78rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-align: center;
	box-sizing: border-box;
}

/* Course cards */
.fa4l-cards {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, 1fr);
	align-items: stretch;
}
.fa4l-cards.fa4l-cols-2 { grid-template-columns: repeat(2, 1fr); }
.fa4l-cards.fa4l-cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
	.fa4l-cards,
	.fa4l-cards.fa4l-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.fa4l-cards,
	.fa4l-cards.fa4l-cols-2,
	.fa4l-cards.fa4l-cols-4 { grid-template-columns: 1fr; }
}
.fa4l-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e6eaf2;
	border-radius: 10px;
	padding: 12px;
	box-shadow: 0 4px 18px rgba(18, 48, 111, 0.07);
}
.fa4l-card.is-recommended {
	border: 2px solid var(--fa4l-blue);
	box-shadow: 0 10px 28px rgba(30, 155, 233, 0.22);
}
.fa4l-badge {
	position: absolute;
	top: -11px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--fa4l-blue);
	color: #fff;
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 4px 12px;
	border-radius: 20px;
	z-index: 1;
}
.fa4l-card-img img {
	display: block;
	width: 100%;
	height: 190px;
	object-fit: cover;
	border-radius: 8px;
}
.fa4l-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 14px 4px 4px;
}
.fa4l-card-title {
	margin: 0 0 6px;
	font-size: 1rem;
	line-height: 1.3;
	font-weight: 700;
}
.fa4l-card-title a {
	color: var(--fa4l-navy);
	text-decoration: none;
}
.fa4l-card-text {
	margin: 0 0 14px;
	font-size: 0.85rem;
	line-height: 1.5;
	color: #5b6475;
}
.fa4l-card-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	margin: auto 0 14px;
	font-size: 0.8rem;
}
.fa4l-dur {
	color: #5b6475;
}
.fa4l-card-meta .fa4l-price {
	color: var(--fa4l-navy);
	font-weight: 700;
}
.fa4l-vat {
	font-weight: 500;
	font-size: 0.85em;
}

/* Upcoming dates */
.fa4l-tabs {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: -12px 0 28px;
}
.fa4l-tab {
	border: 1.5px solid var(--fa4l-red);
	background: #fff;
	color: var(--fa4l-red);
	border-radius: 4px;
	padding: 8px 18px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}
.fa4l-tab.is-active {
	background: var(--fa4l-red);
	color: #fff;
}
.fa4l-carousel {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
}
.fa4l-track {
	display: flex;
	gap: 16px;
	flex: 1;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 6px 4px 14px;
}
.fa4l-track::-webkit-scrollbar {
	display: none;
}
.fa4l-date-card {
	flex: 0 0 260px;
	scroll-snap-align: start;
	background: #fff;
	border: 1px solid #e6eaf2;
	border-radius: 10px;
	padding: 16px;
	box-shadow: 0 4px 18px rgba(18, 48, 111, 0.07);
	box-sizing: border-box;
}
.fa4l-date-card[hidden] {
	display: none;
}
.fa4l-date-top {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-bottom: 12px;
}
.fa4l-date-badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 44px;
	padding: 6px 4px;
	border-radius: 6px;
	background: #fdeaea;
	color: var(--fa4l-red);
	line-height: 1.1;
}
.fa4l-date-badge .m {
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}
.fa4l-date-badge .d {
	font-size: 1.25rem;
	font-weight: 800;
}
.fa4l-date-top .fa4l-card-title {
	font-size: 0.95rem;
	margin: 0 0 2px;
}
.fa4l-date-top .fa4l-dur {
	margin: 0;
	font-size: 0.78rem;
}
.fa4l-line {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin: 0 0 8px;
	font-size: 0.8rem;
	color: #5b6475;
}
.fa4l-line svg {
	flex: none;
	margin-top: 2px;
	color: var(--fa4l-red);
}
.fa4l-line.fa4l-price {
	color: var(--fa4l-navy);
	font-weight: 700;
	margin-bottom: 14px;
}
.fa4l-arrow {
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid #d0d5dd;
	background: #fff;
	color: var(--fa4l-navy);
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
}
.fa4l-arrow:hover {
	background: var(--fa4l-navy);
	color: #fff;
}
.fa4l-empty {
	text-align: center;
	color: #5b6475;
}
@media (max-width: 600px) {
	.fa4l-arrow {
		display: none;
	}
	.fa4l-date-card {
		flex-basis: 82%;
	}
}

/* ===================== v1.4: extras, course info, instructor ===================== */
.fa4l-addons {
	margin: 0 0 18px;
	padding: 14px;
	background: var(--fa4l-bg);
	border-radius: 8px;
}
.fa4l-addons-title {
	margin: 0 0 10px;
	font-weight: 700;
	color: var(--fa4l-navy);
}
.fa4l-addon {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin: 0 0 8px;
	font-size: 0.92rem;
}
.fa4l-addon em {
	font-style: normal;
	color: var(--fa4l-red);
	font-weight: 600;
	white-space: nowrap;
}
.fa4l-addon input[type="number"] {
	width: 70px;
	flex: none;
	padding: 6px 8px;
	border: 1px solid var(--fa4l-border);
	border-radius: 6px;
}
.fa4l-addons-help {
	margin: 6px 0 0;
	font-size: 0.8rem;
	color: #5b6475;
}
.fa4l-course-info {
	margin: 24px 0;
}
.fa4l-info-table {
	width: 100%;
	border-collapse: collapse;
}
.fa4l-info-table th,
.fa4l-info-table td {
	text-align: left;
	vertical-align: top;
	padding: 10px 12px;
	border: 1px solid #e6eaf2;
}
.fa4l-info-table th {
	width: 28%;
	background: var(--fa4l-bg);
	color: var(--fa4l-navy);
}
.fa4l-instructor {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	max-width: 820px;
	padding: 22px;
	background: #fff;
	border: 1px solid #e6eaf2;
	border-radius: 10px;
	box-shadow: 0 4px 18px rgba(18, 48, 111, 0.07);
}
.fa4l-instructor-photo {
	flex: none;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
}
.fa4l-instructor-initials {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--fa4l-navy);
	color: #fff;
	font-size: 1.6rem;
	font-weight: 700;
}
.fa4l-instructor-name {
	margin: 0;
	color: var(--fa4l-navy);
	font-size: 1.25rem;
}
.fa4l-instructor-role {
	margin: 2px 0 10px;
	color: var(--fa4l-red);
	font-weight: 600;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.fa4l-instructor-bio p {
	margin: 0 0 10px;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #3b4354;
}
@media (max-width: 600px) {
	.fa4l-instructor {
		flex-direction: column;
	}
}

/* ===================== v1.5: course detail page ===================== */
.fa4l-overview {
	background: #fff;
	border: 1px solid #e6eaf2;
	border-radius: 12px;
	padding: 14px;
	box-shadow: 0 6px 22px rgba(18, 48, 111, 0.08);
}
.fa4l-overview-img img {
	display: block;
	width: 100%;
	height: 170px;
	object-fit: cover;
	border-radius: 8px;
}
.fa4l-overview-title {
	margin: 16px 0 10px;
	color: var(--fa4l-navy);
	font-size: 1rem;
	font-weight: 700;
}
.fa4l-overview-list {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}
.fa4l-overview-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 7px 0;
	border-bottom: 1px solid #eef1f6;
	font-size: 0.8rem;
}
.fa4l-overview-list svg {
	flex: none;
	margin-top: 2px;
	color: var(--fa4l-navy);
}
.fa4l-overview-list .l {
	flex: none;
	width: 88px;
	color: #5b6475;
}
.fa4l-overview-list .v {
	flex: 1;
	text-align: right;
	font-weight: 600;
	color: #1d2433;
}
.fa4l-bookpanel {
	background: var(--fa4l-navy);
	color: #fff;
	border-radius: 8px;
	padding: 16px;
}
.fa4l-bookpanel-label {
	margin: 0 0 4px;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.8;
}
.fa4l-bookpanel-price {
	margin: 0 0 12px;
	font-size: 1.7rem;
	font-weight: 800;
	line-height: 1.1;
}
.fa4l-bookpanel-price .woocommerce-Price-amount {
	color: #fff;
}
.fa4l-bookpanel .fa4l-vat {
	font-size: 0.75rem;
	font-weight: 500;
	opacity: 0.85;
}
.fa4l-grouprow {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 10px;
	margin-top: 12px;
	padding: 12px;
	background: var(--fa4l-bg);
	border-radius: 8px;
	font-size: 0.75rem;
}
.fa4l-grouprow .g {
	font-weight: 700;
	color: var(--fa4l-navy);
}
.fa4l-grouprow .f {
	color: #5b6475;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.fa4l-grouprow a {
	width: 100%;
	color: var(--fa4l-red);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
}
.fa4l-book-box {
	scroll-margin-top: 90px;
	margin: 24px 0;
	padding: 24px;
	background: #fff;
	border: 1px solid #e6eaf2;
	border-radius: 12px;
	box-shadow: 0 6px 22px rgba(18, 48, 111, 0.08);
}
.fa4l-book-box .fa4l-h2 {
	margin-bottom: 16px;
	font-size: 1.4rem;
}
.fa4l-book-box .single_add_to_cart_button {
	background: var(--fa4l-red);
	color: #fff;
	border: 0;
	border-radius: 6px;
	padding: 13px 28px;
	font-weight: 700;
}

/* ===================== v1.5.1: course page top (CLAU) ===================== */
.fa4l-hero {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 28px;
	align-items: start;
	max-width: 1180px;
	margin: 0 auto;
	padding: 28px 20px;
}
.fa4l-hero-title {
	margin: 0 0 10px;
	color: var(--fa4l-navy);
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	line-height: 1.15;
	font-weight: 800;
}
.fa4l-hero-short {
	margin: 0 0 14px;
	color: #3b4354;
	font-size: 1rem;
	line-height: 1.6;
}
.fa4l-hero-short p {
	margin: 0 0 8px;
}
.fa4l-hero-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}
.fa4l-hero-facts li {
	padding: 5px 12px;
	background: var(--fa4l-bg);
	border: 1px solid var(--fa4l-border);
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--fa4l-navy);
}
.fa4l-hero-price {
	margin: 0 0 8px;
	color: var(--fa4l-navy);
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.1;
}
.fa4l-hero-price span {
	font-size: 0.85rem;
	font-weight: 500;
	color: #5b6475;
}
.fa4l-hero-enq {
	margin: 0;
	font-size: 0.9rem;
	color: #5b6475;
}
.fa4l-hero-enq a {
	color: var(--fa4l-red);
	font-weight: 700;
	text-decoration: none;
}
.fa4l-hero-book .fa4l-book-box {
	margin: 0;
}
.fa4l-ovtext {
	padding: 24px;
	background: #fff;
	border: 1px solid #e6eaf2;
	border-radius: 12px;
}
.fa4l-ovtext-title {
	margin: 0 0 12px;
	color: var(--fa4l-navy);
	font-size: 1.4rem;
	font-weight: 800;
}
.fa4l-ovtext-body {
	color: #3b4354;
	line-height: 1.65;
}
@media (max-width: 820px) {
	.fa4l-hero {
		grid-template-columns: 1fr;
		padding: 20px 16px;
	}
}

/* ===================== v1.6: course finder + results (CLAU) ===================== */
.fa4l-finder {
	max-width: 980px;
	margin: 0 auto;
	padding: 32px 40px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 14px 40px rgba(18, 48, 111, 0.14);
	box-sizing: border-box;
}
.fa4l-finder-title {
	margin: 0 0 20px;
	color: var(--fa4l-navy);
	font-size: 1.5rem;
	font-weight: 800;
}
.fa4l-finder-title span {
	color: var(--fa4l-red);
}
.fa4l-finder-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-bottom: 22px;
}
.fa4l-finder label span {
	display: block;
	margin-bottom: 6px;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--fa4l-navy);
}
.fa4l-finder select,
.fa4l-finder input {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid var(--fa4l-border);
	border-radius: 6px;
	background: #fff;
	font-size: 0.85rem;
}
.fa4l-finder .fa4l-btn {
	padding: 12px 24px;
	font-size: 0.78rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.fa4l-results {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.fa4l-results .fa4l-date-card {
	flex: none;
}
@media (max-width: 900px) {
	.fa4l-results { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
	.fa4l-finder { padding: 22px 18px; }
	.fa4l-finder-grid,
	.fa4l-results { grid-template-columns: 1fr; }
}

/* ===================== v1.7: dates list + single Book button (CLAU) ===================== */
.fa4l-datebox .fa4l-h2 { margin-bottom: 14px; }
.fa4l-date-options {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: 340px;
	overflow-y: auto;
	margin-bottom: 14px;
}
.fa4l-date-opt {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1.5px solid var(--fa4l-border);
	border-radius: 8px;
	cursor: pointer;
	background: #fff;
}
.fa4l-date-opt:has(input:checked) {
	border-color: var(--fa4l-navy);
	background: var(--fa4l-bg);
}
.fa4l-date-opt.is-full {
	opacity: 0.65;
	cursor: not-allowed;
}
.fa4l-date-opt input { flex: none; margin: 0; }
.fa4l-opt-main {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 2px;
	font-size: 0.82rem;
	color: #5b6475;
}
.fa4l-opt-main strong { color: var(--fa4l-navy); font-size: 0.9rem; }
.fa4l-opt-venue { color: #1d2433; font-weight: 600; }
.fa4l-pill {
	flex: none;
	padding: 3px 10px;
	border-radius: 20px;
	background: #e8f5ec;
	color: #1d7a3a;
	font-size: 0.7rem;
	font-weight: 700;
	white-space: nowrap;
}
.fa4l-pill.is-low { background: #fff3e0; color: #b45309; }
.fa4l-pill.is-full { background: #fdeaea; color: var(--fa4l-red); }
.fa4l-bookrow {
	display: flex;
	align-items: flex-end;
	gap: 12px;
}
.fa4l-places span { display: block; margin-bottom: 4px; font-size: 0.72rem; font-weight: 700; color: var(--fa4l-navy); }
.fa4l-places input {
	width: 76px;
	padding: 10px;
	border: 1px solid var(--fa4l-border);
	border-radius: 6px;
	box-sizing: border-box;
}
.fa4l-bookrow .fa4l-btn { flex: 1; text-align: center; padding: 13px 20px; font-size: 0.9rem; border: 0; cursor: pointer; }
.fa4l-extras {
	margin-top: 12px;
	border: 1px dashed var(--fa4l-border);
	border-radius: 8px;
	padding: 8px 12px;
}
.fa4l-extras summary { cursor: pointer; font-size: 0.82rem; font-weight: 600; color: var(--fa4l-navy); }
.fa4l-extras .fa4l-addon { margin-top: 10px; }
.fa4l-bookalt { margin: 14px 0 0; font-size: 0.78rem; color: #5b6475; line-height: 1.5; }
.fa4l-bookalt a { color: var(--fa4l-red); font-weight: 700; text-decoration: none; }

/* ===================== v1.8: course calendar (CLAU) ===================== */
.fa4l-cal-nav {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	margin: -12px 0 18px;
}
.fa4l-cal-title { min-width: 160px; text-align: center; font-weight: 800; color: var(--fa4l-navy); font-size: 1.1rem; }
.fa4l-cal-nav .fa4l-arrow:disabled { opacity: 0.35; cursor: default; }
.fa4l-cal-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	border: 1px solid #e6eaf2;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}
.fa4l-cal-wd {
	padding: 8px 4px;
	background: var(--fa4l-navy);
	color: #fff;
	text-align: center;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.fa4l-cal-blank,
.fa4l-cal-day {
	min-height: 96px;
	padding: 6px;
	border-top: 1px solid #eef1f6;
	border-left: 1px solid #eef1f6;
	box-sizing: border-box;
}
.fa4l-cal-day .n { display: block; font-size: 0.78rem; font-weight: 700; color: #5b6475; }
.fa4l-cal-day .dn { display: none; }
.fa4l-cal-day.is-today { background: #f2f8ff; }
.fa4l-cal-day.is-today .n { color: var(--fa4l-blue); }
.fa4l-cal-ev {
	display: block;
	margin-top: 4px;
	padding: 4px 6px;
	border-radius: 5px;
	background: #e8f5ec;
	border-left: 3px solid #1d7a3a;
	color: #14532d;
	font-size: 0.68rem;
	line-height: 1.3;
	text-decoration: none;
}
.fa4l-cal-ev span { display: block; }
.fa4l-cal-ev .c { font-weight: 700; }
.fa4l-cal-ev .v { font-weight: 700; }
.fa4l-cal-ev .s { font-weight: 600; }
.fa4l-cal-ev:hover { filter: brightness(0.96); }
.fa4l-cal-ev.is-full { background: #fdeaea; border-left-color: var(--fa4l-red); color: #8f1d1d; }
.fa4l-cal-none { display: none; margin: 14px 0 0; text-align: center; color: #5b6475; }
.fa4l-cal-month.is-empty .fa4l-cal-none { display: block; }
.fa4l-cal-legend { margin: 14px 0 0; text-align: center; font-size: 0.78rem; color: #5b6475; }
.fa4l-cal-legend span { display: inline-block; width: 10px; height: 10px; margin: 0 4px 0 12px; border-radius: 2px; }
.fa4l-cal-legend .ok { background: #1d7a3a; }
.fa4l-cal-legend .full { background: var(--fa4l-red); }
@media (max-width: 700px) {
	.fa4l-cal-grid { display: block; border: 0; background: transparent; }
	.fa4l-cal-wd,
	.fa4l-cal-blank,
	.fa4l-cal-day:not(.has-ev) { display: none; }
	.fa4l-cal-day.has-ev {
		display: flex;
		gap: 12px;
		align-items: flex-start;
		margin-bottom: 10px;
		padding: 10px;
		min-height: 0;
		background: #fff;
		border: 1px solid #e6eaf2;
		border-radius: 8px;
	}
	.fa4l-cal-day .n { font-size: 1.4rem; color: var(--fa4l-navy); }
	.fa4l-cal-day .dn { display: block; font-size: 0.7rem; text-transform: uppercase; color: #5b6475; }
	.fa4l-cal-day.has-ev .n,
	.fa4l-cal-day.has-ev .dn { flex: none; }
	.fa4l-cal-day.has-ev .fa4l-cal-ev { flex: 1; margin-top: 0; font-size: 0.78rem; }
}

/* ===================== v1.9: scrolling date list, date cards + pagination (CLAU) ===================== */
.fa4l-date-options {
	max-height: 232px; /* fallback until the script fits it to 3 rows */
	padding: 2px 6px 2px 2px;
	scrollbar-width: thin;
	scrollbar-color: var(--fa4l-navy) #e6eaf2;
}
.fa4l-date-options::-webkit-scrollbar { width: 7px; }
.fa4l-date-options::-webkit-scrollbar-track { background: #e6eaf2; border-radius: 4px; }
.fa4l-date-options::-webkit-scrollbar-thumb { background: var(--fa4l-navy); border-radius: 4px; }
.fa4l-date-opt { flex: none; }

.fa4l-dcard-grid {
	display: grid;
	grid-template-columns: repeat(var(--fa4l-cols, 4), minmax(0, 1fr));
	gap: 20px;
}
.fa4l-dcard {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e6eaf2;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(18, 48, 111, 0.07);
}
.fa4l-dcard[hidden] { display: none; }
.fa4l-dcard-img {
	position: relative;
	display: block;
	height: 170px;
	background: var(--fa4l-navy);
	overflow: hidden;
}
.fa4l-dcard-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fa4l-dcard-ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--fa4l-navy), var(--fa4l-blue)); }
.fa4l-dcard-badge {
	position: absolute;
	left: 10px;
	top: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 46px;
	padding: 5px 7px;
	border-radius: 6px;
	background: #12161f;
	color: #fff;
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.15;
}
.fa4l-dcard-badge b { font-size: 1rem; letter-spacing: 0; }
.fa4l-dcard-img .fa4l-pill {
	position: absolute;
	right: 10px;
	top: 10px;
	background: #1d7a3a;
	color: #fff;
}
.fa4l-dcard-img .fa4l-pill.is-low { background: #d97706; }
.fa4l-dcard-img .fa4l-pill.is-full { background: var(--fa4l-red); }
.fa4l-dcard.is-full .fa4l-dcard-img img { filter: grayscale(0.6); }
.fa4l-dcard-body { display: flex; flex-direction: column; flex: 1; padding: 14px; }
.fa4l-dcard-body .fa4l-card-title { margin: 0 0 8px; font-size: 0.95rem; }
.fa4l-dcard-line { margin: 0 0 4px; font-size: 0.8rem; color: #5b6475; }
.fa4l-dcard-date { color: var(--fa4l-navy); font-weight: 700; }
.fa4l-dcard-venue { font-weight: 600; color: #1d2433; }
.fa4l-dcard-price { margin: 8px 0 12px; color: var(--fa4l-navy); font-weight: 800; }
.fa4l-dcard-body .fa4l-btn { margin-top: auto; padding: 11px 16px; font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; }
.fa4l-pager {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 28px;
}
.fa4l-page {
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid #d0d5dd;
	border-radius: 6px;
	background: #fff;
	color: var(--fa4l-navy);
	font-weight: 700;
	cursor: pointer;
}
.fa4l-page:hover:not(:disabled) { background: var(--fa4l-bg); }
.fa4l-page.is-active { background: var(--fa4l-navy); border-color: var(--fa4l-navy); color: #fff; }
.fa4l-page:disabled { opacity: 0.4; cursor: default; }
@media (max-width: 1100px) { .fa4l-dcard-grid { grid-template-columns: repeat(min(var(--fa4l-cols, 4), 3), minmax(0, 1fr)); } }
@media (max-width: 800px) { .fa4l-dcard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fa4l-dcard-grid { grid-template-columns: 1fr; } }

/* ===================== v2.0: recognised-by logos + hero buttons (CLAU) ===================== */
.fa4l-hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin: 6px 0 0;
}
.fa4l-hero-actions .fa4l-btn { padding: 13px 24px; font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; }
.fa4l-hero-cal { color: var(--fa4l-navy); font-weight: 700; font-size: 0.88rem; text-decoration: none; }
.fa4l-hero-cal:hover { color: var(--fa4l-red); }

.fa4l-rec { margin: 24px 0; }
.fa4l-rec-title { margin: 0 0 8px; color: var(--fa4l-navy); font-size: 1.05rem; font-weight: 800; }
.fa4l-rec-intro { margin: 0 0 12px; color: #5b6475; font-size: 0.9rem; }
.fa4l-rec-grid {
	display: grid;
	grid-template-columns: repeat(var(--fa4l-rec-cols, 5), minmax(0, 1fr));
	gap: 12px;
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}
.fa4l-rec-grid li {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 84px;
	padding: 10px;
	background: #fff;
	border: 1px solid #e6eaf2;
	border-radius: 10px;
	box-sizing: border-box;
}
.fa4l-rec-grid li a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; text-decoration: none; }
.fa4l-rec-grid img { display: block; max-width: 100%; max-height: 58px; width: auto; height: auto; object-fit: contain; }
.fa4l-rec-grid.is-grey img { filter: grayscale(1); opacity: 0.85; transition: filter 0.2s, opacity 0.2s; }
.fa4l-rec-grid.is-grey li:hover img { filter: none; opacity: 1; }
.fa4l-rec-chip { color: var(--fa4l-navy); font-size: 0.82rem; font-weight: 700; text-align: center; line-height: 1.3; }
@media (max-width: 900px) { .fa4l-rec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fa4l-rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* CLAU v2.1: "no open courses" box on the results page + on-request course panel */
.fa4l-nomatch { background: #f4f8ff; border: 1px solid #d6e3fb; border-left: 5px solid var(--fa4l-red, #e02828); border-radius: 12px; padding: 22px 24px; margin: 0 auto 32px; max-width: 760px; text-align: left; }
.fa4l-nomatch h3 { margin: 0 0 8px; color: var(--fa4l-navy, #12306f); font-size: 1.25rem; line-height: 1.3; }
.fa4l-nomatch p { margin: 0 0 16px; color: #333c4d; }
.fa4l-nomatch-sub { margin: -8px 0 20px; color: #5b6475; text-align: center; }
.fa4l-results-wrap .fa4l-results + .fa4l-empty { margin-top: 28px; }
.fa4l-onrequest p { margin: 0 0 14px; }

/* CLAU v2.2: bigger "Add extra +F, +P, +FAW" opener on the course page */
.fa4l-extras summary { font-size: 1.05rem; font-weight: 800; padding: 6px 0; }
.fa4l-extras[open] summary { margin-bottom: 4px; }

/* CLAU v2.2: no tick marks on the "Recognised by" logo cards (a theme/Elementor list style was adding them) */
.fa4l-rec-grid, .fa4l-rec-grid li { list-style: none !important; }
.fa4l-rec-grid li::before, .fa4l-rec-grid li::after { content: none !important; display: none !important; }
.fa4l-rec-grid li::marker { content: none; font-size: 0; }

/* CLAU v2.4: finder intro/actions, "all dates" link, nearest course */
.fa4l-finder-intro{margin:-4px 0 14px;color:#4a5875;font-size:1.05rem}
.fa4l-finder-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:6px}
.fa4l-hero-all{margin:10px 0 0;font-size:.95rem}
.fa4l-hero-all a{color:#12306f;font-weight:600;text-decoration:underline}
.fa4l-nearest{max-width:420px;margin:0 auto 18px}
