/* =========================================================================
   Site design system
   -------------------------------------------------------------------------
   1.  Fonts
   2.  Design tokens
   3.  Base
   4.  Typography
   5.  Layout & containers
   6.  Buttons & icon buttons
   7.  Forms
   8.  Header & navigation
   9.  Mobile navigation
   10. Search overlay
   11. Footer
   12. Contact modal
   13. Back to top
   14. Cards & pagination
   15. Social icons
   16. Video facade
   17. Section headers & page heroes
   18. Motion
   19. Newsletter form restyling
   20. Homepage
   21. Prose
   22. About page
   23. Events page
   24. Media library
   25. Blog index
   26. Single article
   27. Search results & empty states
   28. 404
   29. Comments
   ========================================================================= */

/* 1. Fonts ------------------------------------------------------------- */

@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-var-latin.woff2") format("woff2");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-var-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* 2. Design tokens ------------------------------------------------------ */

:root {
	--color-bg: #f7f4ef;
	--color-surface: #ffffff;
	--color-surface-warm: #f1ede5;
	--color-text: #171612;
	--color-muted: #6f6a62;
	--color-border: #ded8cf;
	--color-border-strong: #c9c2b6;
	--color-accent: #96522e;
	--color-accent-strong: #7b4222;
	--color-accent-soft: #efe2d6;

	--color-dark: #151411;
	--color-dark-surface: #1e1c18;
	--color-dark-text: #f4f1ea;
	--color-dark-muted: #a29a8c;
	--color-dark-border: #34302a;

	--font-display: "Fraunces", "Georgia", serif;
	--font-body: "Inter", -apple-system, "Segoe UI", sans-serif;

	/* Type scale */
	--text-meta: 0.8125rem;                                   /* 13px */
	--text-sm: 0.9375rem;                                     /* 15px */
	--text-body: 1.0625rem;                                   /* 17px */
	--text-body-lg: 1.125rem;                                 /* 18px */
	--text-card: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem);     /* 20-24px */
	--text-role: clamp(1.375rem, 1.25rem + 0.6vw, 1.75rem);   /* 22-28px */
	--text-h3: clamp(1.375rem, 1.25rem + 0.6vw, 1.625rem);    /* 22-26px */
	--text-section: clamp(2.125rem, 1.65rem + 1.9vw, 3.25rem);/* 34-52px */
	--text-title: clamp(2.375rem, 1.8rem + 2.4vw, 3.75rem);   /* 38-60px */
	--text-display: clamp(3rem, 2.2rem + 3.2vw, 5rem);        /* 48-80px */

	/* Spacing */
	--space-2xs: 0.375rem;
	--space-xs: 0.625rem;
	--space-sm: 1rem;
	--space-md: 1.5rem;
	--space-lg: 2.5rem;
	--space-xl: 3.5rem;

	/* Section rhythm: ~52px mobile → ~108px desktop */
	--sect: clamp(3.25rem, 2.3rem + 3.6vw, 6.75rem);
	--sect-sm: clamp(2.5rem, 1.9rem + 2.4vw, 4.5rem);

	--radius-sm: 6px;
	--radius-md: 10px;
	--radius-lg: 14px;
	--radius-full: 999px;

	--shadow-sm: 0 1px 2px rgba(23, 22, 18, 0.05), 0 2px 10px rgba(23, 22, 18, 0.05);
	--shadow-md: 0 2px 6px rgba(23, 22, 18, 0.06), 0 12px 32px rgba(23, 22, 18, 0.1);

	--ease: cubic-bezier(0.32, 0.72, 0.24, 1);
	--dur-fast: 200ms;
	--dur: 350ms;
	--dur-slow: 600ms;

	--header-h: 76px;
}

@media (max-width: 700px) {
	:root {
		--header-h: 66px;
	}
}

/* 3. Base ---------------------------------------------------------------- */

html:has(body.vr-redesign) {
	overflow-x: clip;
}

.vr-redesign {
	margin: 0;
	overflow-x: clip;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: var(--text-body);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.vr-redesign *,
.vr-redesign *::before,
.vr-redesign *::after {
	box-sizing: border-box;
}

.vr-redesign img {
	max-width: 100%;
	height: auto;
}

.vr-redesign ::selection {
	background: var(--color-accent);
	color: #fff;
}

/* :where() keeps these at zero extra specificity so any single-class
   component rule (buttons, labels) can recolor links. */
.vr-redesign :where(a) {
	color: inherit;
	text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
	text-underline-offset: 3px;
	transition: color var(--dur-fast) var(--ease), text-decoration-color var(--dur-fast) var(--ease);
}

.vr-redesign :where(a:hover) {
	color: var(--color-accent);
}

.vr-redesign :focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 3px;
	border-radius: 2px;
}

.vr-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 300;
	padding: 0.75rem 1.25rem;
	background: var(--color-dark);
	color: var(--color-dark-text);
	border-radius: 0 0 var(--radius-sm) 0;
	text-decoration: none;
}

.vr-skip-link:focus {
	left: 0;
	color: var(--color-dark-text);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* 4. Typography ---------------------------------------------------------- */

.vr-redesign h1,
.vr-redesign h2 {
	font-family: var(--font-display);
	font-weight: 540;
	line-height: 1.1;
	letter-spacing: -0.015em;
	margin: 0;
	text-wrap: balance;
}

.vr-redesign h3,
.vr-redesign h4 {
	font-family: var(--font-body);
	font-weight: 620;
	line-height: 1.25;
	letter-spacing: -0.01em;
	margin: 0;
}

.vr-kicker {
	display: inline-block;
	font-family: var(--font-body);
	font-size: var(--text-meta);
	font-weight: 620;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-accent);
}

