.article-content {
	--article-bg: #f8f4ed;
	--article-ink: #1c2b1a;
	--article-copy: #4a5565;
	--article-muted: #6a7282;
	--article-soft: #99a1af;
	--article-accent: #c8851a;
	--article-accent-dark: #a96d14;
	--article-accent-40: rgba(200, 133, 26, 0.4);
	--article-green: #008236;
	--article-tag-bg: #f0fdf4;
	--article-divider: #f3f4f6;
	--article-radius: 1rem;
	--article-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.1);
	--article-quote-bg: #1c2b1a;
	--article-quote-padding: clamp(1.5rem, 2.8vw, 2.5rem);
	--article-quote-gap: clamp(1rem, 1.55vw, 1.25rem);
	--article-quote-radius: 1rem;
	--article-quote-text-width: 46rem;
	--article-quote-text-size: clamp(1.125rem, 1rem + 0.7vw, 1.5rem);
	--article-quote-icon-height: 1.625rem;
	--article-quote-icon-start-width: 1.81rem;
	--article-quote-icon-end-width: 1.822rem;
	--article-table-check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12' viewBox='0 0 16 12' fill='none'%3E%3Cpath d='M16 1.09854C16.0003 1.18008 15.9843 1.26087 15.9532 1.33622C15.922 1.41157 15.8762 1.47998 15.8184 1.5375L6.15072 11.2051C5.97084 11.3847 5.727 11.4856 5.47278 11.4856C5.21855 11.4856 4.97472 11.3847 4.79484 11.2051L0.181623 6.59188C0.0653222 6.4754 0 6.31753 0 6.15293C0 5.98833 0.0653222 5.83045 0.181623 5.71397L0.659592 5.23603C0.776234 5.12003 0.934053 5.05491 1.09856 5.05491C1.26307 5.05491 1.42089 5.12003 1.53753 5.23603L5.25431 8.95282C5.28294 8.98159 5.317 9.0044 5.3545 9.01993C5.39201 9.03546 5.43222 9.0434 5.47281 9.04329C5.55471 9.04305 5.63322 9.01054 5.69131 8.95282L14.4625 0.181597C14.579 0.0653118 14.7369 0 14.9015 0C15.066 0 15.2239 0.0653118 15.3404 0.181597L15.8185 0.659723C15.8763 0.717241 15.9221 0.785639 15.9532 0.860959C15.9843 0.93628 16.0003 1.01703 16 1.09854Z' fill='%2364C431'/%3E%3C/svg%3E");
	--article-table-cross-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='24' viewBox='0 0 16 24' fill='none'%3E%3Cpath d='M1.03695 19.7428C0.771594 19.7428 0.506044 19.6413 0.304082 19.4391C-0.101361 19.0339 -0.101361 18.3786 0.304082 17.9734L14.2302 4.0471C14.6354 3.64185 15.2907 3.64185 15.6959 4.0471C16.1014 4.45236 16.1014 5.1076 15.6959 5.51285L1.76983 19.4391C1.56654 19.6422 1.30231 19.7428 1.03695 19.7428Z' fill='%23F44336'/%3E%3Cpath d='M14.963 19.7428C14.6977 19.7428 14.4323 19.6413 14.2302 19.4391L0.304082 5.51285C-0.101361 5.1076 -0.101361 4.45236 0.304082 4.0471C0.709335 3.64185 1.36438 3.64185 1.76983 4.0471L15.6959 17.9734C16.1014 18.3786 16.1014 19.0339 15.6959 19.4391C15.4938 19.6422 15.2284 19.7428 14.963 19.7428Z' fill='%23F44336'/%3E%3C/svg%3E");
	padding: clamp(5rem, 5.85vw, 7rem) 0;
	color: var(--article-ink);
	background: var(--article-bg);
}

.article-content .container {
	width: min(100% - clamp(2rem, 3vw, 2.5rem), 1232px);
}

