.a5-contact-form {
	max-width: 560px;
}

.a5-contact-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.a5-contact-form__field {
	margin-bottom: 20px;
}

.a5-contact-form__field label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 600;
	color: #151616;
}

.a5-contact-form__field input,
.a5-contact-form__field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	font-size: 15px;
	font-family: inherit;
	color: #151616;
	background-color: #ffffff;
	border: 1px solid rgba(21, 22, 22, 0.2);
	border-radius: 4px;
}

.a5-contact-form__field input:focus,
.a5-contact-form__field textarea:focus {
	outline: none;
	border-color: #151616;
}

.a5-contact-form__submit {
	display: inline-block;
	background-color: #151616;
	color: #ffffff;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	padding: 13px 32px;
	border: none;
	border-radius: 28px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.a5-contact-form__submit:hover {
	background-color: #393c40;
}

.a5-contact-form__notice {
	padding: 12px 16px;
	border-radius: 4px;
	margin-bottom: 20px;
	font-size: 14px;
}

.a5-contact-form__notice--success {
	background-color: rgba(60, 130, 80, 0.12);
	color: #2c6b42;
}

.a5-contact-form__notice--error {
	background-color: rgba(180, 60, 60, 0.12);
	color: #a13a3a;
}

/* On a dark post-hero fill (currently just Contact), flip labels/submit to light,
   but keep the input fields themselves white for readable contrast against the dark page. */
.a5-post-hero-fill--on-dark .a5-contact-form__field label {
	color: #f3f3e8;
}
.a5-post-hero-fill--on-dark .a5-contact-form__submit {
	background-color: #f3f3e8;
	color: #151616;
}
.a5-post-hero-fill--on-dark .a5-contact-form__submit:hover {
	background-color: #ffffff;
}
