/*
Theme Name: Bowsher Modern
Theme URI: https://bowsherit.com/
Author: Bowsher IT Solutions
Description: A fast, modern block theme built for easy editing in WordPress.
Version: 2.2.5
Requires at least: 6.7
Requires PHP: 8.0
Text Domain: bowsher-modern
*/

:root {
	--bm-ink: #07111f;
	--bm-ink-soft: #122033;
	--bm-slate: #526174;
	--bm-line: #dce4ec;
	--bm-surface: #f5f8fb;
	--bm-white: #ffffff;
	--bm-blue: #2878ff;
	--bm-cyan: #26d0ce;
	--bm-lime: #b8f34a;
	--bm-shadow: 0 22px 70px rgba(7, 17, 31, 0.12);
	--bm-radius: 24px;
}

html {
	scroll-behavior: smooth;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	background: var(--bm-white);
	color: var(--bm-ink);
	-webkit-font-smoothing: antialiased;
}

a {
	text-underline-offset: 0.18em;
}

.wp-site-blocks {
	overflow: visible;
}

.bm-main,
.bm-main > .wp-block-post-content,
.wp-block-group,
.wp-block-columns,
.wp-block-column {
	min-width: 0;
}

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

.bm-card,
.bm-panel,
.bm-contact-card,
.bm-site-footer {
	overflow-wrap: anywhere;
}

/* Keep the homepage visually centered without changing interior page layouts. */
.home .bm-main .bm-hero-inner,
.home .bm-main .bm-metrics,
.home .bm-main .bm-card,
.home .bm-main .bm-panel,
.home .bm-main .bm-split > .wp-block-group,
.home .bm-main .bm-cta {
	text-align: center;
}

.home .bm-main .bm-display,
.home .bm-main .bm-lede,
.home .bm-main .bm-section-heading,
.home .bm-main .bm-section-intro,
.home .bm-main .bm-cta h2,
.home .bm-main .bm-cta p,
.home .bm-main .bm-card p:last-child {
	margin-right: auto !important;
	margin-left: auto !important;
}

.home .bm-main .bm-actions,
.home .bm-main .wp-block-buttons {
	justify-content: center;
}

.home .bm-main .bm-card-number {
	margin-right: auto !important;
	margin-left: auto !important;
}

.home .bm-main .bm-card p:last-child {
	max-width: 38ch;
}

.home .bm-main .bm-checklist {
	max-width: 640px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.home .bm-main .bm-checklist li {
	padding: 2.65rem 0.75rem 1rem;
}

.home .bm-main .bm-checklist li::before {
	left: 50%;
	top: 0.75rem;
	transform: translateX(-50%);
}

.home .bm-main .bm-split {
	justify-items: center;
}

.home .bm-main .bm-split > .wp-block-group {
	width: 100%;
}

/* Interior pages use balanced, centered presentation while content stays editable. */
.page:not(.home) .bm-main .bm-page-hero,
.page:not(.home) .bm-main .bm-section,
.page:not(.home) .bm-main .bm-card,
.page:not(.home) .bm-main .bm-panel,
.page:not(.home) .bm-main .bm-contact-card,
.page:not(.home) .bm-main .bm-support-box,
.page:not(.home) .bm-main .bm-split > .wp-block-group,
.page:not(.home) .bm-main .bm-cta {
	text-align: center;
}

.page:not(.home) .bm-main .bm-page-title,
.page:not(.home) .bm-main .bm-page-intro,
.page:not(.home) .bm-main .bm-section-heading,
.page:not(.home) .bm-main .bm-section-intro,
.page:not(.home) .bm-main .bm-card p:last-child,
.page:not(.home) .bm-main .bm-panel p,
.page:not(.home) .bm-main .bm-cta h2,
.page:not(.home) .bm-main .bm-cta p {
	margin-right: auto !important;
	margin-left: auto !important;
}

.page:not(.home) .bm-main .bm-card-number {
	margin-right: auto !important;
	margin-left: auto !important;
}

.page:not(.home) .bm-main .bm-card p:last-child,
.page:not(.home) .bm-main .bm-panel p {
	max-width: 44ch;
}

.page:not(.home) .bm-main .bm-actions,
.page:not(.home) .bm-main .wp-block-buttons {
	justify-content: center;
}

.page:not(.home) .bm-main .bm-split {
	justify-items: center;
}

.page:not(.home) .bm-main .bm-split > .wp-block-group {
	width: 100%;
}

.bm-site-header {
	position: relative;
	z-index: 50;
	border-bottom: 1px solid rgba(7, 17, 31, 0.08);
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(18px);
}

@media (min-width: 820px) {
	.bm-site-header {
		position: sticky;
		top: var(--wp-admin--admin-bar--height, 0);
	}
}

.bm-header-inner {
	min-height: 78px;
}

.bm-brand {
	position: relative;
	padding-left: 42px;
	font-size: 1.05rem;
	font-weight: 760;
	letter-spacing: -0.025em;
}

.bm-brand::before {
	position: absolute;
	left: 0;
	top: 50%;
	width: 30px;
	height: 30px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--bm-blue), var(--bm-cyan));
	box-shadow: 0 8px 22px rgba(40, 120, 255, 0.3);
	content: "";
	transform: translateY(-50%) rotate(-8deg);
}

.bm-brand a {
	text-decoration: none;
}

.bm-site-header .wp-block-navigation {
	font-size: 0.9rem;
	font-weight: 650;
}

.bm-site-header .wp-block-navigation-item__content {
	padding: 0.55rem 0.3rem;
	text-decoration: none;
}

.bm-site-header .wp-block-navigation-item:last-child .wp-block-navigation-item__content {
	padding: 0.62rem 1rem;
	border-radius: 999px;
	background: var(--bm-ink);
	color: var(--bm-white);
}

.bm-site-header .wp-block-navigation-item:last-child .wp-block-navigation-item__content:hover {
	background: var(--bm-blue);
}

