/* ==========================================================================
   VidMate APK Pro – main stylesheet
   Colors Customizer se aate hain: --vm-primary / --vm-secondary
   ========================================================================== */

:root {
	--vm-primary: #ff6a00;
	--vm-secondary: #ee2a24;
	--vm-grad: linear-gradient(135deg, var(--vm-primary) 0%, var(--vm-secondary) 100%);
	--vm-ink: #1c1d22;
	--vm-text: #4a4d57;
	--vm-muted: #80838d;
	--vm-line: #ececf0;
	--vm-bg: #ffffff;
	--vm-bg-alt: #fff6f1;
	--vm-card: #ffffff;
	--vm-radius: 16px;
	--vm-radius-sm: 10px;
	--vm-shadow: 0 1px 2px rgba(20, 20, 30, .04), 0 8px 24px rgba(20, 20, 30, .06);
	--vm-shadow-lg: 0 20px 50px rgba(238, 42, 36, .18);
	--vm-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--vm-max: 1180px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--vm-font);
	font-size: 17px;
	line-height: 1.7;
	color: var(--vm-text);
	background: var(--vm-bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--vm-secondary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--vm-primary); }
h1, h2, h3, h4 { color: var(--vm-ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.05rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--vm-primary); outline-offset: 2px; border-radius: 4px; }

.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;
}
.vm-skip:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000; top: 8px; left: 8px;
	background: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: var(--vm-shadow);
}

.vm-container { width: 100%; max-width: var(--vm-max); margin: 0 auto; padding: 0 20px; }
.vm-narrow { max-width: 820px; }
.vm-narrow-wide { max-width: var(--vm-max); }
.vm-muted { color: var(--vm-muted); font-size: .92rem; }

.vm-icon { flex-shrink: 0; vertical-align: middle; }

