/* ==========================================================================
   VedVan theme – main stylesheet
   Colours/typography come from Customizer as CSS variables (inline :root).
   ========================================================================== */

:root {
	--vv-primary: #1d5c3a;
	--vv-accent: #f29a1f;
	--vv-secondary: #cc3366;
	--vv-heading: #1b241f;
	--vv-text: #434b46;
	--vv-bg: #fbf8f2;
	--vv-surface: #fff;
	--vv-header-bg: #fff;
	--vv-header-text: #1b241f;
	--vv-footer-bg: #13291c;
	--vv-footer-text: #c9d6cd;
	--vv-font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--vv-font-heading: var(--vv-font-body);
	--vv-fs: 17px;
	--vv-lh: 1.7;
	--vv-hw: 700;
	--vv-h1: 44px;
	--vv-h2: 34px;
	--vv-h3: 22px;
	--vv-container: 1200px;
	--vv-radius: 14px;
	--vv-logo: 170px;
	--vv-logo-m: 130px;

	--vv-muted: color-mix(in srgb, var(--vv-text) 70%, var(--vv-bg));
	--vv-line: color-mix(in srgb, var(--vv-heading) 12%, transparent);
	--vv-tint: color-mix(in srgb, var(--vv-primary) 7%, var(--vv-bg));
	--vv-shadow: 0 1px 2px rgba(20, 40, 28, .06), 0 8px 24px rgba(20, 40, 28, .07);
	--vv-shadow-lg: 0 18px 50px rgba(20, 40, 28, .16);
	--vv-gutter: clamp(16px, 4vw, 32px);
	--vv-section: clamp(52px, 7vw, 88px);
	--vv-header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--vv-header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
	margin: 0;
	background: var(--vv-bg);
	color: var(--vv-text);
	font-family: var(--vv-font-body);
	font-size: var(--vv-fs);
	line-height: var(--vv-lh);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--vv-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--vv-secondary); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--vv-font-heading);
	font-weight: var(--vv-hw);
	color: var(--vv-heading);
	line-height: 1.22;
	margin: 0 0 .5em;
	letter-spacing: -.01em;
	text-wrap: balance;
}
h1 { font-size: clamp(30px, 5vw, var(--vv-h1)); }
h2 { font-size: clamp(25px, 3.6vw, var(--vv-h2)); }
h3 { font-size: clamp(19px, 2.2vw, var(--vv-h3)); }
h4 { font-size: 19px; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--vv-accent); outline-offset: 2px; }
.vv-icon { flex: none; vertical-align: middle; }

.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;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 100000; top: 8px; left: 8px;
	padding: 10px 18px; background: var(--vv-heading); color: #fff; border-radius: 8px;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--vv-container) + var(--vv-gutter) * 2); margin-inline: auto; padding-inline: var(--vv-gutter); }
.container-narrow { max-width: calc(820px + var(--vv-gutter) * 2); }
.section { padding-block: var(--vv-section); }
.section-tight { padding-block: clamp(32px, 5vw, 56px); }
.section-alt { background: var(--vv-tint); }
.section-head { max-width: 720px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; text-align: left; }
.section-head-row > div { max-width: 680px; }
.section-title { margin-bottom: .35em; }
.section-lead { font-size: 1.06em; color: var(--vv-muted); margin: 0; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--vv-accent);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head-row .eyebrow::after { display: none; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
	font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: transform .2s, background-color .2s, color .2s, box-shadow .2s, border-color .2s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--vv-accent); color: #1b1300; box-shadow: 0 6px 18px color-mix(in srgb, var(--vv-accent) 35%, transparent); }
