/* ==========================================================================
   Virtue Corporate Solutions — main stylesheet
   All colours/fonts come from :root tokens printed by inc/css-variables.php.
   No brand hex values below this line except neutral fallbacks.
   ========================================================================== */

/* ---------- 1. Static tokens (non-brand) ---------- */
:root {
	--v-radius-sm: 6px;
	--v-radius: 10px;
	--v-radius-lg: 16px;
	--v-gutter: clamp(1rem, 4vw, 2rem);
	--v-section: clamp(3.5rem, 8vw, 6.5rem);
	--v-header-h: 76px;
	--v-shadow-sm: 0 1px 2px rgb(var(--v-dark-rgb, 28 28 28) / .06);
	--v-shadow: 0 10px 30px -12px rgb(var(--v-dark-rgb, 28 28 28) / .18);
	--v-ease: cubic-bezier(.2, .7, .2, 1);
	--v-focus: 0 0 0 3px rgb(var(--v-primary-rgb, 78 58 148) / .35);
	--v-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	/* Type scale (fluid, minor third → perfect fourth). */
	--v-fs-xs: .8125rem;
	--v-fs-sm: .9375rem;
	--v-fs-h6: 1.0625rem;
	--v-fs-h5: 1.1875rem;
	--v-fs-h4: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
	--v-fs-h3: clamp(1.5rem, 1.25rem + 1vw, 1.875rem);
	--v-fs-h2: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
	--v-fs-h1: clamp(2.25rem, 1.5rem + 3.2vw, 3.75rem);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
img { border-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:where(ul, ol)[class] { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote { margin: 0; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 3. Base ---------- */
body {
	background: var(--v-bg);
	color: var(--v-text);
	font-family: var(--v-font-body);
	font-size: var(--v-font-size-base);
	line-height: 1.65;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--v-heading);
	font-family: var(--v-font-heading);
	font-weight: var(--v-heading-weight);
	line-height: 1.15;
	letter-spacing: -.02em;
	text-wrap: balance;
}
h1 { font-size: var(--v-fs-h1); }
h2 { font-size: var(--v-fs-h2); }
h3 { font-size: var(--v-fs-h3); letter-spacing: -.015em; }
h4 { font-size: var(--v-fs-h4); letter-spacing: -.01em; }
h5 { font-size: var(--v-fs-h5); letter-spacing: 0; }
h6 { font-size: var(--v-fs-h6); letter-spacing: 0; }
p { text-wrap: pretty; }

a { color: var(--v-link); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s var(--v-ease); }
a:hover { color: var(--v-link-hover); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--v-primary); outline-offset: 3px; border-radius: 3px; }

::selection { background: rgb(var(--v-primary-rgb) / .16); color: var(--v-heading); }

hr { border: 0; border-top: 1px solid var(--v-border); margin: 2.5rem 0; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	position: fixed !important; top: .75rem; left: .75rem; z-index: 100000;
	background: var(--v-bg); color: var(--v-heading); padding: .75rem 1.25rem;
	border-radius: var(--v-radius-sm); box-shadow: var(--v-shadow); font-weight: 600; text-decoration: none;
}

/* ---------- 4. Layout ---------- */
.v-site { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.v-main { flex: 1 0 auto; }
.v-main:focus { outline: none; }

.v-container {
	width: 100%;
	max-width: calc(var(--v-container) + var(--v-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--v-gutter);
}
.v-section { padding-block: var(--v-section); }
.v-layout--narrow { max-width: calc(860px + var(--v-gutter) * 2); }
.v-page-body { max-width: 780px; } /* Classic pages: left-aligned with the title, readable measure */

.v-layout--sidebar { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 1024px) {
	.v-layout--sidebar { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
	.v-layout--sidebar .v-layout__aside { position: sticky; top: calc(var(--v-header-h) + 1.5rem); }
}

.v-grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.v-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.v-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.v-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.v-has-sidebar .v-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }

/* ---------- 5. Typography helpers ---------- */
.v-eyebrow {
	display: inline-flex; align-items: center; gap: .5rem;
	font-family: var(--v-mono);
	font-size: var(--v-fs-xs);
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--v-primary);
	margin-bottom: .75rem;
}
.v-eyebrow a { color: inherit; text-decoration: none; }
.v-lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.6; color: var(--v-muted); max-width: 62ch; }
.v-section-title { font-size: var(--v-fs-h3); margin-bottom: 2rem; }
.v-gradient-text {
	background: var(--v-gradient);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: var(--v-primary);
}
.v-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: var(--v-fs-sm); color: var(--v-muted); }
.v-meta a { color: inherit; }
.v-meta__sep { opacity: .5; }

/* ---------- 6. Buttons ---------- */
.v-btn,
.wp-block-button__link,
input[type="submit"] {
	--_bg: var(--v-button);
	--_bg-h: var(--v-button-hover);
	--_fg: var(--v-button-text);
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 48px;
	padding: .75rem 1.5rem;
	border: 1.5px solid var(--_bg);
	border-radius: var(--v-radius-sm);
	background: var(--_bg);
	color: var(--_fg);
	font-family: var(--v-font-heading);
	font-size: var(--v-fs-sm);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .005em;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .2s var(--v-ease), border-color .2s var(--v-ease), color .2s var(--v-ease), transform .2s var(--v-ease);
}
.v-btn:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover { background: var(--_bg-h); border-color: var(--_bg-h); color: var(--_fg); }
.v-btn:active { transform: translateY(1px); }
.v-btn:focus-visible { box-shadow: var(--v-focus); outline-offset: 2px; }

.v-btn--cta { --_bg: var(--v-cta-bg); --_bg-h: var(--v-cta-bg-hover); --_fg: var(--v-cta-text); }
.v-btn--ghost { background: transparent; color: var(--v-heading); border-color: var(--v-border); }
.v-btn--ghost:hover { background: transparent; color: var(--v-primary); border-color: var(--v-primary); }
.v-btn--light { --_bg: #fff; --_bg-h: var(--v-bg-light); --_fg: var(--v-dark); }
.v-btn--link { background: none; border: 0; padding: 0; min-height: 0; color: var(--v-link); }
.v-btn--link:hover { background: none; color: var(--v-link-hover); }
.v-btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.v-icon-btn {
	display: inline-grid; place-items: center;
	width: 44px; height: 44px;
	border: 0; border-radius: var(--v-radius-sm);
	background: transparent; color: var(--v-menu);
	transition: background-color .2s var(--v-ease), color .2s var(--v-ease);
}
.v-icon-btn:hover { background: var(--v-bg-light); color: var(--v-menu-hover); }

/* ---------- 7. Header ---------- */
.v-header {
	position: relative;
	z-index: 50;
	background: var(--v-header-bg);
	border-bottom: 1px solid var(--v-border);
	transition: box-shadow .25s var(--v-ease), border-color .25s var(--v-ease);
}
.v-header-sticky .v-header { position: sticky; top: 0; }
.admin-bar.v-header-sticky .v-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.v-header-sticky .v-header { top: 0; } }
.v-header-shadow .v-header.is-stuck { box-shadow: var(--v-shadow); border-bottom-color: transparent; }

.v-header--accent::before {
	content: ""; position: absolute; inset: 0 0 auto; height: 3px;
	background: var(--v-gradient);
}

.v-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
	min-height: var(--v-header-h);
}

