/* Community page — light brand UI (matches Categories / Ask Question) */

.ga-community-page {
	background: #ffffff;
	color: #11202f;
}

.ga-community-hero {
	background: #ffffff;
	border-bottom: 1px solid rgba(17, 32, 47, 0.08);
	padding: 2.25rem 0 2.5rem;
}

.ga-community-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	margin-bottom: 1.25rem;
	font-size: 0.75rem;
	color: #6b7280;
}

.ga-community-breadcrumb a {
	color: #6b7280;
	text-decoration: none;
}

.ga-community-breadcrumb a:hover {
	color: #c81f32;
}

.ga-community-breadcrumb span:last-child {
	color: #000;
	font-weight: 650;
}

.ga-community-page .ga-community-hero__eyebrow {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #c81f32;
}

.ga-community-page .ga-community-hero__title {
	margin: 0.45rem 0 0;
	font-size: clamp(1.85rem, 3.2vw, 2.4rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: #000;
}

.ga-community-page .ga-community-hero__desc {
	margin: 0.75rem 0 0;
	max-width: 38rem;
	font-size: 16px;
	line-height: 1.6;
	color: #6b7280;
}

.ga-community-hero__row {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.ga-community-hero__copy {
	min-width: 0;
	flex: 1;
}

.ga-community-hero__aside {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem 1.75rem;
	flex-shrink: 0;
}

@media (min-width: 768px) {
	.ga-community-hero__row {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 2rem;
	}

	.ga-community-hero__aside {
		justify-content: flex-end;
	}
}

.ga-community-hero__stat {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
}

.ga-community-hero__stat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 0.9rem;
	background: rgba(200, 31, 50, 0.1);
	color: #c81f32;
}

.ga-community-hero__stat-icon svg {
	width: 1.35rem;
	height: 1.35rem;
}

.ga-community-hero__stat-text {
	min-width: 0;
}

.ga-community-hero__stat-value {
	margin: 0;
	font-size: clamp(1.35rem, 1.4vw + 0.85rem, 1.85rem);
	font-weight: 800;
	line-height: 1.1;
	color: #11202f;
	letter-spacing: -0.02em;
}

.ga-community-hero__stat-label {
	margin: 0.25rem 0 0;
	font-size: 0.8125rem;
	font-weight: 500;
	color: #6b7280;
	line-height: 1.3;
}

.ga-community-hub {
	background: #ffffff;
	padding: 2rem 0 3.5rem;
}

.ga-community-page .ga-community-hub__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: start;
}

@media (min-width: 1024px) {
	.ga-community-page .ga-community-hub__layout {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 2.25rem;
	}

	.ga-community-page .ga-community-hub__sidebar {
		align-self: stretch;
	}

	.ga-community-page .ga-community-hub__sidebar .ga-community-sidebar {
		min-height: 100%;
	}

	.ga-community-page .ga-community-sidebar__cta {
		position: sticky;
		top: 5.5rem;
		z-index: 2;
	}
}

