/*
Theme Name:   Frontline Public Safety
Theme URI:    https://frontlinepss.com/
Description:  GeneratePress child theme for Frontline Public Safety Solutions (a Vector Solutions company). Custom header, accessible navigation, announcement bar, CTA band, footer and on-brand block patterns for editors.
Author:       Vector Solutions — Web Team
Template:     generatepress
Version:      1.4.2
Requires at least: 6.6
Requires PHP: 8.0
Tested up to: 6.8
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  frontline-gp
*/

/* ==========================================================================
   Contents
   1.  Fonts
   2.  Design tokens
   3.  Base
   4.  Layout helpers, buttons, kicker
   5.  Top bar
   6.  Header + desktop navigation
   7.  Mobile drawer
   8.  Announcement bar
   9.  Page hero (standard pages)
   10. GeneratePress content adjustments
   11. Pattern sections (homepage, product pages)
   11b. Product submenu + module pages
   12. CTA band
   13. Footer
   14. Block editor
   15. Motion + print
   ========================================================================== */

/* 1. Fonts — self-hosted variable fonts (SIL OFL, see assets/fonts) ======== */

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Nunito Sans";
	font-style: normal;
	font-weight: 200 1000;
	font-display: swap;
	src: url("assets/fonts/nunito-sans-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Nunito Sans";
	font-style: italic;
	font-weight: 200 1000;
	font-display: swap;
	src: url("assets/fonts/nunito-sans-latin-wght-italic.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. Design tokens ========================================================= */
/* Palette: Smalt / Cape Cod / Cinnabar / Cascade (brand direction, Nov 2026).
   Change colors in the tokens below; components only reference role tokens. */

:root {
	/* Brand palette (Nov 2026): Smalt, Cape Cod, Cinnabar + Cascade.
	   Text/background pairs are chosen for WCAG AA. Cinnabar (3.82:1 on white)
	   and Cascade (2.34:1 on white) are accent/decoration colors, not text colors. */
	--fl-smalt: #003da7;
	--fl-cape-cod: #3d4543;
	--fl-cinnabar: #e74c39;
	--fl-cascade: #9facab;

	/* Roles — components only use these */
	--fl-brand: var(--fl-smalt);        /* links, kickers, icons on light */
	--fl-brand-600: #002f82;            /* hover */
	--fl-brand-50: #eef2f9;             /* tints: icon tiles, hovers */
	--fl-btn: var(--fl-smalt);          /* buttons (white text 9.44:1) */
	--fl-btn-hover: #002f82;
	--fl-accent: var(--fl-cinnabar);    /* bars, rules, highlights, large display text on dark */
	--fl-dark: var(--fl-cape-cod);      /* top bar, dark sections, footer */
	--fl-dark-900: #2b3130;             /* footer bar, deep overlays */
	--fl-ink: #1f2423;                  /* headings */
	--fl-text: #48504e;                 /* body text (8.29:1) */
	--fl-muted: #5e6765;                /* secondary text (5.83:1) */
	--fl-line: #dde3e2;                 /* borders */
	--fl-field: #7a8584;                /* form field borders (3.81:1) */
	--fl-surface: #f3f5f5;              /* light section background */
	--fl-white: #fff;
	--fl-on-dark: #d5dcdb;              /* text on Cape Cod (7:1) */
	--fl-on-dark-muted: #c3cccb;        /* captions on Cape Cod (6:1) */

	/* Brand gradient (dark sections): deep navy → Smalt with a Cinnabar glow. CSS fallback
	   for when the image hasn't loaded; the image is assets/img/brand-gradient.webp. */
	--fl-grad-css: radial-gradient(70% 95% at 100% 100%, rgba(132, 64, 101, .95), rgba(132, 64, 101, 0) 60%), linear-gradient(115deg, #021c4e 0%, #022c7b 50%, #0832aa 100%);
	--fl-grad-base: #022c7b;

	--fl-font-head: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--fl-font-body: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--fl-container: 1240px;
	--fl-gutter: clamp(1rem, 4vw, 2rem);
	--fl-section-y: clamp(3.5rem, 8vw, 6.5rem);
	--fl-radius: 14px;
	--fl-radius-sm: 8px;
	--fl-shadow-sm: 0 1px 2px rgba(31, 36, 35, .06), 0 2px 8px rgba(31, 36, 35, .05);
	--fl-shadow: 0 10px 30px -10px rgba(31, 36, 35, .22);
	--fl-shadow-lg: 0 24px 60px -20px rgba(31, 36, 35, .35);
	--fl-ease: cubic-bezier(.2, .7, .2, 1);
	--fl-header-h: 84px;
}

/* 3. Base ================================================================= */

/* GeneratePress already sets this; repeated defensively for theme parts. */
.frontline *,
.frontline *::before,
.frontline *::after { box-sizing: border-box; }

html {
	scroll-padding-top: calc(var(--fl-header-h) + 1rem);
}

body {
	font-family: var(--fl-font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--fl-text);
	background: var(--fl-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--fl-font-head);
	color: var(--fl-ink);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.015em;
	text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.7vw, 2.625rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.375rem); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 700; }

p { text-wrap: pretty; }

a {
	color: var(--fl-brand);
	text-underline-offset: .2em;
	text-decoration-thickness: 1px;
	transition: color .15s var(--fl-ease);
}

a:hover { color: var(--fl-brand-600); }

:focus-visible {
	outline: 3px solid var(--fl-brand);
	outline-offset: 3px;
	border-radius: 4px;
}

.fl-footer :focus-visible,
.fl-topbar :focus-visible,
.fl-cta-band :focus-visible,
.fl-section--dark :focus-visible,
.fl-hero :focus-visible,
.fl-product-hero :focus-visible,
.fl-page-hero :focus-visible,
.is-style-brand-gradient :focus-visible {
	outline-color: #fff;
}

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

::selection { background: var(--fl-brand); color: #fff; }

.fl-icon { flex: none; display: inline-block; vertical-align: middle; }

/* Skip link from GeneratePress — make it visible and on-brand when focused. */
.skip-link.screen-reader-text:focus {
	background: var(--fl-dark);
	color: #fff;
	padding: .75rem 1.25rem;
	border-radius: var(--fl-radius-sm);
	z-index: 100000;
	clip: auto !important;
	clip-path: none;
	height: auto;
	width: auto;
	top: .75rem;
	left: .75rem;
	font-weight: 700;
}

/* 4. Layout helpers, buttons, kicker ====================================== */

.fl-container {
	width: 100%;
	max-width: calc(var(--fl-container) + 2 * var(--fl-gutter));
	margin-inline: auto;
	padding-inline: var(--fl-gutter);
}

.fl-btn,
.wp-block-button__link,
.entry-content .wp-block-button__link,
.wp-block-button > a.wp-block-button__link:not(.has-background) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-height: 48px;
	padding: .8rem 1.5rem;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: var(--fl-font-head);
	font-size: .9375rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .01em;
	text-decoration: none;
	background: var(--fl-btn);
	color: #fff;
	cursor: pointer;
	transition: background-color .2s var(--fl-ease), color .2s var(--fl-ease), border-color .2s var(--fl-ease), transform .2s var(--fl-ease), box-shadow .2s var(--fl-ease);
}

.fl-btn:hover,
.wp-block-button__link:hover,
.wp-block-button > a.wp-block-button__link:not(.has-background):hover,
.wp-block-button > a.wp-block-button__link:not(.has-background):focus {
	background: var(--fl-btn-hover);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 8px 18px -8px rgba(0, 47, 130, .45);
}

.fl-btn--lg { min-height: 56px; padding: 1rem 2rem; font-size: 1rem; }
.fl-btn--block { width: 100%; }

/* Secondary (outline) buttons: core "Outline" style. */
.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline > a.wp-block-button__link:not(.has-background) {
	background: transparent;
	color: var(--fl-brand);
	border-color: currentColor;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > a.wp-block-button__link:not(.has-background):hover {
	background: var(--fl-brand);
	border-color: var(--fl-brand);
	color: #fff;
}

.fl-section--dark .wp-block-button.is-style-outline > .wp-block-button__link,
.fl-hero .wp-block-button.is-style-outline > .wp-block-button__link,
.fl-product-hero .wp-block-button.is-style-outline > .wp-block-button__link,
.is-style-brand-gradient .wp-block-button.is-style-outline > .wp-block-button__link,
.fl-section--dark .wp-block-button.is-style-outline > a.wp-block-button__link:not(.has-background),
.fl-hero .wp-block-button.is-style-outline > a.wp-block-button__link:not(.has-background),
.fl-product-hero .wp-block-button.is-style-outline > a.wp-block-button__link:not(.has-background),
.is-style-brand-gradient .wp-block-button.is-style-outline > a.wp-block-button__link:not(.has-background) {
	color: #fff;
}

.fl-section--dark .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.fl-hero .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.fl-product-hero .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.is-style-brand-gradient .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.fl-section--dark .wp-block-button.is-style-outline > a.wp-block-button__link:not(.has-background):hover,
.fl-hero .wp-block-button.is-style-outline > a.wp-block-button__link:not(.has-background):hover,
.fl-product-hero .wp-block-button.is-style-outline > a.wp-block-button__link:not(.has-background):hover,
.is-style-brand-gradient .wp-block-button.is-style-outline > a.wp-block-button__link:not(.has-background):hover {
	background: #fff;
	border-color: #fff;
	color: var(--fl-brand);
}

/* Kicker / eyebrow line above headings. */
.fl-kicker,
p.fl-kicker {
	display: inline-flex;
	align-items: center;
	gap: .625rem;
	margin: 0 0 .875rem;
	font-family: var(--fl-font-head);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--fl-brand);
}

.fl-kicker::before {
	content: "";
	width: 1.75rem;
	height: 3px;
	border-radius: 3px;
	background: var(--fl-accent);
	flex: none;
}

.fl-kicker--light,
p.fl-kicker--light,
.fl-cta-band .fl-kicker,
.fl-section--dark .fl-kicker,
.fl-hero .fl-kicker,
.fl-product-hero .fl-kicker,
.fl-page-hero .fl-kicker,
.is-style-brand-gradient .fl-kicker {
	color: var(--fl-on-dark);
}

/* 5. Top bar ============================================================== */

.fl-topbar {
	background: var(--fl-dark);
	color: var(--fl-on-dark);
	font-size: .8125rem;
	line-height: 1.4;
}

.fl-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 40px;
}

.fl-topbar__contact,
.fl-social {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .25rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fl-topbar a {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	color: var(--fl-on-dark);
	text-decoration: none;
	min-height: 32px;
}

.fl-topbar a:hover { color: #fff; }
.fl-topbar .fl-icon { color: var(--fl-accent); }

.fl-topbar__end { display: flex; align-items: center; gap: 1.25rem; }
.fl-topbar__tagline { margin: 0; }

.fl-social { gap: .25rem; }

.fl-social a {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
}

.fl-social--topbar .fl-icon { color: var(--fl-on-dark); }
.fl-social--topbar a:hover { background: rgba(255, 255, 255, .1); }
.fl-social--topbar a:hover .fl-icon { color: #fff; }

@media (max-width: 899px) {
	.fl-topbar__tagline { display: none; }
}

@media (max-width: 599px) {
	.fl-topbar__contact li + li,
	.fl-topbar .fl-social { display: none; }
	.fl-topbar__inner { justify-content: center; }
}

/* 6. Header + desktop navigation ========================================= */

.site-header,
.fl-header {
	position: sticky;
	top: 0;
	z-index: 900;
	background: #fff;
	border-bottom: 1px solid var(--fl-line);
	transition: box-shadow .25s var(--fl-ease);
}

.admin-bar .fl-header { top: 32px; }

/* WP admin bar: 46px tall (fixed) from 601–782px, scrolls away below 600px. */
@media (max-width: 782px) {
	.admin-bar .fl-header { top: 46px; }
}

@media (max-width: 600px) {
	.admin-bar .fl-header { top: 0; }
}

.fl-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(31, 36, 35, .35); }

.fl-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: var(--fl-header-h);
}

.fl-logo {
	display: inline-flex;
	align-items: center;
	flex: none;
	line-height: 0;
}

.fl-header .fl-logo__img {
	width: clamp(190px, 22vw, 260px);
	height: auto;
}

.fl-nav--desktop { display: none; margin-inline: auto; }

.fl-nav__menu,
.fl-nav__menu .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fl-header__actions {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	margin-left: auto;
}

.fl-header__phone {
	display: none;
	align-items: center;
	gap: .625rem;
	color: var(--fl-ink);
	text-decoration: none;
	line-height: 1.25;
}

.fl-header__phone-icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--fl-brand-50);
	color: var(--fl-brand);
	transition: background-color .2s var(--fl-ease), color .2s var(--fl-ease);
}

