/* NZ USAR Dogs - contact page and form */

.welcome_text.contact_page {
	text-align: left;
	box-sizing: border-box;
}

.welcome_text.contact_page h1 {
	margin-bottom: 20px;
}

.contact_intro p {
	margin: 0 0 12px;
	line-height: 1.5;
}

.contact_intro a,
.cf-notice a {
	color: #AD0000;
	text-decoration: underline;
}

/* Notices */
.cf-notice {
	margin: 20px 0 0;
	padding: 12px 16px;
	border-left: 4px solid #AD0000;
	background: #FBEAEA;
	outline: none;
}

.cf-notice.cf-notice-info {
	border-left-color: #C77700;
	background: #FFF6E5;
}

.cf-notice p {
	margin: 0;
	color: #2B2B2B;
	line-height: 1.5;
}

/* Form */
.contact_form {
	margin: 24px 0 0;
	padding: 24px;
	background: #F2F2F2;
	border: 1px solid #E0E0E0;
}

.cf-field {
	margin: 0 0 18px;
}

.cf-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0 20px;
}

.cf-row .cf-field {
	flex: 1 1 220px;
}

.contact_form label {
	display: block;
	margin: 0 0 6px;
	font-weight: bold;
	font-size: 14px;
	color: #333333;
}

.cf-req {
	color: #AD0000;
}

.contact_form input[type="text"],
.contact_form input[type="email"],
.contact_form select,
.contact_form textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 9px 10px;
	font: inherit;
	font-size: 15px;
	color: #2B2B2B;
	background: #FFFFFF;
	border: 1px solid #B5B5B5;
	border-radius: 3px;
}

.contact_form textarea {
	min-height: 150px;
	resize: vertical;
	line-height: 1.45;
}

.contact_form input:focus,
.contact_form select:focus,
.contact_form textarea:focus {
	outline: 2px solid #AD0000;
	outline-offset: 1px;
	border-color: #AD0000;
}

.cf-has-error input,
.cf-has-error select,
.cf-has-error textarea {
	border-color: #AD0000;
	background: #FFF8F8;
}

.cf-error {
	margin: 6px 0 0 !important;
	color: #AD0000 !important;
	font-size: 13px;
}

.cf-privacy {
	margin: 0 0 18px !important;
	font-size: 13px;
	color: #505050;
}

.cf-submit {
	display: inline-block;
	padding: 11px 26px;
	font: inherit;
	font-size: 15px;
	font-weight: bold;
	color: #FFFFFF;
	background: #AD0000;
	border: 0;
	border-radius: 3px;
	cursor: pointer;
}

.cf-submit:hover {
	background: #800000;
}

.cf-submit:focus-visible {
	outline: 2px solid #333333;
	outline-offset: 2px;
}

/* Honeypot: off-screen, not display:none (some bots skip hidden fields) */
.cf-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Facebook feed */
.contact_facebook {
	margin: 32px 0 0;
}

.contact_facebook h3 {
	margin: 0 0 12px;
}

/* Narrow screens */
@media (max-width: 640px) {
	.welcome_text.contact_page {
		width: 100%;
		padding: 16px;
	}
	.contact_form {
		padding: 16px;
	}
}
