/* About page — a continuation of the homepage's restrained community-bank system. */
.boc-about {
	--boc-about-radius: 18px;
	overflow: hidden;
	margin-bottom: 0;
	padding: 0;
	color: var(--boc-color-text);
}

.boc-about,
.boc-about *,
.boc-about *::before,
.boc-about *::after {
	box-sizing: border-box;
}

.site-main .boc-about .wp-block-group__inner-container {
	padding: 0;
}

.boc-about > .wp-block-group__inner-container {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

/* Neutralize the legacy unstructured About selectors from the parent theme.
 * The new page owns spacing at the section/card level instead of padding every
 * individual Gutenberg text and media block. */
.boc-about .boc-about-hero > .wp-block-group__inner-container > .boc-kicker,
.boc-about .boc-about-hero > .wp-block-group__inner-container > h1,
.boc-about .boc-about-hero > .wp-block-group__inner-container > p,
.boc-about .boc-about-section .wp-block-group__inner-container > h2,
.boc-about .boc-about-section .wp-block-group__inner-container > h3,
.boc-about .boc-about-section .wp-block-group__inner-container > p,
.boc-about .boc-about-section .wp-block-group__inner-container > .wp-block-table,
.boc-about .boc-about-section .wp-block-group__inner-container > .wp-block-image {
	padding-right: 0;
	padding-left: 0;
}

.boc-about > .wp-block-group__inner-container > :not(.boc-about-hero) {
	width: 100%;
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
	padding-right: 28px;
	padding-left: 28px;
}

.boc-about .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;
}

.boc-about > .wp-block-group__inner-container > .boc-about-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), .97) 46%, rgba(var(--boc-navy-rgb), .74) 67%, rgba(var(--boc-navy-rgb), .24) 100%),
		url("/wp-content/uploads/2026/09/09-2026-205809.jpg") center 48% / cover no-repeat,
		var(--boc-navy-900);
	color: var(--boc-white);
}

.boc-about .boc-about-hero > .wp-block-group__inner-container {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 28px;
}

