/* =========================================================
   MONTAGE: FORMS
   Split from the child theme style.css for maintainability.
   ========================================================= */

/* =========================================================
   GRAVITY FORM #1 — DONATION FORM TABS
   Remove any previous radio/tab CSS before adding this.
   ========================================================= */


/* ---------------------------------------------------------
   RADIO GROUP CONTAINERS
   Force choices to sit directly beside one another
   --------------------------------------------------------- */

#gform_1 #input_1_1,
#gform_1 #input_1_7 {
	display: inline-flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	justify-content: flex-start !important;

	width: auto !important;
	max-width: 100% !important;

	gap: 0 !important;
	column-gap: 0 !important;
	row-gap: 0 !important;

	margin: 0 !important;
	padding: 0 !important;
}


/* ---------------------------------------------------------
   CHOICE WRAPPERS
   Remove Gravity Forms spacing/flex behaviour
   --------------------------------------------------------- */

#gform_1 #input_1_1 .gchoice,
#gform_1 #input_1_7 .gchoice {
	display: block !important;

	flex: 0 0 auto !important;

	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	min-height: 0 !important;

	margin: 0 !important;
	padding: 0 !important;
}


/* ---------------------------------------------------------
   HIDE THE ACTUAL RADIO CIRCLES
   Keeps the inputs functional but removes them visually
   --------------------------------------------------------- */

#gform_1 #input_1_1 input[type="radio"],
#gform_1 #input_1_7 input[type="radio"] {
	position: absolute !important;

	width: 1px !important;
	height: 1px !important;

	margin: 0 !important;
	padding: 0 !important;

	opacity: 0 !important;

	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;

	white-space: nowrap !important;

	-webkit-appearance: none !important;
	appearance: none !important;

	pointer-events: none !important;
}


/* Remove any Gravity Forms pseudo-elements used for radios */
#gform_1 #input_1_1 input[type="radio"]::before,
#gform_1 #input_1_1 input[type="radio"]::after,
#gform_1 #input_1_7 input[type="radio"]::before,
#gform_1 #input_1_7 input[type="radio"]::after,
#gform_1 #input_1_1 label::before,
#gform_1 #input_1_1 label::after,
#gform_1 #input_1_7 label::before,
#gform_1 #input_1_7 label::after {
	display: none !important;
	content: none !important;
}


/* ---------------------------------------------------------
   BASE TAB STYLE
   --------------------------------------------------------- */

#gform_1 #input_1_1 .gchoice label,
#gform_1 #input_1_7 .gchoice label {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;

	box-sizing: border-box !important;

	width: auto !important;
	max-width: none !important;

	min-height: 52px !important;

	margin: 0 !important;
	padding: 10px 20px !important;

	background: #ffffff;
	border: 0 !important;
	border-radius: 0;

	cursor: pointer;

	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}


/* ---------------------------------------------------------
   SELECTED STATE
   --------------------------------------------------------- */

#gform_1 #input_1_1 input[type="radio"]:checked + label,
#gform_1 #input_1_7 input[type="radio"]:checked + label {
	background: #12385f;
	color: #ffffff;
}


/* ---------------------------------------------------------
   HOVER
   --------------------------------------------------------- */

#gform_1 #input_1_1 .gchoice label:hover,
#gform_1 #input_1_7 .gchoice label:hover {
	background: #f2f2f2;
}

#gform_1 #input_1_1 input[type="radio"]:checked + label:hover,
#gform_1 #input_1_7 input[type="radio"]:checked + label:hover {
	background: #12385f;
	color: #ffffff;
}


/* ---------------------------------------------------------
   KEYBOARD FOCUS
   --------------------------------------------------------- */

#gform_1 #input_1_1 input[type="radio"]:focus-visible + label,
#gform_1 #input_1_7 input[type="radio"]:focus-visible + label {
	outline: 2px solid currentColor;
	outline-offset: -3px;
}


/* =========================================================
   ONE-OFF / MONTHLY
   ========================================================= */

#gform_1 #input_1_1 .gchoice label {
	min-width: 125px !important;
	padding-left: 20px !important;
	padding-right: 20px !important;
}


/* First tab */
#gform_1 #input_1_1 .gchoice:first-child label {
	border-radius: 5px 0 0 5px;
}