/* 5. Layout & containers -------------------------------------------------- */

.vr-container {
	width: min(1280px, calc(100% - 48px));
	margin-inline: auto;
}

.vr-container--prose {
	width: min(760px, calc(100% - 48px));
}

@media (max-width: 700px) {
	.vr-container,
	.vr-container--prose {
		width: calc(100% - 32px);
	}
}

.vr-main {
	display: block;
	min-height: 40vh;
}

.vr-section {
	padding-block: var(--sect);
}

.vr-section--tight {
	padding-block: var(--sect-sm);
}

.vr-section--dark {
	background: var(--color-dark);
	color: var(--color-dark-text);
}

.vr-section--white {
	background: var(--color-surface);
}

.vr-section--warm {
	background: var(--color-surface-warm);
}

/* 6. Buttons & icon buttons ---------------------------------------------- */

.vr-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.75rem 1.4rem;
	border: 1px solid transparent;
	border-radius: var(--radius-full);
	font-family: var(--font-body);
	font-size: var(--text-sm);
	font-weight: 560;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
		border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.vr-btn .vr-icon {
	width: 1em;
	height: 1em;
	flex: none;
	transition: transform var(--dur-fast) var(--ease);
}

.vr-btn:hover .vr-icon--arrow {
	transform: translateX(3px);
}

.vr-btn:active {
	transform: scale(0.98);
}

.vr-btn--primary {
	background: var(--color-text);
	color: #f7f4ef;
}

.vr-btn--primary:hover {
	background: var(--color-accent);
	color: #ffffff;
}

.vr-btn--secondary {
	background: transparent;
	color: inherit;
	border-color: var(--color-border-strong);
}

.vr-btn--secondary:hover {
	border-color: var(--color-accent);
	color: var(--color-accent);
}

.vr-section--dark .vr-btn--primary {
	background: var(--color-dark-text);
	color: var(--color-dark);
}

.vr-section--dark .vr-btn--primary:hover {
	background: var(--color-accent);
	color: #fff;
}

.vr-section--dark .vr-btn--secondary {
	border-color: var(--color-dark-border);
}

.vr-btn--text {
	padding: 0;
	border-radius: var(--radius-sm);
	background: none;
	border: none;
	color: var(--color-accent);
	font-weight: 580;
}

.vr-btn--text:hover {
	color: var(--color-accent-strong);
}

.vr-btn[disabled],
.vr-btn.is-loading {
	opacity: 0.6;
	pointer-events: none;
}

.vr-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 1px solid transparent;
	border-radius: var(--radius-full);
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
		border-color var(--dur-fast) var(--ease);
}

.vr-iconbtn .vr-icon {
	width: 1.15rem;
	height: 1.15rem;
}

.vr-iconbtn:hover {
	background: var(--color-accent-soft);
	color: var(--color-accent-strong);
}

/* 7. Forms --------------------------------------------------------------- */

.vr-field {
	margin: 0 0 var(--space-sm);
}

.vr-field label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: var(--text-meta);
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.vr-field input,
.vr-field textarea,
.vr-search__form input[type="search"] {
	width: 100%;
	padding: 0.7rem 0.95rem;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-md);
	background: var(--color-surface);
	color: var(--color-text);
	font: inherit;
	font-size: 16px;
	transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.vr-field input:focus,
.vr-field textarea:focus,
.vr-search__form input[type="search"]:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.vr-field textarea {
	resize: vertical;
	min-height: 6.5rem;
}

/* 8. Header & navigation ------------------------------------------------- */

.vr-header {
	position: sticky;
	top: 0;
	z-index: 120;
	background: color-mix(in srgb, var(--color-bg) 88%, transparent);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease),
		box-shadow var(--dur-fast) var(--ease);
}

.vr-header.is-scrolled {
	border-bottom-color: var(--color-border);
	background: color-mix(in srgb, var(--color-bg) 96%, transparent);
	box-shadow: 0 1px 12px rgba(23, 22, 18, 0.04);
}

.vr-header__inner {
	display: flex;
	align-items: center;
	gap: var(--space-md);
	height: var(--header-h);
}

.vr-header__brand {
	flex: none;
	font-family: var(--font-display);
	font-size: 1.3125rem;
	font-weight: 580;
	letter-spacing: -0.01em;
	text-decoration: none;
	white-space: nowrap;
}

.vr-header__brand:hover {
	color: var(--color-accent);
}

.vr-header__nav {
	margin-left: auto;
	min-width: 0;
}

.vr-nav {
	display: flex;
	gap: 0.125rem;
	margin: 0;
	padding: 0;
	list-style: none;
	flex-wrap: nowrap;
}

.vr-nav a {
	position: relative;
	display: inline-block;
	padding: 0.5rem 0.8rem;
	font-size: var(--text-sm);
	font-weight: 520;
	text-decoration: none;
	color: var(--color-text);
	white-space: nowrap;
}

.vr-nav a::after {
	content: "";
	position: absolute;
	left: 0.8rem;
	right: 0.8rem;
	bottom: 0.2rem;
	height: 2px;
	border-radius: 2px;
	background: var(--color-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--dur-fast) var(--ease);
}

.vr-nav a:hover::after,
.vr-nav .current-menu-item a::after,
.vr-nav .current_page_item a::after,
.vr-nav .current_page_parent a::after {
	transform: scaleX(1);
}

/* Any non-link item a legacy filter might append to the menu is unwanted. */
.vr-nav li:not(.menu-item) {
	display: none;
}

.vr-header__actions {
	display: flex;
	align-items: center;
	gap: 0.125rem;
	flex: none;
}

