/*
Theme Name: Foursight Child
Theme URI: https://foursightsafety.com
Description: Child theme of Astra for the Foursight website.
Author: Foursight Engineered Safety Solutions
Template: astra
Version: 1.11.0
Text Domain: foursight-child
*/

/*
CSS class index (prefix fs-)
List every fs- class here with a short comment on what it does and where it is used.

.fs-btn-outline   Outline button: transparent background (a palette colour would fill it). Text, border
                  and hover colours are set in the Button widget. Add to the widget. Used on: Style guide.
.fs-card          Card hover: lifts 3px and shows a shadow. Add to a card container. Used on: Style guide.
.fs-cta-band      CTA band gradient, Forest dark to Forest to Green. Needs CSS because Elementor
                  gradients allow only two colours. Add to the band container. Used on: Style guide.
.fs-sample-field  Layout for the sample form field made by the [fs_sample_field] shortcode.
                  Used on: Style guide only.
.fs-brand         Logo block from the [fs_brand] shortcode. Used in: header (HTML 1) and footer
.fs-brand-mark    column 1. -mark is the 40px square, -word the "FOURSIGHT" text and tagline.
.fs-brand-word    In the footer the wordmark turns white.
.fs-menu-desc     Description line under each Services dropdown item (hidden on mobile).
.fs-menu-hidden   Menu item kept but not shown. On: "Capability pack" until the PDF exists.
                  Remove the class in Appearance > Menus to show the item.
.fs-linkedin      Adds the LinkedIn icon before a menu item. On: footer "Get started" menu.
.fs-cookie-settings  Marks the "Cookie settings" footer link for Step 13 (no styling).
.fs-foot-desc     Footer description line (footer column 1).
.fs-newsletter-slot  Footer column 1 box holding the MailPoet sign-up form (shortcode).
.fs-news-consent  Consent line in that form; set on the paragraph block in MailPoet.
.fs-form          Fluent Forms widget styling. On: Contact.
.fs-form-card     Soft shadow on a white card. On: Contact, Pay Online.
.fs-contact-list  Contact details list with 44px links. On: Contact.
.fs-bank          Bank details table (stacks on mobile). Class on the table in the Text
                  Editor widget. On: Pay Online.
.fs-whatsapp      Floating WhatsApp button, printed by the child theme on every page.
.fs-breadcrumb    14px Muted breadcrumb line with underlined links. On: FS - Page hero.
.fs-sec-head      Section heading row: puts the paragraph on the right, aligned to the bottom, and
.fs-sec-main      lets it wrap underneath when space is short. -main = eyebrow + H2 container,
.fs-sec-aside     -aside = the paragraph widget. On: FS - Section heading.
.fs-tag           Small uppercase tag line (12px, 0.12em, Green). On: FS - Tag card.
.fs-step          Green top edge of the step card (widths are set in Elementor). On: FS - Step card.
.fs-step-num      Step number: Public Sans 800, 14px, Green, 0.1em. On: FS - Step card.
.fs-image-space   Image widget kept at 16:10 with a cover crop. On: FS - Image space.
(.fs-card also removes link underlines when a whole card is a link.)
.fs-hero-glow     Soft Mint glow, top right. On: Home hero. Delete the class to remove the glow.
.fs-split         Two-part row that stacks when a side would be under 360px. Add with one of:
.fs-split-55      55/45 columns (Home hero)    .fs-split-50  equal columns (Home split section).
.fs-hero-panel    Shadow under the Home illustration panel (its gradient is set in Elementor).
.fs-btn-text      Text-style button: no background or border. On: Home hero.
.fs-btn-sm        Small button. On: Home "All insights".
.fs-chip          Pill chip button (padding and 44px height; colours set in Elementor). On: Home.
.fs-intro         Larger intro paragraph (19px, 860px max). On: Plant Operations, Resourcing.
.fs-phases        Row of phase boxes. At 1025px and up they join with arrows; on tablet 2 by 2 and
.fs-phase         on mobile 1 column, without arrows. -phases = the row, -phase = each box,
.fs-phase-when    -when = the timing line, -list = the bullet list. On: Plant Operations.
.fs-phase-list
.fs-strong-ink    Bold words in Ink inside a Muted paragraph. On: Plant Operations "Why Foursight".
.fs-badge         Small 28px square letter badge (Forest). Add .fs-badge-light for the On-dark
.fs-badge-light   accent version. Text colour is set in the Heading widget. On: About standards.
.fs-std           Standards shown as small chips: an inline Icon List with no icons. On: About.
Academy classes are printed by courses.php (styles under "Academy"); nothing to add by hand:
.fs-courses       [fs_courses] wrapper. .fs-filter / .fs-filter-btn = filter buttons.
.fs-course-list   .fs-course = one row: -date (tile), -body, -meta, -buy, -fee.
.fs-course-btn    Course button; add .fs-course-btn-outline for the outline style.
.fs-courses-empty Message shown when no courses match.
.fs-hint          Underlined links with 44px touch targets in a hint line. Add to a Text Editor
                  widget. On: Academy.
.fs-course-page   Body class on a single course page: -top, -image, -title, -details.

Insights classes are printed by insights.php (styles under "Insights"); nothing to add:
.fs-insights      [fs_insights] wrapper; shares .fs-filter / .fs-filter-btn with courses.
.fs-article-grid  .fs-article = one card: -thumb, -body, -tag, -link, -date.
.fs-insights-empty  Message shown when nothing is listed.
.fs-pagination    Page numbers under the cards.
.fs-article-page  Body class on a single article page: .fs-post-top, .fs-back,
                  .fs-post-image, .fs-post-title, .fs-post-meta, .fs-post-type.

(404 page: the child theme's 404.php shows the Draft page "Page not found"; styles under "404".)

Colour variables (Astra Global Palette; never type hex codes below)
0 Forest, 1 Green, 2 Ink (headings), 3 Ink (text), 4 Paper, 5 White, 6 Mint, 7 Mint light,
8 Forest dark, 9 Leaf, 10 Muted, 11 Soft, 12 Line, 13 On-dark, 14 On-dark accent, 15 Error.
Each is var(--ast-global-color-N).
*/

/* Smooth scrolling */
html {
	scroll-behavior: smooth;
}

/* Keyboard focus: 3px Leaf outline, 3px offset. !important overrides Astra's dotted outline. */
html body :focus-visible {
	outline: 3px solid var(--ast-global-color-9) !important;
	outline-offset: 3px !important;
}

