/*
 * The article (a guide), from the Claude Design boards "Guide article,
 * reading layout" and "Article typography, body elements" (2026-11-21),
 * value for value (single-post.php, inc/t-article.php). Classes vfr-; the
 * guide cards in "More from" are the blog's (.vfb-card, copied at the end).
 */

/* ── The dark top: kicker, title, intro, byline in one 880px column ───── */
body.single-post .vfi-top__row { flex-direction: column; align-items: flex-start; gap: 0; max-width: 880px; }
body.single-post .vfi-top__main,
body.single-post .vfi-top__meta { display: contents; }
body.single-post .vfi-top__title { order: 1; margin: 0 0 24px; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.06; }
body.single-post .vfi-top__lede { order: 2; flex: none; max-width: 720px; margin: 0 0 32px; font-size: 19px; }
.vfr-kicker {
	order: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 20px;
	font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.vfr-kicker a { color: rgba(255, 255, 255, .74); text-decoration: none; }
.vfr-kicker a:hover { color: #FFFFFF; }
.vfr-kicker__sep { color: rgba(255, 255, 255, .3); }
.vfr-kicker .vfr-kicker__stage { display: inline-flex; align-items: center; gap: 8px; color: var(--vfr-ink, #A9A3FF); }
.vfr-kicker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--vfr-dot, #6C63FF); }
.vfr-byline { order: 3; display: flex; align-items: center; gap: 14px; }
.vfr-byline__photo { flex: none; display: block; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.vfr-byline__photo--initials { display: flex; align-items: center; justify-content: center; background: #6C63FF; color: #FFFFFF; font-size: 15px; font-weight: 800; }
.vfr-byline__text { color: rgba(255, 255, 255, .74); font-size: 15px; line-height: 1.5; }
.vfr-byline__text a { color: #FFFFFF; font-weight: 700; text-decoration: none; }
.vfr-byline__text a:hover { color: #A9A3FF; }

/* The bar under the dark top (the stage's progress). */
.vfb-topbar { background: #0D0F1E; }
.vfb-topbar > div { height: 4px; }

/* ── Reading column and sidebar ────────────────────────────────────────── */
.vfr-wrap, .vfr-more { font-family: Manrope, system-ui, sans-serif; color: #0D0F1E; }
.vfr-wrap *, .vfr-more * { box-sizing: border-box; }
.vfr-wrap { background: #FFFFFF; }
.vfr-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 64px 80px; padding-top: 72px; padding-bottom: 96px; }
.vfr-article { flex: 999 1 600px; min-width: 0; max-width: 720px; }
.vfr-image { margin: 0 0 48px; }
.vfr-image img { display: block; width: 100%; height: auto; border-radius: 14px; }
.vfr-image figcaption { margin-top: 12px; color: #5F6178; font-size: 15px; line-height: 1.5; }

.vfr-side { flex: 1 1 300px; max-width: 360px; position: sticky; top: calc(var(--vef-chrome, 88px) + 24px); display: flex; flex-direction: column; gap: 24px; }
.vfr-side__cta { padding: 32px 28px; border: 1px solid #E6E4F5; border-radius: 18px; background: #F4F3FF; }
.vfr-side__mark { display: block; width: 40px; height: 40px; margin-bottom: 18px; object-fit: contain; }
body.vf .vfr-side__title { margin: 0 0 12px; color: #0D0F1E; font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.vfr-side__text { margin: 0 0 24px; color: #4A4C63; font-size: 16px; line-height: 1.6; }
.vfr-side__button {
	display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 24px; border-radius: 10px;
	background: #6C63FF; color: #FFFFFF; font-size: 16px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none;
	transition: background-color .15s ease;
}
.vfr-side__button:hover { background: color-mix(in srgb, #6C63FF 82%, #000); color: #FFFFFF; }
.vfr-side__fine { margin: 16px 0 0; color: #5F6178; font-size: 15px; line-height: 1.5; }

/* The guide search (sidebar). */
.vfb-search { display: flex; gap: 8px; }
.vfb-search__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vfb-search__field {
	flex: 1 1 auto; min-width: 0; min-height: 46px; padding: 0 14px; border-radius: 10px;
	border: 1px solid #CFCCE6; background: #FFFFFF; color: #0D0F1E; font: 500 15px Manrope, sans-serif;
}
.vfb-search__button {
	min-height: 46px; padding: 0 18px; border-radius: 10px; border: 0; background: #0D0F1E; color: #FFFFFF;
	font: 700 15px Manrope, sans-serif; cursor: pointer;
}
.vfb-search__button:hover { background: #4F47D6; }

/* ── The article body: every element (typography board) ───────────────── */
body.vf .vfr-body { color: #2E3044; font-size: 19px; line-height: 1.7; overflow-wrap: break-word; }
body.vf .vfr-body > :first-child { margin-top: 0; }
body.vf .vfr-body > p:first-child { color: #0D0F1E; font-size: 21px; line-height: 1.65; font-weight: 500; }
body.vf .vfr-body p { margin: 0 0 22px; }
body.vf .vfr-body p:has(+ :is(ul, ol)) { margin-bottom: 16px; }
body.vf .vfr-body strong, body.vf .vfr-body b { color: #0D0F1E; font-weight: 700; }
body.vf .vfr-body a { color: #4F47D6; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
body.vf .vfr-body a:hover { color: #0D0F1E; }

body.vf .vfr-body h2 { margin: 56px 0 20px; color: #0D0F1E; font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.vfr-step { display: block; margin-bottom: 8px; color: #4F47D6; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
body.vf .vfr-body h3 { margin: 40px 0 16px; color: #0D0F1E; font-size: 23px; line-height: 1.3; font-weight: 800; letter-spacing: -.015em; }
body.vf .vfr-body h4 { margin: 32px 0 12px; color: #4F47D6; font-size: 15px; line-height: 1.4; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
body.vf .vfr-body :is(h2, h3, h4) + :is(h2, h3, h4) { margin-top: 0; }

body.vf .vfr-body :is(ul, ol) { display: flex; flex-direction: column; gap: 8px; margin: 0 0 32px; padding-left: 28px; }
body.vf .vfr-body li { padding-left: 6px; }
body.vf .vfr-body li::marker { color: #4A4C63; font-weight: 500; } /* as the board: plain numbers */
body.vf .vfr-body li > :is(ul, ol) { margin: 8px 0 0; }

/* Quote and pull quote: the quote mark, the line large, the attribution under. */
body.vf .vfr-body :is(blockquote, .wp-block-pullquote) { margin: 48px 0; padding: 8px 0; border: 0; background: none; text-align: left; }
body.vf .vfr-body .wp-block-pullquote blockquote { margin: 0; padding: 0; border: 0; }
body.vf .vfr-body blockquote::before, body.vf .vfr-body .wp-block-pullquote::before {
	content: ""; display: block; width: 36px; height: 36px; margin-bottom: 12px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E3DB8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7H6a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h3v-4H5.5M9 7v7c0 2-1 3-3 4'/%3E%3Cpath d='M20 7h-3a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h3v-4h-3.5M20 7v7c0 2-1 3-3 4'/%3E%3C/svg%3E") no-repeat center / contain;
}
body.vf .vfr-body .wp-block-pullquote blockquote::before { display: none; }
body.vf .vfr-body blockquote p { margin: 0 0 14px; color: #0D0F1E; font-size: 27px; line-height: 1.4; font-weight: 700; letter-spacing: -.015em; font-style: normal; }
body.vf .vfr-body blockquote :is(cite, footer) { display: block; color: #5F6178; font-size: 15px; font-weight: 600; font-style: normal; }

/* Image and caption. */
body.vf .vfr-body :is(.wp-block-image, figure:not(.wp-block-table, .wp-block-embed, .wp-block-pullquote)) { margin: 48px 0; }
body.vf .vfr-body .wp-block-image img, body.vf .vfr-body figure img { display: block; max-width: 100%; height: auto; border-radius: 14px; }
body.vf .vfr-body figcaption, body.vf .vfr-body .wp-element-caption { margin: 12px 0 0; color: #5F6178; font-size: 15px; line-height: 1.5; text-align: left; }

/* Table: scrolls inside its frame on a phone, never the page. */
body.vf .vfr-body .wp-block-table { margin: 48px 0; overflow-x: auto; border: 1px solid #E6E4F5; border-radius: 14px; }
body.vf .vfr-body .wp-block-table table { width: 100%; min-width: 480px; margin: 0; border-collapse: collapse; font-size: 17px; line-height: 1.5; }
body.vf .vfr-body .wp-block-table :is(thead, tfoot) { border: 0; }
body.vf .vfr-body .wp-block-table :is(th, td) { padding: 14px 20px; border: 0; text-align: left; vertical-align: top; }
body.vf .vfr-body .wp-block-table thead tr { background: #F4F3FF; }
body.vf .vfr-body .wp-block-table thead th { color: #4F47D6; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
body.vf .vfr-body .wp-block-table tbody tr { border-top: 1px solid #E6E4F5; }
body.vf .vfr-body .wp-block-table table > tbody:first-child > tr:first-child { border-top: 0; }
body.vf .vfr-body .wp-block-table tbody :is(th, td:first-child) { color: #0D0F1E; font-weight: 700; }
body.vf .vfr-body .wp-block-table figcaption { margin: 0; padding: 12px 20px; border-top: 1px solid #E6E4F5; }

/* Buttons. */
body.vf .vfr-body .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 48px; }
body.vf .vfr-body .wp-block-button__link {
	display: inline-flex; align-items: center; min-height: 48px; padding: 16px 28px; border: 0; border-radius: 10px;
	background: #6C63FF; color: #FFFFFF; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none;
	transition: background-color .15s ease;
}
body.vf .vfr-body .wp-block-button__link:hover { background: color-mix(in srgb, #6C63FF 82%, #000); color: #FFFFFF; }
body.vf .vfr-body .is-style-outline .wp-block-button__link { background: transparent; color: #0D0F1E; box-shadow: inset 0 0 0 1px #CFCCE6; }
body.vf .vfr-body .is-style-outline .wp-block-button__link:hover { background: #0D0F1E; color: #FFFFFF; box-shadow: none; }

body.vf .vfr-body hr { margin: 56px 0; border: 0; border-top: 1px solid #E6E4F5; }

/* A tip: a paragraph or group with the class vfr-tip, its label in bold first. */
body.vf .vfr-body .vfr-tip {
	display: flex; gap: 16px; align-items: flex-start; margin: 0 0 24px; padding: 22px 24px;
	border: 1px solid #C9C5F5; border-radius: 14px; background: #FFFFFF; color: #2E3044; font-size: 17px; line-height: 1.6;
}
body.vf .vfr-body .vfr-tip::before {
	content: ""; flex: 0 0 auto; width: 24px; height: 24px; margin-top: 3px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E3DB8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4'/%3E%3Cpath d='M12 3a6 6 0 0 0-3.5 10.9c.6.5 1 1.2 1 2.1h5c0-.9.4-1.6 1-2.1A6 6 0 0 0 12 3z'/%3E%3C/svg%3E") no-repeat center / contain;
}
body.vf .vfr-body .vfr-tip > strong:first-child { display: block; margin-bottom: 4px; color: #8E3DB8; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
body.vf .vfr-body p.vfr-tip { display: block; position: relative; padding-left: 64px; }
body.vf .vfr-body p.vfr-tip::before { position: absolute; left: 24px; top: 22px; }

/* ── Key Takeaways ─────────────────────────────────────────────────────── */
body.vf .vfr-body .vfr-takeaways { margin: 40px 0 56px; padding: 32px 32px 28px; border: 1px solid #E6E4F5; border-radius: 18px; background: #F4F3FF; }
body.vf .vfr-body > .vfr-takeaways:first-child { margin-top: 0; }
body.vf .vfr-body .vfr-takeaways__title { margin: 0 0 20px; color: #4F47D6; font-size: 13px; line-height: 1.4; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
body.vf .vfr-body .vfr-takeaways :is(ul, ol) { gap: 14px; margin: 0; padding: 0; list-style: none; color: #2E3044; font-size: 17px; line-height: 1.6; }
body.vf .vfr-body .vfr-takeaways li { display: flex; gap: 14px; padding: 0; }
body.vf .vfr-body .vfr-takeaways li::before {
	content: ""; flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F47D6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / contain;
}
body.vf .vfr-body .vfr-takeaways p:last-child { margin-bottom: 0; }

/* ── Frequently Asked Questions ────────────────────────────────────────── */
body.vf .vfr-body .vfr-faq { margin: 64px 0; }
body.vf .vfr-body .vfr-faq__title { margin: 0 0 8px; }
body.vf .vfr-body .vfr-faq > p { margin: 0 0 24px; color: #4A4C63; font-size: 17px; }
.vfr-faq__list { border-top: 1px solid #E6E4F5; }
.vfr-faq__item { border-bottom: 1px solid #E6E4F5; }
.vfr-faq__q {
	display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 0;
	list-style: none; cursor: pointer;
}
.vfr-faq__q::-webkit-details-marker { display: none; }
.vfr-faq__q::marker { content: ""; }
.vfr-faq__q svg { flex: 0 0 auto; }
body.vf .vfr-body .vfr-faq__q h3 { margin: 0; color: #0D0F1E; font-size: 19px; line-height: 1.4; font-weight: 700; letter-spacing: 0; }
body.vf .vfr-faq__q:hover h3 { color: #4F47D6; }
.vfr-faq__item[open] .vfr-faq__v { display: none; }
.vfr-faq__a { color: #2E3044; font-size: 18px; line-height: 1.7; }
body.vf .vfr-body .vfr-faq__a > :last-child { margin-bottom: 24px; }

/* ── Related Guides ────────────────────────────────────────────────────── */
body.vf .vfr-body .vfr-related { margin: 64px 0 56px; }
body.vf .vfr-body .vfr-related__title { margin: 0 0 16px; color: #4F47D6; font-size: 13px; line-height: 1.4; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
body.vf .vfr-body .vfr-related :is(ul, ol) { gap: 0; margin: 0; padding: 0; border-top: 1px solid #E6E4F5; list-style: none; }
body.vf .vfr-body .vfr-related li { padding: 0; border-bottom: 1px solid #E6E4F5; }
body.vf .vfr-body .vfr-related li > a {
	display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px;
	color: #0D0F1E; font-size: 18px; font-weight: 700; text-decoration: none;
}
body.vf .vfr-body .vfr-related li > a::after { content: "\2192"; color: #4F47D6; }
body.vf .vfr-body .vfr-related li > a:hover { color: #4F47D6; }

/* ── The offer (the content's last section, with its button) ──────────── */
body.vf .vfr-body .vfr-cta {
	position: relative; overflow: hidden; margin: 56px 0 40px; padding: 40px 36px 36px;
	border: 1px solid #C9C5F5; border-radius: 18px; background: #FFFFFF;
}
body.vf .vfr-body .vfr-cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #6C63FF, #BB59E0); }
body.vf .vfr-body .vfr-cta__eyebrow { margin: 0 0 10px; color: #8E3DB8; font-size: 13px; line-height: 1.4; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
body.vf .vfr-body .vfr-cta h3 { margin: 0 0 14px; font-size: 28px; line-height: 1.2; letter-spacing: -.02em; }
body.vf .vfr-body .vfr-cta p { margin: 0 0 24px; font-size: 18px; line-height: 1.65; }
body.vf .vfr-body .vfr-cta .wp-block-buttons { margin: 0; }
body.vf .vfr-body .vfr-cta .wp-block-buttons + p { margin: 16px 0 0; color: #5F6178; font-size: 15px; line-height: 1.5; }
body.vf .vfr-body .vfr-cta > :last-child { margin-bottom: 0; }

/* ── Author box ────────────────────────────────────────────────────────── */
.vfr-author { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; padding: 32px; border-radius: 18px; background: #F4F3FF; }
.vfr-author__photo { flex: 0 0 auto; display: block; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.vfr-author__photo--initials { display: flex; align-items: center; justify-content: center; background: #6C63FF; color: #FFFFFF; font-size: 30px; font-weight: 800; }
.vfr-author__body { flex: 1 1 280px; min-width: 0; }
.vfr-author__label { margin: 0 0 4px; color: #4F47D6; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
body.vf .vfr-author__name { margin: 0 0 10px; color: #0D0F1E; font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -.015em; }
.vfr-author__role { margin: -4px 0 10px; color: #5F6178; font-size: 15px; font-weight: 600; }
.vfr-author__bio { color: #4A4C63; font-size: 16px; line-height: 1.65; }
.vfr-author__bio p { margin: 0 0 12px; }
.vfr-author__bio p:last-child { margin-bottom: 0; }
.vfr-author__more { display: inline-block; margin-top: 12px; color: #4F47D6; font-size: 15px; font-weight: 700; text-decoration: none; }

/* ── More from the blog ────────────────────────────────────────────────── */
.vfr-more { border-top: 1px solid #E6E4F5; background: #F4F3FF; }
.vfr-more__in { padding-top: 88px; padding-bottom: 96px; }
.vfr-more__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 32px; }
body.vf .vfr-more__title { margin: 0; color: #0D0F1E; font-size: 36px; line-height: 1.1; font-weight: 800; letter-spacing: -.025em; }
.vfr-more__all { color: #4F47D6; font-size: 15px; font-weight: 700; text-decoration: none; }
.vfr-more__all:hover { color: #0D0F1E; }

/* Guide card: the same rules as t-blog.css. */
.vfb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.vfb-card {
	display: flex; flex-direction: column; overflow: hidden; border: 1px solid #E6E4F5; border-radius: 18px;
	background: #FFFFFF; color: #0D0F1E; text-decoration: none; transition: box-shadow .2s ease, transform .2s ease;
}
.vfb-card:hover { box-shadow: 0 18px 40px -22px rgba(13, 15, 30, .35); transform: translateY(-3px); color: #0D0F1E; }
.vfb-image {
	position: relative; display: flex; align-items: center; justify-content: center; height: 200px; overflow: hidden;
	border-bottom: 4px solid var(--vfb-bar, #6C63FF); background: #0D0F1E;
}
.vfb-image__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vfb-image__mark { display: block; width: 64px; height: 64px; object-fit: contain; }
.vfb-card__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.vfb-meta { display: flex; align-items: center; gap: 10px; }
.vfb-meta__stage { color: var(--vfb-ink, #4F47D6); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.vfb-meta__date { color: #5F6178; font-size: 13px; }
.vfb-card__title { font-size: 21px; line-height: 1.3; font-weight: 800; letter-spacing: -.015em; }
.vfb-card__excerpt { flex: 1 1 auto; color: #4A4C63; font-size: 16px; line-height: 1.6; }
.vfb-card__more { color: #4F47D6; font-size: 15px; font-weight: 700; }

/* ── Phones: the sidebar drops under the text ──────────────────────────── */
@media (max-width: 1023px) {
	.vfr-side { position: static; }
}
@media (max-width: 600px) {
	.vfr-layout { padding-top: 48px; padding-bottom: 64px; }
	.vfr-body { font-size: 18px; }
	.vfr-body > p:first-child { font-size: 19px; }
	.vfr-body h2 { margin-top: 48px; font-size: 26px; }
	.vfr-body h3 { font-size: 21px; }
	.vfr-body blockquote p { font-size: 23px; }
	.vfr-body .vfr-takeaways { padding: 24px 22px 22px; }
	.vfr-body .vfr-cta { padding: 32px 22px 26px; }
	.vfr-body .vfr-cta h3 { font-size: 24px; }
	.vfr-author { padding: 24px; }
	.vfr-more__in { padding-top: 64px; padding-bottom: 72px; }
	.vfr-more__title { font-size: 30px; }
}
