/*
Theme Name: McBean Child
Theme URI: https://mcbean.co/
Description: Child theme for the Beaver Builder Theme.
Author: McBean Group
Template: bb-theme
Version: 1.55.18
Text Domain: mcbean-child
*/

/* Full-bleed the division-page rows still saved as fixed width
   (intro / services / CTA — matches the PROCON reference look). */
.fl-row.fl-row-fixed-width.mc-dvp-intro,
.fl-row.fl-row-fixed-width.mc-dvp-services,
.fl-row.fl-row-fixed-width.mc-dvp-cta,
.fl-row.fl-row-fixed-width.mc-oa-cta {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(-50vw + 50%) !important;
}

/* ==========================================================================
   Site-wide typography niceties.
   ========================================================================== */

/* `text-wrap: pretty` rebalances the last few lines of a paragraph so a
   single word doesn't drop to its own line (the orphan/widow problem).
   `text-wrap: balance` does the inverse for headings — distributes them
   evenly across lines so two-line titles don't have a long-then-short
   shape. Both are universally supported in 2026 browsers; no fallback
   needed. Applied broadly via `p` so it covers BB rich-text + heading
   modules without per-module setup. */
p {
	text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6,
.fl-heading {
	text-wrap: balance;
}

/* ==========================================================================
   Mobile row gutters — site-wide. BB's auto-spacing strips row side
   padding on small screens, leaving content flush against the viewport
   (first seen on the footer logo and the Our Approach intro). Enforce a
   consistent 20px gutter on every BB row. Deliberate full-bleed rows
   (contact-page office/map rows) are excluded; any component rule later
   in this file with equal-or-higher specificity still wins ties (e.g.
   the footer's 24px sides).
   ========================================================================== */

@media (max-width: 768px) {
	.fl-builder-content .fl-row:not(.mc-ct-office):not(.mc-pj-hero) > .fl-row-content-wrap {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}

	/* Same auto-spacing problem, vertical edition: a heading module
	   directly after a photo module loses its gap on small screens
	   (first seen on the Our Approach pillar cards) */
	.fl-module-photo + .fl-module-heading {
		margin-top: 16px !important;
	}
}

/* ==========================================================================
   Divisions mega menu — refinements on top of the MMM theme.
   Full-width is handled natively by setting panel_width = 100vw in MMM.
   This file only adds typographic polish to the title + description pairs.
   ========================================================================== */

/* Card hover state — subtle highlight on the whole link. Display
   flex so the injected division logo sits left of title+description. */
#mega-menu-wrap-header li.mega-menu-megamenu.mc-divisions-mega > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
	padding: 18px 20px !important;
	height: auto !important;
	line-height: 1.3 !important;
	border-radius: 8px;
	transition: background 180ms ease;
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 28px !important;
}

/* Division logo injected by walker_nav_menu_start_el in functions.php.
   Logos vary in aspect — square (Goodfix, Roofit), tall (Clean Direct),
   wide (Ashley Cooper, Living Green). Reserve a uniform slot and
   center each within it via object-fit: contain. Wide logos sit
   horizontally in their slot, square logos sit centered — every
   item carries the same visual footprint. */
#mega-menu-wrap-header li.mega-menu-megamenu.mc-divisions-mega .mc-mm-division-logo {
	flex: 0 0 auto;
	width: 130px !important;
	height: 70px !important;
	max-width: 130px;
	max-height: 70px;
	object-fit: contain;
	object-position: center center;
	background: transparent;
	border-radius: 0;
	padding: 0;
	transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
#mega-menu-wrap-header li.mega-menu-megamenu.mc-divisions-mega > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover .mc-mm-division-logo,
#mega-menu-wrap-header li.mega-menu-megamenu.mc-divisions-mega > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:focus .mc-mm-division-logo {
	transform: scale(1.04);
}

/* Roofit and Clean Direct source PNGs have a bit of extra bottom
   whitespace that makes them look low in their slot — nudge up. */
#mega-menu-wrap-header li.mega-menu-megamenu.mc-divisions-mega .mega-menu-item-619 .mc-mm-division-logo,
#mega-menu-wrap-header li.mega-menu-megamenu.mc-divisions-mega .mega-menu-item-621 .mc-mm-division-logo {
	transform: translateY(-4px);
}
#mega-menu-wrap-header li.mega-menu-megamenu.mc-divisions-mega .mega-menu-item-619 > a.mega-menu-link:hover .mc-mm-division-logo,
#mega-menu-wrap-header li.mega-menu-megamenu.mc-divisions-mega .mega-menu-item-619 > a.mega-menu-link:focus .mc-mm-division-logo,
#mega-menu-wrap-header li.mega-menu-megamenu.mc-divisions-mega .mega-menu-item-621 > a.mega-menu-link:hover .mc-mm-division-logo,
#mega-menu-wrap-header li.mega-menu-megamenu.mc-divisions-mega .mega-menu-item-621 > a.mega-menu-link:focus .mc-mm-division-logo {
	transform: translateY(-4px) scale(1.04);
}

/* Title + description container (MMM wraps them in .mega-description-group). */
#mega-menu-wrap-header li.mega-menu-megamenu.mc-divisions-mega .mega-description-group {
	flex: 1 1 auto;
	min-width: 0;
}

#mega-menu-wrap-header li.mega-menu-megamenu.mc-divisions-mega > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-header li.mega-menu-megamenu.mc-divisions-mega > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:focus {
	background: #f6faf7 !important;
}

/* Service name (bold, brand green) */
#mega-menu-wrap-header li.mega-menu-megamenu.mc-divisions-mega .mega-menu-title {
	display: block !important;
	font-family: "Montserrat", sans-serif !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #219f5a !important;
	line-height: 1.3 !important;
	margin-bottom: 4px !important;
	text-transform: none !important;
	font-style: normal !important;
}

/* Subtitle (grey, normal weight, no italic) */
#mega-menu-wrap-header li.mega-menu-megamenu.mc-divisions-mega .mega-menu-description {
	display: block !important;
	font-family: "Open Sans", sans-serif !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	font-style: normal !important;
	color: #666666 !important;
	line-height: 1.5 !important;
	text-transform: none !important;
}

#mega-menu-wrap-header li.mega-menu-megamenu.mc-divisions-mega > ul.mega-sub-menu > li.mega-menu-item:hover .mega-menu-title {
	color: #1a7544 !important;
}

/* Top-nav CTA — the "Contact" item is tagged `mc-nav-cta` so it
   reads as the primary action in the header, matching the site's
   standard green pill button. */
/* Add visual breathing room before the CTA pill. Standard items
   have padding 0 16px (32px text-to-text gap), but a coloured pill
   next to plain text reads as closer than two text labels, so bump
   the margin a bit higher than the literal half-gap.
   !important needed — MMM's reset (#mega-menu-wrap-header
   #mega-menu-header li.mega-menu-item { margin: 0; }) has higher
   specificity than a single-ID selector. */
#mega-menu-wrap-header #mega-menu-header > li.mc-nav-cta {
	margin-left: 28px !important;
}
#mega-menu-wrap-header > .mega-menu > li.mc-nav-cta > a.mega-menu-link {
	background: #219f5a !important;
	color: #ffffff !important;
	border-radius: 6px !important;
	padding: 10px 22px !important;
	font-family: "Open Sans", sans-serif !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	letter-spacing: 0.02em !important;
	line-height: 1.4 !important;
	box-shadow: 0 2px 6px rgba(33, 159, 90, 0.18);
	transition:
		background 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
		transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
		box-shadow 220ms cubic-bezier(0.2, 0.8, 0.2, 1) !important;
	height: auto !important;
	display: inline-flex !important;
	align-items: center !important;
}
#mega-menu-wrap-header > .mega-menu > li.mc-nav-cta > a.mega-menu-link:hover,
#mega-menu-wrap-header > .mega-menu > li.mc-nav-cta > a.mega-menu-link:focus {
	background: #1a7544 !important;
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(33, 159, 90, 0.28);
}

/* ==========================================================================
   Mobile menu (MaxMegaMenu burger, breakpoint 600px)
   ========================================================================== */

/* Burger lines — MMM's default is faint; use the logo near-black */
#mega-menu-wrap-header .mega-menu-toggle .mega-toggle-animated-inner,
#mega-menu-wrap-header .mega-menu-toggle .mega-toggle-animated-inner::before,
#mega-menu-wrap-header .mega-menu-toggle .mega-toggle-animated-inner::after {
	background-color: #1f1f1f !important;
}

@media (max-width: 600px) {
	/* Bigger tap targets, indented from the screen edge */
	#mega-menu-wrap-header #mega-menu-header > li.mega-menu-item > a.mega-menu-link {
		font-size: 17px !important;
		line-height: 1.4 !important;
		height: auto !important;
		padding: 14px 24px !important;
	}
	/* Submenu (division) links scale with them */
	#mega-menu-wrap-header #mega-menu-header li.mega-menu-item ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link {
		font-size: 15px !important;
		padding: 10px 36px !important;
	}
	/* Contact pill: drop the desktop offset so it lines up with the
	   items; keep the green button look */
	#mega-menu-wrap-header #mega-menu-header > li.mc-nav-cta {
		margin: 10px 24px 16px !important;
	}
	#mega-menu-wrap-header > .mega-menu > li.mc-nav-cta > a.mega-menu-link {
		display: inline-flex !important;
	}

	/* Divisions mega panel: the desktop grid (big logos + taglines in
	   columns) explodes on a phone — collapse to simple full-width
	   rows of small logo + division name, descriptions hidden */
	/* display only forced in the OPEN state (.mega-toggle-on) — an
	   unconditional display:block would defeat MMM's collapse toggle */
	#mega-menu-wrap-header li.mega-menu-megamenu.mc-divisions-mega.mega-toggle-on > ul.mega-sub-menu {
		display: block !important;
	}
	#mega-menu-wrap-header li.mega-menu-megamenu.mc-divisions-mega > ul.mega-sub-menu {
		width: 100% !important;
		padding: 0 0 8px !important;
	}
	#mega-menu-wrap-header li.mega-menu-megamenu.mc-divisions-mega > ul.mega-sub-menu > li.mega-menu-item {
		float: none !important;
		clear: both !important;
		display: block !important;
		width: 100% !important;
		padding: 0 !important;
		margin: 0 !important;
	}
	#mega-menu-wrap-header li.mega-menu-megamenu.mc-divisions-mega > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
		display: flex !important;
		align-items: center !important;
		gap: 14px;
		width: 100% !important;
		height: auto !important;
		padding: 10px 36px !important;
	}
	#mega-menu-wrap-header li.mega-menu-megamenu.mc-divisions-mega .mc-mm-division-logo {
		width: 72px !important;
		height: 36px !important;
		max-width: 72px;
		max-height: 36px;
	}
	#mega-menu-wrap-header li.mega-menu-megamenu.mc-divisions-mega .mega-menu-title {
		font-size: 15px !important;
		margin-bottom: 0 !important;
	}
	#mega-menu-wrap-header li.mega-menu-megamenu.mc-divisions-mega .mega-menu-description {
		display: none !important;
	}
}

/* ==========================================================================
   Site-wide button styling — applies to BB Button modules, WP core buttons,
   form submit buttons, and bb-theme buttons.

   Effect on hover:
     - lifts 2px with a soft brand-coloured shadow
     - background darkens to the hover-green
     - a subtle shine sweeps across the surface
   ========================================================================== */

.fl-button-wrap a.fl-button,
.fl-button,
a.wp-block-button__link,
.wp-block-button .wp-block-button__link,
button.gform_button,
/* GF (Orbital theme) renders the submit as an <input>, not a <button> */
input[type="submit"].gform_button,
input[type="submit"].fl-button,
button.fl-button {
	position: relative;
	display: inline-block;
	padding: 12px 28px !important;
	border: none !important;
	border-radius: 6px !important;
	background: #219f5a !important;
	color: #ffffff !important;
	font-family: "Open Sans", sans-serif !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	text-transform: none;
	line-height: 1.4 !important;
	box-shadow: 0 2px 6px rgba(33, 159, 90, 0.18);
	transition:
		background 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
		transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
		box-shadow 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
	overflow: hidden;
	cursor: pointer;
}

/* Sweep / shine pseudo-element */
.fl-button-wrap a.fl-button::before,
.fl-button::before,
a.wp-block-button__link::before,
.wp-block-button .wp-block-button__link::before,
button.gform_button::before,
button.fl-button::before {
	content: "";
	position: absolute;
	top: 0;
	left: -75%;
	width: 50%;
	height: 100%;
	background: linear-gradient(
		120deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.28) 50%,
		rgba(255, 255, 255, 0) 100%
	);
	transform: skewX(-20deg);
	transition: left 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
	pointer-events: none;
}

/* Inner content stacks above the sweep */
.fl-button-wrap a.fl-button > *,
.fl-button > *,
a.wp-block-button__link > *,
.wp-block-button .wp-block-button__link > *,
button.gform_button > *,
button.fl-button > * {
	position: relative;
	z-index: 1;
}

/* Hover state — lift, darken, deeper shadow, kick the shine across */
.fl-button-wrap a.fl-button:hover,
.fl-button-wrap a.fl-button:focus,
.fl-button:hover,
.fl-button:focus,
a.wp-block-button__link:hover,
a.wp-block-button__link:focus,
.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus,
button.gform_button:hover,
button.gform_button:focus,
input[type="submit"].gform_button:hover,
input[type="submit"].gform_button:focus,
input[type="submit"].fl-button:hover,
input[type="submit"].fl-button:focus,
button.fl-button:hover,
button.fl-button:focus {
	background: #1a7544 !important;
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(33, 159, 90, 0.28);
	text-decoration: none !important;
}

.fl-button-wrap a.fl-button:hover::before,
.fl-button:hover::before,
a.wp-block-button__link:hover::before,
.wp-block-button .wp-block-button__link:hover::before,
button.gform_button:hover::before,
button.fl-button:hover::before {
	left: 125%;
}

/* Active / clicked — settles back down */
.fl-button-wrap a.fl-button:active,
.fl-button:active,
a.wp-block-button__link:active,
.wp-block-button .wp-block-button__link:active,
button.gform_button:active,
input[type="submit"].gform_button:active,
button.fl-button:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(33, 159, 90, 0.18);
	transition-duration: 90ms;
}

/* Keyboard focus ring (a11y) */
.fl-button-wrap a.fl-button:focus-visible,
.fl-button:focus-visible,
a.wp-block-button__link:focus-visible,
.wp-block-button .wp-block-button__link:focus-visible,
button.gform_button:focus-visible,
input[type="submit"].gform_button:focus-visible,
button.fl-button:focus-visible {
	outline: 3px solid rgba(33, 159, 90, 0.45);
	outline-offset: 3px;
}

/* Hero button (home page, class mc-hero-btn) — white surface so it
   reads against the green hero band; deep-green label, near-white
   green-tinted hover. NOTE: the BB button module puts .fl-button-wrap
   on the module div itself (not a nested wrapper), so the override
   chains the classes for specificity over the site-wide green rules. */
.fl-module.mc-hero-btn.fl-button-wrap a.fl-button {
	background: #ffffff !important;
	color: #0f3a24 !important;
	box-shadow: 0 2px 6px rgba(15, 58, 36, 0.2);
}
.fl-module.mc-hero-btn.fl-button-wrap a.fl-button .fl-button-text {
	color: #0f3a24 !important;
}
.fl-module.mc-hero-btn.fl-button-wrap a.fl-button:hover,
.fl-module.mc-hero-btn.fl-button-wrap a.fl-button:focus {
	background: #f6faf7 !important;
	color: #0f3a24 !important;
	box-shadow: 0 10px 22px rgba(15, 58, 36, 0.25);
}

/* "Outline" button variant — add class="fl-button-outline" to opt in */
.fl-button.fl-button-outline,
a.fl-button.fl-button-outline {
	background: transparent !important;
	color: #219f5a !important;
	box-shadow: inset 0 0 0 2px #219f5a;
}

.fl-button.fl-button-outline:hover,
a.fl-button.fl-button-outline:hover {
	background: #219f5a !important;
	color: #ffffff !important;
	box-shadow: inset 0 0 0 2px #219f5a, 0 10px 22px rgba(33, 159, 90, 0.28);
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
	.fl-button,
	.fl-button-wrap a.fl-button,
	a.wp-block-button__link,
	.wp-block-button .wp-block-button__link,
	button.gform_button,
	button.fl-button {
		transition: background 120ms linear, color 120ms linear;
	}
	.fl-button:hover,
	.fl-button-wrap a.fl-button:hover {
		transform: none;
	}
	.fl-button::before,
	.fl-button-wrap a.fl-button::before {
		display: none;
	}
}

/* ==========================================================================
   Service Card — styles for the McBean Service Card custom BB module.
   Markup output by the module is a single <a class="mc-service-card">
   containing an img, an overlay span and a title span.
   ========================================================================== */