/* No extra space under the last paragraph in Text Editor widgets (Astra adds a bottom margin) */
.elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}

/* Form fields: at least 44px high for touch (Astra fixes them at 40px) */
body input[type="text"],
body input[type="email"],
body input[type="tel"],
body input[type="url"],
body input[type="number"],
body input[type="password"],
body input[type="search"],
body input[type="date"],
body select {
	height: auto;
	min-height: 44px;
}

/* Outline button */
.elementor-widget-button.fs-btn-outline .elementor-button:not(:hover):not(:focus) {
	background-color: transparent;
}

/* Card hover lift. Card colours, border, radius and padding are set in Elementor. */
.fs-card,
.e-con.fs-card {
	transition: box-shadow 0.2s, transform 0.2s;
}

.fs-card:hover,
.e-con.fs-card:hover {
	box-shadow: 0 10px 30px color-mix(in srgb, var(--ast-global-color-0) 10%, transparent);
	transform: translateY(-3px);
}

/* CTA band: three-colour gradient */
.fs-cta-band,
.e-con.fs-cta-band {
	background-image: linear-gradient(120deg, var(--ast-global-color-8), var(--ast-global-color-0) 55%, var(--ast-global-color-1));
}

/* Sample form field (field and label styles come from Elementor Theme Style) */
.fs-sample-field label {
	display: block;
	margin-bottom: 7px;
}

.fs-sample-field input {
	width: 100%;
	max-width: 420px;
}

/* ==== Logo block ==== */
.fs-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	text-decoration: none;
}

.fs-brand-mark {
	flex: none;
	width: 40px;
	height: 40px;
}

.fs-brand-word {
	display: flex;
	flex-direction: column;
	line-height: 1;
	white-space: nowrap;
	font-family: "Public Sans", sans-serif;
}

.fs-brand .fs-brand-word strong {
	color: var(--ast-global-color-0);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0.18em;
}

.fs-brand .fs-brand-word small {
	margin-top: 5px;
	color: var(--ast-global-color-10);
	font-size: 10.5px;
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

#masthead .ast-builder-html-element p,
.site-footer .ast-builder-grid-row .widget p {
	margin: 0;
}

/* ==== Header: sticky (Astra's sticky header is Pro only, so this is CSS) ==== */
#masthead {
	position: sticky;
	top: 0;
	z-index: 99;
	background: color-mix(in srgb, var(--ast-global-color-4) 94%, transparent);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--ast-global-color-12);
}

body.admin-bar #masthead {
	top: 32px;
}

#masthead .ast-primary-header-bar,
#masthead .main-header-bar {
	background: transparent;
	border: 0;
}

#masthead .site-primary-header-wrap.ast-container {
	max-width: 1248px;
	padding-left: 24px;
	padding-right: 24px;
}

#ast-desktop-header .site-primary-header-wrap .ast-builder-grid-row {
	min-height: 76px;
	column-gap: 24px;
}

/* ==== Header: menu links (768px and up) ==== */
#ast-desktop-header .main-header-menu {
	column-gap: 6px;
}

#ast-desktop-header .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link {
	display: flex;
	align-items: center;
	height: auto;
	min-height: 44px;
	padding: 10px;
	border-radius: 8px;
	color: var(--ast-global-color-2);
	font-family: "Public Sans", sans-serif;
	font-size: var(--e-global-typography-fsnav-font-size, 15.5px);
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
}

#ast-desktop-header .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link:hover {
	background: var(--ast-global-color-6);
	color: var(--ast-global-color-0);
}

#ast-desktop-header .ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-item > .menu-link,
#ast-desktop-header .ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-ancestor > .menu-link {
	border-radius: 0;
	box-shadow: inset 0 -3px 0 var(--ast-global-color-1);
	color: var(--ast-global-color-1);
}

/* Forest, not Green, for text on Mint */
#ast-desktop-header .ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-item > .menu-link:hover,
#ast-desktop-header .ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-ancestor > .menu-link:hover {
	color: var(--ast-global-color-0);
}

/* ==== Header: Services dropdown ==== */
#ast-desktop-header .ast-builder-menu-1 .main-header-menu .sub-menu {
	width: 330px;
	min-width: 330px;
	padding: 10px;
	background: var(--ast-global-color-5);
	border: 1px solid var(--ast-global-color-12);
	border-radius: 14px;
	box-shadow: 0 24px 60px color-mix(in srgb, var(--ast-global-color-0) 18%, transparent);
}

/* Keyboard: keep the dropdown open while focus is inside it, as in the mock-up */
#ast-desktop-header .ast-builder-menu-1 .main-header-menu > .menu-item:focus-within > .sub-menu {
	left: 0;
	right: auto;
	visibility: visible;
	opacity: 1;
}

/* Astra also hides each link separately, which stops Tab reaching them */
#ast-desktop-header .ast-builder-menu-1 .main-header-menu > .menu-item:focus-within > .sub-menu .menu-link {
	visibility: visible;
	opacity: 1;
	transition: background-color 0.2s;
}

#ast-desktop-header .ast-builder-menu-1 .main-header-menu .sub-menu .menu-link {
	display: block;
	height: auto;
	min-height: 44px;
	padding: 10px 12px;
	border: 0;
	border-radius: 10px;
	color: var(--ast-global-color-2);
	font-family: "Public Sans", sans-serif;
	font-size: var(--e-global-typography-fsnav-font-size, 15.5px);
	font-weight: 600;
	line-height: 1.4;
	white-space: normal;
}

#ast-desktop-header .ast-builder-menu-1 .main-header-menu .sub-menu .menu-link:hover {
	background: var(--ast-global-color-7);
	color: var(--ast-global-color-0);
}

#ast-desktop-header .ast-builder-menu-1 .main-header-menu .sub-menu .current-menu-item > .menu-link {
	color: var(--ast-global-color-0);
	background: var(--ast-global-color-7);
	box-shadow: inset 0 -3px 0 var(--ast-global-color-1);
}

#masthead .sub-menu .menu-link > .ast-icon {
	display: none;
}

.fs-menu-desc {
	display: block;
	color: var(--ast-global-color-10);
	font-size: 13.5px;
	font-weight: 400;
	line-height: 1.4;
}

/* ==== Header: small primary button ==== */
#masthead .ast-header-button-1 .ast-custom-button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 9px 18px;
	background: var(--ast-global-color-0);
	border: 0;
	border-radius: 999px;
	color: var(--ast-global-color-5);
	font-family: "Public Sans", sans-serif;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