.v-brand { flex: 0 1 auto; min-width: 0; display: flex; align-items: center; }
.v-brand .custom-logo-link { display: block; line-height: 0; }
.v-brand .custom-logo { width: var(--v-logo-width-mobile); height: auto; }
.v-brand__text {
	font-family: var(--v-font-heading); font-weight: 800; font-size: 1.25rem;
	letter-spacing: -.02em; color: var(--v-heading); text-decoration: none;
	line-height: 1.2; overflow-wrap: anywhere;
}
@media (min-width: 1024px) {
	.v-brand .custom-logo { width: var(--v-logo-width); }
}

.v-header__actions { display: flex; align-items: center; gap: .5rem; }

/* Desktop navigation */
.v-menu { display: flex; align-items: center; gap: .25rem; }
.v-menu > li { position: relative; display: flex; align-items: center; }
.v-menu a {
	display: block;
	padding: .625rem .75rem;
	color: var(--v-menu);
	font-family: var(--v-font-heading);
	font-size: var(--v-menu-size);
	font-weight: var(--v-menu-weight);
	text-decoration: none;
	border-radius: var(--v-radius-sm);
}
.v-menu a:hover { color: var(--v-menu-hover); }
.v-menu .current-menu-item > a,
.v-menu .current-menu-ancestor > a,
.v-menu .current-menu-parent > a { color: var(--v-menu-active); }

