/**
 * Blog article template (Figma "Blog Detail Template" 36:12120).
 */
.avx-article__container {
	box-sizing: border-box;
	width: 100%;
	max-width: calc(1360px + 48px);
	margin: 0 auto;
	padding: 0 24px;
}

.avx-article__container--narrow {
	max-width: calc(980px + 48px);
	text-align: center;
}

/* Header */
.avx-article__header {
	padding: 64px 0 48px;
	background: linear-gradient(190deg, #fff 13%, #fff7f1 50%, #f4f2ff 87%);
}

.avx-article__crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 24px;
	color: var(--avx-text-muted);
	font-size: 14px;
	font-weight: 500;
}

.avx-article__crumbs a {
	color: inherit;
	text-decoration: none;
}

.avx-article__crumbs a:hover {
	color: var(--avx-orange-500);
}

.avx-article__crumbs [aria-current] {
	color: var(--avx-orange-500);
	font-weight: 600;
}

.avx-article__eyebrow {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--avx-orange-100);
	color: var(--avx-orange-500);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 1.6px;
	text-transform: uppercase;
}

.avx-article h1.avx-article__title {
	margin: 20px 0 28px;
	color: var(--avx-text-primary);
	font-size: 56px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -1.5px;
}

.avx-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 28px;
	color: var(--avx-text-muted);
	font-size: 14px;
	font-weight: 500;
}

.avx-article__author {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-align: left;
}

.avx-article__author strong {
	display: block;
	color: var(--avx-text-primary);
	font-size: 16px;
}

.avx-article__avatar {
	flex: none;
	border-radius: 50%;
}

.avx-article__fact {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* Featured image */
.avx-article__featured {
	margin: 0 0 64px;
	overflow: hidden;
	border-radius: 28px;
}

.avx-article__featured img {
	display: block;
	width: 100%;
	height: 560px;
	object-fit: cover;
}

/* Layout */
.avx-article__layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 760px);
	justify-content: center;
	gap: 80px;
	padding-bottom: 112px;
}

.avx-article__aside {
	position: sticky;
	top: 110px;
	align-self: start;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.avx-article__aside-title {
	margin: 0 0 12px;
	color: var(--avx-text-muted);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.6px;
	text-transform: uppercase;
}

.avx-article__toc ol {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 0 0 0 14px;
	border-left: 2px solid var(--avx-border);
	list-style: none;
}

.avx-article__toc a {
	display: block;
	padding: 6px 0;
	color: var(--avx-text-secondary);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.55;
	text-decoration: none;
}

.avx-article__toc a:hover,
.avx-article__toc a.is-active {
	color: var(--avx-orange-500);
}

.avx-article__share {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.avx-article__share .avx-article__aside-title {
	width: 100%;
}

.avx-article__share a,
.avx-article__share button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--avx-border);
	border-radius: 12px;
	background: var(--avx-surface);
	color: var(--avx-text-primary);
	cursor: pointer;
}

.avx-article__share a:hover,
.avx-article__share button:hover,
.avx-article__share button.is-copied {
	border-color: var(--avx-orange-500);
	color: var(--avx-orange-500);
}

/* Body */
.avx-article__content {
	color: var(--avx-text-secondary);
	font-size: 18px;
	line-height: 1.8;
}

.avx-article__content > * + * {
	margin-top: 24px;
}

.avx-article__content p {
	margin: 0;
}

.avx-article__content > p:first-child {
	color: var(--avx-text-primary);
	font-size: 20px;
}

.avx-article__content h2 {
	margin: 48px 0 0;
	color: var(--avx-text-primary);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.6px;
	scroll-margin-top: 110px;
}

.avx-article__content blockquote {
	margin: 32px 0;
	padding: 28px 32px;
	border: 0;
	border-left: 4px solid var(--avx-orange-500);
	border-radius: 0 20px 20px 0;
	background: var(--avx-orange-100);
	color: var(--avx-text-primary);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.5;
}

.avx-article__content blockquote p {
	margin: 0;
}

.avx-article__content ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.avx-article__content ul li {
	position: relative;
	padding-left: 36px;
}

