/*
Theme Name: Vyapar Business
Theme URI: https://vyaparbusiness.com
Author: Vyapar Business
Description: Desh Ka Apna Business - a fast, responsive WordPress theme with a new-tab style home page (search, top sites, live weather, news feed), dark/light mode and Customizer options.
Version: 2.4.0
Requires at least: 5.8
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: vyapar-business
Tags: blog, news, one-column, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, dark-mode
*/

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
	--vb-blue: #0078d4;
	--vb-bg: linear-gradient(135deg, #0f2b46 0%, #14587d 50%, #0b1f33 100%);
	--vb-overlay: rgba(0, 0, 0, .12);

	--vb-acr: rgba(255, 255, 255, .78);
	--vb-acr-b: rgba(255, 255, 255, .45);
	--vb-card: rgba(255, 255, 255, .88);
	--vb-pop: rgba(255, 255, 255, .98);
	--vb-txt: #1e293b;
	--vb-muted: #64748b;
	--vb-line: rgba(148, 163, 184, .45);
	--vb-field: #f1f5f9;
	--vb-hover: rgba(148, 163, 184, .22);
	--vb-radius: 16px;
}

html.dark {
	--vb-acr: rgba(32, 32, 32, .78);
	--vb-acr-b: rgba(255, 255, 255, .12);
	--vb-card: rgba(43, 43, 43, .88);
	--vb-pop: rgba(30, 41, 59, .98);
	--vb-txt: #f1f5f9;
	--vb-muted: #94a3b8;
	--vb-line: rgba(71, 85, 105, .8);
	--vb-field: #1e293b;
	--vb-hover: rgba(148, 163, 184, .16);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	background: #0b1f33;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
	font-family: 'Segoe UI', system-ui, -apple-system, 'Noto Sans Devanagari', Roboto, 'Helvetica Neue', Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--vb-txt);
	overflow-x: hidden;
	padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}

/* Fixed wallpaper (works on mobile too, unlike background-attachment:fixed) */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background-image: linear-gradient(var(--vb-overlay), var(--vb-overlay)), var(--vb-bg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

img { max-width: 100%; height: auto; }
a { color: var(--vb-blue); text-decoration: none; }
:where(.entry-content, .comment-content, .vb-tags) a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute; width: 1px; word-wrap: normal !important;
}
.vb-skip {
	position: absolute; left: -9999px; top: 8px; z-index: 999;
	background: var(--vb-blue); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.vb-skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--vb-blue); outline-offset: 2px; }
[hidden] { display: none !important; }