.v-submenu-toggle {
	display: inline-grid; place-items: center;
	width: 28px; height: 28px; margin-left: -.375rem;
	border: 0; background: none; color: var(--v-menu); border-radius: 4px;
}
.v-submenu-toggle svg { transition: transform .2s var(--v-ease); }
.v-submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.v-menu .sub-menu {
	position: absolute; top: calc(100% + 6px); left: 0;
	min-width: 240px;
	padding: .5rem;
	background: var(--v-bg);
	border: 1px solid var(--v-border);
	border-radius: var(--v-radius);
	box-shadow: var(--v-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .18s var(--v-ease), transform .18s var(--v-ease), visibility .18s;
	list-style: none; margin: 0;
}
.v-menu .sub-menu a { padding: .55rem .75rem; font-weight: 500; }
.v-menu .sub-menu a:hover { background: var(--v-bg-light); }
.v-menu > li:hover > .sub-menu,
.v-menu > li:focus-within > .sub-menu,
.v-menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.v-nav__mobile-cta, .v-nav__contact, .v-nav-toggle { display: none; }
.v-nav__notice { margin: 0; font-size: var(--v-fs-sm); }

/* Mobile / tablet navigation (drawer) */
@media (max-width: 1023.98px) {
	:root { --v-header-h: 64px; }
	.v-header__inner { gap: .75rem; }
	.v-header__actions { flex-shrink: 0; gap: .25rem; }

	.v-header__cta { display: none; }
	.v-nav-toggle { display: inline-grid; }
	.v-nav-toggle__close { display: none; }
	.v-nav-toggle[aria-expanded="true"] .v-nav-toggle__open { display: none; }
	.v-nav-toggle[aria-expanded="true"] .v-nav-toggle__close { display: block; }

	.v-nav { position: static; }
	.v-nav__panel {
		position: fixed;
		inset: var(--v-nav-top, var(--v-header-h)) 0 0 0;
		z-index: 49;
		display: flex; flex-direction: column; gap: 1.5rem;
		padding: 1.25rem var(--v-gutter) 2rem;
		background: var(--v-bg);
		overflow-y: auto; overscroll-behavior: contain;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .2s var(--v-ease), transform .2s var(--v-ease), visibility .2s;
	}
	.v-nav.is-open .v-nav__panel { opacity: 1; visibility: visible; transform: none; }

	.v-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.v-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--v-border); }
	.v-menu > li > a { flex: 1; padding: 1rem 0; font-size: 1.0625rem; }
	.v-submenu-toggle { width: 44px; height: 44px; margin: 0; }
	.v-menu .sub-menu {
		position: static; flex-basis: 100%;
		min-width: 0; padding: 0 0 .75rem .75rem;
		border: 0; border-radius: 0; box-shadow: none; background: none;
		opacity: 1; visibility: visible; transform: none;
		display: none;
	}
	.v-menu > li:hover > .sub-menu,
	.v-menu > li:focus-within > .sub-menu { display: none; }
	.v-menu > li.is-open > .sub-menu { display: block; }

	.v-nav__mobile-cta { display: inline-flex; width: 100%; }
	.v-nav__contact { display: grid; gap: .75rem; }
	.v-nav__contact a { display: inline-flex; align-items: center; gap: .625rem; color: var(--v-text); text-decoration: none; }

	body.v-nav-open { overflow: hidden; }
}

/* ---------- 8. Page header & breadcrumb ---------- */
.v-page-header {
	position: relative;
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
	background: var(--v-bg-light);
	border-bottom: 1px solid var(--v-border);
	overflow: hidden;
}
.v-page-header::after {
	/* Quiet brand signal: thin gradient rule, not a gradient wash. */
	content: ""; position: absolute; left: 0; bottom: -1px;
	width: min(240px, 40%); height: 3px; background: var(--v-gradient);
}
.v-page-header__title { max-width: 22ch; }
.v-page-header__intro { margin-top: 1rem; max-width: 62ch; color: var(--v-muted); font-size: 1.125rem; }