.btn-accent:hover { background: color-mix(in srgb, var(--vv-accent) 85%, #000); color: #fff; }
.btn-primary { background: var(--vv-primary); color: #fff; }
.btn-primary:hover { background: color-mix(in srgb, var(--vv-primary) 80%, #000); color: #fff; }
.btn-outline { border-color: var(--vv-primary); color: var(--vv-primary); background: transparent; }
.btn-outline:hover { background: var(--vv-primary); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--vv-heading); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
	border: 0; border-radius: 50%; background: transparent; color: var(--vv-header-text); cursor: pointer;
}
.icon-btn:hover { background: var(--vv-tint); }

/* ---------- Nag bar / top bar ---------- */
.nag-bar { background: var(--vv-primary); color: #fff; font-size: 14px; }
.nag-bar .container { display: flex; align-items: center; gap: 12px; min-height: 42px; padding-block: 6px; }
.nag-label { flex: none; background: var(--vv-accent); color: #1b1300; font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.nag-bar a { color: #fff; text-decoration: none; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.nag-bar a:hover { text-decoration: underline; }
.nag-close { margin-left: auto; flex: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; border-radius: 50%; display: grid; }
.nag-close:hover { background: rgba(255,255,255,.15); }

.topbar { background: var(--vv-heading); color: rgba(255,255,255,.82); font-size: 13.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--vv-accent); }
.topbar-right { display: flex; align-items: center; gap: 16px; }
@media (max-width: 700px) { .topbar-right { display: none; } .topbar-inner { justify-content: center; } }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 50; background: var(--vv-header-bg); color: var(--vv-header-text); border-bottom: 1px solid var(--vv-line); }
.has-sticky-header .site-header { position: sticky; top: 0; }
.admin-bar.has-sticky-header .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.has-sticky-header .site-header { top: 0; } }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--vv-header-h); }
.site-branding { flex: none; }
.site-branding img, .footer-logo img { width: var(--vv-logo); max-width: 100%; height: auto; }
.site-title { margin: 0; font-family: var(--vv-font-heading); font-weight: 800; font-size: 22px; }
.site-title a { color: inherit; text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }

.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.primary-nav .menu > li { position: relative; }
.primary-nav a {
	display: flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 10px;
	color: var(--vv-header-text); text-decoration: none; font-weight: 500; font-size: 15.5px;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a, .primary-nav .current_page_parent > a { color: var(--vv-primary); background: var(--vv-tint); }
.primary-nav .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-3px); margin-left: 4px; opacity: .6;
}
.primary-nav .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 230px;
	background: var(--vv-surface); border: 1px solid var(--vv-line); border-radius: 12px; box-shadow: var(--vv-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { font-size: 15px; padding: 9px 12px; }
.primary-nav .nav-cta-mobile, .menu-toggle { display: none; }
.primary-nav .nav-cta-mobile { color: #1b1300; background: var(--vv-accent); border-radius: 999px; padding: 14px 22px; justify-content: center; font-weight: 600; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: inline; }

.header-search { border-top: 1px solid var(--vv-line); background: var(--vv-header-bg); padding-block: 14px; }
.header-search .search-form { max-width: 640px; margin-inline: auto; }

@media (min-width: 1025px) {
	.primary-nav { margin-left: auto; }
	.header-actions { margin-left: 0; }
}
@media (max-width: 1024px) {
	:root { --vv-header-h: 66px; }
	.site-branding img { width: var(--vv-logo-m); }
	.menu-toggle { display: inline-grid; }
	.header-cta { display: none; }
	.primary-nav {
		position: fixed; inset: var(--vv-nav-top, 66px) 0 0 0; z-index: 60;
		background: var(--vv-header-bg); padding: 16px var(--vv-gutter) 32px; overflow-y: auto;
		transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility .28s;
	}
	.primary-nav.is-open { transform: none; visibility: visible; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav .menu > li { border-bottom: 1px solid var(--vv-line); }
	.primary-nav a { padding: 14px 6px; font-size: 17px; border-radius: 0; }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 14px; min-width: 0; background: none; }
	.primary-nav .sub-menu a { font-size: 15.5px; padding: 9px 6px; }
	.primary-nav .menu-item-has-children > a::after { display: none; }
	.primary-nav .nav-cta-mobile { display: flex; margin-top: 24px; }
	body.nav-open { overflow: hidden; }
}

/* ---------- Forms ---------- */
.search-form { display: flex; align-items: center; background: var(--vv-surface); border: 1.5px solid var(--vv-line); border-radius: 999px; padding: 4px 4px 4px 18px; }
.search-form:focus-within { border-color: var(--vv-primary); }
.search-field { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 0; outline: none; }
.search-submit { flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--vv-primary); color: #fff; display: grid; place-items: center; cursor: pointer; }
.search-submit:hover { background: var(--vv-accent); color: #1b1300; }
input[type=text], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=password], textarea, select {
	width: 100%; padding: 12px 14px; border: 1.5px solid var(--vv-line); border-radius: 10px; background: var(--vv-surface);
}
input:focus, textarea:focus, select:focus { border-color: var(--vv-primary); outline: none; }
input[type=submit], button[type=submit]:not(.search-submit) {
	background: var(--vv-primary); color: #fff; border: 0; border-radius: 999px; padding: 12px 24px; font-weight: 600; cursor: pointer;
}

/* ---------- Hero ---------- */
.vv-hero {
	--vv-overlay: .72;
	position: relative; isolation: isolate; display: flex; align-items: center;
	min-height: min(82vh, 760px); padding-block: clamp(80px, 12vw, 140px); color: #fff; overflow: hidden;
	background: var(--vv-primary);
}
.vv-hero-bg { position: absolute; inset: 0; z-index: -2; }
.vv-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.vv-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(100deg, rgba(10, 30, 18, calc(var(--vv-overlay) + .12)) 0%, rgba(10, 30, 18, var(--vv-overlay)) 45%, rgba(10, 30, 18, calc(var(--vv-overlay) - .45)) 100%);
}
.vv-hero-inner { max-width: calc(var(--vv-container) + var(--vv-gutter) * 2); }
.vv-hero-title { color: #fff; max-width: 820px; font-size: clamp(34px, 6vw, calc(var(--vv-h1) + 12px)); margin-bottom: .4em; }
.vv-hero-text { max-width: 620px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.88); margin-bottom: 28px; }
.eyebrow-light { color: var(--vv-accent); }
.vv-hero-badges { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: rgba(255,255,255,.9); }
.vv-hero-badges li { display: flex; align-items: center; gap: 8px; }
.vv-hero-badges .vv-icon { color: var(--vv-accent); }

/* ---------- Page banner ---------- */
.page-banner {
	padding-block: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 56px);
	background:
		radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--vv-accent) 18%, transparent), transparent 40%),
		var(--vv-tint);
	border-bottom: 1px solid var(--vv-line);
}
.page-title { margin-bottom: .25em; }
.page-intro { max-width: 760px; font-size: 1.08em; color: var(--vv-muted); }
.page-intro p:last-child { margin: 0; }
.breadcrumbs { font-size: 14px; margin-bottom: 14px; color: var(--vv-muted); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: var(--vv-primary); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--vv-heading); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }

