.te-automatic-article-active .site-content > .ast-container,
.te-automatic-article-active .te-automatic-article-primary,
.te-automatic-article-active .te-automatic-article-main {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.te-automatic-article {
	--te-auto-heading: var(--e-global-color-primary, #214b33);
	--te-auto-text: var(--e-global-color-text, #2d2d2d);
	--te-auto-accent: var(--e-global-color-accent, #b9924c);
	--te-auto-interactive: #7f5f24;
	--te-auto-card: #f4efe6;
	--te-auto-button: var(--e-global-color-primary, #214b33);
	--te-auto-button-text: #faf8f3;
	--te-auto-heading-font: var(
		--e-global-typography-primary-font-family,
		"Cormorant Garamond",
		Georgia,
		serif
	);
	--te-auto-body-font: var(
		--e-global-typography-text-font-family,
		Inter,
		Arial,
		sans-serif
	);
	--te-article-sidebar-title: var(--te-auto-heading);
	--te-article-sidebar-link: var(--te-auto-text);
	--te-article-sidebar-active: var(--te-auto-interactive);
	--te-article-sidebar-rule: #d8cdbe;
	--te-article-sidebar-card: var(--te-auto-card);
	--te-article-sidebar-eyebrow: var(--te-auto-interactive);
	--te-article-sidebar-cta-title: var(--te-auto-heading);
	--te-article-sidebar-cta-text: var(--te-auto-text);
	--te-article-sidebar-button: var(--te-auto-button);
	--te-article-sidebar-button-text: var(--te-auto-button-text);
	--te-article-sidebar-secondary: var(--te-auto-interactive);
	--te-article-sidebar-focus: var(--te-auto-interactive);
	width: 100%;
	margin: 0;
	padding: clamp(48px, 6vw, 88px) 24px 0;
	box-sizing: border-box;
	color: var(--te-auto-text);
	font-family: var(--te-auto-body-font);
	background: #faf8f3;
}

.te-automatic-article *,
.te-automatic-article *::before,
.te-automatic-article *::after {
	box-sizing: border-box;
}

.te-automatic-article__header,
.te-automatic-article__columns,
.te-automatic-article__mobile-navigation,
.te-automatic-article__mobile-cta,
.te-automatic-article__related {
	width: min(100%, var(--te-auto-layout-width));
	margin-inline: auto;
}

.te-automatic-article__header {
	text-align: center;
}

.te-automatic-article__header .te-post-header__breadcrumbs {
	margin-bottom: clamp(32px, 5vw, 64px);
}

.te-automatic-article__header .te-post-header__category,
.te-automatic-article__header .te-post-header__category:visited {
	color: var(--te-auto-interactive) !important;
}

.te-automatic-article__header
	:where(.te-post-header__breadcrumbs a, .te-post-header__category):focus-visible {
	outline: 3px solid var(--te-auto-interactive);
	outline-offset: 3px;
}

.te-automatic-article__intro {
	width: min(100%, 860px);
	margin-inline: auto;
}

.te-automatic-article__title {
	max-width: 18ch;
	margin: 14px auto 18px !important;
	color: var(--te-auto-heading) !important;
	font-family: var(--te-auto-heading-font);
	font-size: clamp(2.5rem, 6vw, 5rem);
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 0.98;
	text-wrap: balance;
}

.te-automatic-article__excerpt {
	max-width: 66ch;
	margin: 0 auto 20px !important;
	color: var(--te-auto-text);
	font-size: clamp(1rem, 1.5vw, 1.2rem);
	line-height: 1.65;
	text-wrap: pretty;
}

.te-automatic-article__intro .te-post-header__meta {
	justify-content: center;
	margin: 0;
	color: var(--te-auto-text);
}

.te-automatic-article__featured {
	aspect-ratio: 16 / 9;
	margin: clamp(34px, 5vw, 60px) 0 0;
	overflow: hidden;
	background: var(--te-auto-card);
	border-radius: 6px;
}

.te-automatic-article__featured-image {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0 !important;
	object-fit: cover;
	box-shadow: none !important;
}

.te-automatic-article__columns {
	display: grid;
	grid-template-columns:
		minmax(0, var(--te-auto-article-width))
		minmax(240px, var(--te-auto-sidebar-width));
	gap: var(--te-auto-column-gap);
	align-items: start;
	justify-content: center;
	margin-top: clamp(48px, 7vw, 88px);
}

.te-automatic-article__columns:not(.has-rail-content) {
	grid-template-columns: minmax(0, var(--te-auto-article-width));
}

.te-automatic-article__content {
	min-width: 0;
	color: var(--te-auto-text);
	font-family: var(--te-auto-body-font);
	font-size: clamp(1rem, 1.15vw, 1.125rem);
	line-height: 1.75;
	overflow-wrap: anywhere;
}

.te-automatic-article__content > .elementor {
	width: 100%;
	max-width: 100%;
}

.te-automatic-article__content :where(h2, h3, h4, h5, h6) {
	color: var(--te-auto-heading);
	font-family: var(--te-auto-heading-font);
	font-weight: 500;
	line-height: 1.15;
	text-wrap: balance;
}

.te-automatic-article__content h2 {
	margin: 2.1em 0 0.65em;
	font-size: clamp(2rem, 4vw, 3rem);
}

.te-automatic-article__content h3 {
	margin: 1.8em 0 0.55em;
	font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.te-automatic-article__content :where(p, ul, ol, blockquote, figure) {
	margin-block: 0 1.35em;
}

.te-automatic-article__content :where(img, video, iframe) {
	max-width: 100%;
}

.te-automatic-article__content blockquote {
	margin-inline: 0;
	padding: 10px 0 10px 24px;
	color: var(--te-auto-heading);
	border-left: 3px solid var(--te-auto-accent);
	font-family: var(--te-auto-heading-font);
	font-size: 1.35em;
}

.te-automatic-article__rail {
	display: flex;
	flex-direction: column;
	gap: 28px;
	min-width: 0;
}

.te-automatic-article__rail:not(.has-cta):not(.has-article-navigation) {
	display: none;
}

.te-automatic-article__rail.is-sticky {
	position: sticky;
	top: 96px;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.te-automatic-article__rail .te-article-sidebar__toc {
	padding-top: 18px;
	border-top: 1px solid var(--te-article-sidebar-rule);
}

.te-automatic-article__rail .te-article-sidebar__cta {
	margin-top: 0;
}

.te-automatic-article .te-article-sidebar--automatic:not(.has-article-navigation) {
	display: none;
}

.te-automatic-article__mobile-navigation,
.te-automatic-article__mobile-cta {
	display: none;
}

.te-automatic-article .te-article-sidebar__toc-title,
.te-automatic-article .te-article-sidebar__summary,
.te-automatic-article .te-article-sidebar__eyebrow,
.te-automatic-article .te-article-sidebar__primary,
.te-automatic-article .te-article-sidebar__secondary {
	font-family: var(--te-auto-body-font);
}

.te-automatic-article .te-article-sidebar__cta-title {
	font-family: var(--te-auto-heading-font);
}

.te-automatic-article__related {
	margin-top: clamp(72px, 9vw, 128px);
	padding: clamp(48px, 6vw, 76px) 0;
	border-top: 1px solid color-mix(in srgb, var(--te-auto-accent) 28%, transparent);
}

.te-automatic-article__related-heading {
	margin-bottom: 30px;
	text-align: center;
}

.te-automatic-article__related-heading :where(p, h2) {
	margin: 0;
}

.te-automatic-article__related-heading h2 {
	color: var(--te-auto-heading);
	font-family: var(--te-auto-heading-font);
	font-size: clamp(2rem, 4vw, 3.25rem);
	font-weight: 500;
	line-height: 1.05;
}

.te-automatic-article__related-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.te-automatic-article__related .te-post-card {
	--te-post-title-color: var(--te-auto-heading);
	--te-post-title-interaction-color: var(--te-auto-interactive);
	--te-post-text-color: var(--te-auto-text);
	--te-post-card-background: #faf8f3;
	scroll-snap-align: start;
}

.te-automatic-article__related .te-post-card__excerpt {
	color: var(--te-auto-text);
}

.te-automatic-article__content .elementor-widget-tetebu-post-header,
.te-automatic-article__content .elementor-widget-tetebu-article-sidebar,
.te-automatic-article__content .elementor-widget-tetebu-related-posts {
	display: none !important;
}

@supports selector(:has(*)) {
	.te-automatic-article__content
		.elementor-element:has(
			> :is(
					.elementor-widget-tetebu-post-header,
					.elementor-widget-tetebu-article-sidebar,
					.elementor-widget-tetebu-related-posts
				):only-child
		) {
		display: none !important;
	}
}

@media (max-width: 1100px) {
	.te-automatic-article__columns {
		grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
		gap: clamp(28px, 4vw, 44px);
	}
}

@media (max-width: 900px) {
	.te-automatic-article {
		padding-inline: clamp(18px, 4vw, 32px);
	}

	.te-automatic-article__columns {
		display: block;
		margin-top: 32px;
	}

	.te-automatic-article__mobile-navigation.has-article-navigation {
		display: block;
		margin-top: 36px;
	}

	.te-automatic-article__mobile-navigation .te-article-sidebar__toc-mobile {
		display: block;
	}

	.te-automatic-article__rail {
		display: none;
	}

	.te-automatic-article__mobile-cta {
		display: block;
		margin-top: 44px;
	}

	.te-automatic-article__mobile-cta .te-article-sidebar__cta {
		max-width: 560px;
		margin-inline: auto;
	}

	.te-automatic-article__related-row {
		grid-auto-columns: minmax(78%, 1fr);
		grid-template-columns: none;
		grid-auto-flow: column;
		gap: 18px;
		margin-inline: -24px;
		padding: 0 24px 14px;
		overflow-x: auto;
		overscroll-behavior-inline: contain;
		scroll-padding-inline: 24px;
		scroll-snap-type: inline mandatory;
		scrollbar-width: thin;
	}
}

@media (max-width: 600px) {
	.te-automatic-article {
		padding-top: 38px;
		padding-inline: 18px;
	}

	.te-automatic-article__header .te-post-header__breadcrumbs {
		margin-bottom: 28px;
	}

	.te-automatic-article__title {
		font-size: clamp(2.3rem, 12vw, 3.75rem);
	}

	.te-automatic-article__featured {
		aspect-ratio: 4 / 3;
		margin-top: 32px;
		border-radius: 4px;
	}

	.te-automatic-article__content {
		font-size: 1rem;
		line-height: 1.72;
	}

	.te-automatic-article__related {
		margin-top: 72px;
		padding-bottom: 56px;
	}

	.te-automatic-article__related-row {
		grid-auto-columns: minmax(84%, 1fr);
		margin-inline: -18px;
		padding-inline: 18px;
		scroll-padding-inline: 18px;
	}
}

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

@media print {
	.te-automatic-article {
		padding: 0;
		background: #fff;
	}

	.te-automatic-article__columns {
		display: block;
	}

	.te-automatic-article__rail,
	.te-automatic-article__mobile-navigation,
	.te-automatic-article__mobile-cta,
	.te-automatic-article__related {
		display: none !important;
	}
}