.v-breadcrumb { margin-bottom: 1rem; font-size: var(--v-fs-sm); color: var(--v-muted); }
.v-breadcrumb ol { display: flex; flex-wrap: wrap; gap: .375rem; list-style: none; margin: 0; padding: 0; }
.v-breadcrumb li:not(:last-child)::after { content: "/"; margin-left: .375rem; opacity: .5; }
.v-breadcrumb a { color: inherit; text-decoration: none; }
.v-breadcrumb a:hover { color: var(--v-link-hover); text-decoration: underline; }
.v-breadcrumb [aria-current] { color: var(--v-heading); }
/* Rank Math breadcrumb markup */
.v-breadcrumb .rank-math-breadcrumb p { margin: 0; }
.v-breadcrumb .separator { margin: 0 .375rem; opacity: .5; }

/* ---------- 9. Cards ---------- */
.v-card {
	display: flex; flex-direction: column;
	background: var(--v-bg);
	border: 1px solid var(--v-border);
	border-radius: var(--v-radius);
	overflow: hidden;
	transition: border-color .2s var(--v-ease), transform .25s var(--v-ease), box-shadow .25s var(--v-ease);
}
.v-card:hover { border-color: rgb(var(--v-primary-rgb) / .35); box-shadow: var(--v-shadow-sm); }
.v-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--v-bg-light); }
.v-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--v-ease); }
.v-card:hover .v-card__media img { transform: scale(1.03); }
.v-card__body { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; flex: 1; }
.v-card__body .v-eyebrow { margin-bottom: 0; }
.v-card__title { font-size: var(--v-fs-h5); line-height: 1.3; }
.v-card__title a { color: inherit; text-decoration: none; }
.v-card__title a::after { content: ""; position: absolute; inset: 0; } /* Whole card clickable */
.v-card { position: relative; }
.v-card__title a:hover { color: var(--v-primary); }
.v-card__text { color: var(--v-muted); font-size: var(--v-fs-sm); }
.v-card .v-meta { margin-top: auto; padding-top: .5rem; position: relative; z-index: 1; }

/* ---------- 10. Prose (post & classic page content) ---------- */
.v-prose { font-size: 1.0625rem; }
.v-prose > * + * { margin-top: 1.25em; }
.v-prose > :first-child { margin-top: 0; }
.v-prose > :is(h2, h3, h4) { margin-top: 2em; }
.v-prose > :is(h2, h3, h4) + * { margin-top: .75em; }
.v-prose h2 { font-size: var(--v-fs-h3); }
.v-prose h3 { font-size: var(--v-fs-h4); }
.v-prose ul, .v-prose ol { padding-left: 1.25em; }
.v-prose li + li { margin-top: .4em; }
.v-prose li::marker { color: var(--v-primary); }
.v-prose blockquote {
	padding: .25rem 0 .25rem 1.5rem;
	border-left: 3px solid var(--v-primary);
	font-size: 1.1875rem; color: var(--v-heading);
}
.v-prose img, .v-prose figure { border-radius: var(--v-radius); }
.v-prose figcaption { margin-top: .5rem; font-size: var(--v-fs-sm); color: var(--v-muted); }
.v-prose table { font-size: var(--v-fs-sm); display: block; overflow-x: auto; }
.v-prose th, .v-prose td { padding: .75rem 1rem; border-bottom: 1px solid var(--v-border); text-align: left; }
.v-prose th { font-family: var(--v-font-heading); color: var(--v-heading); background: var(--v-bg-light); }
.v-prose code { font-family: var(--v-mono); font-size: .9em; background: var(--v-bg-light); padding: .1em .35em; border-radius: 4px; }
.v-prose .alignwide { margin-inline: calc(-1 * clamp(0rem, 6vw, 6rem)); max-width: none; }
.v-prose .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }

