/**
 * GCN Directory — Statement of Faith Stylesheet.
 *
 * Provides a modern, engaging, and readable layout for /statement-of-faith/.
 */

/* ==========================================================================
   1. VIEWPORT RESETS (Strictly scoped to #brx-content only)
   ========================================================================== */

/* Hide default WordPress / Bricks page title (hero has its own styled h1) */
body.page-id-444 #brx-content > h1,
body.page-id-444 article#brx-content > h1,
body.page-id-444 main#brx-content > h1,
body.page-id-444 .entry-title:not(.gcn-faith__title),
body.page-id-444 #brx-content > .entry-title,
body.page-id-444 #brx-content > .page-title {
	display: none !important;
}

body.page-id-444 #brx-content,
body.page-id-444 article#brx-content,
body.page-id-444 main#brx-content {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	display: block !important;
}

body.page-id-444 #brx-content > .brxe-section,
body.page-id-444 #brx-content #brxe-ylllxn {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	display: block !important;
}

body.page-id-444 #brx-content #brxe-qrysoo {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	display: block !important;
}

body.page-id-444 #brx-content #brxe-pzsbrs {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	display: block !important;
}

.gcn-faith p:empty,
.gcn-faith-section p:empty {
	display: none !important;
}

.gcn-faith br,
.gcn-faith-section br {
	display: none !important;
}

/* ==========================================================================
   2. MAIN WRAPPER
   ========================================================================== */