#masthead .ast-header-button-1 .ast-custom-button-link:hover .ast-custom-button,
#masthead .ast-header-button-1 .ast-custom-button-link:focus .ast-custom-button {
	background: var(--ast-global-color-1);
	color: var(--ast-global-color-5);
}

/* ==== Header: 768px to 1239px, full menu on its own row under the logo (never hidden) ==== */
@media (min-width: 768px) and (max-width: 1239.98px) {
	/* Astra's grid wrapper would size the header as one line, letting the menu spill out */
	#ast-desktop-header .site-primary-header-wrap.ast-builder-grid-row-container {
		display: block;
		min-height: 0;
	}

	#ast-desktop-header .site-primary-header-wrap .ast-builder-grid-row {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		min-height: 0;
		padding-top: 12px;
	}

	#ast-desktop-header .ast-builder-menu-1 {
		justify-content: flex-start;
	}

	#ast-desktop-header .ast-builder-menu-1 .ast-main-header-bar-alignment {
		margin: 0 auto 0 0;
	}

	#ast-desktop-header .site-header-primary-section-left {
		order: 1;
	}

	#ast-desktop-header .site-header-primary-section-right {
		display: contents;
	}

	#ast-desktop-header .ast-header-button-1 {
		order: 2;
		margin-left: auto;
	}

	#ast-desktop-header .ast-builder-menu-1 {
		order: 3;
		flex: 0 0 100%;
		margin-top: 12px;
		padding: 4px 0;
		border-top: 1px solid var(--ast-global-color-12);
	}

	#ast-desktop-header .main-header-menu {
		flex-wrap: wrap;
		column-gap: 2px;
	}

	#ast-desktop-header .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link {
		padding: 10px 12px;
	}
}

/* ==== Header: mobile, 767px and below ==== */
@media (max-width: 767px) {
	#masthead .site-primary-header-wrap.ast-container {
		padding-left: 16px;
		padding-right: 16px;
	}

	#masthead #ast-mobile-header .ast-primary-header-bar.main-header-bar {
		padding-left: 16px;
		padding-right: 16px;
	}

	#ast-mobile-header .ast-builder-grid-row {
		min-height: 64px;
		column-gap: 12px;
	}

	#ast-mobile-header .ast-mobile-header-content .main-header-menu,
	#ast-mobile-header .ast-mobile-header-content .main-header-menu .menu-link {
		background: transparent;
	}

	/* Burger: drawn 46 x 42px; the ::after area makes it 44px high to touch */
	#ast-mobile-header .menu-toggle.main-header-menu-toggle {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 46px;
		height: 42px;
		min-height: 0;
		padding: 0;
		background: transparent;
		border: 1px solid var(--ast-global-color-12);
		border-radius: 10px;
		color: var(--ast-global-color-0);
	}

	#ast-mobile-header .menu-toggle.main-header-menu-toggle::after {
		content: "";
		position: absolute;
		inset: -2px 0;
	}

	#ast-mobile-header .menu-toggle .ast-mobile-svg {
		width: 22px;
		height: 22px;
		fill: var(--ast-global-color-0);
	}

	#ast-mobile-header .ast-mobile-header-content {
		max-height: calc(100vh - 64px);
		max-height: calc(100dvh - 64px);
		overflow-y: auto;
		padding: 12px 16px 20px;
		background: var(--ast-global-color-5);
		border-top: 1px solid var(--ast-global-color-12);
		box-shadow: 0 10px 30px color-mix(in srgb, var(--ast-global-color-0) 10%, transparent);
	}

	#ast-mobile-header .ast-builder-menu-mobile .main-header-menu .menu-item > .menu-link {
		display: flex;
		align-items: center;
		height: auto;
		min-height: 44px;
		padding: 10px;
		border: 0;
		color: var(--ast-global-color-2);
		font-family: "Public Sans", sans-serif;
		font-size: var(--e-global-typography-fsnav-font-size, 16px);
		font-weight: 600;
		line-height: 1.4;
	}

	#ast-mobile-header .ast-builder-menu-mobile .main-header-menu .menu-item.current-menu-item > .menu-link,
	#ast-mobile-header .ast-builder-menu-mobile .main-header-menu .menu-item.current-menu-ancestor > .menu-link {
		color: var(--ast-global-color-1);
		box-shadow: inset 0 -3px 0 var(--ast-global-color-1);
	}

	/* Services children always open and indented; no toggle arrows; no descriptions */
	#ast-mobile-header .ast-builder-menu-mobile .main-header-menu .sub-menu {
		display: block !important;
		position: static;
		padding: 0 0 0 16px;
		background: transparent;
		border: 0;
		box-shadow: none;
	}

	#ast-mobile-header .ast-menu-toggle,
	#ast-mobile-header .dropdown-menu-toggle,
	#ast-mobile-header .fs-menu-desc {
		display: none !important;
	}

	#ast-mobile-header .ast-mobile-header-content .ast-header-button-1 {
		padding: 12px 0 0;
	}

	#ast-mobile-header .ast-mobile-header-content .ast-header-button-1 .ast-builder-button-wrap,
	#ast-mobile-header .ast-mobile-header-content .ast-header-button-1 .ast-custom-button-link {
		display: block;
		width: 100%;
	}
}

@media (max-width: 782px) {
	body.admin-bar #masthead {
		top: 46px;
	}
}

@media (max-width: 600px) {
	/* The WordPress admin bar scrolls away at this width */
	body.admin-bar #masthead {
		top: 0;
	}
}

/* ==== Footer ==== */
.site-footer {
	background: var(--ast-global-color-8);
	color: var(--ast-global-color-13);
	font-family: "Public Sans", sans-serif;
}

.site-footer .site-primary-footer-wrap,
.site-footer .site-below-footer-wrap {
	min-height: 0;
	padding: 0;
	background: transparent;
	border: 0;
}

.site-footer .site-primary-footer-wrap .ast-builder-grid-row-container-inner,
.site-footer .site-below-footer-wrap .ast-builder-grid-row-container-inner {
	max-width: none;
	padding: 0;
}

.site-footer .ast-builder-footer-grid-columns.ast-builder-grid-row {
	box-sizing: border-box;
	max-width: 1248px;
	min-height: 0;
	margin: 0 auto;
	padding: 0 24px;
}

.site-footer .site-primary-footer-inner-wrap.ast-builder-grid-row {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	align-items: start;
	gap: 40px;
	padding-top: 64px;
}

.site-footer .ast-builder-grid-row .widget {
	margin: 0;
}