/* Last tab */
#gform_1 #input_1_1 .gchoice:last-child label {
	border-radius: 0 5px 5px 0;
}


/* =========================================================
   £5 / £10 / £20 / OTHER
   ========================================================= */

#gform_1 #input_1_7 .gchoice label {
	min-width: 85px !important;
	padding-left: 18px !important;
	padding-right: 18px !important;
}


/* First amount */
#gform_1 #input_1_7 .gchoice:first-child label {
	border-radius: 5px 0 0 5px;
}


/* Last amount */
#gform_1 #input_1_7 .gchoice:last-child label {
	border-radius: 0 5px 5px 0;
}


/* =========================================================
   REDUCE VERTICAL SPACE BETWEEN FORM FIELDS
   ========================================================= */

#gform_1 .gform_fields {
	row-gap: 20px !important;
	grid-row-gap: 20px !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

	/* Frequency tabs */
	#gform_1 #input_1_1 .gchoice label {
		min-width: 120px !important;
		min-height: 50px !important;
		padding: 8px 16px !important;
	}


	/* Amount tabs */
	#gform_1 #input_1_7 {
		display: flex !important;
		width: 100% !important;
	}

	#gform_1 #input_1_7 .gchoice {
		flex: 1 1 25% !important;
		width: 25% !important;
	}

	#gform_1 #input_1_7 .gchoice label {
		width: 100% !important;
		min-width: 0 !important;
		min-height: 50px !important;
		padding: 8px 6px !important;
	}

}


/* =========================================================
   DONATE BUTTON + PADLOCK
   ========================================================= */

#gform_1 #gform_submit_button_1 {
	position: relative !important;

	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;

	width: 100% !important;
	box-sizing: border-box !important;

	padding: 18px 70px 18px 24px !important;

	background: #ffffff !important;
	color: #092c46 !important;

	border: 0 !important;
	border-radius: 5px !important;

	font-size: 25px !important;
	text-align: left !important;

	cursor: pointer;

	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}


/* Padlock */
#gform_1 #gform_submit_button_1::after {
	content: "" !important;

	position: absolute !important;
	right: 22px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;

	width: 30px !important;
	height: 36px !important;

	background-color: #092c46 !important;

	-webkit-mask-image: url("https://montage.kinsta.cloud/wp-content/uploads/2026/09/padlock.svg");
	mask-image: url("https://montage.kinsta.cloud/wp-content/uploads/2026/09/padlock.svg");

	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;

	-webkit-mask-position: center;
	mask-position: center;

	-webkit-mask-size: contain;
	mask-size: contain;

	pointer-events: none;

	transition: background-color 0.2s ease;
}


/* Hover */
#gform_1 #gform_submit_button_1:hover {
	background: #12385f !important;
	color: #ffffff !important;
}

#gform_1 #gform_submit_button_1:hover::after {
	background-color: #ffffff !important;
}


/* Keyboard focus */
#gform_1 #gform_submit_button_1:focus-visible {
	background: #12385f !important;
	color: #ffffff !important;
	outline: 2px solid #12385f;
	outline-offset: 3px;
}

#gform_1 #gform_submit_button_1:focus-visible::after {
	background-color: #ffffff !important;
}


/* Mobile */
@media (max-width: 600px) {

	#gform_1 #gform_submit_button_1 {
		padding: 16px 55px 16px 18px !important;
		font-size: 20px !important;
	}

	#gform_1 #gform_submit_button_1::after {
		right: 16px !important;
		width: 26px !important;
		height: 32px !important;
	}

}

/* =========================================================
   GRAVITY FORM #1 — TYPOGRAPHY + OTHER AMOUNT FIELD
   ========================================================= */


/* ---------------------------------------------------------
   ALL FORM TEXT
   --------------------------------------------------------- */

#gform_1,
#gform_1 input,
#gform_1 button,
#gform_1 label,
#gform_1 legend,
#gform_1 textarea,
#gform_1 select,
#gform_1 p,
#gform_1 .gfield_description {
	font-family: "futura-pt", Sans-serif !important;
}


/* ---------------------------------------------------------
   "OTHER" AMOUNT FIELD
   --------------------------------------------------------- */

