/* OGD Community Hub — /communities/ archive
   Namespace: .ogd-ch-* only. Token values copied from ogd-homepage-modern's
   design system; no shared stylesheet dependency (plugin isolation). */

.ogd-ch {
	--ogd-ch-forest: #16271a;
	--ogd-ch-forest-deep: #111916;
	--ogd-ch-cream: #fbf8f1;
	--ogd-ch-cream-soft: #f7f5ef;
	--ogd-ch-sage: #5d8745;
	--ogd-ch-sage-light: #c8d8a6;
	--ogd-ch-muted: #6f756f;
	--ogd-ch-muted-soft: #8f9b92;
	--ogd-ch-accent: #9b7656;
	--ogd-ch-line: #e2ded3;

	font-family: 'Questrial', Arial, sans-serif;
	color: var(--ogd-ch-forest);
	background: var(--ogd-ch-cream);
}

.ogd-ch-wrap {
	width: min(1240px, calc(100% - 48px));
	margin: 0 auto;
}

.ogd-ch-section {
	padding: 92px 0;
}

.ogd-ch-eyebrow {
	display: block;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ogd-ch-sage);
	margin-bottom: 12px;
}

.ogd-ch-eyebrow--light {
	color: var(--ogd-ch-sage-light);
}

.ogd-ch-section-head h2 {
	font-size: clamp(28px, 3.5vw, 40px);
	font-weight: 500;
	letter-spacing: -.03em;
	margin: 0 0 12px;
}

.ogd-ch-section-head p {
	color: var(--ogd-ch-muted);
	font-size: 17px;
	line-height: 1.5;
	max-width: 560px;
	margin: 0;
}

.ogd-ch-voxel-embed {
	margin-top: 32px;
}

/* Alternating section grounds for rhythm/breathing room */

.ogd-ch-why,
.ogd-ch-explore,
.ogd-ch-journal-wrap {
	background: #fff;
}

/* Hero — destination-page style: immersive dark-gradient photography,
   white type, not the homepage's lighter left-wash treatment. */

.ogd-ch-hero {
	position: relative;
	min-height: 620px;
	display: flex;
	align-items: center;
	padding: 90px 0;
	background-color: var(--ogd-ch-forest);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.ogd-ch-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, rgba(12,31,20,.82) 0%, rgba(12,31,20,.62) 42%, rgba(12,31,20,.30) 68%, rgba(12,31,20,.10) 100%);
	pointer-events: none;
}

.ogd-ch-hero-inner {
	position: relative;
	z-index: 2;
	width: min(1240px, calc(100% - 48px));
	margin: 0 auto;
	max-width: 680px;
}

.ogd-ch-hero h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(38px, 5.5vw, 74px);
	line-height: 1.03;
	font-weight: 500;
	letter-spacing: -.055em;
}

.ogd-ch-hero-copy {
	max-width: 540px;
	margin: 20px 0 0;
	color: rgba(255, 255, 255, .86);
	font-size: 18px;
	line-height: 1.6;
}

.ogd-ch-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

.ogd-ch-btn,
.ogd-ch-btn-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 26px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none !important;
	transition: transform .15s ease, background .15s ease;
}

.ogd-ch-btn {
	background: #fff;
	color: var(--ogd-ch-forest) !important;
}

.ogd-ch-btn:hover {
	transform: translateY(-1px);
}

.ogd-ch-btn-ghost {
	background: rgba(255, 255, 255, .08);
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, .4);
}

.ogd-ch-btn-ghost:hover {
	background: rgba(255, 255, 255, .16);
}

.ogd-ch-hero-kickers {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	margin-top: 40px;
}

.ogd-ch-kicker {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 500;
	color: rgba(255, 255, 255, .9);
}

.ogd-ch-kicker span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .35);
	color: #fff;
	font-size: 12px;
}

/* Why OGD Communities */

.ogd-ch-why-inner {
	max-width: 760px;
}

.ogd-ch-why h2 {
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 500;
	letter-spacing: -.03em;
	margin: 0 0 16px;
}

.ogd-ch-why p {
	font-size: 18px;
	line-height: 1.7;
	color: var(--ogd-ch-muted);
	margin: 0;
}

/* Journey / steps (dark section, homepage's .ogd-hm-step pattern) */

.ogd-ch-journey {
	background: var(--ogd-ch-forest);
	color: #fff;
	padding: 96px 0;
}

.ogd-ch-journey .ogd-ch-section-head--light h2 {
	color: #fff;
}

.ogd-ch-journey .ogd-ch-section-head--light p {
	color: rgba(255, 255, 255, .72);
}

.ogd-ch-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin-top: 40px;
}

.ogd-ch-step {
	display: block;
	padding: 26px 24px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 18px;
	background: rgba(255, 255, 255, .05);
	text-decoration: none !important;
	transition: background .18s ease, transform .18s ease, border-color .18s ease;
}

.ogd-ch-step:hover {
	background: rgba(255, 255, 255, .1);
	border-color: rgba(255, 255, 255, .4);
	transform: translateY(-2px);
}