.site-footer .ast-builder-grid-row .widget-title {
	margin: 0 0 8px;
	color: var(--ast-global-color-5);
	font-family: "Public Sans", sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.site-footer .footer-widget-area ul.menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer .footer-widget-area ul.menu li {
	margin: 0;
}

.site-footer .ast-builder-grid-row a {
	color: var(--ast-global-color-13);
	text-decoration: none;
}

.site-footer .ast-builder-grid-row a:hover,
.site-footer .ast-builder-grid-row a:focus {
	color: var(--ast-global-color-5);
}

.site-footer .footer-widget-area ul.menu a {
	display: inline-flex;
	align-items: center;
	min-width: 44px;
	min-height: 44px;
	font-size: 15px;
	line-height: 1.4;
}

.site-footer .ast-builder-grid-row .fs-brand .fs-brand-word strong {
	color: var(--ast-global-color-5);
}

.site-footer .ast-builder-grid-row .fs-brand .fs-brand-word small {
	color: var(--ast-global-color-13);
}

.site-footer .ast-builder-grid-row .widget p.fs-foot-desc {
	max-width: 320px;
	margin-top: 16px;
	color: var(--ast-global-color-13);
	font-size: 15px;
	line-height: 1.6;
}

.fs-menu-hidden {
	display: none !important;
}

.site-footer .fs-linkedin > a::before {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	margin-right: 8px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 3.5a2 2 0 1 1 0 4 2 2 0 0 1 0-4zM3 9h3v12H3zM9 9h2.9v1.7c.5-.9 1.7-2 3.6-2 3.7 0 4.5 2.4 4.5 5.6V21h-3v-6c0-1.5 0-3.3-2-3.3s-2.3 1.6-2.3 3.2V21H9z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 3.5a2 2 0 1 1 0 4 2 2 0 0 1 0-4zM3 9h3v12H3zM9 9h2.9v1.7c.5-.9 1.7-2 3.6-2 3.7 0 4.5 2.4 4.5 5.6V21h-3v-6c0-1.5 0-3.3-2-3.3s-2.3 1.6-2.3 3.2V21H9z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Footer: thin divider, legal links and company line */
.site-footer .site-below-footer-inner-wrap.ast-builder-grid-row {
	display: block;
	margin-top: 48px;
	padding-bottom: 28px;
}

.site-footer .site-footer-below-section-1 {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding-top: 14px;
	border-top: 1px solid color-mix(in srgb, var(--ast-global-color-5) 14%, transparent);
}

/* Legal links and company line: full width, aligned left */
.site-footer .site-footer-below-section-1 > .ast-builder-layout-element,
.site-footer .site-footer-below-section-1 .footer-navigation,
.site-footer .site-footer-below-section-1 .footer-nav-wrap {
	justify-content: flex-start;
	align-self: stretch;
	width: 100%;
	text-align: left;
}

.site-footer ul#astra-footer-menu {
	justify-content: flex-start;
}

.site-footer #astra-footer-menu {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	column-gap: 22px;
	margin: 0;
	padding: 0;
}

.site-footer #astra-footer-menu .menu-item {
	margin: 0;
}

.site-footer #astra-footer-menu .menu-link {
	display: inline-flex;
	align-items: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	font-size: 14px;
	line-height: 1.4;
}

.site-footer .ast-footer-copyright,
.site-footer .ast-footer-copyright p {
	margin: 0;
	color: var(--ast-global-color-13);
	font-size: 13.5px;
	line-height: 1.7;
	text-align: left;
}

.site-footer .ast-footer-copyright {
	margin-top: 8px;
}

/* Keep the company line clear of the WhatsApp button at the bottom of the page */
@media (max-width: 1360px) {
	.site-footer .ast-footer-copyright {
		padding-right: 64px;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.site-footer .site-primary-footer-inner-wrap.ast-builder-grid-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.site-footer .ast-builder-footer-grid-columns.ast-builder-grid-row {
		padding-left: 16px;
		padding-right: 16px;
	}

	.site-footer .site-primary-footer-inner-wrap.ast-builder-grid-row {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
}

/* ==== WhatsApp button ==== */
body a.fs-whatsapp {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 70;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--ast-global-color-1);
	color: var(--ast-global-color-5);
	box-shadow: 0 24px 60px color-mix(in srgb, var(--ast-global-color-0) 18%, transparent);
}

body a.fs-whatsapp:hover,
body a.fs-whatsapp:focus {
	color: var(--ast-global-color-5);
}

/* It must not cover the open mobile menu */
@media (max-width: 767px) {
	body.ast-main-header-nav-open a.fs-whatsapp {
		display: none;
	}
}

/* ==== Reusable templates ==== */

/* A card whose whole container is a link */
a.e-con.fs-card,
a.e-con.fs-card:hover,
a.e-con.fs-card:focus {
	color: inherit;
	text-decoration: none;
}

/* Breadcrumb line */
.elementor-widget-text-editor.fs-breadcrumb,
.elementor-widget-text-editor.fs-breadcrumb p {
	color: var(--ast-global-color-10);
	font-family: "Public Sans", sans-serif;
	font-size: 14px;
	line-height: 1.5;
}

.elementor-widget-text-editor.fs-breadcrumb a {
	/* The padding gives a 44px touch area without moving the line */
	padding: 14px 4px;
	margin: 0 -4px;
	color: var(--ast-global-color-10);
	text-decoration: underline;
}

.elementor-widget-text-editor.fs-breadcrumb a:hover,
.elementor-widget-text-editor.fs-breadcrumb a:focus {
	color: var(--ast-global-color-0);
}

/* Section heading: paragraph on the right, aligned to the bottom */
@media (min-width: 768px) {
	.e-con.fs-sec-head > .e-con.fs-sec-main {
		flex: 1 1 360px;
		width: auto;
	}

	/* Side by side while each side can be at least 360px; otherwise the paragraph wraps under */
	/* The doubled .elementor is needed to beat Elementor's own max-width: 100% rule */
	.elementor.elementor .e-con.fs-sec-head > .elementor-widget.fs-sec-aside {
		flex: 1 1 min(620px, 50%);
		min-width: min(360px, 100%);
		max-width: min(620px, 100%);
	}
}

/* Tag line on tag cards */
.elementor-widget-heading.fs-tag .elementor-heading-title {
	font-family: "Public Sans", sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* Step card: Green top edge */
.e-con.fs-step {
	border-top-color: var(--ast-global-color-1) !important;
}

.elementor-widget-heading.fs-step-num .elementor-heading-title {
	font-family: "Public Sans", sans-serif;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 0.1em;
}

/* Image space: fixed 16:10 with a cover crop */
.elementor-widget-image.fs-image-space img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

/* ==== 404 page: let the Elementor content run full width ==== */
body.fs-404 #content > .ast-container {
	display: block;
	max-width: 100%;
	padding: 0;
}

body.fs-404 #primary {
	margin: 0;
	padding: 0;
}