.vr-header__burger {
	display: none;
}

@media (max-width: 920px) {
	.vr-header__nav,
	.vr-header__contact {
		display: none;
	}

	.vr-header__burger {
		display: inline-flex;
	}

	.vr-header__actions {
		margin-left: auto;
	}
}

/* 9. Mobile navigation --------------------------------------------------- */

.vr-mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 200;
	visibility: hidden;
}

.vr-mobile-nav[aria-hidden="false"] {
	visibility: visible;
}

.vr-mobile-nav__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(21, 20, 17, 0.45);
	opacity: 0;
	transition: opacity var(--dur) var(--ease);
}

.vr-mobile-nav[aria-hidden="false"] .vr-mobile-nav__backdrop {
	opacity: 1;
}

.vr-mobile-nav__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(22rem, 90vw);
	display: flex;
	flex-direction: column;
	padding: 1rem 1.375rem calc(1.375rem + env(safe-area-inset-bottom));
	background: var(--color-bg);
	box-shadow: var(--shadow-md);
	transform: translateX(100%);
	transition: transform var(--dur) var(--ease);
	overflow-y: auto;
}

.vr-mobile-nav[aria-hidden="false"] .vr-mobile-nav__panel {
	transform: translateX(0);
}

.vr-mobile-nav__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: calc(var(--header-h) - 1rem);
	margin-bottom: var(--space-md);
}

.vr-mobile-nav__brand {
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 580;
}

.vr-mobile-nav__menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vr-mobile-nav__menu li {
	border-bottom: 1px solid var(--color-border);
}

.vr-mobile-nav__menu li:not(.menu-item) {
	display: none;
}

.vr-mobile-nav__menu a {
	display: block;
	padding: 0.9rem 0.25rem;
	font-family: var(--font-body);
	font-size: 1.1875rem;
	font-weight: 560;
	text-decoration: none;
}

.vr-mobile-nav__menu .current-menu-item a,
.vr-mobile-nav__menu .current_page_item a {
	color: var(--color-accent);
}

.vr-mobile-nav__search {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	width: 100%;
	padding: 0.9rem 0.25rem;
	border: none;
	border-bottom: 1px solid var(--color-border);
	background: none;
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 1.1875rem;
	font-weight: 560;
	text-align: left;
	cursor: pointer;
}

.vr-mobile-nav__search .vr-icon {
	width: 1.1rem;
	height: 1.1rem;
	color: var(--color-muted);
}

.vr-mobile-nav__foot {
	margin-top: auto;
	padding-top: var(--space-lg);
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
	align-items: flex-start;
}

/* 10. Search overlay ----------------------------------------------------- */

.vr-search {
	position: fixed;
	inset: 0;
	z-index: 210;
	visibility: hidden;
}

.vr-search[aria-hidden="false"] {
	visibility: visible;
}

.vr-search__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(21, 20, 17, 0.5);
	opacity: 0;
	transition: opacity var(--dur) var(--ease);
}

.vr-search[aria-hidden="false"] .vr-search__backdrop {
	opacity: 1;
}

.vr-search__panel {
	position: relative;
	margin: 13vh auto 0;
	width: min(38rem, calc(100vw - 2rem));
	padding: 1rem 1.25rem;
	background: var(--color-bg);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	transform: translateY(12px);
	opacity: 0;
	transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.vr-search[aria-hidden="false"] .vr-search__panel {
	transform: translateY(0);
	opacity: 1;
}

.vr-search__form {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.vr-search__form > .vr-icon {
	flex: none;
	width: 1.2rem;
	height: 1.2rem;
	color: var(--color-muted);
}

.vr-search__form input[type="search"] {
	border: none;
	background: transparent;
	padding-inline: 0;
	font-size: 1.125rem;
}

.vr-search__form input[type="search"]:focus {
	box-shadow: none;
}

.vr-search__close {
	position: absolute;
	top: -3.25rem;
	right: 0;
	color: #fff;
}

.vr-search__close:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

@media (max-width: 640px) {
	.vr-search__form .vr-btn {
		display: none;
	}
}

/* 11. Footer ------------------------------------------------------------- */

.vr-footer {
	background: var(--color-dark);
	color: var(--color-dark-text);
	padding-block: var(--space-xl) var(--space-md);
}

.vr-redesign .vr-footer a {
	color: var(--color-dark-muted);
	text-decoration: none;
}

.vr-redesign .vr-footer a:hover {
	color: var(--color-dark-text);
}

.vr-footer__grid {
	display: grid;
	grid-template-columns: 1.3fr 0.8fr 1.2fr 0.8fr;
	gap: var(--space-md) var(--space-lg);
	padding-bottom: var(--space-md);
	border-bottom: 1px solid var(--color-dark-border);
}

.vr-footer__brand {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 580;
	color: var(--color-dark-text) !important;
	margin-bottom: var(--space-sm);
}

.vr-footer__heading {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 640;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--color-dark-muted);
	margin: 0 0 0.75rem;
}

.vr-footer__menu,
.vr-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	font-size: 0.875rem;
}

.vr-footer__list a {
	display: inline-block;
	line-height: 1.45;
}

.vr-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-sm);
	padding-top: var(--space-sm);
}

.vr-footer__copy {
	margin: 0;
	font-size: var(--text-meta);
	color: var(--color-dark-muted);
}

@media (max-width: 900px) {
	.vr-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 540px) {
	.vr-footer__grid {
		grid-template-columns: 1fr;
		gap: var(--space-md);
	}
}

/* 12. Contact modal ------------------------------------------------------ */

.vr-modal {
	position: fixed;
	inset: 0;
	z-index: 220;
	display: grid;
	place-items: center;
	padding: 1.25rem;
	visibility: hidden;
}

