/* ==========================================================================
   Octublog theme
   Breakpoints: mobile < 700px, tablet 700-1099px, desktop >= 1100px.
   ========================================================================== */

/* Fonts (self-hosted) */
@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-latin-ext-opsz-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-latin-opsz-italic.woff2") format("woff2");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree-latin.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree-latin-ext.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Tokens */
:root {
	--vs-bg: #ffffff;
	--vs-card: #ffffff;
	--vs-ink: #0f2420;
	--vs-text: #4a5553;
	--vs-link: #167f6c;
	--vs-gold: #48bca2;
	--vs-line: #e3e8e6;
	--vs-cream: #f5f5f5;
	--vs-sand: #E6EFF3;
	--vs-dark: #0f2420;
	--vs-dark-line: #4a5553;

	--vs-display: "Fraunces", Georgia, "Times New Roman", serif;
	--vs-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

	--vs-radius: 20px;
	--vs-container: 1320px;
	--vs-px: 40px;
	--vs-sec: 88px;
	--vs-sec-s: 48px;
	--vs-head-h: 76px;
	--vs-shadow: 0 14px 30px rgba(15, 36, 32, 0.10);

	--rub: #C6DCE6;
	--rub-tint: #E6EFF3;
}
@media (max-width: 1099px) {
	:root { --vs-px: 32px; --vs-sec: 72px; --vs-sec-s: 40px; }
}
@media (max-width: 699px) {
	:root { --vs-px: 20px; --vs-sec: 56px; --vs-sec-s: 32px; --vs-head-h: 64px; }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--vs-head-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--vs-bg);
	color: var(--vs-text);
	font-family: var(--vs-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
:where(h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl) { margin: 0; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--vs-link); }
a:hover { color: var(--vs-ink); }
button { font: inherit; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--vs-gold); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.vs-skip {
	position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px;
	background: var(--vs-ink); color: #fff; border-radius: 12px; text-decoration: none; font-weight: 600;
}
.vs-skip:focus { top: 12px; color: #fff; }

/* Layout helpers */
.vs-wrap { max-width: var(--vs-container); margin-inline: auto; padding-inline: var(--vs-px); }
.vs-wrap--article { max-width: 1200px; }
.vs-wrap--search { max-width: 960px; }
.vs-section { padding-block: var(--vs-sec); }
.vs-section--s { padding-block: var(--vs-sec-s); }
.vs-section--top { padding-bottom: 0; }
.vs-section--nl { padding-top: 0; }
.vs-section--nl-home { padding-bottom: 0; }
.vs-band { background: var(--band, transparent); }
.vs-center { display: flex; justify-content: center; }
.vs-mt-56 { margin-top: 56px; }
.vs-mt-section { margin-top: var(--vs-sec); }
.vs-mb-28 { margin-bottom: 28px; }
.vs-mb-32 { margin-bottom: 32px; }
.vs-nowrap { white-space: nowrap; }
.vs-muted { color: var(--vs-link); }
.vs-small { font-size: 13px; color: var(--vs-text); }

/* Type */
.vs-h2 { font-family: var(--vs-display); font-weight: 700; font-size: 34px; line-height: 1.15; color: var(--vs-ink); text-wrap: balance; }
.vs-h2--s { font-size: 34px; }
.vs-h3 { font-family: var(--vs-display); font-weight: 600; font-size: 24px; line-height: 1.25; color: var(--vs-ink); }
@media (max-width: 1099px) { .vs-h2, .vs-h2--s { font-size: 30px; } }
@media (max-width: 699px) { .vs-h2, .vs-h2--s { font-size: 26px; } }
.vs-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--vs-link); }
.vs-eyebrow--ink { color: var(--vs-ink); font-size: 13px; }
.vs-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--vs-ink); }