.ogd-ch-step span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 999px;
	background: #fff;
	color: var(--ogd-ch-forest);
	margin-bottom: 20px;
	font-size: 17px;
	font-weight: 500;
}

.ogd-ch-step strong {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	font-size: 17px;
	color: #fff;
}

.ogd-ch-step p {
	margin: 0;
	color: rgba(255, 255, 255, .72);
	font-size: 13px;
	line-height: 1.5;
}

/* Featured Communities — editorial framing panel */

.ogd-ch-featured-panel {
	background: var(--ogd-ch-cream-soft);
	border: 1px solid var(--ogd-ch-line);
	border-radius: 26px;
	padding: 40px;
	margin-top: 40px;
}

/* Explore Communities — discovery panel: distinct ground, generous
   padding around the search form + results grid. */

.ogd-ch-explore-panel {
	background: var(--ogd-ch-cream-soft);
	border: 1px solid var(--ogd-ch-line);
	border-radius: 26px;
	padding: 36px 36px 40px;
	margin-top: 40px;
}

.ogd-ch-explore-panel .ts-search-form-wrapper,
.ogd-ch-explore-panel .elementor-widget-ts-search-form {
	margin-bottom: 8px;
}

.ogd-ch-explore-panel .ts-total-results,
.ogd-ch-explore-panel [class*="total-results"] {
	font-size: 13px;
	color: var(--ogd-ch-muted);
	letter-spacing: .02em;
}

/* List Your Community — dark marketplace-invitation panel,
   matching the homepage's .ogd-hm-owner CTA exactly. */

.ogd-ch-lyc {
	background: var(--ogd-ch-forest);
	color: #fff;
	border-radius: 24px;
	padding: 44px;
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 28px;
	align-items: center;
}

.ogd-ch-lyc-text h2 {
	color: #fff;
	font-size: clamp(24px, 3vw, 30px);
	font-weight: 500;
	letter-spacing: -.03em;
	margin: 0 0 10px;
}

.ogd-ch-lyc-text p {
	color: rgba(255, 255, 255, .75);
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
}

.ogd-ch-lyc-action {
	min-height: 72px;
	border: 1px solid var(--ogd-ch-accent);
	border-radius: 16px;
	display: flex;
	align-items: center;
	padding: 0 22px;
	text-decoration: none !important;
	color: #fff !important;
	background: var(--ogd-ch-accent);
	font-size: 15px;
	font-weight: 500;
	transition: transform .15s ease;
}

.ogd-ch-lyc-action:hover {
	transform: translateY(-2px);
}

.ogd-ch-lyc-action small {
	display: block;
	font-weight: 400;
	opacity: .8;
	font-size: 12px;
	margin-top: 2px;
}

/* Journal — tight wrapper spacing so the shortcode's own heading/spacing
   carries the section, matching the homepage's own journal-wrap rules. */

.ogd-ch-journal-wrap {
	padding-top: 40px;
	padding-bottom: 40px;
}

/* FAQ — de-emphasized, compact; SEO content lives here as additional
   accordion rows rather than a separate prominent editorial section. */

.ogd-ch-faq {
	padding: 64px 0 96px;
}

.ogd-ch-faq-wrap {
	max-width: 820px;
}

.ogd-ch-faq .ogd-ch-section-head h2 {
	font-size: 22px;
}

.ogd-ch-faqs {
	display: flex;
	flex-direction: column;
	gap: 1px;
	background: var(--ogd-ch-line);
	border: 1px solid var(--ogd-ch-line);
	border-radius: 18px;
	overflow: hidden;
	margin-top: 28px;
}

.ogd-ch-faq-item {
	background: #fff;
}

.ogd-ch-faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 22px;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: -.01em;
	color: var(--ogd-ch-forest);
	cursor: pointer;
	list-style: none;
	gap: 16px;
}

.ogd-ch-faq-item summary::-webkit-details-marker {
	display: none;
}

.ogd-ch-faq-chevron {
	flex-shrink: 0;
	transition: transform .2s;
	color: var(--ogd-ch-muted);
	font-size: 13px;
}

.ogd-ch-faq-item[open] .ogd-ch-faq-chevron {
	transform: rotate(180deg);
}

.ogd-ch-faq-body {
	padding: 0 22px 20px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ogd-ch-muted);
}

.ogd-ch-faq-body p {
	margin: 0;
}

@media (max-width: 900px) {
	.ogd-ch-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ogd-ch-lyc {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 782px) {
	.ogd-ch-section {
		padding: 56px 0;
	}

	.ogd-ch-journey {
		padding: 64px 0;
	}

	.ogd-ch-hero {
		min-height: 560px;
		padding: 60px 0;
	}

	.ogd-ch-featured-panel,
	.ogd-ch-explore-panel {
		padding: 24px;
		border-radius: 20px;
	}

	.ogd-ch-lyc {
		padding: 28px;
	}

	.ogd-ch-steps {
		grid-template-columns: 1fr;
	}
}