.vr-modal[aria-hidden="false"] {
	visibility: visible;
}

.vr-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(21, 20, 17, 0.5);
	opacity: 0;
	transition: opacity var(--dur) var(--ease);
}

.vr-modal[aria-hidden="false"] .vr-modal__backdrop {
	opacity: 1;
}

.vr-modal__panel {
	position: relative;
	width: min(28rem, 100%);
	max-height: min(88vh, 42rem);
	overflow-y: auto;
	padding: clamp(1.375rem, 3vw, 2rem);
	background: var(--color-bg);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	transform: translateY(14px) scale(0.99);
	opacity: 0;
	transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.vr-modal[aria-hidden="false"] .vr-modal__panel {
	transform: none;
	opacity: 1;
}

.vr-modal__close {
	position: absolute;
	top: 0.8rem;
	right: 0.8rem;
}

.vr-modal__title {
	font-size: 1.5rem;
	margin-bottom: 0.4rem;
	padding-right: 2.25rem;
}

.vr-modal__text {
	margin: 0 0 var(--space-md);
	color: var(--color-muted);
	font-size: var(--text-sm);
}

.vr-contact-form__foot {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	flex-wrap: wrap;
}

.vr-contact-form__status {
	font-size: var(--text-sm);
	min-height: 1.4em;
}

.vr-contact-form__status .mail-success {
	color: #2e7d43;
	font-weight: 560;
}

.vr-contact-form__status .mail-error {
	color: #b3362a;
	font-weight: 560;
}

/* 13. Back to top -------------------------------------------------------- */

.vr-totop {
	position: fixed;
	right: clamp(1rem, 2.5vw, 1.75rem);
	bottom: clamp(1rem, 2.5vw, 1.75rem);
	z-index: 110;
	width: 2.625rem;
	height: 2.625rem;
	display: grid;
	place-items: center;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-full);
	background: var(--color-surface);
	color: var(--color-text);
	box-shadow: var(--shadow-sm);
	cursor: pointer;
	opacity: 0;
	transform: translateY(8px);
	pointer-events: none;
	transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease),
		background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.vr-totop .vr-icon {
	width: 1rem;
	height: 1rem;
}

.vr-totop.is-visible {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.vr-totop:hover {
	background: var(--color-text);
	color: var(--color-bg);
}

/* 14. Cards & pagination ------------------------------------------------- */

.vr-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	overflow: hidden;
	transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease),
		border-color var(--dur-fast) var(--ease);
}

.vr-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
	border-color: var(--color-border-strong);
}

.vr-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--color-surface-warm);
}

.vr-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--dur-slow) var(--ease);
}

.vr-card:hover .vr-card__media img {
	transform: scale(1.03);
}

.vr-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	padding: var(--space-md);
	flex: 1;
}

.vr-card__meta {
	margin: 0;
	display: flex;
	gap: 0.5rem;
	align-items: center;
	font-size: var(--text-meta);
	font-weight: 560;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.vr-card__cat {
	color: var(--color-accent);
	text-decoration: none;
}

.vr-card__title {
	font-size: var(--text-card);
	line-height: 1.3;
}

.vr-card__title a {
	text-decoration: none;
}

.vr-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.vr-card__excerpt {
	margin: 0;
	color: var(--color-muted);
	font-size: var(--text-sm);
	line-height: 1.6;
}

.vr-card__more {
	margin-top: auto;
	color: var(--color-accent);
	transition: transform var(--dur-fast) var(--ease);
}

.vr-card__more .vr-icon {
	width: 1.1rem;
	height: 1.1rem;
}

.vr-card:hover .vr-card__more {
	transform: translateX(4px);
}

.vr-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem;
	margin: var(--space-xl) 0 0;
	padding: 0;
	list-style: none;
}

.vr-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding-inline: 0.6rem;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-full);
	text-decoration: none;
	font-size: var(--text-sm);
	font-weight: 560;
	transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.vr-pagination .page-numbers.current {
	background: var(--color-text);
	border-color: var(--color-text);
	color: var(--color-bg);
}

.vr-pagination a.page-numbers:hover {
	border-color: var(--color-accent);
	color: var(--color-accent);
}

/* 15. Social icons ------------------------------------------------------- */

.vr-social {
	display: flex;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vr-social__link {
	display: grid;
	place-items: center;
	width: 2.625rem;
	height: 2.625rem;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-full);
	color: inherit;
	transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
		border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.vr-social__link .vr-icon {
	width: 1.1rem;
	height: 1.1rem;
}

.vr-social__link:hover {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: #fff !important;
	transform: translateY(-2px);
}

.vr-social--footer .vr-social__link,
.vr-social--dark .vr-social__link {
	border-color: var(--color-dark-border);
	color: var(--color-dark-muted) !important;
}

.vr-social--dark .vr-social__link {
	color: var(--color-dark-text) !important;
}

.vr-social--footer .vr-social__link:hover,
.vr-social--dark .vr-social__link:hover {
	color: #fff !important;
}

/* 16. Video facade ------------------------------------------------------- */

.vr-video {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--color-dark);
	box-shadow: var(--shadow-sm);
}

.vr-video__thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.9;
	transition: transform var(--dur-slow) var(--ease), opacity var(--dur-fast) var(--ease);
}

.vr-video:hover .vr-video__thumb {
	transform: scale(1.02);
	opacity: 1;
}

.vr-video__play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 4rem;
	height: 4rem;
	display: grid;
	place-items: center;
	border: none;
	border-radius: var(--radius-full);
	background: rgba(247, 244, 239, 0.94);
	color: var(--color-text);
	cursor: pointer;
	transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease),
		color var(--dur-fast) var(--ease);
}