/* Icons and avatars */
.vs-icon { flex-shrink: 0; }
.vs-avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--vs-line); }
.vs-avatar--initials {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--rub, #D6D0E6); color: var(--vs-ink); font-family: var(--vs-display); font-weight: 700; line-height: 1;
}
.vs-avatar--ring { border: 2px solid var(--vs-card); }
.vs-avatar--rub { border: 3px solid var(--rub); }
.vs-avatar--white { border: 4px solid var(--vs-card); }
.vs-avatar--gold { border: 3px solid var(--vs-gold); padding: 3px; background: var(--vs-card); background-clip: content-box; }
.vs-avatar--halo { border: 6px solid #fff; box-shadow: 0 0 0 3px var(--rub); }
.vs-dot-icon {
	width: 32px; height: 32px; border-radius: 50%; background: var(--rub); color: var(--vs-ink);
	display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.vs-dot-icon--lg { width: 40px; height: 40px; }
.vs-bigicon {
	width: 80px; height: 80px; border-radius: 50%; background: var(--rub); border: 4px solid #fff; color: var(--vs-ink);
	display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.vs-bigicon--s { width: 48px; height: 48px; border-width: 3px; }
@media (max-width: 699px) { .vs-bigicon:not(.vs-bigicon--s) { width: 60px; height: 60px; } }

/* Buttons and pills */
.vs-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--vs-body); font-size: 15px; font-weight: 600; line-height: 1.2;
	padding: 13px 26px; border-radius: var(--vs-radius); border: 1.5px solid transparent;
	text-decoration: none; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.vs-btn--gold { background: var(--vs-gold); color: var(--vs-ink); }
.vs-btn--gold:hover { background: var(--vs-link); color: #fff; }
.vs-btn--dark { background: var(--vs-ink); color: #fff; font-weight: 700; }
.vs-btn--dark:hover { background: var(--vs-link); color: #fff; }
.vs-btn--outline { background: var(--vs-card); color: var(--vs-ink); border-color: var(--vs-ink); padding-inline: 32px; }
.vs-btn--outline:hover { background: var(--vs-ink); color: #fff; }
.vs-btn--block { display: flex; width: 100%; padding-block: 14px; }
.vs-btn--s { font-size: 14px; padding: 10px 16px 10px 12px; }

.vs-pill {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
	background: var(--rub); color: var(--vs-ink); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; line-height: 1.5;
	padding: 4px 12px; border-radius: var(--vs-radius); text-decoration: none; white-space: nowrap;
}
a.vs-pill:hover { color: var(--vs-ink); filter: brightness(0.97); }
.vs-pill--caps { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.vs-pill--icon { padding: 7px 14px 7px 10px; font-size: 14px; }
.vs-pill--l { font-size: 14px; padding: 6px 14px; }
.vs-pill--l.vs-pill--icon { padding-left: 10px; }
.vs-pill--xl { font-size: 15px; padding: 10px 18px 10px 12px; }
.vs-pill--white { background: #fff; }
.vs-pills { display: flex; flex-wrap: wrap; gap: 8px; }

.vs-iconbtn {
	width: 40px; height: 40px; border-radius: 20px; flex-shrink: 0;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--vs-line); background: var(--vs-card); color: var(--vs-ink);
	cursor: pointer; text-decoration: none; transition: background .2s ease, border-color .2s ease;
}
.vs-iconbtn:hover { background: var(--rub); border-color: var(--rub); color: var(--vs-ink); }
.vs-iconbtn--dark { background: var(--vs-ink); border-color: var(--vs-ink); color: #fff; }
.vs-iconbtn--dark:hover { background: var(--vs-link); border-color: var(--vs-link); color: #fff; }
.vs-iconbtn--cream { background: var(--vs-cream); border-color: var(--vs-cream); }
.vs-iconbtn--gold { width: 44px; height: 44px; background: var(--vs-gold); border-color: var(--vs-gold); }

/* Media frames */
.vs-media { display: block; aspect-ratio: 16 / 9; border-radius: var(--vs-radius); overflow: hidden; background: var(--vs-line); }
.vs-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.vs-media--zoom:hover img { transform: scale(1.03); }

/* ==========================================================================
   Header
   ========================================================================== */
.vs-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--vs-bg); border-bottom: 1px solid var(--vs-line);
}
.admin-bar .vs-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .vs-header { top: 0; } }
.vs-header__bar { height: var(--vs-head-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.vs-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.vs-header__logo img { height: 40px; width: auto; }
@media (max-width: 699px) { .vs-header__logo img { height: 34px; } }

.vs-nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.vs-nav__link {
	color: var(--vs-ink); text-decoration: none; padding: 6px 0; border: 0; border-bottom: 2px solid transparent;
	background: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 600; font-size: 15px;
}
.vs-nav__link:hover { color: var(--vs-link); }
.vs-nav__link.is-current { color: var(--vs-link); border-bottom-color: var(--vs-gold); }
.vs-caret {
	display: block; width: 7px; height: 7px; margin-top: -4px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
	transition: transform .2s ease;
}
.vs-dd { position: relative; }
.vs-dd.is-open .vs-caret { transform: rotate(-135deg); margin-top: 4px; }
.vs-dd__panel { position: absolute; top: 100%; left: -20px; padding-top: 12px; z-index: 60; }
.vs-dd__list {
	display: flex; flex-direction: column; min-width: 300px; padding: 10px;
	background: var(--vs-card); border: 1px solid var(--vs-line); border-radius: var(--vs-radius);
	box-shadow: 0 12px 32px rgba(15, 36, 32, 0.10);
}
.vs-dd__item {
	display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px;
	color: var(--vs-ink); text-decoration: none; font-size: 15px; font-weight: 600;
}
.vs-dd__item:hover { background: var(--vs-cream); color: var(--vs-link); }

.vs-header__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.vs-header__cta { font-size: 14px; font-weight: 700; padding: 10px 20px; }
.vs-header__cta.is-current { background: var(--vs-ink); color: #fff; }
.vs-header__burger .vs-burger-close { display: none; }
.vs-header.menu-open .vs-burger-open { display: none; }
.vs-header.menu-open .vs-burger-close { display: inline-flex; }
.vs-header.search-open [data-vs-search-toggle].vs-iconbtn:not(.vs-iconbtn--cream) { background: var(--vs-cream); }

.vs-chips {
	display: none; gap: 8px; overflow-x: auto; padding: 0 var(--vs-px) 12px; scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
	mask-image: linear-gradient(90deg, #000 85%, transparent);
}
.vs-chips::-webkit-scrollbar { display: none; }
.vs-chip {
	flex-shrink: 0; font-size: 13px; font-weight: 600; color: var(--vs-ink); text-decoration: none;
	background: var(--rub, var(--vs-cream)); padding: 6px 14px; border-radius: var(--vs-radius); white-space: nowrap;
}
.vs-chip:first-child { --rub: var(--vs-cream); }
.vs-chip.is-current { background: var(--vs-gold); color: var(--vs-ink); }

@media (min-width: 1024px) {
	.vs-header__burger, .vs-drawer { display: none !important; }
}
@media (max-width: 1023px) {
	.vs-nav { display: none; }
	.vs-chips { display: flex; }
	.vs-header.menu-open .vs-chips { display: none; }
}
@media (max-width: 699px) {
	.vs-header__cta { display: none; }
}

.vs-search-panel {
	position: absolute; top: 100%; left: 0; right: 0; z-index: 70;
	background: var(--vs-card); border-bottom: 1px solid var(--vs-line); box-shadow: 0 24px 40px rgba(15, 36, 32, 0.08);
}
.vs-search-panel__inner { max-width: 880px; margin: 0 auto; padding: 36px 40px 44px; display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 699px) { .vs-search-panel__inner { padding: 20px; } }
.vs-search-panel__group { display: flex; flex-direction: column; gap: 10px; }

.vs-searchfield {
	display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 8px 0 18px;
	background: var(--vs-card); border: 2px solid var(--vs-ink); border-radius: var(--vs-radius); color: var(--vs-ink);
}
.vs-searchfield input {
	flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent;
	font-family: var(--vs-body); font-size: 19px; color: var(--vs-ink);
}
.vs-searchfield input::-webkit-search-cancel-button { display: none; }
@media (max-width: 699px) { .vs-searchfield input { font-size: 16px; } }

.vs-drawer {
	position: absolute; top: 100%; left: 0; right: 0; z-index: 70;
	min-height: calc(100vh - var(--vs-head-h)); overflow-y: auto; max-height: calc(100vh - var(--vs-head-h));
	background: var(--vs-card); border-top: 1px solid var(--vs-line);
	display: flex; flex-direction: column; gap: 24px; padding: 24px var(--vs-px) 32px;
}
.vs-drawer[hidden] { display: none; }
.vs-drawer__big { font-family: var(--vs-display); font-weight: 700; font-size: 28px; color: var(--vs-ink); text-decoration: none; }
.vs-drawer__group { display: flex; flex-direction: column; gap: 4px; }
.vs-drawer__group .vs-eyebrow { margin-bottom: 6px; }
.vs-drawer__item {
	display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--vs-line);
	color: var(--vs-ink); text-decoration: none; font-size: 17px; font-weight: 600;
}
.vs-drawer__mid { font-family: var(--vs-display); font-weight: 700; font-size: 22px; color: var(--vs-ink); text-decoration: none; padding: 4px 0; }
body.vs-lock { overflow: hidden; }

/* Reading progress (articles) */
.vs-progress { position: sticky; top: var(--vs-head-h); z-index: 40; height: 3px; background: var(--vs-cream); }
.admin-bar .vs-progress { top: calc(var(--vs-head-h) + var(--wp-admin--admin-bar--height, 32px)); }
@media (max-width: 1023px) { .vs-progress { top: calc(var(--vs-head-h) + 45px); } }
@media (max-width: 600px) { .admin-bar .vs-progress { top: calc(var(--vs-head-h) + 45px); } }
.vs-progress span { display: block; height: 3px; width: 0; background: var(--vs-gold); transition: width .1s linear; }

/* ==========================================================================
   Shared blocks
   ========================================================================== */
.vs-shead { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 36px; }
.vs-shead__num { font-family: var(--vs-display); font-weight: 700; font-size: 64px; line-height: 0.9; color: var(--vs-gold); flex-shrink: 0; }
@media (max-width: 1099px) { .vs-shead__num { font-size: 56px; } }
@media (max-width: 699px) { .vs-shead__num { font-size: 44px; } }
.vs-shead__text { display: flex; flex-direction: column; gap: 6px; }
.vs-shead__title { position: relative; isolation: isolate; align-self: flex-start; }
.vs-shead__title.has-blob::before {
	content: ""; position: absolute; inset: -8px -22px -6px -14px; z-index: -1;
	background: var(--blob); border-radius: 58% 42% 55% 45% / 60% 45% 55% 40%;
}
.vs-shead--rule { margin-bottom: 28px; }
.vs-shead__rule { flex: 1; height: 1px; background: var(--vs-gold); margin-bottom: 10px; }
.vs-shead--center { flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-bottom: 48px; }
.vs-shead--center p { max-width: 560px; }
.vs-shead-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.vs-shead-row .vs-shead { margin-bottom: 0; }
.vs-seeall { flex-shrink: 0; font-size: 14px; font-weight: 700; color: var(--vs-ink); text-underline-offset: 4px; padding-bottom: 6px; }
.vs-seeall:hover { color: var(--vs-link); }

.vs-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; font-size: 14px; color: var(--vs-text); }
.vs-meta strong { color: var(--vs-ink); }
.vs-catdot { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--vs-link); letter-spacing: 0.02em; }
.vs-catdot__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--rub); flex-shrink: 0; }

/* Grids */
.vs-grid { display: grid; gap: 40px 28px; }
.vs-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vs-grid--tall { gap: 48px 32px; }
.vs-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
@media (max-width: 1099px) {
	.vs-grid--3, .vs-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
	.vs-grid--3 { grid-template-columns: minmax(0, 1fr); }
	.vs-grid--scroll {
		display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
		margin-inline: calc(var(--vs-px) * -1); padding-inline: var(--vs-px);
	}
	.vs-grid--scroll::-webkit-scrollbar { display: none; }
	.vs-grid--scroll .vs-grid__cell { flex: 0 0 80%; scroll-snap-align: start; }
}
.vs-grid__cell { min-width: 0; display: flex; }
.vs-grid__cell > * { flex: 1; }

/* Cards */
.vs-card {
	display: flex; flex-direction: column; gap: 14px; height: 100%; min-width: 0;
	background: var(--vs-card); border: 1px solid var(--vs-line); border-radius: 26px; padding: 10px 10px 20px;
	color: var(--vs-text); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease;
}
.vs-card:hover { transform: translateY(-4px); box-shadow: var(--vs-shadow); color: var(--vs-text); }
.vs-card:hover .vs-card__media img { transform: scale(1.03); }
.vs-card__media { display: block; aspect-ratio: 16 / 9; border-radius: var(--vs-radius); overflow: hidden; background: var(--vs-line); }
.vs-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.vs-card__body { display: flex; flex-direction: column; gap: 12px; padding: 0 8px; }
.vs-card__title { font-family: var(--vs-display); font-weight: 600; font-size: 22px; line-height: 1.3; color: var(--vs-ink); text-wrap: pretty; }
.vs-card__meta { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--vs-text); flex-wrap: wrap; }
.vs-card__meta strong { font-weight: 600; }

.vs-card--quote {
	justify-content: space-between; gap: 20px; min-height: 340px; padding: 28px 26px 24px;
	background: var(--rub); border: 0; border-radius: var(--vs-radius); color: var(--vs-ink);
}
.vs-card--quote:hover { color: var(--vs-ink); }
.vs-card__mark { font-family: var(--vs-display); font-weight: 700; font-size: 96px; line-height: 0.6; height: 44px; color: var(--vs-ink); display: block; }
.vs-card__quote-body { display: flex; flex-direction: column; gap: 12px; }
.vs-card__quote { font-family: var(--vs-display); font-style: italic; font-weight: 600; font-size: 21px; line-height: 1.3; color: var(--vs-ink); text-wrap: pretty; }
.vs-card__qtitle { font-family: var(--vs-body); font-weight: 600; font-size: 14px; line-height: 1.4; color: var(--vs-ink); }
.vs-card--quote .vs-card__meta { color: var(--vs-ink); }

/* Rows (thumb + text) */
.vs-row { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--vs-line); }
.vs-row--center { align-items: center; gap: 20px; }
.vs-row__thumb { width: 168px; flex-shrink: 0; }
.vs-row__thumb--l { width: 180px; }
.vs-row__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vs-row__title { font-family: var(--vs-display); font-weight: 600; font-size: 19px; line-height: 1.3; color: var(--vs-ink); text-wrap: pretty; }
.vs-row__title a { color: inherit; text-decoration: none; }
.vs-row__title a:hover { color: var(--vs-link); }
@media (max-width: 1099px) { .vs-row__thumb, .vs-row__thumb--l { width: 200px; } }
@media (max-width: 699px) {
	.vs-row__thumb, .vs-row__thumb--l { width: 120px; }
	.vs-row__title { font-size: 16px; }
}

/* Newsletter */
.vs-newsletter {
	display: flex; align-items: center; justify-content: space-between; gap: 28px;
	background: var(--nl-bg, #C6DCE6); border-radius: var(--vs-radius); padding: 48px 56px; color: var(--vs-ink);
}
.vs-newsletter__text { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.vs-newsletter__text p { font-size: 16px; color: var(--vs-ink); text-wrap: pretty; }
.vs-newsletter__title { font-family: var(--vs-display); font-weight: 700; font-size: 34px; line-height: 1.15; color: var(--vs-ink); text-wrap: balance; }
.vs-newsletter__form { width: 460px; flex-shrink: 0; display: flex; flex-direction: column; gap: 10px; }
.vs-newsletter__legal { font-size: 13px; line-height: 1.5; color: var(--vs-ink); }
.vs-newsletter__legal a { color: var(--vs-ink); font-weight: 600; text-underline-offset: 3px; }
/* Jetpack subscription form, restyled */
.vs-newsletter .jetpack_subscription_widget, .vs-newsletter .wp-block-jetpack-subscriptions__container { margin: 0; padding: 0; }
.vs-newsletter .widgettitle, .vs-newsletter #subscribe-text { display: none; }
.vs-newsletter form { display: flex; gap: 10px; width: 100%; margin: 0; }
.vs-newsletter form p { margin: 0; }
.vs-newsletter #subscribe-email { flex: 1 1 0%; min-width: 0; }
.vs-newsletter input[type="email"] {
	width: 100%; height: 52px; padding: 0 20px; border: 1px solid #fff; border-radius: var(--vs-radius);
	background: #fff; font-family: var(--vs-body); font-size: 15px; color: var(--vs-ink); outline: 0;
}
.vs-newsletter input[type="email"]:focus { border-color: var(--vs-ink); }
.vs-newsletter button[type="submit"], .vs-newsletter input[type="submit"] {
	height: 52px; padding: 0 26px; border: 0; border-radius: var(--vs-radius);
	background: var(--vs-ink); color: #fff; font-family: var(--vs-body); font-size: 15px; font-weight: 600;
	cursor: pointer; white-space: nowrap; margin: 0 !important;
}
.vs-newsletter button[type="submit"]:hover { background: var(--vs-link); }
.vs-newsletter .success, .vs-newsletter .error { font-size: 14px; }
@media (max-width: 1099px) {
	.vs-newsletter { flex-direction: column; align-items: stretch; padding: 40px; }
	.vs-newsletter__form { width: 100%; }
	.vs-newsletter__title { font-size: 30px; }
}
@media (max-width: 699px) {
	.vs-newsletter { padding: 28px 22px; }
	.vs-newsletter__title { font-size: 26px; }
	.vs-newsletter form { flex-direction: column; }
	.vs-newsletter #subscribe-email { flex: 0 0 auto; }
	.vs-newsletter button[type="submit"] { width: 100%; }
}

/* Pagination */
.vs-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 56px; }
.vs-pagination .page-numbers, .vs-pagination > a, .vs-pagination > span {
	min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--vs-radius);
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-size: 15px; font-weight: 700; text-decoration: none; color: var(--vs-ink); border: 1.5px solid var(--vs-line);
}
.vs-pagination .page-numbers.current { background: var(--vs-ink); border-color: var(--vs-ink); color: #fff; }
.vs-pagination .page-numbers.dots { border-color: transparent; min-width: 20px; }
.vs-pagination .prev, .vs-pagination .next { border-color: var(--vs-ink); padding: 0 18px; }
.vs-pagination a:hover { background: var(--vs-cream); color: var(--vs-ink); }

/* Breadcrumbs */
.vs-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; color: var(--vs-text); min-width: 0; }
.vs-crumbs a { color: var(--vs-link); font-weight: 600; white-space: nowrap; }
.vs-crumbs--ink, .vs-crumbs--ink a { color: var(--vs-ink); }
.vs-crumbs__current { min-width: 0; }
@media (max-width: 699px) {
	.vs-crumbs { flex-wrap: nowrap; }
	.vs-crumbs__current { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* ==========================================================================
   Homepage
   ========================================================================== */
.vs-hero { padding-top: 48px; padding-bottom: var(--vs-sec); }
@media (max-width: 699px) { .vs-hero { padding-top: 28px; } }
.vs-hero__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 1099px) { .vs-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.vs-hero__main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.vs-hero__title { font-family: var(--vs-display); font-weight: 700; font-size: 44px; line-height: 1.15; color: var(--vs-ink); text-wrap: balance; }
.vs-hero__title a { color: inherit; text-decoration: none; }
.vs-hero__title a:hover { color: var(--vs-link); }
@media (max-width: 1099px) { .vs-hero__title { font-size: 38px; } }
@media (max-width: 699px) { .vs-hero__title { font-size: 30px; } }
.vs-hero__excerpt { font-size: 17px; max-width: 640px; text-wrap: pretty; }
.vs-recent { display: flex; flex-direction: column; min-width: 0; }
.vs-recent__title { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--vs-ink); padding-bottom: 14px; border-bottom: 1px solid var(--vs-line); }

.vs-strip { background: var(--vs-dark); overflow: hidden; }
.vs-strip__inner {
	display: flex; justify-content: center; gap: 28px; padding: 18px var(--vs-px);
	white-space: nowrap; overflow-x: auto; scrollbar-width: none;
}
.vs-strip__inner::-webkit-scrollbar { display: none; }
.vs-strip a {
	display: flex; align-items: center; gap: 28px; flex-shrink: 0; text-decoration: none;
	font-family: var(--vs-display); font-style: italic; font-weight: 600; font-size: 22px; color: #fff;
}
.vs-strip a:hover { color: var(--vs-gold); }
.vs-strip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--vs-gold); }
@media (max-width: 1099px) { .vs-strip__inner { justify-content: flex-start; } }
@media (max-width: 699px) { .vs-strip__inner, .vs-strip a { gap: 18px; } .vs-strip a { font-size: 18px; } }

.vs-catgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1099px) { .vs-catgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) { .vs-catgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.vs-catcard {
	display: flex; flex-direction: column; padding: 8px; border-radius: 24px; text-decoration: none;
	background: var(--vs-card); border: 1px solid var(--vs-line);
	transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.vs-catcard:hover { background: var(--rub); transform: translateY(-4px); box-shadow: var(--vs-shadow); }
.vs-catcard:hover img { transform: scale(1.03); }
.vs-catcard__icon {
	width: 44px; height: 44px; margin: -22px 0 0 12px; position: relative;
	border-radius: 50%; border: 3px solid var(--vs-card); background: var(--rub); color: var(--vs-ink);
	display: flex; align-items: center; justify-content: center;
}
.vs-catcard__text { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px 14px; }
@media (max-width: 699px) { .vs-catcard__text { padding: 10px 8px 8px; } }
.vs-catcard__name { font-family: var(--vs-display); font-weight: 700; font-size: 17px; line-height: 1.25; color: var(--vs-ink); }
.vs-catcard__count { font-size: 13px; font-weight: 600; color: var(--vs-ink); }

.vs-quote { background: var(--vs-gold); color: var(--vs-ink); }
.vs-quote__inner { max-width: 1100px; margin: 0 auto; padding: 80px var(--vs-px); display: flex; align-items: center; gap: 48px; }
.vs-quote__av { width: 160px !important; height: 160px !important; }
.vs-quote blockquote { font-family: var(--vs-display); font-style: italic; font-weight: 600; font-size: 44px; line-height: 1.25; color: var(--vs-ink); text-wrap: balance; }
.vs-quote figure { display: flex; flex-direction: column; gap: 16px; }
.vs-quote figcaption { font-size: 15px; color: var(--vs-ink); }
@media (max-width: 1099px) {
	.vs-quote__inner { padding-block: 64px; }
	.vs-quote__av { width: 128px !important; height: 128px !important; }
	.vs-quote blockquote { font-size: 36px; }
}
@media (max-width: 699px) {
	.vs-quote__inner { padding-block: 48px; flex-direction: column; align-items: flex-start; gap: 24px; }
	.vs-quote__av { width: 96px !important; height: 96px !important; }
	.vs-quote blockquote { font-size: 28px; }
}

.vs-feature { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.vs-feature > .vs-card .vs-card__title { font-size: 30px; line-height: 1.2; font-weight: 700; }
.vs-feature__list { display: flex; flex-direction: column; border-top: 1px solid var(--vs-line); }
@media (max-width: 1099px) { .vs-feature { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 699px) { .vs-feature > .vs-card .vs-card__title { font-size: 24px; } }

.vs-team { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px 24px; }
@media (max-width: 1099px) { .vs-team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) { .vs-team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; } }
.vs-team__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; text-decoration: none; }
.vs-team__item .vs-avatar { width: 128px; height: 128px; margin-bottom: 8px; }
@media (max-width: 699px) { .vs-team__item .vs-avatar { width: 104px; height: 104px; } }
.vs-team__name { font-family: var(--vs-display); font-weight: 700; font-size: 19px; line-height: 1.25; color: var(--vs-ink); }
.vs-team__spec { font-size: 13px; font-weight: 600; color: var(--vs-link); }
.vs-team__item:hover .vs-team__name { color: var(--vs-link); }

/* ==========================================================================
   Article
   ========================================================================== */
.vs-article__head { padding-top: 48px; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 1099px) { .vs-article__head { padding-top: 40px; } }
@media (max-width: 699px) { .vs-article__head { padding-top: 24px; } }
.vs-article__title { max-width: 940px; font-family: var(--vs-display); font-weight: 700; font-size: 44px; line-height: 1.08; letter-spacing: -0.01em; color: var(--vs-ink); text-wrap: balance; }
@media (max-width: 1099px) { .vs-article__title { font-size: 38px; } }
@media (max-width: 699px) { .vs-article__title { font-size: 30px; } }
.vs-article__lead { max-width: 760px; font-family: var(--vs-display); font-style: italic; font-weight: 600; font-size: 20px; line-height: 1.5; color: var(--vs-text); text-wrap: pretty; }
@media (max-width: 699px) { .vs-article__lead { font-size: 18px; } }
.vs-article__meta {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 18px 0; border-top: 1px solid var(--vs-line); border-bottom: 1px solid var(--vs-line);
}
.vs-byline { display: flex; align-items: center; gap: 14px; }
.vs-byline .vs-avatar { width: 40px; height: 40px; }
.vs-byline__text { display: flex; flex-direction: column; font-size: 14px; line-height: 1.45; }
.vs-byline__line { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.vs-byline a { color: var(--vs-ink); font-weight: 700; text-decoration: none; }
.vs-byline a:hover { color: var(--vs-link); }
.vs-readtime { display: inline-flex; align-items: center; gap: 5px; }
.vs-share { display: flex; align-items: center; gap: 8px; }
@media (max-width: 699px) {
	.vs-article__meta { flex-direction: column; align-items: flex-start; }
	.vs-byline { align-items: flex-start; }
	.vs-byline__text { gap: 6px; }
	.vs-byline__line { flex-direction: column; align-items: flex-start; }
	.vs-dotsep { display: none; }
}

.vs-cover { margin-top: 32px; }
.vs-cover__frame { max-width: 900px; margin-left: max(0px, calc((100% - 1080px) / 2)); }
@media (max-width: 1099px) { .vs-cover__frame { max-width: none; margin-left: 0; } }
.vs-cover__img { aspect-ratio: 16 / 9; border-radius: var(--vs-radius); overflow: hidden; background: var(--vs-line); }
.vs-cover__img img { width: 100%; height: 100%; object-fit: cover; }
.vs-cover figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--vs-link); }

.vs-article__layout { display: flex; gap: 80px; align-items: flex-start; justify-content: center; padding-top: 56px; padding-bottom: var(--vs-sec); }
@media (max-width: 1099px) { .vs-article__layout { padding-top: 48px; } }
@media (max-width: 699px) { .vs-article__layout { padding-top: 32px; } }
.vs-article__main { flex: 1; max-width: 720px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }

.vs-toc {
	width: 280px; flex-shrink: 0; position: sticky; top: calc(var(--vs-head-h) + 34px);
	max-height: calc(100vh - var(--vs-head-h) - 60px); overflow-y: auto;
	display: flex; flex-direction: column; gap: 14px; background: var(--vs-cream); border-radius: var(--vs-radius); padding: 22px;
}
.admin-bar .vs-toc { top: calc(var(--vs-head-h) + 66px); }
.vs-toc__title { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--vs-ink); }
.vs-toc__list { display: flex; flex-direction: column; }
.vs-toc__list a {
	padding: 9px 0 9px 12px; border-left: 2px solid var(--vs-line);
	font-size: 14px; line-height: 1.45; color: var(--vs-ink); text-decoration: none;
}
.vs-toc__list a:hover { color: var(--vs-link); }
.vs-toc__list a.is-active { border-left-color: var(--vs-gold); font-weight: 700; }
.vs-toc-mobile { display: none; background: var(--vs-cream); border-radius: var(--vs-radius); overflow: hidden; }
.vs-toc-mobile summary {
	list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 16px 18px; font-size: 15px; font-weight: 600; color: var(--vs-ink); cursor: pointer;
}
.vs-toc-mobile summary::-webkit-details-marker { display: none; }
.vs-toc-mobile summary > span { display: flex; align-items: center; gap: 10px; }
.vs-toc-mobile[open] .vs-toc-mobile__chev { transform: rotate(180deg); }
.vs-toc-mobile ol { margin: 0; padding: 0 18px 18px 40px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.45; }
.vs-toc-mobile a { color: var(--vs-ink); text-decoration: none; }
@media (max-width: 1099px) {
	.vs-toc { display: none; }
	.vs-toc-mobile { display: block; }
	.vs-article__main { max-width: 720px; margin-inline: auto; }
}

/* Article body (post content) */
.vs-prose { font-size: 18px; line-height: 1.75; color: var(--vs-text); display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 699px) { .vs-prose { font-size: 17px; } }
.vs-prose > * { margin: 0; }
.vs-prose a { color: var(--vs-link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.vs-prose a:hover { color: var(--vs-ink); }
.vs-prose strong { color: var(--vs-ink); }
.vs-prose h2 { margin-top: 32px; font-family: var(--vs-display); font-weight: 700; font-size: 30px; line-height: 1.2; color: var(--vs-ink); text-wrap: balance; }
.vs-prose h3 { margin-top: 4px; font-family: var(--vs-display); font-weight: 600; font-size: 23px; line-height: 1.3; color: var(--vs-ink); }
.vs-prose h4 { font-family: var(--vs-display); font-weight: 600; font-size: 20px; line-height: 1.35; color: var(--vs-ink); }
@media (max-width: 1099px) { .vs-prose h2 { font-size: 28px; } .vs-prose h3 { font-size: 22px; } }
@media (max-width: 699px) { .vs-prose h2 { font-size: 24px; } .vs-prose h3 { font-size: 20px; } }
.vs-prose > h2:first-child { margin-top: 0; }
.vs-prose ul, .vs-prose ol { padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.vs-prose li::marker { color: var(--vs-gold); font-weight: 700; }
.vs-prose figure, .vs-prose .wp-block-image { display: flex; flex-direction: column; gap: 10px; margin: 6px 0; }
.vs-prose figure img, .vs-prose .wp-block-image img { border-radius: var(--vs-radius); width: 100%; height: auto; }
.vs-prose figcaption, .vs-prose .wp-element-caption {
	font-size: 14px; line-height: 1.5; color: var(--vs-text); padding-left: 14px; border-left: 2px solid var(--rub);
	margin: 0; text-align: left;
}
.vs-prose blockquote, .vs-prose .wp-block-quote {
	margin: 10px 0; display: flex; flex-direction: column; gap: 14px;
	background: var(--rub); border: 0; border-radius: var(--vs-radius); padding: 28px 28px 24px; color: var(--vs-ink);
}
.vs-prose blockquote::before {
	content: "«"; font-family: var(--vs-display); font-weight: 700; font-size: 80px; line-height: 0.6; height: 36px; display: block;
}
.vs-prose blockquote p { font-family: var(--vs-display); font-style: italic; font-weight: 600; font-size: 28px; line-height: 1.3; color: var(--vs-ink); text-wrap: balance; }
@media (max-width: 699px) { .vs-prose blockquote p { font-size: 22px; } }
.vs-prose blockquote cite { font-size: 14px; font-style: normal; color: var(--vs-ink); }
.vs-prose .wp-block-pullquote { border: 0; padding: 0; margin: 10px 0; text-align: left; }
.vs-prose .wp-block-pullquote blockquote { margin: 0; }

.vs-prose .wp-block-table, .vs-prose .vs-table {
	margin: 0; overflow-x: auto; border: 1px solid var(--vs-line); border-radius: var(--vs-radius);
}
.vs-prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.5; border: 0; margin: 0; }
.vs-prose th, .vs-prose td { padding: 12px 18px; border: 0; text-align: left; vertical-align: top; }
.vs-prose thead th, .vs-prose thead td, .vs-prose tr:first-child th { background: var(--rub-tint); color: var(--vs-ink); font-weight: 700; padding-block: 14px; }
.vs-prose tbody tr + tr, .vs-prose thead + tbody tr { border-top: 1px solid var(--vs-line); }
.vs-prose td:first-child { font-weight: 600; color: var(--vs-ink); }
.vs-prose .wp-block-table figcaption { padding: 10px 18px; border-left: 0; }
.vs-prose > table { display: block; overflow-x: auto; border: 1px solid var(--vs-line); border-radius: var(--vs-radius); }

.vs-prose hr { border: 0; height: 1px; background: var(--vs-line); margin: 12px 0; }
.vs-prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.vs-prose .wp-block-button__link {
	display: inline-flex; padding: 13px 26px; border-radius: var(--vs-radius); background: var(--vs-gold);
	color: var(--vs-ink); text-decoration: none; font-weight: 600; font-size: 15px;
}
.vs-prose .wp-block-button__link:hover { background: var(--vs-link); color: #fff; }
.vs-prose .wp-block-embed { margin: 6px 0; }
.vs-prose .wp-block-embed__wrapper iframe { border-radius: var(--vs-radius); }
.vs-prose .wp-block-columns { display: flex; gap: 24px; flex-wrap: wrap; }
.vs-prose .wp-block-column { flex: 1 1 260px; min-width: 0; }
.vs-prose .wp-block-group.has-background, .vs-prose p.has-background { border-radius: var(--vs-radius); padding: 22px 24px; }
.vs-prose .alignwide, .vs-prose .alignfull { width: 100%; }
.vs-prose .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.vs-prose .wp-block-gallery figure { margin: 0; }
.vs-prose code { font-size: 0.9em; background: var(--vs-cream); padding: 2px 6px; border-radius: 6px; }
.vs-prose pre { background: var(--vs-cream); padding: 18px; border-radius: var(--vs-radius); overflow-x: auto; font-size: 14px; }
/* Yoast FAQ and how-to blocks */
.vs-prose .schema-faq { border-top: 1px solid var(--vs-line); }
.vs-prose .schema-faq-section { border-bottom: 1px solid var(--vs-line); padding: 18px 0; }
.vs-prose .schema-faq-question { display: block; font-family: var(--vs-display); font-weight: 600; font-size: 19px; line-height: 1.35; color: var(--vs-ink); margin-bottom: 8px; }
.vs-prose .schema-faq-answer { font-size: 16px; line-height: 1.7; margin: 0; }
/* Details/summary used as accordions */
.vs-prose details { border-bottom: 1px solid var(--vs-line); padding: 0; }
.vs-prose details summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 18px 0; font-family: var(--vs-display); font-weight: 600; font-size: 19px; line-height: 1.35; color: var(--vs-ink);
}
.vs-prose details summary::-webkit-details-marker { display: none; }
.vs-prose details summary::after {
	content: "+"; width: 32px; height: 32px; border-radius: 50%; background: var(--vs-cream); flex-shrink: 0;
	display: flex; align-items: center; justify-content: center; font-family: var(--vs-body); font-size: 18px;
}
.vs-prose details[open] summary::after { content: "−"; background: var(--rub); }
.vs-prose details > :not(summary) { margin: 0 0 18px; font-size: 16px; line-height: 1.7; }
.vs-prose .wp-block-details { border-top: 0; }
/* Plugin boxes that may be appended to content */
.vs-prose .pp-multiple-authors-boxes-wrapper, .vs-prose .sharedaddy, .vs-prose .jp-relatedposts { display: none !important; }

.vs-sharebar {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 20px 0;
	border-top: 1px solid var(--vs-line); border-bottom: 1px solid var(--vs-line);
}
.vs-sharebar__label { font-size: 14px; font-weight: 700; color: var(--vs-ink); margin-right: 6px; }
.vs-sharebtn {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px;
	font-size: 14px; font-weight: 600; color: var(--vs-ink); text-decoration: none;
	border: 1px solid var(--vs-line); border-radius: var(--vs-radius); transition: background .2s ease, border-color .2s ease;
}
.vs-sharebtn:hover { background: var(--rub); border-color: var(--rub); color: var(--vs-ink); }
.vs-sharebtn.is-copied, .vs-iconbtn.is-copied { background: var(--vs-ink); border-color: var(--vs-ink); color: #fff; }

.vs-authorbox { display: flex; gap: 24px; background: var(--rub-tint); border-radius: var(--vs-radius); padding: 32px; color: var(--vs-ink); }
.vs-authorbox .vs-avatar { width: 96px; height: 96px; }
.vs-authorbox__text { display: flex; flex-direction: column; gap: 8px; }
.vs-authorbox__name { font-family: var(--vs-display); font-weight: 700; font-size: 26px; line-height: 1.2; }
.vs-authorbox p { font-size: 15px; line-height: 1.65; color: var(--vs-ink); }
@media (max-width: 699px) { .vs-authorbox { flex-direction: column; padding: 24px; } }
.vs-linkarrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--vs-ink); text-underline-offset: 4px; }
.vs-linkarrow:hover { color: var(--vs-link); }

/* Static pages */
.vs-page__head { padding-top: 48px; display: flex; flex-direction: column; gap: 18px; padding-bottom: 32px; }
.vs-page__body { max-width: 760px; padding-bottom: var(--vs-sec); }
@media (max-width: 699px) { .vs-page__head { padding-top: 24px; } }

/* ==========================================================================
   Rubrique, author, search, 404
   ========================================================================== */
.vs-pagehero { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 64px; }
.vs-pagehero__text { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.vs-pagehero__titlerow { display: flex; align-items: center; gap: 18px; }
.vs-pagehero__title { font-family: var(--vs-display); font-weight: 700; font-size: 64px; line-height: 1.05; color: var(--vs-ink); text-wrap: balance; }
.vs-pagehero__lead { font-size: 18px; line-height: 1.6; color: var(--vs-ink); text-wrap: pretty; }
@media (max-width: 1099px) { .vs-pagehero { padding-block: 48px; } .vs-pagehero__title { font-size: 52px; } }
@media (max-width: 699px) {
	.vs-pagehero { flex-direction: column; align-items: stretch; padding-block: 32px; }
	.vs-pagehero__title { font-size: 38px; }
	.vs-pagehero__lead { font-size: 16px; }
}
.vs-statbox { display: flex; flex-direction: column; gap: 14px; background: #fff; border-radius: var(--vs-radius); padding: 20px 22px; min-width: 280px; }
@media (max-width: 699px) { .vs-statbox { min-width: 0; } }
.vs-statbox__num { font-size: 15px; color: var(--vs-ink); }
.vs-statbox__num span { font-family: var(--vs-display); font-weight: 700; font-size: 40px; line-height: 1; }
.vs-statbox__author { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--vs-line); text-decoration: none; }
.vs-statbox__author span { display: flex; flex-direction: column; line-height: 1.35; }
.vs-statbox__author small { font-size: 12px; color: var(--vs-text); }
.vs-statbox__author strong { font-size: 15px; color: var(--vs-ink); }
.vs-statbox__author .vs-avatar { width: 44px; height: 44px; }

.vs-catfeat { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 1099px) { .vs-catfeat { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.vs-catfeat__media { border-radius: 24px; }
.vs-catfeat__body { display: flex; flex-direction: column; gap: 16px; }
.vs-catfeat__title { font-family: var(--vs-display); font-weight: 700; font-size: 40px; line-height: 1.15; color: var(--vs-ink); text-wrap: balance; }
.vs-catfeat__title a { color: inherit; text-decoration: none; }
.vs-catfeat__title a:hover { color: var(--vs-link); }
@media (max-width: 699px) { .vs-catfeat__title { font-size: 28px; } }

.vs-authorhero { display: flex; align-items: center; gap: 56px; padding-block: 72px; }
.vs-authorhero__av { width: 240px !important; height: 240px !important; font-size: 80px !important; }
.vs-authorhero__text { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.vs-authorhero__bio p { font-size: 17px; line-height: 1.7; color: var(--vs-ink); text-wrap: pretty; }
.vs-authorhero__bio p + p { margin-top: 12px; }
.vs-authorhero .vs-btn { align-self: flex-start; }
@media (max-width: 1099px) { .vs-authorhero { gap: 40px; padding-block: 56px; } .vs-authorhero__av { width: 180px !important; height: 180px !important; } }
@media (max-width: 699px) {
	.vs-authorhero { flex-direction: column; align-items: flex-start; gap: 24px; padding-block: 32px; }
	.vs-authorhero__av { width: 128px !important; height: 128px !important; font-size: 44px !important; }
	.vs-authorhero__bio p { font-size: 16px; }
}

.vs-searchhero { display: flex; flex-direction: column; gap: 18px; padding-block: 56px; }
.vs-searchfield--big { height: 76px; padding-left: 20px; }
.vs-searchfield--big input { font-family: var(--vs-display); font-weight: 700; font-size: 28px; }
.vs-searchhero__count { font-family: var(--vs-body); font-weight: 400; font-size: 17px; color: var(--vs-ink); }
@media (max-width: 699px) {
	.vs-searchhero { padding-block: 32px; }
	.vs-searchfield--big { height: 60px; }
	.vs-searchfield--big input { font-size: 20px; }
	.vs-searchfield--big .vs-btn { display: none; }
}
.vs-results { display: flex; flex-direction: column; }
.vs-result { display: flex; gap: 24px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid var(--vs-line); text-decoration: none; }
.vs-result__thumb { width: 240px; flex-shrink: 0; }
.vs-result__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.vs-result__title { font-family: var(--vs-display); font-weight: 700; font-size: 24px; line-height: 1.3; color: var(--vs-ink); }
.vs-result:hover .vs-result__title { color: var(--vs-link); }
.vs-result__ex { font-size: 15px; line-height: 1.6; color: var(--vs-text); }
@media (max-width: 699px) {
	.vs-result { gap: 16px; }
	.vs-result__thumb { width: 120px; }
	.vs-result__title { font-size: 17px; }
	.vs-result__ex { display: none; }
}
.vs-empty { display: flex; flex-direction: column; gap: 40px; }
.vs-empty__intro { display: flex; flex-direction: column; gap: 10px; max-width: 620px; }

.vs-404 { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding-block: 96px; max-width: 1100px; }
.vs-404__num { position: relative; isolation: isolate; }
.vs-404__num::before {
	content: ""; position: absolute; inset: 8% -10% 4% -8%; z-index: -1;
	background: #C6DCE6; border-radius: 58% 42% 55% 45% / 60% 45% 55% 40%;
}
.vs-404__num span { display: block; font-family: var(--vs-display); font-weight: 700; font-size: 180px; line-height: 1; color: var(--vs-ink); }
.vs-404__title { max-width: 720px; font-family: var(--vs-display); font-weight: 700; font-size: 48px; line-height: 1.15; color: var(--vs-ink); text-wrap: balance; }
.vs-404__lead { max-width: 540px; font-size: 18px; }
.vs-404__search { width: 100%; max-width: 620px; }
.vs-404__search input { font-size: 16px; }
.vs-404__cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; width: 100%; margin-top: 24px; }
.vs-404__cat {
	display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 12px;
	background: var(--rub-tint); border-radius: var(--vs-radius); text-decoration: none;
	font-family: var(--vs-display); font-weight: 700; font-size: 16px; line-height: 1.25; color: var(--vs-ink);
	transition: transform .25s ease, background .25s ease;
}
.vs-404__cat:hover { background: var(--rub); transform: translateY(-4px); color: var(--vs-ink); }
.vs-404 > .vs-btn { margin-top: 16px; padding: 14px 30px; }
@media (max-width: 1099px) { .vs-404 { padding-block: 72px; } .vs-404__num span { font-size: 140px; } .vs-404__title { font-size: 40px; } .vs-404__cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) { .vs-404 { padding-block: 48px; } .vs-404__num span { font-size: 110px; } .vs-404__title { font-size: 32px; } .vs-404__lead { font-size: 16px; } .vs-404__cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   Footer
   ========================================================================== */
.vs-footer { background: var(--vs-dark); color: #e3e8e6; font-size: 14px; line-height: 1.7; }
.vs-footer a { color: #e3e8e6; text-decoration: none; }
.vs-footer a:hover { color: var(--vs-gold); }
.vs-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 48px 0 40px; border-top: 1px solid var(--vs-dark-line); }
.vs-footer__logo { display: inline-flex; }
.vs-footer__logo.is-pill { background: #fff; border-radius: var(--vs-radius); padding: 10px 16px; }
.vs-footer__logo img { height: 48px; width: auto; }
.vs-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.vs-socials__link {
	width: 40px; height: 40px; border-radius: 20px; border: 1px solid var(--vs-dark-line); color: #fff !important;
	display: flex; align-items: center; justify-content: center; transition: background .2s ease, border-color .2s ease;
}
.vs-socials__link:hover { background: var(--vs-gold); border-color: var(--vs-gold); color: var(--vs-ink) !important; }
.vs-footer__cols {
	display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) minmax(0, 1.4fr) minmax(0, 1.1fr);
	gap: 40px 48px; padding-bottom: 48px;
}
.vs-footer__col { display: flex; flex-direction: column; gap: 14px; }
.vs-footer__title { font-family: var(--vs-display); font-weight: 600; font-size: 18px; color: #fff; }
.vs-footer__col p { text-wrap: pretty; }
.vs-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.vs-footer__bottom {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 24px 0 32px; border-top: 1px solid var(--vs-dark-line); font-size: 13px;
}
.vs-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.vs-footer__copy { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.vs-totop {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 20px;
	background: var(--vs-gold); color: var(--vs-ink) !important; font-weight: 600; font-size: 13px;
}
.vs-totop:hover { background: #fff; }
@media (max-width: 1099px) {
	.vs-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vs-footer__bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 699px) {
	.vs-footer__top { flex-direction: column; align-items: flex-start; }
	.vs-footer__cols { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ==========================================================================
   Contact, About, SEO text
   ========================================================================== */
.vs-pill--gold { background: var(--vs-gold); font-size: 13px; font-weight: 700; padding: 5px 14px; }
.vs-eyebrow--gold { color: var(--vs-gold); }
.vs-pagehero__title--wide { max-width: 900px; letter-spacing: -0.01em; }
.vs-contact-hero__lead { font-size: 20px; line-height: 1.6; max-width: 620px; text-wrap: pretty; }
@media (max-width: 699px) { .vs-contact-hero__lead { font-size: 17px; } }
.vs-page .vs-article__title::first-letter { text-transform: uppercase; }

.vs-contact-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 64px; }
@media (max-width: 699px) { .vs-contact-hero { padding-top: 32px; } }
.vs-contact { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; align-items: start; padding-top: 48px; padding-bottom: var(--vs-sec); }
@media (max-width: 1099px) { .vs-contact { grid-template-columns: minmax(0, 1fr); padding-top: 32px; } }
.vs-contact__form { background: var(--vs-cream); border-radius: var(--vs-radius); padding: 44px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
@media (max-width: 699px) { .vs-contact__form { padding: 24px 20px; } }
.vs-contact__legal { font-size: 14px; line-height: 1.5; color: var(--vs-text); }
.vs-contact__legal a { color: var(--vs-link); font-weight: 600; }
.vs-contact__side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* WPForms, restyled to the theme */
.vs-contact .wpforms-container { margin: 0; }
.vs-contact .wpforms-container .wpforms-form .wpforms-field { padding: 0 0 18px; }
.vs-contact .wpforms-container .wpforms-form .wpforms-field-label { font-family: var(--vs-body); font-size: 14px; font-weight: 700; color: var(--vs-ink); margin-bottom: 8px; }
.vs-contact .wpforms-container .wpforms-form .wpforms-required-label { color: var(--vs-link); }
.vs-contact .wpforms-container .wpforms-form input[type="text"],
.vs-contact .wpforms-container .wpforms-form input[type="email"],
.vs-contact .wpforms-container .wpforms-form input[type="tel"],
.vs-contact .wpforms-container .wpforms-form select,
.vs-contact .wpforms-container .wpforms-form textarea {
	width: 100%; max-width: 100%; font-family: var(--vs-body); font-size: 15px; color: var(--vs-ink);
	background: #fff; border: 1.5px solid var(--vs-line); border-radius: var(--vs-radius); padding: 13px 18px; height: auto; box-shadow: none;
}
.vs-contact .wpforms-container .wpforms-form textarea { min-height: 150px; line-height: 1.6; resize: vertical; }
.vs-contact .wpforms-container .wpforms-form input:focus,
.vs-contact .wpforms-container .wpforms-form textarea:focus,
.vs-contact .wpforms-container .wpforms-form select:focus { border-color: var(--vs-gold); outline: 0; box-shadow: none; }
.vs-contact .wpforms-container .wpforms-form .wpforms-submit-container { padding: 0; }
.vs-contact .wpforms-container .wpforms-form button[type="submit"],
.vs-contact .wpforms-container .wpforms-form .wpforms-submit {
	font-family: var(--vs-body); font-size: 15px; font-weight: 600; color: var(--vs-ink); background: var(--vs-gold);
	border: 0; border-radius: var(--vs-radius); padding: 14px 32px; height: auto; cursor: pointer; transition: background .2s ease, color .2s ease;
}
.vs-contact .wpforms-container .wpforms-form button[type="submit"]:hover { background: var(--vs-link); color: #fff; }
.vs-contact .wpforms-confirmation-container-full, .vs-contact .wpforms-confirmation-container { background: #fff; border: 1.5px solid var(--vs-gold); border-radius: var(--vs-radius); color: var(--vs-ink); }
.vs-contact .wpforms-error, .vs-contact label.wpforms-error { font-size: 13px; }

.vs-infocard { background: var(--vs-dark); color: #e3e8e6; border-radius: var(--vs-radius); padding: 24px 28px; display: flex; flex-direction: column; }
.vs-infocard__row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--vs-dark-line); }
.vs-infocard__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--vs-gold); color: var(--vs-ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vs-infocard__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vs-infocard__text a, .vs-infocard__text span:not(.vs-eyebrow) { font-size: 15px; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.vs-infocard__text a:hover { color: var(--vs-gold); }
.vs-infocard__socials { padding-top: 20px; }

.vs-authorlist { background: var(--vs-card); border: 1px solid var(--vs-line); border-radius: var(--vs-radius); padding: 24px 28px; display: flex; flex-direction: column; gap: 6px; }
.vs-authorlist__title { font-family: var(--vs-display); font-weight: 600; font-size: 22px; color: var(--vs-ink); }
.vs-authorlist > p { font-size: 14px; margin-bottom: 8px; }
.vs-authorlist__item { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--vs-line); text-decoration: none; }
.vs-authorlist__item:hover { background: var(--vs-cream); }
.vs-authorlist__item > span { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.vs-authorlist__item strong { font-size: 15px; color: var(--vs-ink); }
.vs-authorlist__item em { font-style: normal; font-weight: 400; color: var(--vs-text); }
.vs-authorlist__item small { font-size: 13px; font-weight: 600; color: var(--vs-link); overflow-wrap: anywhere; }
.vs-authorlist__item .vs-avatar { width: 44px; height: 44px; }

.vs-abouthero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 80px; }
.vs-abouthero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
.vs-abouthero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 1099px) { .vs-abouthero { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 56px; } }
@media (max-width: 699px) { .vs-abouthero { padding-block: 32px; gap: 28px; } }
.vs-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; min-width: 0; }
.vs-mosaic__item--1 { margin-top: 0; }
.vs-mosaic__item--2, .vs-mosaic__item--3 { }
.vs-mosaic__item:nth-child(even) { transform: translateY(48px); }
@media (max-width: 1099px) { .vs-mosaic__item:nth-child(even) { transform: none; } }
.vs-introhead { display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px; max-width: 640px; }
.vs-rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1099px) { .vs-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) { .vs-rules { grid-template-columns: minmax(0, 1fr); } }
.vs-rule { display: flex; flex-direction: column; gap: 14px; border-radius: var(--vs-radius); padding: 32px 28px; color: var(--vs-ink); }
.vs-rule__n { font-family: var(--vs-display); font-weight: 700; font-size: 52px; line-height: 1; }
.vs-rule h3 { font-family: var(--vs-display); font-weight: 600; font-size: 22px; line-height: 1.25; }
.vs-rule p { font-size: 15px; line-height: 1.6; color: var(--vs-ink); text-wrap: pretty; }
.vs-section--content { padding-top: 0; }
.vs-teamgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1099px) { .vs-teamgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) { .vs-teamgrid { grid-template-columns: minmax(0, 1fr); } }
.vs-teamcard { display: flex; flex-direction: column; gap: 20px; background: var(--vs-card); border: 1px solid var(--vs-line); border-radius: var(--vs-radius); padding: 28px; text-decoration: none; transition: border-color .2s ease; }
.vs-teamcard:hover { border-color: var(--vs-gold); }
.vs-teamcard__top { display: flex; align-items: center; gap: 16px; }
.vs-teamcard__top > span { display: flex; flex-direction: column; gap: 6px; min-width: 0; align-items: flex-start; }
.vs-teamcard__top .vs-avatar { width: 72px; height: 72px; }
.vs-teamcard__name { font-family: var(--vs-display); font-weight: 700; font-size: 20px; line-height: 1.2; color: var(--vs-ink); }
.vs-teamcard__bio { font-size: 14px; line-height: 1.55; color: var(--vs-text); }
.vs-cta { background: var(--vs-dark); border-radius: var(--vs-radius); padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.vs-cta__text { display: flex; flex-direction: column; gap: 10px; max-width: 620px; }
.vs-cta h2 { font-family: var(--vs-display); font-weight: 700; font-size: 34px; line-height: 1.15; color: #fff; }
.vs-cta p { color: #e3e8e6; }
.vs-cta__btn { flex-shrink: 0; padding: 14px 30px; }
.vs-cta__btn:hover { background: #fff; color: var(--vs-ink); }
@media (max-width: 1099px) { .vs-cta { padding: 40px; } .vs-cta h2 { font-size: 30px; } }
@media (max-width: 699px) { .vs-cta { flex-direction: column; align-items: stretch; padding: 28px 22px; } .vs-cta h2 { font-size: 26px; } .vs-cta__btn { text-align: center; } }

.vs-seo-text { margin-top: var(--vs-sec); max-width: 860px; padding: 32px; background: var(--rub-tint); border-radius: var(--vs-radius); font-size: 16px; }
.vs-seo-text h2 { margin-top: 0 !important; font-size: 24px !important; }
@media (max-width: 699px) { .vs-seo-text { padding: 22px 20px; } }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.vs-wrap--legal { max-width: 1120px; }
.vs-legalhero { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-block: 56px; }
.vs-legalhero__title { font-size: 48px; line-height: 1.1; }
@media (max-width: 1099px) { .vs-legalhero { padding-block: 48px; } .vs-legalhero__title { font-size: 42px; } }
@media (max-width: 699px) { .vs-legalhero { padding-block: 32px; } .vs-legalhero__title { font-size: 32px; } }
.vs-updated { font-size: 13px; font-weight: 600; color: var(--vs-ink); background: #fff; border: 1px solid var(--vs-line); padding: 5px 12px; border-radius: 20px; }
.vs-legal { display: flex; flex-direction: row-reverse; gap: 64px; align-items: flex-start; padding-block: 56px var(--vs-sec); }
.vs-legal__aside {
	width: 280px; flex-shrink: 0; position: sticky; top: calc(var(--vs-head-h) + 34px);
	display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--vs-line); border-radius: var(--vs-radius); padding: 20px;
	max-height: calc(100vh - var(--vs-head-h) - 60px); overflow-y: auto;
}
.admin-bar .vs-legal__aside { top: calc(var(--vs-head-h) + 66px); }
.vs-legal__aside .vs-eyebrow { margin-bottom: 6px; }
.vs-legal__toc { font-size: 14px; line-height: 1.45; color: var(--vs-ink); text-decoration: none; padding: 5px 0; }
.vs-legal__toc:hover { color: var(--vs-link); }
.vs-legal__sep { height: 1px; background: var(--vs-line); margin: 10px 0; }
.vs-legal__other { font-size: 14px; font-weight: 600; color: var(--vs-link); text-decoration: none; padding: 3px 0; }
.vs-legal__other:hover { color: var(--vs-ink); }
.vs-legal__main { flex: 1; max-width: 720px; min-width: 0; font-size: 16px; line-height: 1.75; gap: 16px; }
.vs-legal__main h2.vs-legal-h { display: flex; align-items: baseline; gap: 12px; margin-top: 28px; font-size: 24px; }
.vs-hnum { color: var(--vs-gold); font-family: var(--vs-display); font-weight: 700; flex-shrink: 0; }
.vs-legal__main h2:not(.vs-legal-h) { font-size: 26px; margin-top: 0; }
.vs-legal__main > h2.vs-legal-h:first-child { margin-top: 0; }
@media (max-width: 1099px) {
	.vs-legal { flex-direction: column; gap: 28px; padding-block: 32px 56px; }
	.vs-legal__aside { width: 100%; position: static; max-height: none; }
	.vs-legal__main { max-width: none; }
}
@media (max-width: 699px) { .vs-legal__main h2.vs-legal-h { font-size: 21px; } }

/* Cookie banner (Complianz) in the theme's look */
.cmplz-cookiebanner { font-family: var(--vs-body); line-height: 1.6; }
.cmplz-cookiebanner .cmplz-title { font-family: var(--vs-display); font-weight: 700; font-size: 20px; color: #fff; text-align: left; }
.cmplz-cookiebanner .cmplz-btn { font-family: var(--vs-body); font-weight: 600; }
.cmplz-cookiebanner .cmplz-message { color: #e3e8e6; }
@media (max-width: 699px) {
	/* Compact bar on phones: short text, two buttons side by side, no oversized padding. */
	#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-bottom-right {
		left: 10px !important; right: 10px !important; bottom: 10px !important; width: auto !important; max-width: none !important;
		padding: 14px 16px !important; gap: 8px !important; grid-gap: 8px !important; border-radius: 18px !important;
	}
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-header { margin: 0 !important; grid-template-columns: 1fr 24px !important; }
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-title { font-size: 16px !important; }
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close { width: 20px !important; height: 20px !important; }
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-divider { display: none !important; }
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message { font-size: 13px !important; line-height: 1.45 !important; margin: 0 !important; }
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; gap: 8px !important; margin: 0 !important; }
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn { width: auto !important; flex: 1 1 calc(50% - 4px) !important; margin: 0 !important; padding: 10px 8px !important; font-size: 14px !important; min-height: 0 !important; }
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences { flex-basis: 100% !important; order: 3; padding: 2px !important; background: transparent !important; border: 0 !important; font-size: 13px !important; text-decoration: underline; }
	#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-links { font-size: 12px !important; margin: 0 !important; }
}

/* Rubrique intro: real description, shortened to 3 lines with a "read more" toggle */
.vs-clamp { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.vs-clamp__body > p + p { margin-top: 8px; }
.vs-clamp.is-js .vs-clamp__body { max-height: calc(1.6em * 3); overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.vs-clamp.is-js.is-open .vs-clamp__body { max-height: none; -webkit-mask-image: none; mask-image: none; }
.vs-clamp:not(.is-clamped) .vs-clamp__body { -webkit-mask-image: none !important; mask-image: none !important; }
.vs-clamp__btn { font-family: var(--vs-body); font-size: 14px; font-weight: 700; color: var(--vs-ink); background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.vs-clamp__btn:hover { color: var(--vs-link); }

/* Block-editor versions of the designed pages (About, Contact). */
.vs-bb { margin: 0; }
.vs-bb .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--vs-body); font-size: 15px; font-weight: 600; line-height: 1.2;
	padding: 13px 26px; border-radius: var(--vs-radius); border: 1.5px solid transparent;
	text-decoration: none; cursor: pointer; background: var(--vs-gold); color: var(--vs-ink);
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.vs-bb .wp-block-button__link:hover { background: var(--vs-link); color: #fff; }
.vs-bb--outline .wp-block-button__link { background: var(--vs-card); border-color: var(--vs-ink); padding-inline: 32px; }
.vs-bb--outline .wp-block-button__link:hover { background: var(--vs-ink); color: #fff; }
.vs-cta__btn .wp-block-button__link { padding: 14px 30px; }
.vs-cta__btn .wp-block-button__link:hover { background: #fff; color: var(--vs-ink); }
.vs-band--cream { --band: var(--vs-cream); }
.vs-rule--gold { background: var(--vs-gold); }
.vs-rule--cream { background: var(--vs-cream); }
.vs-abouthero__btns.wp-block-buttons, .vs-abouthero__btns { gap: 12px; }
.vs-pill.vs-pill--gold { margin: 0; width: fit-content; }
/* Core wraps group content in an inner container: let the design's grids see through it. */
.wp-block-group > .wp-block-group__inner-container { display: contents; }


/* ViagemSpot additions: cookie notice */
.vs-cookie { position: fixed; left: 24px; bottom: 24px; z-index: 90; max-width: 420px; background: #fff; color: var(--vs-text); border: 1px solid var(--vs-line); border-radius: var(--vs-radius); padding: 22px; box-shadow: 0 20px 50px rgba(15, 36, 32, 0.18); display: flex; flex-direction: column; gap: 10px; }
.vs-cookie[hidden] { display: none; }
.vs-cookie__title { font-family: var(--vs-display); font-weight: 700; font-size: 20px; color: var(--vs-ink); }
.vs-cookie p { margin: 0; font-size: 14px; line-height: 1.55; }
.vs-cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 699px) { .vs-cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

/* ViagemSpot additions: WPForms styled like the design fields */
.vs-prose .wpforms-container { margin-top: 8px; }
.vs-prose .wpforms-field { padding: 0 0 18px; }
.vs-prose .wpforms-field-label { display: block; font-size: 14px; font-weight: 700; color: var(--vs-ink); margin-bottom: 8px; }
.vs-prose .wpforms-field input[type="text"],
.vs-prose .wpforms-field input[type="email"],
.vs-prose .wpforms-field input[type="tel"],
.vs-prose .wpforms-field input[type="url"],
.vs-prose .wpforms-field textarea,
.vs-prose .wpforms-field select {
	width: 100%; max-width: 100%; font: 400 15px var(--vs-body); color: var(--vs-ink); background: #fff;
	border: 1.5px solid var(--vs-line); border-radius: var(--vs-radius); padding: 13px 18px; outline: none; box-shadow: none;
}
.vs-prose .wpforms-field input:focus, .vs-prose .wpforms-field textarea:focus, .vs-prose .wpforms-field select:focus { border-color: var(--vs-gold); }
.vs-prose .wpforms-field textarea { min-height: 150px; resize: vertical; }
.vs-prose .wpforms-submit-container { padding: 4px 0 0; }
.vs-prose .wpforms-submit {
	font: 600 15px var(--vs-body); color: var(--vs-ink); background: var(--vs-gold); border: 0; border-radius: var(--vs-radius);
	padding: 14px 32px; cursor: pointer; transition: background .2s, color .2s;
}
.vs-prose .wpforms-submit:hover { background: var(--vs-ink); color: #fff; }
.vs-prose .wpforms-error { color: #b3261e; font-size: 13px; }

/* ViagemSpot additions: footer bottom row on one line (desktop), like octublog */
@media (min-width: 1280px) {
	.vs-footer__bottom { flex-wrap: nowrap; align-items: center; }
	.vs-footer__legal { flex-wrap: nowrap; white-space: nowrap; }
	.vs-footer__copy { flex-wrap: nowrap; white-space: nowrap; }
}

/* ViagemSpot additions: the transparent footer logo has empty margin on its left; align it with the text column */
.vs-footer__logo:not(.is-pill) img { margin-left: -23px; }
@media (max-width: 699px) { .vs-footer__logo:not(.is-pill) img { height: 40px; margin-left: -19px; } }

/* ViagemSpot additions: footer brand block (logo + description), category counts, columns */
.vs-footer__top { align-items: flex-start; }
.vs-footer__brand { display: flex; flex-direction: column; gap: 14px; max-width: 600px; }
.vs-footer__tagline { margin: 0; font-size: 14px; line-height: 1.7; color: #c5d4d0; text-wrap: pretty; }
.vs-footer__count { margin-left: 8px; font-size: 12px; font-weight: 600; color: #8fa8a2; }
.vs-footer__links a:hover .vs-footer__count { color: var(--vs-gold); }
.vs-footer__cols { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1.2fr); }
@media (max-width: 1099px) { .vs-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) { .vs-footer__cols { grid-template-columns: minmax(0, 1fr); } }

/* ViagemSpot additions: slim scrollbar for a long table of contents (it follows the section being read) */
.vs-toc { scrollbar-width: thin; scrollbar-color: #c3cdca transparent; }
.vs-toc::-webkit-scrollbar { width: 6px; }
.vs-toc::-webkit-scrollbar-thumb { background: #c3cdca; border-radius: 6px; }

/* ViagemSpot additions: WPForms inside the newsletter block (email field and button on one row) */
.vs-newsletter__form .wpforms-container { margin: 0; max-width: none; }
.vs-newsletter__form .wpforms-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.vs-newsletter__form .wpforms-field-container { flex: 1 1 220px; min-width: 0; }
.vs-newsletter__form .wpforms-field { padding: 0; }
.vs-newsletter__form .wpforms-field-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vs-newsletter__form input[type="email"] {
	width: 100%; max-width: 100%; height: auto; box-shadow: none; outline: none;
	font: 400 16px var(--vs-body); color: var(--vs-ink); background: #fff;
	border: 1.5px solid transparent; border-radius: var(--vs-radius); padding: 14px 20px;
}
.vs-newsletter__form input[type="email"]:focus { border-color: var(--vs-ink); }
.vs-newsletter__form .wpforms-submit-container { padding: 0; flex: 0 0 auto; }
.vs-newsletter__form .wpforms-submit {
	font: 600 15px var(--vs-body); color: #fff; background: var(--vs-ink); border: 0;
	border-radius: var(--vs-radius); padding: 15px 28px; cursor: pointer; transition: background .2s, color .2s;
}
.vs-newsletter__form .wpforms-submit:hover { background: #fff; color: var(--vs-ink); }
.vs-newsletter__form .wpforms-confirmation-container-full, .vs-newsletter__form .wpforms-confirmation-container { margin: 0; background: #fff; border: 0; border-radius: var(--vs-radius); color: var(--vs-ink); padding: 16px 20px; }
.vs-newsletter__form .wpforms-error { color: #8a1c14; font-size: 13px; }
@media (max-width: 699px) { .vs-newsletter__form .wpforms-submit-container, .vs-newsletter__form .wpforms-submit { width: 100%; } }

/* ViagemSpot additions: newsletter form on phones (stacked, full width) */
.vs-newsletter__form .wpforms-field-hp { display: none !important; }
@media (max-width: 699px) {
	.vs-newsletter__form .wpforms-form { display: block; }
	.vs-newsletter__form .wpforms-field-container { width: 100%; margin: 0 0 12px; }
	.vs-newsletter__form .wpforms-field input[type="email"] { width: 100%; }
}

/* Newsletter form: email field and button share one height, one radius and one baseline (best-practice UX) */
.vs-newsletter__form .wpforms-form { align-items: stretch; gap: 12px; }
.vs-newsletter__form .wpforms-field-container { flex: 1 1 240px; display: flex; }
.vs-newsletter__form .wpforms-field { width: 100%; padding: 0; margin: 0; }
.vs-newsletter__form .wpforms-field input[type="email"] {
	height: 58px; min-height: 58px; box-sizing: border-box; padding: 0 24px; line-height: 58px;
	font-size: 16px; border-width: 2px; border-radius: var(--vs-radius);
}
.vs-newsletter__form .wpforms-field input[type="email"]::placeholder { color: #6a7774; opacity: 1; }
.vs-newsletter__form .wpforms-field input[type="email"]:focus { border-color: var(--vs-ink); box-shadow: 0 0 0 4px rgba(15, 36, 32, 0.15); }
.vs-newsletter__form .wpforms-submit-container { display: flex; flex: 0 0 auto; padding: 0; margin: 0; }
.vs-newsletter__form .wpforms-submit {
	height: 58px; min-height: 58px; box-sizing: border-box; min-width: 176px; padding: 0 32px; line-height: 1;
	font-size: 16px; font-weight: 700; border: 2px solid var(--vs-ink); border-radius: var(--vs-radius);
}
.vs-newsletter__form .wpforms-submit:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--vs-ink); }
@media (max-width: 699px) {
	.vs-newsletter__form .wpforms-form { display: block; }
	.vs-newsletter__form .wpforms-field-container { display: block; margin-bottom: 12px; }
	.vs-newsletter__form .wpforms-submit-container, .vs-newsletter__form .wpforms-submit { width: 100%; }
}

/* Newsletter: neutralize WPForms' default top spacing so the field and button sit on the same line */
.vs-newsletter__form .wpforms-container .wpforms-form .wpforms-field-container,
.vs-newsletter__form .wpforms-container .wpforms-form .wpforms-field,
.vs-newsletter__form .wpforms-container .wpforms-form .wpforms-submit-container { padding: 0 !important; margin: 0 !important; }
.vs-newsletter__form .wpforms-container .wpforms-form .wpforms-field-container { align-self: stretch; }
.vs-newsletter__form .wpforms-container .wpforms-form { align-items: flex-start !important; }
@media (max-width: 699px) {
	.vs-newsletter__form .wpforms-container .wpforms-form .wpforms-field-container { margin-bottom: 12px !important; }
}


/* Footer bottom row: a little more breathing room (32px above, 44px below) */
.vs-footer__bottom { padding: 32px 0 44px; }

/* Newsletter (Mailchimp) form: field and button share one height, radius and line */
.vs-nlform { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; position: relative; }
.vs-nlform__input {
	flex: 1 1 240px; min-width: 0; height: 58px; box-sizing: border-box; padding: 0 24px;
	font: 400 16px var(--vs-body); color: var(--vs-ink); background: #fff;
	border: 2px solid transparent; border-radius: var(--vs-radius); outline: none; box-shadow: none;
}
.vs-nlform__input::placeholder { color: #6a7774; opacity: 1; }
.vs-nlform__input:focus { border-color: var(--vs-ink); box-shadow: 0 0 0 4px rgba(15, 36, 32, 0.15); }
.vs-nlform__btn {
	flex: 0 0 auto; height: 58px; box-sizing: border-box; min-width: 176px; padding: 0 32px; line-height: 1;
	font: 700 16px var(--vs-body); color: #fff; background: var(--vs-ink); border: 2px solid var(--vs-ink);
	border-radius: var(--vs-radius); cursor: pointer; transition: background .2s, color .2s;
}
.vs-nlform__btn:hover { background: #fff; color: var(--vs-ink); }
.vs-nlform__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--vs-ink); }
.vs-nlform__btn[disabled] { opacity: .7; cursor: progress; }
.vs-nlform__msg { flex: 1 0 100%; margin: 0; min-height: 0; font-size: 14px; line-height: 1.5; color: var(--vs-ink); }
.vs-nlform__msg:empty { display: none; }
.vs-nlform__msg.is-ok { background: #fff; border-radius: var(--vs-radius); padding: 14px 18px; }
.vs-nlform__msg.is-err { color: #8a1c14; font-weight: 600; }
@media (max-width: 699px) {
	.vs-nlform__input, .vs-nlform__btn { flex: 1 0 100%; width: 100%; }
}

/* Newsletter (Mailchimp): beat the older generic newsletter rules so the field and button are really the same size */
.vs-newsletter__form .vs-nlform .vs-nlform__input {
	height: 58px !important; min-height: 58px !important; padding: 0 24px !important; box-sizing: border-box !important;
	border: 2px solid transparent !important; border-radius: var(--vs-radius) !important; font: 400 16px var(--vs-body) !important;
	line-height: normal !important; background: #fff !important; color: var(--vs-ink) !important; width: auto;
}
.vs-newsletter__form .vs-nlform .vs-nlform__input:focus { border-color: var(--vs-ink) !important; box-shadow: 0 0 0 4px rgba(15, 36, 32, 0.15) !important; }
.vs-newsletter__form .vs-nlform .vs-nlform__btn {
	height: 58px !important; min-height: 58px !important; min-width: 176px; padding: 0 32px !important; box-sizing: border-box !important;
	border: 2px solid var(--vs-ink) !important; border-radius: var(--vs-radius) !important; font: 700 16px var(--vs-body) !important;
	line-height: 1 !important; background: var(--vs-ink) !important; color: #fff !important; display: block; cursor: pointer;
}
.vs-newsletter__form .vs-nlform .vs-nlform__btn:hover { background: #fff !important; color: var(--vs-ink) !important; }
@media (max-width: 699px) {
	.vs-newsletter__form .vs-nlform .vs-nlform__input, .vs-newsletter__form .vs-nlform .vs-nlform__btn { width: 100% !important; flex: 1 0 100% !important; }
}