.vb-accent-text { color: var(--vb-blue); }
html.dark .vb-accent-text { color: #60a5fa; }

/* Acrylic (glass) surface */
.vb-acrylic {
	background: var(--vb-acr);
	border: 1px solid var(--vb-acr-b);
	-webkit-backdrop-filter: blur(20px) saturate(180%);
	backdrop-filter: blur(20px) saturate(180%);
}

/* Buttons */
.vb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--vb-blue); color: #fff; border: 0; border-radius: 12px;
	padding: 10px 18px; font-size: 14px; font-weight: 600; text-decoration: none;
	transition: filter .2s, transform .2s;
}
.vb-btn:hover { filter: brightness(.9); text-decoration: none; color: #fff; }
.vb-btn-sm { padding: 8px 14px; font-size: 13px; }
.vb-btn-danger { background: rgba(239, 68, 68, .12); color: #ef4444; width: 100%; }
.vb-btn-danger:hover { background: #ef4444; color: #fff; filter: none; }
.vb-link-btn { background: none; border: 0; color: var(--vb-blue); font-size: 12px; padding: 8px 0 0; text-decoration: underline; }

/* ==========================================================================
   Header
   ========================================================================== */
.vb-header {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding: 14px 16px; padding-top: calc(14px + env(safe-area-inset-top, 0px));
	position: relative; z-index: 20;
}

.vb-brand { display: flex; align-items: center; }
.vb-brand .vb-logo-link {
	background: rgba(255, 255, 255, .94); border-radius: 14px; padding: 6px 12px;
	display: inline-flex; box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.vb-brand .vb-logo-img { height: 38px; width: auto; max-width: 150px; object-fit: contain; }

.vb-weather {
	display: flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .15); transition: transform .25s cubic-bezier(.1, .9, .2, 1);
	color: var(--vb-txt); text-align: left;
}
.vb-weather:hover { transform: scale(1.04); }
.vb-weather > i { font-size: 22px; }
.vb-weather-text { display: flex; flex-direction: column; line-height: 1.2; }
.vb-weather-city { font-size: 12px; font-weight: 500; color: var(--vb-muted); }
.vb-weather-line { font-size: 14px; font-weight: 600; }
.vb-weather-line small { font-size: 12px; font-weight: 400; color: var(--vb-muted); }
.vb-w-sun { color: #eab308; }
.vb-w-cloud { color: #94a3b8; }
.vb-w-rain { color: #3b82f6; }
.vb-w-snow { color: #7dd3fc; }
.vb-w-bolt { color: #f59e0b; }
.vb-w-moon { color: #a5b4fc; }

.vb-header-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.vb-clock { display: none; flex-direction: column; align-items: flex-end; padding: 4px 12px; border-radius: 12px; }
.vb-clock-time { font-size: 14px; font-weight: 700; letter-spacing: .05em; line-height: 1.2; }
.vb-clock-date { font-size: 10px; color: var(--vb-muted); font-weight: 500; }

.vb-round {
	width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	color: var(--vb-txt); transition: transform .25s cubic-bezier(.1, .9, .2, 1), background .2s;
}
.vb-round:hover { transform: scale(1.08); }
.vb-ico-sun { display: none; color: #fbbf24; }
html.dark .vb-ico-sun { display: inline; }
html.dark .vb-ico-moon { display: none; }
.vb-ico-moon { color: #334155; }

/* ==========================================================================
   Layout
   ========================================================================== */
.vb-main { display: block; width: 100%; min-height: 55vh; }
.vb-container { width: 100%; max-width: 72rem; margin: 0 auto; padding: 8px 16px 24px; }
.vb-container-narrow { max-width: 52rem; }

.vb-panel {
	background: var(--vb-card); border: 1px solid var(--vb-acr-b); border-radius: 20px;
	padding: 24px; margin-bottom: 20px; box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
	-webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
	overflow-wrap: break-word;
}

.vb-page-head { margin: 8px 0 20px; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.vb-page-head h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin: 0; }
.vb-page-desc { opacity: .9; margin-top: 6px; }

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.vb-hero {
	display: flex; flex-direction: column; align-items: center;
	width: 100%; max-width: 56rem; margin: 0 auto; padding: 8px 16px 28px;
}

.vb-hero-logo .vb-logo-link {
	background: rgba(255, 255, 255, .94); border-radius: 22px; padding: 14px 24px; display: inline-flex;
	box-shadow: 0 14px 40px rgba(0, 0, 0, .28);
}
.vb-hero-logo .vb-logo-img { width: min(340px, 72vw); height: auto; }

/* Search */
.vb-search-wrap { position: relative; width: 100%; max-width: 42rem; margin-top: 24px; }
.vb-search {
	display: flex; align-items: center; gap: 4px; width: 100%;
	background: var(--vb-card); border: 1px solid var(--vb-line); border-radius: 18px;
	box-shadow: 0 16px 36px rgba(0, 0, 0, .25); padding: 0 8px 0 10px;
	-webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
	transition: box-shadow .3s, border-color .3s;
}
.vb-search:focus-within { border-color: var(--vb-blue); box-shadow: 0 0 0 2px var(--vb-blue), 0 20px 44px rgba(0, 0, 0, .3); }
.vb-search input[type="search"] {
	flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; box-shadow: none;
	padding: 15px 8px; font-size: 16px; /* 16px stops iOS zoom */ -webkit-appearance: none; appearance: none;
}
.vb-search input::placeholder { color: var(--vb-muted); opacity: .9; }
.vb-search input[type="search"]::-webkit-search-cancel-button { display: none; }

.vb-engine { position: relative; }
.vb-engine-btn {
	display: flex; align-items: center; gap: 6px; background: transparent; border: 0;
	padding: 8px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; color: var(--vb-txt);
}
.vb-engine-btn:hover { background: var(--vb-hover); }
.vb-engine-btn i:first-child { font-size: 15px; }
.vb-chev { font-size: 9px; opacity: .6; }
.vb-engine-name { display: none; }
.vb-engine-menu {
	position: absolute; top: calc(100% + 8px); left: 0; width: 170px; padding: 6px; z-index: 60;
	background: var(--vb-pop); border: 1px solid var(--vb-line); border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.vb-engine-option {
	display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; background: transparent;
	border-radius: 9px; font-size: 13px; text-align: left; color: var(--vb-txt);
}
.vb-engine-option:hover { background: var(--vb-hover); }
.vb-engine-option i { width: 16px; text-align: center; }
.vb-c-blue { color: #3b82f6; }
.vb-c-teal { color: #14b8a6; }
.vb-c-orange { color: #f97316; }
.vb-c-purple { color: #9333ea; }

.vb-search-actions { display: flex; align-items: center; gap: 4px; }
.vb-voice {
	width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: var(--vb-muted);
}
.vb-voice:hover { background: var(--vb-hover); color: var(--vb-blue); }
.vb-go {
	width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--vb-blue); color: #fff;
	box-shadow: 0 4px 10px rgba(0, 0, 0, .2); transition: filter .2s;
}
.vb-go:hover { filter: brightness(.9); }

.vb-suggest {
	position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 50; overflow: hidden;
	background: var(--vb-pop); border: 1px solid var(--vb-line); border-radius: 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.vb-suggest ul { list-style: none; margin: 0; padding: 4px 0; }
.vb-suggest a {
	display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 14px; color: var(--vb-txt); text-decoration: none;
}
.vb-suggest a:hover, .vb-suggest a:focus { background: var(--vb-hover); }
.vb-suggest i { color: var(--vb-muted); font-size: 11px; }

/* Top sites */
.vb-topsites { width: 100%; max-width: 48rem; margin-top: 32px; }
.vb-section-label { padding: 0 4px 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .55); }
.vb-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.vb-shortcut {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 6px; border-radius: 18px; color: var(--vb-txt); text-decoration: none; min-width: 0;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .18); transition: transform .25s cubic-bezier(.1, .9, .2, 1), box-shadow .25s;
}
.vb-shortcut:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 28px rgba(0, 0, 0, .28); text-decoration: none; }
.vb-shortcut-ico {
	width: 40px; height: 40px; border-radius: 12px; background: var(--vb-field); display: flex; align-items: center; justify-content: center;
	overflow: hidden; font-weight: 700; color: var(--vb-blue);
}
.vb-shortcut-ico img { width: 24px; height: 24px; object-fit: contain; }
.vb-shortcut-name { font-size: 12px; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ==========================================================================
   News
   ========================================================================== */
.vb-news { width: 100%; max-width: 64rem; margin: 8px auto 16px; padding: 0 16px; }
.vb-news-box { border-radius: 20px; padding: 16px; box-shadow: 0 18px 44px rgba(0, 0, 0, .3); background: var(--vb-card); }
.vb-news-head { display: flex; flex-direction: column; gap: 12px; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--vb-line); }
.vb-news-title { margin: 0; font-size: 18px; }
.vb-news-tools { display: flex; flex-direction: column; gap: 10px; }

.vb-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.vb-tabs::-webkit-scrollbar { display: none; }
.vb-tab {
	flex: 0 0 auto; padding: 7px 14px; border: 0; border-radius: 10px; background: transparent;
	font-size: 12px; font-weight: 600; color: var(--vb-muted); white-space: nowrap; transition: background .2s;
}
.vb-tab:hover { background: var(--vb-hover); }
.vb-tab.is-active { background: var(--vb-blue); color: #fff; }

.vb-filter { position: relative; }
.vb-filter i { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); font-size: 11px; color: var(--vb-muted); pointer-events: none; }
.vb-filter input {
	width: 100%; padding: 8px 12px 8px 30px; font-size: 16px; background: var(--vb-field);
	border: 1px solid var(--vb-line); border-radius: 10px; outline: 0; -webkit-appearance: none; appearance: none;
}
.vb-filter input:focus { border-color: var(--vb-blue); }

.vb-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.vb-card-news {
	background: var(--vb-card); border: 1px solid var(--vb-line); border-radius: 14px; overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .1); transition: transform .25s cubic-bezier(.1, .9, .2, 1), box-shadow .25s;
}
.vb-card-news:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0, 0, 0, .22); }
.vb-card-news.is-hidden { display: none; }
.vb-card-link { display: flex; flex-direction: column; height: 100%; color: var(--vb-txt); text-decoration: none; }
.vb-card-link:hover { text-decoration: none; }
.vb-card-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--vb-field); }
.vb-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.vb-card-news:hover .vb-card-img img { transform: scale(1.05); }
.vb-card-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 34px; color: var(--vb-muted);
	background: linear-gradient(135deg, rgba(20, 88, 125, .25), rgba(0, 120, 212, .12)); }
.vb-badge {
	position: absolute; top: 8px; left: 8px; background: rgba(15, 23, 42, .82); color: #fff; font-size: 10px; font-weight: 600;
	padding: 2px 10px; border-radius: 999px;
}
.vb-badge-static { position: static; display: inline-block; margin-bottom: 10px; text-decoration: none; }
.vb-badge-static:hover { color: #fff; text-decoration: none; background: var(--vb-blue); }
.vb-card-body { padding: 12px; display: flex; flex-direction: column; justify-content: space-between; flex: 1; gap: 10px; }
.vb-card-title {
	margin: 0; font-size: 14px; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	overflow: hidden; transition: color .2s;
}
.vb-card-link:hover .vb-card-title { color: var(--vb-blue); }
.vb-card-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--vb-muted); }
.vb-empty { text-align: center; padding: 24px 0; font-size: 13px; color: var(--vb-muted); margin: 0; }
.vb-more { text-align: center; margin-top: 20px; }

/* Pagination */
.pagination { margin: 24px 0; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagination .page-numbers {
	min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
	background: var(--vb-card); border: 1px solid var(--vb-line); border-radius: 10px; color: var(--vb-txt); text-decoration: none; font-weight: 600; font-size: 14px;
}
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--vb-blue); border-color: var(--vb-blue); color: #fff; }

/* ==========================================================================
   Single / page content
   ========================================================================== */
.vb-entry-head h1 { font-size: clamp(1.5rem, 5vw, 2.2rem); }
.vb-entry-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--vb-muted); margin-bottom: 16px; }
.vb-entry-meta i { margin-right: 4px; }
.vb-entry-thumb { margin: 0 -24px 20px; }
.vb-entry-thumb img { width: 100%; }
.vb-entry-foot { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--vb-line); font-size: 13px; }

:where(.entry-content) { font-size: 17px; line-height: 1.75; }
:where(.entry-content) > *:first-child { margin-top: 0; }
:where(.entry-content) h2 { font-size: 1.6rem; margin: 1.6em 0 .5em; }
:where(.entry-content) h3 { font-size: 1.3rem; margin: 1.4em 0 .5em; }
:where(.entry-content) p { margin: 0 0 1.2em; }
:where(.entry-content) ul, :where(.entry-content) ol { margin: 0 0 1.2em; padding-left: 1.4em; }
:where(.entry-content) li { margin-bottom: .35em; }
:where(.entry-content) img { border-radius: 10px; }
:where(.entry-content) blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--vb-blue); color: var(--vb-muted); font-style: italic; }
:where(.entry-content) pre { background: #0f172a; color: #e2e8f0; padding: 14px; border-radius: 10px; overflow-x: auto; font-size: 14px; }
:where(.entry-content) code { background: var(--vb-field); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
:where(.entry-content) pre code { background: none; padding: 0; }
:where(.entry-content) iframe, :where(.entry-content) video { max-width: 100%; }
:where(.entry-content) .wp-block-embed__wrapper iframe { width: 100%; }
:where(.entry-content) figure { margin: 0 0 1.2em; }
:where(.entry-content) figcaption, .wp-caption-text { font-size: 13px; color: var(--vb-muted); text-align: center; margin-top: 6px; }
.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { max-width: 100%; }
:where(.entry-content)::after { content: ""; display: table; clear: both; }

.post-navigation .nav-links { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 20px; }
.post-navigation a {
	display: block; padding: 14px 16px; background: var(--vb-card); border: 1px solid var(--vb-line); border-radius: 14px;
	color: var(--vb-txt); font-weight: 600; font-size: 14px; text-decoration: none;
}
.post-navigation a:hover { border-color: var(--vb-blue); }
.vb-nav-label { display: block; font-size: 11px; font-weight: 500; color: var(--vb-muted); text-transform: uppercase; letter-spacing: .06em; }

.vb-tags a { color: var(--vb-blue); }

/* Comments */
.vb-comments-title { font-size: 1.2rem; }
.vb-comment-list { list-style: none; margin: 0 0 20px; padding: 0; }
.vb-comment-list .comment-body { padding: 14px 0; border-bottom: 1px solid var(--vb-line); }
.vb-comment-list .children { list-style: none; padding-left: 20px; }
.vb-comment-list .avatar { border-radius: 50%; float: left; margin-right: 12px; }
.comment-meta { font-size: 12px; color: var(--vb-muted); margin-bottom: 6px; }
.comment-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 10px 12px; background: var(--vb-field); border: 1px solid var(--vb-line); border-radius: 10px; font-size: 16px;
}
.comment-form .submit { background: var(--vb-blue); color: #fff; border: 0; border-radius: 12px; padding: 10px 20px; font-weight: 600; }

/* Search form (inner pages / 404) */
.vb-searchform { display: flex; gap: 8px; margin: 16px 0; }
.vb-searchform input[type="search"] { flex: 1; min-width: 0; padding: 10px 14px; font-size: 16px; background: var(--vb-field); border: 1px solid var(--vb-line); border-radius: 12px; outline: 0; }
.vb-searchform input[type="search"]:focus { border-color: var(--vb-blue); }
.vb-404 { text-align: center; }
.vb-404-code { font-size: clamp(4rem, 18vw, 7rem); font-weight: 800; line-height: 1; color: var(--vb-blue); }

/* ==========================================================================
   Footer
   ========================================================================== */
.vb-footer { width: 100%; max-width: 64rem; margin: 0 auto; padding: 8px 16px 16px; }
.vb-footer-inner { border-radius: 16px; padding: 14px 18px; text-align: center; font-size: 13px; color: var(--vb-txt); }
.vb-footer-menu { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; }
.vb-footer-menu a { color: var(--vb-txt); font-weight: 600; }
.vb-copy { margin: 0; color: var(--vb-muted); }
.vb-widgets { display: grid; gap: 16px; margin-bottom: 12px; text-align: left; }
.vb-widget-title { font-size: 14px; }

/* ==========================================================================
   Dock (floating buttons)
   ========================================================================== */
.vb-dock {
	position: fixed; z-index: 30; display: flex; align-items: center; gap: 12px;
	left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom, 0px));
	padding: 8px 14px; border-radius: 22px; background: var(--vb-acr); border: 1px solid var(--vb-acr-b);
	-webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
	box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
}
.vb-dock-main {
	position: relative; width: 46px; height: 46px; border: 0; border-radius: 16px; color: #fff; font-size: 18px;
	background: linear-gradient(135deg, #14587d, #0078d4 55%, #22d3ee); box-shadow: 0 8px 18px rgba(0, 120, 212, .4);
	transition: transform .25s cubic-bezier(.1, .9, .2, 1);
}
.vb-dock-main:hover { transform: scale(1.1); }
.vb-dock-btn {
	width: 42px; height: 42px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
	color: var(--vb-txt); font-size: 16px; text-decoration: none; transition: transform .25s cubic-bezier(.1, .9, .2, 1);
}
.vb-dock-btn:hover { transform: scale(1.08); text-decoration: none; }
.vb-tip { display: none; }

/* ==========================================================================
   Modals / drawers
   ========================================================================== */
.vb-modal {
	position: fixed; inset: 0; z-index: 100; display: none; background: rgba(15, 23, 42, .5);
	-webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.vb-modal.is-open { display: flex; }
.vb-modal-right { justify-content: flex-end; }
.vb-modal-center { align-items: center; justify-content: center; padding: 16px; }
body.vb-lock { overflow: hidden; }

.vb-drawer {
	width: 100%; max-width: 380px; height: 100%; display: flex; flex-direction: column;
	background: var(--vb-pop); border-left: 1px solid var(--vb-line); box-shadow: -10px 0 40px rgba(0, 0, 0, .35);
	animation: vb-slide .28s cubic-bezier(.1, .9, .2, 1);
	padding-bottom: env(safe-area-inset-bottom, 0px);
}
.vb-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--vb-line); padding-top: calc(14px + env(safe-area-inset-top, 0px)); }
.vb-drawer-head h3 { margin: 0; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.vb-drawer-head .vb-brand .vb-logo-link { background: #fff; box-shadow: 0 0 0 1px var(--vb-line); }
.vb-drawer-body { flex: 1; overflow-y: auto; padding: 12px 16px; -webkit-overflow-scrolling: touch; }
.vb-drawer-foot { padding: 12px 16px; border-top: 1px solid var(--vb-line); }
.vb-x { width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--vb-muted); font-size: 18px; }
.vb-x:hover { background: var(--vb-hover); color: var(--vb-txt); }

.vb-menu, .vb-menu ul { list-style: none; margin: 0; padding: 0; }
.vb-menu a { display: block; padding: 12px 12px; border-radius: 10px; color: var(--vb-txt); font-weight: 600; text-decoration: none; }
.vb-menu a:hover, .vb-menu .current-menu-item > a, .vb-menu .current_page_item > a { background: var(--vb-hover); color: var(--vb-blue); }
.vb-menu ul { padding-left: 14px; }
.vb-menu ul a { font-weight: 500; font-size: 14px; }

.vb-history-list a {
	display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; margin-bottom: 8px; border-radius: 10px;
	background: var(--vb-field); color: var(--vb-txt); font-size: 13px; text-decoration: none;
}
.vb-history-list a:hover { background: var(--vb-hover); }
.vb-history-list b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vb-history-list small { color: var(--vb-muted); font-size: 10px; white-space: nowrap; align-self: center; }
.vb-history-empty { text-align: center; color: var(--vb-muted); font-size: 13px; padding: 24px 0; }

.vb-dialog {
	width: 100%; max-width: 32rem; max-height: 92vh; overflow-y: auto; background: var(--vb-pop); border: 1px solid var(--vb-line);
	border-radius: 20px; padding: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); animation: vb-pop .22s ease-out;
}
.vb-dialog-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.vb-dialog-head h3 { margin: 0; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.vb-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.vb-preset { height: 76px; border-radius: 12px; border: 2px solid transparent; background-size: cover; background-position: center; box-shadow: 0 4px 10px rgba(0, 0, 0, .25); }
.vb-preset:hover, .vb-preset:focus-visible { border-color: var(--vb-blue); }
.vb-dialog-field { border-top: 1px solid var(--vb-line); padding-top: 12px; }
.vb-dialog-field label { display: block; font-size: 12px; font-weight: 600; color: var(--vb-muted); margin-bottom: 6px; }
.vb-row { display: flex; gap: 8px; }
.vb-row input { flex: 1; min-width: 0; padding: 9px 12px; font-size: 16px; background: var(--vb-field); border: 1px solid var(--vb-line); border-radius: 10px; outline: 0; }
.vb-row input:focus { border-color: var(--vb-blue); }

.vb-toast {
	position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px);
	display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; z-index: 200;
	background: rgba(15, 23, 42, .94); color: #fff; font-size: 13px; box-shadow: 0 14px 30px rgba(0, 0, 0, .4);
	opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: calc(100vw - 32px);
}
.vb-toast i { color: #60a5fa; }
.vb-toast.is-show { opacity: 1; transform: translate(-50%, 0); }

@keyframes vb-slide { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes vb-pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 480px) {
	.vb-engine-name { display: inline; }
	.vb-brand .vb-logo-img { height: 42px; max-width: 190px; }
}

@media (min-width: 640px) {
	.vb-clock { display: flex; }
	.vb-shortcuts { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
	.vb-grid { grid-template-columns: repeat(2, 1fr); }
	.vb-news-box { padding: 24px; }
	.vb-news-head { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
	.vb-news-tools { flex-direction: row; align-items: center; flex-wrap: wrap; }
	.vb-filter input { width: 190px; font-size: 13px; }
	.post-navigation .nav-links { grid-template-columns: 1fr 1fr; }
	.post-navigation .nav-next { text-align: right; }
}

@media (min-width: 768px) {
	body { padding-bottom: 0; }

	/* Dock moves to the right-hand side on larger screens */
	.vb-dock {
		left: auto; right: 14px; bottom: auto; top: 50%; transform: translateY(-50%);
		flex-direction: column; padding: 10px; gap: 12px; background: transparent; border: 0; box-shadow: none;
		-webkit-backdrop-filter: none; backdrop-filter: none;
	}
	.vb-dock-btn { box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
	.vb-dock-main .vb-tip {
		display: block; position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
		padding: 3px 9px; font-size: 10px; font-weight: 700; color: #fff; background: rgba(15, 23, 42, .92);
		border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s;
	}
	.vb-dock-main:hover .vb-tip { opacity: 1; }
	.vb-toast { bottom: 24px; }

	.vb-hero { min-height: 62vh; justify-content: center; margin-top: -24px; }
	.vb-shortcuts { grid-template-columns: repeat(8, minmax(0, 1fr)); }
	.vb-news-box { padding: 28px; }
	.vb-panel { padding: 36px; }
	.vb-entry-thumb { margin: 0 -36px 24px; }
	.vb-header { padding-left: 24px; padding-right: 24px; }
}

@media (min-width: 1024px) {
	.vb-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 380px) {
	.vb-weather { padding: 6px 12px; }
	.vb-round { width: 38px; height: 38px; }
	.vb-dock { gap: 8px; padding: 6px 10px; }
}

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

@media print {
	.vb-header, .vb-dock, .vb-footer, .vb-modal, .vb-toast { display: none !important; }
	body::before { display: none; }
	body { color: #000; }
}

/* ==========================================================================
   v1.1 - MSN-style news feed (home page)
   ========================================================================== */
:root {
	--vb-page: #eef1f5;
	--vb-surface: #ffffff;
	--vb-bar: rgba(255, 255, 255, .96);
}
html.dark {
	--vb-page: #141414;
	--vb-surface: #202020;
	--vb-bar: rgba(24, 24, 24, .96);
	--vb-card: rgba(40, 40, 40, .94);
}
:root { --vb-card: rgba(255, 255, 255, .94); }
html.dark { --vb-card: rgba(40, 40, 40, .94); }

.vb-hero { min-height: 0 !important; margin-top: 0 !important; padding-bottom: 20px; }

.vf { width: 100%; max-width: 84rem; margin: 0 auto; padding: 0 12px 16px; }
.vf-bar {
	position: sticky; top: 0; z-index: 25; margin: 0 -12px 14px; padding: 8px 12px;
	background: var(--vb-bar); border-bottom: 1px solid var(--vb-line);
	-webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.vf-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.vf-nav::-webkit-scrollbar { display: none; }
.vf-tab {
	flex: 0 0 auto; padding: 8px 16px; border: 0; border-radius: 10px; background: transparent;
	color: var(--vb-txt); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .2s;
}
.vf-tab:hover { background: var(--vb-hover); }
.vf-tab.is-active { background: var(--vb-blue); color: #fff; }

.vf-body { min-height: 320px; }

/* Top row */
.vf-row { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 12px; }
.vf-card {
	background: var(--vb-card); border: 1px solid var(--vb-line); border-radius: 14px; overflow: hidden;
	color: var(--vb-txt); box-shadow: 0 4px 14px rgba(0, 0, 0, .14);
}
a.vf-card { display: flex; flex-direction: column; text-decoration: none; transition: transform .25s cubic-bezier(.1, .9, .2, 1), box-shadow .25s; }
a.vf-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0, 0, 0, .25); text-decoration: none; }

/* Hero slider */
.vf-hero { position: relative; overflow: hidden; border-radius: 14px; background: #0f2b46; aspect-ratio: 16 / 10; width: 100%; min-width: 0; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.vf-slide { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.vf-slide.is-on { opacity: 1; visibility: visible; z-index: 1; }
.vf-slide:hover { text-decoration: none; color: #fff; }
.vf-slide-img { position: absolute; inset: 0; }
.vf-slide-img img { width: 100%; height: 100%; object-fit: cover; }
.vf-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, 0) 75%); }
.vf-slide-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 18px 38px; }
.vf-slide-title { margin: 6px 0 0; color: #fff; font-size: clamp(1.15rem, 3.4vw, 1.75rem); font-weight: 700; line-height: 1.25; text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vf-slide .vf-src, .vf-slide .vf-src * { color: #fff; }

.vf-arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 34px; height: 56px; border: 0;
	background: rgba(0, 0, 0, .55); color: #fff; border-radius: 6px; font-size: 14px; opacity: .9;
}
.vf-arrow:hover { background: rgba(0, 0, 0, .8); }
.vf-prev { left: 0; border-radius: 0 6px 6px 0; }
.vf-next { right: 0; border-radius: 6px 0 0 6px; }
.vf-dots { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 5; display: flex; gap: 5px; padding: 5px 9px; background: rgba(0, 0, 0, .55); border-radius: 999px; }
.vf-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.vf-dot.is-on { width: 20px; border-radius: 4px; background: #fff; }

/* Source line */
.vf-src { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--vb-muted); min-width: 0; }
.vf-ico {
	position: relative; flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; overflow: hidden; background: var(--vb-blue); color: #fff;
	font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}
.vf-ico { box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.vf-ico-l { line-height: 1; }
.vf-ico img { position: absolute; inset: 0; width: 100%; height: 100%; background: #fff; object-fit: contain; padding: 2px; box-sizing: border-box; border-radius: 50%; }
.vf-src-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vf-time { white-space: nowrap; }

/* Cards: header / footer */
.vf-card-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 6px; font-size: 15px; font-weight: 700; }
.vf-fire { color: #f97316; }
.vf-star { color: #3b82f6; }
.vf-top { display: flex; flex-direction: column; }
.vf-top-list { flex: 1; padding: 4px 16px; }
.vf-top-item { display: block; padding: 10px 0; color: var(--vb-txt); text-decoration: none; border-bottom: 1px solid var(--vb-line); }
.vf-top-item:last-child { border-bottom: 0; }
.vf-top-item:hover { text-decoration: none; }
.vf-top-title { margin-top: 5px; font-size: 14px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vf-top-item:hover .vf-top-title { color: var(--vb-blue); }
.vf-card-foot { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px 14px; }
.vf-pdots { display: flex; gap: 6px; }
.vf-pdot { width: 7px; height: 7px; border-radius: 50%; background: var(--vb-line); }
.vf-pdot.is-on { background: var(--vb-muted); }
.vf-see { border: 0; background: none; color: var(--vb-blue); font-size: 14px; font-weight: 600; padding: 4px 0; }
.vf-see:hover { text-decoration: underline; }

/* Promo */
.vf-promo { display: flex; flex-direction: column; }
.vf-promo-img { background: #fff; padding: 22px 18px; display: flex; align-items: center; justify-content: center; min-height: 130px; }
.vf-promo-img img { max-height: 110px; width: auto; max-width: 100%; object-fit: contain; }
.vf-promo-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.vf-promo-label { font-size: 11px; color: var(--vb-muted); text-transform: uppercase; letter-spacing: .08em; }
.vf-promo-title { margin: 0; font-size: 20px; }
.vf-promo-text { margin: 0; font-size: 14px; color: var(--vb-muted); }

/* Grid cards */
.vf-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 12px; }
.vf-news-img, .vf-short-img { position: relative; overflow: hidden; background: linear-gradient(135deg, #14587d, #0078d4); }
.vf-news-img { aspect-ratio: 16 / 10; }
.vf-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 44px; font-weight: 800; color: rgba(255, 255, 255, .35); }
.vf-news-img img, .vf-short-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
a.vf-news:hover .vf-news-img img { transform: scale(1.05); }
.vf-news-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.vf-news-title { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
a.vf-news:hover .vf-news-title { color: var(--vb-blue); }

.vf-topics { padding-bottom: 16px; }
.vf-topics-text { margin: 4px 16px 10px; font-size: 13px; color: var(--vb-muted); }
.vf-chip {
	display: flex; align-items: center; justify-content: space-between; width: calc(100% - 32px); margin: 0 16px 8px; padding: 10px 14px;
	background: var(--vb-field); border: 0; border-radius: 999px; font-size: 14px; font-weight: 600; text-align: left;
}
.vf-chip:hover { background: var(--vb-hover); }
.vf-chip i { font-size: 12px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; display: inline-flex; align-items: center; justify-content: center; }

/* Trending strip */
.vf-strip-wrap { position: relative; margin: 8px 0 16px; padding: 14px 14px 16px; border-radius: 14px; background: var(--vb-card); border: 1px solid var(--vb-line); box-shadow: 0 4px 14px rgba(0, 0, 0, .14); }
.vf-strip-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 20px; }
.vf-strip-head h2 { margin: 0; font-size: 20px; }
.vf-strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.vf-strip::-webkit-scrollbar { display: none; }
.vf-short { position: relative; flex: 0 0 150px; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; scroll-snap-align: start; color: #fff; text-decoration: none; box-shadow: 0 4px 10px rgba(0, 0, 0, .25); }
.vf-short:hover { text-decoration: none; color: #fff; }
.vf-short-img { position: absolute; inset: 0; }
.vf-short::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, .05) 60%); }
.vf-short-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 10px; }
.vf-short .vf-src, .vf-short .vf-src * { color: #fff; }
.vf-short .vf-time { display: none; }
.vf-short-title { margin-top: 5px; font-size: 13px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.vf-strip-next { top: 55%; right: 4px; width: 32px; height: 52px; border-radius: 8px; }

.vf-loadmore { text-align: center; margin: 14px 0 6px; }
.vf-msg { text-align: center; padding: 48px 16px; color: var(--vb-txt); background: var(--vb-card); border: 1px solid var(--vb-line); border-radius: 14px; }
.vf-msg i { font-size: 38px; opacity: .8; }
.vf-noscript { text-align: center; color: #fff; }

/* Skeleton */
.vf-skel-row { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 12px; }
.vf-skel-box { display: block; height: 220px; border-radius: 14px; background: linear-gradient(90deg, var(--vb-card) 25%, var(--vb-hover) 50%, var(--vb-card) 75%); background-size: 200% 100%; animation: vf-shimmer 1.3s infinite; }
.vf-skel-row4 .vf-skel-box { height: 200px; }
@keyframes vf-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

@media (min-width: 560px) {
	.vf-grid { grid-template-columns: repeat(2, 1fr); }
	.vf-skel-row4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
	.vf { padding: 0 20px 20px; }
	.vf-bar { margin: 0 -20px 16px; padding: 8px 20px; }
	.vf-row-3 { grid-template-columns: 2fr 1fr 1fr; }
	.vf-row-2 { grid-template-columns: 2fr 1fr; }
	.vf-hero { aspect-ratio: auto; min-height: 400px; height: 100%; }
	.vf-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
	.vf-row { gap: 14px; }
	.vf-short { flex-basis: 190px; }
	.vf-skel-row { grid-template-columns: 2fr 1fr 1fr; }
	.vf-skel-row4 { grid-template-columns: repeat(4, 1fr); }
	.vf-skel-hero { height: 400px; }
}
@media (min-width: 1200px) {
	.vf-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   v1.1 - Inner pages (solid, clean website layout)
   ========================================================================== */
body:not(.vb-front)::before { display: none; }
body:not(.vb-front) { background: var(--vb-page); }
body:not(.vb-front) { padding-bottom: 0; }

.vb-site-header {
	position: sticky; top: 0; z-index: 40; background: var(--vb-bar); border-bottom: 1px solid var(--vb-line);
	-webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); padding-top: env(safe-area-inset-top, 0px);
}
.vb-site-header-in { max-width: 72rem; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 16px; }
.vb-site-logo .vb-logo-link { display: inline-flex; background: #fff; border-radius: 10px; padding: 4px 10px; box-shadow: 0 0 0 1px var(--vb-line); }
.vb-site-logo .vb-logo-img { height: 38px; width: auto; max-width: 150px; object-fit: contain; }
.vb-nav { display: none; flex: 1; }
.vb-nav-menu, .vb-nav-menu ul { list-style: none; margin: 0; padding: 0; }
.vb-nav-menu { display: flex; flex-wrap: wrap; gap: 2px; }
.vb-nav-menu li { position: relative; }
.vb-nav-menu a { display: block; padding: 9px 14px; border-radius: 10px; color: var(--vb-txt); font-size: 14px; font-weight: 600; text-decoration: none; }
.vb-nav-menu a:hover, .vb-nav-menu .current-menu-item > a, .vb-nav-menu .current_page_item > a, .vb-nav-menu .current-menu-ancestor > a { background: var(--vb-hover); color: var(--vb-blue); }
.vb-nav-menu ul {
	position: absolute; left: 0; top: 100%; min-width: 200px; padding: 6px; display: none; z-index: 50;
	background: var(--vb-pop); border: 1px solid var(--vb-line); border-radius: 12px; box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
}
.vb-nav-menu li:hover > ul, .vb-nav-menu li:focus-within > ul { display: block; }
.vb-site-tools { display: flex; gap: 6px; margin-left: auto; }
.vb-icon-btn { width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--vb-txt); font-size: 17px; }
.vb-icon-btn:hover { background: var(--vb-hover); }

body:not(.vb-front) .vb-container { padding-top: 22px; }
body:not(.vb-front) .vb-page-head { color: var(--vb-txt); text-shadow: none; }
body:not(.vb-front) .vb-panel {
	background: var(--vb-surface); box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
	-webkit-backdrop-filter: none; backdrop-filter: none;
}
body:not(.vb-front) .vb-card-news { background: var(--vb-surface); }
body:not(.vb-front) .vb-footer-inner { background: var(--vb-surface); border: 1px solid var(--vb-line); -webkit-backdrop-filter: none; backdrop-filter: none; }
body:not(.vb-front) .vb-dock { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
.vb-dock-lite { padding: 0; background: transparent; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; left: auto; right: 16px; transform: none; }
.vb-dock-lite .vb-dock-btn { width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; font-size: 24px; border: 0; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }

.vb-footer { margin-top: 12px; }

@media (min-width: 900px) {
	.vb-nav { display: block; }
	.vb-burger { display: none; }
	.vb-dock-lite { top: auto; bottom: 20px; right: 20px; transform: none; flex-direction: row; }
}

/* v1.1.1 fixes */
.vf-row > *, .vf-grid > * { min-width: 0; }
.vf, .vf-body { max-width: 100%; }

/* ==========================================================================
   v1.2 - speed + picture handling
   ========================================================================== */
/* Pictures that fail to load: show a clean text card instead of an empty box */
.vf-card.vf-noimg { border-top: 4px solid var(--vb-blue); }
.vf-news.vf-noimg .vf-news-img { display: none; }
.vf-news.vf-noimg .vf-news-body { padding-top: 14px; }
.vf-news.vf-noimg .vf-news-title { font-size: 16px; -webkit-line-clamp: 5; }
.vf-short.vf-noimg { display: none; }
.vf-news-img img, .vf-short-img img, .vf-slide-img img { background: transparent; }

/* Lighter effects = smoother scrolling, especially on phones */
.vb-shortcut, .vb-search, .vb-panel, .vf-bar, .vb-footer-inner, .vb-clock, .vb-weather,
.vb-round, .vb-dock, .vb-dock-btn, .vb-site-header, .vb-strip-wrap, .vf-strip-wrap, .vf-card {
	-webkit-backdrop-filter: none; backdrop-filter: none;
}
.vb-acrylic { background: var(--vb-card); }

/* Top Sites - logos only, medium size, white tile behind every icon (v1.6) */
.vb-topsites { display: flex; justify-content: center; }
.vb-topsites-in { width: fit-content; max-width: 100%; }
.vb-topsites .vb-section-label { text-align: left; padding: 0 4px 12px; }
.vb-shortcuts { display: grid !important; grid-template-columns: repeat(3, 96px); gap: 14px; justify-content: center; }
.vb-shortcut { width: auto; max-width: none; min-width: 0; }
.vb-shortcut.is-logo-only {
	width: 96px; height: 96px; padding: 0; border-radius: 22px;
	background: var(--vb-card); border: 1px solid var(--vb-acr-b);
	box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
}
/* no white box behind the icon: the logo sits directly on the tile */
.vb-shortcut-ico.has-logo {
	width: 64px; height: 64px; padding: 0; background: transparent; border-radius: 16px;
	overflow: hidden; box-shadow: none;
}
.vb-shortcut-ico.has-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; display: block; }
.vb-shortcut-name { white-space: normal; text-align: center; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 820px) {
	.vb-shortcuts { grid-template-columns: repeat(6, 104px); gap: 16px; }
	.vb-shortcut.is-logo-only { width: 104px; height: 104px; border-radius: 24px; }
	.vb-shortcut-ico.has-logo { width: 72px; height: 72px; border-radius: 18px; }
	.vb-shortcut-ico.has-logo img { border-radius: 18px; }
}

/* ==========================================================================
   v1.6 - Pages, catalogue and store (cards with price) stay tidy
   ========================================================================== */
/* Wide layout for catalogue / store / full-width pages */
.vb-container-wide { max-width: 84rem; }
.vb-panel-flush { padding: 16px; }
@media (min-width: 768px) { .vb-panel-flush { padding: 24px; } }

/* Plugin content must not inherit the theme's article typography */
:where(.entry-content) img { max-width: 100%; height: auto; }
.woocommerce ul.products { list-style: none; margin: 0; padding: 0; }
:where(.entry-content) .wp-block-columns { gap: 16px; }
:where(.entry-content) .wp-block-button__link { border-radius: 12px; }
.vb-panel, .vb-single { min-width: 0; }
.vb-panel :where(.entry-content) { overflow-wrap: break-word; }

/* Product / catalogue cards: always same height, price pinned to the bottom */
.vb-card-news, .woocommerce ul.products li.product { display: flex; flex-direction: column; }
.vb-card-body { min-height: 92px; }
.vb-price, .woocommerce ul.products li.product .price { font-size: 15px; font-weight: 800; color: var(--vb-blue); }
.vb-price del, .woocommerce ul.products li.product .price del { color: var(--vb-muted); font-weight: 500; font-size: 12px; margin-right: 6px; opacity: .8; }
.vb-price ins, .woocommerce ul.products li.product .price ins { text-decoration: none; }

/* WooCommerce / store pages */
.woocommerce, .woocommerce-page { color: var(--vb-txt); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	float: none !important; width: auto !important; margin: 0 !important; padding: 0 0 14px;
	background: var(--vb-surface, #fff); border: 1px solid var(--vb-line); border-radius: 14px; overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .1); text-align: left; position: relative; min-width: 0;
	transition: transform .25s cubic-bezier(.1, .9, .2, 1), box-shadow .25s;
}
.woocommerce ul.products li.product:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0, 0, 0, .22); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; color: var(--vb-txt); text-decoration: none; }
.woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin: 0 0 10px; border-radius: 0; background: #fff; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 12px; margin: 0 0 6px; font-size: 14px; font-weight: 700; line-height: 1.35; min-height: 2.7em;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.woocommerce ul.products li.product .price { display: block; padding: 0 12px; margin-bottom: 10px; }
.woocommerce ul.products li.product .button { margin: auto 12px 0; width: calc(100% - 24px); text-align: center; }
.woocommerce ul.products li.product .onsale, .woocommerce span.onsale {
	position: absolute; top: 8px; left: 8px; right: auto; min-width: 0; min-height: 0; margin: 0; padding: 3px 10px;
	line-height: 1.4; font-size: 11px; font-weight: 700; border-radius: 999px; background: #ef4444; color: #fff;
}
.woocommerce .woocommerce-ordering select, .woocommerce .woocommerce-result-count + form select { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--vb-line); background: var(--vb-field); }
.woocommerce .woocommerce-result-count { margin: 0 0 12px; font-size: 13px; color: var(--vb-muted); }
.woocommerce-breadcrumb { font-size: 13px; color: var(--vb-muted); margin-bottom: 14px; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
	display: inline-flex; align-items: center; justify-content: center; background: var(--vb-blue); color: #fff; border: 0; border-radius: 12px;
	padding: 10px 18px; font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--vb-blue); color: #fff; filter: brightness(.9); }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none !important; width: 100% !important; margin: 0 !important; min-width: 0; }
.woocommerce div.product div.images img { border-radius: 14px; background: #fff; }
.woocommerce div.product .product_title { font-size: clamp(1.4rem, 4vw, 2rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-size: 1.5rem; font-weight: 800; color: var(--vb-blue); }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 16px 0; }
.woocommerce .quantity .qty { width: 72px; padding: 9px 8px; border: 1px solid var(--vb-line); border-radius: 10px; background: var(--vb-field); text-align: center; }
.woocommerce-tabs ul.tabs { list-style: none; margin: 0 0 16px; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--vb-line); }
.woocommerce-tabs ul.tabs li { margin: 0; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 10px 14px; font-weight: 600; color: var(--vb-muted); border-radius: 10px 10px 0 0; }
.woocommerce-tabs ul.tabs li.active a { color: var(--vb-blue); border-bottom: 2px solid var(--vb-blue); }
.woocommerce table.shop_table { width: 100%; display: table; border: 1px solid var(--vb-line); border-radius: 12px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 12px; border-top: 1px solid var(--vb-line); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	width: 100%; padding: 10px 12px; background: var(--vb-field); border: 1px solid var(--vb-line); border-radius: 10px; font-size: 16px;
}
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: var(--vb-field); border-left: 4px solid var(--vb-blue); }
.woocommerce nav.woocommerce-pagination ul { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; float: none; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
	background: var(--vb-card); border: 1px solid var(--vb-line); border-radius: 10px; color: var(--vb-txt); font-weight: 600;
}
.woocommerce nav.woocommerce-pagination ul li span.current, .woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--vb-blue); color: #fff; border-color: var(--vb-blue); }
@media (min-width: 640px) { .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 900px) {
	.woocommerce ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
	.woocommerce div.product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
}
@media (min-width: 1200px) { .woocommerce ul.products { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ==========================================================================
   v1.7 - Cleaner home screen (logo, search, Top Sites, top bar)
   ========================================================================== */
.vb-hero { padding-top: 4px; padding-bottom: 12px; }

/* Logo: smaller, calm white card */
.vb-hero-logo .vb-logo-link {
	background: #fff; border-radius: 20px; padding: 12px 22px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.vb-hero-logo .vb-logo-img { width: min(250px, 64vw); height: auto; }

/* Search: tall pill, soft shadow */
.vb-search-wrap { max-width: 40rem; margin-top: 22px; }
.vb-search {
	border-radius: 999px; background: rgba(255, 255, 255, .96); border: 1px solid rgba(255, 255, 255, .6);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .28); padding: 0 8px 0 8px;
}
html.dark .vb-search { background: rgba(32, 32, 32, .94); border-color: rgba(255, 255, 255, .14); }
.vb-search input[type="search"] { padding: 16px 8px; }
.vb-engine-btn { border-radius: 999px; padding: 8px 12px; }
.vb-go { width: 42px; height: 42px; border-radius: 50%; }
.vb-voice { width: 40px; height: 40px; }

/* Top Sites: glass tile, icon sits directly on it (no white box) */
.vb-topsites { margin-top: 26px; }
.vb-topsites .vb-section-label { padding: 0 6px 10px; letter-spacing: .12em; font-size: 11px; opacity: .92; }
.vb-shortcuts { grid-template-columns: repeat(3, 92px); gap: 14px; }
.vb-shortcut.is-logo-only,
html.dark .vb-shortcut.is-logo-only {
	width: 92px; height: 92px; padding: 0; border-radius: 24px;
	background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
}
.vb-shortcut.is-logo-only:hover { background: rgba(255, 255, 255, .26); transform: translateY(-4px); }
.vb-shortcut-ico.has-logo {
	width: 62px; height: 62px; padding: 0; background: transparent; border-radius: 16px; box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
}
.vb-shortcut-ico.has-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
@media (min-width: 820px) {
	.vb-shortcuts { grid-template-columns: repeat(7, 92px); gap: 12px; }
	.vb-shortcut.is-logo-only, html.dark .vb-shortcut.is-logo-only { width: 92px; height: 92px; border-radius: 24px; }
	.vb-shortcut-ico.has-logo { width: 62px; height: 62px; border-radius: 16px; }
	.vb-shortcut-ico.has-logo img { border-radius: 16px; }
}

/* Top bar pills: lighter and even */
.vb-weather, .vb-clock, .vb-round { box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
.vb-weather { padding: 7px 16px; }
.vb-dock-main { border-radius: 18px; }

/* News block starts with a little breathing room */
.vf { margin-top: 8px; }

/* ==========================================================================
   v1.7.3 - Top Sites: smaller tiles so all 7 icons sit in one row
   ========================================================================== */
.vb-topsites .vb-shortcuts { grid-template-columns: repeat(4, 72px); gap: 10px; justify-content: center; }
.vb-topsites .vb-shortcut.is-logo-only,
html.dark .vb-topsites .vb-shortcut.is-logo-only { width: 72px; height: 72px; border-radius: 20px; }
.vb-topsites .vb-shortcut-ico.has-logo { width: 48px; height: 48px; border-radius: 13px; box-shadow: 0 3px 8px rgba(0, 0, 0, .3); }
.vb-topsites .vb-shortcut-ico.has-logo img { border-radius: 13px; }
@media (min-width: 640px) {
	.vb-topsites .vb-shortcuts { grid-template-columns: repeat(7, 72px); gap: 10px; }
}
@media (min-width: 820px) {
	.vb-topsites .vb-shortcuts { grid-template-columns: repeat(7, 78px); gap: 12px; }
	.vb-topsites .vb-shortcut.is-logo-only,
	html.dark .vb-topsites .vb-shortcut.is-logo-only { width: 78px; height: 78px; border-radius: 22px; }
	.vb-topsites .vb-shortcut-ico.has-logo { width: 52px; height: 52px; border-radius: 14px; }
	.vb-topsites .vb-shortcut-ico.has-logo img { border-radius: 14px; }
}


/* ==========================================================================
   v2.1 - Catalogue-safe pages + sharper home banner
   ========================================================================== */

/* --- Home banner: crisp, brighter photo. Only a soft shade at top/bottom so
       the search box and tiles stay readable while the photo stays vivid. --- */
body.vb-front::before {
	background-image:
		linear-gradient(to bottom, rgba(6, 18, 32, .38) 0%, rgba(6, 18, 32, 0) 30%, rgba(6, 18, 32, 0) 62%, rgba(6, 18, 32, .45) 100%),
		linear-gradient(var(--vb-overlay), var(--vb-overlay)),
		var(--vb-bg);
	background-size: cover, cover, cover;
	background-position: center, center, center 38%;
	-webkit-backface-visibility: hidden; backface-visibility: hidden;
	transform: translateZ(0);
}
@media (min-resolution: 1.5dppx) { body.vb-front::before { image-rendering: -webkit-optimize-contrast; } }

/* --- Inner pages: a plain, predictable canvas --- */
.vb-container-wide { max-width: 90rem; }
.vb-single { overflow: visible; }
.vb-panel { overflow-wrap: break-word; word-break: normal; }
.vb-entry-head h1 { margin-bottom: .6em; }

/* Plugin / catalogue markup keeps its own look: our typography is zero-specificity (:where),
   so any catalogue plugin CSS wins. These resets only stop the theme from interfering. */
:where(.entry-content) :where(button, input, select, textarea) { font-size: inherit; }
:where(.entry-content) :where(input[type="text"], input[type="search"], input[type="email"], input[type="number"], input[type="tel"], select, textarea) {
	max-width: 100%;
}
:where(.entry-content) :where(table) { border-collapse: collapse; max-width: 100%; margin-bottom: 1.2em; }
:where(.entry-content) :where(.wp-block-table table, table:not([class])) { width: 100%; }
:where(.entry-content) :where(.wp-block-table table th, .wp-block-table table td, table:not([class]) th, table:not([class]) td) {
	border: 1px solid var(--vb-line); padding: 8px 12px; text-align: left;
}
:where(.entry-content) :where(.wp-block-table, .table-wrap, .table-responsive) { max-width: 100%; overflow-x: auto; }
:where(.entry-content) :where(h1, h2, h3, h4, h5, h6) { overflow-wrap: break-word; }
:where(.entry-content) :where(img) { height: auto; }

/* Full-width "Canvas" template: no title box, no panel, plugin gets the whole width */
.vb-canvas { width: 100%; max-width: 100%; margin: 0 auto; padding: 0; }
.vb-canvas-in { width: 100%; max-width: 90rem; margin: 0 auto; padding: 16px; }
.vb-canvas--full .vb-canvas-in { max-width: none; padding: 0; }
.vb-canvas .entry-content { font-size: inherit; line-height: inherit; }

/* Inner pages are light unless "Dark mode on inner pages" is enabled in Customizer,
   because most catalogue plugins are designed for a white background. */
body.vb-inner-light { color-scheme: light; }
body.vb-inner-light .vb-site-header .vb-theme-toggle { display: none; }

/* Safety net for stray elements plugins add to <body> (popups, chat bubbles, cookie bars) */
.vb-header, .vb-site-header { width: 100%; }

/* Keep product / catalogue images sharp inside cards */
.woocommerce ul.products li.product a img { image-rendering: auto; }

/* Plain text pages keep a comfortable reading width; plugin blocks (div, section, etc.) stay full width */
.vb-panel:not(.vb-panel-flush) .entry-content > :where(p, ul, ol, h2, h3, h4, h5, blockquote, pre) { max-width: 56rem; }