.vr-video__play .vr-icon {
	width: 1.35rem;
	height: 1.35rem;
	margin-left: 3px;
}

.vr-video__play:hover {
	transform: scale(1.06);
	background: var(--color-accent);
	color: #fff;
}

.vr-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* 17. Section headers & page heroes -------------------------------------- */

.vr-section-header {
	display: flex;
	align-items: baseline;
	gap: 0.9rem;
	margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.vr-section-header__num {
	font-family: var(--font-body);
	font-size: var(--text-meta);
	font-weight: 640;
	letter-spacing: 0.1em;
	color: var(--color-accent);
}

.vr-section-header__title {
	font-size: var(--text-section);
}

.vr-section-header__link {
	margin-left: auto;
	align-self: center;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: var(--text-sm);
	font-weight: 580;
	color: var(--color-accent);
	text-decoration: none;
	white-space: nowrap;
}

.vr-section-header__link .vr-icon {
	width: 1em;
	height: 1em;
	transition: transform var(--dur-fast) var(--ease);
}

.vr-section-header__link:hover .vr-icon {
	transform: translateX(3px);
}

.vr-page-hero {
	padding: var(--sect-sm) 0 clamp(1.5rem, 3vw, 2.5rem);
}

.vr-page-hero__title {
	font-size: var(--text-title);
	margin-top: 0.4rem;
}

.vr-page-hero__meta {
	margin: var(--space-sm) 0 0;
	color: var(--color-muted);
}

/* 18. Motion ------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
	html.vr-anim .vr-redesign [data-reveal] {
		opacity: 0;
		transform: translateY(14px);
		transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
		transition-delay: var(--reveal-delay, 0ms);
	}

	html.vr-anim .vr-redesign [data-reveal].is-revealed {
		opacity: 1;
		transform: none;
	}

	html.vr-anim .vr-redesign [data-reveal="fade"] {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vr-redesign *,
	.vr-redesign *::before,
	.vr-redesign *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* 19. Newsletter form restyling ------------------------------------------ */

.vr-redesign .wpforms-container {
	margin: 0;
}

.vr-redesign .wpforms-container .wpforms-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: flex-start;
}

.vr-redesign .wpforms-container .wpforms-field-container {
	flex: 1 1 13rem;
	min-width: 0;
}

.vr-redesign .wpforms-container .wpforms-field {
	padding: 0 !important;
}

.vr-redesign .wpforms-container .wpforms-field-label,
.vr-redesign .wpforms-field-label {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.vr-redesign .wpforms-container input[type="text"],
.vr-redesign .wpforms-container input[type="email"] {
	width: 100%;
	padding: 0.75rem 1.05rem;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-full);
	background: var(--color-surface);
	color: var(--color-text);
	font: inherit;
	font-size: 16px;
	transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.vr-redesign .wpforms-container input[type="text"]:focus,
.vr-redesign .wpforms-container input[type="email"]:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.vr-redesign .wpforms-container .wpforms-submit-container {
	flex: none;
	padding: 0 !important;
	margin: 0;
}

.vr-redesign .wpforms-container button[type="submit"] {
	padding: 0.75rem 1.5rem;
	border: none;
	border-radius: var(--radius-full);
	background: var(--color-text);
	color: #f7f4ef;
	font: inherit;
	font-size: var(--text-sm);
	font-weight: 560;
	cursor: pointer;
	transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.vr-redesign .wpforms-container button[type="submit"]:hover {
	background: var(--color-accent);
	color: #fff;
}

.vr-redesign .wpforms-container .wpforms-error {
	font-size: var(--text-meta);
	color: #b3362a;
	margin-top: 0.3rem;
}

.vr-redesign .wpforms-confirmation-container-full {
	background: var(--color-accent-soft);
	border: 1px solid var(--color-accent);
	border-radius: var(--radius-md);
	padding: var(--space-sm) var(--space-md);
	color: var(--color-text);
}

@media (max-width: 540px) {
	.vr-redesign .wpforms-container .wpforms-form {
		flex-direction: column;
		align-items: stretch;
	}

	.vr-redesign .wpforms-container .wpforms-field-container {
		flex-basis: auto;
	}

	.vr-redesign .wpforms-container .wpforms-submit-container {
		width: 100%;
	}

	.vr-redesign .wpforms-container button[type="submit"] {
		width: 100%;
	}
}

/* 20. Homepage ----------------------------------------------------------- */

.vr-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(2.25rem, 5vw, 4.25rem);
	background:
		radial-gradient(52rem 32rem at 88% -12%, var(--color-accent-soft) 0%, transparent 62%),
		var(--color-bg);
	border-bottom: 1px solid var(--color-border);
}

.vr-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 4rem);
	align-items: center;
}

.vr-hero__name {
	font-size: var(--text-display);
	font-weight: 560;
	margin: 0.6rem 0 1rem;
}

.vr-hero__areas {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0;
	margin: 0 0 var(--space-md);
	padding: 0;
	list-style: none;
	font-size: var(--text-body);
	color: var(--color-muted);
}

.vr-hero__areas li {
	display: inline-flex;
	align-items: center;
}

.vr-hero__areas li + li::before {
	content: "";
	width: 3px;
	height: 3px;
	margin-inline: 0.8rem;
	border-radius: 50%;
	background: var(--color-border-strong);
	flex: none;
}

.vr-hero__social {
	margin-bottom: var(--space-md);
}

.vr-hero__newsletter {
	max-width: 27rem;
}

.vr-hero__figure {
	margin: 0;
	justify-self: end;
}