.fl-header__phone:hover .fl-header__phone-icon { background: var(--fl-brand); color: #fff; }
.fl-header__phone-text { display: flex; flex-direction: column; }
.fl-header__phone-label { font-size: .75rem; color: var(--fl-muted); }
.fl-header__phone-number { font-family: var(--fl-font-head); font-weight: 700; font-size: .9375rem; color: var(--fl-ink); }
.fl-header__phone:hover .fl-header__phone-number { color: var(--fl-brand); }

.fl-header__cta { display: none; }

.fl-menu-toggle,
.fl-drawer__close {
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: var(--fl-brand-50);
	color: var(--fl-dark);
	cursor: pointer;
}

.fl-menu-toggle:hover,
.fl-drawer__close:hover { background: var(--fl-brand); color: #fff; }

@media (min-width: 640px) {
	.fl-header__cta { display: inline-flex; min-height: 44px; padding: .65rem 1.25rem; font-size: .875rem; }
}

@media (min-width: 1100px) {
	.fl-nav--desktop { display: block; }
	.fl-menu-toggle { display: none; }
	.fl-header__actions { margin-left: 0; }
}

@media (min-width: 1360px) {
	.fl-header__phone { display: inline-flex; }
}

/* Top-level items */
.fl-nav--desktop .fl-nav__menu {
	display: flex;
	align-items: center;
	gap: .25rem;
}

.fl-nav--desktop .fl-nav__menu > .menu-item { position: relative; display: flex; align-items: center; }

.fl-nav--desktop .fl-nav__menu > .menu-item > .fl-nav__link {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	min-height: 44px;
	padding: .5rem .875rem;
	border: 0;
	border-radius: 999px;
	background: none;
	font-family: var(--fl-font-head);
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--fl-ink);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s var(--fl-ease), color .15s var(--fl-ease);
}

.fl-nav--desktop .fl-nav__menu > .menu-item > .fl-nav__link:hover,
.fl-nav--desktop .fl-nav__menu > .menu-item.is-open > .fl-nav__link {
	background: var(--fl-brand-50);
	color: var(--fl-brand);
}

.fl-nav--desktop .fl-nav__menu > .is-current-branch > .fl-nav__link {
	color: var(--fl-brand);
	box-shadow: inset 0 -3px 0 var(--fl-accent);
	border-radius: 0;
}

.fl-nav--desktop .fl-nav__toggle--label .fl-icon,
.fl-nav--desktop .fl-nav__toggle .fl-icon { transition: transform .2s var(--fl-ease); }

.fl-nav--desktop .menu-item.is-open > .fl-nav__toggle .fl-icon { transform: rotate(180deg); }

/* Separate chevron button next to a real link */
.fl-nav--desktop .fl-nav__toggle:not(.fl-nav__toggle--label) {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin-left: -.5rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--fl-ink);
	cursor: pointer;
}

/* Dropdown panel */
.fl-nav--desktop .sub-menu {
	position: absolute;
	top: calc(100% - .5rem);
	left: 50%;
	z-index: 50;
	min-width: 280px;
	padding: .75rem;
	border: 1px solid var(--fl-line);
	border-radius: var(--fl-radius);
	background: #fff;
	box-shadow: var(--fl-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 6px);
	transition: opacity .18s var(--fl-ease), transform .18s var(--fl-ease), visibility 0s linear .18s;
}