.article-content__layout {
	display: grid;
	grid-template-columns: minmax(0, 896px) minmax(16rem, 312px);
	gap: 1.5rem;
	align-items: start;
}

.article-content__main {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 4rem;
}

.article-toc,
.article-sidebar-card {
	overflow: hidden;
	border: 1px solid var(--article-accent-40);
	border-radius: var(--article-radius);
	background: #ffffff;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.article-toc__trigger {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem;
	border: 0;
	color: var(--article-accent);
	background: transparent;
	font-family: var(--site-font-heading);
	font-size: var(--site-font-size-18);
	font-weight: 700;
	line-height: 1.56;
	text-align: left;
	cursor: pointer;
}

.article-toc__icon {
	position: relative;
	display: inline-flex;
	width: 2rem;
	height: 2rem;
	flex: 0 0 2rem;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: var(--article-divider);
	transition: background 0.2s ease;
}

.article-toc__icon::before,
.article-toc__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0.875rem;
	height: 1.333px;
	border-radius: 999px;
	background: var(--article-soft);
	transform: translate(-50%, -50%);
	transition: background 0.2s ease, opacity 0.2s ease;
}

.article-toc__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.article-toc.is-open .article-toc__icon {
	background: var(--article-accent);
}

.article-toc:not(.is-open):hover .article-toc__icon {
	background: var(--article-accent);
}

.article-toc.is-open .article-toc__icon::before,
.article-toc:not(.is-open):hover .article-toc__icon::before,
.article-toc:not(.is-open):hover .article-toc__icon::after {
	background: #ffffff;
}

.article-toc.is-open .article-toc__icon::after {
	opacity: 0;
}

.article-toc__panel[hidden] {
	display: none;
}

.article-toc__panel {
	padding: 0 1rem 1rem;
}

.article-toc__divider,
.article-sidebar-card__divider {
	width: 100%;
	height: 1px;
	background: var(--article-divider);
}

.article-toc__list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
	counter-reset: article-toc;
}

.article-toc__item {
	counter-increment: article-toc;
}

.article-toc__link {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.625rem;
	color: var(--article-copy);
	font-size: var(--site-font-size-16);
	line-height: 1.75;
}

.article-toc__link::before {
	content: counter(article-toc) ".";
	color: currentColor;
}

.article-toc__link:hover {
	color: var(--article-accent);
	text-decoration: underline;
}

.article-content__body {
	display: flex;
	flex-direction: column;
	gap: 4rem;
}

.article-text-card {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding: 1.5625rem;
	border: 1px solid var(--article-accent-40);
	border-radius: var(--article-radius);
	background: #ffffff;
	box-shadow: var(--article-shadow);
}

.article-content__body h2,
.article-content__body h3,
.article-content__body p,
.article-content__body blockquote,
.article-content__body table {
	margin: 0;
}

.article-content__body h2 {
	color: var(--article-ink);
	font-family: var(--site-font-heading);
	font-size: clamp(2rem, 1.72rem + 0.85vw, 2.4rem);
	font-weight: 800;
	line-height: 1.2;
}

