/*
Theme Name: BFC Cashflow
Theme URI: https://bfcteam.com/
Description: A custom Genesis child theme for BFC Team, designed around financial clarity, profitability, and outsourced CFO services.
Author: BFC Team
Author URI: https://bfcteam.com/
Version: 1.0.0
Template: genesis
Text Domain: bfc-cashflow
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */

:root {
	--bfc-navy: #071a3a;
	--bfc-navy-2: #0d274f;
	--bfc-ink: #0b172a;
	--bfc-muted: #63708a;

	--bfc-blue: #1264c3;
	--bfc-green: #35a34a;
	--bfc-orange: #f68a1f;
	--bfc-purple: #7842a5;
	--bfc-red: #eb4638;
	--bfc-gold: #f3bc27;

	--bfc-cream: #f7f1e7;
	--bfc-cream-2: #f1e9dc;
	--bfc-paper: #ffffff;
	--bfc-line: #dfe4ec;

	--bfc-radius-sm: 10px;
	--bfc-radius: 18px;
	--bfc-radius-lg: 28px;

	--bfc-shadow:
		0 18px 45px rgba(7, 26, 58, 0.09),
		0 3px 10px rgba(7, 26, 58, 0.05);

	--bfc-shadow-hover:
		0 24px 55px rgba(7, 26, 58, 0.14),
		0 5px 14px rgba(7, 26, 58, 0.06);

	--bfc-site-width: 1180px;
	--bfc-content-width: 780px;

	--bfc-body-font:
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		Roboto,
		Helvetica,
		Arial,
		sans-serif;

	--bfc-heading-font:
		Georgia,
		"Times New Roman",
		serif;
}


/* ==========================================================================
   Reset / fundamentals
   ========================================================================== */