.mc-service-card {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 12px;
	overflow: hidden;
	background: #1a1a1a;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
	text-decoration: none !important;
	color: #ffffff;
	transform: translateZ(0);   /* force GPU layer so border-radius clipping
	                               applies atomically on every frame — kills the
	                               sharp-corner flash on hover */
	transition:
		transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
		box-shadow 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mc-service-card:hover,
.mc-service-card:focus {
	transform: translate3d(0, -4px, 0);   /* keep the GPU layer (translateZ) while lifting */
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
	outline: none;
}

.mc-service-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mc-service-card:hover .mc-service-card__img,
.mc-service-card:focus .mc-service-card__img {
	transform: scale(1.06);
}

.mc-service-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.1) 0%,
		rgba(0, 0, 0, 0.35) 55%,
		rgba(0, 0, 0, 0.75) 100%
	);
	z-index: 1;
	pointer-events: none;
}

.mc-service-card__title {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 24px;
	z-index: 2;
	padding: 0 20px;
	text-align: center;
	color: #ffffff;
	font-family: "Montserrat", sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
}

/* Brand-green accent line slides in across the bottom on hover */
.mc-service-card::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: #219f5a;
	z-index: 3;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mc-service-card:hover::after,
.mc-service-card:focus::after {
	transform: scaleX(1);
}

/* Glyph-echo corner wedge — small triangular accent in the top-right corner.
   Animates via transform: scale (GPU) rather than width/height (layout) so
   the rounded card corner never flashes a sharp tip during the transition. */
.mc-service-card::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 56px;
	height: 56px;
	background: #219f5a;
	clip-path: polygon(100% 0, 0 0, 100% 100%);
	z-index: 4;
	transform-origin: top right;
	transform: scale(1);
	transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
	will-change: transform;
}

.mc-service-card:hover::before,
.mc-service-card:focus::before {
	transform: scale(1.36);   /* 56px → ~76px, but smooth */
}

/* Smaller heading on narrow screens + breathing room between stacked cards */
@media (max-width: 768px) {
	.mc-service-card__title {
		font-size: 18px;
		bottom: 18px;
	}
	/* NOTE: no :last-child margin reset here — the cards sit in several
	   column-groups, so each group's last column matched and dropped
	   its gap mid-list. Trailing margin on the final card is absorbed
	   by the row's bottom padding. */
	.fl-module-mc-service-card {
		margin-bottom: 18px !important;
	}
	/* BB keeps fl-col-small columns 2-up on mobile but auto-spacing
	   strips their padding — cards end up flush. Restore gutters. */
	.fl-col.fl-col-small:has(.fl-module-mc-service-card) {
		padding: 0 7px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mc-service-card,
	.mc-service-card__img,
	.mc-service-card::after {
		transition: none;
	}
	.mc-service-card:hover {
		transform: none;
	}
	.mc-service-card:hover .mc-service-card__img {
		transform: none;
	}
}

/* ==========================================================================
   Themer header — subtle drop shadow (now that it's sticky)
   Targets the <header> element BB outputs with data-type="header".
   ========================================================================== */

.fl-builder-content[data-type="header"] {
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
	position: relative;
	z-index: 100;
}

/* Deepen slightly when BB sticks/shrinks it on scroll */
.fl-builder-content[data-type="header"].fl-theme-builder-header-sticky,
.fl-builder-content[data-type="header"].fl-theme-builder-header-shrink {
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
}

/* ==========================================================================
   Multi-Trade Service row — video container polish + eyebrow label
   ========================================================================== */

/* Eyebrow label above the main heading */
.mc-eyebrow,
.mc-eyebrow h1, .mc-eyebrow h2, .mc-eyebrow h3,
.mc-eyebrow h4, .mc-eyebrow h5, .mc-eyebrow h6 {
	text-transform: uppercase !important;
	letter-spacing: 0.18em !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
}

/* Video column — rounded card with shadow + offset green block behind it */
.fl-col.mc-video-card {
	position: relative;
}

/* Big diagonal wedge anchored to the viewport's left edge — sweeps in from
   the bottom-left, echoing the M glyph's angular cuts. Lives on the row
   (which spans full viewport) rather than the column. Used by both the
   homepage's Multi-Trade Service row and the Careers page's
   "Why Work With McBean" row — same visual pattern, same selectors.

   ⚠ Scoped to body:not(.fl-builder-edit) so the BB editor's overlay click
   layer isn't blocked by our overflow + z-index. Front-end only. */
body:not(.fl-builder-edit) .fl-row.mc-multi-trade-row,
body:not(.fl-builder-edit) .fl-row.mc-cr-why {
	position: relative;
	overflow: hidden;
}

body:not(.fl-builder-edit) .fl-row.mc-multi-trade-row::before,
body:not(.fl-builder-edit) .fl-row.mc-cr-why::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 40vw;
	height: 55%;
	background: #219f5a;
	clip-path: polygon(0 0, 0 100%, 100% 100%);
	z-index: 0;
	pointer-events: none;
}

body:not(.fl-builder-edit) .fl-row.mc-multi-trade-row > .fl-row-content-wrap,
body:not(.fl-builder-edit) .fl-row.mc-multi-trade-row .fl-row-content,
body:not(.fl-builder-edit) .fl-row.mc-cr-why > .fl-row-content-wrap,
body:not(.fl-builder-edit) .fl-row.mc-cr-why .fl-row-content {
	position: relative;
	z-index: 1;
}

/* The video itself sits on top of the green block */
.fl-col.mc-video-card .fl-module-video {
	position: relative;
	z-index: 1;
}

/* Make the WP shortcode wrapper full-width and style the native <video>. */
.fl-col.mc-video-card .fl-module-video .wp-video {
	width: 100% !important;
	max-width: 100% !important;
}

.fl-col.mc-video-card .fl-module-video video {
	width: 100% !important;
	height: auto !important;
	display: block;
	border-radius: 12px;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
	background: #000;
}

/* On narrow screens, drop the offset block (would push off-screen) */
@media (max-width: 768px) {
	.fl-col.mc-video-card::before {
		display: none;
	}
}

/* ==========================================================================
   Division logo strip — give each logo room to breathe + subtle hover
   ========================================================================== */

.fl-row.mc-logo-strip .fl-module-photo .fl-photo {
	display: flex;
	align-items: center;
	justify-content: center;
}

.fl-row.mc-logo-strip .fl-photo-img {
	max-width: 100%;
	height: auto;
	max-height: 90px;
	width: auto !important;
	object-fit: contain;
	transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
		filter 280ms ease;
	filter: saturate(0.95);
}

/* Mobile: logos in 2 columns instead of a 6-deep stack. `body` prefix
   out-specifies BB's responsive col-stacking (.fl-col width !important). */
@media (max-width: 768px) {
	body .fl-row.mc-logo-strip .fl-col-group {
		display: flex !important;
		flex-wrap: wrap;
		align-items: center;
	}
	body .fl-row.mc-logo-strip .fl-col-group .fl-col {
		width: 50% !important;
		max-width: 50% !important;
		float: none !important;
		clear: none !important;
	}
	.fl-row.mc-logo-strip .fl-photo-img {
		max-height: 56px;
	}
	.fl-row.mc-logo-strip .fl-module-photo {
		margin: 14px 0;
	}
}

.fl-row.mc-logo-strip .fl-photo a:hover .fl-photo-img,
.fl-row.mc-logo-strip .fl-photo a:focus .fl-photo-img {
	transform: scale(1.06);
	filter: saturate(1.1);
}

/* ==========================================================================
   Themer Footer — black, stylish, with brand-green accents
   ========================================================================== */

.fl-row.mc-footer {
	position: relative;
}

/* Thin green accent strip across the very top of the footer */
.fl-row.mc-footer::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: linear-gradient(90deg, #219f5a 0%, #1a7544 50%, #219f5a 100%);
	z-index: 1;
}

/* Section headings — small caps with a short green underline */
.fl-row.mc-footer .mc-footer-heading {
	text-transform: uppercase;
	letter-spacing: 0.18em;
	position: relative;
	padding-bottom: 12px;
	margin-bottom: 18px;  /* breathing room below the green underline */
}

.fl-row.mc-footer .mc-footer-heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 28px;
	height: 2px;
	background: #219f5a;
}

/* Footer brand — white wordmark PNG (attachment uploaded by Jenn). */
.fl-row.mc-footer .mc-footer-logo {
	margin: 0 0 22px;
}
.fl-row.mc-footer .mc-footer-logo .mc-footer-logo__link {
	display: inline-block;
	line-height: 0;
}
.fl-row.mc-footer .mc-footer-logo .mc-footer-logo__img {
	display: block;
	width: auto;
	height: auto;
	max-width: 180px;
	max-height: 42px;
}

/* Footer menu — clean vertical list, no bullets */
.fl-row.mc-footer .mc-footer-menu ul.menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.fl-row.mc-footer .mc-footer-menu ul.menu li {
	margin: 0 0 10px;
	padding: 0;
	border: 0;
}

.fl-row.mc-footer .mc-footer-menu ul.menu li a {
	color: #c8c8c8 !important;
	font-size: 14px;
	font-family: "Open Sans", sans-serif;
	text-decoration: none;
	padding: 0;
	border: 0;
	display: inline-block;
	transition: color 180ms ease, transform 180ms ease, padding 180ms ease;
}

.fl-row.mc-footer .mc-footer-menu ul.menu li a:hover {
	color: #219f5a !important;
	padding-left: 8px;
}

/* Tiny chevron on hover for link feedback */
.fl-row.mc-footer .mc-footer-menu ul.menu li a::before {
	content: "›";
	display: inline-block;
	color: #219f5a;
	opacity: 0;
	margin-right: 0;
	width: 0;
	overflow: hidden;
	transition: opacity 180ms ease, width 180ms ease, margin-right 180ms ease;
}

.fl-row.mc-footer .mc-footer-menu ul.menu li a:hover::before {
	opacity: 1;
	width: 12px;
	margin-right: 4px;
}

/* Social icons — round chips with subtle hover lift, left-aligned
   to sit under the brand logo. BB applies justify-content: center
   on the icon-group flex container per-instance, so we override
   that (not text-align). */
.fl-row.mc-footer .mc-footer-social .fl-icon-group {
	justify-content: flex-start !important;
	text-align: left;
}
.fl-row.mc-footer .mc-footer-social .fl-icon {
	background: #1a1a1a;
	border-radius: 50%;
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 220ms ease, transform 220ms ease;
}

.fl-row.mc-footer .mc-footer-social .fl-icon:hover {
	background: #219f5a;
	transform: translateY(-2px);
}

.fl-row.mc-footer .mc-footer-social .fl-icon i {
	color: #fff;
	font-size: 14px;
}

/* Accreditations — individual white-on-transparent PNGs (CHAS + FSB
   so far) rendered as a row of even-height marks directly on the
   black footer. As Jenn sources the other badges (SafeContractor,
   Safety First, etc.) just add their <img> to the HTML module in
   the footer Themer layout — they'll pick up the same row sizing. */
.fl-row.mc-footer .mc-footer-accred .mc-footer-accred__row {
	display: grid;
	/* third column wider: the SafeContractor roundel reads optically
	   smaller than the landscape badges, so it gets more room */
	grid-template-columns: 1fr 1fr 1.35fr;
	align-items: center;
	justify-items: start;
	gap: 24px 20px;
	margin-top: 18px;
}
.fl-row.mc-footer .mc-footer-accred .mc-footer-accred__logo {
	display: block;
	width: auto;
	height: auto;
	max-height: 54px;
	max-width: 100%;
	object-fit: contain;
	opacity: 0.92;
	transition: opacity 180ms ease;
}
.fl-row.mc-footer .mc-footer-accred .mc-footer-accred__logo:hover {
	opacity: 1;
}
/* Portrait marks (Armed Forces Covenant) get a taller cap — at the
   standard landscape cap a portrait logo shrinks too narrow to read */
.fl-row.mc-footer .mc-footer-accred .mc-footer-accred__logo--tall {
	max-height: 76px;
}
/* Circular seals (SafeContractor) — taller cap to balance optically */
.fl-row.mc-footer .mc-footer-accred .mc-footer-accred__logo--seal {
	max-height: 64px;
}

/* Subscribe form — compact dark stacked form under the social icons.
   Stock BB subscribe-form module (MailChimp-connected), class set on
   the module node in the footer Themer layout. */
.fl-row.mc-footer .mc-footer-subscribe {
	margin-top: 28px;
	max-width: 300px;
}

.fl-row.mc-footer .mc-footer-subscribe .fl-form-field {
	margin-bottom: 10px;
}

.fl-row.mc-footer .mc-footer-subscribe .fl-form-field input[type="text"],
.fl-row.mc-footer .mc-footer-subscribe .fl-form-field input[type="email"] {
	width: 100%;
	background: #1a1a1a;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 6px;
	color: #fff;
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
	line-height: 1.4;
	padding: 10px 14px;
	transition: border-color 180ms ease, background 180ms ease;
}

.fl-row.mc-footer .mc-footer-subscribe .fl-form-field input::placeholder {
	color: #8a8a8a;
}

.fl-row.mc-footer .mc-footer-subscribe .fl-form-field input:focus {
	background: #111;
	border-color: #219f5a;
	outline: none;
}

/* Button — match the brand CTA look; full width so it lines up with
   the inputs above it */
.fl-row.mc-footer .mc-footer-subscribe .fl-form-button a.fl-button {
	display: block;
	width: 100%;
	background: #219f5a !important;
	border: 0 !important;
	border-radius: 6px;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-align: center;
	padding: 12px 20px;
	transition: background 180ms ease, transform 180ms ease;
}

.fl-row.mc-footer .mc-footer-subscribe .fl-form-button a.fl-button:hover {
	background: #1a7544 !important;
	transform: translateY(-1px);
}

.fl-row.mc-footer .mc-footer-subscribe .fl-form-button a.fl-button .fl-button-text {
	color: #fff !important;
}

/* Status messages — success in the light brand green; errors keep
   BB's red, just sized down to fit the column */
.fl-row.mc-footer .mc-footer-subscribe .fl-form-error-message {
	font-size: 12px;
	margin-top: 6px;
}

.fl-row.mc-footer .mc-footer-subscribe .fl-form-success-message {
	color: #9bd1ad;
	font-size: 13px;
}

/* Bottom bar — thin divider above */
.fl-row.mc-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Mobile: stacked bottom-bar columns keep their desktop left/right
   alignment and full text size — centre and shrink both lines */
@media (max-width: 768px) {
	.fl-row.mc-footer-bottom > .fl-row-content-wrap {
		padding: 16px 24px 20px !important;
	}
	.fl-row.mc-footer-bottom .fl-rich-text,
	.fl-row.mc-footer-bottom .fl-rich-text p {
		text-align: center !important;
	}
	.fl-row.mc-footer-bottom .fl-rich-text p {
		font-size: 13px;
		line-height: 1.6;
		margin-bottom: 4px;
	}
}

/* Mobile — stack columns and centre the brand block */
@media (max-width: 768px) {
	.fl-row.mc-footer .mc-footer-heading {
		margin-top: 24px;
	}
	/* BB auto-spacing strips row padding on small screens — logo ends
	   up flush against the viewport edge. Restore sides, boost top. */
	.fl-row.mc-footer > .fl-row-content-wrap {
		padding: 48px 24px 28px !important;
	}
	/* Newsletter box: full width on mobile, clear gap below it */
	.fl-row.mc-footer .mc-footer-subscribe {
		max-width: none;
		margin-bottom: 28px;
	}
}

/* ==========================================================================
   404 page (Themer layout "404 Page", .mc-404) — centered, friendly,
   brand eyebrow with dashes both sides.
   ========================================================================== */

.fl-row.mc-404 > .fl-row-content-wrap {
	padding: 110px 20px 120px;
}

.fl-row.mc-404 {
	text-align: center;
	background: #fff;
}

.fl-row.mc-404 .mc-404-eyebrow .fl-heading {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #219f5a;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 0;
}

.fl-row.mc-404 .mc-404-eyebrow .fl-heading::before,
.fl-row.mc-404 .mc-404-eyebrow .fl-heading::after {
	content: "";
	width: 26px;
	height: 2px;
	background: #219f5a;
}

.fl-row.mc-404 .mc-404-heading .fl-heading {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 52px;
	line-height: 1.15;
	color: #0f3a24;
	margin: 32px 0 16px;
}

.fl-row.mc-404 .mc-404-text .fl-rich-text p {
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: #3b3b3b;
	max-width: 520px;
	margin: 0 auto 30px;
}

.fl-row.mc-404 .mc-404-text .fl-rich-text a {
	color: #219f5a;
	font-weight: 600;
	text-decoration: none;
	transition: color 180ms ease;
}

.fl-row.mc-404 .mc-404-text .fl-rich-text a:hover {
	color: #1a7544;
	text-decoration: underline;
}

.fl-row.mc-404 .mc-404-button .fl-button-wrap {
	text-align: center;
}

.fl-row.mc-404 .mc-404-button a.fl-button {
	background: #219f5a !important;
	border: 0 !important;
	border-radius: 6px;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 14px 30px;
	transition: background 180ms ease, transform 180ms ease;
}

.fl-row.mc-404 .mc-404-button a.fl-button:hover {
	background: #1a7544 !important;
	transform: translateY(-1px);
}

