.site-main--community {
	width: min(calc(100% - (var(--hut-container-padding) * 2)), var(--hut-container-xl));
	display: grid;
	gap: clamp(var(--hut-space-lg), 4vw, var(--hut-space-2xl));
}

.site-main--community > section {
	position: relative;
	overflow: hidden;
	border: 1px solid rgb(223 210 191 / 68%);
	border-radius: var(--hut-radius-lg);
	background: rgb(255 253 248 / 82%);
	box-shadow: var(--hut-shadow-warm-sm);
}

.community-hero {
	display: grid;
	min-height: clamp(34rem, 66vw, 44rem);
	background:
		linear-gradient(135deg, rgb(13 27 42 / 90%), rgb(107 74 47 / 64%)),
		var(--hut-color-ink-900);
	color: var(--hut-color-paper-000);
}

.community-hero__content {
	position: relative;
	z-index: 2;
	display: grid;
	align-content: end;
	gap: var(--hut-space-md);
	max-width: 46rem;
	padding: clamp(var(--hut-space-xl), 6vw, var(--hut-space-3xl));
}

.community-hero .eyebrow,
.community-hero__title,
.community-hero__description {
	color: inherit;
}

.community-hero__title {
	max-width: 11ch;
	margin: 0;
	font-size: clamp(2.5rem, 6vw, 5rem);
	line-height: 0.98;
	text-wrap: balance;
}

.community-hero__description {
	max-width: 42rem;
	color: rgb(255 253 248 / 86%);
	font-size: var(--hut-font-size-md);
}

.community-hero__copy {
	display: flex;
	flex-wrap: wrap;
	gap: var(--hut-space-xs);
	max-width: 44rem;
	color: rgb(255 253 248 / 82%);
	font-weight: 800;
}

.community-hero__copy p {
	margin: 0;
}

.community-hero__copy p:not(:last-child)::after {
	content: "";
	display: inline-block;
	width: 0.3rem;
	height: 0.3rem;
	margin-inline-start: var(--hut-space-xs);
	border-radius: 999px;
	background: currentcolor;
	vertical-align: middle;
	opacity: 0.6;
}

.community-hero__media {
	position: absolute;
	inset: 0;
	margin: 0;
}

.community-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgb(13 27 42 / 86%) 0%, rgb(13 27 42 / 58%) 42%, rgb(13 27 42 / 18%) 100%),
		linear-gradient(0deg, rgb(13 27 42 / 80%) 0%, rgb(13 27 42 / 0%) 46%);
}

.community-hero__media picture,
.community-hero__media img {
	width: 100%;
	height: 100%;
}

.community-hero__media picture {
	display: block;
}

.community-hero__media img {
	object-fit: cover;
	object-position: center;
}

.community-intro,
.community-why,
.community-latest,
.community-bulletin,
.community-ask,
.community-social,
.community-closing {
	padding: clamp(var(--hut-space-xl), 5vw, var(--hut-space-3xl));
}

.community-newsletter {
	display: grid;
	gap: clamp(var(--hut-space-lg), 4vw, var(--hut-space-2xl));
	padding: clamp(var(--hut-space-xl), 5vw, var(--hut-space-3xl));
	background:
		linear-gradient(135deg, rgb(255 253 248 / 90%), rgb(250 244 232 / 82%)),
		var(--hut-color-paper-050);
}

.community-newsletter__content {
	display: grid;
	gap: var(--hut-space-md);
	align-content: start;
}

.community-newsletter__title {
	max-width: 13ch;
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.04;
	text-wrap: balance;
}

.community-newsletter__description {
	max-width: 42rem;
	color: var(--hut-color-text-muted);
	font-size: var(--hut-font-size-md);
}

.community-newsletter__benefits {
	display: grid;
	gap: var(--hut-space-sm);
	padding: 0;
	margin: var(--hut-space-sm) 0 0;
	list-style: none;
}

.community-newsletter__benefits li {
	display: flex;
	gap: var(--hut-space-sm);
	align-items: center;
	min-height: 3rem;
	padding: var(--hut-space-sm);
	border: 1px solid var(--hut-color-border);
	border-radius: var(--hut-radius-md);
	background: rgb(255 253 248 / 76%);
	font-weight: 800;
	line-height: var(--hut-line-height-tight);
}

