/**
 * Styles for the native About page (template-about.php).
 * Enqueued conditionally from inc/about-page.php for pages 621 / 7184.
 *
 * Everything is scoped under .pi-about so it can't leak into other pages.
 */

.pi-about {
	display: block;
}

/* ─────────────── INTRO (hero) ─────────────── */

.pi-about-intro {
	padding: 32px 0 60px;
}

/* Inner uses the wrapping .pi-container's edges directly. On mobile the
   .pi-container global media-query supplies 16px side padding, so the
   content never touches the viewport edge there. */

.pi-about-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 60px;
	align-items: center;
}

/* ── Collage ── */

.pi-about-collage {
	position: relative;
	aspect-ratio: 5 / 4;
	width: 100%;
}

.pi-about-collage__img {
	position: absolute;
	display: block;
	object-fit: cover;
	border-radius: 4px;
}

.pi-about-collage__img--left {
	top: 0;
	left: 0;
	width: 70%;
	height: 78%;
	z-index: 1;
}

.pi-about-collage__img--right {
	bottom: 0;
	right: 0;
	width: 62%;
	height: 70%;
	z-index: 2;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
	border: 6px solid #fff;
}

/* ── Year counter (overlapping the collage, top-right) ── */

.pi-about-year {
	position: absolute;
	top: -12px;
	right: -12px;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 120px;
	min-height: 120px;
	padding: 12px 18px;
	background: var(--pi-color-brand, #DB2B0E);
	color: #fff;
	border-radius: 50%;
	text-align: center;
	font-family: var(--pi-font-heading, inherit);
}

.pi-about-year__value {
	display: block;
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .02em;
}

.pi-about-year__caption {
	display: block;
	margin-top: 6px;
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .08em;
	line-height: 1.2;
}

/* ── Right column (text) ── */

.pi-about-text {
	min-width: 0;
}

.pi-about-text__subtitle {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--pi-color-brand, #DB2B0E);
}

.pi-about-text__title {
	margin: 0 0 18px;
	font-size: clamp(28px, 3.4vw, 44px);
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.15;
	color: var(--pi-color-text, #181D4E);
}

.pi-about-text__tagline {
	font-size: 17px;
	line-height: 1.6;
	color: var(--pi-color-text, #181D4E);
}

.pi-about-text__tagline p { margin: 0 0 12px; }
.pi-about-text__tagline p:last-child { margin-bottom: 0; }

.pi-about-text__hours {
	margin-top: 28px;
	padding: 16px 20px;
	background: #f6f7f9;
	border-left: 3px solid var(--pi-color-brand, #DB2B0E);
	border-radius: 0 4px 4px 0;
	font-size: 15px;
	line-height: 1.55;
}

.pi-about-text__hours p { margin: 0; }

/* ─────────────── BODY (the_content) ─────────────── */

.pi-about-body {
	padding: 40px 0 80px;
}

.pi-about-body p {
	margin: 0 0 16px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--pi-color-text, #181D4E);
}

.pi-about-body h2,
.pi-about-body h3,
.pi-about-body h4 {
	margin: 36px 0 14px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--pi-color-text, #181D4E);
	letter-spacing: .02em;
}

.pi-about-body h2 { font-size: 26px; }
.pi-about-body h3 { font-size: 22px; }
.pi-about-body h4 { font-size: 18px; }

.pi-about-body h3:first-child,
.pi-about-body h2:first-child,
.pi-about-body p:first-child { margin-top: 0; }

.pi-about-body strong { font-weight: 600; }

/* Info blocks (.b-about-us) from post_content — plain text, no card chrome. */
.pi-about-body .b-about-us {
	margin-top: 28px;
}

.pi-about-body .b-about-us__title {
	margin: 0 0 12px;
	font-weight: 700;
	color: var(--pi-color-text, #181D4E);
}

.pi-about-body .b-about-us__row {
	margin: 0 0 8px;
}

.pi-about-body .b-about-us__row p { margin: 0; }

.pi-about-body .b-about-us__caption {
	font-weight: 600;
	color: var(--pi-color-text, #181D4E);
}

.pi-about-body .b-about-us__text {
	color: var(--pi-color-text, #181D4E);
	line-height: 1.7;
}

/* ─────────────── Responsive ─────────────── */

@media (max-width: 980px) {
	.pi-about-intro__grid {
		gap: 40px;
	}
	.pi-about-text__title { font-size: clamp(24px, 4vw, 36px); }
}

@media (max-width: 760px) {
	.pi-about-intro { padding: 24px 0 40px; }
	.pi-about-intro__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.pi-about-collage {
		aspect-ratio: 4 / 3;
	}
	.pi-about-year {
		top: -8px;
		right: -8px;
		min-width: 96px;
		min-height: 96px;
		padding: 8px 12px;
	}
	.pi-about-year__value { font-size: 24px; }
	.pi-about-year__caption { font-size: 10px; }

	.pi-about-body { padding: 24px 0 48px; }
	.pi-about-body .b-about-us__row {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}
