/* Blog article (.ms-article) */
body.template-page.single-post {
	background: #faf7f0;
}

body.template-page .ms-article {
	--ms-article-page: #faf7f0;
	--ms-article-cream: #f8f4e8;
	--ms-article-cta: #f5f0e0;
	--ms-article-ink: #241f21;
	--ms-article-green: #1c4220;
	--ms-article-link: #739e7a;
	--ms-article-muted: #a7a6a6;
	--ms-article-cat: #81776a;
	--ms-article-gold: #d7c493;
	--ms-article-max: 1200px;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	width: 100%;
	background: var(--ms-article-page);
	color: var(--ms-article-ink);
	border: 0;
}

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

body.template-page .ms-article__inner {
	max-width: var(--ms-article-max);
	margin: 0 auto;
	width: 100%;
	padding: 72px 72px 80px;
}

/* Photo hero */
body.template-page .ms-article__hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 560px;
	height: min(72vh, 720px);
	padding: 64px 72px 80px;
	margin: 0;
	overflow: hidden;
	width: 100%;
}

body.template-page .ms-article__hero-media {
	position: absolute;
	inset: 0;
	margin: 0;
	padding: 0;
	z-index: 0;
}

body.template-page .ms-article__hero-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border: 0;
	margin: 0;
	padding: 0;
}

body.template-page .ms-article__hero-overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to right, rgba(20, 35, 18, 0.72) 0%, rgba(20, 35, 18, 0.38) 48%, rgba(20, 35, 18, 0.08) 100%),
		linear-gradient(to top, rgba(20, 35, 18, 0.78) 0%, rgba(20, 35, 18, 0) 55%);
	pointer-events: none;
}

body.template-page .ms-article__hero-content {
	position: relative;
	z-index: 1;
	max-width: 900px;
	width: 100%;
	margin: 0;
	padding: 0;
}

body.template-page .ms-article__hero-title {
	font-family: 'Lora', var(--font-heading, Georgia, serif);
	font-weight: 400;
	font-style: normal;
	font-size: var(--text-h1, 3rem);
	line-height: var(--line-tight, 1.25);
	letter-spacing: 0;
	color: var(--ms-article-cream);
	margin: 0;
	padding: 0;
	border: 0;
}

/* No-image title */
body.template-page .ms-article__head {
	margin: 0 0 40px;
	padding: 0;
	max-width: 920px;
}

body.template-page .ms-article__kicker {
	margin: 0 0 16px;
	padding: 0;
}

body.template-page .ms-article__kicker a {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 500;
	font-size: 12px;
	line-height: 1.6;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ms-article-ink);
}

body.template-page .ms-article__kicker a:hover,
body.template-page .ms-article__kicker a:focus-visible {
	opacity: 0.75;
}

body.template-page .ms-article__title {
	font-family: 'Lora', var(--font-heading, Georgia, serif);
	font-weight: 400;
	font-style: normal;
	font-size: var(--text-h1, 3rem);
	line-height: var(--line-tight, 1.25);
	letter-spacing: 0;
	color: var(--ms-article-ink);
	margin: 0;
	padding: 0;
	border: 0;
}

/* Two columns */
body.template-page .ms-article__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
	gap: 48px 56px;
	align-items: start;
	margin: 0;
	padding: 0;
	width: 100%;
}

body.template-page .ms-article__main {
	min-width: 0;
}

/* Author / meta */
body.template-page .ms-article__meta {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0 0 28px;
}

body.template-page .ms-article__avatar {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: cover;
	flex-shrink: 0;
	border-radius: 0;
	margin: 0;
}

body.template-page .ms-article__meta-text {
	min-width: 0;
}

body.template-page .ms-article__byline {
	font-family: 'Lora', var(--font-heading, Georgia, serif);
	font-weight: 400;
	font-size: 18px;
	line-height: 1.3;
	color: var(--ms-article-ink);
	margin: 0 0 4px;
}

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

body.template-page .ms-article__byline a:hover,
body.template-page .ms-article__byline a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.template-page .ms-article__dates {
	font-family: 'Lora', var(--font-heading, Georgia, serif);
	font-weight: 400;
	font-style: italic;
	font-size: 14px;
	line-height: 1.4;
	color: var(--ms-article-muted);
	margin: 0 0 8px;
}

body.template-page .ms-article__review {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 500;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--ms-article-green);
	margin: 0;
}

body.template-page .ms-article__review-check {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

body.template-page .ms-article__disclaimer {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 300;
	font-style: italic;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ms-article-muted);
	margin: 0 0 32px;
}