.fl-row.mc-404 .mc-404-button a.fl-button .fl-button-text {
	color: #fff !important;
}

@media (max-width: 768px) {
	.fl-row.mc-404 > .fl-row-content-wrap {
		padding: 70px 20px 80px;
	}
	.fl-row.mc-404 .mc-404-heading .fl-heading {
		font-size: 36px;
	}
}

/* ==========================================================================
   Global paragraph spacing — 20px gap between consecutive paragraphs.
   `body` prefix bumps specificity to beat bb-theme's base.min.css rule
   `p { margin: 0 0 10px }` which loads AFTER the child stylesheet.
   ========================================================================== */

body p {
	margin-bottom: 20px;
}

/* Don't push the container with a trailing margin */
body p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   "What We Do" service tiles — Callout-in-Column card styling.
   The .fl-col gets outer padding (acts as the gap between cards) and the
   inner .fl-col-content becomes the visible card.
   ========================================================================== */

.fl-col.mc-service-tile {
	padding: 18px !important;   /* gap between adjacent cards (~36px total between cards) */
}

.fl-col.mc-service-tile > .fl-col-content {
	background: #eef7f1;            /* soft brand-green tint */
	border-radius: 12px;
	padding: 28px 24px;
	border-left: 4px solid #219f5a;
	height: 100%;
	box-sizing: border-box;
}

/* Icon — small solid brand-green chip above the heading */
.fl-col.mc-service-tile .fl-callout-photo-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: #ffffff;            /* contrast against the green card */
	margin-bottom: 16px;
}

.fl-col.mc-service-tile .fl-callout-photo-icon i {
	color: #219f5a;
	font-size: 22px !important;
	line-height: 1;
}

/* Tighten the callout's internal spacing */
.fl-col.mc-service-tile .fl-callout-title {
	margin-bottom: 8px;
}

.fl-col.mc-service-tile .fl-callout-text-wrap p {
	color: #4a4a4a;
	margin: 0;
	line-height: 1.55;
}

/* ==========================================================================
   "Why Clients Choose McBean" — 50/50 split, image left, stacked reasons right
   ========================================================================== */

.fl-col.mc-reasons-image {
	min-height: 680px;
}

/* BB renders the bg image on .fl-col-content (the inner wrapper), so the
   overlay needs to live there too. */
.fl-col.mc-reasons-image > .fl-col-content {
	position: relative;
	overflow: hidden;
}

/* Brand-green triangular wedge, anchored to the bottom-right of the image */
body:not(.fl-builder-edit) .fl-col.mc-reasons-image > .fl-col-content::after {
	content: "";
	position: absolute;
	inset: 0;
	background: #219f5a;
	clip-path: polygon(60% 0, 100% 0, 100% 35%);
	opacity: 0.88;
	pointer-events: none;
}

/* 2x2 grid of white cards — use CSS Grid on the right column's content
   so ALL 4 cards share the same row height regardless of text length.
   display:contents on the column-groups pulls cards up as direct grid children. */
.fl-col.mc-reasons-content > .fl-col-content {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	align-items: stretch;
}

.fl-col.mc-reasons-content > .fl-col-content > .fl-col-group {
	display: contents;
}

/* Heading spans both columns */
.fl-col.mc-reasons-content > .fl-col-content > .fl-module-heading {
	grid-column: 1 / -1;
}

/* Each card column — width handled by grid now, not BB's 50% width */
.fl-col.mc-reason-card-white {
	padding: 0 !important;
	width: auto !important;
	float: none !important;
}

.fl-col.mc-reason-card-white > .fl-col-content {
	background: #ffffff;
	padding: 26px 24px;
	border-radius: 10px;
	height: 100%;
	box-sizing: border-box;
}

@media (max-width: 768px) {
	.fl-col.mc-reasons-image {
		min-height: 280px;
	}
	.fl-col.mc-reasons-content {
		padding: 48px 28px !important;
	}
}

/* ==========================================================================
   Inline McBean glyph in heading text — keeps a clean baseline with the
   rest of the heading, scales with font-size.
   ========================================================================== */

.mc-heading-glyph {
	display: inline-block;
	height: 0.82em;       /* wordmark is wider than a glyph — slightly shorter to balance */
	width: auto;
	vertical-align: -0.05em;
	margin-left: 12px;
}

/* Glyph at the top of each Why Clients card — about half the previous size */
.fl-col.mc-reason-card-white .mc-card-glyph {
	margin-bottom: 12px;
}

.fl-col.mc-reason-card-white .mc-card-glyph .fl-photo-img {
	max-height: 22px;
	width: auto;
	display: block;
}

/* ==========================================================================
   Recent Projects module — "More Recent Work" row.
   Markup:
   .mc-recent-projects
     .mc-recent-projects__header
       h2.mc-recent-projects__heading
       a.mc-recent-projects__viewall (+ .__viewall-arrow)
     ul.mc-recent-projects__grid
       li.mc-recent-projects__card
         a.mc-recent-projects__link-block
           span.mc-recent-projects__media (with __img, __num, __scrim,
                                            __cta-overlay (+ __cta-arrow))
           span.mc-recent-projects__body (h3 __title, p __desc)
   The grid is auto-fit so a row of three cards centres on desktop and
   collapses to one column on mobile.
   ========================================================================== */

.mc-recent-projects {
	background: #f6faf7;
	padding: 70px clamp(20px, 6vw, 80px) 80px;
	border-radius: 12px;
}

.mc-recent-projects__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin: 0 0 36px;
	padding: 0 0 18px;
	border-bottom: 1px solid rgba(15, 58, 36, 0.12);
}

.mc-recent-projects__heading {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 30px;
	line-height: 1.2;
	margin: 0;
	color: #0f3a24;
	letter-spacing: -0.01em;
}

/* Match the site's standard green pill button (see .fl-button block
   at the top of this stylesheet). */
.mc-recent-projects__viewall {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 6px;
	background: #219f5a;
	color: #ffffff;
	font-family: "Open Sans", sans-serif;
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.02em;
	line-height: 1.4;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
	box-shadow: 0 2px 6px rgba(33, 159, 90, 0.18);
	transition:
		background 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
		transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
		box-shadow 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mc-recent-projects__viewall-arrow {
	transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
	font-size: 16px;
}

.mc-recent-projects__viewall:hover,
.mc-recent-projects__viewall:focus {
	background: #1a7544;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(33, 159, 90, 0.28);
	text-decoration: none;
}

.mc-recent-projects__viewall:hover .mc-recent-projects__viewall-arrow,
.mc-recent-projects__viewall:focus .mc-recent-projects__viewall-arrow {
	transform: translateX(4px);
}

.mc-recent-projects__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 28px;
}

.mc-recent-projects__grid[data-count="1"] {
	grid-template-columns: minmax(0, 520px);
	justify-content: start;
}

.mc-recent-projects__card {
	display: flex;
}

.mc-recent-projects__link-block {
	display: flex;
	flex-direction: column;
	width: 100%;
	background: #ffffff;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 1px 2px rgba(15, 58, 36, 0.05);
	transition: transform 250ms ease, box-shadow 250ms ease;
}

.mc-recent-projects__link-block:hover,
.mc-recent-projects__link-block:focus {
	transform: translateY(-4px);
	box-shadow: 0 14px 28px rgba(15, 58, 36, 0.12);
	color: inherit;
}

.mc-recent-projects__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #e7efe9;
}

.mc-recent-projects__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 500ms ease;
}

.mc-recent-projects__link-block:hover .mc-recent-projects__img,
.mc-recent-projects__link-block:focus .mc-recent-projects__img {
	transform: scale(1.06);
}

.mc-recent-projects__num {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.18em;
	color: #ffffff;
	background: rgba(15, 58, 36, 0.85);
	padding: 6px 10px;
	border-radius: 4px;
}

.mc-recent-projects__scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(15, 58, 36, 0) 45%, rgba(15, 58, 36, 0.75) 100%);
	opacity: 0;
	transition: opacity 250ms ease;
	pointer-events: none;
}

.mc-recent-projects__cta-overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 16px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: "Montserrat", sans-serif;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #ffffff;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 250ms ease, transform 250ms ease;
	pointer-events: none;
}

.mc-recent-projects__cta-arrow {
	font-size: 16px;
}

.mc-recent-projects__link-block:hover .mc-recent-projects__scrim,
.mc-recent-projects__link-block:focus .mc-recent-projects__scrim {
	opacity: 1;
}

.mc-recent-projects__link-block:hover .mc-recent-projects__cta-overlay,
.mc-recent-projects__link-block:focus .mc-recent-projects__cta-overlay {
	opacity: 1;
	transform: translateY(0);
}

.mc-recent-projects__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 22px 24px 26px;
}

.mc-recent-projects__title {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 19px;
	line-height: 1.3;
	margin: 0;
	color: #0f3a24;
}

.mc-recent-projects__desc {
	font-family: "Open Sans", sans-serif;
	font-size: 14.5px;
	line-height: 1.55;
	color: #4a5d52;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mc-recent-projects__empty {
	font-family: "Open Sans", sans-serif;
	color: #4a5d52;
	font-style: italic;
}

@media (max-width: 700px) {
	.mc-recent-projects {
		padding: 48px 22px 56px;
	}

	.mc-recent-projects__header {
		margin-bottom: 28px;
	}

	.mc-recent-projects__heading {
		font-size: 24px;
	}

	.mc-recent-projects__grid {
		gap: 22px;
	}
}

/* ==========================================================================
   Single Project Themer layout (.mc-pj-*).
   All visual styling for the scaffolded Themer layout lives here so the
   programmatic install can stay content-only and survive BB upgrades.
   Class markers are injected via each node's `class` setting; BB renders
   them onto the .fl-row / .fl-col / .fl-module wrapper.
   ========================================================================== */

/* Breadcrumbs sit in the natural flow of the project hero's text col,
   at the top of the dark-green box (above the eyebrow / title). The
   <nav> rendered by the BB HTML module inside .mc-pj-breadcrumbs-
   module renders inline; styling below applies only to the <ol>. */
.mc-pj-breadcrumbs ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 3px 8px;
	align-items: center;
	font-family: "Montserrat", sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.mc-pj-breadcrumbs li {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #9bd1ad;
}
.mc-pj-breadcrumbs li + li::before {
	content: "›";
	font-size: 14px;
	color: #9bd1ad;
	opacity: 0.55;
	line-height: 1;
}
.mc-pj-breadcrumbs a {
	color: #9bd1ad;
	text-decoration: none;
	transition: color 160ms ease-out;
}
.mc-pj-breadcrumbs a:hover,
.mc-pj-breadcrumbs a:focus {
	color: #ffffff;
}
.mc-pj-breadcrumbs [aria-current="page"] {
	color: #ffffff;
}

/* --- Hero row (side-by-side: text / image) --- */
/* Project hero — full-bleed featured photo with eyebrow / title /
   excerpt overlaid centered + bottom. Magazine cover feel; visually
   distinct from the division pages' side-by-side intros so projects
   read as case studies rather than product showrooms. */
.fl-row.mc-pj-hero > .fl-row-content-wrap {
	padding: 0;
	background: #0f3a24;
	position: relative;
	overflow: hidden;
}
.fl-row.mc-pj-hero .fl-row-content {
	max-width: none;
	width: 100%;
}
.fl-row.mc-pj-hero .fl-col-group {
	display: block;            /* photo overlays via absolute positioning, not flex */
	position: relative;
	min-height: 620px;
}

/* Image column fills the entire row behind the text */
.fl-col.mc-pj-hero-img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	max-width: none !important;
	z-index: 0;
}
.fl-col.mc-pj-hero-img > .fl-col-content {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}
.fl-col.mc-pj-hero-img .fl-module-photo,
.fl-col.mc-pj-hero-img .fl-module-content,
.fl-col.mc-pj-hero-img .fl-photo,
.fl-col.mc-pj-hero-img .fl-photo-content {
	width: 100%;
	height: 100%;
	margin: 0 !important;
	padding: 0 !important;
	display: block;
}
.fl-col.mc-pj-hero-img .fl-photo-img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 620px;
	object-fit: cover;
}
/* Subtle dimming on the hero photo. The dark-green box now carries
   the title contrast so the overlay can be much lighter — just a
   gentle vignette to seat the photo on the page. */
.fl-col.mc-pj-hero-img::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(15, 58, 36, 0.12);
	z-index: 1;
	pointer-events: none;
}

/* Text column is now a dark-green box positioned at bottom-left of
   the hero. Contains: breadcrumbs → eyebrow → title → excerpt, all
   left-aligned. Photo column still fills the full row behind it. */
.fl-col.mc-pj-hero-text {
	position: absolute !important;
	left: 0;
	bottom: 0;
	z-index: 2;
	width: auto !important;
	max-width: min(620px, 100%);
	min-height: 0;
}
.fl-col.mc-pj-hero-text > .fl-col-content {
	background: #0f3a24;
	padding: 26px 34px 30px;
	display: block;
	text-align: left;
}

/* Breadcrumbs at the very top of the box, no top margin */
.fl-module.mc-pj-breadcrumbs-module {
	margin: 0 0 24px;
	padding: 0;
}

.fl-module.mc-pj-eyebrow {
	display: none;
}
.fl-module.mc-pj-title .fl-heading {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 38px;
	line-height: 1.12;
	color: #ffffff;
	/* !important needed — BB's compiled layout-bundle.css resets
	   .fl-heading { margin: 0 !important } with !important. */
	margin: 0 0 22px !important;
	letter-spacing: -0.015em;
	text-align: left;
}
.fl-module.mc-pj-excerpt .fl-rich-text p {
	color: #cfe7d8;
	font-size: 16px;
	line-height: 1.55;
	margin: 0;
	text-align: left;
}

/* --- Quick Facts strip — lives inside the hero text box ---
   Sits as a small metadata footer below the excerpt, with a hairline
   separator above. Labels in pale brand green, values in white, all
   compact so the box stays elegant rather than ballooning. */
.fl-module.mc-pj-facts-strip {
	margin-top: 22px !important;
	padding-top: 18px !important;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.fl-module.mc-pj-facts-strip .mc-pj-facts__list {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	margin: 0;
	padding: 0;
}
.fl-module.mc-pj-facts-strip .mc-pj-facts__item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 0;
	border: 0;
}
.fl-module.mc-pj-facts-strip .mc-pj-facts__item:has(.mc-pj-facts__value:empty) {
	display: none;
}
.fl-module.mc-pj-facts-strip .mc-pj-facts__label {
	font-family: "Montserrat", sans-serif;
	font-weight: 600;
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #9bd1ad;
	margin: 0;
}
.fl-module.mc-pj-facts-strip .mc-pj-facts__value {
	font-family: "Open Sans", sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	color: #ffffff;
	margin: 0;
}
.fl-module.mc-pj-facts-strip .mc-pj-facts__item--cta {
	background: #f6faf7;
	flex: 0 0 auto;
}
.fl-module.mc-pj-facts-strip .mc-pj-facts__item--cta:has(a[href=""]) {
	display: none;
}
.fl-module.mc-pj-facts-strip .mc-pj-facts__item--cta a {
	font-family: "Montserrat", sans-serif;
	font-weight: 600;
	font-size: 14px;
	color: #219f5a;
	text-decoration: none;
	white-space: nowrap;
}
.fl-module.mc-pj-facts-strip .mc-pj-facts__item--cta a:hover {
	color: #1a7544;
}

/* --- Overview row (single full-width column, article-style) --- */
.fl-row.mc-pj-overview > .fl-row-content-wrap {
	padding: 80px 20px 60px;
	background: #ffffff;
}
.fl-row.mc-pj-overview .fl-row-content {
	max-width: 820px;
}
/* Post-content renders inside .mc-pj-postcontent .fl-module-content
   (the Themer post-content module doesn't add an extra .fl-post-content
   wrapper) — target the marker class directly. */