html {
	box-sizing: border-box;
	font-size: 100%;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	margin: 0;
	background: var(--bfc-cream);
	color: var(--bfc-ink);
	font-family: var(--bfc-body-font);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
picture,
svg,
video,
iframe {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

figure {
	margin: 0;
}

iframe {
	width: 100%;
	border: 0;
}

button,
input,
select,
textarea {
	font: inherit;
}

a {
	color: var(--bfc-blue);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
	transition:
		color 180ms ease,
		background-color 180ms ease,
		border-color 180ms ease;
}

a:hover,
a:focus-visible {
	color: var(--bfc-navy);
}

:focus-visible {
	outline: 3px solid var(--bfc-gold);
	outline-offset: 3px;
}

p,
ul,
ol,
blockquote,
table {
	margin-top: 0;
	margin-bottom: 1.5em;
}

ul,
ol {
	padding-left: 1.3em;
}

li + li {
	margin-top: 0.4em;
}

hr {
	border: 0;
	border-top: 1px solid var(--bfc-line);
	margin: 3rem auto;
}

strong,
b {
	font-weight: 700;
}

blockquote {
	border-left: 5px solid var(--bfc-blue);
	color: var(--bfc-navy);
	font-family: var(--bfc-heading-font);
	font-size: clamp(1.25rem, 2vw, 1.75rem);
	line-height: 1.45;
	margin-left: 0;
	padding-left: 1.4rem;
}


/* ==========================================================================
   Typography
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--bfc-navy);
	font-family: var(--bfc-heading-font);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.08;
	margin: 0 0 0.6em;
}

h1 {
	font-size: clamp(2.75rem, 6vw, 5rem);
}

h2 {
	font-size: clamp(2.15rem, 4.5vw, 3.75rem);
}

h3 {
	font-size: clamp(1.55rem, 2.7vw, 2.2rem);
}

h4 {
	font-size: 1.35rem;
}

h5 {
	font-size: 1.1rem;
}

h6 {
	font-family: var(--bfc-body-font);
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content > blockquote {
	max-width: var(--bfc-content-width);
}


/* ==========================================================================
   Accessibility
   ========================================================================== */

.screen-reader-text,
.screen-reader-shortcut {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus,
.screen-reader-shortcut:focus {
	position: fixed !important;
	top: 10px;
	left: 10px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 18px;
	margin: 0;
	clip: auto;
	background: #fff;
	color: var(--bfc-navy);
	box-shadow: var(--bfc-shadow);
	font-weight: 700;
}


/* ==========================================================================
   General Genesis layout
   ========================================================================== */

.site-container {
	min-height: 100vh;
	overflow: hidden;
}

.wrap {
	width: 100%;
	max-width: var(--bfc-site-width);
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

.site-inner {
	width: 100%;
	max-width: var(--bfc-site-width);
	margin: 0 auto;
	padding: clamp(48px, 7vw, 88px) 24px;
}

.content {
	width: 100%;
}

.full-width-content .content {
	float: none;
	width: 100%;
}

.content-sidebar .content {
	float: left;
	width: 68%;
}

.content-sidebar .sidebar {
	float: right;
	width: 27%;
}

.sidebar-content .content {
	float: right;
	width: 68%;
}

.sidebar-content .sidebar {
	float: left;
	width: 27%;
}

.site-inner::after,
.entry::after,
.wrap::after {
	display: table;
	clear: both;
	content: "";
}


/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid rgba(7, 26, 58, 0.08);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.admin-bar .site-header {
	top: 32px;
}

.site-header .wrap {
	display: flex;
	align-items: center;
	gap: 34px;
	min-height: 88px;
}

.title-area {
	flex: 0 1 auto;
	margin-right: auto;
}

.site-title {
	margin: 0;
	font-family: var(--bfc-heading-font);
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 1;
}

.site-title a {
	color: var(--bfc-navy);
	text-decoration: none;
}

.site-description {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.custom-logo {
	width: auto;
	max-width: min(330px, 48vw);
	max-height: 58px;
}


/* ==========================================================================
   Navigation
   ========================================================================== */

.nav-primary {
	flex: 0 1 auto;
}

.genesis-nav-menu {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.genesis-nav-menu .menu-item {
	position: relative;
	margin: 0;
}

.genesis-nav-menu a {
	display: block;
	padding: 12px 14px;
	color: var(--bfc-navy);
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
}

.genesis-nav-menu a:hover,
.genesis-nav-menu a:focus,
.genesis-nav-menu .current-menu-item > a,
.genesis-nav-menu .current-menu-ancestor > a {
	color: var(--bfc-blue);
}

.nav-primary .bfc-menu-cta > a {
	margin-left: 8px;
	padding: 11px 20px;
	background: var(--bfc-blue);
	border: 2px solid var(--bfc-blue);
	border-radius: 999px;
	color: #fff;
}

.nav-primary .bfc-menu-cta > a:hover,
.nav-primary .bfc-menu-cta > a:focus {
	background: var(--bfc-navy);
	border-color: var(--bfc-navy);
	color: #fff;
}

.genesis-nav-menu .sub-menu {
	position: absolute;
	top: calc(100% + 2px);
	left: -14px;
	z-index: 100;
	display: block;
	min-width: 230px;
	margin: 0;
	padding: 10px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--bfc-line);
	border-radius: 14px;
	box-shadow: var(--bfc-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition:
		opacity 160ms ease,
		transform 160ms ease,
		visibility 160ms ease;
}

.genesis-nav-menu .menu-item:hover > .sub-menu,
.genesis-nav-menu .menu-item:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.genesis-nav-menu .sub-menu a {
	padding: 10px 12px;
	border-radius: 8px;
	white-space: nowrap;
}

.genesis-nav-menu .sub-menu a:hover {
	background: var(--bfc-cream);
}

.menu-toggle,
.sub-menu-toggle {
	display: none;
}


/* ==========================================================================
   Entries / standard content
   ========================================================================== */

.entry,
.archive-description,
.author-box,
.after-entry {
	margin-bottom: 32px;
	padding: clamp(28px, 5vw, 56px);
	background: #fff;
	border: 1px solid rgba(7, 26, 58, 0.07);
	border-radius: var(--bfc-radius);
	box-shadow: 0 8px 30px rgba(7, 26, 58, 0.05);
}

.entry-title {
	font-size: clamp(2.2rem, 4.5vw, 3.65rem);
}

.entry-title a {
	color: var(--bfc-navy);
	text-decoration: none;
}

.entry-title a:hover {
	color: var(--bfc-blue);
}

.entry-meta {
	margin: -0.2rem 0 1.8rem;
	color: var(--bfc-muted);
	font-size: 0.88rem;
}

.entry-footer .entry-meta {
	margin: 2rem 0 0;
	padding-top: 1rem;
	border-top: 1px solid var(--bfc-line);
}

.entry-content::after {
	display: table;
	clear: both;
	content: "";
}

.entry-content img {
	border-radius: var(--bfc-radius-sm);
}

.entry-content .wp-block-image img {
	border-radius: var(--bfc-radius);
}

.more-link {
	display: inline-block;
	margin-top: 0.6rem;
	font-weight: 700;
}


/* ==========================================================================
   Front page
   ========================================================================== */

.home.page .site-inner {
	max-width: none;
	padding: 0;
}

.home.page .content {
	float: none;
	width: 100%;
}

.home.page .entry {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.home.page .entry-header {
	display: none;
}

.home.page .entry-content {
	margin: 0;
}

.home.page .entry-content > * {
	margin-top: 0;
}


/* ==========================================================================
   WordPress blocks
   ========================================================================== */

.alignwide {
	width: min(1120px, 100%);
	max-width: 1120px;
	margin-left: auto;
	margin-right: auto;
}

.entry-content > .alignfull {
	position: relative;
	left: 50%;
	width: 100vw;
	max-width: 100vw;
	margin-left: -50vw;
	margin-right: -50vw;
}

.wp-block-columns {
	gap: clamp(24px, 4vw, 48px);
}

.wp-block-button__link,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 13px 24px;
	background: var(--bfc-blue);
	border: 2px solid var(--bfc-blue);
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	font-family: var(--bfc-body-font);
	font-size: 0.93rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	transition:
		transform 180ms ease,
		background-color 180ms ease,
		border-color 180ms ease,
		box-shadow 180ms ease;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus,
.button:hover,
.button:focus,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: var(--bfc-navy);
	border-color: var(--bfc-navy);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(7, 26, 58, 0.13);
}

.is-style-outline > .wp-block-button__link {
	background: transparent;
	border-color: var(--bfc-navy);
	color: var(--bfc-navy);
}

.is-style-outline > .wp-block-button__link:hover {
	background: var(--bfc-navy);
	color: #fff;
}

.wp-block-separator {
	border-color: var(--bfc-line);
}

.wp-block-cover {
	border-radius: var(--bfc-radius-lg);
	overflow: hidden;
}


/* ==========================================================================
   BFC section system
   ========================================================================== */

.bfc-section {
	padding:
		clamp(72px, 9vw, 128px)
		24px;
}

.bfc-section__inner {
	width: 100%;
	max-width: 1120px;
	margin-left: auto;
	margin-right: auto;
}

.bfc-section--paper {
	background: var(--bfc-paper);
}

.bfc-section--cream {
	background: var(--bfc-cream);
}

.bfc-section--soft {
	background: var(--bfc-cream-2);
}

.bfc-section--navy {
	background: var(--bfc-navy);
	color: #fff;
}

.bfc-section--navy h1,
.bfc-section--navy h2,
.bfc-section--navy h3,
.bfc-section--navy h4,
.bfc-section--navy a {
	color: #fff;
}

.bfc-eyebrow {
	margin-bottom: 1.2rem;
	color: var(--bfc-blue);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.bfc-section--navy .bfc-eyebrow {
	color: #8ec1ff;
}

.bfc-lead {
	max-width: 760px;
	color: var(--bfc-muted);
	font-size: clamp(1.12rem, 1.8vw, 1.35rem);
	line-height: 1.65;
}

.bfc-section--navy .bfc-lead {
	color: rgba(255, 255, 255, 0.78);
}


/* ==========================================================================
   Hero
   ========================================================================== */

.bfc-hero {
	position: relative;
	overflow: hidden;
	padding:
		clamp(76px, 10vw, 142px)
		24px;
	background:
		radial-gradient(
			circle at 8% 15%,
			rgba(18, 100, 195, 0.14),
			transparent 25rem
		),
		radial-gradient(
			circle at 95% 5%,
			rgba(53, 163, 74, 0.12),
			transparent 24rem
		),
		var(--bfc-cream);
}

.bfc-hero::after {
	position: absolute;
	right: -120px;
	bottom: -170px;
	width: 420px;
	height: 420px;
	background:
		conic-gradient(
			from 25deg,
			var(--bfc-blue),
			var(--bfc-green),
			var(--bfc-orange),
			var(--bfc-purple),
			var(--bfc-red),
			var(--bfc-gold),
			var(--bfc-blue)
		);
	border-radius: 50%;
	content: "";
	opacity: 0.055;
	filter: blur(1px);
}

.wp-block-columns.bfc-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
	align-items: center;
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	gap: clamp(42px, 7vw, 90px);
}

.bfc-hero h1 {
	max-width: 820px;
	margin-bottom: 0.35em;
	font-size: clamp(3rem, 6.7vw, 5.8rem);
}

.bfc-hero p {
	max-width: 690px;
}

.bfc-hero__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--bfc-radius-lg);
	box-shadow: var(--bfc-shadow);
}

.bfc-hero__media {
	position: relative;
}

.bfc-hero__media::before {
	position: absolute;
	top: -14px;
	left: -14px;
	z-index: -1;
	width: 96px;
	height: 96px;
	background: var(--bfc-green);
	border-radius: 22px;
	content: "";
	opacity: 0.8;
}

.bfc-hero__media::after {
	position: absolute;
	right: -14px;
	bottom: -14px;
	z-index: -1;
	width: 74px;
	height: 74px;
	background: var(--bfc-orange);
	border-radius: 18px;
	content: "";
	opacity: 0.85;
}


/* ==========================================================================
   Value / benefit cards
   ========================================================================== */

.wp-block-columns.bfc-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.bfc-card-grid > .wp-block-column,
.bfc-card {
	position: relative;
	margin: 0;
	padding: clamp(28px, 4vw, 40px);
	background: #fff;
	border: 1px solid rgba(7, 26, 58, 0.075);
	border-radius: var(--bfc-radius);
	box-shadow: var(--bfc-shadow);
	transition:
		transform 180ms ease,
		box-shadow 180ms ease;
}

.bfc-card-grid > .wp-block-column:hover,
.bfc-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--bfc-shadow-hover);
}

.bfc-card-grid > .wp-block-column::before,
.bfc-card::before {
	display: block;
	width: 22px;
	height: 22px;
	margin-bottom: 24px;
	background: var(--accent, var(--bfc-blue));
	border-radius: 6px;
	box-shadow: 0 7px 14px color-mix(in srgb, var(--accent, var(--bfc-blue)) 20%, transparent);
	content: "";
}

.bfc-card-grid > .wp-block-column:nth-child(1) {
	--accent: var(--bfc-blue);
}

.bfc-card-grid > .wp-block-column:nth-child(2) {
	--accent: var(--bfc-green);
}

.bfc-card-grid > .wp-block-column:nth-child(3) {
	--accent: var(--bfc-orange);
}

.bfc-card-grid > .wp-block-column:nth-child(4) {
	--accent: var(--bfc-purple);
}

.bfc-card-grid > .wp-block-column:nth-child(5) {
	--accent: var(--bfc-red);
}

.bfc-card-grid > .wp-block-column:nth-child(6) {
	--accent: var(--bfc-gold);
}

.bfc-card-grid h3,
.bfc-card-grid h4,
.bfc-card h3,
.bfc-card h4 {
	margin-bottom: 0.45rem;
}

.bfc-card-grid p:last-child,
.bfc-card p:last-child {
	margin-bottom: 0;
}


/* ==========================================================================
   Process cards
   ========================================================================== */

.wp-block-columns.bfc-step-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	counter-reset: bfc-step;
	gap: 22px;
}

.bfc-step-grid > .wp-block-column {
	position: relative;
	min-height: 100%;
	margin: 0;
	padding: 36px;
	background: #fff;
	border: 1px solid rgba(7, 26, 58, 0.08);
	border-radius: var(--bfc-radius);
	box-shadow: var(--bfc-shadow);
	counter-increment: bfc-step;
}

.bfc-step-grid > .wp-block-column::before {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 26px;
	background: var(--step-accent, var(--bfc-blue));
	border-radius: 12px;
	color: #fff;
	content: counter(bfc-step, decimal-leading-zero);
	font-size: 0.75rem;
	font-weight: 900;
	letter-spacing: 0.08em;
}

.bfc-step-grid > .wp-block-column:nth-child(1) {
	--step-accent: var(--bfc-blue);
}

.bfc-step-grid > .wp-block-column:nth-child(2) {
	--step-accent: var(--bfc-green);
}

.bfc-step-grid > .wp-block-column:nth-child(3) {
	--step-accent: var(--bfc-orange);
}

.bfc-step-grid > .wp-block-column:nth-child(4) {
	--step-accent: var(--bfc-purple);
}

.bfc-step-grid > .wp-block-column:nth-child(5) {
	--step-accent: var(--bfc-red);
}

.bfc-step-grid > .wp-block-column:nth-child(6) {
	--step-accent: var(--bfc-gold);
}


/* ==========================================================================
   Check list
   ========================================================================== */

.bfc-check-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 34px;
	max-width: 920px;
	padding: 0;
	list-style: none;
}