#gform_1 #input_1_5 {
	border-radius: 5px !important;
	box-sizing: border-box !important;
}


/* Optional: keep the input styling consistent */
#gform_1 #field_1_5 input[type="text"],
#gform_1 #field_1_5 input[type="number"] {
	font-family: "futura-pt", Sans-serif !important;
	border-radius: 5px !important;
}


/* ---------------------------------------------------------
   OTHER AMOUNT LABEL
   "Please enter amount"
   --------------------------------------------------------- */

#gform_1 #field_1_5 .gfield_label {
	font-family: "futura-pt", Sans-serif !important;
	color: #092c46;
}


/* ---------------------------------------------------------
   OTHER AMOUNT DESCRIPTION
   "Please enter a number from 1 to 5000."
   --------------------------------------------------------- */

#gform_1 #gfield_instruction_1_5 {
	font-family: "futura-pt", Sans-serif !important;
	font-size: 12px !important;
	line-height: 1.4 !important;
	color: #092c46 !important;
}


/* Make the bold numbers inherit the same colour/font */
#gform_1 #gfield_instruction_1_5 strong {
	font-family: "futura-pt", Sans-serif !important;
	color: #092c46 !important;
}


/* ---------------------------------------------------------
   HTML CONTENT BLOCK
   --------------------------------------------------------- */

#gform_1 #field_1_6 p {
	font-family: "futura-pt", Sans-serif !important;
	font-size: 22px !important;
	line-height: 1.4 !important;
	color: #092c46 !important;

	margin-top: 0;
	margin-bottom: 0;
}

#gform_1 #field_1_11 p {
	font-family: "futura-pt", Sans-serif !important;
	font-size: 22px !important;
	line-height: 1.4 !important;
	color: #092c46 !important;

	margin-top: 0;
	margin-bottom: 0;
}

#gform_1 #field_1_12 p {
	font-family: "futura-pt", Sans-serif !important;
	font-size: 22px !important;
	line-height: 1.4 !important;
	color: #092c46 !important;

	margin-top: 0;
	margin-bottom: 0;
}

/* =========================================================
   GRAVITY FORM #1 — PAYPAL / CARD PAYMENT FIELDS
   ========================================================= */


/* ---------------------------------------------------------
   PAYMENT FIELD TYPOGRAPHY
   --------------------------------------------------------- */

#gform_1 #field_1_9,
#gform_1 #field_1_9 label,
#gform_1 #field_1_9 legend,
#gform_1 #field_1_9 select,
#gform_1 #field_1_9 input {
    font-family: "futura-pt", Sans-serif !important;
}


/* Main "Payment Method" heading */

#gform_1 #field_1_9 > legend,
#gform_1 #field_1_9 > legend .gfield_label {
    font-family: "futura-pt", Sans-serif !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;

    color: #092c46 !important;

    margin: 0 0 14px !important;
}


/* ---------------------------------------------------------
   PAYMENT METHOD SELECT
   --------------------------------------------------------- */

#gform_1 #field_1_9 .gform_ppcp_payment_method {
    position: relative;
    width: 100%;
    max-width: 260px;
}


/* Remove UAEL / Astra custom chevrons */

#gform_1
#field_1_9
.uael-gf-select-custom::before,
#gform_1
#field_1_9
.uael-gf-select-custom::after {
    display: none !important;
    content: none !important;
}


/* Select itself */

#gform_1 #field_1_9 select.gfield_select {
    display: block;

    width: 100% !important;
    min-height: 54px !important;

    padding: 10px 42px 10px 15px !important;

    font-family: "futura-pt", Sans-serif !important;
    font-size: 18px !important;
    line-height: 1.3 !important;

    color: #092c46 !important;
    background-color: #ffffff !important;

    border: 1px solid #c5e1ff !important;
    border-radius: 9px !important;

    box-shadow: none !important;

    -webkit-appearance: none !important;
    appearance: none !important;

    background-image:
        linear-gradient(45deg, transparent 50%, #6b7480 50%),
        linear-gradient(135deg, #6b7480 50%, transparent 50%) !important;

    background-position:
        calc(100% - 20px) 50%,
        calc(100% - 14px) 50% !important;

    background-size:
        6px 6px,
        6px 6px !important;

    background-repeat: no-repeat !important;
}


#gform_1 #field_1_9 select.gfield_select:focus {
    border-color: #0085ff !important;
    outline: none !important;
}