/* ---------- Buttons ---------- */
.vm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; font-weight: 700;
	line-height: 1.2; font-family: inherit; transition: transform .15s ease, box-shadow .2s ease, background .2s;
	-webkit-tap-highlight-color: transparent;
}
.vm-btn:hover { transform: translateY(-2px); }
.vm-btn:active { transform: translateY(0); }
.vm-btn-label { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.vm-btn small { font-weight: 500; font-size: .76rem; opacity: .85; margin-top: 2px; }
.vm-btn-lg { padding: 16px 30px; font-size: 1.08rem; min-height: 60px; }
.vm-btn-lg .vm-icon { width: 24px; height: 24px; }
.vm-btn-md { padding: 12px 22px; font-size: .98rem; }
.vm-btn-sm { padding: 9px 16px; font-size: .9rem; }
.vm-btn-sm .vm-icon { width: 18px; height: 18px; }

.vm-btn-primary { background: var(--vm-grad); color: #fff; box-shadow: var(--vm-shadow-lg); }
.vm-btn-primary:hover { color: #fff; box-shadow: 0 24px 50px rgba(238, 42, 36, .28); }
.vm-btn-light { background: #fff; color: var(--vm-secondary); box-shadow: 0 14px 30px rgba(0, 0, 0, .15); }
.vm-btn-light:hover { color: var(--vm-primary); }
.vm-btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border: 2px solid rgba(255, 255, 255, .6); }
.vm-btn-ghost:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.vm-btn-outline { background: #fff; color: var(--vm-secondary); border: 2px solid var(--vm-primary); }
.vm-btn-outline:hover { background: var(--vm-bg-alt); color: var(--vm-secondary); }

.vm-shortcode-btn { margin: 1.4em 0; text-align: center; }

/* ---------- Header ---------- */
.vm-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: box-shadow .2s, border-color .2s;
}
.admin-bar .vm-header { top: 32px; }
.vm-header.is-scrolled { border-color: var(--vm-line); box-shadow: 0 6px 20px rgba(20, 20, 30, .06); }
.vm-header-inner { display: flex; align-items: center; gap: 24px; min-height: 70px; }

.vm-branding { flex-shrink: 0; }
.vm-branding .custom-logo { max-height: 46px; width: auto; display: block; }
.vm-text-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--vm-ink); }
.vm-text-logo:hover { color: var(--vm-ink); }
.vm-logo-mark {
	width: 40px; height: 40px; border-radius: 12px; background: var(--vm-grad); color: #fff;
	display: grid; place-items: center; box-shadow: 0 6px 16px rgba(238, 42, 36, .3);
}
.vm-logo-mark .vm-icon { fill: currentColor; width: 20px; height: 20px; }
.vm-logo-text { font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; margin: 0; }

.vm-nav { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.vm-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.vm-menu li { position: relative; }
.vm-menu a {
	display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none;
	color: var(--vm-ink); font-weight: 600; font-size: .96rem;
}
.vm-menu a:hover, .vm-menu .current-menu-item > a, .vm-menu .current_page_item > a { color: var(--vm-secondary); background: var(--vm-bg-alt); }
.vm-menu .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 210px;
	background: #fff; border-radius: 12px; box-shadow: var(--vm-shadow); border: 1px solid var(--vm-line);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.vm-menu li:hover > .sub-menu, .vm-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.vm-menu .sub-menu a { border-radius: 8px; }

.vm-nav-search input {
	width: 180px; border: 1px solid var(--vm-line); background: #f7f7f9; border-radius: 999px;
	padding: 9px 16px; font: inherit; font-size: .92rem; transition: width .2s, border-color .2s;
}
.vm-nav-search input:focus { width: 220px; outline: none; border-color: var(--vm-primary); background: #fff; }

.vm-header-actions { display: flex; align-items: center; gap: 10px; }
.vm-menu-toggle {
	display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--vm-line);
	background: #fff; color: var(--vm-ink); cursor: pointer; place-items: center;
}
.vm-menu-toggle .vm-icon-close { display: none; }
.vm-menu-toggle[aria-expanded="true"] .vm-icon-menu { display: none; }
.vm-menu-toggle[aria-expanded="true"] .vm-icon-close { display: block; }

/* ---------- Hero ---------- */
.vm-hero {
	position: relative; color: #fff; background: var(--vm-grad); overflow: hidden;
	padding: 64px 0 110px;
}
.vm-hero::before, .vm-hero::after {
	content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .08); pointer-events: none;
}
.vm-hero::before { width: 520px; height: 520px; right: -140px; top: -180px; }
.vm-hero::after { width: 300px; height: 300px; left: -120px; bottom: -80px; }
.vm-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.vm-hero h1 { color: #fff; margin-bottom: .45em; }
.vm-hero-text { font-size: 1.13rem; opacity: .95; max-width: 560px; }
.vm-badge {
	display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .3); padding: 6px 14px; border-radius: 999px; font-size: .85rem;
	font-weight: 600; margin-bottom: 18px;
}
.vm-badge .vm-icon { width: 16px; height: 16px; }
.vm-hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 24px; }
.vm-hero-stats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .95rem; }
.vm-hero-stats li { display: flex; align-items: center; gap: 6px; }
.vm-hero-stats .vm-stars { --vm-star-empty: rgba(255, 255, 255, .35); --vm-star-fill: #ffd84d; }
.vm-hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; color: var(--vm-bg); }