.fl-module.mc-pj-postcontent {
	font-family: "Open Sans", sans-serif;
	font-size: 17px;
	line-height: 1.7;
	color: #333;
}
.fl-module.mc-pj-postcontent h2 {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 26px;
	line-height: 1.25;
	letter-spacing: -0.005em;
	color: #0f3a24;
	margin: 56px 0 18px;
	display: flex;
	align-items: center;
	gap: 14px;
}
.fl-module.mc-pj-postcontent h2::before {
	content: "";
	display: inline-block;
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	background-image: url("/wp-content/uploads/2026/05/McBean-Favicon.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}
.fl-module.mc-pj-postcontent:not(.mc-pj-sec) > .fl-module-content > *:first-child,
/* same rule for the field-driven rich-text variant of the module,
   which adds a .fl-rich-text wrapper (2026-06-11) */
.fl-module.mc-pj-postcontent:not(.mc-pj-sec) > .fl-module-content > .fl-rich-text > *:first-child {
	margin-top: 0;
}

/* Per-section modules (mc-pj-sec-*, one BB html module per project
   section, 2026-06-11). Margin-collapse can't cross module wrappers,
   so the old single-module gaps are reproduced by keeping each section
   head's own top margin (h2/blockquote 56px, photo strip 48px) and
   zeroing the bottom margin of every non-final section's last element.
   Empty sections don't render a wrapper at all (fl_builder_is_node_visible
   filter in functions.php), so :first-child/:last-child stay honest. */
.fl-module.mc-pj-sec:not(:last-child) .fl-html > *:last-child {
	margin-bottom: 0;
}
.fl-module.mc-pj-sec:first-child .fl-html > *:first-child {
	margin-top: 0;
}
.fl-module.mc-pj-postcontent ul {
	padding-left: 24px;
	margin: 0 0 22px;
	list-style: none;
	column-count: 2;
	column-gap: 80px;
}
.fl-module.mc-pj-postcontent ul li {
	position: relative;
	margin-bottom: 12px;
	padding-left: 4px;
	break-inside: avoid;
}
.fl-module.mc-pj-postcontent ul li::before {
	content: "";
	position: absolute;
	left: -22px;
	top: 12px;
	width: 8px;
	height: 8px;
	background: #219f5a;
	border-radius: 50%;
}
/* --- Pull-quote (e.g. PM Statement).
   Deep-green band. Quote glyph in brand green; quote text white
   italic; attribution slug in light brand green. The blockquote
   sits in normal flow so its inner content stays aligned with the
   BB row above and below; the band background is painted out to
   the viewport edges via box-shadow + clip-path (avoids 100vw /
   scrollbar misalignment). --- */
.fl-module.mc-pj-postcontent blockquote {
	border: 0;
	background: #0f3a24;
	color: #ffffff;
	padding: 80px 0 70px;
	margin: 56px 0;
	font-family: "Open Sans", sans-serif;
	font-style: normal;
	position: relative;
	box-shadow: 0 0 0 100vmax #0f3a24;
	clip-path: inset(0 -100vmax);
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: clamp(20px, 4vw, 56px);
	align-items: start;
}
.fl-module.mc-pj-postcontent blockquote::before {
	content: "\201C";
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: clamp(140px, 18vw, 240px);
	line-height: 0.75;
	color: #219f5a;
	margin-top: -0.15em;
	grid-column: 1;
}
.fl-module.mc-pj-postcontent blockquote > * {
	grid-column: 2;
}
.fl-module.mc-pj-postcontent blockquote p {
	font-family: "Montserrat", sans-serif;
	font-style: italic;
	font-weight: 400;
	font-size: clamp(20px, 2vw, 26px);
	line-height: 1.5;
	color: #ffffff;
	margin: 0 0 22px;
	max-width: 60ch;
	letter-spacing: -0.005em;
}
.fl-module.mc-pj-postcontent blockquote p:last-child {
	margin-bottom: 0;
}

/* Attribution line at the foot of the quote. */
.fl-module.mc-pj-postcontent .mc-pj-quote-attrib {
	font-family: "Montserrat", sans-serif !important;
	font-style: normal !important;
	font-size: 13px !important;
	line-height: 1.45 !important;
	color: #9bd1ad !important;
	margin: 28px 0 0 !important;
	display: flex;
	flex-direction: column;
	gap: 4px;
	letter-spacing: 0.02em;
	max-width: none !important;
}
.fl-module.mc-pj-postcontent .mc-pj-quote-attrib__name {
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.04em;
	color: #ffffff;
	text-transform: uppercase;
}
.fl-module.mc-pj-postcontent .mc-pj-quote-attrib__name::before {
	content: "— ";
	color: #219f5a;
	margin-right: 4px;
}
/* Role with no name above it (name field empty): dash moves to the
   role and the alignment indent goes. */
.fl-module.mc-pj-postcontent .mc-pj-quote-attrib__role:first-child {
	padding-left: 0 !important;
}
.fl-module.mc-pj-postcontent .mc-pj-quote-attrib__role:first-child::before {
	content: "— ";
	color: #219f5a;
	margin-right: 4px;
	letter-spacing: normal;
}
.fl-module.mc-pj-postcontent .mc-pj-quote-attrib__role {
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #9bd1ad;
	padding-left: 22px;
}

@media (max-width: 700px) {
	.fl-module.mc-pj-postcontent blockquote {
		grid-template-columns: 1fr;
		row-gap: 0;
		padding: 56px 0;
		margin: 40px 0;
	}
	.fl-module.mc-pj-postcontent blockquote::before {
		grid-column: 1;
		margin-bottom: -0.1em;
		font-size: 110px;
	}
}

/* --- Customer + Project Remit two-column row.
   Project Remit fills the left, Customer sits in a light-green card
   on the right — mirrors the .mc-oa-stat-box treatment used on the
   Our Approach page. --- */
.fl-module.mc-pj-postcontent .mc-pj-customer-card {
	background: #cfe7d8;
	padding: 28px 30px;
	border-radius: 4px;
	margin: 0 0 40px;
}
.fl-module.mc-pj-postcontent .mc-pj-customer-card__label {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #0f3a24;
	margin: 0 0 14px;
}
.fl-module.mc-pj-postcontent .mc-pj-customer-card__body {
	font-family: "Open Sans", sans-serif;
	color: #0f3a24;
}
.fl-module.mc-pj-postcontent .mc-pj-customer-card__body > *:first-child {
	margin-top: 0;
}
.fl-module.mc-pj-postcontent .mc-pj-customer-card__body > *:last-child {
	margin-bottom: 0;
}
.fl-module.mc-pj-postcontent .mc-pj-customer-card__body p {
	font-size: 17px;
	line-height: 1.55;
	margin: 0 0 14px;
}

/* --- 3-photo highlight strip (injected by the_content filter).
   Breaks out of the post-content column to span the full viewport
   width using the classic 100vw + negative margin trick. --- */
.fl-module.mc-pj-postcontent .mc-pj-highlight {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 48px 0 56px;
	width: 100vw;
	max-width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	padding: 0 20px;
	box-sizing: border-box;
}
.fl-module.mc-pj-postcontent .mc-pj-highlight__tile {
	margin: 0;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #e7efe9;
}
.fl-module.mc-pj-postcontent .mc-pj-highlight__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
@media (max-width: 700px) {
	.fl-module.mc-pj-postcontent .mc-pj-highlight {
		grid-template-columns: 1fr;
		gap: 14px;
	}
}

/* --- CTA row (brand green) --- */
.fl-row.mc-pj-cta > .fl-row-content-wrap {
	background-color: #219f5a;
	padding: 70px 20px;
}
.fl-row.mc-pj-cta .fl-col-content {
	text-align: center;
}
.fl-module.mc-pj-cta-heading .fl-heading {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 34px;
	color: #ffffff;
	text-align: center;
	margin: 0 0 24px;
}
.fl-module.mc-pj-cta-button .fl-button-wrap {
	text-align: center;
}
.fl-module.mc-pj-cta-button a.fl-button,
.fl-module.mc-pj-cta-button a.fl-button span,
.fl-module.mc-pj-cta-button a.fl-button .fl-button-text {
	background: #ffffff !important;
	color: #0f3a24 !important;
}
.fl-module.mc-pj-cta-button a.fl-button:hover,
.fl-module.mc-pj-cta-button a.fl-button:hover span,
.fl-module.mc-pj-cta-button a.fl-button:hover .fl-button-text {
	background: #f6faf7 !important;
	color: #0f3a24 !important;
}

/* --- Image breaker row (full-bleed mid-body photo) --- */
.fl-row.mc-pj-breaker > .fl-row-content-wrap {
	padding: 0;
	background: #ffffff;
}
.fl-row.mc-pj-breaker .fl-row-content {
	max-width: none;
	width: 100%;
}
.fl-row.mc-pj-breaker .fl-col-content,
.fl-row.mc-pj-breaker .fl-module-content {
	margin: 0;
	padding: 0;
}
.fl-module.mc-pj-breaker-photo .fl-photo,
.fl-module.mc-pj-breaker-photo .fl-photo-content {
	width: 100%;
}
.fl-module.mc-pj-breaker-photo .fl-photo-img {
	display: block;
	width: 100%;
	height: clamp(320px, 50vh, 560px);
	object-fit: cover;
}

/* --- Row tinting: keep overview pure white. Facts strip background
       lives with the rest of the facts CSS above. --- */
.fl-row.mc-pj-overview > .fl-row-content-wrap {
	background: #ffffff;
}

/* --- Gallery row (feature-first grid: hero + small tiles) --- */
.fl-row.mc-pj-gallery > .fl-row-content-wrap {
	padding: 30px 20px 90px;
	background: #ffffff;
}
.fl-row.mc-pj-gallery .fl-row-content {
	max-width: 1280px;
}

/* Editorial asymmetric gallery — distinct from the divisions' uniform
   3-2-3 brick. 12-col grid with varying spans per item to create
   magazine-style layout. Pattern repeats every 6 items:
     row 1: 8 + 4 (big + small)
     row 2: 6 + 6 (two halves)
     row 3: 4 + 8 (small + big)
   …all items have uniform height so it reads as a layout rather than
   random masonry. */
.fl-module.mc-pj-gallery-grid .fl-gallery {
	display: grid !important;
	grid-template-columns: repeat(12, 1fr) !important;
	gap: 16px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
	/* Wookmark (BB's gallery JS) measures masonry-style and writes an
	   inline `height: ...px` that only fits a couple of rows — the
	   remaining items then overflow into the section below. Force the
	   gallery to size to its actual grid content. */
	height: auto !important;
	min-height: 0 !important;
}
.fl-module.mc-pj-gallery-grid .fl-gallery-item {
	position: static !important;
	top: auto !important;
	left: auto !important;
	float: none !important;
	width: 100% !important;
	height: 320px !important;
	margin: 0 !important;
	padding: 0 !important;
	display: block !important;
	grid-column: span 4;       /* default fallback */
	overflow: hidden;
}
.fl-module.mc-pj-gallery-grid .fl-gallery-item:nth-child(6n+1) { grid-column: span 8; }
.fl-module.mc-pj-gallery-grid .fl-gallery-item:nth-child(6n+2) { grid-column: span 4; }
.fl-module.mc-pj-gallery-grid .fl-gallery-item:nth-child(6n+3) { grid-column: span 6; }
.fl-module.mc-pj-gallery-grid .fl-gallery-item:nth-child(6n+4) { grid-column: span 6; }
.fl-module.mc-pj-gallery-grid .fl-gallery-item:nth-child(6n+5) { grid-column: span 4; }
.fl-module.mc-pj-gallery-grid .fl-gallery-item:nth-child(6n)   { grid-column: span 8; }
.fl-module.mc-pj-gallery-grid .fl-gallery-item .fl-photo {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}
.fl-module.mc-pj-gallery-grid .fl-photo,
.fl-module.mc-pj-gallery-grid .fl-photo-content {
	width: 100%;
	height: 100%;
}
.fl-module.mc-pj-gallery-grid .fl-photo-content {
	overflow: hidden;
	border-radius: 4px;
	background: #e5ebe7;
	position: relative;
}
.fl-module.mc-pj-gallery-grid .fl-photo-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.fl-module.mc-pj-gallery-grid .fl-photo-content::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 60%, rgba(15, 58, 36, 0.4) 100%);
	opacity: 0;
	transition: opacity 300ms ease;
	pointer-events: none;
}
.fl-module.mc-pj-gallery-grid .fl-photo-content:hover .fl-photo-img,
.fl-module.mc-pj-gallery-grid .fl-photo-content:focus-within .fl-photo-img {
	transform: scale(1.05);
}
.fl-module.mc-pj-gallery-grid .fl-photo-content:hover::after,
.fl-module.mc-pj-gallery-grid .fl-photo-content:focus-within::after {
	opacity: 1;
}

/* --- More Recent Work row --- */
.fl-row.mc-pj-more > .fl-row-content-wrap {
	padding: 70px 20px 90px;
	background: #f6faf7;
}
.single-mcbean_project .fl-row.mc-pj-more {
	margin-top: 0 !important;
}
.single-mcbean_project .fl-row.mc-oa-cta {
	margin-bottom: 0 !important;
}
/* Full-width CTA + More rows on project pages */
.single-mcbean_project .fl-row.mc-oa-cta,
.single-mcbean_project .fl-row.mc-pj-more {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(-50vw + 50%) !important;
}

