/**
* #.# CONTACT FORM 7
*
* Style for the menu and links on the site ie: to remove text-decoration or add styles.
*/ 

/* Container for name fields */

.wpcf7-form br {
    display: none; /* Hide <br> tags */
}

/* Container for name fields */
.contact-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 2em; /* Space between fields */
	margin: 1em 0;
}

/* Individual fields for contact */
.contact-field {
    flex: 1 1 calc(50% - 2em); /* Each takes half the width */
}

/* Full-width fields */
.full-width-field {
    width: 100%;
    margin: 1em 0; /* Add spacing between full-width fields */
}

/* Adjust for small screens */
@media (max-width: 781px) {
		.contact-fields {
		gap: 1em; /* Space between fields */
	}
	
    .name-field, 
    .contact-field {
        flex: 1 1 100%; /* Full width on smaller screens */
    }
}

.wpcf7 {
	margin: 0 auto;
}

/* Input fields */
.wpcf7 input:not( input[type="submit"]),
.wpcf7 textarea {
	width: 100%;
	padding: 1em;
	margin-bottom: .5em;
	border-top: none;
	border-right: none;
	border-bottom: 1px solid #B0A99F; 
	border-left: none;
	background-color: transparent;
	border-radius: 0;
	font-size: var(--wp--preset--font-size--small);
	box-sizing: border-box;
}

/* Focus state for inputs */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
/* 	border-color: #0073e6; */
/* 	box-shadow: 0 0 5px rgba(0, 115, 230, 0.5); */
	outline: none;
	border-color: #be3d2c!important;
}

/* Labels */
.wpcf7 label {
	font-weight: bold;
	margin-bottom: 5px;
	display: block;
}

/* Error and success messages */
.wpcf7-not-valid-tip {
	color: red;
	font-size: 14px;
}

.wpcf7-mail-sent-ok {
	background-color: #d4edda;
	color: #155724;
	padding: 15px;
	border-radius: 4px;
	margin-top: 20px;
}

/* Validation errors */
.wpcf7-form-invalid {
	border-color: red;
}

/* Placeholder text */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
	color: #b4b5ba;
	font-style: normal;
}

/* Google ReCaptcha Styling */
/* .grecaptcha-badge {
	visibility: hidden;
}

.grecaptcha {
	font-size: 11px;
}

.grecaptcha a {
	color: var(--wp--preset--color--accent-3);
} */