/* ==== Home page ==== */

/* Soft Mint glow in the top-right corner of the hero */
.e-con.fs-hero-glow {
	background-image: radial-gradient(1200px 500px at 85% 10%, var(--ast-global-color-6) 0%, transparent 60%);
}

/* Two-part rows: side by side while each side can be 360px, otherwise stacked */
@media (min-width: 768px) {
	.e-con.fs-split {
		flex-wrap: wrap;
	}

	.e-con.fs-split > .e-con {
		min-width: min(360px, 100%);
	}

	.e-con.fs-split-55 > .e-con:first-child {
		flex: 1 1 calc(55% - 30.8px);
		width: auto;
	}

	.e-con.fs-split-55 > .e-con:last-child {
		flex: 1 1 calc(45% - 25.2px);
		width: auto;
	}

	.e-con.fs-split-50 > .e-con {
		flex: 1 1 calc(50% - 28px);
		width: auto;
	}
}

.e-con.fs-hero-panel {
	box-shadow: 0 24px 60px color-mix(in srgb, var(--ast-global-color-0) 18%, transparent);
}

/* Text-style button */
.elementor-widget-button.fs-btn-text .elementor-button,
.elementor-widget-button.fs-btn-text .elementor-button:hover,
.elementor-widget-button.fs-btn-text .elementor-button:focus {
	padding: 13px 6px;
	background-color: transparent;
	border-color: transparent;
}

.elementor-widget-button.fs-btn-text .elementor-button:hover {
	text-decoration: underline;
}

/* A text link that wraps onto two lines stays left aligned */
.elementor-widget-button.fs-btn-text .elementor-button {
	text-align: left;
}

.elementor-widget-button.fs-btn-text .elementor-button-content-wrapper {
	justify-content: flex-start;
}

/* Small button (still 44px high to touch) */
.elementor-widget-button.fs-btn-sm .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 9px 18px;
	font-size: 14.5px;
}

/* Pill chips */
.elementor-widget-button.fs-chip .elementor-button {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 7px 16px;
}

/* ==== Service pages ==== */
.elementor-widget-text-editor.fs-intro,
.elementor-widget-text-editor.fs-intro p {
	max-width: 860px;
	color: var(--ast-global-color-3);
	font-size: 19px;
	line-height: 1.6;
}

.elementor-widget-heading.fs-phase-when .elementor-heading-title {
	color: var(--ast-global-color-10);
	font-family: "Public Sans", sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
}

.elementor-widget-text-editor.fs-phase-list {
	color: var(--ast-global-color-10);
	font-size: 15px;
	line-height: 1.6;
}

.elementor-widget-text-editor.fs-phase-list ul {
	margin: 0;
	padding-left: 18px;
}

.elementor-widget-text-editor.fs-phase-list li {
	margin: 4px 0;
}

/* Joined phase boxes with arrows (desktop only) */
@media (min-width: 1025px) {
	.e-con.fs-phases {
		flex-wrap: nowrap;
	}

	.e-con.fs-phases > .e-con.fs-phase {
		flex: 1 1 0;
		width: auto;
		border-radius: 0 !important;
	}

	.e-con.fs-phases > .e-con.fs-phase + .e-con.fs-phase {
		border-left-width: 0 !important;
	}

	.e-con.fs-phases > .e-con.fs-phase:first-child {
		border-radius: 16px 0 0 16px !important;
	}

	.e-con.fs-phases > .e-con.fs-phase:last-child {
		border-radius: 0 16px 16px 0 !important;
	}

	.e-con.fs-phases > .e-con.fs-phase:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 34px;
		right: -13px;
		z-index: 2;
		display: block;
		width: 24px;
		height: 24px;
		background: var(--ast-global-color-1);
		clip-path: polygon(0 0, 100% 50%, 0 100%);
	}
}

.elementor-widget-text-editor.fs-strong-ink strong {
	color: var(--ast-global-color-3);
}

/* ==== About: standards boxes ==== */
.elementor-widget-heading.fs-badge {
	flex: none;
	width: auto;
}

.elementor-widget-heading.fs-badge .elementor-heading-title {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: var(--ast-global-color-0);
	font-family: "Public Sans", sans-serif;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
}

.elementor-widget-heading.fs-badge.fs-badge-light .elementor-heading-title {
	background: var(--ast-global-color-14);
}

.elementor.elementor .elementor-widget-icon-list.fs-std .elementor-icon-list-items {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
}

.elementor.elementor .elementor-widget-icon-list.fs-std .elementor-icon-list-item {
	width: auto;
	margin: 0;
	padding: 5px 10px;
	background: var(--ast-global-color-7);
	border: 1px solid var(--ast-global-color-12);
	border-radius: 8px;
}

.elementor.elementor .elementor-widget-icon-list.fs-std .elementor-icon-list-text {
	padding: 0;
	color: var(--ast-global-color-3);
	font-family: "Public Sans", sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
}

/* ==== Academy: course list ([fs_courses]) ==== */
.fs-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 30px;
}

.fs-filter[hidden],
.fs-course[hidden],
.fs-courses-empty[hidden] {
	display: none;
}

/* The longer selector overrides the global button style, which would fill every filter.
   Shared by the course and insight filters. */
body :is(.fs-courses, .fs-insights) .fs-filter button.fs-filter-btn {
	min-height: 44px;
	padding: 8px 18px;
	background: var(--ast-global-color-5);
	border: 1px solid var(--ast-global-color-12);
	border-radius: 999px;
	color: var(--ast-global-color-0);
	font-family: var(--e-global-typography-text-font-family), sans-serif;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
}

body :is(.fs-courses, .fs-insights) .fs-filter button.fs-filter-btn:hover {
	background: var(--ast-global-color-7);
	border-color: var(--ast-global-color-0);
}

body :is(.fs-courses, .fs-insights) .fs-filter button.fs-filter-btn[aria-pressed="true"] {
	background: var(--ast-global-color-0);
	border-color: var(--ast-global-color-0);
	color: var(--ast-global-color-5);
}