/* Article body typography */
body.template-page .ms-article__content {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ms-article-ink);
}

body.template-page .ms-article__content > *:first-child {
	margin-top: 0;
}

body.template-page .ms-article__content p {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ms-article-ink);
	margin: 0 0 1.25em;
}

body.template-page .ms-article__content a {
	color: var(--ms-article-link);
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.template-page .ms-article__content a:hover,
body.template-page .ms-article__content a:focus-visible {
	opacity: 0.8;
}

body.template-page .ms-article__content h2,
body.template-page .ms-article__content h2.wp-block-heading {
	font-family: 'Lora', var(--font-heading, Georgia, serif);
	font-weight: 400;
	font-style: normal;
	font-size: 22px;
	line-height: 1.35;
	letter-spacing: 0;
	color: var(--ms-article-green);
	margin: 1.75em 0 0.75em;
	padding: 0;
	border: 0;
}

body.template-page .ms-article__content blockquote,
body.template-page .ms-article__content .wp-block-quote {
	font-family: 'Lora', var(--font-heading, Georgia, serif);
	font-weight: 400;
	font-size: 22px;
	line-height: 1.45;
	color: var(--ms-article-green);
	margin: 2em 0;
	padding: 4px 0 4px 28px;
	border: 0;
	border-left: 3px solid var(--ms-article-green);
	background: transparent;
}

body.template-page .ms-article__content blockquote p,
body.template-page .ms-article__content .wp-block-quote p {
	font-family: inherit;
	font-weight: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
	margin: 0 0 0.6em;
}

body.template-page .ms-article__content blockquote p:last-child,
body.template-page .ms-article__content .wp-block-quote p:last-child {
	margin-bottom: 0;
}

body.template-page .ms-article__content blockquote cite,
body.template-page .ms-article__content .wp-block-quote cite {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 400;
	font-size: 14px;
	font-style: italic;
	color: var(--ms-article-muted);
}

body.template-page .ms-article__content ul,
body.template-page .ms-article__content ol {
	margin: 0 0 1.25em;
	padding-left: 1.4em;
}

body.template-page .ms-article__content li {
	margin: 0 0 0.4em;
}

body.template-page .ms-article__content img,
body.template-page .ms-article__content figure {
	max-width: 100%;
	height: auto;
}

body.template-page .ms-article__content figure {
	margin: 1.5em 0;
}

/* Guest bio */
body.template-page .ms-article__guest-bio {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	margin: 40px 0 0;
	padding: 24px 0 0;
	border-top: 1px solid rgba(36, 31, 33, 0.12);
}

body.template-page .ms-article__guest-bio-name {
	font-family: 'Lora', var(--font-heading, Georgia, serif);
	font-weight: 400;
	font-size: 22px;
	color: var(--ms-article-ink);
	margin: 0 0 8px;
}

body.template-page .ms-article__guest-bio-text {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ms-article-ink);
}

/* Bottom CTA */
body.template-page .ms-article__cta {
	background: var(--ms-article-cta);
	padding: 48px 32px 52px;
	margin: 48px 0 0;
	text-align: center;
}

body.template-page .ms-article__cta-phone {
	display: block;
	font-family: 'Lora', var(--font-heading, Georgia, serif);
	font-weight: 400;
	font-size: 36px;
	line-height: 1.15;
	color: var(--ms-article-ink);
	text-decoration: none;
	margin: 0 0 16px;
}

body.template-page .ms-article__cta-phone:hover,
body.template-page .ms-article__cta-phone:focus-visible {
	opacity: 0.75;
}

body.template-page .ms-article__cta-copy,
body.template-page .ms-article__cta-copy p {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.45;
	color: var(--ms-article-ink);
	margin: 0;
	text-align: center;
}

body.template-page .ms-article__cta-copy p + p {
	margin-top: 0.6em;
}