.vr-hero__frame {
	max-width: min(23rem, 100%);
	padding: 0.5rem;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
}

.vr-hero__portrait {
	display: block;
	width: 100%;
	height: auto;
	border-radius: calc(var(--radius-md) - 4px);
}

@media (prefers-reduced-motion: no-preference) {
	.vr-hero__in {
		opacity: 0;
		transform: translateY(12px);
		animation: vr-hero-in 0.65s var(--ease) forwards;
	}

	.vr-hero__in--1 { animation-delay: 0.05s; }
	.vr-hero__in--2 { animation-delay: 0.13s; }
	.vr-hero__in--3 { animation-delay: 0.24s; }
	.vr-hero__in--4 { animation-delay: 0.34s; }
	.vr-hero__in--5 { animation-delay: 0.42s; }

	@keyframes vr-hero-in {
		to {
			opacity: 1;
			transform: none;
		}
	}
}

@media (max-width: 900px) {
	.vr-hero__grid {
		grid-template-columns: 1fr;
	}

	.vr-hero__figure {
		order: -1;
		justify-self: start;
	}

	.vr-hero__frame {
		max-width: min(15rem, 62vw);
	}
}

/* Skills */

.vr-skills__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: var(--space-md) clamp(2rem, 4vw, 4rem);
	align-items: start;
}

.vr-skills__list {
	max-width: 40rem;
}

.vr-skills__item {
	margin: 0;
	padding-block: 1.1rem;
	font-size: var(--text-body);
	line-height: 1.65;
}

.vr-skills__item:first-child {
	padding-top: 0.25rem;
}

.vr-skills__item + .vr-skills__item {
	border-top: 1px solid var(--color-border);
}

/* Feature image */

.vr-feature {
	padding-bottom: var(--sect);
}

.vr-feature__frame {
	display: block;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}

.vr-feature__img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 620px;
	object-fit: cover;
	object-position: center;
}

/* Experience */

.vr-exp__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vr-exp__item {
	display: grid;
	grid-template-columns: 11.25rem minmax(0, 1fr);
	gap: var(--space-sm) var(--space-lg);
	padding-block: clamp(1.5rem, 2.5vw, 2.25rem);
	border-top: 1px solid var(--color-border);
}

.vr-exp__period {
	margin: 0.35rem 0 0;
	font-size: var(--text-meta);
	font-weight: 640;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-accent-strong);
}

.vr-exp__role {
	font-size: var(--text-role);
	font-weight: 620;
	margin-bottom: 0.5rem;
}

.vr-exp__body {
	max-width: 47.5rem;
	color: var(--color-muted);
	font-size: var(--text-body);
	line-height: 1.7;
}

.vr-exp__body p {
	margin: 0 0 1em;
}

.vr-exp__body p:last-child {
	margin-bottom: 0;
}

@media (max-width: 760px) {
	.vr-exp__item {
		grid-template-columns: 1fr;
		gap: 0.25rem;
	}

	.vr-exp__period {
		margin-top: 0;
	}
}

/* Latest media */

.vr-media-feature__player {
	max-width: 60rem;
	margin-inline: auto;
}

/* Closing contact section */

.vr-close__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: var(--space-lg) clamp(2.5rem, 5vw, 5rem);
	align-items: start;
}

.vr-close__heading {
	font-size: var(--text-section);
}

.vr-close__sub {
	margin: 0 0 var(--space-sm);
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
	font-weight: 500;
	line-height: 1.4;
}

.vr-close__text {
	color: var(--color-dark-muted);
	font-size: var(--text-body);
	margin-bottom: var(--space-md);
}

.vr-close__text p {
	margin: 0;
}

.vr-close__actions {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	flex-wrap: wrap;
}

.vr-close__mail {
	border: 1px solid var(--color-dark-border);
	color: var(--color-dark-text);
}

.vr-close__mail:hover {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: #fff;
}

@media (max-width: 820px) {
	.vr-skills__grid,
	.vr-close__grid {
		grid-template-columns: 1fr;
	}

	.vr-skills__grid .vr-section-header {
		margin-bottom: 0.5rem;
	}
}

/* 21. Prose (long-form content) ------------------------------------------ */

.vr-prose {
	font-size: var(--text-body-lg);
	line-height: 1.75;
}

.vr-prose p {
	margin: 0 0 1.4em;
}

.vr-prose p:last-child {
	margin-bottom: 0;
}

.vr-prose h2,
.vr-prose h3,
.vr-prose h4 {
	margin: 1.5em 0 0.55em;
}

.vr-prose h2 {
	font-family: var(--font-display);
	font-size: clamp(1.625rem, 1.4rem + 0.9vw, 2.125rem);
	font-weight: 560;
}

.vr-prose h3 {
	font-size: var(--text-h3);
}

.vr-prose ul,
.vr-prose ol {
	margin: 0 0 1.4em;
	padding-left: 1.35em;
}

.vr-prose li {
	margin-bottom: 0.4em;
}

.vr-prose blockquote {
	margin: 1.6em 0;
	padding: 0.3em 0 0.3em 1.3em;
	border-left: 3px solid var(--color-accent);
	font-family: var(--font-display);
	font-size: 1.25em;
	line-height: 1.5;
	color: var(--color-text);
}

.vr-prose blockquote p {
	margin-bottom: 0.5em;
}

.vr-prose img {
	border-radius: var(--radius-md);
	margin: 0.4em 0;
}

.vr-prose figure {
	margin: 1.6em 0;
}

.vr-prose figcaption,
.vr-prose .wp-caption-text {
	margin-top: 0.55em;
	font-size: var(--text-meta);
	color: var(--color-muted);
}