/* phone mockup */
.vm-hero-visual { position: relative; display: flex; justify-content: center; }
.vm-phone {
	width: 270px; aspect-ratio: 9 / 18.5; border-radius: 40px; background: #16171c; padding: 11px;
	box-shadow: 0 40px 80px rgba(80, 10, 0, .35), inset 0 0 0 2px #2b2c33;
	transform: rotate(-4deg);
}
.vm-phone-img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; display: block; }
.vm-phone-screen { height: 100%; border-radius: 30px; background: #fff; padding: 18px 14px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.vm-ps-bar { height: 34px; border-radius: 10px; background: var(--vm-grad); }
.vm-ps-search { height: 30px; border-radius: 999px; background: #f1f1f4; }
.vm-ps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vm-ps-grid span { aspect-ratio: 1; border-radius: 12px; background: #f6f6f8; position: relative; }
.vm-ps-grid span::after { content: ""; position: absolute; inset: 30%; border-radius: 8px; background: var(--vm-grad); opacity: .75; }
.vm-ps-grid span:nth-child(2n)::after { opacity: .45; }
.vm-ps-row { display: flex; gap: 10px; align-items: center; }
.vm-ps-row i { width: 64px; height: 40px; border-radius: 8px; background: #ececf0; }
.vm-ps-row b { flex: 1; height: 10px; border-radius: 5px; background: #ececf0; }
.vm-ps-progress { height: 8px; border-radius: 4px; background: #f1f1f4; margin-top: auto; overflow: hidden; }
.vm-ps-progress span { display: block; height: 100%; width: 68%; background: var(--vm-grad); border-radius: 4px; animation: vm-progress 3s ease-in-out infinite; }
@keyframes vm-progress { 0% { width: 8%; } 80%, 100% { width: 96%; } }

.vm-float {
	position: absolute; display: flex; align-items: center; gap: 8px; background: #fff; color: var(--vm-ink);
	font-weight: 700; font-size: .9rem; padding: 10px 16px; border-radius: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
	animation: vm-float 4s ease-in-out infinite;
}
.vm-float .vm-icon { color: var(--vm-secondary); width: 18px; height: 18px; }
.vm-float-1 { top: 16%; left: 0; }
.vm-float-2 { bottom: 18%; right: 0; animation-delay: -2s; }
.vm-float-2 .vm-icon { fill: currentColor; }
@keyframes vm-float { 50% { transform: translateY(-10px); } }

/* ---------- Sections ---------- */
.vm-section { padding: 76px 0; }
.vm-section-alt { background: var(--vm-bg-alt); }
.vm-section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.vm-section-head-row { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; max-width: none; gap: 20px; }
.vm-section-head-row h2 { margin: 0; }
.vm-eyebrow {
	display: inline-block; color: var(--vm-secondary); font-weight: 700; font-size: .8rem;
	letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px;
}
.vm-link-more { font-weight: 700; text-decoration: none; white-space: nowrap; }

.vm-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vm-feature {
	background: var(--vm-card); border: 1px solid var(--vm-line); border-radius: var(--vm-radius);
	padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.vm-feature:hover { transform: translateY(-4px); box-shadow: var(--vm-shadow); border-color: transparent; }
.vm-feature-icon {
	width: 54px; height: 54px; border-radius: 15px; background: var(--vm-bg-alt); display: grid; place-items: center;
	font-size: 1.6rem; margin-bottom: 16px;
}
.vm-feature p { margin: 0; font-size: .97rem; }

.vm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.vm-info-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--vm-radius); overflow: hidden; box-shadow: var(--vm-shadow); margin-bottom: 1.6em; font-size: .97rem; }
.vm-info-table th, .vm-info-table td { padding: 13px 20px; text-align: left; border-bottom: 1px solid var(--vm-line); }
.vm-info-table tr:last-child th, .vm-info-table tr:last-child td { border-bottom: 0; }
.vm-info-table th { width: 42%; color: var(--vm-muted); font-weight: 600; }
.vm-info-table td { color: var(--vm-ink); font-weight: 600; }

.vm-steps { list-style: none; padding: 0; margin: 0 0 28px; counter-reset: vmstep; }
.vm-steps li {
	counter-increment: vmstep; position: relative; padding: 4px 0 22px 62px; display: flex; flex-direction: column;
}
.vm-steps li::before {
	content: counter(vmstep); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%;
	background: var(--vm-grad); color: #fff; font-weight: 800; display: grid; place-items: center;
	box-shadow: 0 8px 18px rgba(238, 42, 36, .25);
}
.vm-steps li::after { content: ""; position: absolute; left: 20px; top: 46px; bottom: 4px; width: 2px; background: var(--vm-line); }
.vm-steps li:last-child::after { display: none; }
.vm-steps strong { color: var(--vm-ink); }
.vm-steps span { font-size: .96rem; }

/* stars */
.vm-stars {
	--vm-star-empty: #e2e2e8; --vm-star-fill: #ffb400;
	position: relative; display: inline-block; width: 92px; height: 18px; vertical-align: -3px;
	background: var(--vm-star-empty);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath d='m10 0 2.4 5.6 6.1.5-4.6 4 1.4 6-5.3-3.2-5.3 3.2 1.4-6-4.6-4 6.1-.5z'/%3E%3C/svg%3E") 0 0 / 18.4px 18px repeat-x;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath d='m10 0 2.4 5.6 6.1.5-4.6 4 1.4 6-5.3-3.2-5.3 3.2 1.4-6-4.6-4 6.1-.5z'/%3E%3C/svg%3E") 0 0 / 18.4px 18px repeat-x;
}
.vm-stars-fill { position: absolute; inset: 0 auto 0 0; background: var(--vm-star-fill); }

/* FAQ */
.vm-faq details {
	background: #fff; border: 1px solid var(--vm-line); border-radius: var(--vm-radius-sm); margin-bottom: 12px;
	transition: box-shadow .2s, border-color .2s;
}
.vm-faq details[open] { box-shadow: var(--vm-shadow); border-color: transparent; }
.vm-faq summary {
	list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--vm-ink);
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.vm-faq summary::-webkit-details-marker { display: none; }
.vm-faq summary .vm-icon { transition: transform .2s; color: var(--vm-secondary); }
.vm-faq details[open] summary .vm-icon { transform: rotate(180deg); }
.vm-faq details p { padding: 0 22px 18px; margin: 0; }

/* CTA band */
.vm-cta-band { background: var(--vm-grad); color: #fff; text-align: center; padding: 64px 0; }
.vm-cta-band h2 { color: #fff; margin-bottom: .3em; }
.vm-cta-band p { opacity: .9; margin-bottom: 26px; }

/* ---------- Blog cards ---------- */
.vm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vm-cards-2 { grid-template-columns: repeat(2, 1fr); }
.vm-card {
	background: var(--vm-card); border-radius: var(--vm-radius); overflow: hidden; border: 1px solid var(--vm-line);
	display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.vm-card:hover { transform: translateY(-4px); box-shadow: var(--vm-shadow); }
.vm-card-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--vm-bg-alt); }
.vm-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.vm-card:hover .vm-card-thumb img { transform: scale(1.04); }
.vm-card-placeholder { display: grid; place-items: center; height: 100%; background: var(--vm-grad); color: #fff; }
.vm-card-placeholder .vm-icon { width: 44px; height: 44px; fill: currentColor; opacity: .85; }
.vm-card-body { padding: 20px 22px 24px; }
.vm-card-title { font-size: 1.13rem; margin: 8px 0; }
.vm-card-title a { color: var(--vm-ink); text-decoration: none; }
.vm-card-title a:hover { color: var(--vm-secondary); }
.vm-card-body p { font-size: .95rem; margin: 0; }

.vm-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .84rem; color: var(--vm-muted); }
.vm-post-meta time { display: inline-flex; align-items: center; gap: 5px; }
.vm-post-meta .vm-icon { width: 15px; height: 15px; }
.vm-chip {
	background: var(--vm-bg-alt); color: var(--vm-secondary); padding: 3px 11px; border-radius: 999px;
	font-weight: 700; font-size: .78rem; text-decoration: none;
}

/* ---------- Page heads / layout ---------- */
.vm-page-head { background: var(--vm-bg-alt); padding: 30px 0 38px; margin-bottom: 44px; }
.vm-page-head h1 { margin: .3em 0 .35em; }
.vm-page-head h1 span { color: var(--vm-secondary); }
.vm-archive-desc { max-width: 720px; }
.vm-breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: var(--vm-muted); }
.vm-breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: #c4c4cc; }
.vm-breadcrumbs a { color: var(--vm-muted); text-decoration: none; }
.vm-breadcrumbs a:hover { color: var(--vm-secondary); }

.vm-cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.vm-cat-pills a {
	padding: 7px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--vm-line);
	text-decoration: none; color: var(--vm-ink); font-weight: 600; font-size: .9rem;
}
.vm-cat-pills a:hover, .vm-cat-pills a.is-active { background: var(--vm-grad); color: #fff; border-color: transparent; }

.vm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; padding-bottom: 72px; align-items: start; }
.vm-layout > .vm-narrow, .vm-container.vm-narrow { padding-bottom: 60px; }

.vm-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; }
.vm-sidebar .widget { background: #fff; border: 1px solid var(--vm-line); border-radius: var(--vm-radius); padding: 22px; }
.vm-sidebar .widget ul { list-style: none; margin: 0; padding: 0; }
.vm-sidebar .widget li { padding: 8px 0; border-bottom: 1px dashed var(--vm-line); font-size: .95rem; }
.vm-sidebar .widget li:last-child { border-bottom: 0; }
.vm-sidebar .widget a { color: var(--vm-ink); text-decoration: none; }
.vm-sidebar .widget a:hover { color: var(--vm-secondary); }
.widget-title, .widget h2, .widget .wp-block-heading, .widget .wp-block-search__label { font-size: 1.05rem; margin: 0 0 14px; font-weight: 800; color: var(--vm-ink); padding: 0; border: 0; }
.widget .wp-block-search__inside-wrapper { border: 1px solid var(--vm-line); border-radius: 999px; overflow: hidden; padding: 0; }
.widget .wp-block-search__input { border: 0; padding: 10px 16px; font: inherit; font-size: .95rem; min-width: 0; }
.widget .wp-block-search__input:focus { outline: none; }
.widget .wp-block-search__button { margin: 0; border: 0; background: var(--vm-grad); color: #fff; font-weight: 700; padding: 0 18px; cursor: pointer; }
.widget .wp-block-latest-comments { padding: 0; margin: 0; }
.widget .wp-block-latest-comments__comment { line-height: 1.5; }
.widget .wp-block-latest-comments__comment-meta, .widget .has-avatars .wp-block-latest-comments__comment-meta { margin-left: 0; }
.vm-widget-app { background: var(--vm-bg-alt) !important; border-color: transparent !important; text-align: center; }
.vm-widget-app .vm-btn { width: 100%; }

/* ---------- Article ---------- */
.vm-article { min-width: 0; }
.vm-featured { margin: 0 0 30px; border-radius: var(--vm-radius); overflow: hidden; }
.vm-featured img { display: block; width: 100%; }
.entry-content { font-size: 1.06rem; }
.entry-content > * { margin-bottom: 1.2em; }
.entry-content h2 { margin-top: 1.7em; padding-left: 14px; border-left: 4px solid var(--vm-primary); }
.entry-content h3 { margin-top: 1.4em; }
.entry-content img { border-radius: var(--vm-radius-sm); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote {
	margin: 1.6em 0; padding: 18px 24px; background: var(--vm-bg-alt); border-left: 4px solid var(--vm-secondary);
	border-radius: 0 var(--vm-radius-sm) var(--vm-radius-sm) 0; font-style: italic;
}
.entry-content table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.entry-content th, .entry-content td { border: 1px solid var(--vm-line); padding: 10px 14px; text-align: left; }
.entry-content th { background: var(--vm-bg-alt); color: var(--vm-ink); }
.entry-content code { background: #f4f4f6; padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.entry-content pre { background: #1c1d22; color: #f2f2f2; padding: 18px; border-radius: var(--vm-radius-sm); overflow-x: auto; }
.entry-content .wp-block-button__link { background: var(--vm-grad); border-radius: 999px; padding: 14px 28px; font-weight: 700; }
.entry-content .alignwide { margin-left: -40px; margin-right: -40px; max-width: calc(100% + 80px); }
.entry-content iframe { max-width: 100%; }

.vm-cta-box {
	display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
	margin: 2.2em 0; padding: 22px 26px; border-radius: var(--vm-radius); background: var(--vm-bg-alt);
	border: 1px dashed var(--vm-primary);
}
.vm-cta-box > div strong { display: block; color: var(--vm-ink); font-size: 1.1rem; }
.vm-cta-box > div span { font-size: .9rem; color: var(--vm-muted); }

.vm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0; }
.vm-tags a { padding: 5px 13px; border-radius: 999px; background: #f4f4f6; color: var(--vm-text); text-decoration: none; font-size: .86rem; }
.vm-tags a:hover { background: var(--vm-bg-alt); color: var(--vm-secondary); }
.vm-related { margin: 44px 0; }

.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 36px 0; }
.post-navigation a { display: block; padding: 18px 20px; border: 1px solid var(--vm-line); border-radius: var(--vm-radius-sm); text-decoration: none; color: var(--vm-ink); font-weight: 700; height: 100%; }
.post-navigation a:hover { border-color: var(--vm-primary); }
.post-navigation small { display: block; color: var(--vm-muted); font-weight: 500; font-size: .8rem; }
.post-navigation .nav-next { text-align: right; grid-column: 2; }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
	min-width: 44px; height: 44px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 12px;
	border: 1px solid var(--vm-line); text-decoration: none; color: var(--vm-ink); font-weight: 700;
}
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--vm-grad); color: #fff; border-color: transparent; }

/* search form */
.vm-search-form { display: flex; border: 1px solid var(--vm-line); border-radius: 999px; overflow: hidden; background: #fff; }
.vm-search-form:focus-within { border-color: var(--vm-primary); }
.vm-search-form input { flex: 1; border: 0; padding: 11px 18px; font: inherit; font-size: .95rem; min-width: 0; background: transparent; }
.vm-search-form input:focus { outline: none; }
.vm-search-form button { border: 0; background: var(--vm-grad); color: #fff; width: 50px; cursor: pointer; }

/* comments */
.vm-comments { margin-top: 44px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--vm-line); }
.comment-author img { border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.comment-metadata { font-size: .82rem; }
.comment-metadata a { color: var(--vm-muted); }
.comment-form input:not([type="checkbox"]):not([type="submit"]), .comment-form textarea {
	width: 100%; border: 1px solid var(--vm-line); border-radius: var(--vm-radius-sm); padding: 12px 14px; font: inherit;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--vm-primary); }

.vm-empty { text-align: center; padding: 60px 20px; }
.vm-404 { text-align: center; }
.vm-404-code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 900; line-height: 1; margin: 0; background: var(--vm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vm-404 .vm-search-form { max-width: 460px; margin: 0 auto 26px; }

/* ---------- Download page ---------- */
.vm-dl-hero { background: var(--vm-bg-alt); padding: 26px 0 50px; margin-bottom: 48px; }
.vm-dl-card {
	margin-top: 20px; background: #fff; border-radius: 24px; box-shadow: var(--vm-shadow);
	padding: 34px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 34px; align-items: center;
	border-top: 5px solid var(--vm-primary);
}
.vm-dl-app { display: flex; gap: 22px; align-items: center; }
.vm-dl-icon { width: 88px; height: 88px; border-radius: 22px; flex-shrink: 0; box-shadow: 0 10px 24px rgba(238, 42, 36, .22); object-fit: cover; }
.vm-dl-icon-fallback { display: grid; place-items: center; background: var(--vm-grad); color: #fff; }
.vm-dl-icon-fallback .vm-icon { width: 38px; height: 38px; fill: currentColor; }
.vm-dl-app h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .25em; }
.vm-dl-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.vm-dl-meta span { background: var(--vm-bg-alt); padding: 3px 11px; border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--vm-secondary); }
.vm-dl-rating { margin: 0; font-size: .92rem; color: var(--vm-muted); }
.vm-dl-rating strong { color: var(--vm-ink); }

.vm-dl-action { text-align: center; }
.vm-dl-buttons { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.vm-dl-buttons .vm-btn-lg { width: 100%; max-width: 360px; }
.vm-dl-safe { margin: 14px 0 0; font-size: .86rem; color: var(--vm-muted); display: flex; align-items: center; justify-content: center; gap: 6px; }
.vm-dl-safe .vm-icon { color: #18a058; width: 18px; height: 18px; }

.vm-countdown[hidden] { display: none !important; }
.vm-countdown { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 12px; }
.vm-countdown p { margin: 0; font-size: .95rem; }
.vm-countdown-ring {
	--p: 0; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
	background: conic-gradient(var(--vm-primary) calc(var(--p) * 1%), var(--vm-line) 0);
	margin-bottom: 8px;
}
.vm-countdown-ring::before { content: ""; grid-area: 1 / 1; width: 70px; height: 70px; background: #fff; border-radius: 50%; }
.vm-countdown-num { grid-area: 1 / 1; position: relative; font-size: 1.8rem; font-weight: 800; color: var(--vm-ink); }
.vm-dl-action.is-waiting .vm-dl-buttons { display: none; }

/* ---------- Footer ---------- */
.vm-footer { background: #15161b; color: #b7b9c2; padding: 60px 0 26px; font-size: .95rem; }
.vm-footer a { color: #e3e4e8; text-decoration: none; }
.vm-footer a:hover { color: var(--vm-primary); }
.vm-footer .vm-text-logo, .vm-footer .vm-logo-text { color: #fff; }
.vm-footer .widget-title { color: #fff; }
.vm-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.vm-footer-about p { margin: 16px 0 22px; max-width: 360px; }
.vm-footer ul { list-style: none; margin: 0; padding: 0; }
.vm-footer li { padding: 5px 0; }
.vm-disclaimer {
	margin: 40px 0 0; padding: 16px 20px; border-radius: var(--vm-radius-sm); background: rgba(255, 255, 255, .05);
	font-size: .84rem; line-height: 1.6;
}
.vm-footer-bottom {
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .08); font-size: .86rem;
}
.vm-footer-bottom p { margin: 0; }

/* ---------- WordPress core classes ---------- */
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: .86rem; color: var(--vm-muted); text-align: center; margin-top: 6px; }
.sticky .vm-card-title::before { content: "📌 "; }
.bypostauthor > .comment-body .fn::after { content: " ✓"; color: var(--vm-primary); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.vm-layout { grid-template-columns: minmax(0, 1fr); }
	.vm-sidebar { position: static; }
	.vm-features, .vm-cards { grid-template-columns: repeat(2, 1fr); }
	.vm-dl-card { grid-template-columns: 1fr; }
	.entry-content .alignwide { margin-left: 0; margin-right: 0; max-width: 100%; }
}

@media (max-width: 880px) {
	body { font-size: 16px; }
	.vm-menu-toggle { display: grid; }
	.vm-nav {
		position: fixed; inset: 70px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch;
		padding: 16px 20px 24px; gap: 14px; border-bottom: 1px solid var(--vm-line); box-shadow: 0 20px 40px rgba(0, 0, 0, .1);
		transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .2s; max-height: calc(100vh - 70px); overflow-y: auto;
	}
	.admin-bar .vm-nav { top: 116px; }
	.vm-nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.vm-menu { flex-direction: column; }
	.vm-menu a { padding: 12px 14px; border-radius: 10px; }
	.vm-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; }
	.vm-nav-search input, .vm-nav-search input:focus { width: 100%; }
	.vm-header-inner { justify-content: space-between; gap: 12px; }
	.vm-branding { min-width: 0; flex-shrink: 1; }
	.vm-text-logo { max-width: 100%; }
	.vm-logo-text { font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.vm-header-actions { flex-shrink: 0; }

	.vm-hero { padding: 40px 0 90px; text-align: center; }
	.vm-hero-grid { grid-template-columns: 1fr; gap: 40px; }
	.vm-hero-text { margin-left: auto; margin-right: auto; }
	.vm-hero-buttons, .vm-hero-stats { justify-content: center; }
	.vm-phone { width: 220px; }

	.vm-split { grid-template-columns: 1fr; gap: 36px; }
	.vm-footer-grid { grid-template-columns: 1fr; gap: 30px; }
	.vm-section { padding: 56px 0; }
}

@media (max-width: 600px) {
	.vm-features, .vm-cards, .vm-cards-2 { grid-template-columns: 1fr; }
	.vm-section-head-row { flex-direction: column; align-items: flex-start; }
	.vm-header-actions .vm-btn-sm span { display: none; }
	.vm-header-actions .vm-btn-sm { padding: 10px; width: 44px; height: 44px; }
	.vm-hero-buttons .vm-btn { width: 100%; }
	.vm-dl-card { padding: 24px 20px; }
	.vm-dl-app { flex-direction: column; text-align: center; }
	.vm-dl-meta { justify-content: center; }
	.vm-cta-box { flex-direction: column; text-align: center; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { grid-column: 1; }
	.vm-float { display: none; }
	.admin-bar .vm-header { top: 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
	.vm-header, .vm-footer, .vm-sidebar, .vm-btn, .vm-cta-box { display: none !important; }
}

/* ---------- Language switcher & per-language fonts ---------- */
.vm-lang { position: relative; }
.vm-lang summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px;
	border: 1px solid var(--vm-line); border-radius: 999px; background: #fff; color: var(--vm-ink); font-weight: 700; font-size: .85rem;
}
.vm-lang summary::-webkit-details-marker { display: none; }
.vm-lang summary .vm-icon { width: 18px; height: 18px; color: var(--vm-secondary); }
.vm-lang[open] summary { border-color: var(--vm-primary); }
.vm-lang-menu {
	position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; list-style: none; margin: 0; padding: 6px; min-width: 210px;
	background: #fff; border: 1px solid var(--vm-line); border-radius: 14px; box-shadow: 0 18px 40px rgba(20, 20, 30, .14);
}
.vm-lang-menu a {
	display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px;
	text-decoration: none; color: var(--vm-ink); font-weight: 600; font-size: .95rem;
}
.vm-lang-menu a:hover { background: var(--vm-bg-alt); color: var(--vm-secondary); }
.vm-lang-menu a.is-current { background: var(--vm-grad); color: #fff; }
.vm-lang-menu small { font-size: .72rem; opacity: .7; font-family: var(--vm-font); }
.vm-footer-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.vm-footer-langs a { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: .88rem; }
.vm-footer-langs a[aria-current] { background: var(--vm-grad); color: #fff; }

body.vm-lang-hi { --vm-font: "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
body.vm-lang-bn { --vm-font: "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
body.vm-lang-ar { --vm-font: "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif; }
body.vm-lang-ur { --vm-font: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Noto Sans Arabic", Tahoma, sans-serif; line-height: 2.15; }
body[class*="vm-lang-"] { font-family: var(--vm-font); }
body.vm-lang-ur h1, body.vm-lang-ur h2, body.vm-lang-ur h3, body.vm-lang-ur h4 { line-height: 1.9; font-weight: 700; letter-spacing: 0; }
body.vm-lang-ur .vm-btn { line-height: 1.9; }
body.vm-lang-ur .vm-menu a, body.vm-lang-ur .vm-btn small, body.vm-lang-ur .vm-eyebrow { letter-spacing: 0; }
body.vm-lang-ar h1, body.vm-lang-ar h2, body.vm-lang-ar h3, body.vm-lang-ur .vm-eyebrow, body.vm-lang-ar .vm-eyebrow, body.vm-rtl .vm-update-card small, body.vm-rtl .vm-versions th { letter-spacing: 0; text-transform: none; }
body.vm-lang-hi h1, body.vm-lang-hi h2, body.vm-lang-bn h1, body.vm-lang-bn h2 { line-height: 1.4; }

@media (max-width: 600px) {
	.vm-lang summary { padding: 0 10px; height: 44px; }
	.vm-lang-code { display: none; }
	.vm-header-actions { gap: 6px; }
}
