.sg-community-page {
	--community-ink: #050505;
	--community-red: #ed1c24;
	--community-panel: #c8d2dc;
	background: #fff;
	color: var(--community-ink);
}

.sg-community-page img {
	display: block;
	max-width: 100%;
}

.sg-community-hero {
	text-align: center;
}

.sg-community-carousel {
	background: var(--community-ink);
	overflow: hidden;
	position: relative;
}

.sg-community-carousel-track:not(.slick-initialized) .sg-community-slide:not(:first-child) {
	display: none;
}

.sg-community-slide {
	min-height: 320px;
	position: relative;
}

.sg-community-slide picture,
.sg-community-slide img {
	height: clamp(320px, 42vw, 620px);
	width: 100%;
}

.sg-community-slide img {
	object-fit: cover;
}

.sg-community-slide-overlay {
	align-items: center;
	background: linear-gradient(90deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .08) 68%, transparent);
	display: flex;
	inset: 0;
	padding: 54px max(7vw, 32px);
	position: absolute;
}

.sg-community-slide-copy {
	color: #fff;
	max-width: 620px;
}

.sg-community-slide--dark .sg-community-slide-overlay {
	background: linear-gradient(90deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .1) 68%, transparent);
}

.sg-community-slide--dark .sg-community-slide-copy {
	color: var(--community-ink);
}

.sg-community-slide-eyebrow {
	font-size: 16px;
	font-weight: 800;
	letter-spacing: .04em;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.sg-community-slide-copy h2 {
	font-size: clamp(34px, 5vw, 68px);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1;
	margin: 0 0 16px;
}

.sg-community-slide-copy > p:not(.sg-community-slide-eyebrow) {
	font-size: clamp(18px, 2vw, 25px);
	line-height: 1.35;
	margin: 0;
}

.sg-community-slide-button {
	background: var(--community-red);
	color: #fff;
	display: inline-block;
	font-size: 17px;
	font-weight: 700;
	margin-top: 22px;
	padding: 12px 25px;
	text-decoration: none;
}

.sg-community-carousel .slick-prev,
.sg-community-carousel .slick-next {
	background: rgba(0, 0, 0, .62);
	border: 0;
	color: #fff;
	font-size: 42px;
	height: 54px;
	line-height: 45px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	z-index: 2;
}

.sg-community-carousel .slick-prev {
	left: 16px;
}

.sg-community-carousel .slick-next {
	right: 16px;
}

.sg-community-carousel .slick-dots {
	bottom: 18px;
	display: flex;
	gap: 9px;
	justify-content: center;
	left: 0;
	position: absolute;
	right: 0;
	z-index: 2;
}

.sg-community-carousel .slick-dots button {
	background: rgba(255, 255, 255, .65);
	border: 2px solid #fff;
	border-radius: 50%;
	font-size: 0;
	height: 13px;
	width: 13px;
}

.sg-community-carousel .slick-dots .slick-active button {
	background: var(--community-red);
}

.sg-community-hero-content {
	margin: 0 auto;
	max-width: 980px;
	padding: 42px 24px 28px;
}

.sg-community-hero h1 {
	font-size: clamp(42px, 7vw, 76px);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1;
	margin: 0;
	text-transform: uppercase;
}

.sg-community-intro {
	font-size: clamp(20px, 3vw, 32px);
	line-height: 1.25;
	margin: 28px auto 0;
	max-width: 760px;
}

.sg-community-pillars,
.sg-community-partners {
	margin: 0 auto;
	max-width: 1180px;
	padding: 26px 24px 48px;
}

.sg-community-section-heading {
	text-align: center;
}

.sg-community-section-heading h2 {
	font-size: clamp(26px, 3.3vw, 44px);
	font-weight: 800;
	line-height: 1.1;
	margin: 0;
}

.sg-community-section-heading span {
	color: var(--community-red);
}

.sg-community-pillar-grid {
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 28px;
}

.sg-community-pillar {
	text-align: center;
}

.sg-community-pillar-icon {
	align-items: center;
	background: none;
	
	display: flex;
	height: 164px;
	justify-content: center;
	margin: 0 auto 18px;
	width: 164px;
}

.sg-community-pillar-icon img {
	height: 58%;
	object-fit: contain;
	width: 58%;
}

.sg-community-pillar-icon span {
	font-size: 20px;
	font-weight: 700;
}

.sg-community-pillar h3 {
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	margin: 0 auto;
	max-width: 220px;
}

.sg-community-partner-list {
	display: grid;
	gap: 14px;
}

.sg-community-partner {
	align-items: center;
	background: var(--community-panel);

	display: grid;
	gap: 36px;
	grid-template-columns: minmax(210px, 30%) 1fr;
	min-height: 184px;
	padding: 20px 44px;
}

.sg-community-partner-media {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.sg-community-partner-image {
	height: 94px;
	object-fit: cover;
	width: 166px;
}

.sg-community-partner-logo {
	max-height: 58px;
	object-fit: contain;
	width: 190px;
}

.sg-community-partner-copy h3 {
	font-size: clamp(22px, 2.6vw, 34px);
	font-weight: 800;
	line-height: 1.1;
	margin: 0 0 10px;
}

.sg-community-partner-copy p {
	font-size: 18px;
	line-height: 1.4;
	margin: 0;
}

.sg-community-button {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 3px 7px rgba(0, 0, 0, .18);
	display: inline-block;
	font-size: 17px;
	margin-top: 16px;
	padding: 10px 28px;
	text-decoration: none;
}

@media (max-width: 700px) {
	.sg-community-slide picture,
	.sg-community-slide img {
		height: 480px;
	}

	.sg-community-slide-overlay,
	.sg-community-slide--dark .sg-community-slide-overlay {
		align-items: flex-end;
		background: linear-gradient(0deg, rgba(0, 0, 0, .82), transparent 75%);
		padding: 48px 58px 52px;
	}

	.sg-community-slide--dark .sg-community-slide-copy {
		color: #fff;
	}

	.sg-community-carousel .slick-prev {
		left: 8px;
	}

	.sg-community-carousel .slick-next {
		right: 8px;
	}

	.sg-community-hero-content {
		padding-top: 34px;
	}

	.sg-community-pillar-grid {
		gap: 30px 12px;
	}

	.sg-community-pillar-icon {
		height: 118px;
		width: 118px;
	}

	.sg-community-pillar h3 {
		font-size: 16px;
	}

	.sg-community-partner {
		border-radius: 24px;
		gap: 18px;
		grid-template-columns: 1fr;
		padding: 24px;
		text-align: center;
	}

	.sg-community-partner-copy {
		align-items: center;
		display: flex;
		flex-direction: column;
	}
}