.community-newsletter__benefits li::before {
	content: "\2713";
	display: inline-grid;
	flex: 0 0 1.4rem;
	width: 1.4rem;
	height: 1.4rem;
	place-items: center;
	border-radius: 999px;
	background: rgb(36 107 69 / 14%);
	color: var(--hut-color-success);
	font-size: var(--hut-font-size-sm);
	line-height: 1;
}

.community-newsletter__panel {
	position: relative;
	display: grid;
	gap: var(--hut-space-md);
	align-content: start;
	padding: clamp(var(--hut-space-lg), 4vw, var(--hut-space-xl));
	border: 1px solid var(--hut-color-border);
	border-radius: var(--hut-radius-md);
	background: var(--hut-color-paper-000);
	box-shadow: var(--hut-shadow-warm-md);
}

.community-newsletter__mug {
	width: min(9rem, 44vw);
	margin: 0 auto var(--hut-space-sm);
}

.community-newsletter__mug img {
	aspect-ratio: 1;
	border-radius: var(--hut-radius-md);
	box-shadow: var(--hut-shadow-md);
	object-fit: cover;
}

.community-newsletter__form {
	display: grid;
	gap: var(--hut-space-md);
}

.community-newsletter__field {
	display: grid;
	gap: var(--hut-space-xs);
}

.community-newsletter__field label {
	font-weight: 850;
	line-height: var(--hut-line-height-tight);
}

.community-newsletter__field input {
	width: 100%;
	min-height: 3.25rem;
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--hut-color-border);
	border-radius: var(--hut-radius-md);
	background: var(--hut-color-paper-000);
	color: var(--hut-color-text);
}

.community-newsletter__field input[aria-invalid="true"] {
	border-color: var(--hut-color-error);
}

.community-newsletter__submit {
	min-height: 3.25rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--hut-color-accent);
	border-radius: var(--hut-radius-md);
	background: var(--hut-color-accent);
	color: var(--hut-color-button-text-strong);
	font-weight: 900;
	cursor: pointer;
	transition:
		background-color var(--hut-transition-duration) var(--hut-transition-timing),
		border-color var(--hut-transition-duration) var(--hut-transition-timing),
		transform var(--hut-transition-duration) var(--hut-transition-timing);
}

.community-newsletter__submit:hover {
	border-color: var(--hut-color-orange-700);
	background: var(--hut-color-orange-700);
	transform: translateY(-1px);
}

.community-newsletter__submit:disabled {
	cursor: wait;
	opacity: 0.72;
	transform: none;
}

.community-newsletter__trap {
	position: fixed !important;
	inset-block-start: 0 !important;
	inset-inline-start: -100vw !important;
	width: 1px;
	height: 1px;
	clip-path: inset(50%);
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
	white-space: nowrap;
}

.community-newsletter__trap[hidden] {
	display: none !important;
}

.community-newsletter__status {
	min-height: 1.5rem;
	color: var(--hut-color-text-muted);
	font-weight: 750;
}

.community-newsletter__status[data-status-type="error"] {
	color: var(--hut-color-error);
}

.community-newsletter__success[hidden] {
	display: none;
}

.community-newsletter__success {
	display: grid;
	gap: var(--hut-space-xs);
	padding: var(--hut-space-lg);
	border: 1px solid rgb(36 107 69 / 24%);
	border-radius: var(--hut-radius-md);
	background: rgb(36 107 69 / 8%);
	text-align: center;
}

.community-newsletter__success h3,
.community-newsletter__success p {
	margin: 0;
}

.community-newsletter__success-icon {
	font-size: var(--hut-font-size-2xl);
	line-height: 1;
}

.community-newsletter__success-cta {
	justify-self: center;
	margin-block-start: var(--hut-space-sm);
}

.community-newsletter.has-newsletter-success .community-newsletter__form {
	display: none;
}

.community-newsletter.has-newsletter-success .community-newsletter__status {
	display: none;
}