/* Invisible bridge so the panel doesn't close crossing the gap */
.fl-nav--desktop .sub-menu::before {
	content: "";
	position: absolute;
	inset: -1rem 0 auto;
	height: 1rem;
}

.fl-nav--desktop .menu-item.is-open > .sub-menu,
html:not(.fl-js) .fl-nav--desktop .menu-item:hover > .sub-menu,
html:not(.fl-js) .fl-nav--desktop .menu-item:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
	transition-delay: 0s;
}

/* Mega panel for long submenus (e.g. 14 products): centered under the header */
.fl-nav--desktop .fl-nav__menu > .fl-has-mega { position: static; }

.fl-nav--desktop .fl-has-mega > .sub-menu {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .125rem .5rem;
	width: min(720px, 92vw);
}

@media (min-width: 1280px) {
	.fl-nav--desktop .fl-has-mega > .sub-menu {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		width: min(940px, 92vw);
	}
}

.fl-nav--desktop .sub-menu .fl-nav__link {
	display: flex;
	flex-direction: column;
	gap: .125rem;
	padding: .65rem .875rem;
	border-radius: var(--fl-radius-sm);
	color: var(--fl-ink);
	text-decoration: none;
	transition: background-color .15s var(--fl-ease);
}

.fl-nav--desktop .sub-menu .fl-nav__link:hover,
.fl-nav--desktop .sub-menu .fl-nav__link[aria-current="page"] {
	background: var(--fl-surface);
}

.fl-nav__label {
	font-family: var(--fl-font-head);
	font-size: .9375rem;
	font-weight: 700;
	line-height: 1.3;
}

.fl-nav--desktop .sub-menu .fl-nav__link:hover .fl-nav__label,
.fl-nav--desktop .sub-menu [aria-current="page"] .fl-nav__label { color: var(--fl-brand); }

.fl-nav__desc {
	font-size: .8125rem;
	line-height: 1.4;
	color: var(--fl-muted);
}

.fl-nav__empty { margin: 0; font-size: .875rem; }

/* 7. Mobile drawer ======================================================== */

.fl-drawer {
	position: fixed;
	inset: 0;
	z-index: 10000;
}

.fl-drawer[hidden] { display: none; }

.fl-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(31, 36, 35, .55);
	opacity: 0;
	transition: opacity .25s var(--fl-ease);
}

.fl-drawer__panel {
	position: absolute;
	inset: 0 0 0 auto;
	display: flex;
	flex-direction: column;
	width: min(420px, 100%);
	background: #fff;
	box-shadow: var(--fl-shadow-lg);
	transform: translateX(100%);
	transition: transform .25s var(--fl-ease);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.fl-drawer.is-open .fl-drawer__backdrop { opacity: 1; }
.fl-drawer.is-open .fl-drawer__panel { transform: none; }

html.fl-drawer-open,
html.fl-drawer-open body { overflow: hidden; }

.fl-drawer__head {
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem var(--fl-gutter);
	background: #fff;
	border-bottom: 1px solid var(--fl-line);
}

.fl-drawer__head .fl-logo__img { width: 200px; }

.fl-nav--mobile { padding: .5rem var(--fl-gutter); }

.fl-nav--mobile .fl-nav__menu > .menu-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	border-bottom: 1px solid var(--fl-line);
}

.fl-nav--mobile .fl-nav__menu > .menu-item > .fl-nav__link {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 56px;
	padding: .75rem 0;
	border: 0;
	background: none;
	font-family: var(--fl-font-head);
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--fl-ink);
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.fl-nav--mobile .fl-nav__toggle:not(.fl-nav__toggle--label) {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 0;
	background: none;
	color: var(--fl-ink);
	cursor: pointer;
}

.fl-nav--mobile .fl-nav__toggle .fl-icon { transition: transform .2s var(--fl-ease); }
.fl-nav--mobile .menu-item.is-open > .fl-nav__toggle .fl-icon { transform: rotate(180deg); }
.fl-nav--mobile [aria-current="page"] { color: var(--fl-brand) !important; }

.fl-nav--mobile .sub-menu {
	display: none;
	flex-basis: 100%;
	padding: 0 0 .75rem;
}

.fl-nav--mobile .menu-item.is-open > .sub-menu { display: grid; gap: .125rem; }

.fl-nav--mobile .sub-menu .fl-nav__link {
	display: flex;
	flex-direction: column;
	padding: .6rem .875rem;
	border-radius: var(--fl-radius-sm);
	color: var(--fl-ink);
	text-decoration: none;
}

.fl-nav--mobile .sub-menu .fl-nav__link:hover { background: var(--fl-surface); }
.fl-nav--mobile .fl-nav__desc { display: none; }

.fl-drawer__foot {
	display: grid;
	gap: .875rem;
	margin-top: auto;
	padding: 1.5rem var(--fl-gutter) 2rem;
	background: var(--fl-surface);
}

.fl-drawer__contact {
	display: inline-flex;
	align-items: center;
	gap: .625rem;
	color: var(--fl-ink);
	font-weight: 600;
	text-decoration: none;
}

.fl-drawer__contact .fl-icon { color: var(--fl-brand); }
.fl-social--drawer a { color: var(--fl-dark); background: #fff; }

/* 8. Announcement bar ===================================================== */

.fl-announce {
	position: relative;
	background: linear-gradient(90deg, var(--fl-brand-50), var(--fl-surface));
	border-bottom: 1px solid var(--fl-line);
	font-size: .875rem;
	line-height: 1.45;
	color: var(--fl-text);
}

.fl-announce::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 4px;
	background: linear-gradient(var(--fl-brand), var(--fl-accent));
}

.fl-announce__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .5rem 1.5rem;
	padding-block: .7rem;
}

.fl-announce__text { margin: 0; }
.fl-announce__title { color: var(--fl-dark); font-weight: 800; margin-right: .35rem; }

.fl-announce__link {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	flex: none;
	font-weight: 700;
	color: var(--fl-brand);
	text-decoration: none;
	white-space: nowrap;
}

.fl-announce__link:hover { text-decoration: underline; }

@media (max-width: 767px) {
	.fl-announce__inner { flex-direction: column; align-items: flex-start; }
	.fl-announce__body { display: none; }
}

/* 9. Page hero (standard pages) =========================================== */

.fl-page-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(3rem, 7vw, 5.5rem);
	background: url("assets/img/brand-gradient.webp?v=1.4.0") center / cover no-repeat, var(--fl-grad-css), var(--fl-grad-base);
	color: var(--fl-on-dark);
}

.fl-page-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fl-page-hero.has-image::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(2, 28, 78, .92) 20%, rgba(2, 44, 123, .7) 60%, rgba(132, 64, 101, .55));
}

.fl-page-hero__title { margin: 0; color: #fff; max-width: 22ch; }
.fl-page-hero__subtitle { max-width: 62ch; margin: 1rem 0 0; font-size: 1.1875rem; color: var(--fl-on-dark); }

.fl-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin-bottom: 1rem;
	font-size: .875rem;
	color: var(--fl-on-dark-muted);
}