.article-content__toc-anchor {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.article-content__body h3 {
	color: var(--article-ink);
	font-family: var(--site-font-heading);
	font-size: clamp(1.25rem, 1.08rem + 0.46vw, 1.5rem);
	font-weight: 800;
	line-height: 1.5;
}

.article-content__body p,
.article-content__body li,
.article-content__body span {
	color: var(--article-copy);
	font-size: var(--site-font-size-16);
	font-weight: 400;
	line-height: 1.75;
}

.article-content__body strong {
	color: var(--article-accent);
	font-family: var(--site-font-heading);
	font-size: var(--site-font-size-16);
	font-weight: 700;
	line-height: 1.5;
}

.article-content__body ul {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.article-content__body li {
	position: relative;
	padding-left: 1.625rem;
}

.article-content__body li::before {
	content: "—";
	position: absolute;
	left: 0;
	color: var(--article-copy);
}

.article-body-group {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.article-body-group + .article-body-group {
	margin-top: 0.5rem;
}

.article-quote {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--article-quote-gap);
	padding: var(--article-quote-padding);
	border-radius: var(--article-quote-radius);
	color: #ffffff;
	background: var(--article-quote-bg);
	text-align: center;
}

.article-quote::before,
.article-quote::after {
	content: "";
	position: absolute;
	top: var(--article-quote-padding);
	height: var(--article-quote-icon-height);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	pointer-events: none;
}

.article-quote::before {
	left: var(--article-quote-padding);
	width: var(--article-quote-icon-start-width);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='26' viewBox='0 0 29 26' fill='none'%3E%3Cpath d='M17.7273 26L21.2727 0H28.9545V26H17.7273ZM0 26L3.54546 0H11.2273V26H0Z' fill='%23C8851A' fill-opacity='0.4'/%3E%3C/svg%3E");
}

.article-quote::after {
	right: var(--article-quote-padding);
	width: var(--article-quote-icon-end-width);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='26' viewBox='0 0 30 26' fill='none'%3E%3Cpath d='M17.8479 26V0H29.1515L25.5819 26H17.8479ZM0 26V0H11.3036L7.73408 26H0Z' fill='%23C8851A' fill-opacity='0.4'/%3E%3C/svg%3E");
}

.article-quote__text {
	display: flex;
	width: min(100%, var(--article-quote-text-width));
	flex-direction: column;
	align-items: center;
	gap: 0;
}

.article-quote__text p {
	width: 100%;
	color: #ffffff;
	font-family: var(--site-font-heading);
	font-size: var(--article-quote-text-size);
	font-weight: 800;
	line-height: 1.5;
}

.article-quote__author {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.625rem;
	margin: 0;
}

.article-quote__avatar {
	width: 2.5rem;
	height: 2.5rem;
	overflow: hidden;
	border: 0.317px solid #d9e3ea;
	border-radius: 999px;
	background: var(--article-tag-bg);
}

.article-quote__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.article-quote__person {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
}

.article-quote__person .article-quote__name {
	color: #ffffff;
	font-family: var(--site-font-heading);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.5;
}

.article-quote__person .article-quote__position {
	color: #ffffff;
	font-size: 0.75rem;
	line-height: 1.33;
}

.article-table-card {
	overflow-x: auto;
	padding: 1px;
	border: 1px solid var(--article-accent-40);
	border-radius: var(--article-radius);
	background: #ffffff;
	box-shadow: var(--article-shadow);
}

.article-content__body table {
	width: 100%;
	min-width: 42rem;
	border-collapse: collapse;
	background: #ffffff;
}

.article-content__body th,
.article-content__body td {
	padding: 1rem;
	border-bottom: 1px solid var(--article-accent-40);
	color: var(--article-copy);
	font-size: var(--site-font-size-16);
	font-weight: 400;
	line-height: 1.625;
	text-align: left;
	vertical-align: middle;
}

.article-content__body tr:last-child td {
	border-bottom: 0;
}

.article-content__body th {
	color: var(--article-ink);
	font-family: var(--site-font-heading);
	font-weight: 700;
}

.article-table-mark {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
}

.article-table-mark::before {
	content: "";
	display: inline-flex;
	width: 1rem;
	height: 1rem;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

.article-table-mark--yes::before {
	height: 0.75rem;
	background-image: var(--article-table-check-icon);
}

.article-table-mark--no::before {
	height: 1.5rem;
	background-image: var(--article-table-cross-icon);
}

.article-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.125rem;
	padding: 2.5rem;
	border-radius: 1.5rem;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1);
}

.article-cta__text {
	width: min(100%, 28.9375rem);
}

.article-cta__title {
	margin: 0;
	color: var(--article-ink);
	font-family: var(--site-font-heading);
	font-size: var(--site-font-size-18);
	font-weight: 700;
	line-height: 1.56;
}

.article-cta__description {
	margin: 0.5rem 0 0;
	color: var(--article-muted);
	font-size: var(--site-font-size-14);
	line-height: 1.43;
}

.article-cta__button {
	display: inline-flex;
	min-height: 3.625rem;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	padding: 1rem 2rem;
	border-radius: var(--site-radius-button);
	color: #ffffff;
	background: var(--article-accent);
	font-size: var(--site-font-size-18);
	font-weight: 700;
	line-height: 1.48;
	letter-spacing: var(--site-letter-spacing-button);
	white-space: nowrap;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.article-cta__button:hover {
	color: #ffffff;
	background: var(--article-accent-dark);
	transform: translateY(-0.0625rem);
}

.article-cta__button-icon {
	display: block;
	width: 1.5rem;
	height: 1.5rem;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

.article-sidebar {
	position: sticky;
	top: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-width: 0;
}

.article-sidebar-card {
	padding: 1px;
}

.article-sidebar-card__title {
	margin: 0;
	padding: 1rem;
	color: var(--article-accent);
	font-family: var(--site-font-heading);
	font-size: var(--site-font-size-18);
	font-weight: 700;
	line-height: 1.56;
}

.article-sidebar-card__divider {
	width: calc(100% - 2rem);
	margin: 0 1rem;
}

.article-reviewer,
.article-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	padding: 1.25rem 1rem 1rem;
}

.article-reviewer {
	align-items: flex-start;
}

.article-reviewer__photo {
	width: 2.5rem;
	height: 2.5rem;
	flex: 0 0 auto;
	border: 1px solid #d9e3ea;
	border-radius: 999px;
	object-fit: cover;
}

.article-reviewer__body {
	display: flex;
	min-width: 0;
	flex: 1 1 0;
	flex-direction: column;
	gap: 0.25rem;
}

.article-reviewer__name {
	color: var(--article-ink);
	font-family: var(--site-font-heading);
	font-size: var(--site-font-size-16);
	font-weight: 700;
	line-height: 1.5;
}

.article-reviewer__position {
	color: var(--article-ink);
	font-size: 0.75rem;
	line-height: 1.33;
}

.article-reviewer__badge,
.article-tags__item {
	display: inline-flex;
	width: fit-content;
	align-items: center;
	justify-content: center;
	padding: 0.125rem 0.5rem;
	border-radius: 0.25rem;
	color: var(--article-green);
	background: var(--article-tag-bg);
	font-size: 0.75rem;
	line-height: 1.33;
}

.article-tags__item {
	padding: 0.5rem 1rem;
	color: var(--article-copy);
	font-family: var(--site-font-heading);
	font-size: var(--site-font-size-14);
	font-weight: 500;
	line-height: 1.43;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.article-tags__item:hover {
	color: var(--article-green);
	background: var(--article-tag-bg);
}

@media (max-width: 1199.98px) {
	.article-content__layout {
		grid-template-columns: 1fr;
	}

	.article-sidebar {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767.98px) {
	.article-content {
		--article-quote-padding: clamp(1.25rem, 6vw, 2rem);
		--article-quote-gap: 1rem;
		--article-quote-text-size: clamp(1rem, 4.5vw, 1.125rem);
		padding: clamp(4rem, 14vw, 5rem) 0;
	}

	.article-content__main,
	.article-content__body {
		gap: 2.5rem;
	}

	.article-text-card {
		padding: 1.25rem;
	}

	.article-quote {
		min-height: 0;
	}

	.article-quote__text {
		padding-right: 2rem;
		padding-left: 2rem;
	}

	.article-cta {
		align-items: flex-start;
		flex-direction: column;
		padding: 1.5rem;
	}

	.article-cta__button {
		width: 100%;
		white-space: normal;
		text-align: center;
	}

	.article-sidebar {
		grid-template-columns: 1fr;
	}
}