.fs-course-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.fs-course {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 26px;
	margin: 0;
	padding: 24px 28px;
	background: var(--ast-global-color-5);
	border: 1px solid var(--ast-global-color-12);
	border-radius: 16px;
	transition: box-shadow 0.2s;
}

.fs-course:hover {
	box-shadow: 0 10px 30px color-mix(in srgb, var(--ast-global-color-0) 10%, transparent);
}

.fs-course-date {
	flex: none;
	width: 96px;
	padding: 12px 6px;
	background: var(--ast-global-color-7);
	border-radius: 12px;
	text-align: center;
}

.fs-course-date small {
	display: block;
	color: var(--ast-global-color-0);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
}

.fs-course-date b {
	display: block;
	color: var(--ast-global-color-3);
	font-family: var(--e-global-typography-fsh3serif-font-family), serif;
	font-size: 30px;
	font-weight: 600;
	line-height: 1.1;
	overflow-wrap: anywhere;
}

.fs-course-body {
	display: flex;
	flex: 999 1 360px;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.fs-course-meta {
	color: var(--ast-global-color-1);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
}

body .fs-course-body h3 {
	margin: 0;
}

/* Padding gives the title link a 44px touch target without moving the layout. */
body .fs-course-body h3 a {
	display: inline-block;
	margin: -11px 0;
	padding: 11px 0;
	color: var(--ast-global-color-2);
	text-decoration: none;
}

body .fs-course-body h3 a:hover {
	color: var(--ast-global-color-0);
	text-decoration: underline;
}

body .fs-course-body p {
	margin: 0;
	color: var(--ast-global-color-10);
	font-size: 15.5px;
}

.fs-course-buy {
	display: flex;
	flex: 1 1 200px;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.fs-course-fee {
	color: var(--ast-global-color-3);
	font-size: 20.8px;
	font-weight: 800;
	line-height: 1.3;
}

html body a.fs-course-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 11px 24px;
	background: var(--ast-global-color-0);
	border: 2px solid var(--ast-global-color-0);
	border-radius: 999px;
	color: var(--ast-global-color-5);
	font-family: var(--e-global-typography-accent-font-family), sans-serif;
	font-size: var(--e-global-typography-accent-font-size);
	font-weight: var(--e-global-typography-accent-font-weight);
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}

html body a.fs-course-btn:hover,
html body a.fs-course-btn:focus {
	background: var(--ast-global-color-1);
	border-color: var(--ast-global-color-1);
	color: var(--ast-global-color-5);
}

html body a.fs-course-btn.fs-course-btn-outline {
	background: transparent;
	color: var(--ast-global-color-0);
}

html body a.fs-course-btn.fs-course-btn-outline:hover,
html body a.fs-course-btn.fs-course-btn-outline:focus {
	background: var(--ast-global-color-6);
	border-color: var(--ast-global-color-0);
	color: var(--ast-global-color-0);
}

body .fs-courses-empty {
	margin: 0;
	padding: 24px 28px;
	background: var(--ast-global-color-5);
	border: 1px solid var(--ast-global-color-12);
	border-radius: 16px;
	color: var(--ast-global-color-10);
}

/* Hint lines under the list: underline links so they don't rely on colour alone. The padding
   makes each link a 44px touch target; on an inline link it doesn't change the line spacing. */
.elementor .fs-hint a {
	padding: 14px 0;
	text-decoration: underline;
}

/* ==== Academy: single course page ==== */
/* Less space under the header than Astra's default for posts. */
body.fs-course-page #primary {
	margin-top: 0;
}

body.fs-course-page article.ast-article-single {
	padding-top: 40px;
}

.fs-course-top {
	margin-bottom: 36px;
}

/* Astra adds a shadow to figures in posts. */
body.fs-course-page .fs-course-image {
	box-shadow: none;
}

.fs-course-image {
	margin: 0 0 28px;
}

.fs-course-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 16px;
}

body .fs-course-title {
	margin: 0 0 22px;
}

.fs-course-details {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 22px;
	padding: 28px;
	background: var(--ast-global-color-5);
	border: 1px solid var(--ast-global-color-12);
	border-radius: 16px;
}

.fs-course-details dl {
	display: grid;
	flex: 1 1 340px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 28px;
	margin: 0;
}

.fs-course-details dt {
	color: var(--ast-global-color-10);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
}

.fs-course-details dd {
	margin: 0;
	color: var(--ast-global-color-3);
	font-weight: 700;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

@media (max-width: 767px) {
	.fs-course {
		align-items: flex-start;
		gap: 16px 14px;
		padding: 22px 18px;
	}

	.fs-course-date {
		width: 72px;
	}

	.fs-course-date b {
		font-size: 24px;
	}

	.fs-course-body {
		flex: 1 1 0;
	}

	.fs-course-buy {
		flex: 1 1 100%;
	}

	body.fs-course-page article.ast-article-single {
		padding-top: 28px;
	}

	.fs-course-details {
		padding: 22px;
	}

	html body .fs-course-buy a.fs-course-btn,
	html body .fs-course-details a.fs-course-btn {
		width: 100%;
	}
}

/* ==== Insights: cards ([fs_insights]) ==== */
/* After a filter or page-number reload the page jumps to #fs-insights. The invisible space
   above the list keeps it clear of the sticky header (the theme's jump script ignores
   scroll-margin). Clicks pass through the space. */
.fs-insights[id] {
	margin-top: -140px;
	padding-top: 140px;
	pointer-events: none;
}

.fs-insights[id] > * {
	pointer-events: auto;
}

form.fs-filter {
	margin: 0 0 30px;
}

.fs-article-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.fs-article {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	overflow: hidden;
	background: var(--ast-global-color-5);
	border: 1px solid var(--ast-global-color-12);
	border-radius: 16px;
	transition: box-shadow 0.2s, transform 0.2s;
}

.fs-article:hover {
	box-shadow: 0 10px 30px color-mix(in srgb, var(--ast-global-color-0) 10%, transparent);
	transform: translateY(-3px);
}

.fs-article[hidden],
.fs-insights-empty[hidden] {
	display: none;
}

/* The whole card is clickable through the title link; the focus outline goes round the card. */
.fs-article:has(a:focus-visible) {
	outline: 3px solid var(--ast-global-color-9);
	outline-offset: 3px;
}

html body .fs-article a.fs-article-link:focus-visible {
	outline: none !important;
}

@supports not selector(:has(a)) {
	html body .fs-article a.fs-article-link:focus-visible {
		outline: 3px solid var(--ast-global-color-9) !important;
	}
}

/* Thumbnail. Without a featured image: Forest to Leaf gradient with a faint grid (no text
   sits on it). */
.fs-article-thumb {
	height: 140px;
	overflow: hidden;
	background-image:
		linear-gradient(color-mix(in srgb, var(--ast-global-color-5) 16%, transparent) 1px, transparent 1px),
		linear-gradient(90deg, color-mix(in srgb, var(--ast-global-color-5) 16%, transparent) 1px, transparent 1px),
		linear-gradient(135deg, var(--ast-global-color-0), var(--ast-global-color-9));
	background-size: 28px 28px, 28px 28px, 100% 100%;
}

.fs-article-thumb img {
	display: block;
	width: 100%;
	height: 140px;
	object-fit: cover;
}

.fs-article-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 22px 24px 26px;
}