.bfc-check-list li {
	position: relative;
	margin: 0;
	padding: 13px 0 13px 38px;
	border-bottom: 1px solid rgba(7, 26, 58, 0.09);
	font-weight: 650;
}

.bfc-check-list li::before {
	position: absolute;
	top: 14px;
	left: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	background: rgba(53, 163, 74, 0.13);
	border-radius: 50%;
	color: var(--bfc-green);
	content: "✓";
	font-size: 0.8rem;
	font-weight: 900;
}


/* ==========================================================================
   Statement / quote band
   ========================================================================== */

.bfc-callout {
	padding:
		clamp(62px, 8vw, 100px)
		24px;
	background: var(--bfc-navy);
	color: #fff;
	text-align: center;
}

.bfc-callout > * {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.bfc-callout h2,
.bfc-callout h3 {
	color: #fff;
}

.bfc-callout p {
	color: rgba(255, 255, 255, 0.75);
}


/* ==========================================================================
   CTA
   ========================================================================== */

.bfc-cta {
	position: relative;
	width: calc(100% - 48px);
	max-width: 1120px;
	margin:
		clamp(60px, 8vw, 110px)
		auto;
	padding: clamp(40px, 7vw, 78px);
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(7, 26, 58, 0.08);
	border-radius: var(--bfc-radius-lg);
	box-shadow: var(--bfc-shadow);
}

.bfc-cta::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 7px;
	background: linear-gradient(
		90deg,
		var(--bfc-blue) 0 17%,
		var(--bfc-green) 17% 34%,
		var(--bfc-orange) 34% 51%,
		var(--bfc-purple) 51% 68%,
		var(--bfc-red) 68% 84%,
		var(--bfc-gold) 84% 100%
	);
	content: "";
}

