/* Vote Smart KE community and civic participation page. */

body.page-template-community .site-content > .ast-container,
body.page-template-community-php .site-content > .ast-container {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.page-template-community #primary,
body.page-template-community #main,
body.page-template-community .site-main,
body.page-template-community-php #primary,
body.page-template-community-php #main,
body.page-template-community-php .site-main {
	width: 100%;
	max-width: none;
	margin: 0;
}

.vsk-community-page {
	--vsk-community-ink: #1b2d3b;
	--vsk-community-navy: #102b3e;
	--vsk-community-deep: #0b2233;
	--vsk-community-teal: #17645f;
	--vsk-community-teal-dark: #104d49;
	--vsk-community-gold: #e6b544;
	--vsk-community-muted: #586b75;
	--vsk-community-line: #dfe7e3;
	--vsk-community-soft: #f4f6f3;
	--vsk-community-cream: #f4f2e9;
	--vsk-community-content: 1200px;
	color: var(--vsk-community-ink);
	background: #fff;
	font-family: "Source Sans Pro", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.65;
	overflow: clip;
}

.vsk-community-page,
.vsk-community-page *,
.vsk-community-page *::before,
.vsk-community-page *::after {
	box-sizing: border-box;
}

.vsk-community-page img,
.vsk-community-page svg {
	max-width: 100%;
}

.vsk-community-page a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.vsk-community-page a:focus-visible {
	outline: 3px solid var(--vsk-community-gold);
	outline-offset: 4px;
	border-radius: 4px;
}

.vsk-community-container {
	width: min(var(--vsk-community-content), calc(100% - 48px));
	margin-inline: auto;
}

.vsk-community-page h1,
.vsk-community-page h2,
.vsk-community-page h3,
.vsk-community-page p {
	margin-top: 0;
}

.vsk-community-page h1,
.vsk-community-page h2,
.vsk-community-page h3 {
	font-family: Montserrat, "Source Sans Pro", Arial, sans-serif;
	font-weight: 700;
	letter-spacing: -0.04em;
}

.vsk-community-eyebrow {
	margin-bottom: 14px;
	color: var(--vsk-community-teal);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.vsk-community-hero {
	position: relative;
	isolation: isolate;
	padding: clamp(50px, 6vw, 78px) 0 clamp(58px, 6.5vw, 84px);
	color: #fff;
	background:
		radial-gradient(ellipse at 88% 16%, rgba(53, 150, 136, 0.34), transparent 34%),
		linear-gradient(122deg, #0b2233 0%, #102b3e 53%, #164b4c 100%);
}

.vsk-community-hero::before {
	position: absolute;
	z-index: -1;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-position: center;
	background-size: 54px 54px;
	content: "";
	mask-image: linear-gradient(90deg, transparent, #000 80%);
}

.vsk-community-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(350px, 0.88fr);
	align-items: center;
	gap: clamp(34px, 5vw, 72px);
}

.vsk-community-hero-copy {
	max-width: 690px;
}

.vsk-community-hero .vsk-community-eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #b3d9cf;
}

.vsk-community-hero .vsk-community-eyebrow > span {
	width: 8px;
	height: 8px;
	flex: 0 0 8px;
	border-radius: 50%;
	background: var(--vsk-community-gold);
	box-shadow: 0 0 0 5px rgba(230, 181, 68, 0.13);
}

.vsk-community-hero h1 {
	max-width: 720px;
	margin-bottom: 20px;
	color: #fff;
	font-size: clamp(2.6rem, 4.5vw, 4.15rem);
	letter-spacing: -0.06em;
	line-height: 1.06;
}

.vsk-community-hero-intro {
	max-width: 610px;
	margin-bottom: 27px;
	color: rgba(255, 255, 255, 0.83);
	font-size: clamp(1.08rem, 1.6vw, 1.22rem);
	line-height: 1.72;
}

.vsk-community-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.vsk-community-button {
	display: inline-flex;
	min-height: 49px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 12px 18px;
	border: 1px solid transparent;
	border-radius: 7px;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
	transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.vsk-community-button:hover {
	transform: translateY(-2px);
}

.vsk-community-button svg,
.vsk-community-resource-card a svg,
.vsk-community-text-link svg {
	width: 17px;
	height: 17px;
	flex: 0 0 17px;
	fill: currentColor;
}

.vsk-community-button-primary {
	color: #092a2b !important;
	background: #dcefe9;
}

.vsk-community-button-primary:hover {
	color: #092a2b !important;
	background: #fff;
}

.vsk-community-button-secondary {
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.06);
}

.vsk-community-button-secondary:hover {
	color: #fff !important;
	background: rgba(255, 255, 255, 0.14);
}

.vsk-community-hero-note {
	margin: 19px 0 0;
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.88rem;
	letter-spacing: 0.025em;
}

.vsk-community-hero-card {
	position: relative;
	isolation: isolate;
	max-width: 520px;
	margin-left: auto;
	padding: clamp(22px, 3.2vw, 34px);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 20px;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055));
	box-shadow: 0 25px 66px rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(7px);
}

