/*
Theme Name: CompuFlow
Theme URI: https://www.compuflowsolutions.com/
Description: Block theme for CompuFlow Solutions. Reproduces the former Armada-based design (same measurements and breakpoints) with core blocks only.
Version: 1.3.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: compuflow
*/

/* =========================================================================
   Measurements below are taken from the old Armada theme at 1280/1024/768/375px.
   Breakpoints match it: 1024px (banner overlap), 970px (mobile header),
   768px (columns stack), 750px (20px side padding), 800px (h1 size).
   ========================================================================= */

:root {
	--cf-green: #45bf32;
	--cf-side: max(44px, calc((100cqw - 1100px) / 2)); /* space from box edge to content */
}

body {
	margin: 0;
	background: #fff url(assets/images/carbon_fibre.png) repeat fixed 50% 0;
	color: #000;
	font: 400 14px/24px "Open Sans", Helvetica, Arial, Verdana, sans-serif;
	-webkit-font-smoothing: auto;
}

/* Boxed page, 1220px wide, centred. */
.wp-site-blocks {
	position: relative;
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 !important;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 0 12px rgba(0, 0, 0, .15);
	container-type: inline-size;
}
.wp-site-blocks > * { margin-block: 0 !important; }

/* Content wrapper: 1100px of content with 44px gutters (20px on phones). */
.cf-wrap {
	box-sizing: border-box;
	max-width: 1188px;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 44px;
	padding-right: 44px;
}

/* ---------- Typography (old theme values) ----------
   Scoped to .wp-site-blocks so these beat WordPress's flow-layout margin reset. */