.bfc-cta h2 {
	max-width: 820px;
}

.bfc-cta p {
	max-width: 760px;
}


/* ==========================================================================
   Query Loop / Recent Advice
   ========================================================================== */

.bfc-posts .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	padding: 0;
	list-style: none;
}

.bfc-posts .wp-block-post {
	overflow: hidden;
	margin: 0;
	background: #fff;
	border: 1px solid rgba(7, 26, 58, 0.08);
	border-radius: var(--bfc-radius);
	box-shadow: var(--bfc-shadow);
}

.bfc-posts .wp-block-post-featured-image {
	margin: 0;
}

.bfc-posts .wp-block-post-featured-image img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 0;
}

.bfc-posts .wp-block-post-title,
.bfc-posts .wp-block-post-excerpt,
.bfc-posts .wp-block-post-date {
	margin-left: 26px;
	margin-right: 26px;
}

.bfc-posts .wp-block-post-title {
	margin-top: 26px;
	font-size: 1.45rem;
}

.bfc-posts .wp-block-post-date {
	margin-bottom: 10px;
	color: var(--bfc-muted);
	font-size: 0.8rem;
	font-weight: 700;
}

.bfc-posts .wp-block-post-excerpt {
	margin-bottom: 26px;
	color: var(--bfc-muted);
	font-size: 0.94rem;
}