.vr-prose iframe,
.vr-prose embed,
.vr-prose video {
	max-width: 100%;
	border: 0;
	border-radius: var(--radius-md);
}

.vr-prose iframe[src*="youtube"],
.vr-prose iframe[src*="vimeo"] {
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
}

.vr-prose hr {
	margin: 2.2em auto;
	width: 4rem;
	border: none;
	border-top: 2px solid var(--color-accent);
}

.vr-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--text-sm);
	margin: 0 0 1.4em;
	display: block;
	overflow-x: auto;
}

.vr-prose th,
.vr-prose td {
	padding: 0.55em 0.85em;
	border: 1px solid var(--color-border);
	text-align: left;
}

.vr-prose a {
	color: var(--color-accent);
	text-decoration-color: color-mix(in srgb, var(--color-accent) 45%, transparent);
	overflow-wrap: break-word;
}

.vr-prose a:hover {
	color: var(--color-accent-strong);
}

/* 22. About page --------------------------------------------------------- */

.vr-about-hero {
	padding-block: var(--sect-sm);
	border-bottom: 1px solid var(--color-border);
}

.vr-about-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
	gap: clamp(2rem, 4vw, 4rem);
	align-items: center;
}

.vr-about-hero__figure {
	margin: 0;
}

.vr-about-hero__frame {
	max-width: 21rem;
	padding: 0.5rem;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
}

.vr-about-hero__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: calc(var(--radius-md) - 4px);
}

.vr-about-hero__lead {
	margin: var(--space-sm) 0 var(--space-md);
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
	font-weight: 500;
	line-height: 1.45;
}

.vr-about-hero__lead p {
	margin: 0;
}

.vr-about-sites__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vr-about-sites__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.85rem 1.1rem;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	text-decoration: none;
	font-size: var(--text-sm);
	font-weight: 560;
	transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease),
		box-shadow var(--dur-fast) var(--ease);
}

.vr-about-sites__link .vr-icon {
	width: 0.95rem;
	height: 0.95rem;
	color: var(--color-muted);
	transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.vr-about-sites__link:hover {
	border-color: var(--color-border-strong);
	transform: translateY(-2px);
	box-shadow: var(--shadow-sm);
}

.vr-about-sites__link:hover .vr-icon {
	color: var(--color-accent);
	transform: translate(2px, -2px);
}

@media (max-width: 820px) {
	.vr-about-hero__grid {
		grid-template-columns: 1fr;
	}

	.vr-about-hero__frame {
		max-width: min(15rem, 62vw);
	}
}

/* 23. Events page --------------------------------------------------------- */

.vr-event__card {
	position: relative;
	max-width: 60rem;
	margin-inline: auto;
	padding: clamp(1.5rem, 3.5vw, 3rem);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}

.vr-event__card::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 3px;
	background: var(--color-accent);
}

.vr-event__head {
	margin-bottom: var(--space-md);
}

.vr-event__title {
	font-family: var(--font-display);
	font-size: var(--text-section);
	font-weight: 540;
	line-height: 1.15;
	letter-spacing: -0.015em;
	margin: 0.5rem 0 0.35rem;
}

.vr-event__subtitle {
	font-size: var(--text-body-lg);
	color: var(--color-muted);
	max-width: 44rem;
}

.vr-event__subtitle p {
	margin: 0;
}

.vr-event__body {
	max-width: 44rem;
}

.vr-event__foot {
	margin-top: var(--space-md);
}

/* 24. Media library ------------------------------------------------------- */

.vr-media-library .yrc-shell,
.vr-media-library .yrc-core {
	background: transparent !important;
	font-family: var(--font-body) !important;
}

.vr-media-library .yrc-banner,
.vr-media-library .yrc-brand {
	display: none !important;
}

.vr-media-library .yrc-menu {
	margin-bottom: var(--space-md) !important;
	background: transparent !important;
}

.vr-media-library .yrc-menu-items a,
.vr-media-library .yrc-menu-items span {
	font-family: var(--font-body) !important;
	font-size: var(--text-sm) !important;
	color: var(--color-text) !important;
}

.vr-media-library .yrc-item {
	border-radius: var(--radius-md) !important;
	overflow: hidden !important;
	background: var(--color-surface) !important;
	border: 1px solid var(--color-border) !important;
	transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease) !important;
}

.vr-media-library .yrc-item:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
}

.vr-media-library .yrc-item-title {
	font-family: var(--font-body) !important;
	font-size: var(--text-sm) !important;
	font-weight: 560 !important;
	line-height: 1.45 !important;
	color: var(--color-text) !important;
	padding: 0.7rem 0.85rem 0.3rem !important;
}

.vr-media-library .yrc-name-date,
.vr-media-library .yrc-item-meta {
	font-size: var(--text-meta) !important;
	color: var(--color-muted) !important;
	padding: 0 0.85rem 0.8rem !important;
}

.vr-media-library .yrc-load-more-button,
.vr-media-library .yrc-button {
	border-radius: var(--radius-full) !important;
	background: var(--color-text) !important;
	color: #f7f4ef !important;
	font-family: var(--font-body) !important;
	font-weight: 560 !important;
	padding: 0.65rem 1.35rem !important;
	border: none !important;
	transition: background var(--dur-fast) var(--ease) !important;
}

.vr-media-library .yrc-load-more-button:hover,
.vr-media-library .yrc-button:hover {
	background: var(--color-accent) !important;
}

.vr-media-library .yrc-player,
.vr-media-library .yrc-player-frame,
.vr-media-library .yrc-player-video {
	border-radius: var(--radius-lg) !important;
	overflow: hidden !important;
}

