/* =====================================================================
 * VARITO category guide (SEO article) – readable, structured, collapsible
 * =================================================================== */
.vca {
	--vca-blue: #2273f8;
	--vca-navy: #0b1f3a;
	--vca-text: #3d4a5c;
	--vca-muted: #6b778a;
	--vca-line: #e3e8f0;
	--vca-soft: #f5f7fb;
	margin: 56px 0 24px;
	padding: 36px 40px 30px;
	background: #fff;
	border: 1px solid var(--vca-line);
	border-radius: 18px;
	box-shadow: 0 10px 30px rgba(11, 31, 58, .06);
	font-family: var(--font-body, 'DM Sans', sans-serif);
	color: var(--vca-text);
}
.vca-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.vca-eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--vca-blue);
	background: rgba(34, 115, 248, .08);
	padding: 5px 12px;
	border-radius: 20px;
}
.vca-meta { font-size: 13px; color: var(--vca-muted); }

/* ---------- layout: TOC + article ---------- */
.vca-layout { display: block; }
.vca-layout.has-toc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.vca-toc {
	position: sticky;
	top: 110px;
	max-height: calc(100vh - 140px);
	overflow: auto;
	padding: 18px 16px;
	background: var(--vca-soft);
	border-radius: 14px;
	border: 1px solid var(--vca-line);
}
.vca-toc-title { margin: 0 0 10px; font-family: var(--font-head, 'Rajdhani', sans-serif); font-weight: 700; font-size: 17px; color: var(--vca-navy); }
.vca-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: vca; }
.vca-toc li { counter-increment: vca; margin: 0; }
.vca-toc a {
	display: flex;
	gap: 8px;
	padding: 7px 8px;
	border-radius: 8px;
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--vca-text) !important;
	text-decoration: none !important;
	transition: background .2s, color .2s;
}
.vca-toc a::before { content: counter(vca, decimal-leading-zero); font-weight: 700; color: #9fb0c8; font-size: 12px; padding-top: 1px; }
.vca-toc a:hover, .vca-toc a.is-active { background: #fff; color: var(--vca-blue) !important; }
.vca-toc a.is-active::before { color: var(--vca-blue); }

/* ---------- article typography ---------- */
.vca-body { min-width: 0; }
.vca-article { max-width: 800px; font-size: 16.5px; line-height: 1.78; position: relative; }
.vca-article > :first-child { margin-top: 0 !important; }
.vca-article h2 {
	font-family: var(--font-head, 'Rajdhani', sans-serif);
	font-size: clamp(24px, 2.4vw, 30px);
	font-weight: 700;
	line-height: 1.25;
	color: var(--vca-navy);
	margin: 44px 0 14px;
	padding-top: 6px;
	scroll-margin-top: 110px;
}
.vca-article h2::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 10px; border-radius: 3px; background: linear-gradient(90deg, var(--vca-blue), #6aa5ff); }
.vca-article h3 { font-family: var(--font-head, 'Rajdhani', sans-serif); font-size: 21px; font-weight: 700; line-height: 1.3; color: var(--vca-navy); margin: 28px 0 8px; }
.vca-article h4 { font-size: 17px; font-weight: 700; color: var(--vca-navy); margin: 22px 0 6px; }
.vca-article p { margin: 0 0 16px; text-align: left; }
.vca-article strong { color: var(--vca-navy); font-weight: 700; }
.vca-article a { color: var(--vca-blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.vca-article a:hover { text-decoration-thickness: 2px; }
.vca-article ul, .vca-article ol { margin: 0 0 20px; padding-left: 0; list-style: none; }
.vca-article ul li { position: relative; padding-left: 30px; margin-bottom: 9px; }
.vca-article ul li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .42em;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(34, 115, 248, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232273f8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.vca-article ol { counter-reset: vcaol; }
.vca-article ol li { counter-increment: vcaol; position: relative; padding-left: 36px; margin-bottom: 10px; }
.vca-article ol li::before {
	content: counter(vcaol);
	position: absolute;
	left: 0;
	top: .15em;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--vca-navy);
	color: #fff;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 24px;
	text-align: center;
}
/* FAQ questions */
.vca-article .vca-q {
	position: relative;
	margin: 22px 0 8px;
	padding: 14px 16px 14px 52px;
	font-size: 18px;
	background: var(--vca-soft);
	border: 1px solid var(--vca-line);
	border-radius: 12px;
}
.vca-article .vca-q::before {
	content: "?";
	position: absolute;
	left: 14px;
	top: 50%;
	width: 26px;
	height: 26px;
	margin-top: -13px;
	border-radius: 50%;
	background: var(--vca-blue);
	color: #fff;
	font-size: 15px;
	line-height: 26px;
	text-align: center;
}
.vca-article .vca-q + p { padding: 0 6px 0 52px; }
/* tables */
.vca-table { overflow-x: auto; margin: 6px 0 22px; border-radius: 12px; border: 1px solid var(--vca-line); }
.vca-article table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 0; }
.vca-article th { background: var(--vca-navy); color: #fff; text-align: left; padding: 11px 14px; font-weight: 600; }
.vca-article td { padding: 10px 14px; border-top: 1px solid var(--vca-line); vertical-align: top; }
.vca-article tr:nth-child(even) td { background: #fafbfd; }

/* ---------- collapse ---------- */
.vca-article.is-collapsed { max-height: 760px; overflow: hidden; }
.vca-article.is-collapsed::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 170px;
	background: linear-gradient(rgba(255, 255, 255, 0), #fff 85%);
	pointer-events: none;
}
.vca-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 18px 0 0;
	padding: 11px 24px;
	border: 1px solid var(--vca-blue);
	border-radius: 30px;
	background: #fff;
	color: var(--vca-blue);
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	transition: background .2s, color .2s;
}
.vca-more:hover { background: var(--vca-blue); color: #fff; }
.vca-more svg { transition: transform .25s; }
.vca-more .vca-more-close { display: none; }
.vca-more.is-open .vca-more-open { display: none; }
.vca-more.is-open .vca-more-close { display: inline; }
.vca-more.is-open svg { transform: rotate(180deg); }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
	.vca { padding: 26px 20px 22px; border-radius: 14px; }
	.vca-layout.has-toc { display: block; }
	.vca-toc { position: static; max-height: none; margin-bottom: 24px; }
	.vca-toc ol { columns: 1; }
	.vca-article { font-size: 16px; }
	.vca-article.is-collapsed { max-height: 620px; }
}
@media print {
	.vca-article.is-collapsed { max-height: none; overflow: visible; }
	.vca-article.is-collapsed::after, .vca-more, .vca-toc { display: none; }
}

/* "Explore more" box under the guide: same width, radius and padding as the guide card */
.vca ~ .vsh-linkbox {
	max-width: none;
	margin: 24px 0 64px;
	padding: 28px 40px 30px;
	border-radius: 18px;
	background: #f5f7fb;
	border: 1px solid #e3e8f0;
}
.vca ~ .vsh-linkbox .vsh-linkbox-title { font-family: var(--font-head, 'Rajdhani', sans-serif); font-size: 22px; margin-bottom: 8px; }
@media (max-width: 991px) {
	.vca ~ .vsh-linkbox { padding: 22px 20px 24px; border-radius: 14px; margin-bottom: 40px; }
}