.fl-breadcrumb a { color: var(--fl-on-dark); }
.fl-breadcrumb a:hover { color: #fff; }

/* 10. GeneratePress content adjustments =================================== */

.frontline .site.grid-container { max-width: none; }

.frontline .site-content {
	max-width: calc(var(--fl-container) + 2 * var(--fl-gutter));
	margin-inline: auto;
	padding-inline: var(--fl-gutter);
}

.frontline.one-container .site-content { padding: 0 var(--fl-gutter); }
.frontline.one-container .container,
.frontline .inside-article { background: transparent; }

.frontline .inside-article { padding: var(--fl-section-y) 0; }

.frontline .entry-content > * + * { margin-top: 1.25em; }
.frontline .entry-content h2 { margin-top: 2em; }
.frontline .entry-content h3 { margin-top: 1.75em; }

/* Comfortable reading width for standard pages (wide/full blocks may break out). */
.frontline:not(.fl-landing) .entry-content > :not(.alignwide):not(.alignfull) {
	max-width: 820px;
	margin-inline: auto;
}

/* Landing template / front page: full-bleed canvas */
.fl-landing .site-content,
.fl-landing.one-container .site-content {
	display: block;
	max-width: none;
	padding: 0;
}

.fl-landing-main,
.fl-landing-article,
.fl-landing-content { width: 100%; margin: 0; }

.fl-landing .entry-content > * + * { margin-top: 0; }
.fl-landing .entry-content :is(h1, h2, h3) { margin-top: 0; }
.fl-landing .entry-content :is(h1, h2) + p:not(.fl-kicker) { margin-top: 1.125rem; }
.fl-landing .entry-content > .alignfull { margin-inline: 0; max-width: none; width: 100%; }

/* GP back-to-top button colors */
.generate-back-to-top {
	background: var(--fl-brand) !important;
	color: #fff !important;
	border-radius: 50% !important;
}

/* 11. Pattern sections ==================================================== */

/* Generic section wrapper (Group block with class fl-section) */
.fl-section {
	padding: var(--fl-section-y) var(--fl-gutter);
}

.fl-section--muted { background: var(--fl-surface); }

.fl-section--dark,
.is-style-brand-gradient {
	position: relative;
	isolation: isolate;
	overflow-x: clip;
	background: url("assets/img/brand-gradient.webp?v=1.4.0") center / cover no-repeat, var(--fl-grad-css), var(--fl-grad-base);
	color: var(--fl-on-dark);
}

.fl-section--dark h1,
.fl-section--dark h2,
.fl-section--dark h3,
.fl-section--dark h4,
.is-style-brand-gradient h1,
.is-style-brand-gradient h2,
.is-style-brand-gradient h3,
.is-style-brand-gradient h4 { color: #fff; }

.fl-section--dark a:not(.wp-block-button__link),
.is-style-brand-gradient a:not(.wp-block-button__link) { color: #fff; }

/* Centered section intro */
.fl-section__head {
	text-align: center;
	max-width: 760px;
	margin-inline: auto !important;
	margin-bottom: clamp(2rem, 5vw, 3.5rem) !important;
}

.fl-section__head > * { margin-inline: auto; }
.fl-section__head h2 { margin: 0; }
.fl-section__head p:not(.fl-kicker) { margin: 1rem auto 0; font-size: 1.125rem; max-width: 62ch; }
.fl-section__head .fl-kicker { justify-content: center; }

/* ---------- Home hero (Cover block .fl-hero) ---------- */

.wp-block-cover.fl-hero {
	min-height: min(88vh, 760px);
	padding: clamp(4rem, 9vw, 7rem) var(--fl-gutter) clamp(3rem, 6vw, 5rem);
	align-items: center;
	color: #fff;
}

/* The hero's own background image (set on the Cover block) shows through. The theme
   only adds a soft left-side scrim so the headline stays readable on any image.
   Without an image, the brand gradient fills the block. */
.wp-block-cover.fl-hero {
	background: url("assets/img/brand-gradient.webp?v=1.4.0") center / cover no-repeat, var(--fl-grad-css), var(--fl-grad-base);
}

.wp-block-cover.fl-hero .wp-block-cover__background {
	background: linear-gradient(90deg, rgba(2, 20, 64, .6) 0%, rgba(2, 20, 64, .25) 55%, rgba(2, 20, 64, 0) 100%) !important;
	opacity: 1 !important;
}

.fl-hero .wp-block-cover__inner-container { width: 100%; max-width: var(--fl-container); margin-inline: auto; }

/* Left-align hero content (constrained layout would otherwise center each child). */
.fl-hero .wp-block-cover__inner-container.is-layout-constrained > * {
	margin-left: 0 !important;
	margin-right: auto !important;
}

.fl-hero .fl-kicker { margin-bottom: 1.25rem; }

.fl-hero h1 {
	margin: 0;
	max-width: 17ch;
	color: #fff;
	font-weight: 900;
	font-size: clamp(2.5rem, 1.6rem + 3.8vw, 4.5rem);
	line-height: 1.04;
	letter-spacing: -.025em;
}

.fl-hero h1 strong,
.fl-hero h1 mark {
	background: none;
	color: var(--fl-accent);
	font-weight: inherit;
}

.fl-hero__lead {
	max-width: 56ch;
	margin: 1.25rem 0 0;
	font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
	color: var(--fl-on-dark);
}

.fl-hero .wp-block-buttons { margin-top: 2rem; gap: .75rem; }

/* Pillars row inside the hero */
.fl-pillars {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .75rem;
	margin-top: clamp(2.5rem, 6vw, 4rem) !important;
	max-width: 900px;
}

@media (min-width: 782px) {
	.fl-pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.fl-pillar {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin: 0 !important;
	padding: 1rem 1.125rem;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: var(--fl-radius);
	background: rgba(255, 255, 255, .06);
	backdrop-filter: blur(6px);
}

.fl-pillar .wp-block-image { margin: 0; flex: none; }
.fl-pillar .wp-block-image img { width: 36px; height: 36px; }

.fl-pillar h3,
.fl-pillar p {
	margin: 0;
	font-family: var(--fl-font-head);
	font-size: .9375rem;
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
}

/* ---------- Card grid (products, features) ---------- */

.fl-card-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr));
	gap: 1.25rem;
	max-width: var(--fl-container);
	margin-inline: auto !important;
}

.fl-card-grid > * { margin: 0 !important; }

/* Six-item grids (feature lists) read better as 3 + 3 than 4 + 2. */
.fl-card-grid:has(> :nth-child(6):last-child) {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}

.fl-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: .5rem;
	padding: 1.5rem;
	border: 1px solid var(--fl-line);
	border-radius: var(--fl-radius);
	background: #fff;
	box-shadow: var(--fl-shadow-sm);
	transition: transform .2s var(--fl-ease), box-shadow .2s var(--fl-ease), border-color .2s var(--fl-ease);
}

.fl-card > * { margin: 0 !important; }

.fl-card:has(a):hover {
	transform: translateY(-3px);
	box-shadow: var(--fl-shadow);
	border-color: rgba(0, 61, 167, .35);
}

.fl-card .wp-block-image,
.fl-card__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: .5rem !important;
	border-radius: 14px;
	background: var(--fl-brand-50);
}

.fl-card .wp-block-image img { width: 30px; height: 30px; }

.fl-card h3 { margin: 0; font-size: 1.125rem; }
.fl-card h3 a { color: var(--fl-ink); text-decoration: none; }
.fl-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--fl-radius); }
.fl-card:hover h3 a { color: var(--fl-brand); }
.fl-card p { font-size: .9688rem; line-height: 1.55; color: var(--fl-muted); }

.fl-card--feature .wp-block-image { background: #fdecea; }

.fl-section--muted .fl-card { box-shadow: none; }

/* Compact horizontal cards on phones */
@media (max-width: 599px) {
	.fl-card-grid { gap: .75rem; }
	.fl-card {
		display: grid;
		grid-template-columns: 48px 1fr;
		column-gap: 1rem;
		row-gap: .25rem;
		align-items: start;
		padding: 1.125rem;
	}
	.fl-card .wp-block-image,
	.fl-card__icon {
		grid-row: span 2;
		width: 48px;
		height: 48px;
		margin-bottom: 0 !important;
	}
	.fl-card .wp-block-image img { width: 26px; height: 26px; }
	.fl-card h3 { font-size: 1.0625rem; }
}

/* Link that follows a grid ("View all") */
.fl-section .wp-block-buttons.fl-center { justify-content: center; margin-top: 2.5rem; }

/* ---------- Values + stats (dark split section) ---------- */

.fl-split {
	max-width: var(--fl-container);
	margin-inline: auto !important;
	gap: clamp(2rem, 5vw, 4.5rem) !important;
	align-items: center !important;
}

.fl-split h2 { margin-top: 0; }
.fl-split--top { align-items: flex-start !important; } /* tall form beside short copy (Request a Quote) */

.fl-stats {
	display: grid !important;
	grid-template-columns: repeat(3, auto);
	justify-content: start;
	column-gap: clamp(1.5rem, 4vw, 3rem) !important;
	gap: 1rem;
	margin-top: 2rem !important;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, .14);
}