/* =========================================================
   GRAVITY FORM #1 — PAYMENT LABELS + CARD ROW LAYOUT
   ========================================================= */


/* ---------------------------------------------------------
   PAYMENT FIELD LABELS
   --------------------------------------------------------- */

#gform_1
#field_1_9
.gform-field-label--type-sub {
    display: block;

    margin: 0 0 7px !important;

    font-family: "futura-pt", Sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;

    color: #092c49 !important;
}


/* Main Payment Method heading */

#gform_1
#field_1_9 > legend,
#gform_1
#field_1_9 > legend .gfield_label {
    color: #092c49 !important;
}


/* ---------------------------------------------------------
   EXPIRATION + SECURITY CODE
   Keep both fields on one row
   --------------------------------------------------------- */

#gform_1
#field_1_9
.ginput_cardextras {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr) !important;

    gap: 14px !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    align-items: start !important;
}


/* Remove Gravity Forms width behaviour */

#gform_1
#field_1_9
.ginput_cardinfo_left,
#gform_1
#field_1_9
.ginput_cardinfo_right {
    display: block !important;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* Prevent labels wrapping unnecessarily */

#gform_1
#field_1_9
.ginput_cardinfo_left
.gform-field-label,

#gform_1
#field_1_9
.ginput_cardinfo_right
.gform-field-label {
    white-space: nowrap;
}


/* Both hosted fields fill their grid columns */

#gform_1
#field_1_9
.ginput_cardinfo_left
.ginput_card_field,

#gform_1
#field_1_9
.ginput_cardinfo_right
.ginput_card_field {
    width: 100% !important;
    max-width: none !important;
}


/* ---------------------------------------------------------
   SECURITY CODE ICON
   Keep it from pushing the CVV field narrower
   --------------------------------------------------------- */

#gform_1
#field_1_9
.ginput_cardinfo_right {
    position: relative;
}


/* Give CVV field a little room for icon */

#gform_1
#field_1_9
.ginput_cardinfo_right
.ginput_card_security_code {
    width: calc(100% - 42px) !important;
}


/* Position icon beside field rather than as another column */

#gform_1
#field_1_9
.ginput_card_security_code_icon {
    position: absolute !important;

    right: 0 !important;
    bottom: 10px !important;

    width: 32px !important;

    margin: 0 !important;
}


/* ---------------------------------------------------------
   MOBILE
   Still preserve the two-column layout
   --------------------------------------------------------- */

@media (max-width: 600px) {

    #gform_1
    #field_1_9
    .ginput_cardextras {
        grid-template-columns:
            minmax(0, 1.25fr)
            minmax(0, 1fr) !important;

        gap: 12px !important;
    }

}


/* ---------------------------------------------------------
   CARD FIELD LAYOUT
   --------------------------------------------------------- */

#gform_1
#field_1_9
.ginput_container_custom_card_fields {
    margin-top: 16px;
}


/* Sub labels:
   Card Number / Expiration Date / Security Code / Name
   --------------------------------------------------------- */

#gform_1
#field_1_9
.gform-field-label--type-sub {
    display: block;

    margin: 0 0 6px !important;

    font-family: "futura-pt", Sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;

    color: #53616f !important;
}


/* ---------------------------------------------------------
   BRAINTREE HOSTED FIELDS
   --------------------------------------------------------- */

/*
 * The actual card input lives inside a cross-origin iframe,
 * so we style its surrounding Gravity Forms field.
 */

#gform_1
#field_1_9
.ginput_card_field.gform-theme-field-control {
    display: block;

    width: 100% !important;
    height: 54px !important;
    min-height: 54px !important;

    box-sizing: border-box;

    overflow: hidden;

    background: #ffffff !important;

    border: 1px solid #c5e1ff !important;
    border-radius: 9px !important;

    box-shadow: none !important;

    padding: 0 !important;
}


/* Braintree iframe fills rounded outer field */

#gform_1
#field_1_9
.ginput_card_field iframe {
    display: block !important;

    width: 100% !important;
    height: 52px !important;

    border: 0 !important;
    border-radius: 9px !important;

    background: transparent !important;
}


/* ---------------------------------------------------------
   CARDHOLDER NAME
   --------------------------------------------------------- */

#gform_1 #input_1_9_5 {
    display: block;

    width: 100% !important;
    min-height: 54px !important;

    box-sizing: border-box;

    padding: 10px 15px !important;

    font-family: "futura-pt", Sans-serif !important;
    font-size: 18px !important;

    color: #092c46 !important;

    background: #ffffff !important;

    border: 1px solid #c5e1ff !important;
    border-radius: 9px !important;

    box-shadow: none !important;
}


