/**
 * The About page (GCN Modern Design System).
 *
 * Implements the Statement of Faith hero banner layout with dynamic Bricks integration
 * and a polished, engaging body content flow.
 */

/* ==========================================================================
   1. PAGE RESETS & WRAPPER
   ========================================================================== */

body.page-id-359,
body.page-id-206,
body.page-id-3,
body.privacy-policy,
body.gcn-about-page,
body.gcn-privacy-page,
body:has(.gcn-about),
body:has(.gcn-about__hero),
body.page[class*="about"],
body.page[class*="privacy"] {
	background-color: var(--gcn-surface-sunken, #f4f6f8) !important;
}

body.page-id-359 #brx-content,
body.page-id-206 #brx-content,
body.page-id-3 #brx-content,
body.privacy-policy #brx-content,
body.gcn-about-page #brx-content,
body.gcn-privacy-page #brx-content,
body:has(.gcn-about) #brx-content,
body:has(.gcn-about__hero) #brx-content,
body.page[class*="about"] #brx-content,
body.page[class*="privacy"] #brx-content,
main#brx-content:has(.gcn-about),
main#brx-content:has(.gcn-about__hero) {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	background-color: var(--gcn-surface-sunken, #f4f6f8) !important;
	display: block !important;
}

/* Hide default unstyled WordPress page title */
body.page-id-3 #brx-content > h1:first-child,
body.page-id-3 article#brx-content > h1:first-child,
body.privacy-policy #brx-content > h1:first-child,
body.privacy-policy article#brx-content > h1:first-child,
body.gcn-privacy-page #brx-content > h1:first-child,
body.gcn-privacy-page article#brx-content > h1:first-child,
body.gcn-about-page #brx-content > h1:first-child,
body.page-id-359 #brx-content > h1:first-child {
	display: none !important;
}

/* ==========================================================================
   2. HERO BANNER (Full Bleed Width — Exact as Statement of Faith)
   ========================================================================== */

.gcn-about__hero,
.gcn-faith__hero {
	position: relative !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 100% !important;
	margin: 0 !important;
	background: linear-gradient(135deg, #061c17 0%, #0d3b32 50%, #082620 100%) !important;
	color: #ffffff !important;
	padding: 64px 24px 72px !important;
	overflow: hidden !important;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1) !important;
	border-radius: 0 !important;
	box-sizing: border-box !important;
	display: block !important;
	isolation: isolate;
}

/* Subtle light background image layer (if set in Bricks) */
.gcn-about__hero-bg {
	position: absolute !important;
	inset: 0 !important;
	background-position: center center !important;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	opacity: 0.20 !important;
	mix-blend-mode: luminosity !important;
	pointer-events: none !important;
	z-index: 1 !important;
}

.gcn-about__hero::before,
.gcn-faith__hero::before {
	content: "" !important;
	position: absolute !important;
	top: -50% !important;
	right: -10% !important;
	width: 600px !important;
	height: 600px !important;
	background: radial-gradient(circle, rgba(14, 139, 114, 0.32) 0%, transparent 70%) !important;
	pointer-events: none !important;
	border-radius: 50% !important;
	z-index: 1 !important;
}

.gcn-about__hero::after,
.gcn-faith__hero::after {
	content: "" !important;
	position: absolute !important;
	bottom: -40% !important;
	left: -10% !important;
	width: 500px !important;
	height: 500px !important;
	background: radial-gradient(circle, rgba(200, 130, 25, 0.15) 0%, transparent 70%) !important;
	pointer-events: none !important;
	border-radius: 50% !important;
	z-index: 1 !important;
}

.gcn-about p:empty,
.gcn-about__hero p:empty,
.gcn-faith__hero p:empty {
	display: none !important;
}

.gcn-faith__crumbs br,
.gcn-faith__badge br {
	display: none !important;
}

.gcn-faith__hero-inner {
	position: relative !important;
	z-index: 2 !important;
	max-width: 1280px !important;
	margin: 0 auto !important;
	text-align: center !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
}

/* Breadcrumbs */
.gcn-faith__crumbs {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	font-size: 13px !important;
	margin-bottom: 24px !important;
	color: rgba(255, 255, 255, 0.7) !important;
}

.gcn-faith__crumbs a {
	color: rgba(255, 255, 255, 0.85) !important;
	text-decoration: none !important;
	transition: color 0.2s ease !important;
}

.gcn-faith__crumbs a:hover {
	color: #ffffff !important;
	text-decoration: underline !important;
}

.gcn-faith__crumb-sep {
	opacity: 0.5 !important;
	font-size: 11px !important;
}

.gcn-faith__crumb-current {
	color: rgba(255, 255, 255, 0.95) !important;
	font-weight: 500 !important;
}

