/* Contact page — a continuation of the homepage/About/Loan community-bank system. */
.boc-contact {
	--boc-contact-radius: 18px;
	overflow: hidden;
	margin-bottom: 0;
	padding: 0;
	color: var(--boc-color-text);
}

.boc-contact,
.boc-contact *,
.boc-contact *::before,
.boc-contact *::after {
	box-sizing: border-box;
}

.site-main .boc-contact .wp-block-group__inner-container {
	padding: 0;
}

.boc-contact > .wp-block-group__inner-container {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

/* Neutralize the theme's per-block padding, exactly as on the About/Loan pages:
 * the page owns spacing at the section/card level instead. */
.boc-contact .boc-contact-hero > .wp-block-group__inner-container > .boc-kicker,
.boc-contact .boc-contact-hero > .wp-block-group__inner-container > h1,
.boc-contact .boc-contact-hero > .wp-block-group__inner-container > p,
.boc-contact .boc-contact-section .wp-block-group__inner-container > h2,
.boc-contact .boc-contact-section .wp-block-group__inner-container > h3,
.boc-contact .boc-contact-section .wp-block-group__inner-container > p {
	padding-right: 0;
	padding-left: 0;
}

.boc-contact > .wp-block-group__inner-container > :not(.boc-contact-hero) {
	width: 100%;
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
	padding-right: 28px;
	padding-left: 28px;
}

.boc-contact .boc-kicker {
	margin: 0 0 12px;
	color: var(--boc-color-accent-dark);
	font: 700 13px/1.3 Arial, sans-serif;
	letter-spacing: .12em;
	text-transform: uppercase;
}

/* Full-bleed hero with the Pexels customer-service photo (free license) behind
 * a navy gradient so headline text always meets contrast requirements. */
.boc-contact > .wp-block-group__inner-container > .boc-contact-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	width: 100vw;
	max-width: none;
	margin: 0 0 0 calc(50% - 50vw);
	padding: clamp(48px, 7vw, 86px) 0;
	background:
		linear-gradient(90deg, var(--boc-navy-950) 0%, rgba(var(--boc-navy-rgb), .96) 44%, rgba(var(--boc-navy-rgb), .72) 64%, rgba(var(--boc-navy-rgb), .38) 100%),
		url("/wp-content/uploads/2026/09/contact-hero.jpg") center 40% / cover no-repeat,
		var(--boc-navy-900);
	color: var(--boc-white);
}

.boc-contact .boc-contact-hero > .wp-block-group__inner-container {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 28px;
}