:is(.wp-site-blocks, .wp-block-post-content) :is(h1, h2, h3, h4, h5, h6) { font-family: Raleway, Helvetica, Arial, Verdana, sans-serif; color: #000; margin: 0 0 10px; }
:is(.wp-site-blocks, .wp-block-post-content) h1 { font-size: 42px; line-height: 48px; font-weight: 500; }
:is(.wp-site-blocks, .wp-block-post-content) h2 { font-size: 24px; line-height: 30px; font-weight: 500; }
:is(.wp-site-blocks, .wp-block-post-content) h3 { font-size: 30px; line-height: 36px; font-weight: 500; }
:is(.wp-site-blocks, .wp-block-post-content) h4 { font-size: 18px; line-height: 24px; font-weight: 600; }
:is(.wp-site-blocks, .wp-block-post-content) h5 { font-size: 15px; line-height: 23px; font-weight: 600; }
:is(.wp-site-blocks, .wp-block-post-content) h6 { font-size: 13px; line-height: 23px; font-weight: 600; text-transform: uppercase; }
:is(.wp-site-blocks .cf-content, .wp-block-post-content.is-root-container) p { margin: 0 0 10px; }
:is(.wp-site-blocks, .wp-block-post-content) :is(p, h1, h2, h3, h4, h5, h6, li) { overflow-wrap: normal; word-break: normal; } /* old theme did not break long words */
:is(.wp-site-blocks, .wp-block-post-content) a { color: var(--cf-green); }
:is(.wp-site-blocks, .wp-block-post-content) strong, :is(.wp-site-blocks, .wp-block-post-content) b { font-weight: 700; }
:is(.wp-site-blocks .cf-content, .wp-block-post-content.is-root-container) ul { margin: 0 0 10px 20px; padding: 0; list-style: disc; }
:is(.wp-site-blocks .cf-content, .wp-block-post-content.is-root-container) ol { margin: 0 0 0 20px; padding: 0; }
:is(.wp-site-blocks .cf-content, .wp-block-post-content.is-root-container) li { margin: 0; padding: 0; }
@media (max-width: 800px) {
	:is(.wp-site-blocks, .wp-block-post-content) h1 { font-size: 24px; line-height: 30px; }
}

/* ---------- Header (desktop) ---------- */
.cf-header { position: relative; z-index: 101; background: #fff; }
.cf-header-row { display: flex !important; align-items: center; justify-content: space-between; flex-wrap: nowrap !important; gap: 0 !important; }
.cf-branding { flex: 0 1 auto; padding: 22px 20px 22px 0; line-height: 0; font-size: 0; }
.cf-branding .wp-block-site-logo { margin: 0; }
.cf-branding .wp-block-site-logo img { width: 700px; max-width: none; height: auto; display: block; }
.cf-branding .cf-mobile-logo { display: none; margin: 0; }
.cf-mini { position: relative; top: 1.25px; padding-top: 1px; flex: 1 1 auto; display: flex !important; flex-wrap: wrap !important; justify-content: flex-end; align-items: center; font-size: 13px; line-height: 22px; gap: 0 !important; }
.cf-mini > * { margin: 0 0 0 20px !important; }
.cf-mini > .cf-phone { margin: 0 0 0 20px !important; height: 22px; padding-top: 0; line-height: 20px; box-sizing: border-box; padding-bottom: 2px; }
.cf-phone { padding-left: 18px; font-size: 13px; line-height: 20px; color: #424242; white-space: nowrap; background: url("data:image/svg+xml,%3Csvg%20version=%221.1%22%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%2216px%22%20height=%2216px%22%20viewBox=%220%200%2016%2016%22%3E%3Cpath%20fill=%22%23424242%22%20d=%22M10.938,11.047c-0.07-0.388-0.134-0.632-0.328-0.812c-0.096-0.088-0.252-0.257-0.452-0.278c-0.045-0.005-0.176,0.002-0.222,0.011l-1.311,0.486C8.461,10.193,7.907,9.517,7.906,7.5c0-2.031,0.523-2.652,0.688-2.906l1.343,0.439c0.045,0.008,0.088,0.013,0.133,0.012c0.509,0.002,0.668-0.389,0.821-1.014l0.391-2.516c0.003-0.023,0.016-0.335,0.016-0.359c0-0.327,0.058-0.465-0.203-0.703c-0.224-0.206-0.377-0.298-0.677-0.305L8.115,0.001C8.1,0.001,8.085,0,8.068,0C6.869,0,6.328,0.703,5.55,2.504C5.031,4.25,4.875,5.921,4.875,7.5c0,2.531,1.225,5.85,2.013,6.955l0,0C7.282,14.816,7.679,15,8.068,15c0.017,0,0.032-0.001,0.047-0.002l2.302-0.146c0.664-0.016,0.849-0.294,0.849-0.945%20M8,0.859l2.487,0.221L9.984,4.006l-1-0.271c-0.02-0.003-0.103-0.014-0.125-0.016c-0.31-0.031-0.535-0.056-0.78,0.146C7.447,4.386,7.063,6.111,7.094,7.5c0.038,1.737,0.337,3.044,0.935,3.59l0,0c0.254,0.234,0.579,0.346,0.914,0.312c0.021-0.002,0.041-0.006,0.062-0.01l0.994-0.414l0.36,2.858l-2.103,0.226C8.222,14.047,8,14.005,7.751,13.89c-0.672-0.812-1.86-2.765-2.063-6.39C5.688,7.649,5.281,1.719,8,0.859z%22/%3E%3C/svg%3E") no-repeat 0 50%; }
.cf-phone a { color: inherit; text-decoration: none; }
.cf-search { position: relative; }
.cf-search .wp-block-search__inside-wrapper { display: block; border: 0; padding: 0; }
.cf-search .wp-block-search__button { margin: 0; padding: 0 0 0 22px; min-height: 22px; border: 0; border-radius: 0; background: url("data:image/svg+xml,%3Csvg%20version=%221.1%22%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%2216px%22%20height=%2216px%22%20viewBox=%220%200%2016%2016%22%3E%3Cpath%20fill=%22rgba(66,66,66,0.99)%22%20d=%22M8.93,0C5.573,0,2.855,2.718,2.855,6.072c0,1.444,0.506,2.769,1.347,3.811L0.19,13.896c-0.253,0.252-0.253,0.662,0,0.914c0.252,0.254,0.662,0.254,0.914,0l4.013-4.013c1.042,0.841,2.367,1.349,3.811,1.349c3.354,0,6.072-2.719,6.072-6.072C15,2.72,12.283,0,8.93,0z%20M8.93,11.073c-2.761,0-5-2.242-5-5c0-2.758,2.241-5,5-5c2.756,0,4.998,2.242,4.998,5C13.928,8.83,11.686,11.073,8.93,11.073z%22/%3E%3C/svg%3E") no-repeat 0 50%; color: #424242; font: 400 13px/20px "Open Sans", Helvetica, Arial, Verdana, sans-serif; cursor: pointer; }
.cf-search .wp-block-search__input { position: absolute; right: 0; top: 30px; width: 200px; padding: 6px 10px; border: 1px solid #ddd; background: #fff; font-size: 12px; z-index: 5; }
.cf-search.wp-block-search__searchfield-hidden .wp-block-search__input { display: none; }

.cf-nav-holder { border-top: 1px solid #ededed; }
.cf-nav-holder .cf-wrap { min-height: 50px; }
.cf-nav-desktop { margin-left: -2px !important; }
/* Old menu: inline items, 22.5px side margins + one space character (3.62px) between them. */
.cf-nav-desktop.wp-block-navigation { display: block !important; }
.cf-nav-desktop .wp-block-navigation__container { display: block !important; margin: 0; padding: 0; }
.cf-nav-desktop .wp-block-navigation-item { display: inline-flex !important; vertical-align: top; align-items: center; height: 50px; margin: 0 26.12px 0 22.5px !important; }
.cf-nav-desktop .wp-block-navigation-item:first-child { margin-left: 0 !important; }
.cf-nav-desktop .wp-block-navigation-item__content { position: relative; top: .33px; padding: 5px 1px 5px !important; font: 600 14px/18px Raleway, Helvetica, Arial, Verdana, sans-serif; text-transform: uppercase; color: #000; text-decoration: none; }
.cf-nav-desktop .wp-block-navigation-item__label { position: relative; display: inline-block; }
.cf-nav-desktop .current-menu-item > .wp-block-navigation-item__content,
.cf-nav-desktop .wp-block-navigation-item__content:hover { color: var(--cf-green); }
/* Underline drops in from 10px above (old "downwards" effect). */
.cf-nav-desktop .wp-block-navigation-item__label::before { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--cf-green); opacity: 0; transform: translateY(-10px); transition: opacity .3s, transform .3s; }
.cf-nav-desktop .current-menu-item .wp-block-navigation-item__label::before,
.cf-nav-desktop .wp-block-navigation-item__content:hover .wp-block-navigation-item__label::before { opacity: 1; transform: none; }
.cf-nav-mobile { display: none !important; }

/* Mobile-only top bar (phone + search), collapsed behind a green arrow strip. */
.cf-topbar { display: none; }

/* ---------- Page banner: a full-width Cover block that comes first on the page ---------- */
.wp-block-post-content > .wp-block-cover.alignfull:first-child { box-sizing: border-box; margin: -120px calc(-1 * var(--cf-edge)) -16px !important; min-height: 440px !important; padding: 70px var(--cf-side) !important; align-items: center; overflow: visible; }
.wp-block-post-content.wp-block-post-content > .wp-block-cover:first-child .wp-block-cover__inner-container { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 5px 0; }
.wp-block-post-content.wp-block-post-content > .wp-block-cover:first-child .wp-block-heading { margin: 0; padding: 5px 0; color: #fff; font-size: 30px; line-height: 36px; font-weight: 500; }
.wp-block-post-content.wp-block-post-content > .wp-block-cover:first-child h1.wp-block-heading { margin: 5px 0; padding: 0; }
.wp-block-post-content > .wp-block-cover:first-child::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 66px; z-index: 3; pointer-events: none; background: linear-gradient(rgba(255,255,255,.75) 0, rgba(255,255,255,.8) 5px, rgba(255,255,255,.86) 10px, rgba(255,255,255,.9) 20px, rgba(255,255,255,.94) 30px, rgba(255,255,255,.98) 50px, rgba(255,255,255,.99) 60px, #fff 70px); }
.wp-block-post-content > .wp-block-cover:first-child + * { position: relative; z-index: 4; }

/* ---------- Main ---------- */
.cf-main { padding: 50px 0 50px; } /* old: 34px + the 16px left by its content shift */
.cf-content { position: relative; }
.cf-content > * { margin-block: 0; }

/* ---------- Page content ----------
   Text starts 15px inside the 1100px column; blocks with a background reach its edges. */
.wp-block-post-content { --cf-edge: calc(var(--cf-side) + 15px); }
.wp-block-post-content.cf-wrap { padding-left: 59px; padding-right: 59px; }
.wp-block-post-content.wp-block-post-content > *, .wp-block-post-content.wp-block-post-content .wp-block-column > * { margin-top: 0; }
.wp-block-post-content.wp-block-post-content :is(p, h1, h2, h3, h4, h5, h6, ul, ol):not(:has(+ :is(p, h1, h2, h3, h4, h5, h6, ul, ol))) { margin-bottom: 0; }
.wp-block-post-content.wp-block-post-content .wp-block-image { margin-bottom: 0; }
.wp-block-post-content .wp-block-image img { max-width: 100%; height: auto; vertical-align: top; }
/* Coloured headings and paragraphs */
.wp-block-post-content.wp-block-post-content > .has-background:not(.alignfull) { margin-left: -15px; margin-right: -15px; margin-bottom: 0; }
.wp-block-post-content > :is(p, .wp-block-heading).has-background { padding: 16px; }
.wp-block-post-content .wp-block-column > :is(p, .wp-block-heading).has-background { padding: 16px 10px; }
.wp-block-post-content.wp-block-post-content .wp-block-column > .has-background { margin-bottom: 0; }
/* Full-width bands */
.wp-block-post-content > .wp-block-group.alignfull { margin-left: calc(-1 * var(--cf-edge)) !important; margin-right: calc(-1 * var(--cf-edge)) !important; padding-left: var(--cf-edge); padding-right: var(--cf-edge); }
/* Columns: 74px between columns, outer edges lined up with the text */
.wp-block-post-content .wp-block-columns { gap: 0 !important; margin-left: -37px; margin-right: -37px; align-items: stretch !important; }
.wp-block-post-content.wp-block-post-content .wp-block-columns { margin-bottom: 0; }
.wp-block-post-content .wp-block-column { box-sizing: border-box; min-width: 0; padding: 0 37px; }
.wp-block-post-content .wp-block-separator { box-sizing: content-box; width: 100%; height: 9px; margin: 0 !important; padding: 0; border: 0; border-top: 1px solid rgba(0, 0, 0, .15); background: none; color: transparent; opacity: 1; }
.wp-block-post-content.wp-block-post-content .wp-block-separator.is-style-thick { height: 0; border: 0; border-top: 5px solid rgba(0, 0, 0, .12); }

/* ---------- Footer ---------- */
.cf-footer { background: #262626; color: #888; font-size: 13px; line-height: 22px; }
.cf-footer .cf-footer-inner { padding-top: 50px; padding-bottom: 10px; }
.cf-footer .cf-footer-cols { align-items: flex-start; display: flex !important; flex-wrap: wrap !important; gap: 0 !important; margin: 0 -22px !important; }
.cf-footer .cf-footer-cols > * { box-sizing: border-box; flex: 0 0 25%; padding: 0 22px; margin: 0 0 30px !important; }
.cf-footer p { margin: 0; }
.cf-footer .cf-footer-cols > p { padding-bottom: 10px; } /* old text widget: <p> with 10px bottom margin */
.cf-footer a { color: #888; }
.cf-footer .cf-footer-nav { display: block !important; }
.cf-footer .cf-footer-nav ul { display: block !important; margin: 0; padding: 0; list-style: none; }
.cf-footer .cf-footer-nav li { display: block; padding: 0 0 10px; }
.wp-site-blocks .cf-footer .cf-footer-nav a { color: #f5f5f5; text-decoration: none; padding: 0 !important; font: 400 13px/22px "Open Sans", Helvetica, Arial, Verdana, sans-serif; }
.wp-site-blocks .cf-footer .cf-footer-nav .current-menu-item > a, .wp-site-blocks .cf-footer .cf-footer-nav a:hover { color: var(--cf-green); }
.cf-bottom { background: #000; color: #6b6b6b; font-size: 12px; line-height: 20px; }
.cf-bottom .cf-bottom-inner { display: flex !important; align-items: center; min-height: 60px; gap: 0 !important; }
.cf-bottom .cf-bottom-logo { margin: 0 10px 0 0; line-height: 0; }
.cf-bottom .cf-bottom-logo img { width: 200px; height: 25px; display: block; }
.cf-bottom p { margin: 0; }

/* ---------- Forms (old theme's input styling on current Gravity Forms markup) ---------- */
.cf-content input:is([type="text"], [type="email"], [type="tel"], [type="url"], [type="number"], [type="search"]), .cf-content textarea {
	box-sizing: border-box; border: 1px solid #e0e1e1; border-radius: 0; background: #fbfcfc; color: #b8bcbe; font: 400 14px/24px "Open Sans", Helvetica, Arial, Verdana, sans-serif; box-shadow: none;
}
.wp-site-blocks .cf-content .gform_wrapper.gravity-theme input:is([type="text"], [type="email"], [type="tel"], [type="url"], [type="number"]) { padding: 9px 10px 8px; font-size: 14px; line-height: 24px; }
.wp-site-blocks .cf-content .gform_wrapper.gravity-theme textarea { padding: 8px; font-size: 13px; line-height: 22px; vertical-align: top; }
.wp-site-blocks .cf-content .gform_wrapper.gravity-theme .gfield_label { font-size: 13px; line-height: 24px; font-weight: 400; margin-bottom: 8px; }
.wp-site-blocks .cf-content .gform_wrapper.gravity-theme .gfield_required { color: var(--cf-green); }
.cf-content input[type="submit"], .wp-site-blocks .cf-content .gform_wrapper .gform_button {
	height: 38px; padding: 4px 13.3333px 6px; border: 0; border-radius: 2px; background: var(--cf-green); color: #fff; font: 600 12px/28px Raleway, Helvetica, Arial, Verdana, sans-serif; cursor: pointer;
}

/* ---------- Home slideshow (Gallery block style "Slideshow") ----------
   Old slider: full page width, directly under the header, height min(667px, width x 667/1188). */
.wp-block-gallery.is-style-slideshow { position: relative; display: block !important; overflow: hidden; margin: 0; height: min(667px, calc(100cqw * 667 / 1188)); touch-action: pan-y pinch-zoom; }
.wp-block-post-content > .wp-block-gallery.is-style-slideshow { margin: 0 calc(-1 * var(--cf-edge)) 50px !important; width: auto !important; }
.wp-block-post-content > .wp-block-gallery.is-style-slideshow:first-child { margin-top: -50px !important; }
.wp-block-gallery.is-style-slideshow > .wp-block-image { position: absolute !important; inset: 0; width: 100% !important; height: 100%; margin: 0 !important; opacity: 0; transition: opacity 1s cubic-bezier(.455, .03, .515, .955); }
.wp-block-gallery.is-style-slideshow > .wp-block-image.is-active,
.wp-block-gallery.is-style-slideshow:not(.cf-ready) > .wp-block-image:first-child { opacity: 1; }
.wp-block-gallery.is-style-slideshow > .wp-block-image img { width: 100% !important; height: 100% !important; object-fit: cover; object-position: 50% 50%; }
.cf-slideshow-dots { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; justify-content: center; gap: 5px; z-index: 4; line-height: 0; }
.cf-slideshow-dots button { width: 12px; height: 12px; min-width: 0; padding: 0; border: 0; border-radius: 0; background: rgba(255, 255, 255, .5); cursor: pointer; }
/* Larger tap area than the 12px square. */
.cf-slideshow-dots button { position: relative; }
.cf-slideshow-dots button::after { content: ""; position: absolute; inset: -16px -2.5px; }
.cf-slideshow-dots button.is-active, .cf-slideshow-dots button:hover { background: #fff; }
.cf-slideshow-progress { position: absolute; left: 0; bottom: 0; width: 100%; height: 5px; background: rgba(0, 0, 0, .15); transform: scale.cf-green-bar)(0); transform-origin: 0 50%; z-index: 3; pointer-events: none; }
/* Slideshow caption (the gallery's caption). 1 unit = 1px of a 1188px design; it scales with the slider. */
.wp-block-gallery.is-style-slideshow > figcaption { --u: min(1px, calc(100cqw / 1188)); position: absolute; z-index: 2; left: calc(max(0px, (100cqw - 1188px) / 2) + 53 * var(--u)); top: calc(42 * var(--u)); box-sizing: border-box; width: round(nearest, calc(886 * var(--u)), 1px) !important; height: round(down, calc(123 * var(--u)), 1px); margin: 0 !important; padding: calc(18.5 * var(--u)) 0 0 calc(30 * var(--u)); background: rgba(0, 0, 0, .5); color: #fff; font-family: "Open Sans", Helvetica, Arial, Verdana, sans-serif; font-size: round(nearest, calc(30 * var(--u)), 1px); line-height: calc(39 * var(--u)); text-align: left; white-space: nowrap; pointer-events: none; -webkit-text-size-adjust: none; text-size-adjust: none; }
.cf-motion .wp-block-gallery.is-style-slideshow > figcaption { animation: cf-fade .3s cubic-bezier(.645, .045, .355, 1) both; }

/* ---------- Entry animations (old "fadeInLeft" + banner title fade) ----------
   .cf-motion is set on <html> by an inline script: not on touch devices, as on the old site. */
@keyframes cf-fade-in-left { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes cf-title-fade { from { opacity: .1; } to { opacity: 1; } }
@keyframes cf-fade { from { opacity: 0; } to { opacity: 1; } }
.cf-motion .wp-block-post-content .is-style-slide-in, .cf-motion .wp-block-post-content > .wp-block-heading.has-green-background-color { opacity: 0; }
.cf-motion .wp-block-post-content .cf-anim-run.cf-anim-run.cf-anim-run { animation: cf-fade-in-left 1s ease both; }
.cf-motion .wp-block-post-content > .wp-block-cover:first-child .wp-block-heading { animation: cf-title-fade .7s cubic-bezier(.445, .05, .55, .95) both; }
.cf-motion .wp-block-post-content > .wp-block-cover:first-child .wp-block-heading + .wp-block-heading { opacity: 0; animation: cf-title-fade .7s .3s cubic-bezier(.445, .05, .55, .95) forwards; }

/* ---------- Sticky menu ---------- */
.cf-sticky { position: fixed; top: 0; left: 0; width: 100%; z-index: 9008; visibility: hidden; opacity: 0; transition: opacity .4s; }
.cf-sticky.is-on { visibility: visible; opacity: 1; }
.admin-bar .cf-sticky { top: 32px; }
.cf-sticky-wrap { box-sizing: border-box; max-width: 1220px; min-height: 54px; margin: 0 auto; background: #fff; box-shadow: 0 0 6px rgba(0, 0, 0, .25); }
.cf-sticky-inner { box-sizing: border-box; max-width: 1188px; margin: 0 auto; padding: 0 40px; }
.cf-sticky .cf-nav-desktop { margin: 0 !important; }
.cf-sticky .cf-nav-desktop .wp-block-navigation__container { margin: 0 -3.62px 0 0 !important; text-align: center; font-size: 14px; }
.cf-sticky .cf-nav-desktop .wp-block-navigation-item { height: 54px; }
.cf-sticky .cf-nav-desktop .wp-block-navigation-item:last-child { margin-right: 3.62px !important; }

@media screen and (min-width: 1180px) {
	.cf-sticky .cf-nav-desktop .wp-block-navigation__container { text-align: left; }
}

/* ---------- Scroll to top ---------- */
.cf-top { position: fixed; right: 15px; bottom: 15px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 2px; background: rgba(0, 0, 0, .2) url("data:image/svg+xml,%3Csvg%20version=%221.1%22%20xmlns=%22http://www.w3.org/2000/svg%22%20xmlns:xlink=%22http://www.w3.org/1999/xlink%22%20x=%220px%22%20y=%220px%22%20width=%2244px%22%20height=%2244px%22%20viewBox=%220%200%2044%2044%22%20enable-background=%22new%200%200%2044%2044%22%20xml:space=%22preserve%22%3E%3Cpath%20fill=%22white%22%20d=%22M29.121,19.55l-6.29-6.196c-0.025-0.025-0.053-0.049-0.082-0.071c-0.012-0.011-0.024-0.02-0.038-0.03c-0.016-0.011-0.031-0.024-0.048-0.034c-0.017-0.011-0.032-0.02-0.048-0.03c-0.015-0.009-0.029-0.018-0.044-0.025c-0.017-0.009-0.034-0.017-0.051-0.024c-0.016-0.008-0.031-0.015-0.047-0.022c-0.016-0.006-0.033-0.012-0.049-0.018c-0.018-0.005-0.035-0.014-0.053-0.019c-0.017-0.005-0.034-0.008-0.05-0.013c-0.018-0.005-0.036-0.009-0.054-0.013c-0.02-0.003-0.039-0.006-0.059-0.008c-0.016-0.003-0.032-0.005-0.049-0.007c-0.073-0.007-0.146-0.007-0.218,0c-0.017,0.002-0.033,0.005-0.05,0.008c-0.02,0.002-0.038,0.005-0.058,0.009c-0.019,0.003-0.037,0.009-0.055,0.013c-0.016,0.005-0.033,0.008-0.05,0.013c-0.017,0.005-0.035,0.012-0.052,0.018c-0.017,0.006-0.033,0.012-0.049,0.019c-0.017,0.006-0.032,0.014-0.048,0.021c-0.017,0.008-0.034,0.016-0.051,0.024c-0.015,0.008-0.029,0.018-0.044,0.026c-0.015,0.008-0.031,0.018-0.048,0.029c-0.016,0.01-0.031,0.022-0.047,0.034c-0.014,0.01-0.027,0.019-0.04,0.028c-0.042,0.035-0.08,0.073-0.117,0.113c-0.013,0.011-0.026,0.021-0.037,0.033l-6.313,6.219c-0.433,0.428-0.434,1.12-0.003,1.544c0.432,0.426,1.131,0.424,1.564-0.002l4.495-4.426l-0.023,14.11c-0.001,0.603,0.493,1.092,1.104,1.09s1.107-0.49,1.109-1.095l0.023-14.108l4.403,4.334c0.432,0.426,1.133,0.424,1.565-0.003S29.553,19.975,29.121,19.55%22/%3E%3C/svg%3E") no-repeat 50% 50%; opacity: 0; visibility: hidden; transition: opacity .4s; cursor: pointer; z-index: 109; }
.cf-top.is-on { opacity: 1; visibility: visible; }
.cf-top:hover { background-color: rgba(0, 0, 0, .5); }

/* ---------- Full-screen search ---------- */
.cf-search-overlay { position: fixed; box-sizing: border-box; top: 0; left: 50%; width: 0; height: 100%; padding: 30px; overflow: hidden; z-index: 9999; visibility: hidden; transform: translate.cf-green-bar)(-50%); background: rgba(69, 191, 50, .98); transition: width .5s .3s, visibility 0s .8s; }
.cf-search-overlay.is-open { visibility: visible; width: 100%; transition: width .5s; }
.cf-search-overlay form, .cf-search-close { opacity: 0; transition: opacity .3s; }
.cf-search-overlay.is-open form, .cf-search-overlay.is-open .cf-search-close { opacity: 1; transition-delay: .5s; }
.cf-search-overlay form { position: relative; top: 50%; width: 560px; max-width: 100%; margin: -35px auto 0; }
.cf-search-overlay input { box-sizing: border-box; width: 100%; height: 70px; padding: 7px 50px 7px 15px; border: 3px solid rgba(255, 255, 255, .5); border-radius: 0; background: none; color: #fff; font: 500 30px/36px Raleway, Helvetica, Arial, Verdana, sans-serif; outline: 0; -webkit-appearance: none; appearance: none; }
.cf-search-overlay input:focus { background-color: rgba(255, 255, 255, .2); }
.cf-search-overlay input::placeholder { color: #fff; opacity: 1; }
.cf-search-overlay .cf-search-go { position: absolute; top: 2px; right: 15px; width: 40px; height: 70px; padding: 0; border: 0; background: url("data:image/svg+xml,%3Csvg%20version=%221.1%22%20xmlns=%22http://www.w3.org/2000/svg%22%20xmlns:xlink=%22http://www.w3.org/1999/xlink%22%20x=%220px%22%20y=%220px%22%20width=%2216px%22%20height=%2216px%22%20viewBox=%220%200%2016%2016%22%20enable-background=%22new%200%200%2016%2016%22%20xml:space=%22preserve%22%3E%3Cpath%20fill=%22rgba(255,255,255,0.5)%22%20d=%22M8.93,0C5.573,0,2.855,2.718,2.855,6.072c0,1.444,0.506,2.769,1.347,3.811L0.19,13.896c-0.253,0.252-0.253,0.662,0,0.914c0.252,0.254,0.662,0.254,0.914,0l4.013-4.013c1.042,0.841,2.367,1.349,3.811,1.349c3.354,0,6.072-2.719,6.072-6.072C15,2.72,12.283,0,8.93,0z%20M8.93,11.073c-2.761,0-5-2.242-5-5c0-2.758,2.241-5,5-5c2.756,0,4.998,2.242,4.998,5C13.928,8.83,11.686,11.073,8.93,11.073z%22/%3E%3C/svg%3E") no-repeat 0 50% / 40px 40px; }
.cf-search-overlay input:focus ~ .cf-search-go { background-image: url("data:image/svg+xml,%3Csvg%20version=%221.1%22%20xmlns=%22http://www.w3.org/2000/svg%22%20xmlns:xlink=%22http://www.w3.org/1999/xlink%22%20x=%220px%22%20y=%220px%22%20width=%2216px%22%20height=%2216px%22%20viewBox=%220%200%2016%2016%22%20enable-background=%22new%200%200%2016%2016%22%20xml:space=%22preserve%22%3E%3Cpath%20fill=%22white%22%20d=%22M8.93,0C5.573,0,2.855,2.718,2.855,6.072c0,1.444,0.506,2.769,1.347,3.811L0.19,13.896c-0.253,0.252-0.253,0.662,0,0.914c0.252,0.254,0.662,0.254,0.914,0l4.013-4.013c1.042,0.841,2.367,1.349,3.811,1.349c3.354,0,6.072-2.719,6.072-6.072C15,2.72,12.283,0,8.93,0z%20M8.93,11.073c-2.761,0-5-2.242-5-5c0-2.758,2.241-5,5-5c2.756,0,4.998,2.242,4.998,5C13.928,8.83,11.686,11.073,8.93,11.073z%22/%3E%3C/svg%3E"); }
.cf-search-close { position: absolute; top: 30px; right: 30px; width: 34px; height: 34px; padding: 0; border: 0; background: url("data:image/svg+xml,%3Csvg%20version=%221.1%22%20xmlns=%22http://www.w3.org/2000/svg%22%20xmlns:xlink=%22http://www.w3.org/1999/xlink%22%20x=%220px%22%20y=%220px%22%20width=%2234px%22%20height=%2234px%22%20viewBox=%220%200%2016%2016%22%20enable-background=%22new%200%200%2016%2016%22%20xml:space=%22preserve%22%3E%3Crect%20x=%2210.661%22%20y=%22-1.048%22%20fill=%22white%22%20width=%220.021%22%20height=%220.083%22/%3E%3Crect%20x=%229.328%22%20y=%22-1.049%22%20fill=%22white%22%20width=%220.03%22%20height=%220.042%22/%3E%3Cpolygon%20fill=%22white%22%20points=%2215.081,14.044%2014.067,15.103%200.92,1.913%201.999,0.899%20%22/%3E%3Cpolygon%20fill=%22white%22%20points=%220.959,14.01%201.967,15.062%2015.041,1.946%2013.969,0.938%20%22/%3E%3C/svg%3E") no-repeat 50% 50%; cursor: pointer; }
.cf-search-close:hover { background-image: url("data:image/svg+xml,%3Csvg%20version=%221.1%22%20xmlns=%22http://www.w3.org/2000/svg%22%20xmlns:xlink=%22http://www.w3.org/1999/xlink%22%20x=%220px%22%20y=%220px%22%20width=%2234px%22%20height=%2234px%22%20viewBox=%220%200%2016%2016%22%20enable-background=%22new%200%200%2016%2016%22%20xml:space=%22preserve%22%3E%3Crect%20x=%2210.661%22%20y=%22-1.048%22%20fill=%22rgba(255,255,255,0.8)%22%20width=%220.021%22%20height=%220.083%22/%3E%3Crect%20x=%229.328%22%20y=%22-1.049%22%20fill=%22rgba(255,255,255,0.8)%22%20width=%220.03%22%20height=%220.042%22/%3E%3Cpolygon%20fill=%22rgba(255,255,255,0.8)%22%20points=%2215.081,14.044%2014.067,15.103%200.92,1.913%201.999,0.899%20%22/%3E%3Cpolygon%20fill=%22rgba(255,255,255,0.8)%22%20points=%220.959,14.01%201.967,15.062%2015.041,1.946%2013.969,0.938%20%22/%3E%3C/svg%3E"); }

/* ---------- Image lightbox ---------- */
.cf-lightbox { position: fixed; inset: 0; z-index: 9442; display: flex; align-items: center; justify-content: center; background: rgba(11, 11, 11, .8); cursor: zoom-out; }
.cf-lightbox figure { position: relative; margin: 0; padding: 40px 0; line-height: 0; }
.cf-lightbox img { max-width: 100vw; max-height: calc(100vh - 80px); width: auto; height: auto; background: #444; }
.cf-lightbox button { position: absolute; top: 0; right: -6px; width: 44px; height: 44px; padding: 0 6px 0 0; text-align: right; border: 0; background: none; color: #fff; font: 700 28px/44px Arial, Baskerville, monospace; opacity: .65; cursor: pointer; }
.cf-lightbox button:hover { opacity: 1; }
.cf-lightbox button:focus:not(:focus-visible) { outline: 0; }

/* ---------- Search results and 404 ---------- */
.cf-titlebar { background: #f6f6f6; }
.cf-titlebar-inner { display: flex !important; align-items: center; justify-content: space-between; min-height: 100px; }
.wp-site-blocks .cf-titlebar h1 { margin: 5px 0; color: #3a3a3a; font-size: 30px; line-height: 36px; }
.wp-site-blocks .cf-crumbs { flex: none; margin: 0; font-size: 13px; line-height: 22px; color: #bfbfbf; }
.wp-site-blocks .cf-crumbs a { color: inherit; text-decoration: none; }
.cf-crumb { position: relative; margin-left: 8px; padding-left: 12px; }
.cf-crumb::before { content: "/"; position: absolute; left: 0; opacity: .4; }
.wp-site-blocks .cf-content .cf-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; align-items: start; margin: 0; padding: 0; list-style: none; }
.wp-site-blocks .cf-content .cf-results > li { margin: 0; }
.cf-result { padding: 20px 30px 15px; background: rgba(0, 0, 0, .08); }
.wp-site-blocks .cf-result h2 { font-size: 18px; line-height: 24px; font-weight: 600; margin: 0 0 10px; }
.wp-site-blocks .cf-result h2 a { color: #000; text-decoration: none; }
.wp-site-blocks .cf-result h2 a:hover { color: var(--cf-green); }
.cf-result-meta { padding-bottom: 10px; font-size: 12px; line-height: 20px; color: rgba(0, 0, 0, .5); }
.cf-result-meta > * { display: inline-block; font-size: inherit; line-height: inherit; }
.cf-result-meta > .wp-block-post-author-name::before { content: "/\00a0\00a0 By "; margin-left: 5px; }
.cf-404 { min-height: 600px; box-sizing: border-box; }
.wp-site-blocks .cf-inline-search { margin: 0 0 10px; }
.wp-site-blocks .cf-inline-search .wp-block-search__inside-wrapper { position: relative; padding: 0; border: 0; }
.wp-site-blocks .cf-content .cf-inline-search input { width: 100%; height: 40px; padding: 7px 30px 7px 15px; font-size: 13px; border: 1px solid #e0e1e1; }
.wp-site-blocks .cf-inline-search input::placeholder { color: #b8bcbe; opacity: 1; }
.wp-site-blocks .cf-inline-search button { position: absolute; right: 12px; top: 12px; width: 16px; min-width: 0; height: 16px; margin: 0; padding: 0; border: 0; background: url("data:image/svg+xml,%3Csvg%20version=%221.1%22%20xmlns=%22http://www.w3.org/2000/svg%22%20xmlns:xlink=%22http://www.w3.org/1999/xlink%22%20x=%220px%22%20y=%220px%22%20width=%2216px%22%20height=%2216px%22%20viewBox=%220%200%2016%2016%22%20enable-background=%22new%200%200%2016%2016%22%20xml:space=%22preserve%22%3E%3Cpath%20fill=%22rgba(184,188,190,0.99)%22%20d=%22M8.93,0C5.573,0,2.855,2.718,2.855,6.072c0,1.444,0.506,2.769,1.347,3.811L0.19,13.896c-0.253,0.252-0.253,0.662,0,0.914c0.252,0.254,0.662,0.254,0.914,0l4.013-4.013c1.042,0.841,2.367,1.349,3.811,1.349c3.354,0,6.072-2.719,6.072-6.072C15,2.72,12.283,0,8.93,0z%20M8.93,11.073c-2.761,0-5-2.242-5-5c0-2.758,2.241-5,5-5c2.756,0,4.998,2.242,4.998,5C13.928,8.83,11.686,11.073,8.93,11.073z%22/%3E%3C/svg%3E") no-repeat 50% 50%; }
.wp-site-blocks .cf-inline-search button svg { display: none; }

/* ---------- Link hovers ---------- */
.wp-site-blocks a:hover { text-decoration: none; }
.cf-mini .cf-search .wp-block-search__button:hover { text-decoration: underline; }

/* =========================== Breakpoints =========================== */
@media screen and (max-width: 1024px) {
	.wp-block-post-content > .wp-block-cover.alignfull:first-child { margin: -100px calc(-1 * var(--cf-edge)) 1px !important; min-height: 400px !important; padding: 50px var(--cf-side) !important; }
	.wp-block-post-content > .wp-block-cover:first-child::after { height: 50px; bottom: -1px; background: linear-gradient(rgba(255,255,255,.75) 0, rgba(255,255,255,.8) 5px, rgba(255,255,255,.86) 10px, rgba(255,255,255,.9) 15px, rgba(255,255,255,.94) 20px, rgba(255,255,255,.98) 30px, rgba(255,255,255,.99) 35px, #fff 40px); }
	.cf-main { padding-bottom: 50px; }
}
@media screen and (max-width: 970px) {
	.cf-header { background: #fff; box-shadow: 0 1px 4px 0 rgba(0,0,0,.1); }
	.cf-topbar { display: block; position: relative; margin-top: -43px; padding-bottom: 26px; background: var(--cf-green); text-align: center; font-size: 12px; line-height: 20px; transition: margin-top .3s; }
	.cf-topbar.is-open { margin-top: 0; }
	.cf-topbar-inner { height: 43px; box-sizing: border-box; padding-top: 10px !important; padding-bottom: 3px !important; display: block !important; text-align: center; }
	.cf-topbar-inner > * { display: inline-block !important; margin: 5px 10px !important; vertical-align: middle; }
	.cf-topbar-arrow { position: absolute; left: 0; top: 43px; width: 100%; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; }
	.cf-topbar-arrow::before { content: ""; position: absolute; left: 50%; top: 10px; margin-left: -7px; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 8px solid #000; }
	.cf-topbar.is-open .cf-topbar-arrow::before { border-top: 0; border-bottom: 8px solid #000; }
	.cf-header-row { display: block !important; }
	.cf-branding { padding: 20px 0; text-align: center; }
	.cf-branding .wp-block-site-logo { display: none; }
	.cf-branding .cf-mobile-logo { display: inline-block; }
	.cf-branding .cf-mobile-logo img { width: 200px !important; height: auto !important; display: block; }
	.cf-header-row .cf-mini { display: none !important; }
	.cf-sticky { display: none; }
	.cf-titlebar-inner { display: block !important; padding-top: 25px; padding-bottom: 30px; text-align: center; min-height: 0; }
	.wp-site-blocks .cf-crumbs { margin-top: 11px; }
	.cf-topbar .cf-phone, .cf-topbar .cf-search .wp-block-search__button { color: #000; }
	.cf-nav-holder { border-top: 0; }
	.cf-nav-holder .cf-wrap { min-height: 0; }
	.cf-nav-desktop, .cf-nav-desktop.wp-block-navigation { display: none !important; }
	nav.cf-nav-mobile { display: block !important; margin: 0 -44px !important; }
	/* Green MENU bar: three 18x3 bars, bold 15px Arial, centred like the old #mobile-menu. */
	.wp-site-blocks .cf-nav-mobile .wp-block-navigation__responsive-container-open { display: flex !important; width: 100%; height: 44px; box-sizing: border-box; align-items: center; justify-content: center; gap: 0; padding: 10px 0 10px 16px; margin: 0; border: 0; border-radius: 0; background: var(--cf-green); color: #fff; font: 700 15px/20px Arial, Verdana, sans-serif; text-transform: uppercase; }
	.wp-site-blocks .cf-nav-mobile .wp-block-navigation__responsive-container-open svg { display: none; }
	.wp-site-blocks .cf-nav-mobile .wp-block-navigation__responsive-container-open::before { content: ""; display: block; position: relative; top: -.4px; width: 18px; height: 3px; margin-right: 10.2px; border-radius: 2px; background: #fff; box-shadow: 0 -5px 0 #fff, 0 5px 0 #fff; }
	.wp-site-blocks .cf-nav-mobile .wp-block-navigation__responsive-container-open::after { content: "Menu"; margin-right: 16px; }
	/* Open state: dark dropdown under the green bar (old "dl-menu"), not a full-screen overlay. */
	html.has-modal-open { overflow: visible !important; }
	.wp-site-blocks .cf-nav-mobile { position: relative; }
	.wp-site-blocks .cf-nav-mobile .wp-block-navigation__responsive-container.is-menu-open { position: absolute !important; inset: 44px var(--cf-side) auto var(--cf-side) !important; width: auto; height: auto; padding: 0 !important; margin: 0; background: #272727 !important; color: #919191 !important; z-index: 999; overflow: visible; animation: none; }
	.wp-site-blocks .cf-nav-mobile .is-menu-open .wp-block-navigation__responsive-close,
	.wp-site-blocks .cf-nav-mobile .is-menu-open .wp-block-navigation__responsive-dialog,
	.wp-site-blocks .cf-nav-mobile .is-menu-open .wp-block-navigation__responsive-container-content { max-width: none; width: 100%; margin: 0 !important; padding: 0 !important; display: block !important; }
	.wp-site-blocks .cf-nav-mobile .is-menu-open .wp-block-navigation__responsive-container-close { display: none; }
	.wp-site-blocks .cf-nav-mobile .is-menu-open .wp-block-navigation__container { display: block !important; gap: 0 !important; margin: 0 !important; padding: 0; width: auto !important; }
	.wp-site-blocks .cf-nav-mobile .is-menu-open .wp-block-navigation-item { display: block !important; border-bottom: 1px solid rgba(145,145,145,.1); }
	.wp-site-blocks .cf-nav-mobile .is-menu-open .wp-block-navigation-item__content { display: block; padding: 13px 0 !important; margin: 0 20px; font: 500 14px/18px Raleway, Helvetica, Arial, Verdana, sans-serif; color: #919191; text-decoration: none; text-align: left; }
	.wp-site-blocks .cf-nav-mobile .is-menu-open .current-menu-item > .wp-block-navigation-item__content,
	.wp-site-blocks .cf-nav-mobile .is-menu-open .wp-block-navigation-item__content:hover { color: #fff; }
	/* Bar icon turns into an .cf-green-bar) while the menu is open. */
	.wp-site-blocks .cf-nav-mobile:has(.is-menu-open) .wp-block-navigation__responsive-container-open::before { height: 18px; border-radius: 0; box-shadow: none; background: linear-gradient(45deg, transparent 11.2px, #fff 11.2px, #fff 14.2px, transparent 14.2px), linear-gradient(-45deg, transparent 11.2px, #fff 11.2px, #fff 14.2px, transparent 14.2px); }
	.wp-block-post-content > .wp-block-cover.alignfull:first-child { margin: -50px calc(-1 * var(--cf-edge)) 50px !important; min-height: 96px !important; padding: 20px 44px !important; }
	.wp-block-post-content.wp-block-post-content > .wp-block-cover:first-child .wp-block-cover__inner-container { text-align: center; }
	.wp-block-post-content > .wp-block-cover:first-child::after { display: none; }
	.cf-footer .cf-footer-cols > * { flex-basis: 100%; }
	.cf-bottom .cf-bottom-inner { display: block !important; padding: 10px 0; text-align: center; min-height: 0; }
	.cf-bottom .cf-bottom-logo { margin: 5px 0; padding: 10px 0; display: block; }
	.cf-bottom .cf-bottom-logo img { margin: 0 auto; }
	.cf-bottom p { margin: 5px 0 !important; }
}
@media only screen and (max-width: 641px) {
	.wp-site-blocks .cf-content .gform_wrapper.gravity-theme input:is([type="text"], [type="email"], [type="tel"], [type="url"], [type="number"]) { line-height: 2; min-height: 32px; }
}
@media screen and (max-width: 767px) {
	.wp-block-post-content .wp-block-columns { display: block !important; }
	.wp-block-post-content .wp-block-column { width: auto !important; flex-basis: auto !important; }
}
@media screen and (max-width: 750px) {
	:root { --cf-side: 20px; }
	.cf-wrap { padding-left: 20px; padding-right: 20px; }
	.wp-block-post-content.cf-wrap { padding-left: 35px; padding-right: 35px; }
	nav.cf-nav-mobile { margin: 0 -20px !important; }
}

/* ---------- Page editor ----------
   The editor shows the page content without the template, so give it the same white box. */
.is-root-container.wp-block-post-content { --cf-edge: 59px; box-sizing: border-box; max-width: 1220px; margin: 0 auto !important; padding: 50px 59px 80px; background: #fff; container-type: inline-size; }
.edit-post-visual-editor__post-title-wrapper.edit-post-visual-editor__post-title-wrapper { box-sizing: border-box; max-width: 1220px; margin: 0 auto !important; padding: 20px 59px; background: #fff; }
.edit-post-visual-editor__post-title-wrapper > * { margin: 0 !important; }
.is-root-container.wp-block-post-content > .wp-block-cover.alignfull:first-child { margin-top: -50px !important; }
.is-root-container .wp-block-gallery.is-style-slideshow { height: auto; display: flex !important; padding-top: 190px; background: #888; }
.is-root-container .wp-block-gallery.is-style-slideshow > .wp-block-image { position: static !important; opacity: 1; width: calc(33% - 16px) !important; height: auto; }
.is-root-container .wp-block-gallery.is-style-slideshow > figcaption { --u: 1px; left: 0; top: 0; width: 100% !important; pointer-events: auto; }
@media (max-width: 767px) {
	.is-root-container.wp-block-post-content { --cf-edge: 35px; padding-left: 35px; padding-right: 35px; }
}