/* ---------- About ---------- */
.vv-about-grid { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .vv-about-grid { grid-template-columns: 1fr 1.05fr; } }
.vv-about-media { position: relative; padding: 0 12% 12% 0; }
.vv-about-img1 img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: calc(var(--vv-radius) * 1.4); box-shadow: var(--vv-shadow-lg); }
.vv-about-img2 { position: absolute; right: 0; bottom: 0; width: 46%; border: 6px solid var(--vv-bg); border-radius: calc(var(--vv-radius) * 1.2); overflow: hidden; box-shadow: var(--vv-shadow-lg); }
.vv-about-img2 img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.vv-about-badge {
	position: absolute; left: -8px; top: 24px; background: var(--vv-accent); color: #1b1300; border-radius: 16px; padding: 14px 18px;
	box-shadow: var(--vv-shadow-lg); line-height: 1.1; text-align: center;
}
.vv-about-badge strong { display: block; font-family: var(--vv-font-heading); font-size: 28px; }
.vv-about-badge span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.vv-prose p { color: var(--vv-text); }

/* ---------- Stats ---------- */
.vv-stats {
	list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: clamp(24px, 3vw, 36px);
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
	background: var(--vv-primary); color: #fff; border-radius: calc(var(--vv-radius) * 1.4);
	background-image: radial-gradient(circle at 100% 0%, rgba(255,255,255,.12), transparent 45%);
}
.vv-stats-section .vv-stats { margin-top: 0; }
@media (min-width: 760px) { .vv-stats { grid-template-columns: repeat(4, 1fr); } }
.vv-stats li { text-align: center; position: relative; }
@media (min-width: 760px) { .vv-stats li + li::before { content: ""; position: absolute; left: -12px; top: 15%; bottom: 15%; width: 1px; background: rgba(255,255,255,.2); } }
.vv-stat-num { display: block; font-family: var(--vv-font-heading); font-weight: 800; font-size: clamp(32px, 4vw, 46px); line-height: 1.1; color: var(--vv-accent); font-variant-numeric: tabular-nums; }
.vv-stat-label { display: block; margin-top: 4px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }

/* ---------- Zones ---------- */
.vv-zones { background: var(--vv-tint); }
.vv-zone-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.vv-zone {
	background: var(--vv-surface); border-radius: var(--vv-radius); overflow: hidden; box-shadow: var(--vv-shadow);
	transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column;
}
.vv-zone:hover { transform: translateY(-4px); box-shadow: var(--vv-shadow-lg); }
.vv-zone-img { overflow: hidden; }
.vv-zone-img img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform .5s; }
.vv-zone:hover .vv-zone-img img { transform: scale(1.05); }
.vv-zone-body { padding: 20px 22px 24px; position: relative; }
.vv-zone-no { font-family: var(--vv-font-heading); font-weight: 800; font-size: 13px; color: var(--vv-accent); letter-spacing: .1em; }
.vv-zone h3 { margin: 4px 0 8px; }
.vv-zone p { margin: 0; font-size: 15.5px; color: var(--vv-muted); }

/* ---------- Split / features ---------- */
.vv-split { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .vv-split { grid-template-columns: 1.1fr .9fr; } }
.vv-split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: calc(var(--vv-radius) * 1.4); box-shadow: var(--vv-shadow-lg); }
.vv-features { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 600px) { .vv-features { grid-template-columns: 1fr 1fr; } }
.vv-features li { display: flex; gap: 14px; align-items: flex-start; background: var(--vv-surface); padding: 18px; border-radius: var(--vv-radius); box-shadow: var(--vv-shadow); }
.vv-features h3 { font-size: 17px; margin: 0; line-height: 1.4; }
.vv-features p { margin: 6px 0 0; font-size: 15px; color: var(--vv-muted); }
.vv-feature-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: color-mix(in srgb, var(--vv-primary) 10%, transparent); color: var(--vv-primary); }

/* ---------- Blog showcase / cards ---------- */
.vv-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 26px; scrollbar-width: thin; }
.vv-tab, .chip {
	flex: none; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--vv-line); background: var(--vv-surface);
	font-size: 14.5px; font-weight: 500; color: var(--vv-heading); cursor: pointer; text-decoration: none; transition: .2s;
}
.vv-tab:hover, .chip:hover { border-color: var(--vv-primary); color: var(--vv-primary); }
.vv-tab.is-active, .chip.is-active { background: var(--vv-primary); border-color: var(--vv-primary); color: #fff; }
.chip span { opacity: .6; font-size: 12.5px; margin-left: 2px; }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding-top: 28px; padding-bottom: 4px; }

.vv-blog-layout, .post-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.post-grid.cols-2 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (min-width: 1100px) {
	.vv-blog-layout.has-featured { grid-template-columns: repeat(3, 1fr); }
	.vv-blog-layout.has-featured .post-card-featured { grid-column: span 2; grid-row: span 2; }
	.post-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
	.post-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
}
.post-card[hidden] { display: none; }
.post-card {
	display: flex; flex-direction: column; background: var(--vv-surface); border-radius: var(--vv-radius); overflow: hidden;
	box-shadow: var(--vv-shadow); transition: transform .25s, box-shadow .25s; position: relative; min-width: 0;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--vv-shadow-lg); }