.community-why .section-header,
.community-latest .section-header,
.community-bulletin .section-header,
.community-social .section-header {
	margin-block-end: clamp(var(--hut-space-lg), 4vw, var(--hut-space-2xl));
}

.community-latest__embed {
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border: 1px solid var(--hut-color-border);
	border-radius: var(--hut-radius-md);
	background: var(--hut-color-ink-900);
	box-shadow: var(--hut-shadow-warm-md);
}

.community-latest__embed iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.community-latest__action {
	display: flex;
	justify-content: center;
	margin-block-start: var(--hut-space-lg);
}

.community-bulletin__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	gap: var(--hut-space-md);
	padding: 0;
	margin: 0;
	list-style: none;
}

.community-bulletin__item {
	display: flex;
	gap: var(--hut-space-md);
	min-height: 7rem;
	padding: var(--hut-space-lg);
	border: 1px solid var(--hut-color-border);
	border-radius: var(--hut-radius-md);
	background: var(--hut-color-paper-000);
	box-shadow: var(--hut-shadow-warm-sm);
}

.community-bulletin__icon {
	display: grid;
	flex: 0 0 2.5rem;
	width: 2.5rem;
	height: 2.5rem;
	place-items: center;
	border-radius: 999px;
	background: rgb(224 108 43 / 14%);
	font-size: var(--hut-font-size-lg);
	line-height: 1;
}

.community-bulletin__item h3,
.community-bulletin__item p {
	margin: 0;
}

.community-bulletin__item p {
	margin-block-start: var(--hut-space-xs);
	color: var(--hut-color-text-muted);
}

.community-ask {
	display: grid;
	gap: var(--hut-space-lg);
	align-items: center;
	background:
		linear-gradient(135deg, rgb(255 253 248 / 92%), rgb(250 244 232 / 82%)),
		var(--hut-color-paper-050);
}

.community-ask__content {
	display: grid;
	gap: var(--hut-space-sm);
}

.community-ask h2,
.community-ask p {
	margin: 0;
}

.community-ask__content > p:not(.eyebrow) {
	max-width: 44rem;
	color: var(--hut-color-text-muted);
	font-size: var(--hut-font-size-md);
}

.community-ask__action {
	display: flex;
}

.site-main--community > .community-closing {
	display: grid;
	gap: var(--hut-space-sm);
	place-items: center;
	min-height: 18rem;
	border-color: rgb(13 27 42 / 58%);
	background:
		linear-gradient(135deg, rgb(13 27 42 / 94%), rgb(107 74 47 / 76%)),
		var(--hut-color-ink-900);
	color: var(--hut-color-paper-000);
	text-align: center;
	opacity: 1;
	transform: none;
}

.site-main--community > .community-closing.is-prepped,
.site-main--community > .community-closing.is-prepped [data-animate-child] {
	opacity: 1;
	transform: none;
}

.site-main--community > .community-closing .eyebrow,
.site-main--community > .community-closing h2,
.site-main--community > .community-closing .community-closing__icon,
.site-main--community > .community-closing .community-closing__signature {
	color: var(--hut-color-paper-000) !important;
}

.site-main--community > .community-closing .community-closing__icon {
	margin: 0;
	font-size: clamp(2.25rem, 6vw, 4rem);
	line-height: 1;
}

.site-main--community > .community-closing h2 {
	max-width: 18ch;
	margin: 0;
	text-wrap: balance;
}

.site-main--community > .community-closing .community-closing__signature {
	margin: 0;
	font-family: var(--hut-font-family-heading);
	font-size: var(--hut-font-size-lg);
	font-weight: 800;
}

@media (min-width: 48rem) {
	.community-newsletter {
		grid-template-columns: minmax(0, 1fr) minmax(20rem, 28rem);
		align-items: center;
	}

	.community-newsletter__benefits {
		max-width: 36rem;
	}

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

@media (max-width: 47.99rem) {
	.community-hero {
		min-height: 38rem;
	}

	.community-hero__media::after {
		background:
			linear-gradient(0deg, rgb(13 27 42 / 88%) 0%, rgb(13 27 42 / 54%) 58%, rgb(13 27 42 / 24%) 100%);
	}
}
