/* =============================================
   Single blog article — Figma "blog article" (81:7958)
   Reading column ~860px, auto TOC card, prose body.
   ============================================= */

.tl-article {
	background: #eaebe6;
	color: #333a42;
	font-family: 'Nunito Sans', 'Nunito Sans Fallback', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	padding: 64px 24px 96px;
}
.tl-article__wrap { max-width: 860px; margin: 0 auto; }

/* ── Header ─────────────────────────────────── */
.tl-article__breadcrumb {
	margin: 0 0 20px;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: #809595;
}
.tl-article__breadcrumb a { color: inherit; text-decoration: none; }
.tl-article__breadcrumb a:hover { text-decoration: underline; }
.tl-article__breadcrumb span { margin: 0 6px; opacity: .6; }

.tl-article__title {
	margin: 0 0 16px;
	font-size: 44px;
	line-height: 1.18;
	font-weight: 600;
	letter-spacing: 0;
	color: #002244;
}
.tl-article__meta {
	margin: 0 0 32px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	color: #787d84;
}
.tl-article__sep { opacity: .6; }

.tl-article__media {
	margin: 0 0 48px;
	border-radius: 6px;
	overflow: hidden;
	aspect-ratio: 860 / 460;
}
.tl-article__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ── TOC card ───────────────────────────────── */
.tl-article-toc {
	border: 1px solid rgba(51, 58, 66, 0.18);
	border-radius: 8px;
	padding: 32px 40px;
	margin: 0 0 48px;
	background: transparent;
}
.tl-article-toc__title {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 700;
	color: #002244;
}
.tl-article-toc__list { margin: 0; padding: 0; list-style: none; }
.tl-article-toc__list li { position: relative; padding: 6px 0 6px 18px; }
.tl-article-toc__list li::before {
	content: ""; position: absolute; left: 0; top: 14px;
	width: 4px; height: 4px; border-radius: 50%; background: #333a42;
}
.tl-article-toc__list a {
	font-size: 17px; line-height: 1.4; color: #333a42;
	text-decoration: underline; text-underline-offset: 3px;
	text-decoration-color: rgba(51,58,66,0.35); transition: color .15s ease;
}
.tl-article-toc__list a:hover { color: #002244; text-decoration-color: #002244; }

/* ── Prose body ─────────────────────────────── */
.tl-article__body { font-size: 17px; line-height: 1.7; color: #333a42; }
.tl-article__body > * { margin: 0 0 20px; }
.tl-article__body > *:last-child { margin-bottom: 0; }
.tl-article__body h2 {
	margin: 48px 0 16px; font-size: 30px; line-height: 1.25;
	font-weight: 600; color: #002244; scroll-margin-top: 96px;
}
.tl-article__body h3 {
	margin: 32px 0 12px; font-size: 22px; line-height: 1.3;
	font-weight: 600; color: #002244; scroll-margin-top: 96px;
}
.tl-article__body p { margin: 0 0 20px; }
.tl-article__body ul,
.tl-article__body ol { margin: 0 0 20px; padding-left: 22px; }
.tl-article__body li { margin: 0 0 8px; }
.tl-article__body ul { list-style: disc; }
.tl-article__body ol { list-style: decimal; }
.tl-article__body a { color: #002244; text-decoration: underline; text-underline-offset: 2px; }
.tl-article__body img,
.tl-article__body figure { max-width: 100%; height: auto; border-radius: 6px; }
.tl-article__body figure { margin: 32px 0; }
.tl-article__body blockquote {
	margin: 32px 0; padding: 8px 0 8px 24px;
	border-left: 3px solid #333a42; font-size: 20px; line-height: 1.5; color: #002244;
}
.tl-article__body strong { font-weight: 700; color: #002244; }

/* ── Tags ───────────────────────────────────── */
.tl-article__tags { margin: 48px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tl-article__tag {
	font-size: 14px; color: #809595; text-decoration: none;
	padding: 6px 14px; border: 1px solid rgba(51,58,66,0.2); border-radius: 999px;
	transition: background-color .15s ease, color .15s ease;
}
.tl-article__tag:hover { background: rgba(51,58,66,0.08); color: #002244; }

/* ── Mobile ─────────────────────────────────── */
@media (max-width: 767px) {
	.tl-article { padding: 40px 20px 64px; }
	.tl-article__title { font-size: 30px; }
	.tl-article__media { margin-bottom: 32px; aspect-ratio: 408 / 260; }
	.tl-article-toc { padding: 24px; margin-bottom: 32px; }
	.tl-article__body { font-size: 16px; }
	.tl-article__body h2 { font-size: 24px; margin-top: 36px; }
	.tl-article__body h3 { font-size: 19px; }
}

/* ── Full-width section blocks embedded inside the article body ──────────────
   section-intro / faq / video are page-section components. Inside the narrow
   reading column we trim their oversized section padding and stop the prose
   styles (list bullets, link colour/underline) from leaking into them. */
.tl-article__body .tl-section-intro,
.tl-article__body .tl-faq,
.tl-article__body .tl-video { padding-left: 0; padding-right: 0; border-bottom: 0; }
.tl-article__body .tl-section-intro { padding-top: 24px; padding-bottom: 4px; }
.tl-article__body .tl-faq { padding-top: 4px; padding-bottom: 8px; }
.tl-article__body .tl-video { padding-top: 12px; padding-bottom: 16px; }

.tl-article__body .tl-section-intro__container,
.tl-article__body .tl-faq__container { max-width: none; padding-left: 0; padding-right: 0; border-bottom: 0; }

/* section-intro: stack eyebrow + heading on the LEFT (no right-pushed heading) */
.tl-article__body .tl-section-intro__container { display: block; }
.tl-article__body .tl-section-intro__right {
	width: 100%;
	align-items: flex-start;   /* was flex-end → heading pushed right */
	text-align: left;
	margin-top: 10px;
}
.tl-article__body .tl-section-intro__heading { text-align: left; margin-top: 0; }

/* video poster must fill the carousel viewport even before the lazy image
   loads — beats the prose `.tl-article__body img { height: auto }` rule, which
   would otherwise collapse the not-yet-loaded poster to 0 height. */
.tl-article__body .tl-faq__photo { height: 100%; }

/* accordion: kill prose disc bullets */
.tl-article__body .tl-faq__list,
.tl-article__body .tl-faq__list > li { list-style: none; margin-left: 0; padding-left: 0; }
.tl-article__body .tl-faq__list > li::before { content: none; }

/* button block: keep the theme label light & un-underlined — the prose
   `.tl-article__body a` rule would otherwise tint it blue + underline. */
.tl-article__body .tl-button,
.tl-article__body .tl-button:hover,
.tl-article__body .tl-button:focus { color: #eaebe6; text-decoration: none; }