.post-card-thumb { display: block; overflow: hidden; background: var(--vv-tint); aspect-ratio: 16 / 10; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card-thumb img { transform: scale(1.04); }
.thumb-placeholder { display: grid; place-items: center; height: 100%; color: color-mix(in srgb, var(--vv-primary) 40%, transparent); }
.post-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card-title { font-size: 18.5px; line-height: 1.38; margin: 0; }
.post-card-title a { color: var(--vv-heading); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s; }
.post-card-title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.post-card:hover .post-card-title a { color: var(--vv-primary); background-size: 100% 1.5px; }
.post-card-excerpt { margin: 0; font-size: 15px; color: var(--vv-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .entry-meta { margin-top: auto; padding-top: 6px; }
.cat-badge {
	align-self: flex-start; position: relative; z-index: 2; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	color: var(--vv-secondary); text-decoration: none;
}
.cat-badge:hover { text-decoration: underline; }
.post-card-featured { background: var(--vv-heading); color: #fff; }
.post-card-featured .post-card-thumb { aspect-ratio: auto; flex: 1; min-height: 260px; }
.post-card-featured .post-card-body { flex: none; padding: 24px 26px 26px; }
.post-card-featured .post-card-title { font-size: clamp(21px, 2.4vw, 28px); }
.post-card-featured .post-card-title a, .post-card-featured:hover .post-card-title a { color: #fff; }
.post-card-featured .post-card-excerpt, .post-card-featured .entry-meta { color: rgba(255,255,255,.75); }
.post-card-featured .cat-badge { color: var(--vv-accent); }

.post-grid.is-list { grid-template-columns: 1fr; }
@media (min-width: 640px) {
	.post-grid.is-list .post-card { flex-direction: row; }
	.post-grid.is-list .post-card-thumb { flex: 0 0 38%; aspect-ratio: auto; min-height: 200px; }
}

.entry-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--vv-muted); }
.entry-meta span { display: inline-flex; align-items: center; gap: 6px; }
.entry-meta a { color: inherit; text-decoration: none; position: relative; z-index: 2; }
.entry-meta a:hover { color: var(--vv-primary); }

/* ---------- Gallery ---------- */
.vv-gallery-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
@media (min-width: 800px) { .vv-gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; } .vv-gallery-grid figure:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; } }
.vv-gallery-grid figure { overflow: hidden; border-radius: var(--vv-radius); }
.vv-gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vv-gallery-grid figure:hover img { transform: scale(1.06); }

/* ---------- Visit ---------- */
.vv-visit-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .vv-visit-grid { grid-template-columns: 1fr 1fr; } }
.vv-steps { list-style: none; padding: 0; margin: 28px 0 20px; display: grid; gap: 14px; }
.vv-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 18px; background: var(--vv-surface); border-radius: var(--vv-radius); border-left: 4px solid var(--vv-accent); box-shadow: var(--vv-shadow); }
.vv-steps h3 { font-size: 18px; margin: 0 0 4px; }
.vv-steps p { margin: 0; color: var(--vv-muted); font-size: 15.5px; }
.vv-step-no { color: var(--vv-accent); }
.vv-step-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--vv-primary); color: #fff; }
.vv-address { font-style: normal; display: flex; gap: 8px; align-items: flex-start; color: var(--vv-muted); font-size: 15px; }
.vv-map { position: relative; aspect-ratio: 4 / 3.4; border-radius: calc(var(--vv-radius) * 1.4); overflow: hidden; box-shadow: var(--vv-shadow-lg);
	background: repeating-linear-gradient(45deg, var(--vv-tint) 0 14px, color-mix(in srgb, var(--vv-primary) 10%, var(--vv-bg)) 14px 28px); }
.vv-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vv-map-load { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; display: flex; flex-direction: column; align-items: center; gap: 8px;
	padding: 20px 28px; border: 0; border-radius: 16px; background: var(--vv-surface); color: var(--vv-primary); font-weight: 600; cursor: pointer; box-shadow: var(--vv-shadow-lg); }