.fl-stat { margin: 0 !important; }
.fl-stat > * { margin: 0 !important; }

.fl-stat__num {
	font-family: var(--fl-font-head);
	font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
	white-space: nowrap;
	font-weight: 800;
	line-height: 1.05;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.fl-section:not(.fl-section--dark):not(.is-style-brand-gradient) .fl-stat__num { color: var(--fl-brand); }

.fl-stat__label {
	margin-top: .375rem !important;
	font-size: .875rem;
	color: var(--fl-on-dark-muted);
}

.fl-tiles {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.fl-tiles > * { margin: 0 !important; }

.fl-tile {
	position: relative;
	overflow: hidden;
	border-radius: var(--fl-radius);
	aspect-ratio: 1;
}

.fl-tile img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--fl-ease);
}

.fl-tile:hover img { transform: scale(1.04); }

.fl-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 40%, rgba(31, 36, 35, .85));
	pointer-events: none;
}

.fl-tile figcaption,
.fl-tile .wp-element-caption {
	position: absolute;
	inset: auto 0 0 0;
	z-index: 1;
	margin: 0 !important;
	padding: 1rem 1.125rem;
	font-family: var(--fl-font-head);
	font-size: clamp(1rem, .9rem + .5vw, 1.25rem);
	font-weight: 800;
	line-height: 1.2;
	color: #fff;
	text-align: left;
}

@media (min-width: 782px) {
	.fl-tiles > :nth-child(even) { transform: translateY(1.5rem); }
}

/* ---------- Team grid ---------- */

.fl-team-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
	gap: 1.5rem;
}

@media (max-width: 599px) {
	.fl-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem .875rem; }
	.fl-team-card h3 { font-size: 1rem; }
	.fl-team-card__role { font-size: .6875rem; }
	max-width: var(--fl-container);
	margin-inline: auto !important;
}

.fl-team-grid > * { margin: 0 !important; }

.fl-team-card { text-align: center; }
.fl-team-card > * { margin: 0 !important; }

.fl-team-card .wp-block-image {
	overflow: hidden;
	margin-bottom: 1rem !important;
	border-radius: var(--fl-radius);
	aspect-ratio: 4 / 5;
	background: var(--fl-surface);
}

.fl-team-card .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fl-team-card h3 { font-size: 1.125rem; }

.fl-team-card__role {
	margin-top: .25rem !important;
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--fl-brand);
}

/* ---------- Testimonial ---------- */

.wp-block-quote.fl-testimonial {
	position: relative;
	max-width: 880px;
	margin: 0 auto !important;
	padding: clamp(2rem, 5vw, 3.5rem);
	border: 0;
	border-radius: calc(var(--fl-radius) * 1.5);
	background: #fff;
	box-shadow: var(--fl-shadow);
	text-align: center;
}

.wp-block-quote.fl-testimonial::before {
	content: "\201C";
	display: block;
	margin-bottom: .25rem;
	font-family: Georgia, serif;
	font-size: 5rem;
	line-height: .8;
	color: var(--fl-accent);
}

.wp-block-quote.fl-testimonial p {
	margin: 0;
	font-family: var(--fl-font-head);
	font-size: clamp(1.25rem, 1.05rem + .9vw, 1.75rem);
	font-weight: 600;
	line-height: 1.4;
	color: var(--fl-ink);
}

.wp-block-quote.fl-testimonial cite {
	display: block;
	margin-top: 1.25rem;
	font-size: .9375rem;
	font-style: normal;
	color: var(--fl-muted);
}

/* ---------- Product page hero with form card ---------- */

.fl-product-hero {
	position: relative;
	isolation: isolate;
	padding: clamp(3.5rem, 8vw, 6rem) var(--fl-gutter);
	background: url("assets/img/brand-gradient.webp?v=1.4.0") center / cover no-repeat, var(--fl-grad-css), var(--fl-grad-base);
	color: var(--fl-on-dark);
}

.fl-product-hero h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(2.125rem, 1.6rem + 2.3vw, 3.25rem);
}

.fl-product-hero .fl-split > .wp-block-column:first-child > p:not(.fl-kicker) {
	font-size: 1.125rem;
	color: var(--fl-on-dark);
}

.fl-checklist,
ul.fl-checklist {
	display: grid;
	gap: .75rem;
	margin: 1.75rem 0 0 !important;
	padding: 0;
	list-style: none;
}

.fl-checklist li {
	position: relative;
	padding-left: 2.25rem;
	line-height: 1.5;
}

.fl-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .05em;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 70% no-repeat,
		var(--fl-accent);
}