.boc-about .boc-about-hero > .wp-block-group__inner-container > * {
	max-width: 680px;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.boc-about .boc-about-hero .boc-kicker {
	color: var(--boc-gold-400);
}

.boc-about .boc-about-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-about .boc-about-hero p:not(.boc-kicker) {
	max-width: 610px;
	margin: 0;
	color: rgba(255, 255, 255, .86);
	font-size: 18px;
	line-height: 1.65;
}

.boc-about > .wp-block-group__inner-container > .boc-about-section {
	padding-top: clamp(42px, 5vw, 64px);
	padding-bottom: clamp(34px, 4vw, 52px);
}

.boc-about .boc-about-section + .boc-about-section {
	border-top: 1px solid var(--boc-border);
}

.boc-about .boc-about-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(29px, 3vw, 40px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.018em;
}

.boc-about .boc-section-intro {
	max-width: 760px;
	margin: 0 0 30px;
	color: var(--boc-color-text-muted);
	font-size: 17px;
	line-height: 1.65;
}

.boc-about .boc-about-story-grid {
	align-items: flex-start;
	gap: clamp(28px, 5vw, 64px);
	margin-top: 6px;
}

.boc-about .boc-about-milestone {
	position: relative;
	height: auto;
	min-height: 292px;
	padding: 30px 28px;
	border-radius: var(--boc-about-radius);
	background: var(--boc-navy-900);
	color: var(--boc-white);
}

.boc-about .boc-about-milestone::after {
	position: absolute;
	right: 24px;
	bottom: 24px;
	left: 24px;
	height: 2px;
	background: linear-gradient(90deg, var(--boc-gold-600) 0 58%, rgba(255, 255, 255, .2) 58%);
	content: "";
}

.boc-about .boc-about-year {
	margin: 0 0 10px;
	color: var(--boc-white);
	font: 700 clamp(54px, 7vw, 82px)/.95 Georgia, serif;
	letter-spacing: -.04em;
}

.boc-about .boc-about-milestone-copy {
	margin: 0;
	color: rgba(255, 255, 255, .82);
	font-size: 16px;
	line-height: 1.55;
}

.boc-about .boc-about-story-copy p,
.boc-about .boc-about-community-copy p {
	margin: 0 0 18px;
	color: var(--boc-color-text-muted);
	font-size: 17px;
	line-height: 1.7;
}

.boc-about .boc-about-story-copy p:last-child,
.boc-about .boc-about-community-copy p:last-child {
	margin-bottom: 0;
}

.boc-about .boc-about-belief {
	margin-top: 34px;
	padding: 19px 24px;
	border-left: 4px solid var(--boc-gold-600);
	background: var(--boc-gold-100);
}

.boc-about .boc-about-belief p {
	margin: 0;
	color: var(--boc-navy-950);
	font: 700 19px/1.5 Georgia, serif;
}

.boc-about > .wp-block-group__inner-container > .boc-about-community {
	max-width: 1144px;
	margin-top: 14px;
	margin-bottom: 14px;
	padding: clamp(30px, 4vw, 46px);
	border: 0;
	border-radius: var(--boc-about-radius);
	background: var(--boc-blue-100);
}

.boc-about .boc-about-community-grid {
	align-items: start;
	gap: clamp(28px, 5vw, 64px);
	margin: 0;
}

.boc-about .boc-about-community h2 {
	margin-bottom: 0;
	padding: 0;
	border: 0;
}

.boc-about .boc-about-community h3 {
	margin: 0 0 12px;
	color: var(--boc-navy-900);
	font: 700 23px/1.2 Georgia, serif;
}

.boc-about .boc-about-quote {
	margin: 20px 0 0;
	padding-top: 16px;
	border-top: 1px solid rgba(var(--boc-blue-rgb), .28);
	color: var(--boc-navy-950);
	font: 700 18px/1.5 Georgia, serif;
}

.boc-about .wp-block-table {
	margin: 28px 0 0;
	overflow: hidden;
	border: 1px solid var(--boc-border);
	border-top: 4px solid var(--boc-gold-600);
	border-radius: var(--boc-about-radius);
	background: var(--boc-white);
	box-shadow: 0 3px 10px rgba(var(--boc-navy-rgb), .05);
}

.boc-about .wp-block-table table {
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: transparent;
}

.boc-about .wp-block-table th,
.boc-about .wp-block-table td {
	padding: 15px 18px;
	border: 0;
	border-bottom: 1px solid var(--boc-border);
	vertical-align: top;
	text-align: left;
}

.boc-about .wp-block-table th {
	background: var(--boc-navy-900);
	color: var(--boc-white);
	font: 700 12px/1.3 Arial, sans-serif;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.boc-about .wp-block-table tbody tr:last-child td {
	border-bottom: 0;
}

.boc-about .wp-block-table td:first-child {
	width: 34%;
	color: var(--boc-navy-950);
	font-weight: 700;
}

.boc-about .boc-location-columns {
	align-items: stretch;
	gap: 26px;
	margin-top: 30px;
}

.boc-about .boc-location-columns > .wp-block-column {
	min-width: 0;
}

.boc-about .boc-location-card {
	display: block;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--boc-border);
	border-top: 4px solid var(--boc-gold-600);
	border-radius: var(--boc-about-radius);
	background: var(--boc-white);
	box-shadow: 0 3px 10px rgba(var(--boc-navy-rgb), .06);
}

.boc-about .boc-location-card .wp-block-image {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: var(--boc-mist);
}

.boc-about .boc-location-card .wp-block-image img {
	display: block;
	width: 100%;
	height: 250px;
	object-fit: cover;
}

.boc-about .boc-location-card-body {
	padding: 25px 26px 28px;
}

.boc-about .boc-location-card h3 {
	margin: 0 0 6px;
	color: var(--boc-navy-950);
	font: 700 26px/1.2 Georgia, serif;
}

.boc-about .boc-location-label {
	margin: 0 0 18px;
	color: var(--boc-color-accent-dark);
	font: 700 12px/1.3 Arial, sans-serif;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.boc-about .boc-location-card p {
	margin: 0 0 17px;
	color: var(--boc-color-text-muted);
	font-size: 16px;
	line-height: 1.6;
}

.boc-about .boc-location-card p:last-child {
	margin-bottom: 0;
}

.boc-about .boc-location-card strong {
	color: var(--boc-navy-950);
}

.boc-about .boc-location-card a {
	color: var(--boc-navy-900);
	text-decoration-color: var(--boc-gold-600);
	text-underline-offset: 3px;
}

.boc-about .boc-location-status {
	padding-top: 15px;
	border-top: 1px solid var(--boc-border);
	color: var(--boc-navy-950) !important;
	font-weight: 700;
}

@media (max-width: 781px) {
	.boc-about .boc-about-story-grid,
	.boc-about .boc-about-community-grid,
	.boc-about .boc-location-columns {
		display: block;
	}

	.boc-about .boc-about-story-grid > .wp-block-column + .wp-block-column,
	.boc-about .boc-about-community-grid > .wp-block-column + .wp-block-column,
	.boc-about .boc-location-columns > .wp-block-column + .wp-block-column {
		margin-top: 26px;
	}

	.boc-about .boc-about-milestone {
		min-height: 240px;
	}
}

@media (max-width: 700px) {
	.boc-about > .wp-block-group__inner-container > :not(.boc-about-hero),
	.boc-about .boc-about-hero > .wp-block-group__inner-container {
		padding-right: 20px;
		padding-left: 20px;
	}

	.boc-about > .wp-block-group__inner-container > .boc-about-hero {
		background:
			linear-gradient(90deg, rgba(var(--boc-navy-rgb), .97), rgba(var(--boc-navy-rgb), .82)),
			url("/wp-content/uploads/2026/09/09-2026-205809.jpg") center / cover no-repeat,
			var(--boc-navy-900);
	}

	.boc-about > .wp-block-group__inner-container > .boc-about-community {
		width: calc(100% - 40px);
		padding: 28px 24px;
	}

	.boc-about .boc-location-card .wp-block-image img {
		height: auto;
		aspect-ratio: 3 / 2;
	}

	.boc-about .wp-block-table {
		overflow-x: auto;
	}

	.boc-about .wp-block-table th,
	.boc-about .wp-block-table td {
		padding: 12px 11px;
		font-size: 14px;
	}
}

@media (max-width: 420px) {
	.boc-about > .wp-block-group__inner-container > :not(.boc-about-hero),
	.boc-about .boc-about-hero > .wp-block-group__inner-container {
		padding-right: 14px;
		padding-left: 14px;
	}

	.boc-about > .wp-block-group__inner-container > .boc-about-community {
		width: calc(100% - 28px);
	}

	.boc-about .boc-about-hero h1 {
		font-size: 38px;
	}

	.boc-about .boc-location-card-body {
		padding: 22px 20px 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.boc-about * {
		scroll-behavior: auto !important;
	}
}