.gcn-faith {
	display: block;
	width: 100%;
	background-color: var(--gcn-surface-sunken, #f4f6f8);
	color: var(--gcn-text, #1b2028);
	font-family: inherit;
	margin: 0;
	padding: 0;
}

/* ==========================================================================
   3. HERO BANNER (Full Bleed Width)
   ========================================================================== */

.gcn-faith__hero {
	position: relative !important;
	width: 100% !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;
	box-sizing: border-box !important;
	isolation: isolate !important;
}

/* Subtle background image overlay layer */
.gcn-faith__hero-bg {
	position: absolute !important;
	inset: 0 !important;
	background-position: center 38% !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-faith__hero::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -10%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(14, 139, 114, 0.32) 0%, transparent 70%);
	pointer-events: none;
	border-radius: 50%;
}

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

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

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

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

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

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

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

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

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

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

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

/* ==========================================================================
   4. MAIN BODY & CONTAINER
   ========================================================================== */

.gcn-faith__body {
	width: 100%;
	background-color: var(--gcn-surface-sunken, #f4f6f8);
	padding: 56px 24px 88px;
	box-sizing: border-box;
}

.gcn-faith__content {
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

/* ==========================================================================
   5. INTRO CALLOUT CARD
   ========================================================================== */

.gcn-faith__intro {
	display: flex;
	align-items: center;
	gap: 20px;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-left: 5px solid var(--gcn-brand, #0e8b72);
	border-radius: 14px;
	padding: 24px 28px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
	box-sizing: border-box;
}

.gcn-faith__intro-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	background: var(--gcn-brand-soft, #e9f7f4);
	color: var(--gcn-brand, #0e8b72);
	border-radius: 50%;
}

.gcn-faith__intro-icon svg {
	width: 24px;
	height: 24px;
}

.gcn-faith__intro-text {
	flex: 1 1 auto;
}

.gcn-faith__intro-heading {
	margin: 0 0 4px 0;
	font-size: 20px;
	font-weight: 700;
	color: var(--gcn-text, #1b2028);
	letter-spacing: -0.01em;
}

.gcn-faith__intro-text p {
	margin: 0;
	font-size: 15px;
	color: var(--gcn-text-muted, #6a7481);
	line-height: 1.5;
}

/* ==========================================================================
   6. DOCTRINE CARDS GRID (Balanced 2-Column + Full-Width Closing Card)
   ========================================================================== */

.gcn-faith__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
}

.gcn-faith__card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 16px;
	padding: 30px 28px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
	box-sizing: border-box;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gcn-faith__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(14, 139, 114, 0.09);
	border-color: var(--gcn-brand-border, #bfe3dc);
}

/* Card 07 Full-Width Closing Span */
.gcn-faith__card--full,
.gcn-faith__card:nth-child(7) {
	grid-column: 1 / -1;
	background: linear-gradient(135deg, #ffffff 0%, #f4fbf9 100%);
	border-color: var(--gcn-brand-border, #bfe3dc);
	border-width: 1.5px;
}

.gcn-faith__card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}

.gcn-faith__card-header p {
	margin: 0 !important;
	padding: 0 !important;
	display: contents !important;
}

.gcn-faith__card-num {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--gcn-brand, #0e8b72);
	background: var(--gcn-brand-soft, #e9f7f4);
	padding: 4px 10px;
	border-radius: 6px;
}

.gcn-faith__card-icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--gcn-brand-soft, #e9f7f4);
	color: var(--gcn-brand, #0e8b72);
	border-radius: 10px;
	transition: background-color 0.25s ease, transform 0.25s ease;
}

.gcn-faith__card:hover .gcn-faith__card-icon-wrap {
	background: var(--gcn-brand, #0e8b72);
	color: #ffffff;
	transform: scale(1.06);
}

.gcn-faith__card-icon {
	width: 20px;
	height: 20px;
}

.gcn-faith__card-title {
	margin: 0 0 12px 0;
	font-size: 19px;
	font-weight: 700;
	color: var(--gcn-text, #1b2028);
	letter-spacing: -0.01em;
	line-height: 1.3;
}

.gcn-faith__card-desc {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: var(--gcn-text-soft, #49535f);
	flex-grow: 1;
}

/* ==========================================================================
   7. SOURCE CITATION CARD
   ========================================================================== */

.gcn-faith__source {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 14px;
	padding: 20px 24px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
	box-sizing: border-box;
}

.gcn-faith__source-main {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 1 1 auto;
}

.gcn-faith__source-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	background: var(--gcn-brand-soft, #e9f7f4);
	color: var(--gcn-brand, #0e8b72);
	border-radius: 50%;
}

.gcn-faith__source-icon svg {
	width: 20px;
	height: 20px;
}

.gcn-faith__source-text {
	font-size: 15px;
	color: var(--gcn-text, #1b2028);
	line-height: 1.5;
}

.gcn-faith__source-label {
	font-weight: 700;
	color: var(--gcn-text, #1b2028);
	margin-right: 6px;
}

.gcn-faith__source-link {
	color: var(--gcn-brand, #0e8b72);
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease, text-decoration 0.2s ease;
}

.gcn-faith__source-link:hover {
	color: #0a715c;
	text-decoration: underline;
}

.gcn-faith__source-sep {
	margin: 0 8px;
	color: var(--gcn-rule-strong, #d1d5db);
	font-weight: 400;
}

.gcn-faith__source-action {
	flex-shrink: 0;
}

.gcn-faith__source-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 18px;
	font-size: 13px;
	font-weight: 600;
	color: var(--gcn-brand, #0e8b72);
	background: var(--gcn-brand-soft, #e9f7f4);
	border: 1px solid var(--gcn-brand-border, #bfe3dc);
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.gcn-faith__source-btn:hover {
	background: var(--gcn-brand, #0e8b72);
	color: #ffffff;
	border-color: var(--gcn-brand, #0e8b72);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(14, 139, 114, 0.15);
}

.gcn-faith__source-external {
	width: 14px;
	height: 14px;
	stroke-width: 2;
}

/* ==========================================================================
   8. CALL TO ACTION CONTAINER
   ========================================================================== */

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

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

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

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

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

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

.gcn-faith__cta-btn--primary {
	background: #ffffff;
	color: #0a715c;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.gcn-faith__cta-btn--primary:hover {
	background: #f0fdf9;
	color: #064e3b;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.gcn-faith__cta-btn--secondary {
	background: rgba(255, 255, 255, 0.15);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.35);
}

.gcn-faith__cta-btn--secondary:hover {
	background: rgba(255, 255, 255, 0.25);
	color: #ffffff;
	border-color: #ffffff;
	transform: translateY(-2px);
}

/* ==========================================================================
   9. RESPONSIVE BREAKPOINTS
   ========================================================================== */

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

	.gcn-faith__body {
		padding: 40px 16px 64px;
	}

	.gcn-faith__grid {
		grid-template-columns: 1fr;
	}

	.gcn-faith__source {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.gcn-faith__source-action {
		width: 100%;
	}

	.gcn-faith__source-btn {
		width: 100%;
		justify-content: center;
	}

	.gcn-faith__cta {
		flex-direction: column;
		align-items: flex-start;
		padding: 28px 24px;
		gap: 20px;
	}

	.gcn-faith__cta-actions {
		width: 100%;
		flex-direction: column;
		gap: 10px;
	}

	.gcn-faith__cta-btn {
		width: 100%;
	}
}

@media (max-width: 640px) {
	.gcn-faith__hero {
		padding: 36px 16px 44px;
	}

	.gcn-faith__card {
		padding: 22px 20px;
	}

	.gcn-faith__intro {
		flex-direction: column;
		align-items: flex-start;
		padding: 20px 18px;
		gap: 14px;
	}

	.gcn-faith__source-main {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
}

