/* START Astra header normalizations, minimizing layout shift */
html {
	scrollbar-gutter: stable; /* reserves scrollbar space */
}

@media (max-width: 921px) {

	body.rpb-styles header.site-header {
		box-sizing: border-box; /* ensures padding doesn't add extra height */
		height: 88px; /* optional: fix exact height */
		min-height: 88px; /* ensures header never shrinks below this */
		transition: none !important; /* disables any smooth resize */
	}

	body.rpb-styles .ast-site-identity img {
		transition: none !important;
	}

	body.rpb-styles .ast-mobile-header-wrap {
		height: auto !important;
		overflow: visible !important;
	}

	body.rpb-styles .ast-primary-header-bar {
		margin: 0 auto !important;
		max-width: 1680px !important; /* same as your header width */
		transition: none !important;
	}

	body.rpb-styles .ast-primary-header-bar,
	body.rpb-styles .ast-primary-header-bar::before,
	body.rpb-styles .ast-primary-header-bar::after {
		background-color: #fff !important;
		border-bottom-color: #fff !important;
	}

	body.rpb-styles .ast-primary-header-bar {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
}

/* END Astra header normalizations, minimizing layout shift */

/* Fix invisible text-selection highlight */
::selection {
	background-color: #900d30; /* your highlight color */
	color: #fffdf8; /* text color when selected */
}

::-moz-selection {
	background-color: #900d30;
	color: #fffdf8;
}

body.rpb-styles .ast-main-header-wrap {
	background-color: white;
}

body.rpb-styles .ast-primary-header-bar {
	margin: 0 auto;
	max-width: 1680px;
}

body.rpb-styles .ast-above-header-wrap {
	background-color: #2d3d3d;
}

body.rpb-styles .ast-above-header-bar {
	margin: 0 auto;
	max-width: 1680px;
}

body.rpb-styles .ast-site-identity {
	padding: 0;
	padding-bottom: 12px;
	padding-top: 12px;
}

/* Reduce line-height inside Astra's off-canvas (flyout) menu */
body.rpb-styles #ast-mobile-site-navigation .main-header-menu a {
	line-height: 2;
}

body.rpb-styles #ast-mobile-site-navigation ul {
	border-bottom: 5px solid #2d3d3d;
}

body.rpb-styles article h3 {
	margin-bottom: 30px;
	margin-top: 60px;
}


body.rpb-styles.ast-desktop .ast-menu-hover-style-underline > .menu-item.current-menu-item a {
	border-bottom: 3px solid #cd2653;
	text-transform: uppercase;
}

body.rpb-styles.ast-desktop .ast-menu-hover-style-underline > .menu-item > .menu-link:before {
	height: 3px;
}

body.rpb-styles.ast-desktop .ast-above-header-bar .ast-menu-hover-style-underline > .menu-item.current-menu-item a {
	border-bottom: 3px solid #fff;
	text-transform: uppercase;
}

body.rpb-styles.ast-desktop .entry-content > .wp-block-columns {
	padding-left: 0;
	padding-right: 0;
}

/* GravityForms styles START */
body.rpb-styles .gform_wrapper .gform_body .gform_fields .gfield .ginput_container_textarea textarea,
body.rpb-styles .gform_wrapper .gform_body .gform_fields .gfield .ginput_container_text input[type=text] {
	font-size: 18px;
}

body.rpb-styles .gform_wrapper .gform_body .gfield_label {
	font-weight: 700;
}

body.rpb-styles .gform_wrapper .gform_body .gchoice input {
	margin-top: 5px;
}

body.rpb-styles.rpb-styles.rpb-styles .gform_wrapper .gform_footer input[type="submit"],
body.rpb-styles.rpb-styles.rpb-styles .gform_wrapper .gform_footer button[type="submit"] {
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 21px;
	font-weight: 600;
	padding: 0.9em 2em; /* larger click/tap area */
	transition: background-color 0.2s ease, transform 0.1s ease;
	width: 100%; /* full width; change to e.g. 240px for fixed width */
}

body.rpb-styles.rpb-styles.rpb-styles .gform_wrapper .gform_footer input[type="submit"]:hover,
body.rpb-styles.rpb-styles.rpb-styles .gform_wrapper .gform_footer button[type="submit"]:hover {
	background-color: #cd2653;
}

/* Friendly letter-style Gravity Forms confirmation */
body.rpb-styles .gform_confirmation_message {
	background-color: #fffdf8; /* soft paper-like tone */
	border: 2px solid #900d30;
	border-radius: 4px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* gentle lift */
	color: #2d3d3d; /* matches your header palette */
	font-family: 'Caveat', cursive;
	font-size: 21px;
	font-style: italic;
	line-height: 1.6;
	margin: 60px auto;
	max-width: 700px;
	padding: 40px 50px;
	position: relative;
}

body.rpb-styles th.gsurvey-likert-choice-label {
	width: 75px;
}

body.rpb-styles .gsurvey-likert-choice input[type=radio]:checked::before {
	inline-size: 12px;
	block-size: 12px;
}

body.rpb-styles .gsurvey-likert-choice input[type=radio]:focus:not(:focus-visible) {
	outline: none;
	box-shadow: none;
}

body.rpb-styles .gsurvey-likert-choice input[type=radio] {
	box-shadow: none;
	border-width: 1px;
}

body.rpb-styles .gsurvey-likert-choice input[type=radio]:checked,
body.rpb-styles .gsurvey-likert-choice input[type=radio]:active,
body.rpb-styles .gsurvey-likert-choice input[type=radio]:focus {
	transform: none;
}

/* GravityForms styles END */

/* ----------------------------------
   <= 1279px : Hide site title and adjust some of the menu styles
---------------------------------- */
@media (max-width: 1279px) {

	body.rpb-styles .ast-site-title-wrap {
		display: none;
	}

	body.rpb-styles .main-header-menu .menu-link {
		font-size: 20px;
		padding: 0 16px;
	}
}

/* ----------------------------------
   <= 1199px : Adjust margins and banner padding
---------------------------------- */
@media (max-width: 1199px) {

	body.rpb-styles.ast-plain-container.ast-no-sidebar #primary {
		margin-bottom: 32px;
		margin-top: 32px;
	}

	body.rpb-styles .ast-single-entry-banner h1 {
		padding: 20px;
	}
}

/* ----------------------------------
   1001px–1100px : Slight logo/menu shrink
---------------------------------- */
@media (max-width: 1100px) and (min-width: 1001px) {

	body.rpb-styles .ast-site-identity img {
		display: block;
		height: auto;
		max-width: none;
		transition: none;
		width: 180px;
	}

	body.rpb-styles .main-header-menu .menu-link {
		font-size: 18px;
		padding: 0 12px;
	}
}

/* ----------------------------------
   <= 1000px : More shrink for smaller screens
---------------------------------- */
@media (max-width: 1000px) {

	body.rpb-styles .ast-site-identity img {
		display: block;
		height: auto;
		max-width: none;
		transition: none;
		width: 160px;
	}

	body.rpb-styles .main-header-menu .menu-link {
		font-size: 16px;
		padding: 0 10px;
	}

}