.boc-contact .boc-contact-hero > .wp-block-group__inner-container > * {
	max-width: 680px;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.boc-contact .boc-contact-hero .boc-kicker {
	color: var(--boc-gold-400);
}

.boc-contact .boc-contact-hero h1 {
	margin: 0 0 18px;
	color: var(--boc-white);
	font-family: Georgia, serif;
	font-size: clamp(40px, 5vw, 64px);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -.028em;
}

.boc-contact .boc-contact-hero p:not(.boc-kicker) {
	max-width: 610px;
	margin: 0;
	color: rgba(255, 255, 255, .86);
	font-size: 18px;
	line-height: 1.65;
}

.boc-contact > .wp-block-group__inner-container > .boc-contact-section {
	padding-top: clamp(42px, 5vw, 64px);
	padding-bottom: clamp(34px, 4vw, 52px);
}

.boc-contact .boc-contact-section + .boc-contact-section {
	border-top: 1px solid var(--boc-border);
}

.boc-contact .boc-contact-section h2 {
	max-width: 760px;
	margin: 0 0 14px;
	padding: 0;
	border: 0;
	color: var(--boc-navy-950);
	font-family: Georgia, serif;
	font-size: clamp(28px, 3.4vw, 40px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.02em;
}

.boc-contact .boc-contact-section h3 {
	margin: 0 0 8px;
	color: var(--boc-navy-950);
}

.boc-contact .boc-contact-section p {
	margin: 0 0 16px;
	color: var(--boc-color-text-muted);
	font-size: 17px;
	line-height: 1.7;
}

.boc-contact .boc-contact-section p:last-child {
	margin-bottom: 0;
}

/* Office cards — mirror the About page's location cards. */
.boc-contact .boc-contact-office-columns {
	align-items: stretch;
	gap: 26px;
	margin-top: 30px;
}

.boc-contact .boc-contact-office-columns > .wp-block-column {
	min-width: 0;
}

.boc-contact .boc-contact-office {
	overflow: hidden;
	height: 100%;
	border: 1px solid var(--boc-border);
	border-top: 4px solid var(--boc-gold-600);
	border-radius: var(--boc-contact-radius);
	background: var(--boc-white);
	box-shadow: 0 3px 10px rgba(var(--boc-navy-rgb), .06);
}

.boc-contact .boc-contact-office .wp-block-image {
	margin: 0;
}

.boc-contact .boc-contact-office .wp-block-image img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.boc-contact .boc-contact-office-body {
	padding: clamp(22px, 3vw, 30px);
}

.boc-contact .boc-contact-office-body h3 {
	font-size: 22px;
}

.boc-contact .boc-contact-label {
	margin: 0 0 12px !important;
	color: var(--boc-color-accent-dark);
	font: 700 12px/1.3 Arial, sans-serif;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.boc-contact .boc-contact-office-body p {
	font-size: 16px;
	line-height: 1.65;
}

.boc-contact .boc-contact-office-body p strong {
	color: var(--boc-navy-950);
}

.boc-contact .boc-contact-status {
	margin-top: 14px !important;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--boc-blue-100);
	color: var(--boc-navy-950) !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
}

/* Phone & mail cards. */
.boc-contact .boc-contact-call-columns {
	align-items: stretch;
	gap: 26px;
	margin-top: 30px;
}

.boc-contact .boc-contact-call-columns > .wp-block-column {
	min-width: 0;
}

.boc-contact .boc-contact-callcard {
	height: 100%;
	padding: clamp(24px, 3vw, 34px);
	border: 1px solid var(--boc-border);
	border-top: 4px solid var(--boc-gold-600);
	border-radius: var(--boc-contact-radius);
	background: var(--boc-white);
	box-shadow: 0 3px 10px rgba(var(--boc-navy-rgb), .06);
}

.boc-contact .boc-contact-callcard-kicker {
	margin: 0 0 10px;
	color: var(--boc-color-accent-dark);
	font: 700 12px/1.3 Arial, sans-serif;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.boc-contact .boc-contact-callcard p {
	margin: 0 0 14px;
	font-size: 16px;
}

.boc-contact .boc-contact-callcard p:last-child {
	margin-bottom: 0;
}

.boc-contact .boc-contact-phone {
	color: var(--boc-navy-950) !important;
	font: 700 24px/1.25 Georgia, serif;
	letter-spacing: -.01em;
}

/* Email Link Notice panel. */
.boc-contact > .wp-block-group__inner-container > .boc-contact-notice {
	max-width: 1144px;
	margin-top: 14px;
	margin-bottom: clamp(38px, 5vw, 58px);
	padding: clamp(26px, 3.4vw, 40px);
	border: 1px solid var(--boc-gold-400);
	border-left: 6px solid var(--boc-gold-600);
	border-radius: var(--boc-contact-radius);
	background: var(--boc-gold-100);
}

.boc-contact .boc-contact-notice h2 {
	margin-bottom: 0;
}

.boc-contact .boc-contact-notice p {
	max-width: 760px;
	margin: 14px 0 0;
	color: var(--boc-navy-950);
	font-size: 16px;
}

/* Breakpoints — kept identical to the About/Loan system. */
@media (max-width: 781px) {
	.boc-contact .boc-contact-office-columns,
	.boc-contact .boc-contact-call-columns {
		gap: 18px;
	}
}

@media (max-width: 700px) {
	.boc-contact .boc-contact-office-columns > .wp-block-column,
	.boc-contact .boc-contact-call-columns > .wp-block-column {
		flex-basis: 100% !important;
	}

	.boc-contact .boc-contact-hero {
		background:
			linear-gradient(180deg, rgba(var(--boc-navy-rgb), .94) 0%, rgba(var(--boc-navy-rgb), .82) 60%, rgba(var(--boc-navy-rgb), .66) 100%),
			url("/wp-content/uploads/2026/09/contact-hero.jpg") center 34% / cover no-repeat,
			var(--boc-navy-900);
	}
}

@media (max-width: 420px) {
	.boc-contact > .wp-block-group__inner-container > :not(.boc-contact-hero) {
		padding-right: 20px;
		padding-left: 20px;
	}

	.boc-contact .boc-contact-hero > .wp-block-group__inner-container {
		padding: 0 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.boc-contact,
	.boc-contact * {
		transition: none !important;
		animation: none !important;
	}
}

