/**
 * Single Community page — hero section
 * Enqueued only on single community posts.
 */

.community-single {
	margin: 0;
	padding: 0;
}

/* ------------------------------------------------------------------ Hero */
.community-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 720px;
	padding: 230px 24px 100px;
	background-color: #001a3d;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	overflow: hidden;
	margin-top: -110px;
}

.community-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
	  90deg,
	  rgba(255, 255, 255, 0.88) 0%,
	  rgba(255, 255, 255, 0.72) 42%,
	  rgba(255, 255, 255, 0.35) 100%
	);
	pointer-events: none;
}

.community-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
}

.community-hero__content-wrap {
	max-width: 600px;
}

/* Heading */
.community-hero__title {
	margin: 0 0 8px;
	font-family: "Playfair Display", sans-serif;
	font-size: 80px;
	font-weight: 700;
	line-height: 104px;
	color: rgba(0, 26, 61, 1);
	letter-spacing: -0.02em;
}

/* Script-style gold accent */
.community-hero__subtitle {
	margin: 0 0 28px;
	font-family: "Playfair Display", serif;
	font-size: clamp(48px, 6vw, 72px);
	font-weight: 700;
	font-style: italic;
	line-height: 1.1;
	color: #f2b22e;
}

/* ACF description + post content */
.community-hero__description {
	font-family: "Inter", sans-serif;
	font-size: 19px;
	font-weight: 600;
	line-height: 35px;
		margin-bottom: 20px;
	color: rgba(0, 26, 61, 1);
}

.community-hero__body {
	font-family: "Inter", sans-serif;
	font-size: 19px;
	font-weight: 400;
	line-height: 35px;
		margin-bottom: 40px;
    color: #000;
}

.community-hero__description p:last-child,
.community-hero__body p:last-child {
	margin-bottom: 0;
}

.community-hero__body p,
.community-hero__description p {
	margin: 0 0 16px;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
}

.community-hero__body a,
.community-hero__description a {
	color: #f2b22e;
	text-decoration: underline;
}

.community-hero__body a:hover,
.community-hero__description a:hover {
	color: #ffffff;
}

/* Buttons */
.community-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 36px;
}

.community-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 14px 28px;
	border-radius: 999px;
	font-family: "Inter", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.community-hero__btn:focus-visible {
	outline: 2px solid #f2b22e;
	outline-offset: 3px;
}

.community-hero__btn-icon {
	flex-shrink: 0;
}

.community-hero__btn--primary {
	background-color: #f2b22e;
	border: 2px solid #f2b22e;
	color: #001a3d;
}

.community-hero__btn--primary:hover {
	background-color: #e0a01f;
	border-color: #e0a01f;
	color: #001a3d;
	transform: translateY(-1px);
}

.community-hero__btn--outline {
	background-color: rgba(255, 255, 255, 0.08);
	border: 2px solid #ffffff;
	color: #ffffff;
}

.community-hero__btn--outline:hover {
	background-color: #ffffff;
	border-color: #ffffff;
	color: #001a3d;
	transform: translateY(-1px);
}

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1024px) {
	.community-hero {
		min-height: 620px;
		padding: 100px 0 80px;
	}

	.community-hero__title {
		font-size: clamp(48px, 8vw, 80px);
		line-height: 1.2;
	}
}

@media (max-width: 768px) {
	.community-hero {
		min-height: auto;
		padding: 88px 0 64px;
	}

	.community-hero__overlay {
		background: linear-gradient(
			180deg,
			rgba(0, 26, 61, 0.9) 0%,
			rgba(0, 26, 61, 0.75) 100%
		);
	}

	.community-hero__content-wrap {
		max-width: 100%;
	}

	.community-hero__subtitle {
		margin-bottom: 20px;
	}

	.community-hero__description,
	.community-hero__body {
		font-size: 17px;
		line-height: 30px;
	}

	.community-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.community-hero__btn {
		width: 100%;
	}
}