#gform_1 #input_1_9_5:focus {
    border-color: #0085ff !important;
    outline: none !important;
}


/* ---------------------------------------------------------
   EXPIRY + SECURITY CODE
   --------------------------------------------------------- */

#gform_1
#field_1_9
.ginput_cardextras {
    gap: 12px !important;
    align-items: end;
}


#gform_1
#field_1_9
.ginput_cardinfo_left,
#gform_1
#field_1_9
.ginput_cardinfo_right {
    min-width: 0;
}


/* CVV icon alignment */

#gform_1
#field_1_9
.ginput_card_security_code_icon {
    margin-left: 8px !important;
    align-self: center;
}


/* ---------------------------------------------------------
   CARD ICONS
   --------------------------------------------------------- */

#gform_1
#field_1_9
.gform_card_icon_container {
    margin: 0 0 12px !important;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 600px) {

    #gform_1 #field_1_9 .gform_ppcp_payment_method {
        max-width: 100%;
    }

    #gform_1
    #field_1_9
    .ginput_cardextras {
        gap: 12px !important;
    }

}

/* =========================================================
   GRAVITY FORM #1 — PAYPAL / CARD SUBMIT SPACING FIX
   ========================================================= */


/* ---------------------------------------------------------
   WHEN PAYPAL IS ACTIVE
   Gravity Forms hides its normal submit button.
   Completely remove it from the layout.
   --------------------------------------------------------- */

#gform_1
#gform_submit_button_1[style*="visibility: hidden"] {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    pointer-events: none !important;
}


/* ---------------------------------------------------------
   FORM FOOTER
   Remove Gravity Forms' excess footer spacing
   --------------------------------------------------------- */

#gform_1 .gform_footer {
    width: 100% !important;

    margin: 18px 0 0 !important;
    padding: 0 !important;

    min-height: 0 !important;
}


/* ---------------------------------------------------------
   PAYPAL SMART BUTTON AREA
   --------------------------------------------------------- */

#gform_1
#gform_ppcp_smart_payment_buttons_1 {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    min-height: 0 !important;

    vertical-align: top !important;
}


/* PayPal credit / Pay Later message */

#gform_1
#gform_ppcp_paylater_message_1 {
    width: 100% !important;

    margin: 0 0 14px !important;
    padding: 0 !important;
}


/* PayPal button itself */

#gform_1
#gform_ppcp_smart_payment_buttons_1
.paypal-buttons {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* ---------------------------------------------------------
   WHEN CARD PAYMENT IS ACTIVE
   Restore normal positioning for the Gravity Forms submit.
   --------------------------------------------------------- */

#gform_1
#gform_submit_button_1:not([style*="visibility: hidden"]) {
    position: relative !important;

    width: 100% !important;
    height: auto !important;

    overflow: visible !important;

    pointer-events: auto !important;
}

/* =========================================================
   GRAVITY FORM #1 — GIFT AID CONSENT
   ========================================================= */


/* ---------------------------------------------------------
   FIELD WRAPPER
   --------------------------------------------------------- */

#gform_1 #field_1_10 {
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    outline: 0 !important;

    font-family: "futura-pt", Sans-serif !important;
}


/* ---------------------------------------------------------
   FULL-WIDTH CONSENT PANEL
   --------------------------------------------------------- */

#gform_1 #field_1_10 .ginput_container_consent {
    display: flex !important;
    align-items: center !important;
    gap: 12px;

    width: 100% !important;
    min-height: 58px;

    margin: 0 !important;
    padding: 12px 16px !important;

    box-sizing: border-box;

    background: #ffffff !important;

    border: 0 !important;
    border-radius: 9px !important;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}


/* Optional subtle hover */