.vsk-community-hero-card::before {
	position: absolute;
	z-index: -1;
	right: -65px;
	bottom: -75px;
	width: 190px;
	height: 190px;
	border: 1px solid rgba(200, 232, 223, 0.17);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.vsk-community-hero-card-heading {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 17px;
}

.vsk-community-hero-mark {
	display: grid;
	width: 49px;
	height: 49px;
	flex: 0 0 49px;
	place-items: center;
	border: 1px solid rgba(230, 181, 68, 0.35);
	border-radius: 14px;
	color: #f4d37e;
	background: rgba(230, 181, 68, 0.12);
}

.vsk-community-hero-mark svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.vsk-community-hero-card-heading small {
	display: block;
	margin-bottom: 3px;
	color: #b7d4ce;
	font-size: 0.75rem;
	letter-spacing: 0.04em;
}

.vsk-community-hero-card-heading h2 {
	margin: 0;
	color: #fff;
	font-size: 1.08rem;
	letter-spacing: -0.02em;
	line-height: 1.35;
}

.vsk-community-hero-link {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 68px;
	padding: 11px 9px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 9px;
	color: #fff;
	text-decoration: none;
	transition: background-color 160ms ease;
}

.vsk-community-hero-link:last-child {
	border-bottom: 0;
}

.vsk-community-hero-link:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.09);
}

.vsk-community-hero-link-icon {
	display: grid;
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	place-items: center;
	border-radius: 11px;
	color: #c5e0d8;
	background: rgba(201, 231, 220, 0.12);
}

.vsk-community-hero-link-icon svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.vsk-community-hero-link > span:nth-child(2) {
	display: grid;
	gap: 2px;
}

.vsk-community-hero-link strong {
	color: #fff;
	font-size: 0.93rem;
}

.vsk-community-hero-link small {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.79rem;
	line-height: 1.35;
}

.vsk-community-arrow {
	width: 17px;
	height: 17px;
	flex: 0 0 17px;
	margin-left: auto;
	fill: #c5e0d8;
	transition: transform 160ms ease;
}

.vsk-community-hero-link:hover .vsk-community-arrow,
.vsk-community-hero-link:focus-visible .vsk-community-arrow {
	transform: translateX(3px);
}

.vsk-community-start {
	padding: clamp(58px, 7vw, 86px) 0;
	background: #fff;
}

.vsk-community-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 34px;
	margin-bottom: 30px;
}

.vsk-community-section-heading > div {
	max-width: 680px;
}

.vsk-community-section-heading h2,
.vsk-community-questions h2,
.vsk-community-work h2 {
	margin-bottom: 0;
	color: var(--vsk-community-navy);
	font-size: clamp(2rem, 3.8vw, 3.1rem);
	line-height: 1.12;
}

.vsk-community-section-heading > p {
	max-width: 390px;
	margin: 0 0 4px;
	color: var(--vsk-community-muted);
	font-size: 0.96rem;
}

.vsk-community-resource-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 17px;
}

.vsk-community-resource-card {
	position: relative;
	display: flex;
	min-height: 318px;
	flex-direction: column;
	align-items: flex-start;
	padding: 25px 23px 22px;
	border: 1px solid var(--vsk-community-line);
	border-top: 3px solid var(--vsk-community-teal);
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(16, 43, 62, 0.045);
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.vsk-community-resource-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 34px rgba(16, 43, 62, 0.09);
}

.vsk-community-resource-icon {
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	margin-bottom: 18px;
	border-radius: 13px;
	color: var(--vsk-community-teal-dark);
	background: #e9f2ed;
}

.vsk-community-resource-icon svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.vsk-community-card-label {
	margin-bottom: 7px;
	color: var(--vsk-community-teal);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	line-height: 1.35;
	text-transform: uppercase;
}

.vsk-community-resource-card h3 {
	margin-bottom: 10px;
	color: var(--vsk-community-navy);
	font-size: 1.28rem;
	line-height: 1.25;
}

.vsk-community-resource-card > p:not(.vsk-community-card-label) {
	margin-bottom: 18px;
	color: var(--vsk-community-muted);
	font-size: 0.93rem;
	line-height: 1.62;
}

.vsk-community-resource-card > a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: auto;
	color: var(--vsk-community-teal-dark);
	font-size: 0.9rem;
	font-weight: 800;
	text-decoration: none;
}

.vsk-community-resource-card > a:hover {
	text-decoration: underline;
}

.vsk-community-official-note {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-top: 21px;
	padding: 15px 18px;
	border-left: 4px solid var(--vsk-community-gold);
	border-radius: 0 8px 8px 0;
	background: var(--vsk-community-cream);
}

.vsk-community-official-note > span {
	display: grid;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	place-items: center;
	color: var(--vsk-community-teal-dark);
}

.vsk-community-official-note svg {
	width: 21px;
	height: 21px;
	fill: currentColor;
}