.fl-product-hero .fl-checklist li { color: #fff; font-weight: 600; }

/* Contact details in a dark hero (Request a Quote) */
.fl-contact-list { margin-top: 2rem; display: grid; gap: 1rem; }
.fl-contact-list > * { margin: 0 !important; }
.fl-contact-list h2 { font-size: 1.375rem; color: #fff; }
.fl-product-hero .fl-contact-list p { font-size: 1rem; color: var(--fl-on-dark); }
.fl-contact-list strong { color: #fff; }
.fl-product-hero .fl-contact-list a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.fl-product-hero .fl-contact-list a:hover { text-decoration-thickness: 2px; }

.fl-form-card {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-radius: calc(var(--fl-radius) * 1.25);
	background: #fff;
	box-shadow: var(--fl-shadow-lg);
	color: var(--fl-text);
}

.fl-form-card > * + * { margin-top: 1rem !important; }
.fl-form-card h2 { margin: 0; font-size: 1.5rem; color: var(--fl-ink) !important; }

.fl-form-placeholder {
	display: grid;
	place-items: center;
	min-height: 320px;
	padding: 1.5rem;
	border: 2px dashed var(--fl-line);
	border-radius: var(--fl-radius-sm);
	background: var(--fl-surface);
	font-size: .9375rem;
	text-align: center;
	color: var(--fl-muted);
}

/* HubSpot embedded forms inside the card */
.fl-form-card .hs-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.fl-form-card .hs-form select,
.fl-form-card .hs-form textarea {
	width: 100% !important;
	min-height: 46px;
	padding: .625rem .875rem;
	border: 1px solid var(--fl-field);
	border-radius: var(--fl-radius-sm);
	font: inherit;
}

.fl-form-card .hs-form .hs-button {
	width: 100%;
	min-height: 50px;
	border: 0;
	border-radius: 999px;
	background: var(--fl-btn);
	color: #fff;
	font-family: var(--fl-font-head);
	font-weight: 700;
	cursor: pointer;
}

/* Product screenshot frame */
.fl-media-frame {
	overflow: hidden;
	margin: 0 !important;
	border: 1px solid var(--fl-line);
	border-radius: var(--fl-radius);
	background: #fff;
	box-shadow: var(--fl-shadow-lg);
}

.fl-media-frame img { display: block; width: 100%; }

/* Columns stack nicely on tablets */
@media (max-width: 781px) {
	.fl-split { flex-wrap: wrap !important; }
	.fl-split > .wp-block-column { flex-basis: 100% !important; }
}

@media (max-width: 479px) {
	.fl-pillars { grid-template-columns: 1fr; }
}

/* ---------- HubSpot demo form block ---------- */

.fl-hsform { margin: 0; }

.fl-hsform__target { min-height: 520px; } /* reserve space so the page doesn't jump while the form loads */
.fl-hsform__target:not([aria-busy]) { min-height: 0; }

.fl-hsform__loading {
	display: grid;
	place-items: center;
	min-height: 520px;
	margin: 0;
	border-radius: var(--fl-radius-sm);
	background: linear-gradient(90deg, var(--fl-surface) 0%, #fff 50%, var(--fl-surface) 100%) 0 0 / 200% 100%;
	animation: fl-shimmer 1.4s linear infinite;
	font-size: .9375rem;
	color: var(--fl-muted);
}

.fl-hsform__loading.is-error {
	min-height: 0;
	padding: 1.25rem;
	animation: none;
	background: var(--fl-brand-50);
	color: var(--fl-ink);
}

@keyframes fl-shimmer { to { background-position: -200% 0; } }

.fl-hsform__notice {
	margin: 1rem 0 0;
	padding: .75rem 1rem;
	border-left: 4px solid #b26a00;
	border-radius: var(--fl-radius-sm);
	background: #fff7e6;
	font-size: .875rem;
	color: #5c3b00;
}

/* HubSpot v2 form internals (stacked layout) */
.fl-form-card .hs-form fieldset { max-width: none !important; margin: 0; padding: 0; border: 0; min-width: 0; }
.fl-form-card .hs-form .hs-form-field { margin-bottom: .875rem; }
.fl-form-card .hs-form .form-columns-2 { display: flex; gap: .75rem; }
.fl-form-card .hs-form .form-columns-2 > .hs-form-field { flex: 1 1 0; width: auto !important; float: none !important; }
.fl-form-card .hs-form .form-columns-2 .input { margin-right: 0 !important; }
.fl-form-card .hs-form label:not(.hs-form-booleancheckbox-display) {
	display: block;
	margin-bottom: .3rem;
	font-family: var(--fl-font-head);
	font-size: .8125rem;
	font-weight: 700;
	color: var(--fl-ink);
}
.fl-form-card .hs-form .hs-form-required { color: #b3261e; }
.fl-form-card .hs-form input:focus-visible,
.fl-form-card .hs-form select:focus-visible,
.fl-form-card .hs-form textarea:focus-visible {
	outline: 3px solid rgba(0, 61, 167, .35);
	outline-offset: 1px;
	border-color: var(--fl-brand);
}
.fl-form-card .hs-form .hs-error-msgs { margin: .3rem 0 0; padding: 0; list-style: none; }
.fl-form-card .hs-form .hs-error-msg { font-size: .8125rem; color: #b3261e; }
.fl-form-card .hs-form .legal-consent-container,
.fl-form-card .hs-form .hs-richtext { font-size: .8125rem; line-height: 1.5; color: var(--fl-muted); }
.fl-form-card .hs-form .hs-button:hover { background: var(--fl-btn-hover); }
.fl-form-card .submitted-message { padding: 1rem 0; font-size: 1.0625rem; color: var(--fl-ink); }

@media (max-width: 479px) {
	.fl-form-card .hs-form .form-columns-2 { flex-direction: column; gap: 0; }
}

/* In-page jump target (#request-demo): clear the sticky header */
.fl-form-card[id] { scroll-margin-top: calc(var(--fl-header-h) + 1rem); }

/* Editor card for the form block */
.fl-hsform--editor .fl-hsform__editor-card {
	display: grid;
	gap: 1rem;
	padding: 1.25rem;
	border: 2px dashed var(--fl-line);
	border-radius: var(--fl-radius-sm);
	background: var(--fl-surface);
	font-family: var(--fl-font-body);
}
.fl-hsform--editor .fl-hsform__editor-title { margin: 0; font-family: var(--fl-font-head); font-weight: 800; color: var(--fl-ink); }
.fl-hsform--editor .fl-hsform__editor-help { margin: 0; font-size: .875rem; color: var(--fl-muted); }

/* ---------- Customer logo strip ---------- */

.fl-logo-strip {
	padding: clamp(2rem, 4vw, 2.75rem) var(--fl-gutter);
	border-bottom: 1px solid var(--fl-line);
	background: #fff;
}

.fl-logo-strip__label {
	margin: 0 auto 1.25rem !important;
	font-family: var(--fl-font-head);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-align: center;
	text-transform: uppercase;
	color: var(--fl-muted);
}

.fl-logos {
	gap: clamp(1.5rem, 5vw, 4rem) !important;
	align-items: center !important;
}

.fl-logos > * { margin: 0 !important; }

/* Customer logos (product pages): gray by default, color on hover.
   Scoped to .fl-logos so it doesn't touch the site logo, which also uses .fl-logo. */
.fl-logos .fl-logo img {
	display: block;
	width: auto !important;
	max-width: 160px;
	height: clamp(56px, 7vw, 76px);
	object-fit: contain;
	filter: grayscale(1);
	opacity: .8;
	transition: filter .25s var(--fl-ease), opacity .25s var(--fl-ease);
}

.fl-logos .fl-logo:hover img { filter: none; opacity: 1; }

/* Site logo (header, mobile menu, footer): color by default, grayscale on hover/focus. */
a.fl-logo .fl-logo__img {
	filter: none;
	transition: filter .25s var(--fl-ease);
}

a.fl-logo:hover .fl-logo__img,
a.fl-logo:focus-visible .fl-logo__img {
	filter: grayscale(1);
}

/* ---------- Benefits rows (feature list + screenshot) ---------- */

.fl-benefit-row + .fl-benefit-row { margin-top: clamp(3rem, 7vw, 5rem) !important; }

.fl-feature-list,
ul.fl-feature-list {
	display: grid;
	gap: 1.5rem;
	margin: 0 !important;
	padding: 0;
	list-style: none;
}

.fl-feature-list li {
	position: relative;
	padding-left: 3.25rem;
	line-height: 1.6;
}

.fl-feature-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .1rem;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 10px;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003da7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 55% no-repeat,
		var(--fl-brand-50);
}

.fl-feature-list li strong {
	display: block;
	margin-bottom: .2rem;
	font-family: var(--fl-font-head);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--fl-ink);
}

/* Media-first rows put the screenshot second on phones so text leads. */
@media (max-width: 781px) {
	.fl-benefit-row--media-first > .wp-block-column:first-child { order: 2; }
}

/* ---------- Stats band ---------- */

.fl-stat-band {
	padding: clamp(2.5rem, 6vw, 4rem) var(--fl-gutter);
}

.fl-stats.fl-stats--band {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	justify-content: stretch;
	max-width: 960px;
	margin: 0 auto !important;
	padding: 0;
	border: 0;
	text-align: center;
}

.fl-stats--band .fl-stat + .fl-stat { border-left: 1px solid rgba(255, 255, 255, .14); }
.fl-stats--band .fl-stat__num { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.fl-stats--band .fl-stat__label { font-size: .9375rem; }

@media (max-width: 599px) {
	.fl-stats.fl-stats--band { grid-template-columns: 1fr; row-gap: 1.5rem; }
	.fl-stats--band .fl-stat + .fl-stat { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 1.5rem; }
}

/* 11b. Product submenu + module pages ===================================== */
/* Products with module sub-pages (Community Policing Connect, Professional
   Standards). Data comes from the "Product submenu:" menus; see
   inc/product-submenu.php. Icons are inline SVG in currentColor. */

.fl-micon { flex: none; display: block; }

/* ---------- Module cards (overview page) ---------- */

.fl-modules {
	display: grid;
	gap: clamp(2rem, 4vw, 3rem);
	max-width: var(--fl-container);
	margin: clamp(2rem, 4vw, 3rem) auto 0 !important;
}

.fl-modules__group-title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem;
	margin: 0 0 1.25rem !important;
	font-size: 1.25rem;
}

.fl-modules__count {
	padding: .2rem .65rem;
	border-radius: 999px;
	background: var(--fl-brand-50);
	font-family: var(--fl-font-body);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--fl-brand-600);
}

.fl-section--muted .fl-modules__count { background: #fff; }

.fl-modules__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fl-module-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: .375rem;
	margin: 0;
	padding: 1.375rem 1.375rem 1.25rem;
	border: 1px solid var(--fl-line);
	border-radius: var(--fl-radius);
	background: #fff;
	transition: transform .2s var(--fl-ease), box-shadow .2s var(--fl-ease), border-color .2s var(--fl-ease);
}

.fl-module-card:hover,
.fl-module-card:focus-within {
	transform: translateY(-3px);
	border-color: rgba(0, 61, 167, .4);
	box-shadow: var(--fl-shadow);
}

.fl-module-card__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: .5rem;
	border-radius: 14px;
	background: var(--fl-brand-50);
	color: var(--fl-brand);
	transition: background-color .2s var(--fl-ease), color .2s var(--fl-ease);
}

.fl-module-card:hover .fl-module-card__icon,
.fl-module-card:focus-within .fl-module-card__icon { background: var(--fl-brand); color: #fff; }

.fl-module-card__title {
	margin: 0 !important;
	padding-right: 1.75rem;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
}

.fl-module-card__title a { color: var(--fl-ink); text-decoration: none; }
.fl-module-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--fl-radius); }
.fl-module-card__title a:focus-visible { outline: none; }
.fl-module-card:has(a:focus-visible) { outline: 3px solid var(--fl-brand); outline-offset: 2px; }
.fl-module-card:hover .fl-module-card__title a { color: var(--fl-brand-600); }

.fl-module-card__desc {
	margin: 0 !important;
	font-size: .9375rem;
	line-height: 1.55;
	color: var(--fl-muted);
}

.fl-module-card__arrow {
	position: absolute;
	top: 1.5rem;
	right: 1.25rem;
	color: var(--fl-brand);
	opacity: .35;
	transition: opacity .2s var(--fl-ease), transform .2s var(--fl-ease);
}

.fl-module-card:hover .fl-module-card__arrow,
.fl-module-card:focus-within .fl-module-card__arrow { opacity: 1; transform: translateX(3px); }

/* Phones: compact rows, icon on the left */
@media (max-width: 599px) {
	.fl-modules__grid { gap: .625rem; }
	.fl-module-card {
		display: grid;
		grid-template-columns: 44px 1fr;
		column-gap: .875rem;
		row-gap: .125rem;
		align-items: start;
		padding: 1rem 2.75rem 1rem 1rem;
	}
	.fl-module-card__icon { grid-row: span 2; width: 44px; height: 44px; margin: 0; border-radius: 12px; }
	.fl-module-card__icon .fl-micon { width: 24px; height: 24px; }
	.fl-module-card__title { padding-right: 0; font-size: 1rem; }
	.fl-module-card__desc { font-size: .875rem; }
	.fl-module-card__arrow { top: 50%; right: 1rem; margin-top: -9px; opacity: .6; }
	.fl-module-card:hover { transform: none; }
}

/* ---------- Module page layout ---------- */

.fl-module-page .site-content { display: block; }

.fl-module-main { width: 100%; }

.fl-module-layout {
	display: grid;
	gap: 1.5rem;
	padding-block: clamp(1.5rem, 4vw, 3.5rem) var(--fl-section-y);
}

.fl-module-layout__aside,
.fl-module-layout__main { min-width: 0; }

@media (min-width: 1024px) {
	.fl-module-layout {
		grid-template-columns: 17.5rem minmax(0, 1fr);
		gap: clamp(2.5rem, 4vw, 4.5rem);
		align-items: start;
	}
	.fl-module-layout--single { grid-template-columns: minmax(0, 1fr); }
	.fl-module-layout__aside {
		position: sticky;
		top: calc(var(--fl-header-h) + 1.5rem);
		max-height: calc(100vh - var(--fl-header-h) - 3rem);
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: thin;
	}
	.admin-bar .fl-module-layout__aside { top: calc(var(--fl-header-h) + 32px + 1.5rem); }
}

/* Content column: left-aligned, no narrow reading column */
.fl-module-page .fl-module-content > * {
	max-width: none !important;
	margin-inline: 0 !important;
}

.fl-module-content > :first-child { margin-top: 0 !important; }

.fl-msection + .fl-msection,
.fl-module-content > * + .fl-form-card--module { margin-top: clamp(2.75rem, 5vw, 4rem) !important; }

.fl-msection h2 { margin: 0 0 1rem !important; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); }
.fl-msection h3 { margin: 0 0 .75rem !important; }
.fl-msection > * + * { margin-top: 1.25rem; }
.fl-msection .fl-media-frame { margin-top: 1.75rem !important; }