body.template-page .ms-article__cta-copy a {
	color: var(--ms-article-link);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Sidebar CTA box */
body.template-page .ms-article__cta-box {
	background: var(--ms-article-cta);
	padding: 32px 28px 36px;
	margin: 0 0 40px;
}

body.template-page .ms-article__cta-title {
	font-family: 'Lora', var(--font-heading, Georgia, serif);
	font-weight: 400;
	font-size: 24px;
	line-height: 1.3;
	color: var(--ms-article-ink);
	margin: 0 0 24px;
	padding: 0;
	border: 0;
}

body.template-page .ms-article__cta-title em,
body.template-page .ms-article__cta-title i {
	font-style: italic;
}

body.template-page .ms-article__cta-body,
body.template-page .ms-article__cta-body p {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 300;
	font-size: 18px;
	line-height: 1.5;
	color: var(--ms-article-ink);
	margin: 0 0 12px;
	text-align: left !important;
}

body.template-page .ms-article__cta-body p:last-child {
	font-weight: 500;
	margin-top: 8px;
	margin-bottom: 0;
}

body.template-page .ms-article__cta-body strong,
body.template-page .ms-article__cta-body b {
	font-weight: 500;
}

body.template-page .ms-article__cta-prompt {
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 500;
	font-size: 18px;
	line-height: 1.45;
	color: var(--ms-article-ink);
	margin: 20px 0 0;
}

body.template-page .ms-article__cta-actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	margin: 28px 0 18px;
}

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

body.template-page .ms-article__btn--fill {
	background: var(--ms-article-green);
	color: var(--ms-article-cream);
}

body.template-page .ms-article__btn--fill:hover,
body.template-page .ms-article__btn--fill:focus-visible {
	background: transparent;
	color: var(--ms-article-green);
}

body.template-page .ms-article__btn--outline {
	background: transparent;
	color: var(--ms-article-green);
}

body.template-page .ms-article__btn--outline:hover,
body.template-page .ms-article__btn--outline:focus-visible {
	background: var(--ms-article-green);
	color: var(--ms-article-cream);
}

body.template-page .ms-article__verify {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.4;
	color: var(--ms-article-link);
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.template-page .ms-article__verify:hover,
body.template-page .ms-article__verify:focus-visible {
	opacity: 0.8;
}

body.template-page .ms-article__verify-arrow {
	text-decoration: none;
	font-size: 18px;
	line-height: 1;
}

/* Popular articles */
body.template-page .ms-article__popular {
	margin: 0;
	padding: 8px 0 8px 28px;
	border-left: 2px solid rgba(215, 196, 147, 0.4);
}

body.template-page .ms-article__popular-heading {
	font-family: 'Lora', var(--font-heading, Georgia, serif);
	font-weight: 400;
	font-size: 32px;
	line-height: 1.25;
	color: var(--ms-article-ink);
	margin: 0 0 20px;
	padding: 0;
	border: 0;
}

body.template-page .ms-article__popular-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.template-page .ms-article__popular-item {
	margin: 0;
	padding: 16px 0;
	border-bottom: 1px solid rgba(36, 31, 33, 0.12);
}

body.template-page .ms-article__popular-item:first-child {
	padding-top: 0;
}

body.template-page .ms-article__popular-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

body.template-page .ms-article__popular-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

body.template-page .ms-article__popular-link:hover .ms-article__popular-title,
body.template-page .ms-article__popular-link:focus-visible .ms-article__popular-title {
	opacity: 0.7;
}

body.template-page .ms-article__popular-cat {
	display: block;
	font-family: 'Roboto', var(--font-body, sans-serif);
	font-weight: 500;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--ms-article-cat);
	margin: 0 0 6px;
}

body.template-page .ms-article__popular-title {
	display: block;
	font-family: 'Lora', var(--font-heading, Georgia, serif);
	font-weight: 400;
	font-size: 22px;
	line-height: 1.3;
	color: var(--ms-article-ink);
}

body.template-page.single-post .read-more-section,
body.template-page.single-post .tags_container {
	background: #faf7f0;
}

@media (max-width: 1024px) {
	body.template-page .ms-article__inner {
		padding: 56px 40px 64px;
	}

	body.template-page .ms-article__hero {
		padding: 56px 40px 64px;
	}

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

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

@media (max-width: 600px) {
	body.template-page .ms-article__inner {
		padding: 40px 24px 56px;
	}

	body.template-page .ms-article__hero {
		min-height: 420px;
		height: auto;
		padding: 48px 24px 56px;
	}

	body.template-page .ms-article__hero-title,
	body.template-page .ms-article__title {
		font-size: 32px;
	}

	body.template-page .ms-article__byline {
		font-size: 16px;
	}

	body.template-page .ms-article__dates {
		font-size: 13px;
	}

	body.template-page .ms-article__cta {
		padding: 36px 20px 40px;
	}

	body.template-page .ms-article__cta-phone {
		font-size: 28px;
	}

	body.template-page .ms-article__cta-copy,
	body.template-page .ms-article__cta-copy p {
		font-size: 16px;
	}

	body.template-page .ms-article__popular {
		padding-left: 20px;
	}
}