/* --- Mobile --- */
@media (max-width: 900px) {
	/* "More Recent Work" — tighter lead-in on small screens */
	.fl-row.mc-pj-more > .fl-row-content-wrap {
		padding-top: 36px !important;
	}
	/* Hero on mobile: stacked flow instead of the desktop overlay —
	   full-width image banner first, green intro box below it */
	.fl-row.mc-pj-hero .fl-col-group {
		display: flex;
		flex-direction: column;
		min-height: 0;
	}
	.fl-col.mc-pj-hero-img {
		position: static !important;
		inset: auto;
		order: -1;
		width: 100% !important;
	}
	.fl-col.mc-pj-hero-img .fl-photo-img {
		min-height: 0;
		height: 280px;
		object-fit: cover;
	}
	.fl-col.mc-pj-hero-text {
		position: static !important;
		min-height: 0;
		width: 100% !important;
		max-width: none;
	}
	.fl-col.mc-pj-hero-text > .fl-col-content {
		padding: 32px 24px 40px;
	}
	.fl-module.mc-pj-title .fl-heading {
		font-size: 38px;
	}
	.fl-module.mc-pj-excerpt .fl-rich-text p {
		font-size: 16px;
	}
	.fl-module.mc-pj-facts-strip .mc-pj-facts__item {
		flex: 1 1 50%;
		border-top: 1px solid #ececec;
	}
	.fl-module.mc-pj-facts-strip .mc-pj-facts__item:nth-child(-n+2) {
		border-top: 0;
	}
	.fl-module.mc-pj-facts-strip .mc-pj-facts__item:nth-child(odd) {
		border-left: 0;
	}
	.fl-row.mc-pj-overview > .fl-row-content-wrap {
		padding: 50px 20px 30px;
	}
	.fl-row.mc-pj-gallery > .fl-row-content-wrap {
		padding: 8px 20px 60px;
	}
	/* Editorial gallery collapses to a clean 2-col grid on tablet,
	   resetting the desktop asymmetric spans. */
	.fl-module.mc-pj-gallery-grid .fl-gallery {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	.fl-module.mc-pj-gallery-grid .fl-gallery-item,
	.fl-module.mc-pj-gallery-grid .fl-gallery-item:nth-child(6n+1),
	.fl-module.mc-pj-gallery-grid .fl-gallery-item:nth-child(6n+2),
	.fl-module.mc-pj-gallery-grid .fl-gallery-item:nth-child(6n+3),
	.fl-module.mc-pj-gallery-grid .fl-gallery-item:nth-child(6n+4),
	.fl-module.mc-pj-gallery-grid .fl-gallery-item:nth-child(6n+5),
	.fl-module.mc-pj-gallery-grid .fl-gallery-item:nth-child(6n) {
		grid-column: span 1;
		height: 220px !important;
	}
	.fl-module.mc-pj-cta-heading .fl-heading {
		font-size: 26px;
	}
	.fl-row.mc-pj-cta > .fl-row-content-wrap {
		padding: 50px 20px;
	}
}

/* ==========================================================================
   Sub-page header (.mc-subheader-*).
   Site-wide compact band between the main header and the page content,
   carrying breadcrumbs + page title. Rendered from a fl_before_content
   hook in functions.php — applies to every Page (and Project post)
   except the front page. Hidden on a per-post basis via the
   `_mc_hide_subheader` post meta.
   ========================================================================== */
.mc-subheader {
	position: relative;
	background: #0f3a24;
	color: #ffffff;
	padding: 38px 20px 42px;
	border-bottom: 3px solid #219f5a;
	overflow: hidden;
}
/* Brand glyph watermark — echoes the 4-triangle X-cut geometry of the
   McBean logo mark. Pinned to the right edge of the viewport (not the
   content column) so the bar feels grounded by a brand mark on the
   right. Hidden on narrow viewports so the title doesn't crowd. */
.mc-subheader::before {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	width: 170px;
	height: 170px;
	opacity: 0.10;
	pointer-events: none;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><polygon points='0,0 100,0 50,50' fill='white' opacity='0.85'/><polygon points='100,0 100,100 50,50' fill='white' opacity='0.40'/><polygon points='100,100 0,100 50,50' fill='white' opacity='0.65'/><polygon points='0,100 0,0 50,50' fill='white' opacity='1'/></svg>");
}
.mc-subheader__inner {
	position: relative;
	z-index: 1;
	max-width: 1240px;
	margin: 0 auto;
}
.mc-subheader__crumbs {
	margin-bottom: 12px;
	font-family: "Montserrat", sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.mc-subheader__crumbs ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	align-items: center;
}
.mc-subheader__crumbs li {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #9bd1ad;
}
/* Separator between crumb items — drawn as a content-generated chevron
   on every li EXCEPT the first, so the first item sits flush left. */
.mc-subheader__crumbs li + li::before {
	content: "›";
	color: #9bd1ad;
	opacity: 0.55;
	font-size: 14px;
	line-height: 1;
}
.mc-subheader__crumbs a {
	color: #9bd1ad;
	text-decoration: none;
	transition: color 160ms ease-out;
}
.mc-subheader__crumbs a:hover,
.mc-subheader__crumbs a:focus {
	color: #ffffff;
}
.mc-subheader__crumbs [aria-current="page"] {
	color: #ffffff;
}
.mc-subheader__title {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 42px;
	line-height: 1.15;
	color: #ffffff;
	margin: 0;
	letter-spacing: -0.005em;
}

@media (max-width: 900px) {
	.mc-subheader {
		padding: 28px 20px 32px;
	}
	.mc-subheader__title {
		font-size: 30px;
	}
	.mc-subheader__crumbs {
		font-size: 11px;
		letter-spacing: 0.12em;
	}
	/* Hide the glyph watermark — title needs the full width on mobile. */
	.mc-subheader::before {
		display: none;
	}
}

/* ==========================================================================
   Our Approach page (.mc-oa-*).
   Hero (deep-green over background photo) → stats strip → eyebrow-style
   section heading → four pillar cards (each topped with a photo strip,
   numbered via CSS counter as a small floating badge) → full-bleed banner
   photo → another eyebrow heading → three process steps (circular photo
   above a number badge, dashed connector behind) → closing brand-green
   CTA band with photo and overlay. Mirrors the visual rhythm of the
   single-project layout but with photography front-and-centre.
   ========================================================================== */

/* --- Page intro band (was the "hero" — now a plain white intro that
   sits below the global sub-page header). Title moved into the
   sub-page header; this row carries just the "INTRODUCTION" eyebrow
   and the intro paragraph. --- */
.fl-row.mc-oa-hero > .fl-row-content-wrap {
	background: #ffffff;
	/* Padding deliberately not declared here — it's set on the row in
	   the BB editor (Row Settings → Style → Padding) so Jenn can tweak
	   it without theme CSS silently overriding her changes. */
}
.fl-row.mc-oa-hero .fl-row-content {
	max-width: 1180px;
}
/* Two-column hero: intro paragraph on the left, stats stack on the right.
   No flex `gap` here — BB sets the columns to 60% + 40% = 100% of the row,
   and any positive gap pushes the second column past 100% and wraps it
   onto a new line. Space between the columns is created by right-padding
   the intro col-content and left-padding the stats col-content. */
.fl-row.mc-oa-hero .fl-col-group {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

/* Left column — intro paragraph. Padding deliberately not declared
   here; it's set on the column itself in the BB editor so Jenn can
   tweak it without theme CSS silently overriding her changes. Same
   for .mc-oa-stats-col. */
.fl-col.mc-oa-intro-col > .fl-col-content {
	text-align: left;
}
.fl-module.mc-oa-intro .fl-rich-text {
	max-width: 620px;
	margin: 0;
}
.fl-module.mc-oa-intro .fl-rich-text p {
	color: #1a1a1a;
	font-size: 20px;
	line-height: 1.7;
	margin: 0;
	text-align: left;
	font-weight: 400;
}

/* Right column — three Box-module stat cards stacked vertically. Each
   Box (.mc-oa-stat-box) is a light-green pill containing the big XX
   number on the left and the label on the right, vertically centered.
   The Box module renders as a plain <div> and lays out its children
   (num + label) via the grid declared on the box itself. */
.fl-col.mc-oa-stats-col > .fl-col-content {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
/* Box module declares `include_wrapper: false` in box.php so it renders
   as a single <div class="fl-module fl-module-box mc-oa-stat-box">
   with its children rendered directly inside — there's no extra
   .fl-module-content wrapper to target. */
.fl-module.mc-oa-stat-box {
	background: #cfe7d8;
	padding: 20px 24px;
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 22px;
	align-items: center;
}
.fl-module.mc-oa-stat-num,
.fl-module.mc-oa-stat-label {
	align-self: center;
}
.fl-module.mc-oa-stat-num .fl-heading {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 44px;
	color: #0f3a24;
	line-height: 1;
	margin: 0;
	text-align: left;
	letter-spacing: -0.01em;
}
.fl-module.mc-oa-stat-label .fl-rich-text p {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #0f3a24;
	margin: 0;
	text-align: left;
}

/* --- Section heading rows (eyebrow with green dash) ---
   These rows sit immediately above the pillars / steps grids, so their
   bottom padding is small — the grid row below carries the bulk of the
   section's bottom space. Backgrounds match the row below so the two
   adjacent rows read as a single visual section. */
.fl-row.mc-oa-pillars-heading > .fl-row-content-wrap {
	padding: 90px 20px 24px;
	background: #ffffff;
}
.fl-row.mc-oa-steps-heading > .fl-row-content-wrap {
	padding: 90px 20px 24px;
	background: #ffffff;
}
.fl-module.mc-oa-section-heading .fl-heading {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #219f5a;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 14px;
}
.fl-module.mc-oa-section-heading .fl-heading::before {
	content: "";
	display: block;
	width: 28px;
	height: 2px;
	background: #219f5a;
	flex-shrink: 0;
}

/* --- Pillars row (4 cards spaced apart) ---
   Each pillar is its own card now, with breathing room between them.
   Visual link between the four is preserved by the colored top stripes:
   bright green → gray → deep green → near-black, in the same clockwise
   reading order as the logo glyph. Panel-wide shadow and dividers
   removed; each card carries a subtle individual shadow instead. */
.fl-row.mc-oa-pillars > .fl-row-content-wrap {
	padding: 20px 14px 90px;          /* horizontal padding so outer cards aren't flush with the viewport */
	background: #ffffff;
}
.fl-row.mc-oa-pillars .fl-row-content {
	max-width: none;
	padding: 0;
}
.fl-row.mc-oa-pillars .fl-col-group {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;             /* equalize card heights to the tallest */
	row-gap: 28px;                    /* vertical gap when cards wrap to 2-up / stacked */
}
/* Four-color identity — one per cell, sourced from the McBean logo glyph. */
.fl-col.mc-oa-pillar:nth-child(1) { --mc-pillar-color: #219f5a; }   /* bright brand green */
.fl-col.mc-oa-pillar:nth-child(2) { --mc-pillar-color: #6e6e6e; }   /* mid gray */
.fl-col.mc-oa-pillar:nth-child(3) { --mc-pillar-color: #0f3a24; }   /* deep brand green */
.fl-col.mc-oa-pillar:nth-child(4) { --mc-pillar-color: #1f1f1f; }   /* near-black */
/* Column padding is set in BB editor (Column Settings → Style →
   Padding) so Jenn can tweak it freely. Keep this rule for the
   counter-* and other non-padding concerns only. */
.fl-col.mc-oa-pillar > .fl-col-content {
	background: #ffffff;
	border-radius: 0;
	border-top: 8px solid var(--mc-pillar-color);
	padding: 0 0 32px;
	height: 100%;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(15, 58, 36, 0.07);
	transition: background-color 200ms ease-out,
		transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
		box-shadow 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fl-col.mc-oa-pillar > .fl-col-content:hover {
	background: #f6faf7;
	transform: translateY(-3px);
	box-shadow: 0 14px 28px rgba(15, 58, 36, 0.10);
}
/* Photo strip — continuous row across the top of the panel. The
   .fl-photo-content override is needed because BB's default centered-
   align photo wraps the image in a shrink-to-fit element; without
   width:100% the image renders at its natural width (square thumbs
   come out 200px wide regardless of the cell). */
.fl-module.mc-oa-pillar-photo {
	margin: 0;
}
.fl-module.mc-oa-pillar-photo .fl-photo,
.fl-module.mc-oa-pillar-photo .fl-photo-content,
.fl-module.mc-oa-pillar-photo .fl-photo-img-wrap {
	margin: 0;
	line-height: 0;
	width: 100%;
	display: block;
}
.fl-module.mc-oa-pillar-photo .fl-photo-img {
	display: block;
	width: 100%;
	height: 280px;
	object-fit: cover;
}
/* Horizontal padding inside the text portion of each cell */
.fl-col.mc-oa-pillar .fl-module.mc-oa-pillar-title,
.fl-col.mc-oa-pillar .fl-module.mc-oa-pillar-text {
	padding-left: 28px;
	padding-right: 28px;
}
.fl-module.mc-oa-pillar-title .fl-heading {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 1.3;
	color: #0f3a24;
	margin: 32px 0 20px;
}
.fl-module.mc-oa-pillar-text .fl-rich-text p {
	color: #4a4a4a;
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
}

/* --- Banner row (full-bleed photo between Pillars and How We Work) --- */
.fl-row.mc-oa-banner > .fl-row-content-wrap {
	padding: 0;
	background: #ffffff;
}
.fl-row.mc-oa-banner .fl-row-content {
	max-width: none;
	width: 100%;
	padding: 0;
}
.fl-row.mc-oa-banner .fl-col-content {
	padding: 0;
}
.fl-module.mc-oa-banner-photo,
.fl-module.mc-oa-banner-photo .fl-photo,
.fl-module.mc-oa-banner-photo .fl-photo-content,
.fl-module.mc-oa-banner-photo .fl-photo-img-wrap {
	margin: 0;
	line-height: 0;
}
.fl-module.mc-oa-banner-photo .fl-photo-img {
	display: block;
	width: 100%;
	height: 380px;
	object-fit: cover;
}

/* --- How We Work steps row (3 columns: circular photo + number badge) ---
   Each step is a flex column: photo (order 0) → number circle (order 1,
   coming from ::before) → title → text. The dashed connector behind the
   row of circles is unchanged (now aligned to where the circle sits). */
.fl-row.mc-oa-steps > .fl-row-content-wrap {
	padding: 80px 20px 100px;
	background: #ffffff;
}
.fl-row.mc-oa-steps .fl-row-content {
	max-width: 1100px;
}
.fl-row.mc-oa-steps .fl-col-group {
	counter-reset: step-num;
	flex-wrap: wrap;
	align-items: stretch;
	position: relative;
}
/* Dashed connector line behind the circles, between columns. Hidden on
   the BB editor view to keep the editor canvas clean. Offset accounts
   for photo height (180px) + gap before the small number circle. */
body:not(.fl-builder-edit) .fl-row.mc-oa-steps .fl-col-group::before {
	content: "";
	position: absolute;
	top: 215px;                      /* aligns roughly with circle centre */
	left: 12%;
	right: 12%;
	height: 0;
	border-top: 2px dashed #cfe7d8;
	z-index: 0;
}
.fl-col.mc-oa-step {
	/* Padding set in BB editor (Column → Style → Padding) so it's
	   editable from there. */
	counter-increment: step-num;
	position: relative;
	z-index: 1;
}
.fl-col.mc-oa-step > .fl-col-content {
	padding: 0 18px 24px;
	height: 100%;
	box-sizing: border-box;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}
/* Number circle. Sits BELOW the photo (order 1) thanks to the flex
   reordering — photo module is order 0 by default. */
.fl-col.mc-oa-step > .fl-col-content::before {
	content: counter(step-num);
	order: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin: -27px auto 18px;         /* negative top margin to overlap photo bottom */
	background: #219f5a;
	color: #ffffff;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 22px;
	border-radius: 50%;
	border: 4px solid #ffffff;
	box-shadow: 0 6px 16px rgba(33, 159, 90, 0.28);
	position: relative;
	z-index: 2;
}
/* Circular step photo at the top of each step column */
.fl-module.mc-oa-step-photo {
	order: 0;
	margin: 0;
	width: 100%;
	display: flex;
	justify-content: center;
}
.fl-module.mc-oa-step-photo .fl-photo,
.fl-module.mc-oa-step-photo .fl-photo-content,
.fl-module.mc-oa-step-photo .fl-photo-img-wrap {
	margin: 0;
	line-height: 0;
}
.fl-module.mc-oa-step-photo .fl-photo-img {
	display: block;
	width: 200px;
	height: 200px;
	object-fit: cover;
	border-radius: 50%;
	box-shadow: 0 10px 28px rgba(15, 58, 36, 0.14);
}
.fl-module.mc-oa-step-title {
	order: 2;
}
.fl-module.mc-oa-step-text {
	order: 3;
}
.fl-module.mc-oa-step-title .fl-heading {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 1.3;
	color: #0f3a24;
	margin: 0 0 12px;
	text-align: center;
}
.fl-module.mc-oa-step-text .fl-rich-text p {
	color: #4a4a4a;
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
	text-align: center;
}

/* --- CTA (background photo + brand-green overlay) — 50/50 text + form --- */
.fl-row.mc-oa-cta > .fl-row-content-wrap {
	background:
		linear-gradient(rgba(20, 100, 55, 0.92), rgba(10, 40, 20, 0.95)),
		url("/wp-content/uploads/2026/05/new-header-2.jpg") center/cover no-repeat;
	padding: 80px 20px;
}
/* Vertically centre the heading/intro block against the taller form card */
.fl-row.mc-oa-cta .fl-col-group {
	align-items: center;
}

/* Left half — heading, intro line, Call now button */
.fl-col.mc-oa-cta-text .fl-col-content {
	text-align: left;
	padding-right: 40px;
}
.fl-module.mc-oa-cta-heading .fl-heading {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 34px;
	color: #ffffff;
	text-align: left;
	margin: 0 0 18px;
	line-height: 1.2;
}
.fl-module.mc-oa-cta-intro .fl-rich-text p {
	font-family: "Open Sans", sans-serif;
	font-size: 17px;
	line-height: 1.6;
	color: #cfe7d8;
	margin: 0 0 28px;
	max-width: 460px;
}
.fl-module.mc-oa-cta-button .fl-button-wrap {
	text-align: left;
}
.fl-module.mc-oa-cta-button a.fl-button,
.fl-module.mc-oa-cta-button a.fl-button span,
.fl-module.mc-oa-cta-button a.fl-button .fl-button-text {
	background: #ffffff !important;
	color: #0f3a24 !important;
}
.fl-module.mc-oa-cta-button a.fl-button:hover,
.fl-module.mc-oa-cta-button a.fl-button:hover span,
.fl-module.mc-oa-cta-button a.fl-button:hover .fl-button-text {
	background: #f6faf7 !important;
	color: #0f3a24 !important;
}

/* Right half — white card with Gravity Form */
.fl-module.mc-oa-cta-form-card .fl-module-content {
	background: #ffffff;
	border-radius: 10px;
	padding: 40px;
	box-shadow: 0 18px 40px rgba(15, 58, 36, 0.18);
}
.mc-oa-cta-form-card .gform_wrapper input[type="text"],
.mc-oa-cta-form-card .gform_wrapper input[type="email"],
.mc-oa-cta-form-card .gform_wrapper input[type="tel"],
.mc-oa-cta-form-card .gform_wrapper textarea {
	background: #ffffff !important;
	border: 1px solid #cfe7d8 !important;
	border-radius: 6px !important;
	padding: 12px 16px !important;
	font-family: "Open Sans", sans-serif;
	font-size: 15px !important;
	color: #1f1f1f;
	width: 100%;
	height: auto !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
}
.mc-oa-cta-form-card .gform_wrapper select {
	background: #ffffff !important;
	border: 1px solid #cfe7d8 !important;
	border-radius: 6px !important;
	padding: 12px 16px !important;
	font-family: "Open Sans", sans-serif;
	font-size: 15px !important;
	color: #1f1f1f;
	width: 100%;
	height: auto !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236e6e6e' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 16px center !important;
	background-size: 12px 8px !important;
	background-color: #ffffff !important;
	padding-right: 40px !important;
	cursor: pointer;
}
.mc-oa-cta-form-card .gform_wrapper select:has(option.gf_placeholder:checked) {
	color: #999999 !important;
}
.mc-oa-cta-form-card .gform_wrapper textarea { min-height: 120px; }
.mc-oa-cta-form-card .gform_wrapper input::placeholder,
.mc-oa-cta-form-card .gform_wrapper textarea::placeholder {
	color: #999999 !important;
	opacity: 1 !important;
}
.mc-oa-cta-form-card .gform_wrapper .gfield_label { display: none; }
.mc-oa-cta-form-card .gform_wrapper .gfield { margin-bottom: 16px !important; padding-bottom: 0 !important; }
.mc-oa-cta-form-card .gform_wrapper .gform_fields { gap: 0 !important; }
.mc-oa-cta-form-card .gform_wrapper .gfield_consent_label,
.mc-oa-cta-form-card .gform_wrapper .ginput_container_consent label {
	font-family: "Open Sans", sans-serif;
	font-size: 13px;
	color: #6e6e6e;
}
.mc-oa-cta-form-card .gform_wrapper .ginput_container_consent a {
	color: #219f5a;
}
.mc-oa-cta-form-card .gform_wrapper .gform_footer input[type="submit"],
.mc-oa-cta-form-card .gform_wrapper .gform_button {
	background: #219f5a;
	color: #ffffff;
	border: none;
	border-radius: 6px;
	padding: 14px 32px;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	transition: background 0.2s ease;
}
.mc-oa-cta-form-card .gform_wrapper .gform_footer input[type="submit"]:hover,
.mc-oa-cta-form-card .gform_wrapper .gform_button:hover {
	background: #1a7544;
}
.mc-oa-cta-form-card .gform_wrapper .gform_confirmation_message {
	color: #219f5a;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
}

/* --- Mobile --- */
@media (max-width: 900px) {
	/* Hero row padding is set in BB editor (Row Settings → Responsive →
	   Medium) — see note next to the desktop .mc-oa-hero rule above. */
	.fl-row.mc-oa-hero .fl-col-group {
		gap: 32px;
	}
	.fl-col.mc-oa-intro-col,
	.fl-col.mc-oa-stats-col {
		flex: 1 1 100%;
		max-width: 100%;
	}
	/* Column padding at mobile is owned by BB editor's responsive
	   padding controls — no reset here. */
	.fl-module.mc-oa-intro .fl-rich-text p {
		font-size: 17px;
	}
	.fl-module.mc-oa-stat-num .fl-heading {
		font-size: 38px;
	}
	.fl-module.mc-oa-stat-label .fl-rich-text p {
		font-size: 10px;
		letter-spacing: 0.16em;
	}
	.fl-row.mc-oa-pillars-heading > .fl-row-content-wrap,
	.fl-row.mc-oa-steps-heading > .fl-row-content-wrap {
		padding: 60px 20px 18px;
	}
	.fl-row.mc-oa-pillars > .fl-row-content-wrap {
		padding: 14px 12px 60px;
	}
	.fl-row.mc-oa-steps > .fl-row-content-wrap {
		padding: 50px 12px 60px;
	}
	.fl-col.mc-oa-pillar {
		flex: 1 1 50%;
		max-width: 50%;
	}
	.fl-module.mc-oa-pillar-photo .fl-photo-img {
		height: 220px;
	}
	.fl-module.mc-oa-banner-photo .fl-photo-img {
		height: 240px;
	}
	/* Stack the steps; drop the horizontal dashed connector */
	body:not(.fl-builder-edit) .fl-row.mc-oa-steps .fl-col-group::before {
		display: none;
	}
	.fl-col.mc-oa-step {
		flex: 1 1 100%;
		max-width: 100%;
	}
	.fl-module.mc-oa-step-photo .fl-photo-img {
		width: 180px;
		height: 180px;
	}
	.fl-module.mc-oa-cta-heading .fl-heading {
		font-size: 26px;
	}
	.fl-row.mc-oa-cta > .fl-row-content-wrap {
		padding: 56px 20px;
	}
	/* Stack the text + form card */
	.fl-col.mc-oa-cta-text,
	.fl-col.mc-oa-cta-form {
		flex: 1 1 100%;
		max-width: 100%;
	}
	.fl-col.mc-oa-cta-text .fl-col-content {
		padding-right: 0;
		margin-bottom: 32px;
	}
	.fl-module.mc-oa-cta-intro .fl-rich-text p {
		max-width: 100%;
	}
}

@media (max-width: 600px) {
	.fl-col.mc-oa-pillar {
		flex: 1 1 100%;
		max-width: 100%;
	}
	.fl-module.mc-oa-banner-photo .fl-photo-img {
		height: 200px;
	}
}

/* ==========================================================================
   Careers page (.mc-cr-*).
   Three rows: intro paragraph, why-work-with-mcbean (60/40 text + photo),
   brand-green CTA band with two buttons. Row paddings live in the BB
   layout data so they're editable from the editor.
   ========================================================================== */

/* Intro paragraph — sits below the global sub-page header. */
.fl-module.mc-cr-intro-text .fl-rich-text {
	max-width: 820px;
	margin: 0 auto;
}
.fl-module.mc-cr-intro-text .fl-rich-text p {
	font-size: 19px;
	line-height: 1.7;
	color: #1a1a1a;
	margin: 0;
}

/* Why-work-with-mcbean section — 60/40 text + photo */
.fl-row.mc-cr-why .fl-col-group {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}
.fl-module.mc-cr-why-heading .fl-heading {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 32px;
	color: #0f3a24;
	margin: 0 0 18px;
	line-height: 1.2;
}
.fl-module.mc-cr-why-body .fl-rich-text p {
	font-size: 17px;
	line-height: 1.7;
	color: #1a1a1a;
	margin: 0 0 28px;
}
.fl-module.mc-cr-why-body .fl-rich-text p:last-child {
	margin-bottom: 0;
}
/* Photo treatment matches the homepage Multi-Trade Service video — same
   rounded corners + soft shadow — since the photo col now also carries
   the `mc-video-card` class. */
.fl-module.mc-cr-why-photo,
.fl-module.mc-cr-why-photo .fl-photo,
.fl-module.mc-cr-why-photo .fl-photo-content {
	width: 100%;
	display: block;
	margin: 0;
	position: relative;
	z-index: 1;
}
.fl-module.mc-cr-why-photo .fl-photo-img {
	display: block;
	width: 100%;
	height: auto;
	min-height: 360px;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
}

/* CTA band — brand green via BB row settings; CSS only handles text /
   button colors that need to be inverted against the dark background. */
.fl-row.mc-cr-cta .fl-row-content {
	max-width: 980px;
	text-align: center;
}
/* Override BB's flex-column on the col so the two button modules can
   sit side-by-side as inline-blocks (text-align: center on the parent
   handles their horizontal centering). */
.fl-row.mc-cr-cta .fl-col-content {
	display: block;
	text-align: center;
}
.fl-module.mc-cr-cta-heading .fl-heading {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 32px;
	color: #ffffff;
	margin: 0 0 16px;
	line-height: 1.2;
	text-align: center;
}
.fl-module.mc-cr-cta-text .fl-rich-text {
	max-width: 720px;
	margin: 0 auto 28px;
}
.fl-module.mc-cr-cta-text .fl-rich-text p {
	color: #e6f1ea;
	font-size: 18px;
	line-height: 1.65;
	margin: 0;
	text-align: center;
}
/* Two button modules side-by-side within the centered CTA column. BB
   modules are block by default, which would stack them — make them
   inline-block so the column's text-align: center lays them out
   horizontally. */
.fl-module.mc-cr-cta-button {
	display: inline-block;
	vertical-align: middle;
	margin: 0 6px;
}
.fl-module.mc-cr-cta-button .fl-button-wrap {
	margin: 0;
	text-align: center;
}
.fl-module.mc-cr-cta-button a.fl-button,
.fl-module.mc-cr-cta-button a.fl-button span,
.fl-module.mc-cr-cta-button a.fl-button .fl-button-text {
	background: #ffffff !important;
	color: #0f3a24 !important;
	font-family: "Montserrat", sans-serif !important;
	font-weight: 600 !important;
	padding: 14px 28px !important;
	border-radius: 4px !important;
	text-decoration: none !important;
	display: inline-block;
}
.fl-module.mc-cr-cta-button a.fl-button:hover,
.fl-module.mc-cr-cta-button a.fl-button:hover span,
.fl-module.mc-cr-cta-button a.fl-button:hover .fl-button-text {
	background: #f6faf7 !important;
	color: #0f3a24 !important;
}

@media (max-width: 900px) {
	.fl-col.mc-cr-why-text,
	.fl-col.mc-cr-why-photo-col {
		flex: 1 1 100%;
		max-width: 100%;
	}
	.fl-module.mc-cr-why-photo .fl-photo-img {
		min-height: 280px;
	}
	.fl-module.mc-cr-why-heading .fl-heading,
	.fl-module.mc-cr-cta-heading .fl-heading {
		font-size: 26px;
	}
}

/* ==========================================================================
   Divisions overview page (.mc-dv-*).
   3×2 grid of clickable cards, one per division. Each card is a BB Box
   module rendered as <a href="..."> (link set on the box) containing
   logo, division name + tagline, short description, and an "Explore"
   nudge at the bottom. Card layout is column-flex so the explore link
   pins to the bottom regardless of description length.
   ========================================================================== */
.fl-module.mc-dv-intro-text .fl-rich-text {
	max-width: 820px;
	margin: 0 auto;
}
.fl-module.mc-dv-intro-text .fl-rich-text p {
	font-size: 19px;
	line-height: 1.7;
	color: #1a1a1a;
	margin: 0;
	text-align: center;
}
/* Mobile: extra top + side padding on top of the global 20px row gutter */
@media (max-width: 768px) {
	.fl-module.mc-dv-intro-text .fl-rich-text {
		padding: 24px 12px 0;
	}
}

/* The grid container — BB column-group with flex-wrap so 6 cols of
   33.33% wrap into 3-up rows. */
.fl-row.mc-dv-grid .fl-col-group {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

/* Each card: Box module rendered as <a>, full-height, lifts on hover. */
.fl-module.mc-dv-card {
	display: flex !important;
	flex-direction: column;
	background: #ffffff;
	color: inherit;
	text-decoration: none;
	padding: 32px 28px 28px;
	height: 100%;
	box-sizing: border-box;
	box-shadow: 0 6px 18px rgba(15, 58, 36, 0.07);
	transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
		box-shadow 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
		background-color 200ms ease-out;
}
.fl-module.mc-dv-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(15, 58, 36, 0.12);
	background: #f6faf7;
}

/* Logo — fixed height band at the top of the card */
.fl-module.mc-dv-card-logo {
	margin: 0 0 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 70px;
}
.fl-module.mc-dv-card-logo .fl-photo,
.fl-module.mc-dv-card-logo .fl-photo-content {
	margin: 0;
	display: inline-block;
}
.fl-module.mc-dv-card-logo .fl-photo-img {
	display: block;
	max-height: 64px;
	width: auto;
	object-fit: contain;
}

/* Division name + tagline */
.fl-module.mc-dv-card-title .fl-heading {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 22px;
	color: #0f3a24;
	line-height: 1.25;
	margin: 0 0 6px;
	text-align: center;
}
.fl-module.mc-dv-card-title .mc-dv-card-tagline {
	display: block;
	font-family: "Open Sans", sans-serif;
	font-weight: 400;
	font-size: 14px;
	color: #4a4a4a;
	margin-top: 4px;
	letter-spacing: 0;
}

/* Short description */
.fl-module.mc-dv-card-text {
	margin: 14px 0 22px;
}
.fl-module.mc-dv-card-text .fl-rich-text p {
	font-size: 15px;
	line-height: 1.6;
	color: #4a4a4a;
	margin: 0;
	text-align: center;
}

/* "Explore →" nudge — pinned to the bottom of the card via margin-top: auto */
.fl-module.mc-dv-card-cta {
	margin-top: auto;
}
.fl-module.mc-dv-card-cta .fl-rich-text p {
	margin: 0;
	text-align: center;
}
.mc-dv-card-explore {
	font-family: "Montserrat", sans-serif;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #219f5a;
	transition: color 160ms ease-out, letter-spacing 160ms ease-out;
}
.fl-module.mc-dv-card:hover .mc-dv-card-explore {
	color: #1a7544;
	letter-spacing: 0.12em;
}

@media (max-width: 900px) {
	.fl-col.mc-dv-card-col {
		flex: 1 1 50%;
		max-width: 50%;
	}
}
@media (max-width: 600px) {
	.fl-col.mc-dv-card-col {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

/* ==========================================================================
   Individual division pages (.mc-dvp-*).
   Shared skeleton across all six division pages (PROCON, GoodFix,
   Ashley Cooper, Clean Direct, Living Green, Roofit). Sections:
   intro (text + photo) → services list → expertise (photo + text)
   → gallery → CTA. Each page is its own BB layout so individual
   tweaks are independent.
   ========================================================================== */

/* Intro tagline above the H2 — small brand-green eyebrow */
.fl-module.mc-dvp-tagline .fl-rich-text p {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #219f5a;
	margin: 0 0 14px;
}
/* Intro logo above the H2 (.mc-dvp-intro-logo). Size is controlled per-module
   in the Beaver Builder editor — Photo module → Style → Width. No CSS size
   lock here, so each division logo's width can be adjusted freely in the
   editor; height follows the logo's own aspect ratio. Left alignment comes
   from the module's Align setting; bottom spacing from its margin setting.
   Widths were initially set to give a uniform ~72px height across all six. */
.fl-module.mc-dvp-intro-heading .fl-heading {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 36px;
	line-height: 1.15;
	color: #0f3a24;
	margin: 0 0 20px;
}
.fl-module.mc-dvp-intro-body .fl-rich-text p {
	font-size: 17px;
	line-height: 1.7;
	color: #1a1a1a;
	margin: 0 0 16px;
}
.fl-module.mc-dvp-intro-body .fl-rich-text p:last-child {
	margin-bottom: 0;
}

/* Intro row layout: stretched flex columns. The photo column carries
   its image as a CSS background (set via BB column settings), so the
   .fl-col-content needs to fill the full column height for the bg to
   show — without content of its own, col-content would collapse to 0. */
.fl-row.mc-dvp-intro .fl-col-group {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}
.fl-col.mc-dvp-intro-photo-col {
	display: flex;
	flex-direction: column;
	min-height: 480px;
}
.fl-col.mc-dvp-intro-photo-col > .fl-col-content {
	flex: 1;
	width: 100%;
}

/* Services section — "What We Do" with services as flex-wrap pills */
.fl-row.mc-dvp-services > .fl-row-content-wrap {
	background: #f6faf7;
}
.fl-row.mc-dvp-services .fl-row-content {
	max-width: 1100px;
}
.fl-module.mc-dvp-services-heading .fl-heading {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 30px;
	color: #0f3a24;
	margin: 0 0 28px;
	text-align: center;
}
.fl-module.mc-dvp-services-list .fl-rich-text ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}
.fl-module.mc-dvp-services-list .fl-rich-text ul li {
	background: #ffffff;
	border: 1px solid #cfe7d8;
	padding: 12px 22px;
	border-radius: 999px;
	font-family: "Montserrat", sans-serif;
	font-weight: 600;
	font-size: 14px;
	color: #0f3a24;
	margin: 0;
	line-height: 1;
}

/* Expertise section (photo left, text right) */
.fl-row.mc-dvp-expertise .fl-col-group {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}
.fl-module.mc-dvp-expertise-photo,
.fl-module.mc-dvp-expertise-photo .fl-photo,
.fl-module.mc-dvp-expertise-photo .fl-photo-content {
	width: 100%;
	display: block;
	margin: 0;
	height: 100%;
}
.fl-module.mc-dvp-expertise-photo .fl-photo-img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
}
.fl-module.mc-dvp-expertise-heading .fl-heading {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 30px;
	color: #0f3a24;
	margin: 0 0 20px;
}
.fl-module.mc-dvp-expertise-body .fl-rich-text p {
	font-size: 17px;
	line-height: 1.7;
	color: #1a1a1a;
	margin: 0 0 16px;
}
.fl-module.mc-dvp-expertise-body .fl-rich-text p:last-child {
	margin-bottom: 0;
}

/* Gallery section */
.fl-row.mc-dvp-gallery > .fl-row-content-wrap {
	background: #ffffff;
}
.fl-module.mc-dvp-gallery-heading .fl-heading {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 28px;
	color: #0f3a24;
	margin: 0 0 28px;
	text-align: center;
}
/* Brickwork gallery: 6-column grid where photos alternate row patterns
   — 3 photos per row (each span 2 of 6 = wider thirds), then 2 photos
   per row (each span 3 of 6 = halves). Wookmark (BB's bundled masonry
   JS) sets absolute positioning on every .fl-gallery-item inline, so
   we force-clear that. */
.fl-module.mc-dvp-gallery-grid .fl-gallery {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 12px;
	/* BB's Wookmark JS sets an inline height assuming absolute-
	   positioned items; with our grid that under-counts the real
	   height and the load-more button below overlaps the bottom
	   row. Force the wrapper to size to its grid content. */
	height: auto !important;
	min-height: 0 !important;
}
.fl-module.mc-dvp-gallery-grid .fl-gallery .fl-gallery-item {
	position: static !important;
	top: auto !important;
	left: auto !important;
	width: 100% !important;
	height: 240px;             /* fix the cell height; image fills it below */
	margin: 0 !important;
	padding: 0 !important;
	grid-column: span 2;       /* default: 3-per-row */
	overflow: hidden;
}
/* Every 4th and 5th item in the repeating pattern span 3 cols (2-per-row) */
.fl-module.mc-dvp-gallery-grid .fl-gallery .fl-gallery-item:nth-child(5n+4),
.fl-module.mc-dvp-gallery-grid .fl-gallery .fl-gallery-item:nth-child(5n+5) {
	grid-column: span 3;
}
.fl-module.mc-dvp-gallery-grid .fl-gallery .fl-gallery-item .fl-photo,
.fl-module.mc-dvp-gallery-grid .fl-gallery .fl-gallery-item .fl-photo-content {
	width: 100%;
	height: 100%;
}
.fl-module.mc-dvp-gallery-grid .fl-gallery .fl-gallery-item img,
.fl-module.mc-dvp-gallery-grid .fl-gallery .fl-gallery-item .fl-photo-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* --- Gallery "Load more" clamp ---
   Galleries marked with `.mc-gallery-clamp` (server-side via
   fl_builder_module_attributes in functions.php) hide every item
   past the threshold until the user clicks the button injected
   by /js/mc-gallery-loadmore.js. `--mc-clamp-after` is set by the
   JS to the threshold so this single rule works for any gallery
   regardless of grid pattern. */
/* CSS :nth-child() doesn't accept var() yet, so apply the actual
   threshold per known marker class. Add a rule for each new clamp
   target you add in functions.php.
   !important needed because the per-gallery base styles set
   `display: block !important` on items to defeat the Wookmark JS. */
.fl-module.mc-dvp-gallery-grid.mc-gallery-clamp--ready:not(.is-expanded)
	.fl-gallery-item:nth-child(n + 6) {
	display: none !important;
}
.fl-module.mc-pj-gallery-grid.mc-gallery-clamp--ready:not(.is-expanded)
	.fl-gallery-item:nth-child(n + 5) {
	display: none !important;
}

.mc-gallery-loadmore {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 28px auto 0;
	padding: 12px 28px;
	border: 1px solid #219f5a;
	border-radius: 6px;
	background: transparent;
	color: #219f5a;
	font-family: "Montserrat", sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	cursor: pointer;
	transition:
		background 180ms ease,
		color 180ms ease,
		transform 180ms ease;
}
/* Centre the button under its gallery — the gallery row is centred
   so a margin trick is enough; if we ever right-align a gallery we
   can change this then. */
.mc-gallery-loadmore {
	display: flex;
	justify-content: center;
	width: max-content;
	margin-left: auto;
	margin-right: auto;
}
.mc-gallery-loadmore:hover,
.mc-gallery-loadmore:focus {
	background: #219f5a;
	color: #ffffff;
	transform: translateY(-1px);
}
.mc-gallery-loadmore:focus-visible {
	outline: 3px solid rgba(33, 159, 90, 0.45);
	outline-offset: 3px;
}

/* CTA band (same structure as careers CTA — white text + buttons on green) */
.fl-row.mc-dvp-cta .fl-row-content {
	max-width: 980px;
	text-align: center;
}
.fl-row.mc-dvp-cta .fl-col-content {
	display: block;
	text-align: center;
}
.fl-module.mc-dvp-cta-heading .fl-heading {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 32px;
	color: #ffffff;
	margin: 0 0 14px;
	line-height: 1.2;
	text-align: center;
}
.fl-module.mc-dvp-cta-text .fl-rich-text {
	max-width: 720px;
	margin: 0 auto 28px;
}
.fl-module.mc-dvp-cta-text .fl-rich-text p {
	color: #e6f1ea;
	font-size: 18px;
	line-height: 1.65;
	margin: 0;
	text-align: center;
}
.fl-module.mc-dvp-cta-button {
	display: inline-block;
	vertical-align: middle;
	margin: 0 6px;
}
.fl-module.mc-dvp-cta-button .fl-button-wrap {
	margin: 0;
	text-align: center;
}
.fl-module.mc-dvp-cta-button a.fl-button,
.fl-module.mc-dvp-cta-button a.fl-button span,
.fl-module.mc-dvp-cta-button a.fl-button .fl-button-text {
	background: #ffffff !important;
	color: #0f3a24 !important;
	font-family: "Montserrat", sans-serif !important;
	font-weight: 600 !important;
	padding: 14px 28px !important;
	border-radius: 4px !important;
	text-decoration: none !important;
}
.fl-module.mc-dvp-cta-button a.fl-button:hover,
.fl-module.mc-dvp-cta-button a.fl-button:hover span,
.fl-module.mc-dvp-cta-button a.fl-button:hover .fl-button-text {
	background: #f6faf7 !important;
	color: #0f3a24 !important;
}

@media (max-width: 900px) {
	.fl-col.mc-dvp-intro-text,
	.fl-col.mc-dvp-intro-photo-col,
	.fl-col.mc-dvp-expertise-photo-col,
	.fl-col.mc-dvp-expertise-text {
		flex: 1 1 100%;
		max-width: 100%;
	}
	.fl-module.mc-dvp-intro-heading .fl-heading {
		font-size: 28px;
	}
	.fl-module.mc-dvp-services-heading .fl-heading,
	.fl-module.mc-dvp-expertise-heading .fl-heading,
	.fl-module.mc-dvp-cta-heading .fl-heading {
		font-size: 24px;
	}
	.fl-module.mc-dvp-gallery-grid .fl-gallery {
		grid-template-columns: repeat(2, 1fr);
	}
	.fl-module.mc-dvp-gallery-grid .fl-gallery .fl-gallery-item,
	.fl-module.mc-dvp-gallery-grid .fl-gallery .fl-gallery-item:nth-child(5n+4),
	.fl-module.mc-dvp-gallery-grid .fl-gallery .fl-gallery-item:nth-child(5n+5) {
		grid-column: span 1;
	}

	/* --- Vertical rhythm once columns stack (same principles as the
	   rest of the mobile pass: BB auto-spacing strips the gaps) --- */
	/* Section breathing room */
	.fl-row.mc-dvp-intro > .fl-row-content-wrap,
	.fl-row.mc-dvp-services > .fl-row-content-wrap,
	.fl-row.mc-dvp-expertise > .fl-row-content-wrap,
	.fl-row.mc-dvp-gallery > .fl-row-content-wrap,
	.fl-row.mc-dvp-cta > .fl-row-content-wrap {
		padding-top: 40px !important;
		padding-bottom: 40px !important;
	}
	/* Clear gap between the division logo and the heading, all six pages */
	.fl-module.mc-dvp-intro-logo {
		margin-bottom: 28px !important;
	}
	/* GoodFix logo PNG carries internal whitespace — optical left-align
	   nudge, this page only (other divisions' logos differ) */
	body.page-id-14 .fl-module.mc-dvp-intro-logo {
		margin-left: -16px !important;
	}
	/* The intro text column carries desktop-design padding in its BB
	   settings (130 top / 140 bottom / 80 right) — far too much once
	   the columns stack. Compact it for mobile. */
	.fl-row.mc-dvp-intro .fl-col.mc-dvp-intro-text > .fl-col-content {
		padding: 32px 0 16px !important;
	}
	/* Expertise → gallery reads too far apart at 40+40 — tighten */
	.fl-row.mc-dvp-expertise > .fl-row-content-wrap {
		padding-bottom: 24px !important;
	}
	.fl-row.mc-dvp-gallery > .fl-row-content-wrap {
		padding-top: 24px !important;
	}
	/* Gaps between stacked columns (photo under text, text under photo) */
	.fl-col.mc-dvp-intro-photo-col,
	.fl-col.mc-dvp-expertise-text {
		margin-top: 24px;
	}
	/* Gaps between modules inside a section */
	.fl-module.mc-dvp-intro-body,
	.fl-module.mc-dvp-expertise-body,
	.fl-module.mc-dvp-cta-text {
		margin-top: 10px;
	}
	.fl-module.mc-dvp-services-list {
		margin-top: 14px;
	}
	.fl-module.mc-dvp-gallery-grid {
		margin-top: 0;
	}
	.fl-module.mc-dvp-gallery-heading .fl-heading {
		margin-bottom: 16px;
	}
	.fl-module.mc-dvp-cta-button {
		margin-top: 12px;
	}
}
@media (max-width: 600px) {
	.fl-module.mc-dvp-gallery-grid .fl-gallery {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Projects archive (.mc-projects-archive*, .mc-project-tile*).
   Rendered by themes/bb-theme-child/archive-mcbean_project.php.
   Image-led tiles in a 3-col grid; first tile spans 2 cols as a
   feature. Photo fills the tile; title and "View project" overlay
   on a dark gradient scrim at the bottom. Hover lifts the scrim
   and gently zooms the image. Sub-page header is auto-applied by
   the fl_before_content hook in functions.php.
   ========================================================================== */
/* Break the bb-theme `.container` constraint for this archive — the
   parent theme wraps everything in a max-width container with a
   `col-md-8` content column, which leaves the grid feeling cramped.
   Force the archive to span the full viewport width. */
.fl-archive-mcbean-project {
	max-width: none !important;
	width: 100% !important;
	padding: 0 !important;
}
.fl-archive-mcbean-project .row {
	margin: 0 !important;
	width: 100%;
}
.fl-archive-mcbean-project .fl-content {
	width: 100% !important;
	max-width: none !important;
	flex: 0 0 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

.mc-projects-archive {
	padding: 70px 24px 100px;
	background: #ffffff;
}
.mc-projects-archive__inner {
	max-width: 1320px;
	margin: 0 auto;
}
.mc-projects-archive__intro {
	font-size: 19px;
	line-height: 1.7;
	color: #1a1a1a;
	margin: 0 auto 56px;
	max-width: 760px;
	text-align: center;
}
.mc-projects-archive__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 280px;
	gap: 20px;
}

/* Each tile: image fills the tile, title overlays bottom-left over a
   dark gradient scrim. Whole tile is the link. */
.mc-project-tile {
	position: relative;
	display: block;
	text-decoration: none;
	color: #ffffff;
	overflow: hidden;
	background: #0f3a24;
	box-shadow: 0 8px 24px rgba(15, 58, 36, 0.10);
	transition: box-shadow 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mc-project-tile:hover {
	box-shadow: 0 18px 36px rgba(15, 58, 36, 0.20);
}
/* First tile is a feature — spans 2 cols and 2 rows for editorial rhythm */
.mc-project-tile--feature {
	grid-column: span 2;
	grid-row: span 2;
}

.mc-project-tile__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mc-project-tile:hover .mc-project-tile__img {
	transform: scale(1.06);
}
.mc-project-tile__placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #0f3a24 0%, #219f5a 100%);
}

/* Dark scrim at the bottom — strong enough that white title reads on
   any photo. Hover deepens the scrim slightly. */
.mc-project-tile__scrim {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(to top,
		rgba(0, 0, 0, 0.78) 0%,
		rgba(0, 0, 0, 0.45) 25%,
		rgba(0, 0, 0, 0.05) 55%,
		transparent 100%);
	transition: background 280ms ease-out;
}
.mc-project-tile:hover .mc-project-tile__scrim {
	background: linear-gradient(to top,
		rgba(0, 0, 0, 0.88) 0%,
		rgba(0, 0, 0, 0.62) 30%,
		rgba(0, 0, 0, 0.18) 60%,
		transparent 100%);
}

.mc-project-tile__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 26px 28px 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.mc-project-tile__title {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 1.25;
	color: #ffffff;
	margin: 0;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.mc-project-tile--feature .mc-project-tile__title {
	font-size: 32px;
	line-height: 1.15;
	max-width: 80%;
}
.mc-project-tile__cta {
	font-family: "Montserrat", sans-serif;
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #9bd1ad;
	transform: translateY(6px);
	opacity: 0;
	transition: transform 260ms ease-out, opacity 260ms ease-out;
}
.mc-project-tile:hover .mc-project-tile__cta,
.mc-project-tile:focus-visible .mc-project-tile__cta {
	transform: translateY(0);
	opacity: 1;
}

.mc-projects-archive__nav {
	margin-top: 56px;
	text-align: center;
}

@media (max-width: 900px) {
	.mc-projects-archive {
		padding: 50px 16px 70px;
	}
	.mc-projects-archive__grid {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 240px;
		gap: 14px;
	}
	/* Feature collapses to a single wide tile on tablet (still 2 cols, 1 row) */
	.mc-project-tile--feature {
		grid-column: span 2;
		grid-row: span 2;
	}
	.mc-project-tile--feature .mc-project-tile__title {
		font-size: 26px;
	}
	/* Reveal CTA persistently on touch */
	.mc-project-tile__cta { opacity: 1; transform: none; }
}
@media (max-width: 600px) {
	.mc-projects-archive__grid {
		grid-template-columns: 1fr;
		grid-auto-rows: 260px;
	}
	.mc-project-tile--feature {
		grid-column: span 1;
		grid-row: span 1;
	}
	.mc-project-tile--feature .mc-project-tile__title {
		font-size: 22px;
	}
}

/* ==========================================================================
   News page (.mc-nw-*).
   On-brand news listing built with a Beaver Builder Posts module — NOT the
   default WordPress archive (the page is no longer assigned as the "Posts
   page" in Reading settings, so it renders this layout). Intro band + a
   responsive card grid. BB's "grid" layout uses JS masonry; we neutralise
   that and use a plain CSS grid so the cards lay out predictably.
   ========================================================================== */
.fl-row.mc-nw-intro > .fl-row-content-wrap { padding: 72px 20px 12px; }
.fl-row.mc-nw-feed  > .fl-row-content-wrap { padding: 28px 20px 100px; }

/* Intro band — eyebrow + heading + lead line (sits below the green title bar) */
.fl-module.mc-nw-eyebrow .fl-heading {
	font-family: "Montserrat", sans-serif;
	font-size: 13px;
	color: #219f5a;
	letter-spacing: 0.2em;
	margin: 0 0 14px;
}
.fl-module.mc-nw-heading .fl-heading {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 36px;
	line-height: 1.15;
	color: #0f3a24;
	margin: 0 0 16px;
}
.fl-module.mc-nw-intro-text .fl-rich-text { max-width: 760px; }
.fl-module.mc-nw-intro-text .fl-rich-text p {
	font-size: 18px;
	line-height: 1.7;
	color: #1a1a1a;
	margin: 0;
}

/* Card grid — override BB masonry (absolute positioning + fixed container
   height) with a clean, equal-height CSS grid. */
.mc-nw-grid .fl-post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	/* BB's masonry JS sets inline width/height on this container; !important
	   in the stylesheet overrides those JS-set inline styles. */
	width: 100% !important;
	height: auto !important;
}
/* Kill the theme's clearfix ::before/::after — in a grid container they become
   grid items and steal the first/last cells, shoving real posts sideways. */
.mc-nw-grid .fl-post-grid::before,
.mc-nw-grid .fl-post-grid::after { display: none !important; }
.mc-nw-grid .fl-post-grid .fl-post-grid-sizer { display: none !important; }
/* Masonry wraps each post in a ul.masonry-brick and positions it absolutely;
   display:contents removes that wrapper from layout so the post itself becomes
   the grid cell (and masonry's inline positioning no longer applies). */
.mc-nw-grid .fl-post-grid .masonry-brick:not(.fl-post-grid-sizer) { display: contents !important; }
/* The post card (a <ul>). High specificity to beat BB's generated
   `.fl-module-post-grid :not(.fl-builder-pagination) > ul { background:unset }`. */
.mc-nw-grid .fl-post-grid .fl-post-grid-post {
	position: static !important;
	left: auto !important;
	top: auto !important;
	width: auto !important;
	float: none !important;
	transform: none !important;   /* masonry positions items via translate() */
	margin: 0 !important;
	padding: 0;
	list-style: none;
	background: #ffffff !important;
	border: 1px solid #d7e6dd;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(15, 58, 36, 0.10);
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.mc-nw-grid .fl-post-grid .fl-post-grid-post:hover {
	box-shadow: 0 18px 44px rgba(15, 58, 36, 0.16);
	transform: translateY(-3px);
}
/* Featured image (rendered when a post has one) */
.mc-nw-grid .fl-post-grid-image { margin: 0; height: 220px; overflow: hidden; }
.mc-nw-grid .fl-post-grid-image img {
	display: block;
	width: 100% !important;
	height: 220px !important;
	object-fit: cover !important;
}
.mc-nw-grid .fl-post-grid-text { padding: 26px 26px 28px; }
.mc-nw-grid .fl-post-grid-title { margin: 0 0 10px; font-size: 19px; line-height: 1.3; }
.mc-nw-grid .fl-post-grid-title a {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	color: #0f3a24;
	text-decoration: none;
}
.mc-nw-grid .fl-post-grid-title a:hover { color: #219f5a; }
.mc-nw-grid .fl-post-grid-meta,
.mc-nw-grid .fl-post-grid-date {
	font-family: "Montserrat", sans-serif;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6e6e6e;
	margin: 0 0 12px;
}
.mc-nw-grid .fl-post-grid-content p {
	font-size: 15px;
	line-height: 1.65;
	color: #444444;
	margin: 0 0 16px;
}
.mc-nw-grid .fl-post-grid-content p:last-child { margin-bottom: 0; }
.mc-nw-grid .fl-post-more-link,
.mc-nw-grid .fl-post-grid-more {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 14px;
	color: #219f5a;
	text-decoration: none;
}
.mc-nw-grid .fl-post-more-link:hover,
.mc-nw-grid .fl-post-grid-more:hover { color: #1a7544; }

/* Empty / "coming soon" state — shown until news posts are published. */
.mc-nw-grid .fl-post-grid-empty,
.mc-nw-grid .fl-post-no-results {
	grid-column: 1 / -1;
	text-align: center;
	font-size: 17px;
	line-height: 1.6;
	color: #6e6e6e;
	background: #f6faf7;
	border: 1px dashed #cfe7d8;
	border-radius: 12px;
	padding: 56px 24px;
	margin: 0;
}
.mc-nw-grid .fl-post-grid-empty p { margin: 0; }
/* BB appends a search form to the no-results block; not wanted on a
   "coming soon" notice (real posts replace this state entirely). */
.mc-nw-grid .fl-post-grid-empty form { display: none; }

@media (max-width: 980px) {
	.mc-nw-grid .fl-post-grid { grid-template-columns: repeat(2, 1fr); }
	.fl-module.mc-nw-heading .fl-heading { font-size: 30px; }
	.fl-row.mc-nw-intro > .fl-row-content-wrap { padding: 56px 20px 8px; }
	.fl-row.mc-nw-feed  > .fl-row-content-wrap { padding: 24px 20px 72px; }
}
@media (max-width: 600px) {
	.mc-nw-grid .fl-post-grid { grid-template-columns: 1fr; }
}


/* =============================================
   Single Post template (.mc-sp-*)
   BB Themer layout for individual news articles.
   ============================================= */

/* --- Hide sidebar, comments, subheader, and default nav on single posts --- */
.single-post .mc-subheader,
.single-post .fl-page-content .sidebar,
.single-post .fl-comments,
.single-post #comments,
.single-post .fl-post-navigation { display: none; }
.single-post .fl-content-full { max-width: 100%; }

/* --- Header row --- */
.fl-row.mc-sp-header > .fl-row-content-wrap {
	padding: 64px 20px 20px;
	max-width: 820px;
	margin: 0 auto;
}

/* Back to News — quiet text link, first thing in the header container,
   left-aligned with the eyebrow/title below it. It's a BB button module,
   so the site-wide green pill styling has to be unwound here. */
.fl-module.mc-sp-back {
	margin: 0 0 26px;
}
.fl-module.mc-sp-back.fl-button-wrap,
.fl-module.mc-sp-back .fl-button-wrap {
	text-align: left;
}
.fl-module.mc-sp-back a.fl-button {
	background: transparent !important;
	box-shadow: none !important;
	padding: 0 !important;
	border-radius: 0 !important;
	display: inline-block !important;
	font-family: "Montserrat", sans-serif !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em;
}
.fl-module.mc-sp-back a.fl-button .fl-button-text {
	color: #219f5a !important;
	transition: color 0.2s ease;
}
.fl-module.mc-sp-back a.fl-button:hover,
.fl-module.mc-sp-back a.fl-button:focus {
	background: transparent !important;
	box-shadow: none !important;
	transform: none;
}
.fl-module.mc-sp-back a.fl-button:hover .fl-button-text,
.fl-module.mc-sp-back a.fl-button:focus .fl-button-text {
	color: #1a7544 !important;
}

.fl-module.mc-sp-eyebrow .fl-heading {
	font-family: "Montserrat", sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #219f5a;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	margin: 0 0 24px !important;
}

.fl-module.mc-sp-title .fl-heading {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 40px;
	line-height: 1.2;
	color: #0f3a24;
	margin: 0 0 20px !important;
}

.fl-module.mc-sp-date .fl-heading {
	font-family: "Open Sans", sans-serif;
	font-size: 15px;
	color: #6e6e6e;
	margin: 0;
}

/* --- Featured image --- */
.fl-row.mc-sp-image > .fl-row-content-wrap {
	padding: 20px 20px 0;
	max-width: 960px;
	margin: 0 auto;
}

.fl-module.mc-sp-featured .fl-photo img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* --- Post content --- */
.fl-row.mc-sp-content > .fl-row-content-wrap {
	padding: 40px 20px 60px;
	max-width: 760px;
	margin: 0 auto;
}

.fl-module.mc-sp-body {
	font-family: "Open Sans", sans-serif;
	font-size: 17px;
	line-height: 1.75;
	color: #1f1f1f;
}

.fl-module.mc-sp-body p {
	margin-bottom: 1.4em;
}

.fl-module.mc-sp-body h2,
.fl-module.mc-sp-body h3 {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	color: #0f3a24;
	margin-top: 2em;
	margin-bottom: 0.6em;
}

.fl-module.mc-sp-body blockquote {
	border-left: 4px solid #219f5a;
	padding: 16px 20px;
	margin: 1.8em 0;
	background: #f6faf7;
	font-style: italic;
	color: #0f3a24;
}

/* --- Read More section --- */
.fl-row.mc-sp-readmore > .fl-row-content-wrap {
	padding: 60px 20px 80px;
	border-top: 1px solid #cfe7d8;
}

.fl-module.mc-sp-readmore-heading .fl-heading {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 28px;
	color: #0f3a24;
	margin: 0 0 40px !important;
	text-align: center;
}

/* Reuse same card grid as the News page */
.mc-sp-readmore-grid .fl-post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	width: 100% !important;
	height: auto !important;
}

.mc-sp-readmore-grid .fl-post-grid::before,
.mc-sp-readmore-grid .fl-post-grid::after { display: none !important; }

.mc-sp-readmore-grid .fl-post-grid .fl-post-grid-sizer { display: none !important; }

.mc-sp-readmore-grid .fl-post-grid .masonry-brick:not(.fl-post-grid-sizer) {
	display: contents !important;
}

.mc-sp-readmore-grid .fl-post-grid .fl-post-grid-post {
	position: static !important;
	left: auto !important;
	top: auto !important;
	width: auto !important;
	float: none !important;
	transform: none !important;
	margin: 0 !important;
	padding: 0;
	list-style: none;
	background: #ffffff !important;
	border: 1px solid #d7e6dd;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(15, 58, 36, 0.10);
	display: flex;
	flex-direction: column;
}

.mc-sp-readmore-grid .fl-post-grid-post .fl-post-grid-image img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}

.mc-sp-readmore-grid .fl-post-grid-post .fl-post-grid-text {
	padding: 20px;
}

.mc-sp-readmore-grid .fl-post-grid-post .fl-post-grid-title {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.3;
	margin: 0 0 8px;
}

.mc-sp-readmore-grid .fl-post-grid-post .fl-post-grid-title a {
	color: #0f3a24;
	text-decoration: none;
}
.mc-sp-readmore-grid .fl-post-grid-post .fl-post-grid-title a:hover {
	color: #219f5a;
}

.mc-sp-readmore-grid .fl-post-grid-post .fl-post-grid-meta {
	font-size: 13px;
	color: #6e6e6e;
	margin-bottom: 10px;
}

.mc-sp-readmore-grid .fl-post-grid-post .fl-post-grid-content {
	font-size: 15px;
	line-height: 1.6;
	color: #1f1f1f;
}

.mc-sp-readmore-grid .fl-post-grid-post .fl-post-grid-more a {
	display: inline-block;
	margin-top: 12px;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 14px;
	color: #219f5a;
	text-decoration: none;
}
.mc-sp-readmore-grid .fl-post-grid-post .fl-post-grid-more a:hover {
	color: #1a7544;
}

.mc-sp-readmore-grid .fl-post-grid-empty form { display: none; }

/* --- Responsive --- */
@media (max-width: 980px) {
	.fl-module.mc-sp-title .fl-heading { font-size: 32px; }
	.mc-sp-readmore-grid .fl-post-grid { grid-template-columns: repeat(2, 1fr); }
	.fl-row.mc-sp-header > .fl-row-content-wrap { padding: 48px 20px 16px; }
}
@media (max-width: 600px) {
	.fl-module.mc-sp-title .fl-heading { font-size: 26px; }
	.mc-sp-readmore-grid .fl-post-grid { grid-template-columns: 1fr; }
	.fl-row.mc-sp-content > .fl-row-content-wrap { padding: 28px 16px 48px; }
}


/* =============================================
   Contact Us page (.mc-ct-*)
   ============================================= */

/* The standard subheader strip shows for Contact — hide the custom hero row */
.page-id-12 .fl-row.mc-ct-hero { display: none; }

/* Form + CTA section */
.fl-row.mc-ct-form-section > .fl-row-content-wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 60px 0;
}

/* Form column — dark card */
.fl-col.mc-ct-form-col > .fl-col-content {
	background: #2a2a2a;
	border-radius: 12px;
	padding: 60px 40px 40px;
}
.fl-module.mc-ct-form-heading .fl-heading {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 26px;
	color: #ffffff;
	margin: 0 0 36px !important;
}

/* Gravity Forms styling inside the dark card */
.mc-ct-form-embed .gform_wrapper input[type="text"],
.mc-ct-form-embed .gform_wrapper input[type="email"],
.mc-ct-form-embed .gform_wrapper input[type="tel"],
.mc-ct-form-embed .gform_wrapper textarea {
	background: #ffffff !important;
	border: none !important;
	border-radius: 6px !important;
	padding: 12px 16px !important;
	font-family: "Open Sans", sans-serif;
	font-size: 15px !important;
	color: #1f1f1f;
	width: 100%;
	height: auto !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
}
.mc-ct-form-embed .gform_wrapper select {
	background: #ffffff;
	border: none !important;
	border-radius: 6px !important;
	padding: 12px 16px !important;
	font-family: "Open Sans", sans-serif;
	font-size: 15px !important;
	color: #1f1f1f;
	width: 100%;
	height: auto !important;
	box-shadow: none !important;
	line-height: 1.4 !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236e6e6e' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 16px center !important;
	background-size: 12px 8px !important;
	background-color: #ffffff !important;
	padding-right: 40px !important;
	cursor: pointer;
}
.mc-ct-form-embed .gform_wrapper select option.gf_placeholder {
	color: #999999;
}
.mc-ct-form-embed .gform_wrapper select:has(option.gf_placeholder:checked) {
	color: #999999 !important;
}
.mc-ct-form-embed .gform_wrapper textarea { min-height: 140px; }
.mc-ct-form-embed .gform_wrapper input::placeholder,
.mc-ct-form-embed .gform_wrapper textarea::placeholder {
	color: #999999 !important;
	opacity: 1 !important;
}
.mc-ct-form-embed .gform_wrapper .gfield_label { display: none; }
.mc-ct-form-embed .gform_wrapper .gfield { margin-bottom: 20px !important; padding-bottom: 0 !important; }
.mc-ct-form-embed .gform_wrapper .gform_fields { gap: 0 !important; }
.mc-ct-form-embed .gform_wrapper .gfield_consent_label,
.mc-ct-form-embed .gform_wrapper .ginput_container_consent label {
	font-family: "Open Sans", sans-serif;
	font-size: 13px;
	color: #cfe7d8;
}
.mc-ct-form-embed .gform_wrapper .ginput_container_consent a {
	color: #9bd1ad;
}
.mc-ct-form-embed .gform_wrapper .gform_footer input[type="submit"],
.mc-ct-form-embed .gform_wrapper .gform_button {
	background: #219f5a;
	color: #ffffff;
	border: none;
	border-radius: 6px;
	padding: 14px 32px;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	transition: background 0.2s ease;
}
.mc-ct-form-embed .gform_wrapper .gform_footer input[type="submit"]:hover,
.mc-ct-form-embed .gform_wrapper .gform_button:hover {
	background: #1a7544;
}
.mc-ct-form-embed .gform_wrapper .gform_confirmation_message {
	color: #9bd1ad;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
}

/* CTA column — vertically centred */
.fl-col.mc-ct-cta-col > .fl-col-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 0 0 60px;
	height: 100%;
}
.fl-module.mc-ct-cta-heading .fl-heading {
	font-family: "Montserrat", sans-serif;
	font-weight: 400;
	font-size: 28px;
	color: #0f3a24;
	line-height: 1.3;
	margin: 0 0 20px;
}
.fl-module.mc-ct-cta-heading .fl-heading strong {
	font-weight: 700;
}
.fl-module.mc-ct-cta-heading .fl-heading a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}
.fl-module.mc-ct-cta-heading .fl-heading a:hover {
	color: #219f5a;
}
.fl-module.mc-ct-cta-text .fl-rich-text p {
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: #3b3b3b;
}
.fl-module.mc-ct-cta-text .fl-rich-text a[href^="mailto"] {
	color: #219f5a;
	text-decoration: none;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.fl-module.mc-ct-cta-text .fl-rich-text a[href^="mailto"]::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23219f5a'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.fl-module.mc-ct-cta-text .fl-rich-text a[href^="mailto"]:hover {
	color: #1a7544;
}
.fl-module.mc-ct-cta-text .fl-rich-text a[href^="mailto"]:hover::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a7544'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

/* Newsletter signup — same stock subscribe-form module as the footer
   (shared MailChimp list), restyled for the light CTA column. Jenn's
   "Subscribe to our mailing list" heading sits directly above it. */
.fl-module.mc-ct-subscribe {
	margin-top: 4px;
	max-width: 380px;
}

.fl-module.mc-ct-subscribe .fl-form-field {
	margin-bottom: 10px;
}

.fl-module.mc-ct-subscribe .fl-form-field input[type="text"],
.fl-module.mc-ct-subscribe .fl-form-field input[type="email"] {
	width: 100%;
	background: #fff;
	border: 1px solid #cfe7d8;
	border-radius: 6px;
	color: #0f3a24;
	font-family: "Open Sans", sans-serif;
	font-size: 15px;
	line-height: 1.4;
	padding: 11px 14px;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.fl-module.mc-ct-subscribe .fl-form-field input::placeholder {
	color: rgba(15, 58, 36, 0.45);
}

.fl-module.mc-ct-subscribe .fl-form-field input:focus {
	border-color: #219f5a;
	box-shadow: 0 0 0 3px rgba(33, 159, 90, 0.12);
	outline: none;
}

.fl-module.mc-ct-subscribe .fl-form-button a.fl-button {
	display: block;
	width: 100%;
	background: #219f5a !important;
	border: 0 !important;
	border-radius: 6px;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-align: center;
	padding: 12px 20px;
	transition: background 180ms ease, transform 180ms ease;
}

.fl-module.mc-ct-subscribe .fl-form-button a.fl-button:hover {
	background: #1a7544 !important;
	transform: translateY(-1px);
}

.fl-module.mc-ct-subscribe .fl-form-button a.fl-button .fl-button-text {
	color: #fff !important;
}

.fl-module.mc-ct-subscribe .fl-form-error-message {
	font-size: 12px;
	margin-top: 6px;
}

.fl-module.mc-ct-subscribe .fl-form-success-message {
	color: #1a7544;
	font-size: 14px;
}

/* Office sections — full-width edge-to-edge */
.fl-row.mc-ct-office > .fl-row-content-wrap {
	max-width: 100%;
	padding: 0;
}
.fl-row.mc-ct-office .fl-row-content { max-width: 100%; }
.fl-row.mc-ct-office .fl-col-group { margin: 0; }
.fl-row.mc-ct-office .fl-col { padding: 0 !important; }

/* Map */
.mc-ct-map iframe { display: block; width: 100%; height: 450px; border-radius: 0; }

/* Glasgow details — green band */
.fl-col.mc-ct-details-glasgow > .fl-col-content {
	background: #0f3a24;
	padding: 60px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 450px;
}
/* Edinburgh details — dark band */
.fl-col.mc-ct-details-edinburgh > .fl-col-content {
	background: #1f1f1f;
	padding: 60px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 450px;
}

.fl-module.mc-ct-office-name .fl-heading {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 26px;
	color: #ffffff;
	margin: 0 0 24px !important;
	display: flex;
	align-items: baseline;
	gap: 8px;
}
.fl-module.mc-ct-office-name .fl-heading .mc-ct-office-logo {
	height: 28px;
	width: auto;
	position: relative;
	top: 2px;
}
.fl-module.mc-ct-office-name .fl-heading strong { font-weight: 700; }

.fl-module.mc-ct-office-address .fl-rich-text p {
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #cfe7d8;
	margin: 0 0 16px;
}

.fl-module.mc-ct-office-phone .fl-rich-text p {
	font-family: "Montserrat", sans-serif;
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 24px;
}
.fl-module.mc-ct-office-phone .fl-rich-text a {
	color: #ffffff;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.fl-module.mc-ct-office-phone .fl-rich-text a::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.fl-module.mc-ct-office-phone .fl-rich-text a:hover { color: #9bd1ad; }

/* Directions button */
.fl-module.mc-ct-directions-btn .fl-button {
	background: transparent !important;
	border: 2px solid #ffffff !important;
	border-radius: 6px;
	padding: 10px 24px !important;
	transition: background 0.2s ease, border-color 0.2s ease;
}
.fl-module.mc-ct-directions-btn .fl-button .fl-button-text {
	font-family: "Montserrat", sans-serif;
	font-weight: 600;
	font-size: 14px;
	color: #ffffff;
}
.fl-module.mc-ct-directions-btn .fl-button:hover {
	background: rgba(255,255,255,0.1) !important;
}

/* Responsive */
@media (max-width: 980px) {
	.fl-row.mc-ct-form-section > .fl-row-content-wrap { padding: 40px 20px; }
	.fl-col.mc-ct-cta-col > .fl-col-content { padding: 30px 0 0 0; }
}
@media (max-width: 768px) {
	.fl-col.mc-ct-details-glasgow > .fl-col-content,
	.fl-col.mc-ct-details-edinburgh > .fl-col-content { min-height: auto; padding: 40px; }
	.mc-ct-map iframe { height: 300px; }

	/* Breathing room between the email address and the subscribe heading */
	.fl-module.mc-ct-subscribe-heading {
		margin-top: 28px;
	}

	/* Both office rows stack full-width: details card first, map after.
	   (Glasgow needs an order swap — its map comes first in the DOM.) */
	body .fl-row.mc-ct-office .fl-col-group {
		display: flex !important;
		flex-direction: column;
	}
	body .fl-row.mc-ct-office .fl-col {
		width: 100% !important;
		max-width: 100% !important;
	}
	body .fl-row.mc-ct-glasgow .fl-col.mc-ct-map-col {
		order: 2;
	}
}
