/* Conditional field groups — hidden until JS shows the matching one.
   Uses [hidden] (not display:none in CSS alone) so content still exists
   in the DOM/tab order is correctly removed for screen readers when
   hidden, and restored when shown by contact-form.js. */
.asa-conditional-group {
	display: none;
}
.asa-conditional-group.is-visible {
	display: block;
}

/* Honeypot field — hidden from sighted users and keyboard/tab order,
   but still present in the DOM so bots that fill every field trip it.
   Not display:none (some bots skip those) — moved off-screen instead. */
.asa-hp-field {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.asa-conditional-group legend {
	font-weight: 600;
	margin-bottom: 0.5em;
}

.wpcf7-form fieldset {
	border: none;
	padding: 0;
	margin: 0 0 1.5em 0;
	/* Browsers default fieldsets to min-width: min-content, so a
	   size="40" input inside one pushed the page sideways on phones. */
	min-width: 0;
}

.wpcf7-form legend {
	max-width: 100%;
	white-space: normal;
}

.wpcf7-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.wpcf7-form select,
.wpcf7-form textarea {
	max-width: 100%;
	box-sizing: border-box;
}