.fl-checklist--cols { margin-top: 1.25rem !important; }

@media (min-width: 640px) {
	.fl-checklist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
}

.fl-split--module { align-items: center !important; gap: clamp(1.5rem, 3vw, 2.5rem) !important; }
.fl-split--module > .wp-block-column { flex: 1 1 0 !important; min-width: 0; }
.fl-split--module .fl-media-frame { margin-top: 0 !important; }

.fl-form-card--module {
	border: 1px solid var(--fl-line);
	box-shadow: var(--fl-shadow);
}

.fl-form-card--module p { color: var(--fl-text); }

.fl-page-hero__actions { margin: 1.75rem 0 0; }

/* ---------- Product submenu (sidebar / disclosure) ---------- */

.fl-subnav { font-size: .9375rem; }

.fl-subnav__toggle { display: none; }

.fl-subnav__panel {
	display: grid;
	gap: .125rem;
}

.fl-subnav__overview,
.fl-subnav__link {
	display: flex;
	align-items: center;
	gap: .75rem;
	min-height: 44px;
	padding: .5rem .75rem;
	border-radius: 10px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--fl-ink);
	text-decoration: none;
	transition: background-color .15s var(--fl-ease), color .15s var(--fl-ease);
}

.fl-subnav__overview .fl-micon,
.fl-subnav__link .fl-micon { color: var(--fl-brand); }

.fl-subnav__overview {
	margin-bottom: .5rem;
	padding-block: .75rem;
	border: 1px solid var(--fl-line);
	font-family: var(--fl-font-head);
	font-weight: 700;
}

.fl-subnav__overview:hover,
.fl-subnav__link:hover { background: var(--fl-brand-50); color: var(--fl-brand-600); }

.fl-subnav [aria-current="page"] {
	background: var(--fl-brand);
	color: #fff;
}

