/* Contact Us – centered, symmetric two-column layout */

.page-id-5332 .entry-header,
.yaj-contact-layout .entry-header {
	display: none !important;
}

.page-id-5332 #content.site-content,
.yaj-contact-layout #content.site-content {
	padding-top: 40px;
	padding-bottom: 56px;
}

.page-id-5332 .site-content > .ast-container,
.yaj-contact-layout .site-content > .ast-container,
.page-id-5332 #primary,
.yaj-contact-layout #primary,
.page-id-5332 .entry-content,
.yaj-contact-layout .entry-content {
	max-width: none !important;
	width: 100%;
	margin: 0;
	padding: 0;
}

/* Force solid header if transparent class still appears */
.page-id-5332.ast-theme-transparent-header #masthead,
.page-id-5332.ast-theme-transparent-header .main-header-bar,
.page-id-5332.ast-theme-transparent-header .ast-primary-header-bar {
	position: relative !important;
	background: #fff !important;
}

.yaj-contact-page {
	box-sizing: border-box;
	width: 100%;
	max-width: 1040px;
	margin: 0 auto;
	padding: 0 24px;
	color: #0a2540;
}

.yaj-contact-page__header {
	margin: 0 0 28px;
	padding-bottom: 20px;
	border-bottom: 1px solid #d7e2ef;
	text-align: center;
}

.yaj-contact-page__title {
	margin: 0 0 10px;
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	font-weight: 700;
	line-height: 1.2;
	color: #0a2540;
}

.yaj-contact-page__company {
	margin: 0 auto;
	max-width: 40em;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.45;
	color: #1f4e79;
}

.yaj-contact-page__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: stretch;
	width: 100%;
}

.yaj-contact-page__info,
.yaj-contact-page__form-wrap {
	min-width: 0;
	box-sizing: border-box;
}

.yaj-contact-page__info {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 8px 8px 8px 0;
}

.yaj-contact-page__intro {
	margin: 0 0 28px;
	font-size: 1rem;
	line-height: 1.7;
	color: #334155;
}

.yaj-contact-page__details {
	margin: 0;
	padding: 0;
	list-style: none;
}

.yaj-contact-page__details li {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	gap: 8px 16px;
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid #e8eef5;
	font-size: 1rem;
	line-height: 1.55;
	align-items: start;
}

.yaj-contact-page__details li:first-child {
	padding-top: 0;
}

.yaj-contact-page__details li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.yaj-contact-page__label {
	font-weight: 700;
	color: #0a2540;
}

.yaj-contact-page__details a {
	color: #0a2540 !important;
	text-decoration: none;
	word-break: break-word;
}

.yaj-contact-page__details a:hover {
	color: #2f6fed !important;
	text-decoration: underline;
}

.yaj-contact-page__form-wrap {
	background: #f5f8fc;
	border: 1px solid #d7e2ef;
	border-radius: 6px;
	padding: 28px;
	height: 100%;
}

.yaj-contact-form {
	margin: 0;
	height: 100%;
}

.yaj-contact-form fieldset {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.yaj-contact-form legend {
	display: block;
	float: none;
	width: 100%;
	margin: 0 0 18px;
	padding: 0 0 12px;
	border-bottom: 2px solid #0a2540;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	color: #0a2540;
}

.yaj-contact-form__field {
	margin: 0 0 14px;
}

.yaj-contact-form__field input,
.yaj-contact-form__field textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid #c5d0de;
	border-radius: 4px;
	background: #fff;
	color: #0a2540;
	font-size: 0.98rem;
	line-height: 1.4;
	box-shadow: none;
	box-sizing: border-box;
}

.yaj-contact-form__field input:focus,
.yaj-contact-form__field textarea:focus {
	outline: none;
	border-color: #2f6fed;
	box-shadow: 0 0 0 2px rgba(47, 111, 237, 0.15);
}

.yaj-contact-form__field textarea {
	min-height: 140px;
	resize: vertical;
}

.yaj-contact-form__actions {
	margin: 18px 0 0;
}

.yaj-contact-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 140px;
	min-height: 46px;
	padding: 12px 28px;
	border: 0;
	border-radius: 4px;
	background: #2f6fed !important;
	color: #fff !important;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease;
}

.yaj-contact-form__submit:hover {
	background: #1f5ad6 !important;
	color: #fff !important;
}

.yaj-contact-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.yaj-contact-page__tagline {
	margin: 40px 0 0;
	padding-top: 24px;
	border-top: 1px solid #d7e2ef;
	text-align: center;
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	font-weight: 700;
	line-height: 1.45;
	color: #0a2540;
}

.yaj-contact-notice-banner {
	margin: 0 0 24px;
	padding: 12px 16px;
	border-radius: 4px;
	font-size: 0.95rem;
	line-height: 1.45;
}

.yaj-contact-notice-banner--success {
	background: #e8f6ea;
	color: #1e4620;
	border: 1px solid #b7dfb9;
}

.yaj-contact-notice-banner--error {
	background: #fdecea;
	color: #611a15;
	border: 1px solid #f5c2c0;
}

@media (max-width: 900px) {
	.page-id-5332 #content.site-content,
	.yaj-contact-layout #content.site-content {
		padding-top: 24px;
		padding-bottom: 40px;
	}

	.yaj-contact-page__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.yaj-contact-page__info {
		padding: 0;
	}

	.yaj-contact-page__header {
		text-align: left;
	}

	.yaj-contact-page__details li {
		grid-template-columns: 96px minmax(0, 1fr);
	}

	.yaj-contact-page__form-wrap {
		padding: 22px;
		height: auto;
	}
}