/* Eyebrow Badge */
.gcn-faith__badge {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	padding: 6px 14px !important;
	background: rgba(255, 255, 255, 0.12) !important;
	backdrop-filter: blur(8px) !important;
	-webkit-backdrop-filter: blur(8px) !important;
	border: 1px solid rgba(255, 255, 255, 0.22) !important;
	border-radius: 9999px !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: 0.05em !important;
	text-transform: uppercase !important;
	color: #a7f3d0 !important;
	margin-bottom: 18px !important;
}

.gcn-faith__badge-icon {
	width: 14px !important;
	height: 14px !important;
	stroke: currentColor !important;
}

/* Title & Lead */
.gcn-faith__title {
	margin: 0 0 16px 0 !important;
	font-size: clamp(2.2rem, 4vw, 3.4rem) !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
	letter-spacing: -0.02em !important;
	color: #ffffff !important;
}

.gcn-faith__lead {
	max-width: 840px !important;
	margin: 0 auto !important;
	font-size: clamp(15px, 1.3vw, 18px) !important;
	line-height: 1.65 !important;
	color: rgba(255, 255, 255, 0.9) !important;
	font-weight: 400 !important;
}

/* ==========================================================================
   3. ABOUT BODY CONTENT (#brxe-ptmcqi / .gcn-about)
   ========================================================================= */

.gcn-about {
	padding-block: clamp(48px, 6vw, 64px) clamp(56px, 8vw, 100px) !important;
	padding-inline: clamp(16px, 4.5vw, 36px) !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 1280px !important;
	margin-inline: auto !important;
}

#brx-content .gcn-about .gcn-about__column {
	margin-inline: auto !important;
	display: flex !important;
	flex-direction: column !important;
	gap: clamp(20px, 3.5vw, 28px) !important;
	max-width: 1280px !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

/* Headings */
.gcn-about__title {
	display: none !important; /* Rendered dynamically inside hero banner */
}