.vv-map-load:hover { background: var(--vv-primary); color: #fff; }

/* ---------- Contact ---------- */
.vv-contact-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.vv-contact-cards li { background: var(--vv-surface); padding: 24px; border-radius: var(--vv-radius); box-shadow: var(--vv-shadow); }
.vv-contact-cards h3 { font-size: 17px; margin: 14px 0 4px; }
.vv-contact-cards p { margin: 0; color: var(--vv-muted); font-size: 15.5px; overflow-wrap: anywhere; }
.vv-contact-form { max-width: 720px; margin: 40px auto 0; background: var(--vv-surface); padding: clamp(20px, 4vw, 36px); border-radius: var(--vv-radius); box-shadow: var(--vv-shadow); }

/* ---------- CTA ---------- */
.vv-cta {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
	padding: clamp(28px, 5vw, 56px); border-radius: calc(var(--vv-radius) * 1.6); color: #fff;
	background: radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--vv-accent) 35%, transparent), transparent 50%), var(--vv-primary);
}
.vv-cta > div { max-width: 640px; }
.vv-cta h2 { color: #fff; margin-bottom: .3em; }
.vv-cta p { margin: 0; color: rgba(255,255,255,.85); }
.vv-cta-wrap { padding-bottom: var(--vv-section); }

/* ---------- Content area / sidebar ---------- */
.content-area { padding-block: clamp(32px, 5vw, 56px) var(--vv-section); display: grid; gap: 40px; }
@media (min-width: 1025px) { .content-area.with-sidebar { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; } }
.content-area.is-narrow { max-width: calc(800px + var(--vv-gutter) * 2); }
.content-primary { min-width: 0; }
.sidebar { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 1025px) { .sidebar { align-self: start; } .sidebar > :last-child { position: sticky; top: calc(var(--vv-header-h) + 24px); } }
.widget { background: var(--vv-surface); padding: 22px; border-radius: var(--vv-radius); box-shadow: var(--vv-shadow); }
.widget_search { padding: 0; background: none; box-shadow: none; }
.widget-title { font-size: 17px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--vv-tint); position: relative; }
.widget-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 40px; height: 2px; background: var(--vv-accent); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 6px 0; }
.widget li + li { border-top: 1px dashed var(--vv-line); }
.widget a { color: var(--vv-heading); text-decoration: none; }
.widget a:hover { color: var(--vv-primary); }
.widget-posts a { display: flex; gap: 12px; align-items: center; font-size: 15px; line-height: 1.4; font-weight: 500; }
.widget-posts img { flex: none; width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.widget-info li { display: flex; gap: 10px; align-items: center; font-size: 15px; border: 0 !important; }
.widget-info .vv-icon { color: var(--vv-primary); }
.widget-visit .btn { margin-top: 14px; }
.widget-cats li { display: flex; justify-content: space-between; color: var(--vv-muted); font-size: 15px; }

/* ---------- Single post ---------- */
.entry-header { padding-block: clamp(32px, 5vw, 56px) 28px; }
.entry-header .cat-badge { display: inline-block; margin-bottom: 10px; }
.entry-title { font-size: clamp(30px, 4.6vw, var(--vv-h1)); max-width: 900px; }
.entry-lead { max-width: 820px; }
.entry-lead { font-size: 1.15em; color: var(--vv-muted); }
.entry-thumb img { width: 100%; border-radius: calc(var(--vv-radius) * 1.3); aspect-ratio: 16 / 9; object-fit: cover; }
.entry-thumb figcaption { font-size: 13.5px; color: var(--vv-muted); margin-top: 8px; text-align: center; }
.page-body { padding-block: clamp(32px, 5vw, 56px) var(--vv-section); }

.entry-content { font-size: calc(var(--vv-fs) + 1px); overflow-wrap: break-word; }
.entry-content > * { margin-block: 0 1.2em; }
.entry-content h2 { margin-top: 1.8em; padding-top: .2em; }
.entry-content h3 { margin-top: 1.5em; }
.entry-content a { font-weight: 500; }
.entry-content img, .entry-content figure img { border-radius: var(--vv-radius); }
.entry-content figcaption, .wp-element-caption { font-size: 14px; color: var(--vv-muted); text-align: center; margin-top: 8px; }
.entry-content blockquote {
	margin-inline: 0; padding: 18px 24px; background: var(--vv-tint); border-left: 4px solid var(--vv-accent); border-radius: 0 var(--vv-radius) var(--vv-radius) 0;
	font-size: 1.05em; color: var(--vv-heading);
}
.entry-content blockquote p:last-child { margin: 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15.5px; display: block; overflow-x: auto; }
.entry-content table:not(.has-fixed-layout) { display: table; }
@media (max-width: 700px) { .entry-content table:not(.has-fixed-layout) { display: block; } }
.entry-content th, .entry-content td { padding: 10px 14px; border: 1px solid var(--vv-line); text-align: left; vertical-align: top; }
.entry-content th { background: var(--vv-tint); color: var(--vv-heading); font-weight: 600; }
.entry-content tr:nth-child(even) td { background: color-mix(in srgb, var(--vv-surface) 60%, var(--vv-bg)); }
.entry-content li { margin-bottom: .4em; }
.entry-content ul li::marker { color: var(--vv-accent); }
.entry-content pre { background: var(--vv-heading); color: #eee; padding: 18px; border-radius: 10px; overflow-x: auto; font-size: 14.5px; }
.entry-content code { font-size: .9em; background: var(--vv-tint); padding: 2px 6px; border-radius: 5px; }
.entry-content pre code { background: none; padding: 0; }
.entry-content hr { border: 0; border-top: 1px solid var(--vv-line); margin-block: 2em; }
.entry-content .wp-block-button__link { border-radius: 999px; background: var(--vv-primary); }
.alignwide { margin-inline: calc(-1 * min(80px, 6vw)); max-width: none; }
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }

.toc { background: var(--vv-surface); border: 1px solid var(--vv-line); border-radius: var(--vv-radius); padding: 16px 22px; box-shadow: var(--vv-shadow); }
.toc summary { font-weight: 700; color: var(--vv-heading); cursor: pointer; font-family: var(--vv-font-heading); }
.toc ol { margin: 12px 0 4px; padding-left: 1.2em; font-size: 15.5px; }
.toc li { margin: 4px 0; }
.toc .toc-l3 { margin-left: 1.2em; list-style: circle; font-size: 15px; }
.toc a { color: var(--vv-text); text-decoration: none; font-weight: 400; }
.toc a:hover { color: var(--vv-primary); text-decoration: underline; }

.entry-footer { margin-top: 40px; display: grid; gap: 28px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { font-size: 13.5px; padding: 5px 12px; border-radius: 999px; background: var(--vv-tint); color: var(--vv-heading); text-decoration: none; }
.tag-list a::before { content: "#"; opacity: .5; }
.tag-list a:hover { background: var(--vv-primary); color: #fff; }
.share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-block: 18px; border-block: 1px solid var(--vv-line); }
.share-label { font-weight: 600; color: var(--vv-heading); margin-right: 6px; }
.share a, .share button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--vv-line); background: var(--vv-surface); color: var(--vv-heading); cursor: pointer; }
.share a:hover, .share button:hover { background: var(--vv-primary); border-color: var(--vv-primary); color: #fff; }
.share button.is-copied { background: var(--vv-accent); border-color: var(--vv-accent); }
.author-box { display: flex; gap: 18px; align-items: flex-start; padding: 22px; background: var(--vv-surface); border-radius: var(--vv-radius); box-shadow: var(--vv-shadow); }
.author-box img { border-radius: 50%; flex: none; }
.author-box p { margin: 0; font-size: 15px; }
.author-name { font-weight: 700; margin-bottom: 4px !important; }
.author-name a { color: var(--vv-heading); text-decoration: none; }
.post-navigation .nav-links { display: grid; gap: 16px; }
@media (min-width: 640px) { .post-navigation .nav-links { grid-template-columns: 1fr 1fr; } .post-navigation .nav-next { text-align: right; grid-column: 2; } }
.post-navigation a { display: block; padding: 18px; background: var(--vv-surface); border-radius: var(--vv-radius); box-shadow: var(--vv-shadow); text-decoration: none; height: 100%; }
.post-navigation a:hover { box-shadow: var(--vv-shadow-lg); }
.nav-sub { display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--vv-accent); font-weight: 700; }
.nav-title { display: block; color: var(--vv-heading); font-weight: 600; line-height: 1.4; margin-top: 4px; }
.related { padding-bottom: var(--vv-section); }
.related > h2 { margin-bottom: 24px; }