.vsk-community-official-note p {
	margin: 0;
	color: #465a60;
	font-size: 0.9rem;
	line-height: 1.55;
}

.vsk-community-official-note strong {
	color: var(--vsk-community-navy);
}

.vsk-community-questions {
	padding: clamp(56px, 7vw, 82px) 0;
	background: var(--vsk-community-soft);
}

.vsk-community-questions-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
	align-items: center;
	gap: clamp(30px, 5vw, 70px);
}

.vsk-community-questions-copy h2 {
	max-width: 640px;
	margin-bottom: 17px;
}

.vsk-community-questions-copy > p:not(.vsk-community-eyebrow) {
	max-width: 670px;
	margin-bottom: 23px;
	color: var(--vsk-community-muted);
	font-size: 1rem;
	line-height: 1.7;
}

.vsk-community-text-link {
	color: var(--vsk-community-teal-dark);
	font-size: 0.92rem;
	font-weight: 800;
}

.vsk-community-question-prompts {
	padding: 25px 24px;
	border: 1px solid #dfe7e3;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(16, 43, 62, 0.05);
}

.vsk-community-question-prompts > p {
	margin-bottom: 13px;
	color: var(--vsk-community-navy);
	font-family: Montserrat, "Source Sans Pro", Arial, sans-serif;
	font-size: 1rem;
	font-weight: 700;
}

.vsk-community-question-prompts ul {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vsk-community-question-prompts li {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	padding: 13px 0;
	border-top: 1px solid var(--vsk-community-line);
	color: #344a55;
	font-size: 0.91rem;
	line-height: 1.45;
}

.vsk-community-question-prompts li > span {
	display: grid;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	place-items: center;
	color: var(--vsk-community-teal);
}

.vsk-community-question-prompts li svg {
	width: 19px;
	height: 19px;
	fill: currentColor;
}

.vsk-community-work {
	padding: clamp(45px, 5.5vw, 68px) 0;
	color: #fff;
	background:
		radial-gradient(ellipse at 85% 20%, rgba(53, 150, 136, 0.28), transparent 35%),
		linear-gradient(115deg, #0b2233 0%, #123747 100%);
}

.vsk-community-work-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.vsk-community-work .vsk-community-eyebrow {
	color: #b3d9cf;
}

.vsk-community-work h2 {
	max-width: 700px;
	margin-bottom: 12px;
	color: #fff;
	font-size: clamp(1.8rem, 3.4vw, 2.7rem);
}

.vsk-community-work-inner > div > p:last-child {
	max-width: 700px;
	margin: 0;
	color: rgba(255, 255, 255, 0.76);
	font-size: 0.96rem;
}

.vsk-community-button-light {
	flex: 0 0 auto;
	color: #092a2b !important;
	background: #dcefe9;
}

.vsk-community-button-light:hover {
	color: #092a2b !important;
	background: #fff;
}

@media (max-width: 920px) {
	.vsk-community-hero-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.vsk-community-hero-copy {
		max-width: 760px;
	}

	.vsk-community-hero-card {
		width: 100%;
		max-width: 760px;
		margin: 0;
	}

	.vsk-community-section-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 13px;
	}

	.vsk-community-section-heading > p {
		max-width: 620px;
	}

	.vsk-community-resource-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vsk-community-resource-card:last-child {
		grid-column: 1 / -1;
		min-height: 265px;
	}

	.vsk-community-questions-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 620px) {
	.vsk-community-container {
		width: min(var(--vsk-community-content), calc(100% - 36px));
	}

	.vsk-community-hero {
		padding: 43px 0 50px;
	}

	.vsk-community-hero h1 {
		font-size: clamp(2.35rem, 10vw, 3.2rem);
	}

	.vsk-community-hero-intro {
		font-size: 1.03rem;
	}

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

	.vsk-community-button {
		width: 100%;
	}

	.vsk-community-hero-card {
		padding: 19px 16px;
		border-radius: 15px;
	}

	.vsk-community-hero-link {
		gap: 9px;
		padding-inline: 6px;
	}

	.vsk-community-hero-link small {
		font-size: 0.75rem;
	}

	.vsk-community-start,
	.vsk-community-questions {
		padding: 52px 0;
	}

	.vsk-community-section-heading h2,
	.vsk-community-questions h2 {
		font-size: clamp(1.9rem, 8.3vw, 2.55rem);
	}

	.vsk-community-resource-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.vsk-community-resource-card,
	.vsk-community-resource-card:last-child {
		grid-column: auto;
		min-height: 0;
		padding: 22px 20px;
	}

	.vsk-community-official-note {
		padding: 13px 14px;
	}

	.vsk-community-question-prompts {
		padding: 21px 18px;
	}

	.vsk-community-work-inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.vsk-community-work h2 {
		font-size: clamp(1.8rem, 8vw, 2.35rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	.vsk-community-page *,
	.vsk-community-page *::before,
	.vsk-community-page *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