/* ==========================================================================
   Forms
   ========================================================================== */

input,
select,
textarea {
	width: 100%;
	padding: 13px 15px;
	background: #fff;
	border: 1px solid #cfd7e3;
	border-radius: 8px;
	color: var(--bfc-ink);
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--bfc-blue);
	outline: 3px solid rgba(18, 100, 195, 0.13);
}

textarea {
	min-height: 150px;
	resize: vertical;
}

label {
	color: var(--bfc-navy);
	font-size: 0.92rem;
	font-weight: 750;
}


/* ==========================================================================
   Sidebar
   ========================================================================== */

.sidebar {
	color: var(--bfc-muted);
	font-size: 0.92rem;
}

.sidebar .widget {
	margin-bottom: 24px;
	padding: 28px;
	background: #fff;
	border: 1px solid var(--bfc-line);
	border-radius: var(--bfc-radius);
}

.sidebar .widget-title {
	font-size: 1.25rem;
}


/* ==========================================================================
   Footer widgets
   ========================================================================== */

.footer-widgets {
	padding: 70px 0 50px;
	background: var(--bfc-navy);
	color: rgba(255, 255, 255, 0.74);
}

.footer-widgets .wrap {
	display: grid;
	grid-template-columns: 1.45fr 1fr 1fr;
	gap: 50px;
}

.footer-widgets .widget {
	margin: 0;
}