.bm-site-header .wp-block-navigation__responsive-container-open {
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid var(--bm-line);
	border-radius: 14px;
	background: var(--bm-surface);
	color: var(--bm-ink);
	transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.bm-site-header .wp-block-navigation__responsive-container-open:hover,
.bm-site-header .wp-block-navigation__responsive-container-open:focus-visible {
	border-color: rgba(40, 120, 255, 0.45);
	background: #eaf2ff;
	transform: translateY(-1px);
}

.bm-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: clamp(620px, 78vh, 850px);
	display: flex;
	align-items: center;
	background:
		radial-gradient(circle at 82% 28%, rgba(38, 208, 206, 0.26), transparent 25%),
		radial-gradient(circle at 72% 78%, rgba(40, 120, 255, 0.3), transparent 30%),
		linear-gradient(135deg, #07111f 0%, #0b1b31 58%, #102c48 100%);
	color: var(--bm-white);
}

.bm-hero::before,
.bm-hero::after {
	position: absolute;
	z-index: -1;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 50%;
	content: "";
}

.bm-hero::before {
	right: -8vw;
	top: -12vw;
	width: min(50vw, 690px);
	height: min(50vw, 690px);
}

.bm-hero::after {
	right: 14vw;
	bottom: -18vw;
	width: min(38vw, 520px);
	height: min(38vw, 520px);
}

.bm-hero-inner {
	width: 100%;
	padding-top: clamp(5rem, 10vw, 8.5rem);
	padding-bottom: clamp(5rem, 10vw, 8.5rem);
}

.bm-eyebrow,
.bm-kicker {
	font-size: 0.76rem;
	font-weight: 780;
	letter-spacing: 0.17em;
	line-height: 1.35;
	text-transform: uppercase;
}

.bm-eyebrow {
	color: var(--bm-cyan);
}

.bm-kicker {
	color: var(--bm-blue);
}

.bm-display {
	max-width: 920px;
	margin-top: 1.1rem !important;
	font-size: clamp(3.25rem, 8vw, 7.75rem) !important;
	font-weight: 770 !important;
	letter-spacing: -0.065em !important;
	line-height: 0.91 !important;
}

.bm-gradient-text {
	background: linear-gradient(100deg, #ffffff 8%, #9ef7ee 48%, #8bb5ff 92%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.bm-lede {
	max-width: 760px;
	margin-top: 2rem !important;
	color: #c5d3e1;
	font-size: clamp(1.1rem, 2vw, 1.34rem);
	line-height: 1.65;
}

.bm-actions {
	margin-top: 2.2rem !important;
	gap: 0.8rem !important;
}

.wp-element-button,
.wp-block-button__link {
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.wp-element-button:hover,
.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(40, 120, 255, 0.24);
}

.bm-button-light .wp-block-button__link {
	background: var(--bm-white);
	color: var(--bm-ink);
}

.bm-button-ghost .wp-block-button__link {
	border: 1px solid rgba(255, 255, 255, 0.36);
	background: rgba(255, 255, 255, 0.06);
	color: var(--bm-white);
}

.bm-metrics {
	position: relative;
	z-index: 5;
	margin-top: -48px !important;
	border: 1px solid rgba(7, 17, 31, 0.08);
	border-radius: var(--bm-radius);
	background: rgba(255, 255, 255, 0.96);
	box-shadow: var(--bm-shadow);
	backdrop-filter: blur(18px);
}

.bm-metrics .wp-block-column {
	padding: 1.6rem clamp(1.25rem, 3vw, 2.3rem);
}

.bm-metrics .wp-block-column + .wp-block-column {
	border-left: 1px solid var(--bm-line);
}

.bm-metric-value {
	margin-bottom: 0.25rem !important;
	font-size: clamp(1.35rem, 2vw, 1.8rem);
	font-weight: 760;
	letter-spacing: -0.035em;
}

.bm-metric-label {
	margin-top: 0 !important;
	color: var(--bm-slate);
	font-size: 0.9rem;
}

.bm-section {
	padding-top: clamp(5rem, 9vw, 8rem);
	padding-bottom: clamp(5rem, 9vw, 8rem);
}

.bm-section-soft {
	background: var(--bm-surface);
}

.bm-section-heading {
	max-width: 830px;
	margin-top: 0.75rem !important;
	font-size: clamp(2.35rem, 5vw, 4.65rem) !important;
	font-weight: 740 !important;
	letter-spacing: -0.052em !important;
	line-height: 1.02 !important;
}

.bm-section-intro {
	max-width: 710px;
	color: var(--bm-slate);
	font-size: 1.08rem;
	line-height: 1.7;
}

.bm-card-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem !important;
	margin-top: 3rem !important;
}

.bm-card {
	min-height: 280px;
	display: flex;
	flex-direction: column;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px solid var(--bm-line);
	border-radius: var(--bm-radius);
	background: var(--bm-white);
	box-shadow: 0 4px 20px rgba(7, 17, 31, 0.035);
	transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.bm-card:hover {
	transform: translateY(-6px);
	border-color: rgba(40, 120, 255, 0.38);
	box-shadow: 0 24px 60px rgba(7, 17, 31, 0.1);
}

.bm-card-number {
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	margin: 0 0 auto !important;
	border-radius: 12px;
	background: #eaf2ff;
	color: var(--bm-blue);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.bm-card h3 {
	margin-top: 2.6rem !important;
	font-size: 1.35rem;
	letter-spacing: -0.025em;
}

.bm-card p:last-child {
	margin-bottom: 0;
	color: var(--bm-slate);
	font-size: 0.96rem;
	line-height: 1.65;
}

.bm-card-featured {
	background: var(--bm-ink);
	color: var(--bm-white);
}

.bm-card-featured .bm-card-number {
	background: rgba(38, 208, 206, 0.16);
	color: var(--bm-cyan);
}

.bm-card-featured h3,
.bm-panel h2,
.bm-page-hero .bm-page-title {
	color: var(--bm-white);
}

.bm-card-featured p:last-child {
	color: #b8c7d6;
}

.bm-split {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(2.5rem, 7vw, 7rem) !important;
	align-items: center !important;
}

@media (min-width: 981px) {
	.page-id-8 .bm-card-grid .bm-card:last-child {
		grid-column: 2;
	}
}

.bm-panel {
	padding: clamp(2rem, 5vw, 4.5rem);
	border-radius: calc(var(--bm-radius) + 8px);
	background:
		radial-gradient(circle at 90% 10%, rgba(38, 208, 206, 0.23), transparent 32%),
		var(--bm-ink);
	color: var(--bm-white);
	box-shadow: var(--bm-shadow);
}

.bm-panel p {
	color: #bfd0df;
}

.bm-panel .bm-quote {
	color: var(--bm-white);
	font-size: clamp(1.55rem, 3vw, 2.4rem);
	font-weight: 680;
	letter-spacing: -0.035em;
	line-height: 1.2;
}

.bm-checklist {
	padding: 0;
	list-style: none;
}

.bm-checklist li {
	position: relative;
	padding: 0.9rem 0 0.9rem 2.2rem;
	border-bottom: 1px solid var(--bm-line);
}

.bm-checklist li::before {
	position: absolute;
	left: 0;
	top: 0.92rem;
	width: 1.35rem;
	height: 1.35rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #e4f8f5;
	color: #087f75;
	content: "✓";
	font-size: 0.72rem;
	font-weight: 800;
}

.bm-page-hero {
	padding-top: clamp(5rem, 10vw, 9rem);
	padding-bottom: clamp(4rem, 8vw, 7rem);
	background:
		radial-gradient(circle at 85% 30%, rgba(38, 208, 206, 0.22), transparent 25%),
		linear-gradient(135deg, #07111f, #112945);
	color: var(--bm-white);
}

.bm-page-title {
	max-width: 970px;
	margin-top: 1rem !important;
	font-size: clamp(3.2rem, 8vw, 7rem) !important;
	font-weight: 760 !important;
	letter-spacing: -0.062em !important;
	line-height: 0.94 !important;
}

.bm-page-intro {
	max-width: 760px;
	color: #c5d3e1;
	font-size: clamp(1.08rem, 2vw, 1.3rem);
	line-height: 1.65;
}

.bm-prose {
	font-size: 1.08rem;
	line-height: 1.8;
}

.bm-prose h2 {
	margin-top: 2.4rem;
	font-size: clamp(2rem, 4vw, 3.2rem);
	letter-spacing: -0.04em;
}

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

.bm-contact-card {
	padding: clamp(1.6rem, 4vw, 2.8rem);
	border: 1px solid var(--bm-line);
	border-radius: var(--bm-radius);
	background: var(--bm-white);
}

.bm-contact-card h2,
.bm-contact-card h3 {
	margin-top: 0;
	letter-spacing: -0.025em;
}

.bm-contact-card a {
	color: var(--bm-blue);
	font-weight: 700;
}

.page-contact .bm-page-hero .wp-block-group.alignwide,
.page-contact .bm-page-hero .bm-page-intro,
.page-contact .bm-page-hero .bm-eyebrow {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.page-contact .bm-contact-grid {
	margin-top: 0.25rem;
}

.page-contact .bm-contact-card {
	text-align: center;
}

.bm-contact-form-shell {
	max-width: 960px;
	margin-right: auto !important;
	margin-left: auto !important;
	padding: clamp(1.4rem, 4vw, 2.4rem);
	border: 1px solid rgba(100, 121, 148, 0.14);
	border-radius: 30px;
	background:
		radial-gradient(circle at 100% 0, rgba(45, 212, 202, 0.12), transparent 24%),
		radial-gradient(circle at 0 100%, rgba(124, 92, 255, 0.12), transparent 26%),
		linear-gradient(155deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 253, 0.96));
	box-shadow: 0 24px 70px rgba(20, 39, 66, 0.08);
}

.bm-contact-form-shell .wpforms-container {
	margin: 0;
}

.bm-contact-form-shell .wpforms-form {
	display: grid;
	gap: 1rem;
}

.bm-contact-form-shell .wpforms-field {
	margin-bottom: 0;
}

.bm-contact-form-shell .wpforms-field-label {
	margin-bottom: 0.55rem;
	color: var(--bm-ink);
	font-size: 0.98rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.bm-contact-form-shell .wpforms-required-label {
	color: #d14b4b;
}

.bm-contact-form-shell .wpforms-field input,
.bm-contact-form-shell .wpforms-field textarea,
.bm-contact-form-shell .wpforms-field select {
	width: 100%;
	min-height: 56px;
	padding: 0.95rem 1rem;
	border: 1px solid rgba(100, 121, 148, 0.18);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--bm-ink);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 8px 20px rgba(20, 39, 66, 0.05);
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.bm-contact-form-shell .wpforms-field textarea {
	min-height: 170px;
	resize: vertical;
}

.bm-contact-form-shell .wpforms-field input:focus,
.bm-contact-form-shell .wpforms-field textarea:focus,
.bm-contact-form-shell .wpforms-field select:focus {
	border-color: rgba(40, 120, 255, 0.58);
	outline: none;
	box-shadow: 0 0 0 4px rgba(40, 120, 255, 0.12), 0 14px 28px rgba(20, 39, 66, 0.08);
	transform: translateY(-1px);
}

.bm-contact-form-shell .wpforms-submit-container {
	margin-top: 0.35rem;
	padding-top: 0;
}

.bm-contact-form-shell .wpforms-submit {
	width: 100%;
	min-height: 58px;
	padding: 0.95rem 1.4rem;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(115deg, var(--bm-blue), #1f5de0);
	box-shadow: 0 14px 34px rgba(40, 120, 255, 0.28);
	color: var(--bm-white);
	font-size: 1.02rem;
	font-weight: 750;
	letter-spacing: -0.01em;
}

.bm-contact-form-shell .wpforms-submit:hover,
.bm-contact-form-shell .wpforms-submit:focus {
	background: linear-gradient(115deg, #2f86ff, #194ccc);
	box-shadow: 0 18px 40px rgba(40, 120, 255, 0.34);
	transform: translateY(-1px);
}

.bm-contact-form-shell .wpforms-confirmation-container-full,
.bm-contact-form-shell .wpforms-error-container {
	margin-top: 0;
	border-radius: 18px;
}

.bm-cta {
	position: relative;
	isolation: isolate;
	padding: clamp(2.5rem, 7vw, 5.5rem);
	border-radius: calc(var(--bm-radius) + 10px);
	background:
		radial-gradient(circle at 100% 0, rgba(184, 243, 74, 0.2), transparent 30%),
		linear-gradient(135deg, #1768ef, #1452bd);
	color: var(--bm-white);
	box-shadow: 0 28px 80px rgba(40, 120, 255, 0.25);
}

.bm-cta h2 {
	max-width: 760px;
	font-size: clamp(2.25rem, 5vw, 4.5rem);
	letter-spacing: -0.05em;
	line-height: 1;
}

.bm-cta p {
	max-width: 680px;
	color: #deebff;
}

.bm-support-box {
	max-width: 820px;
	margin-right: auto !important;
	margin-left: auto !important;
	padding: clamp(2rem, 6vw, 5rem);
	border: 1px solid var(--bm-line);
	border-radius: calc(var(--bm-radius) + 8px);
	background: var(--bm-white);
	box-shadow: var(--bm-shadow);
	text-align: center;
}

.bm-support-icon {
	width: 70px;
	height: 70px;
	display: grid;
	place-items: center;
	margin: 0 auto 1.5rem !important;
	border-radius: 22px;
	background: linear-gradient(135deg, var(--bm-blue), var(--bm-cyan));
	color: var(--bm-white);
	font-size: 1.4rem;
	font-weight: 800;
}

.bm-site-footer {
	margin-top: 0;
	background: #050c16;
	color: #c4d0dc;
}

.bm-footer-inner {
	padding-top: 4rem;
	padding-bottom: 2rem;
}

.bm-footer-inner .wp-block-columns {
	gap: clamp(2rem, 5vw, 4rem);
}

.bm-footer-brand {
	color: var(--bm-white);
	font-size: 1.25rem;
	font-weight: 750;
}

.bm-footer-inner a {
	color: inherit;
}

.bm-footer-meta {
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: #8393a4;
	font-size: 0.84rem;
}

@media (max-width: 980px) {
	.bm-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bm-split {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 819px) {
	body {
		padding-right: clamp(0.65rem, 3vw, 1rem) !important;
		padding-left: clamp(0.65rem, 3vw, 1rem) !important;
	}

	.bm-header-inner {
		min-height: 68px;
	}

	.bm-site-header {
		border-radius: 0 0 18px 18px;
		background: var(--bm-white);
		backdrop-filter: none;
	}

	.bm-site-header .wp-block-navigation__responsive-container.is-menu-open {
		position: fixed;
		inset: 0 !important;
		z-index: 999999;
		width: 100vw !important;
		height: 100vh !important;
		height: 100dvh !important;
		min-height: 100vh;
		padding:
			max(1.25rem, env(safe-area-inset-top))
			max(1.25rem, env(safe-area-inset-right))
			max(1.25rem, env(safe-area-inset-bottom))
			max(1.25rem, env(safe-area-inset-left)) !important;
		overflow-y: auto;
		overscroll-behavior: contain;
		background:
			radial-gradient(circle at 88% 12%, rgba(38, 208, 206, 0.22), transparent 27%),
			radial-gradient(circle at 12% 88%, rgba(40, 120, 255, 0.26), transparent 30%),
			linear-gradient(145deg, #07111f 0%, #0a1d34 58%, #12365a 100%) !important;
		color: var(--bm-white) !important;
		animation: bm-menu-in 220ms ease both;
	}

	.bm-site-header .wp-block-navigation__responsive-close,
	.bm-site-header .wp-block-navigation__responsive-dialog {
		width: 100%;
		max-width: none;
		min-height: calc(100dvh - 2.5rem);
	}

	.bm-site-header .wp-block-navigation__responsive-container-close {
		position: fixed;
		top: max(1.25rem, env(safe-area-inset-top));
		right: max(1.25rem, env(safe-area-inset-right));
		width: 46px;
		height: 46px;
		display: grid;
		place-items: center;
		padding: 0;
		border: 1px solid rgba(255, 255, 255, 0.24);
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.08);
		color: var(--bm-white);
		transition: background 180ms ease, transform 180ms ease;
	}

	.bm-site-header .wp-block-navigation__responsive-container-close:hover,
	.bm-site-header .wp-block-navigation__responsive-container-close:focus-visible {
		background: rgba(255, 255, 255, 0.16);
		transform: rotate(5deg);
	}

	.bm-site-header .wp-block-navigation__responsive-container-content {
		min-height: calc(100dvh - 2.5rem);
		display: flex;
		align-items: center !important;
		justify-content: center !important;
		padding: 4.75rem 0 2rem !important;
	}

	.bm-site-header .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
		width: min(100%, 28rem);
		display: flex;
		flex: 0 1 auto !important;
		flex-direction: column;
		align-items: stretch !important;
		justify-content: center;
		gap: 0.55rem !important;
	}

	.bm-site-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item {
		width: 100%;
		text-align: center;
	}

	.bm-site-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 0.9rem 1rem !important;
		border: 1px solid rgba(255, 255, 255, 0.12);
		border-radius: 16px;
		background: rgba(255, 255, 255, 0.045);
		color: var(--bm-white) !important;
		font-size: clamp(1.18rem, 5.8vw, 1.55rem);
		font-weight: 720;
		letter-spacing: -0.025em;
		line-height: 1.2;
		text-decoration: none;
		transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
	}

	.bm-site-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content:hover,
	.bm-site-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content:focus-visible {
		border-color: rgba(38, 208, 206, 0.65);
		background: rgba(38, 208, 206, 0.12);
		transform: translateY(-2px);
	}

	.bm-site-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item:last-child .wp-block-navigation-item__content {
		margin-top: 0.35rem;
		border-color: transparent;
		background: linear-gradient(110deg, var(--bm-cyan), #80e8df) !important;
		color: var(--bm-ink) !important;
		box-shadow: 0 16px 40px rgba(38, 208, 206, 0.18);
	}

	.bm-brand {
		padding-left: 36px;
		font-size: 0.96rem;
	}

	.bm-brand::before {
		width: 27px;
		height: 27px;
		border-radius: 9px;
	}

	.bm-hero {
		min-height: auto;
		border-radius: 0 0 24px 24px;
	}

	.bm-hero-inner {
		padding-top: clamp(4.5rem, 18vw, 6rem);
		padding-bottom: clamp(4.5rem, 18vw, 6rem);
	}

	.bm-display {
		max-width: 100%;
		font-size: clamp(2.65rem, 13.5vw, 4.5rem) !important;
		letter-spacing: -0.055em !important;
		line-height: 0.95 !important;
	}

	.bm-lede {
		margin-top: 1.4rem !important;
		font-size: 1rem;
		line-height: 1.58;
	}

	.bm-actions {
		margin-top: 1.7rem !important;
	}

	.bm-metrics {
		margin-top: -20px !important;
		border-radius: 20px;
	}

	.bm-metrics .wp-block-column + .wp-block-column {
		border-top: 1px solid var(--bm-line);
		border-left: 0;
	}

	.bm-metrics .wp-block-column {
		padding: 1.25rem 1.35rem;
	}

	.bm-section {
		padding-top: clamp(4rem, 16vw, 5.5rem);
		padding-bottom: clamp(4rem, 16vw, 5.5rem);
	}

	.bm-section-heading {
		font-size: clamp(2.15rem, 10.5vw, 3.3rem) !important;
		letter-spacing: -0.045em !important;
		line-height: 1.03 !important;
	}

	.bm-section-intro {
		font-size: 1rem;
		line-height: 1.62;
	}

	.bm-card-grid,
	.bm-contact-grid {
		gap: 0.8rem !important;
	}

	.bm-card {
		min-height: 0;
		padding: 1.4rem;
		border-radius: 19px;
	}

	.bm-card h3 {
		margin-top: 1.8rem !important;
	}

	.bm-split {
		gap: 1.6rem !important;
	}

	.bm-panel {
		padding: 1.65rem;
		border-radius: 22px;
	}

	.bm-page-hero {
		padding-top: clamp(4.5rem, 17vw, 6rem);
		padding-bottom: clamp(3.75rem, 14vw, 5rem);
		border-radius: 0 0 24px 24px;
	}

	.bm-page-title {
		max-width: 100%;
		font-size: clamp(2.75rem, 13.5vw, 4.5rem) !important;
		letter-spacing: -0.052em !important;
		line-height: 0.97 !important;
	}

	.bm-page-intro {
		font-size: 1rem;
		line-height: 1.58;
	}

	.bm-contact-card {
		padding: 1.45rem;
		border-radius: 19px;
	}

	.bm-cta {
		padding: 2rem 1.5rem;
		border-radius: 22px;
	}

	.bm-cta h2 {
		font-size: clamp(2.1rem, 10.5vw, 3.2rem);
	}

	.bm-support-box {
		padding: 1.75rem 1.35rem;
		border-radius: 22px;
	}

	.bm-footer-inner {
		padding-top: 3rem;
		padding-bottom: 1.5rem;
	}

	.bm-footer-inner .wp-block-columns {
		gap: 1.8rem;
	}

	.bm-footer-inner .wp-block-column {
		flex-basis: 100% !important;
	}

	.bm-footer-meta {
		align-items: flex-start !important;
		gap: 0.4rem !important;
	}

	.bm-site-footer .wp-block-column,
	.bm-footer-meta {
		text-align: center;
	}

	.bm-site-footer .wp-block-navigation {
		width: 100%;
		justify-content: center;
	}

	.bm-site-footer .wp-block-navigation__container,
	.bm-footer-meta {
		align-items: center !important;
		justify-content: center;
	}
}

@media (min-width: 641px) and (max-width: 980px) {
	.page-id-8 .bm-card-grid .bm-card:last-child {
		width: calc(50% - 0.4rem);
		grid-column: 1 / -1;
		justify-self: center;
	}
}

@media (max-width: 819px) and (max-height: 620px) {
	.bm-site-header .wp-block-navigation__responsive-container-content {
		justify-content: flex-start !important;
		padding-top: 4rem !important;
		padding-bottom: 1rem !important;
	}

	.bm-site-header .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
		gap: 0.35rem !important;
	}

	.bm-site-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
		padding: 0.65rem 0.9rem !important;
		font-size: 1.05rem;
	}
}

@media (max-width: 640px) {
	.bm-card-grid,
	.bm-contact-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.bm-actions {
		width: 100%;
	}

	.bm-actions .wp-block-button {
		width: 100%;
	}

	.bm-actions .wp-block-button__link {
		width: 100%;
		display: flex;
		justify-content: center;
		text-align: center;
	}

	.bm-site-footer {
		border-radius: 22px 22px 0 0;
	}

	.bm-footer-meta {
		flex-direction: column;
	}
}

@media (max-width: 360px) {
	body {
		padding-right: 0.5rem !important;
		padding-left: 0.5rem !important;
	}

	.bm-brand {
		padding-left: 32px;
		font-size: 0.9rem;
	}

	.bm-brand::before {
		width: 24px;
		height: 24px;
	}

	.bm-display {
		font-size: clamp(2.45rem, 13.3vw, 3.2rem) !important;
	}

	.bm-page-title {
		font-size: clamp(2.55rem, 13.3vw, 3.4rem) !important;
	}

	.bm-eyebrow,
	.bm-kicker {
		font-size: 0.69rem;
		letter-spacing: 0.13em;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	* {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

@keyframes bm-menu-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.editor-styles-wrapper .bm-hero,
.editor-styles-wrapper .bm-page-hero {
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.editor-styles-wrapper .bm-card-grid > .block-editor-inner-blocks > .block-editor-block-list__layout {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.editor-styles-wrapper .bm-page-hero,
.editor-styles-wrapper .bm-section,
.editor-styles-wrapper .bm-card,
.editor-styles-wrapper .bm-panel,
.editor-styles-wrapper .bm-contact-card,
.editor-styles-wrapper .bm-support-box,
.editor-styles-wrapper .bm-cta {
	text-align: center;
}

.editor-styles-wrapper .bm-page-title,
.editor-styles-wrapper .bm-page-intro,
.editor-styles-wrapper .bm-section-heading,
.editor-styles-wrapper .bm-section-intro,
.editor-styles-wrapper .bm-card-number {
	margin-right: auto !important;
	margin-left: auto !important;
}

.editor-styles-wrapper .bm-actions,
.editor-styles-wrapper .wp-block-buttons {
	justify-content: center;
}

/* --------------------------------------------------------------------------
	Bowsher Modern 2.0 visual system
	Presentation only: all business content remains in editable WordPress blocks.
---------------------------------------------------------------------------- */

:root {
	--bm-blue: #3978ff;
	--bm-cyan: #2dd4ca;
	--bm-violet: #7c5cff;
	--bm-surface: #f4f7fb;
	--bm-line: rgba(93, 113, 138, 0.18);
	--bm-radius: 28px;
	--bm-radius-xl: 42px;
	--bm-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--bm-shadow: 0 28px 90px rgba(22, 38, 61, 0.14);
	--bm-shadow-soft: 0 18px 55px rgba(22, 38, 61, 0.09);
}

::selection {
	background: rgba(45, 212, 202, 0.32);
	color: var(--bm-ink);
}

body {
	background:
		radial-gradient(circle at 8% 3%, rgba(124, 92, 255, 0.1), transparent 27rem),
		radial-gradient(circle at 96% 14%, rgba(45, 212, 202, 0.11), transparent 30rem),
		#eef3f8;
	font-family: Aptos, Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	text-wrap: balance;
}

p,
li {
	text-wrap: pretty;
}

a:focus-visible,
button:focus-visible,
.wp-element-button:focus-visible {
	outline: 3px solid rgba(45, 212, 202, 0.72);
	outline-offset: 4px;
}

.bm-site-header {
	margin-top: 0.75rem;
	margin-bottom: 1rem;
	border: 1px solid rgba(255, 255, 255, 0.78);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.84);
	box-shadow: 0 14px 45px rgba(20, 39, 66, 0.09);
}

@media (min-width: 820px) {
	.bm-site-header {
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 0.75rem);
	}
}

.bm-header-inner {
	min-height: 72px;
}

.bm-brand::before {
	background: linear-gradient(135deg, var(--bm-violet), var(--bm-blue) 48%, var(--bm-cyan));
	box-shadow: 0 9px 25px rgba(57, 120, 255, 0.32);
}

.bm-site-header .wp-block-navigation-item__content {
	padding: 0.58rem 0.78rem;
	border-radius: 999px;
	transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.bm-site-header .wp-block-navigation-item__content:hover,
.bm-site-header .current-menu-item .wp-block-navigation-item__content {
	background: rgba(57, 120, 255, 0.08);
	color: var(--bm-blue);
	transform: translateY(-1px);
}

.bm-site-header .wp-block-navigation-item:last-child .wp-block-navigation-item__content {
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: linear-gradient(115deg, var(--bm-violet), var(--bm-blue));
	box-shadow: 0 10px 25px rgba(77, 87, 225, 0.24);
}

.bm-site-header .wp-block-navigation-item:last-child .wp-block-navigation-item__content:hover {
	background: linear-gradient(115deg, #6b4ff1, #2268ef);
	color: var(--bm-white);
}

.bm-hero,
.bm-page-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: var(--bm-radius-xl);
	background:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		radial-gradient(circle at 82% 22%, rgba(45, 212, 202, 0.25), transparent 26%),
		radial-gradient(circle at 25% 110%, rgba(124, 92, 255, 0.34), transparent 38%),
		linear-gradient(135deg, #06101d 0%, #0b1d34 58%, #11385b 100%);
	background-size: 64px 64px, 64px 64px, auto, auto, auto;
	box-shadow: 0 34px 100px rgba(5, 18, 35, 0.24);
}

.bm-page-hero::before {
	position: absolute;
	z-index: -1;
	right: -8rem;
	top: -10rem;
	width: 28rem;
	height: 28rem;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 50%;
	content: "";
	box-shadow: 0 0 100px rgba(45, 212, 202, 0.1);
}

.bm-hero-inner,
.bm-page-hero > .wp-block-group {
	position: relative;
	z-index: 2;
}

.bm-eyebrow,
.bm-kicker {
	width: fit-content;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 0.78rem;
	border: 1px solid rgba(57, 120, 255, 0.13);
	border-radius: 999px;
	background: rgba(57, 120, 255, 0.075);
}

.bm-eyebrow {
	border-color: rgba(45, 212, 202, 0.23);
	background: rgba(45, 212, 202, 0.09);
}

.home .bm-eyebrow,
.page:not(.home) .bm-page-hero .bm-eyebrow,
.bm-panel .bm-eyebrow,
.bm-cta .bm-eyebrow {
	margin-right: auto;
	margin-left: auto;
}

.bm-display,
.bm-page-title {
	filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.12));
}

.bm-gradient-text {
	background: linear-gradient(105deg, #ffffff 6%, #aaf8ef 42%, #88b5ff 73%, #c0aaff 100%);
	-webkit-background-clip: text;
	background-clip: text;
}

.bm-metrics {
	margin-top: -56px !important;
	border: 1px solid rgba(255, 255, 255, 0.78);
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.86);
	box-shadow: 0 26px 80px rgba(21, 39, 65, 0.16);
	backdrop-filter: blur(24px) saturate(135%);
}

.bm-metric-value {
	background: linear-gradient(110deg, var(--bm-ink), #274f7d);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.bm-section {
	position: relative;
	overflow: hidden;
	margin-top: 1rem !important;
	border: 1px solid rgba(255, 255, 255, 0.82);
	border-radius: 36px;
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 22px 70px rgba(20, 39, 66, 0.07);
}

.bm-section-soft {
	background:
		radial-gradient(circle at 10% 10%, rgba(124, 92, 255, 0.08), transparent 28%),
		radial-gradient(circle at 92% 88%, rgba(45, 212, 202, 0.1), transparent 30%),
		linear-gradient(145deg, rgba(247, 249, 253, 0.97), rgba(238, 244, 250, 0.96));
}

.bm-section-heading {
	color: #081426;
}

.bm-card-grid {
	gap: 1.15rem !important;
}

.bm-card,
.bm-contact-card {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border: 1px solid rgba(100, 121, 148, 0.17);
	border-radius: 26px;
	background: linear-gradient(155deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 253, 0.96));
	box-shadow: 0 12px 35px rgba(20, 39, 66, 0.07);
	transition: transform 260ms var(--bm-ease), border-color 260ms ease, box-shadow 260ms ease;
}

.bm-card::before,
.bm-contact-card::before {
	position: absolute;
	z-index: -1;
	top: 0;
	right: 0;
	left: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--bm-violet), var(--bm-blue), var(--bm-cyan));
	content: "";
	opacity: 0;
	transition: opacity 220ms ease;
}

.bm-card:hover,
.bm-contact-card:hover {
	transform: translateY(-7px);
	border-color: rgba(57, 120, 255, 0.32);
	box-shadow: 0 25px 60px rgba(20, 39, 66, 0.13);
}

.bm-card:hover::before,
.bm-contact-card:hover::before {
	opacity: 1;
}

.bm-card-number {
	width: 42px;
	height: 42px;
	border: 1px solid rgba(57, 120, 255, 0.12);
	border-radius: 14px;
	background: linear-gradient(145deg, #eef4ff, #e8f7f7);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.bm-card-featured {
	border-color: rgba(45, 212, 202, 0.28);
	background:
		radial-gradient(circle at 92% 4%, rgba(45, 212, 202, 0.21), transparent 34%),
		linear-gradient(145deg, #06101d, #102942);
	box-shadow: 0 25px 65px rgba(4, 16, 30, 0.22);
}

.bm-card-featured::before {
	opacity: 1;
}

.bm-panel {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background:
		radial-gradient(circle at 92% 8%, rgba(45, 212, 202, 0.22), transparent 34%),
		radial-gradient(circle at 4% 100%, rgba(124, 92, 255, 0.24), transparent 38%),
		linear-gradient(145deg, #07111f, #102740);
	box-shadow: 0 30px 75px rgba(5, 18, 35, 0.2);
}

.bm-panel::after {
	position: absolute;
	right: -4rem;
	bottom: -5rem;
	width: 13rem;
	height: 13rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	content: "";
}

.bm-cta {
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background:
		radial-gradient(circle at 92% 8%, rgba(45, 212, 202, 0.42), transparent 28%),
		radial-gradient(circle at 5% 100%, rgba(124, 92, 255, 0.44), transparent 34%),
		linear-gradient(125deg, #5d42e8 0%, #276bef 52%, #178eac 100%);
	box-shadow: 0 32px 85px rgba(57, 92, 215, 0.3);
}

.bm-cta h2 {
	color: var(--bm-white);
}

.bm-support-box {
	border: 1px solid rgba(255, 255, 255, 0.88);
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 28px 80px rgba(20, 39, 66, 0.14);
	backdrop-filter: blur(18px);
}

.bm-support-icon {
	background: linear-gradient(135deg, var(--bm-violet), var(--bm-blue) 52%, var(--bm-cyan));
	box-shadow: 0 18px 35px rgba(57, 120, 255, 0.25);
}

.wp-block-button__link,
.wp-element-button {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	box-shadow: 0 10px 26px rgba(57, 120, 255, 0.18);
	transition: transform 220ms var(--bm-ease), box-shadow 220ms ease, background 220ms ease;
}

.wp-block-button__link::after,
.wp-element-button::after {
	position: absolute;
	z-index: -1;
	top: -70%;
	left: -45%;
	width: 35%;
	height: 240%;
	background: rgba(255, 255, 255, 0.25);
	content: "";
	transform: rotate(24deg) translateX(-240%);
	transition: transform 520ms var(--bm-ease);
}

.wp-block-button__link:hover::after,
.wp-element-button:hover::after {
	transform: rotate(24deg) translateX(520%);
}

.bm-site-footer {
	margin-top: 1rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 38px 38px 0 0;
	background:
		radial-gradient(circle at 8% 0%, rgba(124, 92, 255, 0.18), transparent 25%),
		radial-gradient(circle at 92% 100%, rgba(45, 212, 202, 0.14), transparent 28%),
		linear-gradient(145deg, #040b14, #071321 62%, #0b2034);
	box-shadow: 0 -18px 65px rgba(10, 24, 42, 0.11);
}

.bm-site-footer a {
	transition: color 180ms ease;
}

.bm-site-footer a:hover {
	color: var(--bm-cyan);
}

.wp-site-blocks > .bm-site-header {
	animation: bm-header-arrive 620ms var(--bm-ease) both;
}

.bm-main .bm-hero-inner > *,
.bm-main .bm-page-hero > .wp-block-group > * {
	animation: bm-rise-in 720ms var(--bm-ease) both;
}

.bm-main .bm-hero-inner > :nth-child(2),
.bm-main .bm-page-hero > .wp-block-group > :nth-child(2) {
	animation-delay: 90ms;
}

.bm-main .bm-hero-inner > :nth-child(3),
.bm-main .bm-page-hero > .wp-block-group > :nth-child(3) {
	animation-delay: 170ms;
}

.bm-main .bm-hero-inner > :nth-child(4) {
	animation-delay: 240ms;
}

.bm-metrics {
	animation: bm-rise-in 760ms 280ms var(--bm-ease) both;
}

@keyframes bm-header-arrive {
	from {
		opacity: 0;
		transform: translateY(-14px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes bm-rise-in {
	from {
		opacity: 0;
		transform: translateY(24px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 819px) {
	.bm-site-header {
		margin-top: 0.45rem;
		margin-bottom: 0.7rem;
		border-radius: 19px;
		background: rgba(255, 255, 255, 0.96);
		backdrop-filter: none;
	}

	.bm-hero,
	.bm-page-hero {
		border-radius: 28px;
		box-shadow: 0 24px 65px rgba(5, 18, 35, 0.2);
	}

	.bm-metrics {
		margin-top: -22px !important;
		border-radius: 22px;
	}

	.bm-section {
		margin-top: 0.7rem !important;
		border-radius: 27px;
	}

	.bm-card,
	.bm-contact-card {
		border-radius: 22px;
	}

	.bm-card:hover,
	.bm-contact-card:hover {
		transform: translateY(-3px);
	}

	.bm-site-footer {
		border-radius: 28px 28px 0 0;
	}
}

.editor-styles-wrapper {
	background: #eef3f8;
}

.editor-styles-wrapper .bm-section {
	border: 1px solid rgba(100, 121, 148, 0.16);
	border-radius: 28px;
}

/* --------------------------------------------------------------------------
	Bowsher Modern 2.1 responsive system
	Fluid geometry across phones, tablets, laptops, and wide displays.
---------------------------------------------------------------------------- */

:root {
	--bm-fluid-gutter: clamp(0.625rem, calc(0.25rem + 2vw), 2.25rem);
	--bm-fluid-section-y: clamp(3.5rem, calc(2.5rem + 4vw), 7.5rem);
}

body {
	min-width: 0;
	padding-right: var(--bm-fluid-gutter) !important;
	padding-left: var(--bm-fluid-gutter) !important;
}

.wp-site-blocks,
.bm-main,
.bm-main > .wp-block-post-content,
.bm-header-inner,
.bm-footer-inner {
	width: 100%;
	max-width: 100%;
}

.bm-hero,
.bm-page-hero,
.bm-section,
.bm-site-header,
.bm-site-footer {
	max-width: 100%;
}

.bm-display {
	font-size: clamp(2.25rem, calc(1.4rem + 6vw), 7.5rem) !important;
}

.bm-page-title {
	font-size: clamp(2.25rem, calc(1.4rem + 5.8vw), 7rem) !important;
}

.bm-section-heading {
	font-size: clamp(2rem, calc(1.35rem + 3.25vw), 4.4rem) !important;
}

.bm-cta h2 {
	font-size: clamp(2rem, calc(1.4rem + 3vw), 4.3rem);
}

.bm-section {
	padding-top: var(--bm-fluid-section-y);
	padding-bottom: var(--bm-fluid-section-y);
}

.bm-card-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bm-contact-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1099px) {
	.bm-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.page-id-8 .bm-card-grid .bm-card:last-child {
		width: calc(50% - 0.575rem);
		grid-column: 1 / -1;
		justify-self: center;
	}
}

@media (min-width: 1100px) {
	.page-id-8 .bm-card-grid .bm-card:last-child {
		width: auto;
		grid-column: 2;
	}
}

@media (max-width: 699px) {
	.bm-card-grid,
	.bm-contact-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.page-id-8 .bm-card-grid .bm-card:last-child {
		width: auto;
		grid-column: auto;
	}
}

@media (max-width: 819px) {
	/* WordPress switches navigation at 600px by default. Keep one intentional
	   mobile mode through tablet widths so the header never expands or wraps. */
	.bm-site-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}

	.bm-site-header .wp-block-navigation__responsive-container-open {
		display: flex !important;
	}

	.bm-site-header .wp-block-navigation__responsive-container.is-menu-open {
		display: flex !important;
	}

	.bm-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close,
	.bm-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
		min-height: calc(100dvh - 2.5rem);
	}

	.bm-site-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-close,
	.bm-site-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-dialog,
	.bm-site-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-content {
		min-height: 0;
	}

	.bm-hero-inner,
	.bm-page-hero > .wp-block-group {
		padding-right: clamp(0.9rem, 4vw, 2rem) !important;
		padding-left: clamp(0.9rem, 4vw, 2rem) !important;
	}

	.bm-card,
	.bm-contact-card,
	.bm-panel,
	.bm-cta,
	.bm-support-box {
		max-width: 100%;
	}
}

@media (min-width: 820px) {
	.bm-site-header .wp-block-navigation__responsive-container-open {
		display: none !important;
	}
}

@media (max-width: 299px) {
	:root {
		--bm-fluid-gutter: 0.375rem;
	}

	.bm-header-inner {
		gap: 0.25rem !important;
	}

	.bm-brand {
		padding-left: 29px;
		font-size: 0.82rem;
		line-height: 1.15;
	}

	.bm-brand::before {
		width: 22px;
		height: 22px;
	}

	.bm-display,
	.bm-page-title {
		font-size: clamp(2rem, 15vw, 2.35rem) !important;
		letter-spacing: -0.045em !important;
	}

	.bm-page-title {
		font-size: clamp(1.875rem, 12vw, 2.15rem) !important;
		overflow-wrap: anywhere;
	}

	.bm-section-heading,
	.bm-cta h2 {
		font-size: clamp(1.75rem, 12vw, 2rem) !important;
	}

	.bm-card,
	.bm-contact-card,
	.bm-panel,
	.bm-cta,
	.bm-support-box {
		padding-right: 0.9rem;
		padding-left: 0.9rem;
	}
}

@media (max-width: 819px) and (max-height: 380px) {
	.bm-site-header .wp-block-navigation__responsive-container-content {
		padding-top: 4rem !important;
		padding-bottom: 0.5rem !important;
	}

	.bm-site-header .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
		gap: 0.2rem !important;
	}

	.bm-site-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
		padding: 0.4rem 0.7rem !important;
		font-size: 0.95rem;
		line-height: 1.15;
	}

	.bm-site-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item:last-child .wp-block-navigation-item__content {
		margin-top: 0.1rem;
	}
}

/* Editable WordPress Site Logo lockup. */
.bm-brand-lockup {
	min-width: 0;
	flex: 0 1 auto;
	align-items: center;
	gap: 0.7rem;
}

.bm-site-logo {
	flex: 0 0 auto;
	margin: 0 !important;
}

.bm-site-logo img,
.bm-site-logo .custom-logo {
	display: block;
	width: 88px;
	height: 88px;
	max-width: 88px;
	object-fit: contain;
}

.bm-brand-text {
	min-width: 0;
	margin: 0 !important;
	font-size: 1.05rem;
	font-weight: 760;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.bm-brand-text a {
	text-decoration: none;
}

.home .bm-main .bm-kicker {
	display: flex;
	margin-right: auto !important;
	margin-left: auto !important;
}

@media (max-width: 819px) {
	.bm-site-logo img,
	.bm-site-logo .custom-logo {
		width: 72px;
		height: 72px;
		max-width: 72px;
	}

	.bm-brand-text {
		font-size: 0.96rem;
	}
}

@media (max-width: 299px) {
	.bm-brand-lockup {
		gap: 0.35rem;
	}

	.bm-site-logo img,
	.bm-site-logo .custom-logo {
		width: 56px;
		height: 56px;
		max-width: 56px;
	}

	.bm-brand-text {
		font-size: 0.82rem;
	}
}
