/**
 * Front-end helpers for Gutenberg layout on a classic theme.
 * Complements theme.json (content/wide sizes) and Tailwind.
 */

.site-body {
	position: relative;
	min-height: 50vh;
	overflow-x: hidden;
}

/*
 * Fixed solid header is out of flow — JS sets --site-header-offset from the
 * real header height (+ a little breathing room). Transparent/hero pages skip this.
 */
.has-solid-header .site-body {
	padding-top: var(--site-header-offset, 7.5rem);
}

/* Fallback until JS runs; singles stay tighter for the Back button. */
.single-post.has-solid-header .site-body,
.single-services.has-solid-header .site-body {
	padding-top: var(--site-header-offset, 6.75rem);
}

/* Fixed header sits below the WP admin bar when logged in. */
body.admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height, var(--site-admin-bar-height, 32px));
}

@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: var(--wp-admin--admin-bar--height, var(--site-admin-bar-height, 46px));
	}
}

.site-body__circles {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.site-body__circles.is-ready {
	opacity: 1;
}

.site-body__circle {
	position: absolute;
	height: auto;
	max-width: 720px;
	user-select: none;
}

@media (max-width: 767px) {
	.site-body__circle {
		max-width: 420px;
	}
}

.site-main {
	position: relative;
	z-index: 1;
	width: 100%;
}

/* Core Image — match theme corners; size/alt/alignment come from Gutenberg. */
.wp-block-image {
	margin-top: 0;
}

.wp-block-image img {
	border-radius: 1.5rem;
	height: auto;
	max-width: 100%;
}

.wp-block-image.alignfull img {
	border-radius: 0;
}

/* Block library alignment styles aren't loaded on the front end. */
.wp-block-image.aligncenter {
	display: table;
	width: auto;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.wp-block-image.aligncenter img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-block-image.alignleft {
	float: left;
	margin: 0.25rem 1.5rem 1rem 0;
}

.wp-block-image.alignright {
	float: right;
	margin: 0.25rem 0 1rem 1.5rem;
}

.wp-block-image figcaption {
	margin-top: 0.75rem;
	font-family: var(--font-sans, inherit);
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--color-muted, #6b7280);
}

.wp-block-image.aligncenter figcaption {
	caption-side: bottom;
	text-align: center;
}

/* Fixed site container — wins over Tailwind's responsive .container breakpoints */
.container,
.site-container {
	width: 100%;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	box-sizing: border-box;
}
.container--wide {
	max-width: 1600px;
}

/* Constrained content for non-aligned blocks (classic-theme fallback).
   Full-bleed section blocks (hero, etc.) and layout cores stay edge-to-edge. */
.entry-content > *:not(.alignfull):not(.hero-block):not(.content-and-image-block--has-bg):not(.wp-block-group):not(.wp-block-cover):not(.wp-block-columns):not([class*="wp-block-acf-"]) {
	max-width: var(--wp--style--global--content-size, 1400px);
	margin-left: auto;
	margin-right: auto;
}

/* Legacy .alignwide content (if any) stays at the wide size */
.alignwide {
	max-width: var(--wp--style--global--wide-size, 1600px);
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	box-sizing: border-box;
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* Gutenberg white button style */
.wp-block-button.is-style-white .wp-element-button {
	background-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink);
}

.wp-block-button.is-style-white .wp-element-button:hover {
	background-color: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink);
}

/* Inline content links — brand green, bold, underlined (not CTAs / buttons). */
.entry-content :where(p, li, td, th, figcaption, blockquote, dd) a:not(.wp-element-button):not(.wp-block-button__link),
.text-content-block__body a:not(.wp-element-button):not(.wp-block-button__link) {
	color: var(--wp--preset--color--brand, #7ed627);
	font-weight: 700;
	text-decoration: underline;
}

.entry-content :where(p, li, td, th, figcaption, blockquote, dd) a:not(.wp-element-button):not(.wp-block-button__link):hover,
.text-content-block__body a:not(.wp-element-button):not(.wp-block-button__link):hover {
	color: var(--wp--preset--color--brand-dark, #65b01f);
}

/* WYSIWYG lists — Tailwind preflight strips bullets; restore in block content areas. */
.text-content-block__body :is(ul, ol),
.content-and-image-block__body :is(ul, ol),
.content-tabs-image-block__panel :is(ul, ol) {
	margin: 1rem 0 0;
	padding-left: 1.35rem;
}

.text-content-block__body ul,
.content-and-image-block__body ul,
.content-tabs-image-block__panel ul {
	list-style: disc;
}

.text-content-block__body ol,
.content-and-image-block__body ol,
.content-tabs-image-block__panel ol {
	list-style: decimal;
}

.text-content-block__body :is(ul, ol) :is(ul, ol),
.content-and-image-block__body :is(ul, ol) :is(ul, ol),
.content-tabs-image-block__panel :is(ul, ol) :is(ul, ol) {
	margin-top: 0.5rem;
}

.text-content-block__body li,
.content-and-image-block__body li,
.content-tabs-image-block__panel li {
	margin: 0 0 0.45rem;
	padding-left: 0.2rem;
}

.text-content-block__body li:last-child,
.content-and-image-block__body li:last-child,
.content-tabs-image-block__panel li:last-child {
	margin-bottom: 0;
}

.text-content-block__body :is(ul, ol) + p,
.content-and-image-block__body :is(ul, ol) + p,
.content-tabs-image-block__panel :is(ul, ol) + p {
	margin-top: 1rem;
}

.form-section .gform_wrapper {
	--gf-ctrl-font-size: 20px;
	--gf-ctrl-font-family: "DM Sans", sans-serif;
	--gf-ctrl-line-height: 1.4;
}

.form-section .gform_wrapper .gform_validation_errors {
	margin-bottom: 16px !important;
	padding: 8px 16px 8px 48px !important;
}

.form-section .gform_wrapper .validation_message {
	margin-bottom: 5px !important;
	border: none !important;
	background-color: transparent !important;
	padding: 0 !important;
	margin-top: 0 !important;
	font-size: 18px;
}

.form-section .gform_wrapper .gform_body .gform_fields {
	grid-row-gap: 30px;
	column-gap: 20px;
}

.form-section .gform_wrapper .gform_body .gform_fields .gfield {
	margin-bottom: 0;
}

.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield_label,
.form-section .gform_wrapper .gform_body .gform_fields .gfield legend.gfield_label,
.form-section .gform_wrapper .gform_body .gform_fields .gfield .gform-field-label {
	display: block;
	font-family: "DM Sans", sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: black;
	margin-bottom: 10px;
	line-height: 1.3;
}

.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield_required,
.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield_required_asterisk {
	color: #c0392b;
}

.form-section .gform_wrapper .gform_body .gform_fields .gfield .ginput_complex {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.form-section .gform_wrapper .gform_body .gform_fields .gfield .ginput_complex > span {
	flex: 1 1 calc(50% - 8px);
	min-width: 0;
}

.form-section .gform_wrapper .gform_body .gform_fields .gfield .ginput_complex label {
	font-family: "DM Sans", sans-serif;
	font-size: 18px;
	font-weight: 600;
	color: black;
	margin-bottom: 6px;
}

.form-section .gform_wrapper .gform_body .gform_fields .gfield .ginput_container label {
	font-family: "DM Sans", sans-serif;
	font-size: 18px;
	font-weight: 400;
	margin-bottom: 0;
	color: black;
}

.form-section .gform_wrapper .gform_body .gform_fields .gfield .ginput_container input:not([type='checkbox']):not([type='radio']):not([type='file']),
.form-section .gform_wrapper .gform_body .gform_fields .gfield .ginput_container textarea,
.form-section .gform_wrapper .gform_body .gform_fields .gfield .ginput_container select {
	width: 100%;
	padding: 10px 20px;
	margin-bottom: 0 !important;
	border: 1px solid transparent;
	border-radius: 18px;
	font-family: "DM Sans", sans-serif !important;
	line-height: 1.4;
	color: black;
	background-color: #fff;
	box-shadow: none;
	font-size: 20px !important;
	min-height: 50px !important;
}


.form-section .gform_wrapper .gform_body .gform_fields .gfield .ginput_container textarea{
	max-height: 220px;
	min-block-size: 220px;
}

.form-section .gform_wrapper .gform_body .gform_fields .gfield .ginput_container input:not([type='checkbox']):not([type='radio']):not([type='file'])::placeholder,
.form-section .gform_wrapper .gform_body .gform_fields .gfield .ginput_container textarea::placeholder,
.form-section .gform_wrapper .gform_body .gform_fields .gfield .ginput_container select::placeholder {
	color: black;
	opacity: 1;
}

.form-section .gform_wrapper .gform_body .gform_fields .gfield .ginput_container input:not([type='checkbox']):not([type='radio']):not([type='file']):focus,
.form-section .gform_wrapper .gform_body .gform_fields .gfield .ginput_container input:not([type='checkbox']):not([type='radio']):not([type='file']):focus-visible,
.form-section .gform_wrapper .gform_body .gform_fields .gfield .ginput_container textarea:focus,
.form-section .gform_wrapper .gform_body .gform_fields .gfield .ginput_container textarea:focus-visible,
.form-section .gform_wrapper .gform_body .gform_fields .gfield .ginput_container select:focus,
.form-section .gform_wrapper .gform_body .gform_fields .gfield .ginput_container select:focus-visible {
	border-color: black;
	outline: none;

}

.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield_checkbox,
.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield_radio {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield_checkbox .gchoice,
.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield_radio .gchoice {
	position: relative;
	display: flex;
	align-items: flex-start;
	cursor: pointer !important;
}

.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield_checkbox .gchoice .gfield-choice-input,
.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield_radio .gchoice .gfield-choice-input {
	position: absolute;
	left: 0;
	top: 3px;
	width: 18px;
	height: 18px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	opacity: 0;
	cursor: pointer !important;
	z-index: 2;
}

.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield_checkbox .gchoice .gfield-choice-input:focus-visible + label::before,
.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield_radio .gchoice .gfield-choice-input:focus-visible + label::before {
	box-shadow: 0 0 0 2px rgba(34, 71, 73, 0.25);
}

.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield_checkbox .gchoice .gfield-choice-input:checked + label::before,
.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield_radio .gchoice .gfield-choice-input:checked + label::before {
	background-color: black;
	border-color: black;
}

.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield_checkbox .gchoice label,
.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield_radio .gchoice label {
	position: relative;
	padding-left: 28px;
	font-family: "DM Sans", sans-serif;
	font-weight: 400;
	line-height: 1.4 !important;
	margin-bottom: 0;
	color: black;
	cursor: pointer !important;
	display: block;
	width: 100%;
}

.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield_checkbox .gchoice label::before,
.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield_radio .gchoice label::before {
	content: '';
	position: absolute;
	left: 0;
	top: 2px;
	width: 18px;
	height: 18px;
	border: 1px solid black;
	background-color: #fff;
	transition: background-color 0.2s ease, border-color 0.2s ease;
	pointer-events: none;
}

.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield_checkbox .gchoice:hover label::before,
.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield_radio .gchoice:hover label::before {
	border-color: #067A80;
}

.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield_checkbox .gchoice .gfield-choice-input:checked + label::after {
	content: '';
	position: absolute;
	left: 6px;
	top: 4px;
	width: 5px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	pointer-events: none;
}

.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield_checkbox .gchoice label::before {
	border-radius: 3px;
}

.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield_radio .gchoice .gfield-choice-input:checked + label::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 7px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #fff;
	pointer-events: none;
}

.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield_radio .gchoice label::before {
	border-radius: 50%;
}

.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield-choice-toggle-all {
	margin-top: 10px;
}

.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield-choice-toggle-all .gfield_choice_all_toggle {
	background: none !important;
	border: none !important;
	padding: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	color: black !important;
	font-family: "DM Sans", sans-serif !important;
	font-size: 18px !important;
	font-weight: 400 !important;
	text-decoration: underline;
	text-transform: none !important;
	letter-spacing: normal !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}

.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield-choice-toggle-all .gfield_choice_all_toggle:hover,
.form-section .gform_wrapper .gform_body .gform_fields .gfield .gfield-choice-toggle-all .gfield_choice_all_toggle:focus {
	background: none !important;
	color: black !important;
	box-shadow: none !important;
}

.form-section .gform_wrapper .gform_footer {
	margin-top: 32px;
	padding: 0;
}

.form-section .gform_wrapper .gform_footer input,
.form-section .gform_wrapper .gform_footer button,
.form-section .gform_wrapper .gform_footer .gform_button {
	margin-left:auto !important;
	cursor: pointer;
	display: block;
	padding: 10px 30px !important;
	font-family: "Bebas Neue", sans-serif !important;
	font-size: 38px !important;
	text-transform: uppercase !important;
	text-align: center;
	transition: background-color 0.3s linear, border-color 0.3s linear, color 0.3s linear;
	background-color: #7ED627 !important;
	color: #fff !important;
	appearance: none;
	border-radius: 50px !important;
	border: none !important;
	font-weight: 400 !important;
	box-shadow: none !important;
	min-height: 0 !important;
}

.form-section .gform_wrapper .gform_footer input:hover,
.form-section .gform_wrapper .gform_footer input:focus,
.form-section .gform_wrapper .gform_footer button:hover,
.form-section .gform_wrapper .gform_footer button:focus,
.form-section .gform_wrapper .gform_footer .gform_button:hover,
.form-section .gform_wrapper .gform_footer .gform_button:focus {
	background-color: black !important;
	color: #fff !important;
	box-shadow: none !important;
}

.text-content h1{
 font-size: 80px;
 text-transform: uppercase;
 font-family: "Bebas Neue", sans-serif;
 margin-bottom: 30px;
}
.text-content h2{
 font-size: 64px;
 text-transform: uppercase;
 font-family: "Bebas Neue", sans-serif;
 margin-bottom: 30px;
}
.text-content h3{
 font-size: 54px;
 text-transform: uppercase;
 font-family: "Bebas Neue", sans-serif !important;
  margin-bottom: 30px;
}
.text-content h4{
 font-size: 48px;
 text-transform: uppercase;
 font-family: "Bebas Neue", sans-serif !important;
  margin-bottom: 30px;
}
.text-content h5{
 font-size: 40px;
 text-transform: uppercase;
 font-family: "Bebas Neue", sans-serif !important;
  margin-bottom: 30px;
}

.text-content h6{
 font-size: 32px;
 text-transform: uppercase;
 font-family: "Bebas Neue", sans-serif !important;
  margin-bottom: 30px;
}