/* Minimal styling for Contact Form 7 inside the blank "Landing page (vuota)" template, where the theme CSS is
   switched off. Every selector is wrapped in :where() so it has ZERO specificity: any CSS pasted with the landing
   page (or a class on the form) wins without !important. */
:where(.wpcf7-form) p {
	margin: 0 0 1rem;
}

:where(.wpcf7-form) label {
	display: block;
	font-weight: 600;
}

:where(.wpcf7-form) .wpcf7-form-control-wrap {
	display: block;
	margin-top: 0.35rem;
}

:where(.wpcf7-form) input[type="text"],
:where(.wpcf7-form) input[type="email"],
:where(.wpcf7-form) input[type="tel"],
:where(.wpcf7-form) textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid #c4ccd0;
	border-radius: 10px;
	font: inherit;
	background: #fff;
}

:where(.wpcf7-form) input:focus,
:where(.wpcf7-form) textarea:focus {
	outline: 2px solid #1f6b4f;
	outline-offset: 1px;
}

:where(.wpcf7-form) .wpcf7-acceptance label {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
	font-weight: 400;
	font-size: 0.9rem;
}

:where(.wpcf7-form) input[type="submit"] {
	padding: 0.8rem 1.6rem;
	border: 0;
	border-radius: 999px;
	background: #1f6b4f;
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

:where(.wpcf7-form) input[type="submit"]:hover {
	background: #155741;
}

:where(.wpcf7-form) .wpcf7-not-valid-tip,
:where(.wpcf7-form) .wpcf7-response-output {
	font-size: 0.9rem;
}