/* ---------- Comments ---------- */
.comments-area { margin-top: 48px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: clamp(16px, 4vw, 40px); }
.comment-body { background: var(--vv-surface); padding: 18px 20px; border-radius: var(--vv-radius); margin-bottom: 16px; box-shadow: var(--vv-shadow); }
.comment-author { display: flex; align-items: center; gap: 10px; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 13px; }
.comment-metadata a { color: var(--vv-muted); text-decoration: none; }
.comment-form label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 4px; }
.comment-form p { margin-bottom: 14px; }
.comment-form-cookies-consent label { display: inline; font-weight: 400; }

/* ---------- Pagination ---------- */
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; background: var(--vv-surface); box-shadow: var(--vv-shadow); color: var(--vv-heading); text-decoration: none; font-weight: 600; }
.page-numbers.current, a.page-numbers:hover { background: var(--vv-primary); color: #fff; }
.page-numbers.dots { background: none; box-shadow: none; }

/* ---------- 404 / no results ---------- */
.error-code { font-family: var(--vv-font-heading); font-size: clamp(80px, 16vw, 160px); font-weight: 800; line-height: 1; margin: 0; color: color-mix(in srgb, var(--vv-primary) 18%, var(--vv-bg)); }
.error-404 .search-form { max-width: 520px; margin: 24px auto; }
.no-results { text-align: center; padding: 40px 20px; background: var(--vv-surface); border-radius: var(--vv-radius); }
.no-results .search-form { max-width: 480px; margin: 20px auto 0; }
.search-again { padding-top: 24px; max-width: calc(620px + var(--vv-gutter) * 2); margin-left: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--vv-footer-bg); color: var(--vv-footer-text); font-size: 15.5px; }
.site-footer a { color: var(--vv-footer-text); text-decoration: none; }
.site-footer a:hover { color: var(--vv-accent); }
.footer-grid { display: grid; gap: 40px; padding-block: clamp(48px, 7vw, 80px); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1025px) { .footer-grid { grid-template-columns: 1.4fr .8fr 1.2fr 1.1fr; gap: 48px; } }
.footer-logo { margin-bottom: 16px; }
.footer-logo .custom-logo-link { display: inline-block; background: #fff; padding: 10px 16px; border-radius: 12px; }
.footer-logo .custom-logo-link img { width: calc(var(--vv-logo) * .85); }
.footer-logo.is-light .custom-logo-link { background: none; padding: 0; }
.footer-logo .site-title a { color: #fff; }
.footer-brand p { color: color-mix(in srgb, var(--vv-footer-text) 85%, transparent); }
.footer-title { color: #fff; font-size: 17px; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--vv-accent); }
.footer-menu, .footer-posts, .footer-contact, .site-footer .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-posts a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.45; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.footer-contact .vv-icon { color: var(--vv-accent); margin-top: 2px; }
.site-footer .widget { background: none; box-shadow: none; padding: 0; }
.site-footer .widget a { color: var(--vv-footer-text); }
.social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); }
.social a:hover { background: var(--vv-accent); color: #1b1300; }
.social-sm { margin: 0; gap: 4px; }
.social-sm a { width: 28px; height: 28px; background: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding-block: 20px; }
.footer-bottom p { margin: 0; }
.legal-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Elementor compatibility ---------- */
.elementor-widget[class*="elementor-widget-vedvan-"] > .elementor-widget-container { margin: 0; padding: 0; }
.elementor-section.elementor-section-full_width > .elementor-column-gap-no > .elementor-column > .elementor-widget-wrap { padding: 0; }
.is-elementor-page .site-main > .elementor { overflow: hidden; }

/* ---------- Scroll reveal (JS adds .reveal only to below-the-fold items; no CLS, visible without JS) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Print ---------- */
@media print {
	.topbar, .nag-bar, .site-header, .site-footer, .sidebar, .share, .related, .comments-area, .post-navigation { display: none !important; }
	body { background: #fff; color: #000; }
}