.fs-article-tag {
	color: var(--ast-global-color-1);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

body .fs-article-body h3 {
	margin: 0;
}

body .fs-article-body h3 a {
	color: var(--ast-global-color-2);
	text-decoration: none;
}

body .fs-article-body h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
}

body .fs-article-body p {
	margin: 0;
	color: var(--ast-global-color-10);
	font-size: 15px;
}

.fs-article-date {
	margin-top: auto;
	color: var(--ast-global-color-11);
	font-size: 13.5px;
}

body .fs-insights-empty {
	margin: 0;
	padding: 24px 28px;
	background: var(--ast-global-color-5);
	border: 1px solid var(--ast-global-color-12);
	border-radius: 16px;
	color: var(--ast-global-color-10);
}

/* Page numbers */
.fs-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
}

.fs-pagination li {
	margin: 0;
}

html body .fs-pagination .page-numbers li .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 8px 16px;
	background: var(--ast-global-color-5);
	border: 1px solid var(--ast-global-color-12);
	border-radius: 999px;
	color: var(--ast-global-color-0);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
}

html body .fs-pagination .page-numbers li a.page-numbers:hover {
	background: var(--ast-global-color-7);
	border-color: var(--ast-global-color-0);
}

html body .fs-pagination .page-numbers li .page-numbers.current {
	background: var(--ast-global-color-0);
	border-color: var(--ast-global-color-0);
	color: var(--ast-global-color-5);
}

html body .fs-pagination .page-numbers li .page-numbers.dots {
	background: transparent;
	border-color: transparent;
}

/* ==== Insights: single article page ==== */
/* A 760px reading column. */
body.fs-article-page #content > .ast-container {
	max-width: 808px;
	padding-right: 24px;
	padding-left: 24px;
}

body.fs-article-page #primary {
	width: 100%;
	margin: 0;
	padding: 0;
}

body.fs-article-page article.ast-article-single {
	padding: 24px 0 72px;
}

/* Astra limits blocks in the text to 750px; let them fill the 760px column. */
body.fs-article-page .entry-content {
	--wp--custom--ast-content-width-size: 100%;
}

.fs-post-top {
	margin-bottom: 32px;
}

body .fs-back {
	margin: 0 0 12px;
}

body .fs-back a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 15.5px;
	font-weight: 700;
	text-decoration: none;
}

body .fs-back a:hover {
	text-decoration: underline;
}

body.fs-article-page .fs-post-image {
	margin: 0 0 28px;
	box-shadow: none;
}

.fs-post-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 16px;
}

body .fs-post-title {
	margin: 0 0 14px;
	font-family: var(--e-global-typography-primary-font-family), serif;
	overflow-wrap: break-word;
}

body .fs-post-meta {
	margin: 0;
	color: var(--ast-global-color-10);
	font-size: 15.5px;
}

.fs-post-type {
	color: var(--ast-global-color-1);
	font-weight: 700;
}

@media (min-width: 768px) and (max-width: 1024px) {
	.fs-article-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.fs-article-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	body.fs-article-page #content > .ast-container {
		padding-right: 16px;
		padding-left: 16px;
	}

	body.fs-article-page article.ast-article-single {
		padding: 16px 0 56px;
	}
}

/* ==== Cards that hold a form or payment details ==== */
.fs-form-card,
.e-con.fs-form-card {
	box-shadow: 0 10px 30px color-mix(in srgb, var(--ast-global-color-0) 8%, transparent);
}

/* ==== Contact form (Fluent Forms widget with class fs-form) ==== */
.elementor .fs-form .fluentform .ff-el-group {
	margin-bottom: 18px;
}

.elementor .fs-form .fluentform .ff-el-input--label label {
	display: inline-block;
	margin-bottom: 7px;
}

.elementor .fs-form .fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label::after {
	color: var(--ast-global-color-1);
}

.elementor .fs-form .fluentform input.ff-el-form-control,
.elementor .fs-form .fluentform textarea.ff-el-form-control {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	background: var(--ast-global-color-5);
	border: 1px solid var(--ast-global-color-12);
	border-radius: 10px;
	color: var(--ast-global-color-3);
	font-family: var(--e-global-typography-text-font-family), sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

.elementor .fs-form .fluentform textarea.ff-el-form-control {
	min-height: 130px;
	resize: vertical;
}

.elementor .fs-form .fluentform input.ff-el-form-control:focus,
.elementor .fs-form .fluentform textarea.ff-el-form-control:focus {
	border-color: var(--ast-global-color-1);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--ast-global-color-1) 18%, transparent);
}

/* Consent line: the whole label is the 44px touch target. */
.elementor .fs-form .fluentform .ff-el-tc .ff_tc_label {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	margin: 0;
	font-size: 15px;
	font-weight: 500;
}

.elementor .fs-form .fluentform .ff-el-tc .ff_tc_checkbox {
	display: flex;
	flex: none;
}

.elementor .fs-form .fluentform .ff-el-tc input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--ast-global-color-1);
}

.elementor .fs-form .fluentform .ff_t_c a {
	text-decoration: underline;
}

.elementor .fs-form .fluentform .ff_submit_btn_wrapper {
	margin-bottom: 0;
}

.elementor .fs-form .fluentform button.ff-btn-submit {
	min-height: 48px;
	padding: 11px 24px;
	background: var(--ast-global-color-0);
	border: 2px solid var(--ast-global-color-0);
	border-radius: 999px;
	color: var(--ast-global-color-5);
	font-family: var(--e-global-typography-accent-font-family), sans-serif;
	font-size: var(--e-global-typography-accent-font-size);
	font-weight: var(--e-global-typography-accent-font-weight);
	line-height: 1.2;
}