.fl-subnav [aria-current="page"] .fl-micon { color: #fff; }
.fl-subnav [aria-current="page"]:hover { background: var(--fl-brand-600); color: #fff; }

.fl-subnav__group {
	margin: 1rem 0 .25rem !important;
	padding: 0 .75rem;
	font-family: var(--fl-font-head);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--fl-muted);
}

.fl-subnav__list {
	display: grid;
	gap: .125rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fl-subnav__list li { margin: 0; }

/* Phones + tablets: a button that shows the current module and opens the list */
@media (max-width: 1023px) {
	.fl-subnav.is-enhanced .fl-subnav__toggle {
		display: flex;
		align-items: center;
		gap: .875rem;
		width: 100%;
		min-height: 64px;
		padding: .625rem 1rem .625rem .625rem;
		border: 1px solid var(--fl-line);
		border-radius: var(--fl-radius);
		background: #fff;
		box-shadow: var(--fl-shadow-sm);
		font: inherit;
		text-align: left;
		color: var(--fl-ink);
		cursor: pointer;
	}

	.fl-subnav.is-enhanced .fl-subnav__toggle:hover { border-color: rgba(0, 61, 167, .4); }

	.fl-subnav__toggle-icon {
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		border-radius: 12px;
		background: var(--fl-brand);
		color: #fff;
		flex: none;
	}

	.fl-subnav__toggle-text { display: grid; min-width: 0; }

	.fl-subnav__toggle-kicker {
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		font-size: .75rem;
		font-weight: 700;
		letter-spacing: .04em;
		text-transform: uppercase;
		color: var(--fl-muted);
	}

	.fl-subnav__toggle-current {
		overflow: hidden;
		font-family: var(--fl-font-head);
		font-size: 1rem;
		font-weight: 700;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.fl-subnav__toggle .fl-icon--chevron {
		margin-left: auto;
		color: var(--fl-brand);
		transition: transform .2s var(--fl-ease);
	}

	.fl-subnav.is-open .fl-subnav__toggle .fl-icon--chevron { transform: rotate(180deg); }

	.fl-subnav.is-enhanced .fl-subnav__panel {
		margin-top: .5rem;
		padding: .5rem;
		border: 1px solid var(--fl-line);
		border-radius: var(--fl-radius);
		background: #fff;
		box-shadow: var(--fl-shadow);
	}

	.fl-subnav.is-enhanced:not(.is-open) .fl-subnav__panel { display: none; }

	/* Two columns of links on tablets */
	@media (min-width: 600px) {
		.fl-subnav__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: .25rem; }
	}
}

/* ---------- Previous / next ---------- */

.fl-pager {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding-top: clamp(1.5rem, 3vw, 2rem);
	border-top: 1px solid var(--fl-line);
}

.fl-pager__link {
	display: grid;
	gap: .2rem;
	padding: 1rem 1.25rem;
	border: 1px solid var(--fl-line);
	border-radius: var(--fl-radius);
	text-decoration: none;
	transition: border-color .2s var(--fl-ease), box-shadow .2s var(--fl-ease);
}

.fl-pager__link:hover { border-color: rgba(0, 61, 167, .4); box-shadow: var(--fl-shadow-sm); }
.fl-pager__link--next { text-align: right; }

.fl-pager__dir { font-size: .8125rem; font-weight: 700; color: var(--fl-muted); }
.fl-pager__link--prev .fl-pager__dir::before { content: "← "; }
.fl-pager__link--next .fl-pager__dir::after { content: " →"; }
.fl-pager__title { font-family: var(--fl-font-head); font-weight: 700; color: var(--fl-ink); }
.fl-pager__link:hover .fl-pager__title { color: var(--fl-brand-600); }

@media (max-width: 479px) {
	.fl-pager { grid-template-columns: 1fr; }
	.fl-pager__spacer { display: none; }
	.fl-pager__link--next { text-align: left; }
}

/* ---------- Buttons on brand-gradient backgrounds ----------
   Smalt buttons disappear on the blue gradient, so primary buttons invert to
   white with Smalt text there (Smalt on white is 9.44:1). */
.fl-hero .wp-block-button:not(.is-style-outline) > .wp-block-button__link,
.fl-section--dark .wp-block-button:not(.is-style-outline) > .wp-block-button__link,
.is-style-brand-gradient .wp-block-button:not(.is-style-outline) > .wp-block-button__link,
.fl-product-hero .wp-block-button:not(.is-style-outline) > .wp-block-button__link,
.fl-page-hero .fl-btn,
.fl-cta-band .fl-btn {
	background: #fff;
	color: var(--fl-brand);
}

.fl-hero .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover,
.fl-section--dark .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover,
.is-style-brand-gradient .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover,
.fl-product-hero .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover,
.fl-page-hero .fl-btn:hover,
.fl-cta-band .fl-btn:hover {
	background: var(--fl-brand-50);
	color: var(--fl-brand-600);
	box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5);
}

/* White cards inside a gradient section keep the normal Smalt button. */
.fl-form-card .wp-block-button:not(.is-style-outline) > .wp-block-button__link {
	background: var(--fl-btn);
	color: #fff;
}

/* ---------- "Map" image style (Technology Index) ----------
   For transparent artwork such as the US agency map: no frame, larger than its
   column on desktop, bleeding toward the right edge of the section. */
.wp-block-image.is-style-map {
	margin: 0 !important;
}

.wp-block-image.is-style-map img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0;
	box-shadow: none;
}

@media (min-width: 782px) {
	.wp-block-image.is-style-map {
		width: 118%;
		max-width: none;
		margin-right: -18% !important;
	}
	.fl-split:has(.is-style-map) { align-items: center !important; }
}

/* 12. CTA band ============================================================ */

.fl-cta-band {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(4rem, 9vw, 6.5rem);
	text-align: center;
	color: #fff;
	background: url("assets/img/brand-gradient.webp?v=1.4.0") center / cover no-repeat, var(--fl-grad-css), var(--fl-grad-base);
}

.fl-cta-band__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fl-cta-band::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(110deg, rgba(2, 28, 78, .9), rgba(2, 44, 123, .72) 60%, rgba(132, 64, 101, .6));
}

/* No custom image chosen: the brand gradient on its own, no overlay. */
.fl-cta-band--gradient::after { display: none; }

.fl-cta-band__inner { display: flex; flex-direction: column; align-items: center; }
.fl-cta-band .fl-kicker { justify-content: center; }

.fl-cta-band__title {
	margin: 0 0 2rem;
	color: #fff;
	font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
	font-weight: 900;
}

/* 13. Footer ============================================================== */

.site-footer { background: var(--fl-dark-900); }

.fl-footer {
	background: var(--fl-dark);
	color: var(--fl-on-dark-muted);
	font-size: .9375rem;
	line-height: 1.65;
}

.fl-footer__grid {
	display: grid;
	gap: 2.5rem;
	padding-block: clamp(3rem, 7vw, 5rem);
}

@media (min-width: 700px) {
	.fl-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
	.fl-footer__grid { grid-template-columns: 1.35fr .8fr 1.25fr 1fr; gap: 3rem; }
}

.fl-footer .fl-logo__img { width: 230px; margin-bottom: 1.25rem; }
.fl-footer p { margin: 0 0 1rem; }

.fl-footer__heading {
	position: relative;
	margin: 0 0 1.25rem;
	padding-bottom: .75rem;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .02em;
	color: #fff;
}

.fl-footer__heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 2rem;
	height: 3px;
	border-radius: 3px;
	background: var(--fl-accent);
}

.fl-footer a { color: var(--fl-on-dark); text-decoration: none; }
.fl-footer a:hover { color: #fff; text-decoration: underline; }

.fl-footer__more {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-weight: 700;
	color: #fff !important;
}

.fl-footer__links,
.fl-footer__contact,
.fl-footer__legal {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fl-footer__links li { margin: 0 0 .5rem; }
.fl-footer__links a { display: inline-block; padding-block: .125rem; }

@media (min-width: 480px) {
	.fl-footer__links--cols { columns: 2; column-gap: 1.5rem; }
	.fl-footer__links--cols li { break-inside: avoid; }
}

.fl-footer__contact li {
	display: flex;
	gap: .75rem;
	margin-bottom: 1rem;
}

.fl-footer__contact .fl-icon { margin-top: .2rem; color: var(--fl-accent); }
.fl-footer__contact address { font-style: normal; }

.fl-social--footer { margin-top: .5rem; }
.fl-social--footer a { background: rgba(255, 255, 255, .08); color: #fff; width: 40px; height: 40px; }
.fl-social--footer a:hover { background: var(--fl-btn); text-decoration: none; }

.fl-footer__bar {
	border-top: 1px solid rgba(255, 255, 255, .1);
	background: var(--fl-dark-900);
	font-size: .8125rem;
}

.fl-footer__bar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .75rem 1.5rem;
	padding-block: 1.25rem;
}

.fl-footer__copy { margin: 0 !important; }
.fl-footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* 14. Block editor ======================================================== */

.editor-styles-wrapper {
	font-family: var(--fl-font-body);
	color: var(--fl-text);
}

.editor-styles-wrapper .fl-card h3 a::after { display: none; }

/* Keep pattern sections full width in the editor canvas */
.editor-styles-wrapper .is-root-container > .fl-section,
.editor-styles-wrapper .is-root-container > .fl-product-hero,
.editor-styles-wrapper .is-root-container > .fl-hero,
.editor-styles-wrapper .is-root-container > .fl-logo-strip,
.editor-styles-wrapper .is-root-container > .fl-stat-band { margin-block: 0; }

/* 15. Motion + print ====================================================== */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
	.fl-tiles > :nth-child(even) { transform: none; }
	.fl-hsform__loading { animation: none; }
	.fl-module-card:hover,
	.fl-module-card:focus-within { transform: none; }
}

@media print {
	.fl-topbar,
	.fl-header,
	.fl-announce,
	.fl-cta-band,
	.fl-footer .fl-social,
	.generate-back-to-top { display: none !important; }
}