.ga-community-page .ga-community-hub__filters {
	margin-bottom: 1.25rem;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.ga-community-page .ga-community-hub-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.ga-community-page .ga-community-hub-tab {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 0.95rem;
	border-radius: 9999px;
	border: 1px solid rgba(17, 32, 47, 0.12);
	background: #ffffff;
	font-size: 0.8125rem;
	font-weight: 700;
	color: #374151;
	text-decoration: none;
	box-shadow: none;
}

.ga-community-page .ga-community-hub-tab:hover {
	border-color: rgba(200, 31, 50, 0.35);
	color: #c81f32;
}

.ga-community-page .ga-community-hub-tab--active {
	background: #c81f32 !important;
	border-color: #c81f32 !important;
	color: #ffffff !important;
	box-shadow: 0 8px 20px rgba(200, 31, 50, 0.22);
}

.ga-community-page .ga-community-hub__heading {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 800;
	color: #000;
}

.ga-community-page .ga-community-hub__results-meta,
.ga-community-page .ga-community-hub__search-label {
	margin: 0.35rem 0 0;
	font-size: 16px;
	color: #6b7280;
}

.ga-community-page .ga-community-hub__results-meta strong {
	color: #000;
}

.ga-community-page .ga-community-hub__list {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

/* Question cards — light */
.ga-community-page .ga-q-archive-card__link {
	display: grid;
	grid-template-columns: auto 1fr;
	background: #ffffff !important;
	border: 1px solid rgba(17, 32, 47, 0.12) !important;
	border-radius: 0.85rem;
	box-shadow: none !important;
	overflow: hidden;
}

.ga-community-page .ga-q-archive-card__link:hover {
	transform: translateY(-2px);
	border-color: rgba(200, 31, 50, 0.4) !important;
	box-shadow: 0 12px 28px -18px rgba(17, 32, 47, 0.28) !important;
}

.ga-community-page .ga-q-archive-card__metrics {
	background: #f9fafb;
	border-right: 1px solid rgba(17, 32, 47, 0.08);
}

.ga-community-page .ga-q-archive-card__metric {
	color: #6b7280;
}

.ga-community-page .ga-q-archive-card__metric strong {
	color: #000;
}

.ga-community-page .ga-q-archive-card__metric--votes strong {
	color: #059669;
}

.ga-community-page .ga-q-archive-card__title {
	color: #000 !important;
	font-weight: 800;
}

.ga-community-page .ga-q-archive-card__link:hover .ga-q-archive-card__title {
	color: #c81f32 !important;
}

.ga-community-page .ga-q-archive-card__excerpt {
	font-size: 16px !important;
	line-height: 1.55;
	color: #6b7280 !important;
}

.ga-community-page .ga-q-archive-card__author-name,
.ga-community-page .ga-q-archive-card__stat {
	color: #374151;
}

.ga-community-page .ga-q-archive-card__cta {
	color: #c81f32;
	font-weight: 700;
}

.ga-community-page .ga-q-archive-card__badge {
	background: #f3f4f6 !important;
	border: 1px solid #e5e7eb;
	color: #000 !important;
}

.ga-community-page .ga-q-archive-card__avatar {
	border-radius: 9999px;
	box-shadow: 0 0 0 2px #e5e7eb;
}

.ga-community-page .ga-community-hub__empty {
	padding: 2.5rem 1.5rem;
	text-align: center;
	border: 1px dashed rgba(17, 32, 47, 0.14);
	border-radius: 0.85rem;
	background: transparent;
}

.ga-community-page .ga-community-hub__empty-title {
	margin: 0;
	color: #000;
}

.ga-community-page .ga-community-hub__empty-text {
	margin: 0.5rem 0 1.25rem;
	font-size: 16px;
	color: #6b7280;
}

.ga-community-page .ga-community-hub__pagination .page-numbers {
	border: 1px solid rgba(17, 32, 47, 0.12);
	background: #ffffff;
	color: #000;
	text-decoration: none;
}

.ga-community-page .ga-community-hub__pagination .page-numbers.current,
.ga-community-page .ga-community-hub__pagination .page-numbers:hover {
	background: #c81f32;
	border-color: #c81f32;
	color: #ffffff;
}

/* Sidebar */
.ga-community-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.ga-community-sidebar__card {
	padding: 1.25rem;
	border-radius: 0.85rem;
	border: 1px solid rgba(17, 32, 47, 0.12);
	background: #ffffff;
}

.ga-community-sidebar__cta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 1.35rem 1.25rem;
	border-radius: 0.85rem;
	border: 1px solid rgba(200, 31, 50, 0.16);
	background:
		linear-gradient(180deg, rgba(200, 31, 50, 0.06) 0%, rgba(255, 255, 255, 0.95) 55%),
		#ffffff;
}

.ga-community-sidebar__cta-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin-bottom: 0.85rem;
	border-radius: 0.85rem;
	background: rgba(200, 31, 50, 0.1);
	color: #c81f32;
}

.ga-community-sidebar__cta-icon svg {
	width: 1.35rem;
	height: 1.35rem;
}

.ga-community-sidebar__cta-eyebrow {
	margin: 0;
	font-size: 0.6875rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #c81f32;
}

.ga-community-sidebar__cta-title {
	margin: 0.35rem 0 0;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.015em;
	color: #11202f;
}

.ga-community-sidebar__cta-desc {
	margin: 0.5rem 0 0;
	font-size: 16px;
	line-height: 1.5;
	color: #6b7280;
}

.ga-community-sidebar__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 1.1rem;
	min-height: 2.75rem;
	padding: 0.7rem 1rem;
	border-radius: 0.65rem;
	font-size: 0.875rem;
	font-weight: 700;
	color: #ffffff !important;
	text-decoration: none;
	box-shadow: none !important;
}

.ga-community-sidebar__btn:hover {
	box-shadow: none !important;
}

.ga-community-sidebar__cta-link {
	margin-top: 0.75rem;
	width: 100%;
	text-align: center;
}

.ga-community-sidebar__title {
	margin: 0 0 0.85rem;
	font-size: 0.95rem;
	font-weight: 800;
	color: #000;
}

.ga-community-sidebar__cat-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.ga-community-sidebar__cat-link {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.35rem 0;
	text-decoration: none;
	color: #000;
}

.ga-community-sidebar__cat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 9999px;
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	font-size: 0.9rem;
	flex-shrink: 0;
}

.ga-community-sidebar__cat-name {
	flex: 1;
	min-width: 0;
	font-size: 0.875rem;
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ga-community-sidebar__cat-count {
	font-size: 0.75rem;
	font-weight: 700;
	color: #6b7280;
}

.ga-community-sidebar__text-link {
	display: inline-flex;
	margin-top: 0.85rem;
	font-size: 0.875rem;
	font-weight: 700;
	color: #c81f32;
	text-decoration: none;
}

.ga-community-sidebar__text-link:hover {
	color: #a01828;
}