.elementor .fs-form .fluentform button.ff-btn-submit:hover,
.elementor .fs-form .fluentform button.ff-btn-submit:focus {
	background: var(--ast-global-color-1);
	border-color: var(--ast-global-color-1);
	color: var(--ast-global-color-5);
}

/* Errors: the Error colour is used for form errors only. */
.elementor .fs-form .fluentform .ff-el-is-error .ff-el-form-control {
	border-color: var(--ast-global-color-15);
}

.elementor .fs-form .fluentform .error.text-danger,
.elementor .fs-form .ff-errors-in-stack .text-danger,
.elementor .fs-form .ff-errors-in-stack .error {
	color: var(--ast-global-color-15);
	font-size: 14px;
}

.elementor .fs-form .ff-message-success {
	margin: 0;
	padding: 28px;
	background: var(--ast-global-color-6);
	border: 1px solid var(--ast-global-color-12);
	border-radius: 16px;
	box-shadow: none;
	color: var(--ast-global-color-3);
	font-weight: 600;
}

/* ==== Contact page: details list ==== */
.fs-contact-list .elementor-icon-box-content {
	min-width: 0;
	overflow-wrap: anywhere;
}

.fs-contact-list .elementor-icon-box-title {
	font-weight: 700;
}

.fs-contact-list .elementor-icon-box-description a {
	display: inline-block;
	min-width: 44px;
	margin: -11px 0;
	padding: 11px 0;
}

/* ==== Pay Online: bank details table ==== */
.elementor .elementor-widget-text-editor table.fs-bank {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 15px;
}

.elementor .elementor-widget-text-editor table.fs-bank th,
.elementor .elementor-widget-text-editor table.fs-bank td {
	padding: 10px 0;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--ast-global-color-12);
	text-align: left;
	vertical-align: top;
	overflow-wrap: anywhere;
}

.elementor .elementor-widget-text-editor table.fs-bank th {
	width: 40%;
	padding-right: 12px;
	color: var(--ast-global-color-10);
	font-weight: 400;
}

.elementor .elementor-widget-text-editor table.fs-bank td {
	color: var(--ast-global-color-3);
}

/* ==== Footer newsletter (MailPoet form in footer column 1) ==== */
.site-footer .fs-newsletter-slot {
	max-width: 360px;
	margin-top: 16px;
}

html body .site-footer .fs-newsletter-slot .mailpoet_form {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
}

html body .site-footer .fs-newsletter-slot form.mailpoet_form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 8px;
}

html body .site-footer .fs-newsletter-slot .mailpoet_paragraph {
	flex: 0 0 auto;
	margin: 0;
}

html body .site-footer .fs-newsletter-slot .mailpoet_paragraph:first-of-type {
	flex: 1 1 180px;
	min-width: 0;
}

html body .site-footer .fs-newsletter-slot input.mailpoet_text {
	width: 100%;
	max-width: none;
	min-height: 44px;
	margin: 0;
	padding: 9px 14px;
	background: color-mix(in srgb, var(--ast-global-color-5) 8%, transparent);
	border: 1px solid color-mix(in srgb, var(--ast-global-color-5) 30%, transparent);
	border-radius: 10px;
	color: var(--ast-global-color-5);
	font-size: 15px;
}

html body .site-footer .fs-newsletter-slot input.mailpoet_text::placeholder {
	color: var(--ast-global-color-13);
	opacity: 1;
}

html body .site-footer .fs-newsletter-slot input.mailpoet_text:focus {
	background: color-mix(in srgb, var(--ast-global-color-5) 12%, transparent);
	border-color: var(--ast-global-color-14);
	color: var(--ast-global-color-5);
}

html body .site-footer .fs-newsletter-slot input.mailpoet_submit {
	width: auto;
	min-height: 44px;
	margin: 0;
	padding: 9px 20px;
	background: var(--ast-global-color-5);
	border: 2px solid var(--ast-global-color-5);
	border-radius: 999px;
	color: var(--ast-global-color-0);
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

html body .site-footer .fs-newsletter-slot input.mailpoet_submit:hover,
html body .site-footer .fs-newsletter-slot input.mailpoet_submit:focus {
	background: var(--ast-global-color-6);
	border-color: var(--ast-global-color-6);
	color: var(--ast-global-color-0);
}

html body .site-footer .fs-newsletter-slot p.fs-news-consent,
html body .site-footer .fs-newsletter-slot .mailpoet_message {
	flex: 1 1 100%;
	margin: 4px 0 0;
	color: var(--ast-global-color-13);
	font-size: 13.5px;
	line-height: 1.5;
}

html body .site-footer .fs-newsletter-slot p.fs-news-consent a {
	display: inline-block;
	margin: -12px 0;
	padding: 12px 0;
	color: var(--ast-global-color-5);
	text-decoration: underline;
}

html body .site-footer .fs-newsletter-slot .mailpoet_message p {
	margin: 0;
	color: var(--ast-global-color-5);
}

/* Errors sit on a white chip: the Error colour can't be read on Forest dark. */
html body .site-footer .fs-newsletter-slot .parsley-errors-list li,
html body .site-footer .fs-newsletter-slot .mailpoet_message p.mailpoet_validate_error {
	display: inline-block;
	margin: 4px 0 0;
	padding: 5px 10px;
	background: var(--ast-global-color-5);
	border-radius: 8px;
	color: var(--ast-global-color-15);
	font-size: 13.5px;
}

@media (max-width: 767px) {
	.elementor .elementor-widget-text-editor table.fs-bank tr,
	.elementor .elementor-widget-text-editor table.fs-bank th,
	.elementor .elementor-widget-text-editor table.fs-bank td {
		display: block;
		width: 100%;
	}

	.elementor .elementor-widget-text-editor table.fs-bank th {
		padding: 10px 0 0;
		border-bottom: 0;
	}

	.elementor .elementor-widget-text-editor table.fs-bank td {
		padding: 2px 0 10px;
	}

	.site-footer .fs-newsletter-slot {
		max-width: none;
	}

	html body .site-footer .fs-newsletter-slot .mailpoet_paragraph,
	html body .site-footer .fs-newsletter-slot .mailpoet_paragraph:first-of-type {
		flex: 1 1 100%;
	}

	html body .site-footer .fs-newsletter-slot input.mailpoet_submit {
		width: 100%;
	}
}

/* Reduced motion: switch animation off */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}

	.fs-card:hover,
	.e-con.fs-card:hover,
	.fs-article:hover {
		transform: none;
	}
}
