/* Support group detail (.ms-sgd) */
body.template-page.template-support-group-detail {
	background: #faf7f0;
}

body.template-page .ms-sgd {
	--ms-sgd-bg: #faf7f0;
	--ms-sgd-about: #f1ede4;
	--ms-sgd-ink: #241f21;
	--ms-sgd-muted: #a7a6a6;
	--ms-sgd-placeholder: #e9e1d0;
	--ms-sgd-green: #1c4220;
	--ms-sgd-link: #739e7a;
	--ms-sgd-cream: #f8f4e8;
	--ms-sgd-gutter: 48px;
	--ms-sgd-max: 1200px;
	background: var(--ms-sgd-bg);
	color: var(--ms-sgd-ink);
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	width: 100%;
}

body.template-page .ms-sgd *,
body.template-page .ms-sgd *::before,
body.template-page .ms-sgd *::after {
	box-sizing: border-box;
}

body.template-page .ms-sgd__inner {
	max-width: var(--ms-sgd-max);
	margin: 0 auto;
	width: 100%;
	padding-left: var(--ms-sgd-gutter);
	padding-right: var(--ms-sgd-gutter);
}

body.template-page .ms-sgd__hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 0;
	align-items: stretch;
	width: 100%;
	margin: 0;
	padding: 0;
	background: var(--ms-sgd-bg);
}

body.template-page .ms-sgd__hero-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	margin: 0;
	padding: 80px var(--ms-sgd-gutter);
	padding-left: max(var(--ms-sgd-gutter), calc((100vw - var(--ms-sgd-max)) / 2));
	background: var(--ms-sgd-bg);
}

body.template-page .ms-sgd__type {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 500;
	font-style: normal;
	font-size: 12px;
	line-height: 1.6;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--ms-sgd-green);
	margin: 0 0 16px;
	padding: 0;
	border: 0;
}

body.template-page .ms-sgd__title {
	font-family: 'Lora', var(--font-heading, Georgia, serif);
	font-weight: 400;
	font-style: normal;
	font-size: var(--text-h1, 3rem);
	line-height: 1.2;
	letter-spacing: 0;
	color: var(--ms-sgd-green);
	margin: 0 0 16px;
	padding: 0;
	border: 0;
}

body.template-page .ms-sgd__schedule {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 400;
	font-style: normal;
	font-size: 18px;
	line-height: 1.5;
	letter-spacing: 0;
	color: var(--ms-sgd-ink);
	margin: 0 0 32px;
	padding: 0;
	border: 0;
}

body.template-page .ms-sgd__join {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: 'Roboto Condensed', Roboto, sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: none;
	text-decoration: none;
	padding: 12px 28px;
	border-radius: 100px;
	cursor: pointer;
	white-space: nowrap;
	background: var(--ms-sgd-green);
	color: var(--ms-sgd-cream);
	border: 1.5px solid var(--ms-sgd-green);
	transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

body.template-page .ms-sgd__join:hover,
body.template-page .ms-sgd__join:focus-visible {
	background: transparent;
	color: var(--ms-sgd-green);
	outline: none;
}

body.template-page .ms-sgd__hero-media {
	position: relative;
	display: block;
	width: 100%;
	min-height: 520px;
	margin: 0;
	padding: 0;
	border: 0;
	overflow: hidden;
	background: var(--ms-sgd-placeholder);
}

body.template-page .ms-sgd__hero-media picture {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

body.template-page .ms-sgd__hero-img,
body.template-page .ms-sgd__hero-placeholder {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
	margin: 0;
	padding: 0;
	border: 0;
}

body.template-page .ms-sgd__hero-placeholder {
	background: var(--ms-sgd-placeholder);
}

body.template-page .ms-sgd__about {
	background: var(--ms-sgd-about);
	margin: 0;
	padding: 80px 0;
}

body.template-page .ms-sgd__about .ms-sgd__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
	gap: 48px 80px;
	align-items: start;
}

body.template-page .ms-sgd__about-title {
	font-family: 'Lora', var(--font-heading, Georgia, serif);
	font-weight: 400;
	font-style: normal;
	font-size: 32px;
	line-height: 1.25;
	letter-spacing: 0;
	color: var(--ms-sgd-green);
	margin: 0;
	padding: 0;
	border: 0;
}

body.template-page .ms-sgd__about-body,
body.template-page .ms-sgd__about-body p {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 300;
	font-style: normal;
	font-size: 16px;
	line-height: 1.7;
	letter-spacing: 0;
	color: var(--ms-sgd-ink);
	margin: 0;
	padding: 0;
}

body.template-page .ms-sgd__about-body p + p {
	margin-top: 16px;
}

body.template-page .ms-sgd__about-body ul,
body.template-page .ms-sgd__about-body ol {
	margin: 16px 0;
	padding: 0 0 0 1.25em;
	list-style-position: outside;
}

body.template-page .ms-sgd__about-body ul {
	list-style: disc;
}

body.template-page .ms-sgd__about-body ol {
	list-style: decimal;
}

body.template-page .ms-sgd__about-body li + li {
	margin-top: 8px;
}

body.template-page .ms-sgd__about-body a {
	color: var(--ms-sgd-green);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

body.template-page .ms-sgd__articles {
	background: var(--ms-sgd-bg);
	margin: 0;
	padding: 80px 0;
}

body.template-page .ms-sgd__articles-title {
	font-family: 'Lora', var(--font-heading, Georgia, serif);
	font-weight: 400;
	font-style: normal;
	font-size: 32px;
	line-height: 1.25;
	letter-spacing: 0;
	color: var(--ms-sgd-ink);
	margin: 0 auto 40px;
	padding: 0;
	border: 0;
	max-width: none;
	text-align: center;
}

body.template-page .ms-sgd__article-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px;
	margin: 0;
	padding: 0;
}

body.template-page .ms-sgd__article {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	margin: 0;
	padding: 24px 0 0;
	border: 0;
	border-top: 1px solid var(--ms-sgd-muted);
	background: transparent;
}

body.template-page .ms-sgd__article-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 0 0 16px;
	padding: 0;
}