.avx-article__content ul li + li {
	margin-top: 12px;
}

.avx-article__content ul li::before {
	content: "";
	position: absolute;
	top: 5px;
	left: 0;
	width: 24px;
	height: 24px;
	border-radius: 12px;
	background: var(--avx-orange-100) url("../images/icons/check.svg") center / 14px no-repeat;
}

.avx-article__content figure {
	margin: 40px 0;
}

.avx-article__content figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 20px;
}

.avx-article__content figcaption {
	margin-top: 12px;
	color: var(--avx-text-muted);
	font-size: 14px;
	text-align: center;
}

.avx-article__bio {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 48px;
	padding: 24px;
	border: 1px solid var(--avx-border);
	border-radius: 20px;
	background: var(--avx-bg-subtle);
}

.avx-article__bio strong {
	color: var(--avx-text-primary);
	font-size: 16px;
}

.avx-article__bio p {
	margin: 4px 0 0;
	color: var(--avx-text-muted);
	font-size: 14px;
	line-height: 1.55;
}

.avx-article__bio > div {
	flex: 1 1 auto;
}

.avx-article__follow {
	flex: none;
	padding: 10px 18px;
	border: 1.5px solid var(--avx-navy-900);
	border-radius: 10px;
	color: var(--avx-text-primary);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.avx-article__follow:hover {
	background: var(--avx-navy-900);
	color: #fff;
}

/* Related */
.avx-article__related {
	padding: 112px 0;
	background: var(--avx-bg-subtle);
}

.avx-article__related-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin-bottom: 56px;
	text-align: center;
}

.avx-article__related-head h2 {
	margin: 0;
	color: var(--avx-text-primary);
	font-size: 48px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -1.2px;
}

.avx-article__related-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Newsletter */
.avx-article__newsletter {
	padding: 112px 0;
}

.avx-article__newsletter-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding: 56px;
	border-radius: 28px;
	background: linear-gradient(200deg, #0a1230 14.6%, #2a1b5e 85.4%);
	color: #fff;
}

.avx-article__newsletter-card h2 {
	margin: 0 0 8px;
	color: #fff;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -1px;
}

.avx-article__newsletter-card p {
	margin: 0;
	color: var(--avx-text-inverse-muted);
	font-size: 18px;
}

@media (max-width: 1024px) {
	.avx-article h1.avx-article__title {
		font-size: 44px;
	}

	.avx-article__featured img {
		height: 420px;
	}

	.avx-article__layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
		padding-bottom: 80px;
	}

	.avx-article__aside {
		position: static;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.avx-article__related,
	.avx-article__newsletter {
		padding: 80px 0;
	}

	.avx-article__related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.avx-article__newsletter-card {
		flex-direction: column;
		align-items: stretch;
		padding: 40px;
	}
}

@media (max-width: 767px) {
	.avx-article__container {
		padding: 0 16px;
	}

	.avx-article__container--narrow {
		text-align: left;
	}

	.avx-article__header {
		padding: 32px 0 32px;
	}

	.avx-article__crumbs,
	.avx-article__meta {
		justify-content: flex-start;
	}

	.avx-article h1.avx-article__title {
		font-size: 32px;
		letter-spacing: -0.8px;
	}

	.avx-article__featured {
		margin-bottom: 32px;
		border-radius: 20px;
	}

	.avx-article__featured img {
		height: 240px;
	}

	.avx-article__aside {
		flex-direction: column;
	}

	.avx-article__content {
		font-size: 16px;
	}

	.avx-article__content h2 {
		font-size: 24px;
	}

	.avx-article__content blockquote {
		padding: 20px;
		font-size: 18px;
	}

	.avx-article__bio {
		flex-wrap: wrap;
	}

	.avx-article__related,
	.avx-article__newsletter {
		padding: 56px 0;
	}

	.avx-article__related-head h2 {
		font-size: 32px;
	}

	.avx-article__related-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.avx-article__newsletter-card {
		padding: 24px;
		border-radius: 20px;
	}

	.avx-article__newsletter-card h2 {
		font-size: 28px;
	}
}
