/*
Theme Name: Vote Mark
Theme URI: https://www.votemark.biz/
Author: Vote Mark
Description: Custom social bookmarking theme for Vote Mark, styled after the Ella landing page. Live website snapshots on every story, Ella-style preview cards with category tabs, story pages with a browser-frame preview, an active-only Categories grid and a tree-style Sitemap, all with an animated sidebar. Works with the "story" post type and "story_category" taxonomy.
Version: 1.0.2
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: votemark
*/

/* ---------- Tokens ---------- */
:root {
	--ink: #1d1d1f;
	--ink-2: #2b2b30;
	--text: #5b5f6b;
	--muted: #969ba8;
	--line: #ececec;
	--soft: #fbfaff;
	--soft-2: #f4f4f4;
	--peach: #fff1ec;
	--white: #fff;
	--accent: #ff4719;
	--accent-2: #fa6d4a;
	--gold: #ffbb49;
	--violet: #5a31f4;
	--lav: #f1edff;
	--yel: #fff6e0;
	--pch: #ffeee8;
	--mnt: #e8f8f1;
	--radius: 16px;
	--shadow: 0 10px 30px -14px rgba(29, 29, 31, .18);
	--shadow-lg: 0 24px 60px -24px rgba(29, 29, 31, .3);
	--ease: cubic-bezier(.22, .8, .24, 1);
	--font: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
	--font-head: "Poppins", "Inter", "Segoe UI", system-ui, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--accent); text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(255, 71, 25, .4); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vm-skip:focus { position: fixed; left: 16px; top: 16px; width: auto; height: auto; clip: auto; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.vm-container { width: min(1280px, 100% - 40px); margin-inline: auto; }
.vm-narrow { width: min(960px, 100% - 40px); }
.vm-center { text-align: center; }
.vm-icon { flex: none; }
.vm-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.vm-eyebrow-light { color: #ffd4c7; }
.vm-h2 { font-size: clamp(28px, 3.4vw, 42px); color: var(--accent); }
.vm-h3 { font-size: clamp(22px, 2.2vw, 28px); }

/* ---------- Buttons ---------- */
.vm-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 26px; border: 2px solid var(--accent); border-radius: 8px; cursor: pointer; overflow: hidden; isolation: isolate; font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1; color: #fff; background: var(--accent); box-shadow: 0 10px 22px -10px rgba(255, 71, 25, .7); transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .3s, background .3s; }
.vm-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-100%); transition: transform .7s var(--ease); }
.vm-btn:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 28px -12px rgba(255, 71, 25, .8); }
.vm-btn:hover::before { transform: translateX(100%); }
.vm-btn .vm-icon { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.vm-btn:hover .vm-icon-arrow { transform: translateX(4px); }
.vm-btn-sm { padding: 11px 18px; font-size: 14px; }
.vm-btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.vm-btn-outline:hover { background: var(--ink); color: #fff; box-shadow: 0 14px 24px -14px rgba(29, 29, 31, .6); }
.vm-btn-light { background: #fff; border-color: #fff; color: var(--accent); box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .4); }
.vm-btn-light:hover { color: var(--ink); }
.vm-btn-dark { background: var(--ink); border-color: var(--ink); }
.vm-more { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.vm-more .vm-icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.vm-more:hover { color: var(--accent); }
.vm-more:hover .vm-icon { transform: translateX(4px); }
.vm-chip { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--peach); color: var(--accent); font-weight: 600; font-size: 12.5px; line-height: 1.3; transition: background .3s, color .3s; }
.vm-chip:hover { background: var(--accent); color: #fff; }

/* ---------- Tones ---------- */
.vm-tone-1 { --t1: #ff4719; --t2: #ff8a5c; }
.vm-tone-2 { --t1: #5a31f4; --t2: #8f6bff; }
.vm-tone-3 { --t1: #1d1d1f; --t2: #45454a; }
.vm-tone-4 { --t1: #f2a20f; --t2: #ffcf5c; }
.vm-tone-5 { --t1: #0e9f6e; --t2: #45d39b; }
.vm-tone-6 { --t1: #2563eb; --t2: #60a5fa; }
.vm-pastel-lav { background: var(--lav); }
.vm-pastel-yel { background: var(--yel); }
.vm-pastel-pch { background: var(--pch); }
.vm-pastel-mnt { background: var(--mnt); }
.vm-live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; margin-right: 8px; vertical-align: 1px; animation: vmLive 1.8s ease-out infinite; }

/* ---------- Ticker + header ---------- */
.vm-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 130; pointer-events: none; }
.vm-progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.vm-ticker { overflow: hidden; background: linear-gradient(90deg, #3a1fd1, var(--violet) 50%, #3a1fd1); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.vm-ticker-track { display: flex; width: max-content; animation: vmMarquee 40s linear infinite; }
.vm-ticker:hover .vm-ticker-track { animation-play-state: paused; }
.vm-ticker span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 34px; white-space: nowrap; text-transform: uppercase; }
.vm-ticker .vm-icon { width: 15px; height: 15px; fill: var(--gold); stroke: none; }

.vm-header { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow .35s; }
.vm-header.is-stuck { box-shadow: 0 8px 30px -18px rgba(29, 29, 31, .4); }
.vm-header-inner { display: flex; align-items: center; gap: 30px; min-height: 84px; transition: min-height .35s var(--ease); }
.vm-header.is-stuck .vm-header-inner { min-height: 70px; }
.vm-logo { display: inline-flex; align-items: center; gap: 9px; flex: none; color: var(--ink); }
.vm-logo-mark { flex: none; transition: transform .5s var(--ease); }
.vm-logo:hover .vm-logo-mark { transform: translateY(-3px) rotate(-6deg); }
.vm-logo-arrow { animation: vmVote 3.2s ease-in-out infinite; }
.vm-logo-text { font-family: var(--font-head); font-weight: 700; font-size: 26px; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.vm-logo-text b { font-weight: 700; color: var(--accent); }
.custom-logo { max-height: 50px; width: auto; }
.vm-nav { display: flex; align-items: center; flex: 1; min-width: 0; }
.vm-menu { display: flex; align-items: center; gap: 2px; }
.vm-menu li { position: relative; }
.vm-menu a { display: flex; align-items: center; gap: 6px; padding: 10px 13px; color: var(--ink); font-weight: 500; font-size: 15px; white-space: nowrap; }
.vm-menu > li > a { position: relative; }
.vm-menu > li > a::before { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .35s var(--ease); }
.vm-menu > li > a:hover::before, .vm-menu > .current-menu-item > a::before { transform: scaleX(1); }
.vm-menu a:hover, .vm-menu .current-menu-item > a { color: var(--accent); }
.vm-menu .menu-item-has-children > a::after { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.vm-menu .menu-item-has-children:hover > a::after { transform: translateY(1px) rotate(225deg); }
.vm-menu .sub-menu { position: absolute; top: calc(100% + 10px); left: 0; z-index: 5; min-width: 240px; padding: 10px; background: #fff; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s var(--ease); }
.vm-menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.vm-menu li:hover > .sub-menu, .vm-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.vm-menu .sub-menu a { padding: 8px 12px; border-radius: 8px; font-size: 14.5px; white-space: normal; transition: background .25s, color .25s, padding-left .3s var(--ease); }
.vm-menu .sub-menu a:hover { background: var(--peach); padding-left: 18px; }
.vm-nav-ctas { display: none; }
.vm-header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.vm-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.vm-iconbtn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.vm-burger { display: none; }
.vm-burger .vm-icon-close { display: none; }
.vm-nav-open .vm-burger .vm-icon-close { display: block; }
.vm-nav-open .vm-burger .vm-icon-menu { display: none; }
.vm-searchbar { padding: 16px 0 20px; border-top: 1px solid var(--line); animation: vmDrop .35s var(--ease); }
.vm-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(29, 29, 31, .5); opacity: 0; visibility: hidden; transition: .35s; }

/* ---------- Search form ---------- */
.vm-search { position: relative; display: flex; }
.vm-search input { width: 100%; height: 52px; padding: 0 60px 0 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); outline: 0; transition: border-color .3s, box-shadow .3s; }
.vm-search input::placeholder { color: var(--muted); }
.vm-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 71, 25, .1); }
.vm-search button, .vm-catfilter-ico { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; border: 0; border-radius: 8px; display: grid; place-items: center; background: var(--accent); color: #fff; cursor: pointer; transition: background .3s; }
.vm-search button:hover { background: var(--ink); }
.vm-catfilter-ico { pointer-events: none; }

/* ---------- Hero ---------- */
.vm-hero { position: relative; overflow: hidden; padding: 70px 0 60px; background: #fff; }
.vm-hero-shape { position: absolute; left: auto; right: -14%; top: -30%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); animation: vmBlob 18s ease-in-out infinite; }
.vm-hero-shape::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: #fff; }
.vm-hero-shape-b { left: -6%; right: auto; top: auto; bottom: -24%; width: 20%; background: var(--peach); animation-delay: -7s; }
.vm-hero-shape-b::after { display: none; }
.vm-hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: center; }
.vm-hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 5px 14px 5px 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13.5px; font-weight: 500; color: var(--ink); }
.vm-hero-kicker span { padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.vm-hero-title { font-size: clamp(36px, 4.6vw, 58px); font-weight: 700; line-height: 1.12; letter-spacing: -.025em; margin-bottom: 20px; }
.vm-hero-title em { font-style: normal; color: var(--accent); position: relative; white-space: nowrap; }
.vm-hero-title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .28em; background: var(--gold); opacity: .45; z-index: -1; border-radius: 4px; transform-origin: 0 50%; animation: vmUnderline 1s .8s var(--ease) both; }
.vm-hero-text { font-size: 17px; max-width: 540px; margin-bottom: 28px; }
.vm-hero-copy { position: relative; z-index: 1; }
.vm-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-in { animation: vmHeroIn .9s var(--ease) both; animation-delay: var(--d, 0s); }
.vm-herosearch { display: flex; align-items: stretch; max-width: 560px; padding: 6px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.vm-herosearch-field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--muted); }
.vm-herosearch-field + .vm-herosearch-field { border-left: 1px solid var(--line); flex: .8; }
.vm-herosearch-field .vm-icon { width: 18px; height: 18px; }
.vm-herosearch input, .vm-herosearch select { width: 100%; min-width: 0; height: 46px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 15px; text-overflow: ellipsis; }
.vm-herosearch select { cursor: pointer; }
.vm-herosearch button { flex: none; padding: 0 22px; border: 0; border-radius: 8px; background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 600; cursor: pointer; transition: background .3s; }
.vm-herosearch button:hover { background: var(--ink); }

.vm-hero-art { position: relative; min-height: 470px; }
.vm-device { position: absolute; background: #fff; box-shadow: 0 40px 80px -36px rgba(29, 29, 31, .55); overflow: hidden; }
.vm-device-desk { right: 0; top: 10px; width: 88%; border-radius: 14px; border: 1px solid var(--line); animation: vmBob 8s ease-in-out infinite; }
.vm-device-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fafafa; }
.vm-device-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.vm-device-bar i:nth-child(2) { background: #febc2e; }
.vm-device-bar i:nth-child(3) { background: #28c840; }
.vm-device-bar span { margin-left: 12px; padding: 3px 12px; border-radius: 6px; background: #fff; border: 1px solid var(--line); font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vm-device-screen { position: relative; aspect-ratio: 16 / 10; background: var(--soft-2); }
.vm-device-screen > img, .vm-device-screen > .vm-snapwrap { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vm-device-phone { left: 2%; bottom: 0; width: 34%; padding: 8px; border-radius: 26px; background: #1d1d1f; animation: vmBob 7s ease-in-out infinite; animation-delay: -3s; }
.vm-device-phone .vm-device-screen { aspect-ratio: 9 / 17; border-radius: 20px; overflow: hidden; }
.vm-device-list { display: flex; flex-direction: column; gap: 7px; padding: 26px 8px 8px; background: #fff !important; }
.vm-mini-top { display: flex; align-items: center; gap: 5px; padding: 0 2px 6px; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-size: 11px; color: var(--ink); }
.vm-mini { display: flex; align-items: center; gap: 6px; padding: 5px; border-radius: 8px; border: 1px solid var(--line); animation: vmFade .6s var(--ease) both; }
.vm-mini:nth-child(3) { animation-delay: .15s; } .vm-mini:nth-child(4) { animation-delay: .3s; } .vm-mini:nth-child(5) { animation-delay: .45s; }
.vm-mini-thumb { flex: none; display: block; width: 30px; height: 30px; border-radius: 6px; overflow: hidden; }
.vm-mini-thumb img, .vm-mini-thumb .vm-snapwrap { width: 100%; height: 100%; object-fit: cover; }
.vm-mini-text { min-width: 0; display: grid; gap: 4px; }
.vm-mini-text b { font-size: 9.5px; line-height: 1.25; color: var(--ink); font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vm-mini-text i { display: block; width: 60%; height: 4px; border-radius: 2px; background: var(--peach); }
.vm-device-phone .vm-snap, .vm-device-phone img { object-position: top center; }
.vm-hero-badge { position: absolute; right: 6%; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 14px; box-shadow: var(--shadow-lg); }
.vm-hero-badge b { font-family: var(--font-head); font-size: 18px; }
.vm-hero-badge .vm-icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--accent); stroke-width: 2.6; }
.vm-hero-strip { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; width: fit-content; max-width: 100%; margin: 46px auto 0; padding: 12px 14px 12px 26px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 16px 30px -14px rgba(255, 71, 25, .8); transition: transform .35s var(--ease); }
.vm-hero-strip span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .18); }
.vm-hero-strip .vm-icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.vm-hero-strip:hover { color: #fff; transform: translateY(-3px); }
.vm-hero-strip:hover .vm-icon { transform: translateX(4px); }

/* ---------- Sections ---------- */
.vm-section { position: relative; padding: 90px 0; }
.vm-section-top { padding-top: 60px; }
.vm-section-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.vm-section-head p { margin: 0; font-size: 16.5px; color: var(--ink); }

.vm-features-sec { padding-top: 30px; background: linear-gradient(180deg, #fff, var(--soft)); }
.vm-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vm-feature { position: relative; padding: 36px 30px 32px; border-radius: var(--radius); background: #fff; text-align: center; box-shadow: 0 2px 24px -10px rgba(29, 29, 31, .14); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s; }
.vm-feature::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transition: transform .5s var(--ease); }
.vm-feature::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 71, 25, .07), transparent 70%); }
.vm-feature:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.vm-feature:hover::before { transform: scaleX(1); }
.vm-feature:hover::after { opacity: 1; }
.vm-feature-ico { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 16px; color: var(--accent); transition: transform .5s var(--ease); }
.vm-feature-ico .vm-icon { width: 34px; height: 34px; stroke-width: 1.5; }
.vm-feature:hover .vm-feature-ico { transform: translateY(-4px) scale(1.12); }
.vm-feature h3 { font-size: 19px; margin-bottom: 10px; }
.vm-feature p { margin: 0; font-size: 15px; }

.vm-stats-sec { background: var(--soft); padding-top: 50px; }
.vm-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 80px; }
.vm-stat { display: flex; align-items: center; gap: 18px; }
.vm-stat-ico { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); transition: background .4s, color .4s, transform .5s var(--ease); }
.vm-stat-ico .vm-icon { width: 32px; height: 32px; stroke-width: 1.6; }
.vm-stat:hover .vm-stat-ico { background: var(--accent); color: #fff; transform: rotate(-10deg); }
.vm-stat p { margin: 0; line-height: 1.2; }
.vm-stat small { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.vm-stat strong { font-family: var(--font-head); font-size: 34px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.vm-stat .vm-stat-date { font-size: 24px; }

/* Category tabs + Ella preview cards */
.vm-showcase { background: var(--soft); padding-top: 40px; }
.vm-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: fit-content; max-width: 100%; margin: 0 auto 36px; padding: 6px; border-radius: 10px; background: #f0f0f3; }
.vm-tabs button { padding: 9px 18px; border: 0; border-radius: 7px; background: transparent; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 14px; cursor: pointer; transition: background .3s, color .3s, box-shadow .3s; }
.vm-tabs button:hover { color: var(--accent); }
.vm-tabs button.is-active { background: #fff; color: var(--accent); box-shadow: 0 6px 14px -8px rgba(29, 29, 31, .35); }
.vm-tabpanel { animation: vmFade .5s var(--ease); }
.vm-tabpanel .vm-center { margin-top: 36px; }
.vm-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.vm-cards-2 { grid-template-columns: repeat(2, 1fr); }
.vm-cards-3 { grid-template-columns: repeat(3, 1fr); }
.vm-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 12px; box-shadow: 0 4px 22px -8px rgba(29, 29, 31, .16); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s; }
.vm-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.vm-card-media { position: relative; display: block; aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--soft-2); }
.vm-card-media > img, .vm-card-media > .vm-snapwrap { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vm-card-media .vm-snap { object-position: top center; transition: opacity .8s var(--ease), object-position 4s ease-in-out, transform 1s var(--ease); }
.vm-card:hover .vm-card-media .vm-snap.is-ready { object-position: bottom center; transform: none; }
.vm-card-new { position: absolute; right: 0; top: 0; z-index: 2; padding: 4px 12px; border-radius: 0 0 0 8px; background: #2f6bff; color: #fff; font-size: 12px; font-weight: 600; }
.vm-card-view { position: absolute; left: 50%; bottom: 18px; z-index: 2; padding: 9px 18px; border-radius: 8px; background: var(--accent); color: #fff; font-family: var(--font-head); font-size: 13.5px; font-weight: 600; opacity: 0; transform: translate(-50%, 12px); transition: opacity .35s, transform .45s var(--ease); white-space: nowrap; }
.vm-card:hover .vm-card-view { opacity: 1; transform: translate(-50%, 0); }
.vm-card-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; border-top: 1px solid var(--line); flex: 1; }
.vm-card-crumb { display: flex; align-items: center; gap: 6px; margin: 0; min-width: 0; font-size: 12.5px; color: var(--muted); }
.vm-card-crumb a { position: relative; z-index: 2; color: var(--muted); white-space: nowrap; }
.vm-card-crumb a:hover { color: var(--accent); }
.vm-card-crumb span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vm-card-ext { margin-left: auto; color: var(--muted); transition: color .3s; }
.vm-card-ext .vm-icon { width: 15px; height: 15px; }
.vm-card:hover .vm-card-ext { color: var(--accent); }
.vm-card-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.vm-card-title { font-family: var(--font-head); font-size: 16px; font-weight: 600; line-height: 1.35; margin: 0; letter-spacing: -.005em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vm-card-title a { color: var(--ink); }
.vm-card-title a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.vm-card-title a:hover { color: var(--accent); }
.vm-card-pill { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 11.5px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.vm-card-by { display: flex; align-items: center; gap: 6px; margin: auto 0 0; font-size: 13px; color: var(--muted); }
.vm-card-by .vm-icon { width: 14px; height: 14px; }

/* Live website snapshots over the generated tile */
.vm-snapwrap { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; }
.vm-snapwrap > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.vm-snap { object-position: top center; opacity: 0; transform: scale(1.04); transition: opacity .8s var(--ease), transform 1.1s var(--ease); }
.vm-snap.is-ready { opacity: 1; transform: none; }
.vm-snap:not([src]) { visibility: hidden; }
.vm-recent-thumb .vm-snapwrap { border-radius: 12px; transition: border-radius .5s var(--ease); }
.vm-recent li:hover .vm-recent-thumb .vm-snapwrap { border-radius: 50%; }
.vm-story-layout .vm-postnav-item .vm-snapwrap { flex: none; width: 64px; height: 64px; border-radius: 12px; transition: transform .5s var(--ease), border-radius .5s; }
.vm-story-layout .vm-postnav-item:hover .vm-snapwrap { transform: rotate(-6deg); border-radius: 50%; }
.vm-story-layout .vm-postnav-item .vm-snapwrap img { width: 100%; height: 100%; }
.vm-phone-thumb .vm-snapwrap { border-radius: 8px; }

/* Category table (Ella feature table) */
.vm-table-sec { background: #fff; }
.vm-table { margin-bottom: 36px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 4px 30px -12px rgba(29, 29, 31, .2); }
.vm-table-row { display: grid; grid-template-columns: 1.8fr 1fr 1fr; align-items: center; text-align: center; transition: background .3s; }
.vm-table-row:nth-child(even) { background: #fafafa; }
.vm-table-row:not(.vm-table-head):hover { background: var(--peach); }
.vm-table-row > span { padding: 14px 18px; font-size: 15px; color: var(--ink); }
.vm-table-row > span:first-child { display: flex; align-items: center; gap: 12px; text-align: left; }
.vm-table-row > span + span { border-left: 1px solid var(--line); }
.vm-table-head > span { color: var(--accent); font-family: var(--font-head); font-weight: 600; font-size: 15px; padding-top: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.vm-table-head > span:first-child { justify-content: center; }
.vm-table-dot { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--t1), var(--t2)); color: #fff; font-size: 13px; }
.vm-table-row a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; font-size: 14px; }
.vm-table-row a .vm-icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: #22c55e; color: #fff; stroke-width: 3; }
.vm-table-row a:hover { color: var(--accent); }
.js .vm-table.reveal .vm-table-row { opacity: 0; transform: translateY(10px); }
.js .vm-table.reveal.is-in .vm-table-row { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease), background .3s; transition-delay: calc(var(--i, 0) * 50ms), calc(var(--i, 0) * 50ms), 0s; }

/* How it works (Ella mobile-first block) */
.vm-how { background: var(--soft); }
.vm-how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; max-width: 1040px; margin: 0 auto; }
.vm-steps { display: grid; gap: 14px; }
.vm-step { display: grid; gap: 6px; padding: 20px 22px; border: 1px solid transparent; border-radius: 12px; background: transparent; text-align: left; cursor: pointer; opacity: .45; transition: opacity .35s, border-color .35s, background .35s, transform .35s var(--ease); }
.vm-step strong { font-family: var(--font-head); font-size: 18px; color: var(--ink); font-weight: 600; }
.vm-step span { font-size: 15px; color: var(--text); }
.vm-step:hover { opacity: .8; }
.vm-step.is-active { opacity: 1; border-color: var(--accent); background: #fff; box-shadow: var(--shadow); transform: translateX(6px); }
.vm-phone { position: relative; justify-self: center; width: 290px; padding: 12px; border-radius: 42px; background: var(--ink); box-shadow: 0 50px 80px -40px rgba(29, 29, 31, .7); }
.vm-phone-notch { position: absolute; left: 50%; top: 18px; width: 90px; height: 22px; margin-left: -45px; border-radius: 999px; background: var(--ink); z-index: 2; }
.vm-phone-screen { min-height: 540px; padding: 50px 14px 16px; border-radius: 32px; background: #fff; }
.vm-phone-top { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.vm-phone-top .vm-icon { width: 18px; height: 18px; margin-left: auto; color: var(--muted); }
.vm-phone-item { display: flex; align-items: center; gap: 10px; padding: 10px; margin-bottom: 8px; border-radius: 12px; border: 1px solid var(--line); transition: border-color .4s, box-shadow .4s, transform .4s var(--ease); }
.vm-phone-item.is-active { border-color: var(--accent); box-shadow: 0 10px 20px -12px rgba(255, 71, 25, .6); transform: scale(1.03); }
.vm-phone-thumb { flex: none; display: block; width: 46px; height: 46px; border-radius: 8px; overflow: hidden; }
.vm-phone-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vm-phone-text { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.vm-phone-text b { font-size: 12.5px; font-weight: 600; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vm-phone-text small { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vm-phone-vote { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--peach); color: var(--accent); }
.vm-phone-vote .vm-icon { width: 15px; height: 15px; stroke-width: 2.6; }

/* CTA pair (Ella performance block) */
.vm-cta-sec { background: #fff; }
.vm-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 1040px; }
.vm-cta-white { display: flex; align-items: center; justify-content: center; gap: 40px; padding: 44px; border-radius: 16px; background: #fff; box-shadow: 0 4px 30px -12px rgba(29, 29, 31, .2); }
.vm-ring { position: relative; flex: none; display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%; background: conic-gradient(var(--accent) 0 300deg, var(--line) 300deg 360deg); animation: vmSpin 14s linear infinite; }
.vm-ring::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #fff; }
.vm-ring span { position: relative; z-index: 1; display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--accent); color: #fff; animation: vmSpin 14s linear infinite reverse; }
.vm-ring .vm-icon { width: 34px; height: 34px; stroke-width: 2.8; }
.vm-cta-figs { display: grid; gap: 16px; }
.vm-cta-figs p { margin: 0; line-height: 1.15; }
.vm-cta-figs small { display: block; font-weight: 600; color: var(--ink); font-size: 14px; }
.vm-cta-figs strong { font-family: var(--font-head); font-size: 36px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.vm-cta-orange { position: relative; padding: 44px; border-radius: 16px; overflow: hidden; background: var(--accent); color: rgba(255, 255, 255, .9); text-align: center; }
.vm-cta-orange::before { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .1); animation: vmFloat 10s ease-in-out infinite; }
.vm-cta-orange > * { position: relative; }
.vm-cta-orange h2 { color: #fff; font-size: clamp(26px, 2.8vw, 34px); font-weight: 700; }
.vm-cta-orange p { max-width: 420px; margin: 0 auto 24px; }

/* ---------- Pagination ---------- */
.vm-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 50px; }
.vm-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s; }
.vm-pagination a.page-numbers:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-3px); }
.vm-pagination .current { background: var(--accent); border-color: var(--accent); color: #fff; }
.vm-pagination .dots { border-color: transparent; background: transparent; }

/* ---------- Inner page hero ---------- */
.vm-pagehero { position: relative; overflow: hidden; padding: 70px 0 70px; background: var(--soft); border-bottom: 1px solid var(--line); }
.vm-blob { position: absolute; border-radius: 50%; pointer-events: none; animation: vmBlob 18s ease-in-out infinite; }
.vm-blob-a { left: -140px; top: -220px; width: 420px; height: 420px; border: 60px solid var(--accent); opacity: .9; }
.vm-blob-b { right: -60px; bottom: -120px; width: 240px; height: 240px; background: var(--peach); animation-delay: -8s; }
.vm-pagehero > .vm-container { position: relative; text-align: center; }
.vm-crumbs { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-bottom: 16px; padding: 6px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); animation: vmHeroIn .7s var(--ease) both; }
.vm-crumbs a { color: var(--ink); }
.vm-crumbs a:hover { color: var(--accent); }
.vm-crumbs-sep { color: var(--accent); }
.vm-crumbs .is-current { max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vm-pagehero .vm-eyebrow { animation: vmHeroIn .7s .08s var(--ease) both; }
.vm-pagehero-title { max-width: 920px; margin: 0 auto; font-size: clamp(30px, 4vw, 50px); font-weight: 700; color: var(--accent); animation: vmHeroIn .8s .14s var(--ease) both; }
.vm-pagehero-text { max-width: 700px; margin: 14px auto 0; font-size: 17px; color: var(--ink); animation: vmHeroIn .8s .22s var(--ease) both; }
.vm-pagehero-text p:last-child { margin: 0; }
.vm-pagehero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 50px; align-items: center; }
.vm-pagehero.has-media > .vm-container { text-align: left; }
.vm-pagehero-main { min-width: 0; }

/* ---------- Layout + sidebar ---------- */
.vm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 50px; padding-top: 80px; padding-bottom: 120px; align-items: start; }
.vm-content { min-width: 0; }
.vm-sidebar { position: sticky; top: 96px; }
.vm-sidebar-inner { display: grid; gap: 24px; }
.vm-widget { position: relative; padding: 28px 24px 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .45s, transform .45s var(--ease), border-color .45s; }
.vm-widget::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); transform: scaleX(.14); transform-origin: 0 50%; transition: transform .7s var(--ease); }
.vm-widget:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-5px); }
.vm-widget:hover::before { transform: scaleX(1); }
.vm-widget-title { display: flex; align-items: center; gap: 12px; font-size: 20px; margin-bottom: 20px; }
.vm-widget-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--peach); color: var(--accent); transition: background .45s, color .45s, transform .55s var(--ease); }
.vm-widget-ico .vm-icon { width: 19px; height: 19px; }
.vm-widget-ico .vm-icon-bolt { fill: currentColor; stroke: none; }
.vm-widget:hover .vm-widget-ico { background: var(--accent); color: #fff; transform: rotate(-12deg); }

.vm-widget-search { background: var(--ink); border: 0; color: rgba(255, 255, 255, .72); }
.vm-widget-search::before { background: var(--gold); }
.vm-widget-search .vm-widget-title { color: #fff; }
.vm-widget-search .vm-widget-ico { background: var(--accent); color: #fff; }
.vm-widget-glow { position: absolute; right: -100px; top: -120px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(253, 70, 33, .55), transparent 68%); animation: vmFloat 11s ease-in-out infinite; pointer-events: none; }
.vm-widget-search > *:not(.vm-widget-glow) { position: relative; }
.vm-widget .vm-search input { height: 54px; border-color: transparent; background: var(--soft-2); }
.vm-widget-search .vm-search input { background: #fff; }
.vm-widget .vm-search button { width: 42px; height: 42px; }
.vm-side-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.vm-side-stats div { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); transition: background .35s, transform .35s var(--ease); }
.vm-side-stats div:hover { background: rgba(253, 70, 33, .22); transform: translateY(-3px); }
.vm-side-stats strong { display: block; font-weight: 600; font-size: 21px; line-height: 1.15; color: #fff; }
.vm-side-stats span { font-size: 12.5px; }

.vm-quicknav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vm-quicknav a { position: relative; display: grid; justify-items: center; gap: 10px; padding: 16px 6px 14px; border-radius: 16px; color: var(--ink); font-weight: 500; font-size: 14px; text-align: center; overflow: hidden; isolation: isolate; transition: color .35s, transform .4s var(--ease), box-shadow .4s; }
.vm-quicknav a:nth-child(1) { background: var(--lav); }
.vm-quicknav a:nth-child(2) { background: var(--yel); }
.vm-quicknav a:nth-child(3) { background: var(--mnt); }
.vm-quicknav a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); border-radius: 50%; transform: scale(0); transition: transform .5s var(--ease), border-radius .5s; }
.vm-quicknav a span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); transition: transform .5s var(--ease), color .3s; }
.vm-quicknav a:hover, .vm-quicknav a.is-active { color: #fff; transform: translateY(-5px); box-shadow: 0 16px 26px -14px rgba(253, 70, 33, .8); }
.vm-quicknav a:hover::before, .vm-quicknav a.is-active::before { transform: scale(1.6); border-radius: 0; }
.vm-quicknav a:hover span, .vm-quicknav a.is-active span { color: var(--accent); transform: rotate(-12deg) scale(1.08); }

.vm-sidenav { position: relative; margin: 0 -8px; }
.vm-sidenav-glider { position: absolute; left: 0; right: 0; top: 0; height: 0; border-radius: 14px; background: var(--peach); box-shadow: inset 3px 0 0 var(--accent); opacity: 0; transition: transform .45s var(--ease), height .3s var(--ease), opacity .3s; pointer-events: none; }
.vm-sidenav ul { position: relative; display: grid; }
.vm-sidenav a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 14px; color: var(--ink); transition: color .3s, padding-left .4s var(--ease); }
.vm-side-tile { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--t1), var(--t2)); color: #fff; font-weight: 600; font-size: 15px; transition: transform .5s var(--ease), border-radius .5s; }
.vm-side-name { flex: 1; min-width: 0; display: grid; gap: 6px; font-weight: 500; font-size: 14.5px; line-height: 1.25; }
.vm-catbar { display: block; height: 4px; border-radius: 4px; background: var(--soft-2); overflow: hidden; }
.vm-catbar i { display: block; height: 100%; width: var(--w, 50%); border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--gold)); transform-origin: 0 50%; }
.vm-sidenav em { flex: none; font-style: normal; font-size: 12px; font-weight: 600; min-width: 38px; text-align: center; padding: 4px 9px; border-radius: 999px; background: var(--soft-2); color: var(--text); transition: background .3s, color .3s, transform .4s var(--ease); }
.vm-sidenav a:hover, .vm-sidenav .is-active a { color: var(--accent); padding-left: 16px; }
.vm-sidenav a:hover .vm-side-tile, .vm-sidenav .is-active .vm-side-tile { transform: rotate(-10deg) scale(1.1); border-radius: 12px; }
.vm-sidenav a:hover em, .vm-sidenav .is-active em { background: var(--accent); color: #fff; transform: scale(1.08); }
.vm-side-more { justify-content: center; width: 100%; margin-top: 16px; padding: 13px; border-radius: 999px; border: 1px solid rgba(253, 70, 33, .4); color: var(--accent); font-weight: 500; font-size: 14.5px; transition: background .35s, color .35s; }
.vm-side-more .vm-icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.vm-side-more:hover { background: var(--accent); color: #fff; }
.vm-side-more:hover .vm-icon { transform: translateX(5px); }

.vm-recent { display: grid; gap: 14px; }
.vm-recent li { position: relative; display: flex; gap: 14px; align-items: flex-start; transition: transform .4s var(--ease); }
.vm-recent li:hover { transform: translateX(6px); }
.vm-recent-thumb { position: relative; flex: none; width: 62px; height: 62px; transition: transform .5s var(--ease); }
.vm-recent-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; transition: border-radius .5s var(--ease); }
.vm-recent-thumb b { position: absolute; left: -6px; top: -6px; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: 11px; line-height: 1; box-shadow: 0 0 0 3px #fff; }
.vm-recent li:hover .vm-recent-thumb { transform: rotate(-6deg) scale(1.05); }
.vm-recent li:hover .vm-recent-thumb img { border-radius: 50%; }
.vm-recent div { min-width: 0; }
.vm-recent a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink); font-weight: 500; font-size: 15px; line-height: 1.35; }
.vm-recent a::after { content: ""; position: absolute; inset: 0; }
.vm-recent li:hover a { color: var(--accent); }
.vm-recent p { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 5px 0 0; font-size: 12px; color: var(--muted); line-height: 1.3; }
.vm-recent p span { padding: 2px 8px; border-radius: 999px; background: var(--peach); color: #c4300f; }

.vm-widget-cta { background: var(--accent); border: 0; color: rgba(255, 255, 255, .92); text-align: center; padding: 38px 26px 34px; }
.vm-widget-cta::before { display: none; }
.vm-widget-cta > * { position: relative; }
.vm-cta-ring { position: absolute !important; left: 50%; bottom: -150px; width: 360px; height: 360px; margin-left: -180px; border-radius: 50%; background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 40px rgba(255, 255, 255, .05); }
.vm-widget-cta h2 { color: #fff; font-size: 24px; }
.vm-widget-cta p { font-size: 15px; }
.vm-cta-bolt { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--accent); margin-bottom: 16px; animation: vmPulseW 2.6s ease-out infinite; }
.vm-cta-bolt .vm-icon { width: 30px; height: 30px; fill: var(--accent); stroke: none; }

/* Story Categories widget: every active category, scrollable and filterable */
.vm-widget-count { margin-left: auto; font-style: normal; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--peach); color: #c4300f; }
.vm-storycats-filter { margin-bottom: 12px; }
.vm-storycats-filter input { height: 46px; padding-left: 18px; font-size: 14.5px; }
.vm-storycats-filter .vm-catfilter-ico { width: 34px; height: 34px; }
.vm-storycats { max-height: 360px; overflow-y: auto; margin: 0 -6px; padding: 2px 6px; scrollbar-width: thin; scrollbar-color: var(--accent) var(--soft-2); -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent); mask-image: linear-gradient(180deg, #000 88%, transparent); }
.vm-storycats::-webkit-scrollbar { width: 5px; }
.vm-storycats::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 5px; }
.vm-storycats li { border-bottom: 1px dashed rgba(7, 21, 22, .1); }
.vm-storycats li:last-child { border-bottom: 0; }
.vm-storycats a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 6px 9px 18px; color: var(--ink); font-size: 14.5px; line-height: 1.3; transition: color .3s, padding-left .35s var(--ease), background .3s; border-radius: 10px; }
.vm-storycats a::before { content: ""; position: absolute; left: 4px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; border: 1.5px solid var(--accent); transition: background .3s, transform .35s var(--ease); }
.vm-storycats em { flex: none; font-style: normal; font-size: 12px; color: var(--muted); transition: color .3s; }
.vm-storycats a:hover, .vm-storycats .is-active a { color: var(--accent); padding-left: 24px; background: var(--peach); }
.vm-storycats a:hover::before, .vm-storycats .is-active a::before { background: var(--accent); transform: scale(1.3); }
.vm-storycats a:hover em, .vm-storycats .is-active em { color: var(--accent); }
.vm-storycats-empty { margin: 8px 0 0; font-size: 14px; }
.js .side-reveal .vm-storycats li { opacity: 0; transform: translateX(18px); }
.js .side-reveal.is-in .vm-storycats li { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: calc(var(--d, 0s) + .2s + var(--i, 0) * 35ms); }

/* ---------- Archive ---------- */
.vm-listhead { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 14px 22px; margin-bottom: 28px; border-radius: 999px; background: var(--peach); font-size: 14.5px; font-weight: 500; color: var(--ink); }
.vm-listhead span { display: inline-flex; align-items: center; gap: 8px; }
.vm-listhead .vm-icon { color: var(--accent); width: 18px; height: 18px; }
.vm-content .vm-cards-2 { gap: 26px; }
.vm-empty { padding: 50px 40px; border-radius: var(--radius); background: var(--soft); text-align: center; display: grid; gap: 14px; justify-items: center; }
.vm-empty .vm-search { width: min(460px, 100%); }

/* ---------- Single ---------- */
.vm-post { padding: 38px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.vm-post-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 24px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.vm-post-author { display: inline-flex; align-items: center; gap: 12px; }
.vm-avatar { border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--accent); }
.vm-post-author small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.2; }
.vm-post-author a { font-weight: 600; color: var(--ink); }
.vm-post-author a:hover { color: var(--accent); }
.vm-post-date { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--soft-2); font-size: 14px; }
.vm-post-date .vm-icon { color: var(--accent); width: 17px; height: 17px; }
.vm-linkcard { position: relative; display: flex; align-items: center; gap: 18px; padding: 20px 22px; margin-bottom: 30px; border-radius: 18px; background: var(--yel); color: var(--ink); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s; }
.vm-linkcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.vm-linkcard-ico { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--t1), var(--t2)); color: #fff; font-weight: 700; font-size: 24px; }
.vm-linkcard-body { flex: 1; min-width: 0; display: grid; }
.vm-linkcard-body small { font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.vm-linkcard-body strong { font-size: 19px; font-weight: 600; }
.vm-linkcard-body em { font-style: normal; font-size: 13.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vm-linkcard-go { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: 14.5px; transition: background .3s, transform .35s var(--ease); }
.vm-linkcard:hover .vm-linkcard-go { background: var(--ink); transform: translateX(4px); }
.vm-linkcard-go .vm-icon { width: 17px; height: 17px; }
.vm-prose { font-size: 17.5px; color: #4b4453; overflow-wrap: anywhere; }
.vm-prose > *:last-child { margin-bottom: 0; }
.vm-prose h2, .vm-prose h3, .vm-prose h4 { margin-top: 1.5em; }
.vm-prose ul, .vm-prose ol { margin: 0 0 1.2em 1.3em; }
.vm-prose ul { list-style: disc; }
.vm-prose ol { list-style: decimal; }
.vm-prose a { text-decoration: underline; text-decoration-color: rgba(253, 70, 33, .4); text-underline-offset: 3px; }
.vm-prose img { border-radius: 14px; }
.vm-prose blockquote { margin: 1.4em 0; padding: 18px 24px; border-left: 4px solid var(--accent); background: var(--peach); border-radius: 0 14px 14px 0; }
.vm-post-tax { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.vm-post-tax > span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); margin-right: 4px; }
.vm-post-tax .vm-icon { color: var(--accent); width: 18px; height: 18px; }
.vm-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.vm-postnav-item { display: grid; gap: 6px; padding: 22px 24px; border-radius: 18px; background: var(--lav); color: var(--ink); transition: transform .4s var(--ease), background .4s, color .4s; }
.vm-postnav-item.is-next { text-align: right; grid-column: 2; background: var(--mnt); }
.vm-postnav-item:hover { background: var(--ink); color: #fff; transform: translateY(-4px); }
.vm-postnav-item small { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.vm-postnav-item.is-next small { justify-content: flex-end; }
.vm-postnav-item small .vm-icon { width: 16px; height: 16px; }
.vm-postnav-item span { font-weight: 500; font-size: 16px; line-height: 1.35; }
.vm-related { margin-top: 60px; }
.vm-related .vm-h3 { margin-bottom: 24px; }
.comments-area, .comment-respond { margin-top: 50px; }
.comment-list { display: grid; gap: 20px; margin-bottom: 30px; }
.comment-body { padding: 22px; border-radius: 16px; background: var(--soft); }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; outline: 0; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--accent); }
.comment-form .submit { padding: 15px 28px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; cursor: pointer; }

/* ---------- Story page ---------- */
.vm-story-hero { position: relative; overflow: hidden; padding: 210px 0 0; background: var(--ink); color: #fff; }
.vm-story-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 190px; background: #fff; }
.vm-story-glow { position: absolute; left: 50%; top: 40px; width: 900px; height: 600px; margin-left: -450px; border-radius: 50%; background: radial-gradient(ellipse, rgba(253, 70, 33, .38), transparent 65%); filter: blur(10px); animation: vmFloat 14s ease-in-out infinite; pointer-events: none; }
.vm-story-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); pointer-events: none; }
.vm-story-hero .vm-container { position: relative; z-index: 1; }
.vm-story-head { text-align: center; max-width: 1000px; }
.vm-story-trail { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; color: rgba(255, 255, 255, .75); }
.vm-story-trail i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.vm-story-trail span:last-child { color: #fff; }
.vm-story-title { color: #fff; font-size: clamp(32px, 4.8vw, 62px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 28px; }
.vm-story-title a { color: #fff; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 4px no-repeat; transition: background-size .7s var(--ease), color .3s; }
.vm-story-title a:hover { color: #fff; background-size: 100% 4px; }
.vm-title-arrow { display: inline-grid; place-items: center; width: .82em; height: .82em; margin-left: .25em; border-radius: 50%; background: var(--accent); vertical-align: .02em; transition: transform .5s var(--ease), background .3s; }
.vm-title-arrow .vm-icon { width: 50%; height: 50%; stroke-width: 2.4; }
.vm-story-title a:hover .vm-title-arrow { transform: rotate(45deg) scale(1.08); background: #fff; color: var(--accent); }
.vm-story-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-bottom: 56px; }
.vm-story-meta li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: 14.5px; color: rgba(255, 255, 255, .86); }
.vm-story-meta .vm-icon { width: 17px; height: 17px; color: #ffb08f; }
.vm-story-meta .vm-story-author { padding: 5px 16px 5px 5px; text-align: left; }
.vm-story-author .vm-avatar { width: 34px; height: 34px; box-shadow: 0 0 0 2px var(--accent); }
.vm-story-author span { display: grid; line-height: 1.2; color: #fff; font-weight: 500; }
.vm-story-author small { font-size: 11.5px; font-weight: 400; color: rgba(255, 255, 255, .6); }

.vm-browser { position: relative; max-width: 1040px; margin: 0 auto; padding: 0; border-radius: 22px; background: #fff; box-shadow: 0 50px 100px -40px rgba(7, 21, 22, .65), 0 0 0 1px rgba(7, 21, 22, .06); }
.vm-browser-bar { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--ink); }
.vm-browser-dots { display: flex; gap: 7px; flex: none; }
.vm-browser-dots i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.vm-browser-dots i:nth-child(2) { background: #febc2e; }
.vm-browser-dots i:nth-child(3) { background: #28c840; }
.vm-browser-url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; max-width: 520px; margin: 0 auto; padding: 8px 16px; border-radius: 999px; background: var(--soft-2); font-size: 14px; color: var(--text); }
.vm-browser-url .vm-icon { width: 15px; height: 15px; color: var(--muted); }
.vm-browser-url span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vm-browser-live { flex: none; display: inline-flex; align-items: center; font-size: 13px; font-weight: 500; color: var(--ink); }
.vm-browser-view { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 0 0 22px 22px; background: var(--soft-2); }
.vm-shot { position: absolute; inset: 0; }
.vm-shot-tile { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vm-shot-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transform: scale(1.03); transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.vm-shot-img.is-ready { opacity: 1; transform: none; }
.vm-browser:hover .vm-shot-img.is-ready { transform: scale(1.02); }
.vm-browser-tag { position: absolute; right: -18px; top: 54px; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 0 0 6px #fff, 0 18px 30px -12px rgba(253, 70, 33, .8); animation: vmBob 6s ease-in-out infinite; }
.vm-browser-tag .vm-icon { width: 26px; height: 26px; fill: currentColor; }

.vm-story-layout { padding-top: 70px; }
.vm-glance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.vm-glance-item { position: relative; display: grid; gap: 2px; min-width: 0; padding: 18px; border-radius: 18px; transition: transform .45s var(--ease), box-shadow .45s; }
.vm-glance-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.vm-glance-ico { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 10px; border-radius: 50%; background: #fff; color: var(--accent); transition: transform .5s var(--ease), background .4s, color .4s; }
.vm-glance-ico .vm-icon { width: 18px; height: 18px; }
.vm-glance-item:hover .vm-glance-ico { background: var(--accent); color: #fff; transform: rotate(-12deg); }
.vm-glance-item small { font-size: 12.5px; color: var(--text); }
.vm-glance-item strong { font-weight: 600; font-size: 15.5px; color: var(--ink); line-height: 1.3; overflow-wrap: anywhere; }

.vm-story { position: relative; padding: 36px 38px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.vm-story::before { content: ""; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%; background: var(--peach); }
.vm-story > * { position: relative; }
.vm-story-cardhead { display: flex; align-items: center; gap: 18px; padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px dashed rgba(7, 21, 22, .14); }
.vm-story-cardhead .vm-eyebrow { margin-bottom: 4px; }
.vm-story-cardhead h2 { font-size: 26px; margin: 0; }
.vm-story-num { flex: none; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; background: var(--ink); color: #fff; font-weight: 700; font-size: 22px; letter-spacing: -.02em; transform: rotate(-6deg); transition: transform .5s var(--ease), background .4s; }
.vm-story:hover .vm-story-num { transform: rotate(0); background: var(--accent); }
.vm-story-prose { font-size: 18px; line-height: 1.85; }
.vm-naked { display: inline; padding: 2px 8px; border-radius: 8px; background: var(--soft-2); color: var(--ink); font-size: .9em; font-weight: 500; overflow-wrap: anywhere; word-break: break-word; -webkit-box-decoration-break: clone; box-decoration-break: clone; cursor: text; user-select: all; }
.vm-story-source { display: flex; align-items: center; gap: 16px; margin-top: 30px; padding: 18px 20px; border-radius: 18px; background: var(--yel); }
.vm-story-source-ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--accent); }
.vm-story-source-ico .vm-icon { fill: currentColor; width: 20px; height: 20px; }
.vm-story-source div { min-width: 0; display: grid; gap: 4px; }
.vm-story-source small { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.vm-story-source .vm-naked { background: rgba(255, 255, 255, .7); }

.vm-story-layout .vm-postnav-item { display: flex; align-items: center; gap: 16px; padding: 16px; }
.vm-story-layout .vm-postnav-item > span { display: grid; gap: 6px; min-width: 0; }
.vm-story-layout .vm-postnav-item.is-next { justify-content: flex-end; }
.vm-story-layout .vm-postnav-item b { font-weight: 500; font-size: 15.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vm-story-layout .vm-postnav-item img { flex: none; width: 64px; height: 64px; border-radius: 16px; object-fit: cover; transition: transform .5s var(--ease), border-radius .5s; }
.vm-story-layout .vm-postnav-item:hover img { transform: rotate(-6deg); border-radius: 50%; }
.vm-related .vm-eyebrow { margin-bottom: 6px; }

/* ---------- Categories page (pastel card grid) ---------- */
.vm-cattools { position: sticky; top: 90px; z-index: 5; display: grid; gap: 14px; padding: 16px; margin-bottom: 36px; border-radius: 24px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.vm-catfilter input { height: 54px; background: var(--soft-2); border-color: transparent; }
.vm-catfilter-ico { width: 42px; height: 42px; }
.vm-az { display: flex; flex-wrap: wrap; gap: 6px; }
.vm-az a { display: grid; place-items: center; min-width: 34px; height: 34px; border-radius: 50%; background: var(--soft-2); color: var(--ink); font-weight: 600; font-size: 13.5px; transition: transform .3s var(--ease), background .3s, color .3s; }
.vm-az a:hover { background: var(--accent); color: #fff; transform: translateY(-3px) scale(1.1); }
.vm-catgroup { margin-bottom: 44px; scroll-margin-top: 260px; }
.vm-catgroup-title { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.vm-catgroup-title span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 26px; }
.vm-catgroup-title i { flex: 1; height: 1px; background: var(--line); }
.vm-catgroup-title em { font-style: normal; font-size: 13px; font-weight: 500; padding: 4px 12px; border-radius: 999px; background: var(--soft-2); color: var(--text); letter-spacing: 0; }
.vm-catgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vm-catcard { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 16px; border-radius: 18px; color: var(--ink); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.vm-catgrid .vm-catcard:nth-child(4n+1) { background: var(--lav); }
.vm-catgrid .vm-catcard:nth-child(4n+2) { background: var(--yel); }
.vm-catgrid .vm-catcard:nth-child(4n+3) { background: var(--pch); }
.vm-catgrid .vm-catcard:nth-child(4n+4) { background: var(--mnt); }
.vm-catcard::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .75), transparent 70%); }
.vm-catcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--ink); }
.vm-catcard:hover::before { opacity: 1; }
.vm-catcard-ico { position: relative; flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink); font-weight: 600; font-size: 18px; border: 1px solid rgba(7, 21, 22, .1); transition: background .4s, color .4s, transform .5s var(--ease); }
.vm-catcard:hover .vm-catcard-ico { background: var(--accent); color: #fff; transform: rotate(-12deg); }
.vm-catcard-body { position: relative; flex: 1; min-width: 0; display: grid; }
.vm-catcard-body strong { font-weight: 600; font-size: 15.5px; line-height: 1.25; }
.vm-catcard-body small { font-size: 12.5px; color: var(--text); }
.vm-catcard > .vm-icon { position: relative; width: 18px; height: 18px; color: var(--accent); opacity: 0; transform: translateX(-8px); transition: .35s var(--ease); }
.vm-catcard:hover > .vm-icon { opacity: 1; transform: none; }
.vm-filter-empty { padding: 24px; border-radius: 16px; background: var(--soft); text-align: center; }

/* ---------- Sitemap page (tree + index columns) ---------- */
.vm-tree { position: relative; padding: 0 0 50px 40px; }
.vm-tree::before { content: ""; position: absolute; left: 22px; top: 46px; bottom: 0; width: 1px; border-left: 2px dashed rgba(253, 70, 33, .35); }
.vm-tree:last-child { padding-bottom: 0; }
.vm-tree:last-child::before { bottom: 12px; }
.vm-tree-title { display: flex; align-items: center; gap: 14px; margin: 0 0 22px -40px; font-size: 28px; }
.vm-tree-title > span { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 0 0 6px #fff; transition: background .4s; }
.vm-tree:hover .vm-tree-title > span { background: var(--accent); }
.vm-tree-title em { font-style: normal; font-size: 13px; font-weight: 500; letter-spacing: 0; padding: 4px 12px; border-radius: 999px; background: var(--peach); color: #c4300f; }
.vm-tree-list { display: grid; gap: 2px; }
.vm-tree-pages { grid-template-columns: repeat(2, 1fr); column-gap: 30px; }
.vm-tree-list li { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0 9px 22px; }
.vm-tree-list li::before { content: ""; position: absolute; left: -16px; top: 21px; width: 26px; height: 2px; background: rgba(253, 70, 33, .25); transition: background .3s; }
.vm-tree-pages li:nth-child(even)::before { left: 0; width: 12px; }
.vm-tree-list li:hover::before { background: var(--accent); }
.vm-tree-list a { color: var(--ink); display: inline-block; transition: color .3s, transform .35s var(--ease); }
.vm-tree-list a:hover { color: var(--accent); transform: translateX(6px); }
.vm-tree-list time { flex: none; font-size: 13px; color: var(--muted); }
.vm-index { columns: 3 220px; column-gap: 30px; }
.vm-index-group { break-inside: avoid; margin-bottom: 26px; padding: 18px 18px 12px; border-radius: 18px; background: var(--soft); transition: background .4s; }
.vm-index-group:hover { background: var(--peach); }
.vm-index-group h3 { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--accent); font-size: 15px; margin-bottom: 8px; }
.vm-index-group a { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; color: var(--ink); font-size: 15px; line-height: 1.4; transition: color .25s, padding-left .35s var(--ease); }
.vm-index-group a span { min-width: 0; }
.vm-index-group a i { flex: 1; min-width: 14px; border-bottom: 1px dashed rgba(7, 21, 22, .2); transform: translateY(-4px); }
.vm-index-group a em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.vm-index-group a:hover { color: var(--accent); padding-left: 8px; }
.vm-index-group a:hover em { color: var(--accent); }

/* Story page: light Ella hero */
.vm-story-hero { padding: 64px 0 0; background: var(--soft); color: var(--ink); }
.vm-story-hero::after { height: 170px; }
.vm-story-glow { left: -160px; top: -260px; width: 520px; height: 520px; margin: 0; border-radius: 50%; background: none; border: 70px solid var(--accent); filter: none; opacity: .95; animation: vmBlob 18s ease-in-out infinite; }
.vm-story-grid { background-image: radial-gradient(rgba(29, 29, 31, .09) 1.2px, transparent 1.5px); background-size: 22px 22px; }
.vm-story-trail { background: #fff; border-color: var(--line); color: var(--muted); border-radius: 8px; }
.vm-story-trail span:last-child { color: var(--accent); }
.vm-story-title { color: var(--ink); font-weight: 700; }
.vm-story-title a { color: var(--ink); background-image: linear-gradient(var(--gold), var(--gold)); background-size: 0 .3em; background-position: 0 92%; }
.vm-story-title a:hover { color: var(--accent); background-size: 100% .3em; }
.vm-title-arrow { color: #fff; }
.vm-story-title a:hover .vm-title-arrow { background: var(--ink); color: #fff; }
.vm-story-meta li { background: #fff; border-color: var(--line); color: var(--ink); border-radius: 8px; box-shadow: 0 4px 14px -10px rgba(29, 29, 31, .3); }
.vm-story-meta .vm-icon { color: var(--accent); }
.vm-story-author span { color: var(--ink); }
.vm-story-author small { color: var(--muted); }
.vm-browser { border-radius: 14px; }
.vm-browser-view { border-radius: 0 0 14px 14px; }
.vm-browser-tag { border-radius: 12px; box-shadow: 0 0 0 5px #fff, 0 18px 30px -12px rgba(255, 71, 25, .8); }
.vm-story, .vm-widget, .vm-post { border-radius: 14px; }
.vm-story-num { border-radius: 12px; background: var(--accent); }
.vm-story:hover .vm-story-num { background: var(--ink); }
.vm-glance-item { border-radius: 12px; }
.vm-glance-ico, .vm-widget-ico, .vm-catcard-ico, .vm-quicknav a span { border-radius: 10px; }
.vm-catgroup-title span, .vm-az a { border-radius: 10px; }
.vm-quicknav a, .vm-catcard, .vm-postnav-item { border-radius: 12px; }
.vm-listhead { border-radius: 10px; }

/* ---------- Footer ---------- */
.vm-footer { background: var(--soft); padding: 80px 0 0; border-top: 1px solid var(--line); }
.vm-footer-box { padding: 50px; border-radius: 16px; background: #fff; box-shadow: 0 4px 30px -14px rgba(29, 29, 31, .2); }
.vm-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 46px; }
.vm-footer-brand p { margin: 18px 0 20px; max-width: 360px; font-size: 15px; }
.vm-footer-brand .vm-search { max-width: 360px; }
.vm-footer-title { font-size: 17px; margin-bottom: 18px; color: var(--accent); }
.vm-footer-col li { margin-bottom: 10px; }
.vm-footer-col a { color: var(--text); font-size: 15px; display: inline-block; transition: color .3s, transform .35s var(--ease); }
.vm-footer-col a:hover { color: var(--accent); transform: translateX(5px); }
.vm-footer-bottom { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; padding: 24px 0; font-size: 14px; color: var(--ink); }
.vm-footer-bottom p { margin: 0; }
.vm-footer-bottom a { color: var(--accent); font-weight: 600; }
.vm-totop { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 14px 26px -12px rgba(255, 71, 25, .8); opacity: 0; visibility: hidden; transform: translateY(16px); transition: .4s var(--ease); }
.vm-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.vm-totop:hover { color: #fff; background: var(--ink); }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.js .reveal-left { transform: translateX(-46px); }
.js .reveal-right { transform: translateX(46px); }
.js .reveal-zoom { transform: scale(.92); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .vm-card.is-in, .js .vm-catcard.is-in, .js .vm-feature.is-in { transition: opacity .8s var(--ease) var(--d, 0s), transform .5s var(--ease), box-shadow .5s; }

.js .side-reveal { opacity: 0; transform: translateX(40px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s), box-shadow .45s, border-color .45s; }
.js .side-reveal.is-in { opacity: 1; transform: none; }
.js .side-reveal.is-in:hover { transform: translateY(-5px); transition-delay: 0s; }
.js .side-reveal .vm-sidenav li, .js .side-reveal .vm-recent li { opacity: 0; transform: translateX(18px); }
.js .side-reveal.is-in .vm-sidenav li, .js .side-reveal.is-in .vm-recent li { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: calc(var(--d, 0s) + .2s + var(--i, 0) * 45ms); }
.js .side-reveal.is-in .vm-recent li:hover { transform: translateX(6px); transition-delay: 0s; }
.js .side-reveal .vm-quicknav a { opacity: 0; transform: translateY(18px) scale(.92); }
.js .side-reveal.is-in .vm-quicknav a { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease), color .35s, box-shadow .4s; transition-delay: calc(var(--d, 0s) + .2s + var(--i, 0) * 80ms), calc(var(--d, 0s) + .2s + var(--i, 0) * 80ms), 0s, 0s; }
.js .side-reveal.is-in .vm-quicknav a:hover, .js .side-reveal.is-in .vm-quicknav a.is-active { transform: translateY(-5px); transition-delay: 0s; }
.js .side-reveal .vm-catbar i { transform: scaleX(0); }
.js .side-reveal.is-in .vm-catbar i { transform: none; transition: transform 1.1s var(--ease); transition-delay: calc(var(--d, 0s) + .45s + var(--i, 0) * 45ms); }

@keyframes vmHeroIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes vmDrop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes vmStick { from { top: -90px; } to { top: 12px; } }
@keyframes vmFloat { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(24px, 30px) scale(1.08); } }
@keyframes vmBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes vmSpin { to { transform: rotate(360deg); } }
@keyframes vmMarquee { to { transform: translateX(-50%); } }
@keyframes vmLive { 0% { box-shadow: 0 0 0 0 rgba(46, 224, 122, .7); } 100% { box-shadow: 0 0 0 9px rgba(46, 224, 122, 0); } }
@keyframes vmPulseW { 0% { box-shadow: 0 0 0 6px #fff, 0 0 0 6px rgba(255, 255, 255, .6); } 100% { box-shadow: 0 0 0 6px #fff, 0 0 0 26px rgba(255, 255, 255, 0); } }
@keyframes vmBlink { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
@keyframes vmWave { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.vm-marquee-wrap { overflow-x: auto; }
	.js .reveal, .js .side-reveal, .js .side-reveal .vm-sidenav li, .js .side-reveal .vm-recent li, .js .side-reveal .vm-quicknav a, .js .side-reveal .vm-catbar i, .js .side-reveal .vm-storycats li { opacity: 1; transform: none; }
}

@keyframes vmBlob { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, 24px) scale(1.06); } }
@keyframes vmUnderline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes vmFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes vmVote { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(-3px); } 90% { transform: translateY(1px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
	.vm-cards { grid-template-columns: repeat(3, 1fr); }
	.vm-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; }
	.vm-catgrid { grid-template-columns: repeat(2, 1fr); }
	.vm-index { columns: 2 200px; }
	.vm-hide-md { display: none; }
}
@media (max-width: 1080px) {
	.vm-burger { display: inline-grid; }
	.vm-header-inner { gap: 14px; }
	.vm-nav { position: fixed; top: 0; left: 0; bottom: 0; z-index: 110; width: min(340px, 88vw); padding: 90px 24px 30px; flex-direction: column; align-items: stretch; gap: 22px; background: #fff; box-shadow: 30px 0 60px -30px rgba(29, 29, 31, .5); transform: translateX(-105%); visibility: hidden; transition: transform .5s var(--ease), visibility .5s; overflow-y: auto; }
	.vm-nav-open .vm-nav { transform: none; visibility: visible; }
	.vm-nav-open .vm-scrim { opacity: 1; visibility: visible; }
	.vm-nav-open { overflow: hidden; }
	.vm-burger { position: relative; z-index: 111; }
	.vm-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.vm-menu a { padding: 13px 4px; font-size: 16.5px; border-bottom: 1px solid var(--line); white-space: normal; }
	.vm-menu > li > a::before { display: none; }
	.vm-menu .menu-item-has-children > a::after { margin-left: auto; }
	.vm-menu li { opacity: 0; transform: translateX(-24px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
	.vm-nav-open .vm-menu li { opacity: 1; transform: none; }
	.vm-nav-open .vm-menu > li:nth-child(1) { transition-delay: .1s; }
	.vm-nav-open .vm-menu > li:nth-child(2) { transition-delay: .15s; }
	.vm-nav-open .vm-menu > li:nth-child(3) { transition-delay: .2s; }
	.vm-nav-open .vm-menu > li:nth-child(4) { transition-delay: .25s; }
	.vm-nav-open .vm-menu > li:nth-child(n+5) { transition-delay: .3s; }
	.vm-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
	.vm-menu .sub-menu::before { display: none; }
	.vm-menu .sub-menu a { font-size: 15px; border-bottom: 0; padding: 8px 4px; }
	.vm-nav-ctas { display: grid; gap: 10px; }
	.vm-hero-grid, .vm-how-grid, .vm-cta-grid { grid-template-columns: 1fr; gap: 44px; }
	.vm-hero-shape { width: 90%; right: -45%; top: 30%; }
	.vm-hero-art { min-height: 420px; max-width: 640px; width: 100%; margin: 0 auto; }
	.vm-features { grid-template-columns: repeat(2, 1fr); }
	.vm-cards, .vm-cards-3 { grid-template-columns: repeat(2, 1fr); }
	.vm-pagehero-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 36px; }
	.vm-layout { grid-template-columns: 1fr; }
	.vm-sidebar { position: static; }
	.vm-glance { grid-template-columns: repeat(2, 1fr); }
	.vm-sidebar-inner { grid-template-columns: repeat(2, 1fr); align-items: start; }
	.vm-footer-grid { grid-template-columns: 1fr 1fr; }
	.vm-section { padding: 74px 0; }
	.vm-catgrid { grid-template-columns: repeat(3, 1fr); }
	.vm-index { columns: 3 190px; }
}
@media (max-width: 720px) {
	body { font-size: 15.5px; }
	.vm-container, .vm-narrow { width: min(1280px, 100% - 32px); }
	.vm-ticker span { padding: 8px 20px; font-size: 12px; }
	.vm-header-inner { min-height: 66px; }
	.vm-logo-text { font-size: 21px; }
	.vm-logo-mark { width: 36px; height: 36px; }
	.vm-iconbtn { width: 40px; height: 40px; }
	.vm-hide-sm { display: none; }
	.vm-hero { padding-top: 40px; }
	.vm-hero-title em { white-space: normal; }
	.vm-herosearch { flex-wrap: wrap; gap: 6px; }
	.vm-herosearch-field { flex: 1 1 100%; }
	.vm-herosearch-field + .vm-herosearch-field { border-left: 0; border-top: 1px solid var(--line); }
	.vm-herosearch button { width: 100%; height: 46px; }
	.vm-hero-art { min-height: 300px; }
	.vm-hero-badge { right: 0; bottom: 0; }
	.vm-hero-strip { flex-direction: column; gap: 10px; border-radius: 16px; padding: 14px 18px; text-align: center; }
	.vm-features, .vm-cards, .vm-cards-2, .vm-cards-3, .vm-catgrid, .vm-sidebar-inner, .vm-footer-grid, .vm-postnav, .vm-tree-pages { grid-template-columns: 1fr; }
	.vm-stats { flex-direction: column; align-items: flex-start; gap: 22px; width: fit-content; margin: 0 auto; }
	.vm-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; width: 100%; }
	.vm-tabs button { flex: none; }
	.vm-table-row { grid-template-columns: 1.6fr .8fr .9fr; }
	.vm-table-row > span { padding: 12px 10px; font-size: 14px; }
	.vm-phone { width: 260px; }
	.vm-cta-white { flex-direction: column; gap: 24px; padding: 32px 24px; }
	.vm-cta-orange { padding: 34px 24px; }
	.vm-postnav-item.is-next { grid-column: auto; }
	.vm-section { padding: 60px 0; }
	.vm-pagehero { padding: 50px 0; }
	.vm-pagehero-grid { grid-template-columns: 1fr; gap: 40px; }
	.vm-crumbs .is-current { max-width: 180px; }
	.vm-layout { padding-top: 46px; padding-bottom: 70px; }
	.vm-post { padding: 24px 20px; }
	.vm-story-hero { padding-top: 44px; }
	.vm-story-hero::after { height: 90px; }
	.vm-story-meta { margin-bottom: 32px; gap: 8px; }
	.vm-story-meta li { font-size: 13.5px; padding: 7px 12px; }
	.vm-browser-bar { gap: 10px; padding: 10px 12px; }
	.vm-browser-live { display: none; }
	.vm-browser-view { aspect-ratio: 4 / 3; }
	.vm-browser-tag { right: -6px; top: -14px; width: 50px; height: 50px; }
	.vm-story { padding: 24px 20px; }
	.vm-story-cardhead h2 { font-size: 21px; }
	.vm-story-num { width: 52px; height: 52px; font-size: 18px; }
	.vm-story-prose { font-size: 16.5px; }
	.vm-cattools { position: static; }
	.vm-catgroup { scroll-margin-top: 100px; }
	.vm-index { columns: 1; }
	.vm-tree-pages li:nth-child(even)::before { left: -16px; width: 26px; }
	.vm-footer { padding-top: 60px; }
	.vm-footer-box { padding: 32px 22px; }
	.vm-footer-grid { gap: 32px; }
}