body.template-page .ms-sgd__article-cat {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 500;
	font-style: normal;
	font-size: 12px;
	line-height: 1.6;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ms-sgd-muted);
	margin: 0;
	padding: 0;
	border: 0;
}

body.template-page .ms-sgd__article-title {
	font-family: 'Lora', var(--font-heading, Georgia, serif);
	font-weight: 400;
	font-style: normal;
	font-size: 24px;
	line-height: 1.25;
	letter-spacing: 0;
	color: var(--ms-sgd-ink);
	margin: 0 0 16px;
	padding: 0;
	border: 0;
}

body.template-page .ms-sgd__article-title a {
	color: inherit;
	text-decoration: none;
}

body.template-page .ms-sgd__article-excerpt {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 300;
	font-style: normal;
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: 0;
	color: var(--ms-sgd-ink);
	margin: 0 0 24px;
	padding: 0;
	border: 0;
	flex: 1;
}

body.template-page .ms-sgd__article-link {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 400;
	font-style: normal;
	font-size: 16px;
	line-height: 1;
	letter-spacing: 0.05em;
	text-decoration: underline;
	text-underline-offset: 0.4em;
	text-decoration-thickness: 1px;
	color: var(--ms-sgd-link);
	margin: 0;
	padding: 0;
	border: 0;
	transition: opacity 0.2s ease;
}

body.template-page .ms-sgd__article-link:hover,
body.template-page .ms-sgd__article-link:focus-visible,
body.template-page .ms-sgd__article-cat:hover,
body.template-page .ms-sgd__article-cat:focus-visible,
body.template-page .ms-sgd__article-title a:hover,
body.template-page .ms-sgd__article-title a:focus-visible {
	opacity: 0.75;
	outline: none;
}

body.template-page .ms-sgd__cta {
	background: var(--ms-sgd-green);
	color: var(--ms-sgd-cream);
	margin: 0;
	padding: 72px 0;
}

body.template-page .ms-sgd__cta-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 48px 64px;
	align-items: center;
}

body.template-page .ms-sgd__cta-title {
	font-family: 'Lora', var(--font-heading, Georgia, serif);
	font-weight: 400;
	font-style: normal;
	font-size: 32px;
	line-height: 1.25;
	letter-spacing: 0;
	color: var(--ms-sgd-cream);
	margin: 0 0 16px;
	padding: 0;
	border: 0;
}

body.template-page .ms-sgd__cta-body {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 300;
	font-style: normal;
	font-size: 16px;
	line-height: 1.7;
	letter-spacing: 0;
	color: var(--ms-sgd-cream);
	margin: 0;
	padding: 0;
	border: 0;
	max-width: 42em;
}

body.template-page .ms-sgd__cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: 'Roboto Condensed', Roboto, sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 12px 36px;
	border-radius: 100px;
	cursor: pointer;
	white-space: nowrap;
	background: transparent;
	color: var(--ms-sgd-cream);
	border: 1.5px solid var(--ms-sgd-cream);
	transition: background 200ms ease, color 200ms ease;
}

body.template-page .ms-sgd__cta-btn:hover,
body.template-page .ms-sgd__cta-btn:focus-visible {
	background: var(--ms-sgd-cream);
	color: var(--ms-sgd-green);
	outline: none;
}

@media (max-width: 1024px) {
	body.template-page .ms-sgd {
		--ms-sgd-gutter: 32px;
	}

	body.template-page .ms-sgd__hero {
		grid-template-columns: minmax(0, 1fr);
	}

	body.template-page .ms-sgd__hero-copy {
		padding-top: 56px;
		padding-bottom: 56px;
		order: 1;
	}

	body.template-page .ms-sgd__hero-media {
		min-height: 320px;
		order: 0;
	}

	body.template-page .ms-sgd__about .ms-sgd__inner,
	body.template-page .ms-sgd__cta-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	body.template-page .ms-sgd__article-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
}

@media (max-width: 600px) {
	body.template-page .ms-sgd {
		--ms-sgd-gutter: 20px;
	}

	body.template-page .ms-sgd__title {
		font-size: 32px;
	}

	body.template-page .ms-sgd__about,
	body.template-page .ms-sgd__articles {
		padding: 56px 0;
	}

	body.template-page .ms-sgd__cta {
		padding: 48px 0;
	}

	body.template-page .ms-sgd__about-title,
	body.template-page .ms-sgd__articles-title,
	body.template-page .ms-sgd__cta-title {
		font-size: 26px;
	}

	body.template-page .ms-sgd__cta-btn {
		width: 100%;
	}
}