.footer-widgets .widget-title {
	color: #fff;
	font-family: var(--bfc-body-font);
	font-size: 0.82rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.footer-widgets a {
	color: rgba(255, 255, 255, 0.88);
}

.footer-widgets a:hover {
	color: #fff;
}


/* ==========================================================================
   Site footer
   ========================================================================== */

.site-footer {
	padding: 26px 0;
	background: #041229;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.82rem;
	text-align: center;
}

.site-footer p {
	margin-bottom: 0;
}

.site-footer a {
	color: rgba(255, 255, 255, 0.84);
}

.site-footer .nav-secondary {
	margin-bottom: 16px;
}

.site-footer .genesis-nav-menu {
	justify-content: center;
	flex-wrap: wrap;
}

.site-footer .genesis-nav-menu a {
	padding: 5px 10px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.8rem;
}


/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
	clear: both;
	margin: 42px 0;
}

.pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	padding: 0;
	list-style: none;
}

.pagination li {
	margin: 0;
}

.pagination a,
.pagination .active a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 6px 12px;
	background: #fff;
	border: 1px solid var(--bfc-line);
	border-radius: 8px;
	text-decoration: none;
}

.pagination .active a,
.pagination a:hover {
	background: var(--bfc-navy);
	border-color: var(--bfc-navy);
	color: #fff;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 960px) {

	.admin-bar .site-header {
		top: 46px;
	}

	.site-header .wrap {
		flex-wrap: wrap;
		gap: 0;
		min-height: 74px;
	}

	.title-area {
		flex: 1 1 auto;
	}

	.menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 46px;
		min-height: 46px;
		margin-left: auto;
		padding: 8px 12px;
		background: transparent;
		border: 1px solid var(--bfc-line);
		border-radius: 9px;
		color: var(--bfc-navy);
		font-size: 0;
	}

	.menu-toggle::before {
		font-size: 24px;
	}

	.genesis-responsive-menu {
		display: none;
		flex: 1 0 100%;
		width: 100%;
		padding: 12px 0 22px;
	}

	.genesis-responsive-menu.toggled-on {
		display: block;
	}

	.genesis-nav-menu {
		display: block;
	}

	.genesis-nav-menu a {
		padding: 11px 0;
	}

	.nav-primary .bfc-menu-cta > a {
		display: inline-flex;
		margin: 8px 0 0;
		padding: 11px 20px;
	}

	.genesis-nav-menu .sub-menu {
		position: static;
		display: none;
		min-width: 0;
		padding: 0 0 0 18px;
		background: transparent;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.genesis-nav-menu .sub-menu.toggled-on {
		display: block;
	}

	.sub-menu-toggle {
		position: absolute;
		top: 5px;
		right: 0;
		display: inline-flex;
		min-width: 42px;
		min-height: 42px;
		padding: 0;
		background: transparent;
		border: 0;
		color: var(--bfc-navy);
	}

	.content-sidebar .content,
	.content-sidebar .sidebar,
	.sidebar-content .content,
	.sidebar-content .sidebar {
		float: none;
		width: 100%;
	}

	.sidebar {
		margin-top: 40px;
	}

	.wp-block-columns.bfc-hero__inner {
		grid-template-columns: 1fr;
	}

	.bfc-hero__media {
		max-width: 720px;
	}

	.wp-block-columns.bfc-card-grid,
	.wp-block-columns.bfc-step-grid,
	.bfc-posts .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-widgets .wrap {
		grid-template-columns: 1.4fr 1fr;
	}
}


@media (max-width: 680px) {

	body {
		font-size: 17px;
	}

	.wrap,
	.site-inner,
	.bfc-section,
	.bfc-hero,
	.bfc-callout {
		padding-left: 20px;
		padding-right: 20px;
	}

	.bfc-hero h1 {
		font-size: clamp(2.65rem, 13vw, 4rem);
	}

	.wp-block-columns.bfc-card-grid,
	.wp-block-columns.bfc-step-grid,
	.bfc-posts .wp-block-post-template,
	.bfc-check-list,
	.footer-widgets .wrap {
		grid-template-columns: 1fr;
	}

	.bfc-card-grid > .wp-block-column,
	.bfc-step-grid > .wp-block-column {
		padding: 28px;
	}

	.bfc-cta {
		width: calc(100% - 40px);
	}

	.custom-logo {
		max-width: 220px;
	}
}


@media (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}


/* ==========================================================================
   Print
   ========================================================================== */

@media print {

	.site-header,
	.nav-primary,
	.footer-widgets,
	.site-footer,
	.sidebar {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
		font-size: 12pt;
	}

	.site-inner,
	.content,
	.entry {
		width: 100%;
		max-width: none;
		margin: 0;
		padding: 0;
		border: 0;
		box-shadow: none;
	}
}