/* 25. Blog index --------------------------------------------------------- */

.vr-blog__featured {
	margin-bottom: var(--space-lg);
}

.vr-card--feature {
	flex-direction: row;
	align-items: stretch;
}

.vr-card--feature .vr-card__media {
	flex: 1 1 55%;
	aspect-ratio: auto;
	min-height: 18rem;
}

.vr-card--feature .vr-card__body {
	flex: 1 1 45%;
	justify-content: center;
	padding: clamp(var(--space-md), 2.5vw, var(--space-xl));
}

.vr-card--feature .vr-card__title {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 1.3rem + 1vw, 2.125rem);
	font-weight: 560;
	line-height: 1.2;
}

@media (max-width: 820px) {
	.vr-card--feature {
		flex-direction: column;
	}

	.vr-card--feature .vr-card__media {
		aspect-ratio: 16 / 10;
		min-height: 0;
	}
}

.vr-blog__grid,
.vr-related__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(20.5rem, 100%), 1fr));
	gap: var(--space-md);
}

/* 26. Single article ------------------------------------------------------ */

.vr-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 130;
	background: transparent;
	pointer-events: none;
}

.vr-progress__bar {
	display: block;
	height: 100%;
	width: 100%;
	background: var(--color-accent);
	transform: scaleX(0);
	transform-origin: left;
}

.vr-article__header {
	padding: var(--sect-sm) 0 var(--space-lg);
}

.vr-article__back {
	margin: 0 0 var(--space-md);
	font-size: var(--text-sm);
}

.vr-article__back a {
	text-decoration: none;
	color: var(--color-muted);
}

.vr-article__back a:hover {
	color: var(--color-accent);
}

.vr-article__meta {
	margin: 0 0 var(--space-sm);
	display: flex;
	gap: 0.5rem;
	font-size: var(--text-meta);
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.vr-article__cat {
	color: var(--color-accent);
	text-decoration: none;
}

.vr-article__title {
	font-size: var(--text-title);
	margin-bottom: var(--space-sm);
}

.vr-article__byline {
	margin: 0;
	color: var(--color-muted);
	font-size: var(--text-sm);
}

.vr-article__hero {
	margin: 0 0 var(--space-xl);
}

.vr-article__hero-img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 68vh;
	object-fit: cover;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}

.vr-article__layout {
	display: grid;
	grid-template-columns: 3.5rem minmax(0, 47.5rem);
	gap: var(--space-lg);
	justify-content: center;
}

.vr-article__rail-inner {
	position: sticky;
	top: calc(var(--header-h) + var(--space-md));
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}

.vr-share {
	border: 1px solid var(--color-border-strong);
}

.vr-share__hint {
	font-size: 0.7rem;
	color: var(--color-muted);
	text-align: center;
}

@media (max-width: 820px) {
	.vr-article__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.vr-article__rail-inner {
		position: static;
		flex-direction: row;
	}
}

/* 27. Search results & empty states --------------------------------------- */

.vr-results {
	max-width: 47.5rem;
}

.vr-result {
	padding-block: var(--space-md);
}

.vr-result + .vr-result {
	border-top: 1px solid var(--color-border);
}

.vr-result__meta {
	margin: 0 0 0.4rem;
	display: flex;
	gap: 0.5rem;
	font-size: var(--text-meta);
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.vr-result__type {
	color: var(--color-accent);
}

.vr-result__title {
	font-size: var(--text-card);
	margin-bottom: 0.4rem;
}

.vr-result__title a {
	text-decoration: none;
}

.vr-result__title a:hover {
	color: var(--color-accent);
}

.vr-result__excerpt {
	margin: 0;
	color: var(--color-muted);
	font-size: var(--text-sm);
	line-height: 1.6;
}

.vr-empty {
	max-width: 32rem;
	margin-inline: auto;
	text-align: center;
	padding-block: var(--space-xl);
}

.vr-empty__title {
	font-family: var(--font-display);
	font-size: clamp(1.625rem, 1.4rem + 1vw, 2.25rem);
	font-weight: 560;
	margin-bottom: var(--space-sm);
}

.vr-empty p {
	color: var(--color-muted);
}

.vr-empty .vr-btn {
	margin-top: var(--space-sm);
}

.vr-empty__search {
	display: flex;
	gap: 0.6rem;
	margin-top: var(--space-md);
}

.vr-empty__search input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 0.75rem 1.05rem;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-full);
	background: var(--color-surface);
	font: inherit;
	font-size: 16px;
}

.vr-empty__search input[type="search"]:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px var(--color-accent-soft);
}

/* 28. 404 ------------------------------------------------------------------ */

.vr-404__inner {
	text-align: center;
	max-width: 32rem;
	padding-block: var(--space-xl);
}

.vr-404__code {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(4.5rem, 13vw, 7.5rem);
	font-weight: 560;
	line-height: 1;
	color: var(--color-accent-soft);
	-webkit-text-stroke: 2px var(--color-accent);
}

.vr-404__title {
	font-family: var(--font-display);
	font-size: clamp(1.625rem, 1.4rem + 1vw, 2.25rem);
	font-weight: 560;
	margin: var(--space-sm) 0;
}

.vr-404__text {
	color: var(--color-muted);
}

.vr-404__actions {
	display: flex;
	gap: var(--space-sm);
	justify-content: center;
	flex-wrap: wrap;
	margin-top: var(--space-md);
}

/* 29. Comments ------------------------------------------------------------- */

.vr-redesign .comments-area {
	font-size: var(--text-body);
}

.vr-redesign .comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.vr-redesign .comment-list .comment {
	padding: var(--space-md) 0;
	border-top: 1px solid var(--color-border);
}