/* Section Questions */
.gcn-about__q {
	margin: clamp(16px, 3vw, 28px) 0 0 !important;
	font-size: clamp(1.15rem, 2.2vw, 1.35rem) !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em !important;
	color: var(--gcn-text, #16263d) !important;
}

.gcn-about__q--focal {
	position: relative !important;
	margin-top: clamp(32px, 4.5vw, 52px) !important;
	padding-bottom: clamp(12px, 2vw, 18px) !important;
	font-size: clamp(1.35rem, 3vw, 1.85rem) !important;
	line-height: 1.35 !important;
	font-weight: 700 !important;
	color: var(--gcn-text, #16263d) !important;
}

.gcn-about__q--focal::after {
	content: "" !important;
	position: absolute !important;
	inset: auto auto 0 0 !important;
	width: 4.5rem !important;
	height: 3.5px !important;
	background: var(--gcn-brand, #0e8b72) !important;
	border-radius: 2px !important;
}

/* Each Numbered Focal Point */
.gcn-about__point {
	margin: clamp(28px, 4vw, 44px) 0 0 !important;
	font-size: clamp(1.15rem, 2.4vw, 1.4rem) !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em !important;
	color: var(--gcn-text, #16263d) !important;
}

/* Body Text */
.gcn-about__body,
.gcn-about__body p {
	font-size: clamp(1rem, 2vw, 1.08rem) !important;
	line-height: 1.72 !important;
	color: var(--gcn-text-soft, #4a5a70) !important;
}

.gcn-about__body p {
	margin: 0 0 16px !important;
}

.gcn-about__body p:last-child {
	margin-bottom: 0 !important;
}

.gcn-about__body strong {
	color: var(--gcn-text, #16263d) !important;
	font-weight: 600 !important;
}

.gcn-about__body ul {
	margin: 0 0 18px 0 !important;
	padding-left: 24px !important;
	list-style-type: disc !important;
}

.gcn-about__body ul li {
	margin-bottom: 8px !important;
	line-height: 1.68 !important;
}

.gcn-about__body a {
	color: var(--gcn-brand, #0e8b72) !important;
	text-decoration: underline !important;
	transition: color 0.2s ease !important;
}

.gcn-about__body a:hover {
	color: var(--gcn-brand-strong, #0a715c) !important;
}

.gcn-privacy__card {
	background: #ffffff !important;
	border: 1px solid var(--gcn-rule, #e3e8ee) !important;
	border-left: 4px solid var(--gcn-brand, #0e8b72) !important;
	border-radius: 12px !important;
	padding: 22px 26px !important;
	margin: 18px 0 24px !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

/* Photographs */
.gcn-about__image {
	margin-block: clamp(12px, 2vw, 20px) !important;
	width: 100% !important;
}

.gcn-about__image img,
img.gcn-about__image {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	border-radius: clamp(12px, 2vw, 18px) !important;
	box-shadow: 0 6px 24px rgba(22, 38, 61, 0.08) !important;
}

/* The Closing Quotation and Invitation */
.gcn-about__quote {
	margin-top: clamp(32px, 4.5vw, 52px) !important;
	padding: clamp(22px, 3.5vw, 32px) clamp(22px, 4vw, 40px) !important;
	background: var(--gcn-brand-soft, #e9f7f4) !important;
	border-left: 4px solid var(--gcn-brand, #0e8b72) !important;
	border-radius: 0 clamp(10px, 1.5vw, 16px) clamp(10px, 1.5vw, 16px) 0 !important;
	box-sizing: border-box !important;
}

.gcn-about__quote blockquote {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.gcn-about__quote p,
.gcn-about__quote em {
	margin: 0 !important;
	font-size: clamp(1.05rem, 2.2vw, 1.25rem) !important;
	font-style: italic !important;
	line-height: 1.6 !important;
	color: var(--gcn-brand-strong, #0a715c) !important;
}

.gcn-about__cta {
	align-self: center !important;
	margin-top: clamp(20px, 3vw, 32px) !important;
	margin-bottom: clamp(28px, 4vw, 48px) !important;
	padding: 13px 38px !important;
	font-size: clamp(14.5px, 2vw, 16px) !important;
	font-weight: 600 !important;
	color: #ffffff !important;
	text-decoration: none !important;
	background: var(--gcn-brand, #0e8b72) !important;
	border: 0 !important;
	border-radius: 9999px !important;
	box-shadow: 0 4px 14px rgba(14, 139, 114, 0.3) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}

.gcn-about__cta:hover,
.gcn-about__cta:focus-visible {
	background: var(--gcn-brand-strong, #0a715c) !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 20px rgba(14, 139, 114, 0.42) !important;
}

/* ==========================================================================
   4. RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 991px) {
	.gcn-about__hero {
		padding: 48px 20px 56px !important;
	}
}

@media (max-width: 640px) {
	.gcn-about__hero {
		padding: 40px 16px 48px !important;
	}

	.gcn-about {
		padding-block: 28px clamp(48px, 8vw, 80px) !important;
		padding-inline: 14px !important;
	}

	.gcn-about__quote {
		padding: 16px 14px !important;
	}

	.gcn-about__cta {
		align-self: stretch !important;
		text-align: center !important;
		width: 100% !important;
		padding: 12px 24px !important;
		margin-bottom: 28px !important;
	}
}

/* ==========================================================================
   5. CALL TO ACTION BANNER (GCN Design System standard)
   ========================================================================== */

.gcn-faith__cta {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 28px !important;
	background: linear-gradient(135deg, #0e8b72 0%, #0a715c 100%) !important;
	color: #ffffff !important;
	border-radius: 16px !important;
	padding: 36px 36px !important;
	box-shadow: 0 12px 32px rgba(14, 139, 114, 0.25) !important;
	box-sizing: border-box !important;
	margin-top: 48px !important;
}

.gcn-faith__cta-content {
	flex: 1 1 auto !important;
}

.gcn-faith__cta-title {
	margin: 0 0 8px 0 !important;
	font-size: 22px !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	letter-spacing: -0.01em !important;
}

.gcn-faith__cta-desc {
	margin: 0 !important;
	font-size: 15px !important;
	color: rgba(255, 255, 255, 0.9) !important;
	line-height: 1.55 !important;
	max-width: 600px !important;
}

.gcn-faith__cta-actions {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	flex-shrink: 0 !important;
}

.gcn-faith__cta-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	padding: 12px 24px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	border-radius: 9999px !important;
	text-decoration: none !important;
	transition: all 0.2s ease !important;
	white-space: nowrap !important;
}

.gcn-faith__cta-btn--primary {
	background: #ffffff !important;
	color: var(--gcn-brand-strong, #0a715c) !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.gcn-faith__cta-btn--primary:hover {
	background: #f4fbf9 !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
}

.gcn-faith__cta-btn--secondary {
	background: rgba(255, 255, 255, 0.15) !important;
	color: #ffffff !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	backdrop-filter: blur(4px) !important;
}

.gcn-faith__cta-btn--secondary:hover {
	background: rgba(255, 255, 255, 0.25) !important;
	border-color: rgba(255, 255, 255, 0.5) !important;
	transform: translateY(-1px) !important;
}

@media (max-width: 767px) {
	.gcn-faith__cta {
		flex-direction: column !important;
		align-items: flex-start !important;
		padding: 24px 20px !important;
		gap: 20px !important;
	}
	.gcn-faith__cta-actions {
		width: 100% !important;
		flex-direction: column !important;
	}
	.gcn-faith__cta-btn {
		width: 100% !important;
		text-align: center !important;
	}
}