/* ---------- 11. Article ---------- */
.v-article__header { margin-bottom: 2rem; }
.v-article__title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.125rem); margin-bottom: 1rem; }
.v-article__media { margin-bottom: 2.5rem; border-radius: var(--v-radius-lg); overflow: hidden; }
.v-article__media img { width: 100%; }
.v-article__footer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--v-border); }
.v-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.v-tags a {
	display: inline-block; padding: .3rem .75rem; font-size: var(--v-fs-xs);
	border: 1px solid var(--v-border); border-radius: 999px; color: var(--v-text); text-decoration: none;
}
.v-tags a:hover { border-color: var(--v-primary); color: var(--v-primary); }

.v-post-nav { margin-top: 3rem; }
.v-post-nav .nav-links { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.v-post-nav a {
	display: flex; flex-direction: column; gap: .25rem; padding: 1.25rem;
	border: 1px solid var(--v-border); border-radius: var(--v-radius); text-decoration: none; color: var(--v-heading);
}
.v-post-nav a:hover { border-color: var(--v-primary); }
.v-post-nav .nav-next a { text-align: right; align-items: flex-end; }
.v-post-nav .v-eyebrow { margin: 0; }
.v-post-nav__title { font-family: var(--v-font-heading); font-weight: 600; line-height: 1.3; }

.v-related { padding-block: var(--v-section); background: var(--v-bg-light); border-top: 1px solid var(--v-border); }

/* ---------- 12. Pagination ---------- */
.v-pagination { margin-top: 3rem; }
.v-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .375rem; }
.v-pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .875rem;
	border: 1px solid var(--v-border); border-radius: var(--v-radius-sm);
	color: var(--v-heading); text-decoration: none; font-weight: 600; font-size: var(--v-fs-sm);
}
.v-pagination .page-numbers:hover { border-color: var(--v-primary); color: var(--v-primary); }
.v-pagination .page-numbers.current { background: var(--v-primary); border-color: var(--v-primary); color: var(--v-button-text); }
.v-pagination .dots { border: 0; }

/* ---------- 13. Forms ---------- */
.v-input,
input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="number"], input[type="search"], input[type="password"], input[type="date"],
select, textarea {
	width: 100%;
	min-height: 48px;
	padding: .75rem 1rem;
	background: var(--v-bg);
	border: 1.5px solid var(--v-border);
	border-radius: var(--v-radius-sm);
	color: var(--v-heading);
	font-size: 1rem; /* ≥16px stops iOS zoom on focus */
	line-height: 1.4;
	transition: border-color .2s var(--v-ease), box-shadow .2s var(--v-ease);
}
textarea { min-height: 140px; resize: vertical; }
:is(.v-input, input, select, textarea):hover { border-color: rgb(var(--v-primary-rgb) / .45); }
:is(.v-input, input, select, textarea):focus { border-color: var(--v-primary); box-shadow: var(--v-focus); outline: none; }
::placeholder { color: var(--v-muted); opacity: .8; }
label { display: inline-block; margin-bottom: .375rem; font-weight: 600; font-size: var(--v-fs-sm); color: var(--v-heading); }

.v-search-form { display: flex; gap: .5rem; max-width: 560px; }
.v-search-form .v-input { flex: 1; }
.v-search-again { margin-bottom: 2.5rem; }

/* ---------- 14. Widgets / sidebar ---------- */
.widget + .widget { margin-top: 2rem; }
.widget-title { font-size: var(--v-fs-h6); margin-bottom: 1rem; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: .5rem 0; border-bottom: 1px solid var(--v-border); }
.widget li a { color: var(--v-text); text-decoration: none; }
.widget li a:hover { color: var(--v-link-hover); }

/* ---------- 15. Comments ---------- */
.v-comments { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--v-border); }
.v-comments__title { font-size: var(--v-fs-h4); margin-bottom: 1.5rem; }
.v-comments__list { list-style: none; padding: 0; }
.v-comments__list .comment-body { padding: 1.25rem 0; border-bottom: 1px solid var(--v-border); }
.v-comments__list .avatar { border-radius: 50%; float: left; margin-right: 1rem; }
.comment-form > p + p { margin-top: 1rem; }