#gform_1 #field_1_10 .ginput_container_consent:hover {
    background: #f7fbff !important;
}


/* ---------------------------------------------------------
   CHECKBOX
   --------------------------------------------------------- */

#gform_1 #field_1_10 input[type="checkbox"] {
    flex: 0 0 auto;

    width: 24px !important;
    height: 24px !important;

    margin: 0 !important;

    position: relative;

    appearance: none !important;
    -webkit-appearance: none !important;

    background: #ffffff !important;

    border: 2px solid #12385f !important;
    border-radius: 5px !important;

    box-shadow: none !important;

    cursor: pointer;
}


/* Checked state */

#gform_1 #field_1_10 input[type="checkbox"]:checked {
    background: #12385f !important;
    border-color: #12385f !important;
}


/* Tick */

#gform_1 #field_1_10 input[type="checkbox"]:checked::after {
    content: "";

    position: absolute;

    left: 7px;
    top: 3px;

    width: 6px;
    height: 11px;

    border: solid #ffffff;
    border-width: 0 2px 2px 0;

    transform: rotate(45deg);
}


/* ---------------------------------------------------------
   CONSENT LABEL
   --------------------------------------------------------- */

#gform_1 #field_1_10 .gfield_consent_label {
    flex: 1 1 auto;

    margin: 0 !important;
    padding: 0 !important;

    font-family: "futura-pt", Sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;

    color: #092c49 !important;

    cursor: pointer;
}


/* ---------------------------------------------------------
   DISCLAIMER
   --------------------------------------------------------- */

#gform_1 #field_1_10 .gfield_description,
#gform_1 #field_1_10 .gfield_consent_description,
#gform_1 #field_1_10 .gfield_consent_description_text {
    width: 100% !important;
    max-width: none !important;

    margin: 12px 0 0 !important;
    padding: 0 !important;

    font-family: "futura-pt", Sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;

    color: #092c49 !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}


/* Remove focus border from disclaimer */

#gform_1
#field_1_10
.gfield_consent_description_text:focus {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;

}

#gform_wrapper_1 .gform_heading .gform_required_legend {
    display: none !important;
}


/* =========================================================
   UNLIMITED ELEMENTS — CHECKBOX FILTER PANELS
   ========================================================= */


/* Space between individual options */

.ue_checkbox_container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


/* Individual checkbox panel */

.ue_checkbox_container
.ue_taxonomy_item {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    min-height: 48px;

    margin: 0 !important;
    padding: 10px 14px !important;

    box-sizing: border-box;

    background-color: #ffdfb0 !important;

    border: 0 !important;
    border-radius: 8px !important;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}


/* Hover */

.ue_checkbox_container
.ue_taxonomy_item:hover {
    background-color: #ffc293 !important;
}


/* Checked / active */

.ue_checkbox_container
.ue_taxonomy_item:has(
    .uc-checkbox-filter__checkbox:checked
) {
    background-color: #ffb995 !important;
}


/* Keep active colour when hovering */

.ue_checkbox_container
.ue_taxonomy_item:has(
    .uc-checkbox-filter__checkbox:checked
):hover {
    background-color: #ffb995 !important;
}


/* Keyboard focus */

.ue_checkbox_container
.ue_taxonomy_item:has(
    .uc-checkbox-filter__checkbox:focus-visible
) {
    outline: 2px solid #ffb995;
    outline-offset: 2px;
}

/* =========================================================
   CLASS FINDER — STACK FILTER TITLE ABOVE OPTIONS
   ========================================================= */


/* Stack title + checkbox group vertically */

.ue_taxonomy.uc-checkbox-filter {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    width: 100% !important;
}


/* Filter question/title */

.ue_taxonomy.uc-checkbox-filter
.ue_checkfilter_title {
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    flex: none !important;

    margin: 0 0 12px !important;
}


/* Checkbox group takes full available width */

.ue_taxonomy.uc-checkbox-filter
.ue_checkbox_container {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;

    width: 100% !important;
    max-width: none !important;

    flex: none !important;

    gap: 8px;
}


/* Individual checkbox panels */

.ue_taxonomy.uc-checkbox-filter
.ue_checkbox_container
.ue_taxonomy_item {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    max-width: none !important;

    box-sizing: border-box;

    margin: 0 !important;
}