/* ---------- 16. Empty / 404 ---------- */
.v-empty { text-align: center; max-width: 560px; margin-inline: auto; }
.v-empty > * + * { margin-top: 1rem; }
.v-empty .v-search-form { margin: 1.5rem auto; }
.v-404 { max-width: 760px; }
.v-404__title { margin-bottom: 1rem; }
.v-404__search { margin: 2rem 0; }

/* ---------- 17. Newsletter ---------- */
.v-newsletter { background: var(--v-bg-light); border-top: 1px solid var(--v-border); padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.v-newsletter__inner { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .v-newsletter__inner { grid-template-columns: 1fr 1.1fr; } }
.v-newsletter__title { font-size: var(--v-fs-h4); }

/* ---------- 18. Footer ---------- */
.v-footer { background: var(--v-footer-bg); color: var(--v-footer-text); font-size: var(--v-fs-sm); }
.v-footer a { color: var(--v-footer-text); text-decoration: none; }
.v-footer a:hover { color: var(--v-footer-heading); text-decoration: underline; }
.v-footer__grid {
	display: grid; gap: 2.5rem 2rem;
	padding-block: clamp(3.5rem, 7vw, 5rem);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
@media (min-width: 1024px) {
	.v-footer__grid[data-cols="4"] { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }
	.v-footer__grid[data-cols="3"] { grid-template-columns: 1.6fr 1fr 1.3fr; }
}
.v-footer__brand p { max-width: 36ch; margin-top: 1.25rem; line-height: 1.7; }
.v-footer__logo .custom-logo { width: var(--v-logo-width); max-width: 100%; }
.v-footer__logo .v-brand__text { color: var(--v-footer-heading); }
.v-footer__title {
	font-family: var(--v-mono); font-size: var(--v-fs-xs); font-weight: 500;
	letter-spacing: .1em; text-transform: uppercase; color: var(--v-footer-heading);
	margin-bottom: 1.25rem;
}
.v-footer__menu li + li { margin-top: .625rem; }
.v-footer__contact address { font-style: normal; }
.v-footer__contact ul { list-style: none; margin: 0; padding: 0; }
.v-footer__contact li { display: flex; gap: .75rem; align-items: flex-start; }
.v-footer__contact li + li { margin-top: .875rem; }
.v-footer__contact svg { flex-shrink: 0; margin-top: .15rem; opacity: .7; }

.v-social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.v-social a {
	display: inline-grid; place-items: center; width: 40px; height: 40px;
	border: 1px solid rgb(255 255 255 / .14); border-radius: 50%;
	transition: border-color .2s var(--v-ease), background-color .2s var(--v-ease);
}
.v-footer .v-social a:hover { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .3); text-decoration: none; }

.v-footer__bottom { border-top: 1px solid rgb(255 255 255 / .08); }
.v-footer__bottom-inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem;
	padding-block: 1.25rem;
	font-size: var(--v-fs-xs);
}
.v-footer__legal-menu { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ---------- 19. Motion ---------- */
.v-motion .v-reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--v-ease), transform .6s var(--v-ease); }
.v-motion .v-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.v-motion .v-reveal { opacity: 1; transform: none; }
}

/* ---------- 20. Elementor compatibility ---------- */
.v-elementor-page .v-main > .elementor,
.v-full-width > .elementor { width: 100%; }
.elementor-widget-text-editor > .elementor-widget-container > p:last-child { margin-bottom: 0; }
/* Let Elementor buttons inherit brand tokens unless styled in the editor */
.elementor-button:not([style]) { font-family: var(--v-font-heading); }
.elementor-element .elementor-button-wrapper .elementor-button { border-radius: var(--v-radius-sm); }

/* ---------- 21. WordPress core alignment ---------- */
.alignleft { float: left; margin: .5rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .5rem 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: var(--v-fs-sm); color: var(--v-muted); }
.sticky .v-card__title::before { content: "★ "; color: var(--v-accent); }
.bypostauthor {}
.gallery-caption {}

/* ---------- 22. Print ---------- */
@media print {
	.v-header, .v-footer, .v-newsletter, .v-nav-toggle, .v-related { display: none !important; }
	body { color: #000; background: #fff; }
	a { color: #000; text-decoration: underline; }
}
