:root {
	--vr-bg-main: #151515;
	--vr-bg-secondary: #232220;
	--vr-bg-soft: #1E1D1B;
	--vr-text-main: #F2EEE8;
	--vr-text-muted: #B8B2AA;
	--vr-accent: #C9823A;
	--vr-accent-dark: #8E3B2F;
	--vr-accent-technical: #7A8F52;
	--vr-border-soft: rgba(242, 238, 232, 0.12);
	--vr-border-strong: rgba(201, 130, 58, 0.55);
	--vr-light-section: #F2EEE8;
	--vr-dark-text: #151515;
	--vr-content-wide: min(1180px, calc(100vw - 48px));
	--vr-content-text: min(720px, calc(100vw - 48px));
	--vr-radius-card: 16px;
	--vr-radius-button: 10px;
	--vr-transition: 180ms ease;
}

html {
	background: var(--vr-bg-main);
	scroll-behavior: smooth;
}

body {
	background: var(--vr-bg-main);
	color: var(--vr-text-main);
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: clamp(1rem, 0.25vw + 0.98rem, 1.08rem);
	line-height: 1.6;
	overflow-x: hidden;
	text-rendering: optimizeLegibility;
}

body::before {
	content: "";
	inset: 0;
	pointer-events: none;
	position: fixed;
	z-index: -1;
	background-image:
		linear-gradient(rgba(242, 238, 232, 0.022) 1px, transparent 1px),
		linear-gradient(90deg, rgba(242, 238, 232, 0.018) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), transparent 68%);
}

body.wp-child-theme-vilena-records-child,
body.wp-child-theme-vilena-records-child .wp-site-blocks {
	background: var(--vr-bg-main);
	color: var(--vr-text-main);
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: clamp(1rem, 0.25vw + 0.98rem, 1.08rem);
	font-weight: 400;
	line-height: 1.6;
}

body,
.editor-styles-wrapper {
	--wp--style--global--content-size: 720px;
	--wp--style--global--wide-size: 1180px;
}

main.wp-block-group {
	background: transparent;
}

::selection {
	background: rgba(201, 130, 58, 0.38);
	color: var(--vr-text-main);
}

:where(a) {
	color: var(--vr-accent);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
	transition: color var(--vr-transition), opacity var(--vr-transition), text-decoration-color var(--vr-transition);
}

:where(a:hover) {
	color: color-mix(in srgb, var(--vr-accent) 82%, var(--vr-text-main));
	text-decoration: underline;
}

:where(a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible) {
	outline: 2px solid var(--vr-accent);
	outline-offset: 3px;
}

:where(p, li) {
	color: var(--vr-text-muted);
	line-height: 1.65;
}

body.wp-child-theme-vilena-records-child p,
body.wp-child-theme-vilena-records-child li,
body.wp-child-theme-vilena-records-child .wp-block-paragraph,
body.wp-child-theme-vilena-records-child .wp-block-list li {
	color: var(--vr-text-muted);
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: clamp(1.04rem, 0.38vw + 0.98rem, 1.18rem);
	line-height: 1.65;
}

:where(strong, b) {
	color: var(--vr-text-main);
	font-weight: 700;
}

body.wp-child-theme-vilena-records-child strong,
body.wp-child-theme-vilena-records-child b {
	color: var(--vr-text-main);
	font-weight: 700;
}

:where(h1, h2, h3, h4, h5, h6, .wp-block-heading) {
	color: var(--vr-text-main);
	font-family: "Space Grotesk", Inter, system-ui, sans-serif;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.08;
	text-wrap: balance;
}

body.wp-child-theme-vilena-records-child h1,
body.wp-child-theme-vilena-records-child h2,
body.wp-child-theme-vilena-records-child h3,
body.wp-child-theme-vilena-records-child h4,
body.wp-child-theme-vilena-records-child h5,
body.wp-child-theme-vilena-records-child h6,
body.wp-child-theme-vilena-records-child .wp-block-heading,
body.wp-child-theme-vilena-records-child .wp-block-post-title {
	color: var(--vr-text-main);
	font-family: "Space Grotesk", Inter, system-ui, sans-serif;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.08;
	text-wrap: balance;
}

:where(h1, .wp-block-post-title) {
	font-size: clamp(2.35rem, 6vw, 5.25rem);
	max-width: 920px;
}

body.wp-child-theme-vilena-records-child h1,
body.wp-child-theme-vilena-records-child .wp-block-post-title {
	font-size: clamp(2.35rem, 4.55vw, 4.85rem);
	max-width: 1040px;
}

:where(h2) {
	font-size: clamp(1.85rem, 3.4vw, 3.25rem);
	max-width: 820px;
}

body.wp-child-theme-vilena-records-child h2 {
	font-size: clamp(1.85rem, 3vw, 3rem);
	max-width: 880px;
}

:where(h3) {
	font-size: clamp(1.28rem, 2vw, 1.75rem);
	line-height: 1.18;
}

body.wp-child-theme-vilena-records-child h3 {
	font-size: clamp(1.25rem, 1.45vw, 1.65rem);
	line-height: 1.18;
}

:where(.wp-block-post-content > *) {
	margin-block-start: 0;
}

:where(.wp-block-post-content > * + *) {
	margin-block-start: clamp(1.25rem, 2.2vw, 2rem);
}

:where(.wp-block-post-content > .alignwide, .wp-block-post-content > .alignfull) {
	margin-block-start: clamp(3rem, 6vw, 6rem);
}

:where(.wp-site-blocks > header, .wp-block-template-part:has(header)) {
	background: var(--vr-bg-main);
	border-bottom: 1px solid var(--vr-border-soft);
	color: var(--vr-text-main);
	position: relative;
	z-index: 20;
}

:where(header .wp-block-group) {
	padding-block: 0 !important;
}

body.wp-child-theme-vilena-records-child header .wp-block-group.alignwide {
	min-height: 88px;
	padding-block: 1.25rem !important;
}

body.wp-child-theme-vilena-records-child header .wp-block-site-title,
body.wp-child-theme-vilena-records-child header .wp-block-navigation {
	margin-block: 0;
}

:where(.wp-block-site-title, .wp-block-site-title a) {
	color: var(--vr-text-main);
	font-family: "Space Grotesk", Inter, system-ui, sans-serif;
	font-size: clamp(1.15rem, 2vw, 1.55rem);
	font-weight: 700;
	letter-spacing: 0;
	text-decoration: none;
}

:where(.wp-block-navigation a, .wp-block-navigation button) {
	color: var(--vr-text-main);
	font-size: 0.96rem;
	font-weight: 600;
	text-decoration: none;
}

:where(.wp-block-navigation a:hover, .wp-block-navigation button:hover) {
	color: var(--vr-accent);
	text-decoration: none;
}

.wp-block-navigation__submenu-container,
.wp-block-navigation__responsive-container.is-menu-open {
	background: var(--vr-bg-secondary) !important;
	border: 1px solid var(--vr-border-soft);
	color: var(--vr-text-main) !important;
}

.wp-block-navigation__responsive-container-close svg,
.wp-block-navigation__responsive-container-open svg {
	fill: var(--vr-text-main);
}

:where(.wp-block-button__link, .wp-element-button, button, input[type="button"], input[type="submit"], input[type="reset"], .button) {
	align-items: center;
	background: var(--vr-accent);
	background-color: var(--vr-accent);
	border: 1px solid var(--vr-accent);
	border-radius: var(--vr-radius-button);
	box-shadow: none;
	color: var(--vr-dark-text);
	cursor: pointer;
	display: inline-flex;
	font-family: Inter, system-ui, sans-serif;
	font-size: 1.04rem;
	font-weight: 700;
	justify-content: center;
	line-height: 1.2;
	min-height: 52px;
	padding: 1rem 1.6rem;
	text-decoration: none;
	transition: background var(--vr-transition), border-color var(--vr-transition), color var(--vr-transition), transform var(--vr-transition);
	white-space: nowrap;
}

body.wp-child-theme-vilena-records-child .wp-block-button:not(.is-style-outline) .wp-block-button__link,
body.wp-child-theme-vilena-records-child .wp-block-button:not(.is-style-outline) .wp-element-button {
	background: var(--vr-accent) !important;
	background-color: var(--vr-accent) !important;
	border-color: var(--vr-accent) !important;
	color: var(--vr-dark-text) !important;
}

:where(.wp-block-button__link:hover, .wp-element-button:hover, button:hover, input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover, .button:hover) {
	background: color-mix(in srgb, var(--vr-accent) 86%, var(--vr-accent-dark));
	background-color: color-mix(in srgb, var(--vr-accent) 86%, var(--vr-accent-dark));
	border-color: color-mix(in srgb, var(--vr-accent) 86%, var(--vr-accent-dark));
	color: var(--vr-dark-text);
	text-decoration: none;
	transform: translateY(-1px);
}

body.wp-child-theme-vilena-records-child .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
body.wp-child-theme-vilena-records-child .wp-block-button:not(.is-style-outline) .wp-element-button:hover {
	background: color-mix(in srgb, var(--vr-accent) 86%, var(--vr-accent-dark)) !important;
	background-color: color-mix(in srgb, var(--vr-accent) 86%, var(--vr-accent-dark)) !important;
	border-color: color-mix(in srgb, var(--vr-accent) 86%, var(--vr-accent-dark)) !important;
	color: var(--vr-dark-text) !important;
}

:where(.wp-block-button.is-style-outline .wp-block-button__link, .wp-block-button__link.is-style-outline, .vr-button--secondary, .is-style-outline > .wp-block-button__link:not(.has-background)) {
	background: transparent;
	background-color: transparent;
	border: 1px solid rgba(242, 238, 232, 0.28);
	color: var(--vr-text-main);
}

body.wp-child-theme-vilena-records-child .wp-block-button.is-style-outline .wp-block-button__link,
body.wp-child-theme-vilena-records-child .wp-block-button.is-style-outline .wp-element-button {
	background: transparent !important;
	background-color: transparent !important;
	border: 1px solid rgba(242, 238, 232, 0.28) !important;
	color: var(--vr-text-main) !important;
}

:where(.wp-block-button.is-style-outline .wp-block-button__link:hover, .wp-block-button__link.is-style-outline:hover, .vr-button--secondary:hover, .is-style-outline > .wp-block-button__link:not(.has-background):hover) {
	background: var(--vr-bg-secondary);
	border-color: var(--vr-accent);
	color: var(--vr-text-main);
}

.wp-block-buttons {
	align-items: center;
	gap: 0.9rem;
}

.wp-block-buttons > .wp-block-button {
	margin: 0;
}

.wp-block-buttons .wp-block-button__link {
	min-width: min(100%, 228px);
}

.wp-block-buttons:has(> .wp-block-button:nth-child(3)) {
	align-items: center;
	flex-direction: row;
	flex-wrap: nowrap;
}

.wp-block-buttons:has(> .wp-block-button:nth-child(3)) .wp-block-button__link {
	min-width: 0;
}

/* Gutenberg sections and reusable Vilena section classes. */
:where(.wp-block-group.alignwide, .wp-block-group.alignfull, .wp-block-cover.alignwide, .wp-block-cover.alignfull, .vr-section) {
	position: relative;
}

:where(.wp-block-post-content > section.wp-block-group, .wp-block-post-content > .wp-block-group.alignwide, .vr-section) {
	border-top: 1px solid var(--vr-border-soft);
	padding-block: clamp(3rem, 7vw, 7rem) !important;
}

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

.vr-section--soft,
.vr-section--services,
.vr-section--process,
.vr-section--cta {
	background:
		linear-gradient(180deg, rgba(201, 130, 58, 0.035), transparent 42%),
		var(--vr-bg-soft);
}

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

.vr-section--light :where(h1, h2, h3, h4, h5, h6, p, li, strong, a) {
	color: var(--vr-dark-text);
}

.vr-section--light a {
	text-decoration-color: rgba(21, 21, 21, 0.34);
}

.vr-section--hero,
:where(.wp-block-post-content > section.wp-block-group:first-child, .wp-block-cover) {
	background:
		radial-gradient(circle at 86% 28%, rgba(201, 130, 58, 0.10), transparent 26rem),
		repeating-linear-gradient(0deg, rgba(242, 238, 232, 0.035) 0 1px, transparent 1px 24px),
		linear-gradient(180deg, var(--vr-bg-main), var(--vr-bg-soft));
	border-bottom: 1px solid var(--vr-border-soft);
	border-top: 0;
	isolation: isolate;
	min-height: auto;
	padding-block: clamp(4rem, 7vw, 6.5rem) !important;
}

.vr-section--hero::before,
:where(.wp-block-post-content > section.wp-block-group:first-child)::before {
	background:
		repeating-linear-gradient(90deg, transparent 0 13px, rgba(201, 130, 58, 0.42) 13px 17px, transparent 17px 31px),
		repeating-linear-gradient(0deg, rgba(242, 238, 232, 0.04) 0 2px, transparent 2px 18px);
	border: 1px solid rgba(242, 238, 232, 0.035);
	border-radius: 16px;
	content: "";
	height: clamp(8rem, 18vw, 13rem);
	opacity: 0.18;
	position: absolute;
	right: max(24px, calc((100vw - 1180px) / 2));
	top: clamp(11rem, 20vw, 17rem);
	width: clamp(9rem, 20vw, 16rem);
	z-index: -1;
}

.vr-section--hero::after,
:where(.wp-block-post-content > section.wp-block-group:first-child)::after {
	background: linear-gradient(90deg, var(--vr-accent) 0 72px, rgba(242, 238, 232, 0.22) 72px 100%);
	bottom: clamp(1.5rem, 4vw, 3rem);
	content: "";
	height: 2px;
	left: max(24px, calc((100vw - 1180px) / 2));
	position: absolute;
	width: min(240px, calc(100vw - 48px));
}

/* Temporary project imagery: warm, restrained and secondary to the copy. */
body.wp-child-theme-vilena-records-child .vr-hero-with-media::before {
	display: none;
}

body.wp-child-theme-vilena-records-child .vr-hero-with-media {
	align-items: center;
	column-gap: clamp(2rem, 5vw, 4.5rem);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
}

body.wp-child-theme-vilena-records-child .vr-hero-with-media > :not(.vr-hero-media) {
	grid-column: 1;
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100% !important;
	position: relative;
	z-index: 2;
}

body.wp-child-theme-vilena-records-child .vr-hero-with-media > .vr-hero-media {
	grid-column: 2;
	grid-row: 1 / span 8;
	margin: 0 !important;
	position: relative;
	right: auto;
	top: auto;
	transform: none;
	width: 100%;
	z-index: 1;
}

body.wp-child-theme-vilena-records-child .vr-hero-media img,
body.wp-child-theme-vilena-records-child .vr-section-media img,
body.wp-child-theme-vilena-records-child .vr-contact-image img,
body.wp-child-theme-vilena-records-child .vr-media-text img {
	aspect-ratio: 16 / 9;
	border: 1px solid rgba(242, 238, 232, 0.10);
	border-radius: var(--vr-radius-card);
	display: block;
	filter: saturate(0.82) contrast(1.05) brightness(0.78);
	height: auto;
	object-fit: cover;
	width: 100%;
}

body.wp-child-theme-vilena-records-child .vr-hero-media img {
	box-shadow: inset 0 1px 0 rgba(242, 238, 232, 0.08);
	opacity: 0.82;
}

body.wp-child-theme-vilena-records-child .vr-hero-media--portrait img {
	aspect-ratio: 4 / 5;
}

body.wp-child-theme-vilena-records-child .vr-hero-media--support img,
body.wp-child-theme-vilena-records-child .vr-section-media--support img,
body.wp-child-theme-vilena-records-child .vr-contact-image img,
body.wp-child-theme-vilena-records-child .vr-media-text img {
	aspect-ratio: 4 / 3;
}

body.wp-child-theme-vilena-records-child .vr-section-media {
	margin-top: clamp(1.5rem, 4vw, 2.5rem) !important;
	max-width: 560px !important;
}

body.wp-child-theme-vilena-records-child .vr-contact-image {
	margin: 0 0 1rem !important;
}

body.wp-child-theme-vilena-records-child .vr-media-text {
	background:
		linear-gradient(150deg, rgba(122, 143, 82, 0.09), rgba(201, 130, 58, 0.045)),
		var(--vr-bg-soft);
	border-block: 1px solid var(--vr-border-soft);
	box-shadow: 0 0 0 100vmax var(--vr-bg-soft);
	clip-path: inset(0 -100vmax);
	column-gap: clamp(2rem, 5vw, 4rem);
	margin-block: clamp(3rem, 6vw, 5rem) !important;
	padding-block: clamp(3rem, 6vw, 5rem);
}

body.wp-child-theme-vilena-records-child .vr-media-text .wp-block-media-text__content {
	padding: 0;
}

body.wp-child-theme-vilena-records-child .vr-media-text h2.wp-block-heading {
	font-size: clamp(1.9rem, 3vw, 3rem);
	max-width: 720px;
}

body.wp-child-theme-vilena-records-child .vr-media-text p {
	max-width: 680px;
}

body.wp-child-theme-vilena-records-child .vr-media-text .wp-block-media-text__media {
	margin: 0;
}

body.wp-child-theme-vilena-records-child .vr-hero-cover {
	border-bottom: 1px solid var(--vr-border-soft);
	border-radius: 0;
	isolation: isolate;
	margin-block-start: 0 !important;
	min-height: clamp(540px, 70vh, 720px) !important;
	overflow: hidden;
	padding-block: clamp(4.5rem, 8vw, 7rem) !important;
}

body.wp-child-theme-vilena-records-child .vr-hero-cover .wp-block-cover__image-background {
	filter: saturate(0.82) contrast(1.08) brightness(0.82);
	object-position: center;
}

body.wp-child-theme-vilena-records-child .vr-hero-cover .wp-block-cover__background {
	opacity: 0.78 !important;
}

body.wp-child-theme-vilena-records-child .vr-hero-cover::before {
	background:
		linear-gradient(90deg, rgba(21, 21, 21, 0.94) 0%, rgba(21, 21, 21, 0.82) 42%, rgba(21, 21, 21, 0.42) 100%),
		repeating-linear-gradient(0deg, rgba(242, 238, 232, 0.035) 0 1px, transparent 1px 24px);
	content: "";
	inset: 0;
	position: absolute;
	z-index: 1;
}

body.wp-child-theme-vilena-records-child .vr-hero-cover::after {
	background: linear-gradient(90deg, var(--vr-accent) 0 72px, rgba(242, 238, 232, 0.22) 72px 100%);
	bottom: clamp(1.5rem, 4vw, 3rem);
	content: "";
	height: 2px;
	left: max(24px, calc((100vw - 1180px) / 2));
	position: absolute;
	width: min(240px, calc(100vw - 48px));
	z-index: 2;
}

body.wp-child-theme-vilena-records-child .vr-hero-cover .wp-block-cover__inner-container {
	color: var(--vr-text-main);
	position: relative;
	z-index: 3;
}

body.wp-child-theme-vilena-records-child .vr-hero-cover .wp-block-cover__inner-container > * {
	max-width: min(780px, 100%) !important;
}

body.wp-child-theme-vilena-records-child .vr-hero-cover p {
	color: var(--vr-text-main);
	font-size: clamp(1.12rem, 1.7vw, 1.42rem);
}

.vr-section--hero :where(p),
:where(.wp-block-post-content > section.wp-block-group:first-child p) {
	color: var(--vr-text-main);
	font-size: clamp(1.12rem, 1.7vw, 1.42rem);
	max-width: 820px;
}

/* Long-form service pages need more rhythm than a plain article stack. */
body.wp-child-theme-vilena-records-child:not(.home) .wp-block-post-content > section.wp-block-group:not(:first-child) {
	padding-block: clamp(4rem, 7vw, 6rem) !important;
}

body.wp-child-theme-vilena-records-child:not(.home) .wp-block-post-content > section.wp-block-group:nth-of-type(even):not(:first-child) {
	background:
		linear-gradient(180deg, rgba(242, 238, 232, 0.018), transparent 42%),
		var(--vr-bg-soft);
	box-shadow: 0 0 0 100vmax var(--vr-bg-soft);
	clip-path: inset(0 -100vmax);
}

body.wp-child-theme-vilena-records-child:not(.home) .wp-block-post-content > section.wp-block-group:last-of-type {
	background:
		linear-gradient(135deg, rgba(122, 143, 82, 0.15), rgba(201, 130, 58, 0.08)),
		var(--vr-bg-soft);
	border-top-color: rgba(201, 130, 58, 0.38);
	box-shadow: 0 0 0 100vmax var(--vr-bg-soft);
	clip-path: inset(0 -100vmax);
}

body.wp-child-theme-vilena-records-child:not(.home) .wp-block-post-content > section.wp-block-group > h2.wp-block-heading {
	position: relative;
	padding-top: 1.1rem;
}

body.wp-child-theme-vilena-records-child:not(.home) .wp-block-post-content > section.wp-block-group > h2.wp-block-heading::before {
	background: linear-gradient(90deg, var(--vr-accent), rgba(122, 143, 82, 0.75));
	content: "";
	height: 3px;
	left: 0;
	position: absolute;
	top: 0;
	width: 72px;
}

body.wp-child-theme-vilena-records-child:not(.home) .wp-block-post-content > section.wp-block-group > h3.wp-block-heading {
	border-left: 3px solid rgba(201, 130, 58, 0.72);
	margin-top: clamp(1.6rem, 3vw, 2.35rem);
	padding-left: 1rem;
	position: relative;
}

body.wp-child-theme-vilena-records-child:not(.home) .wp-block-post-content > section.wp-block-group > h3.wp-block-heading + p {
	margin-top: 0.65rem;
}

body.wp-child-theme-vilena-records-child:not(.home) .wp-block-post-content > section.wp-block-group > ul.wp-block-list {
	background:
		linear-gradient(145deg, rgba(122, 143, 82, 0.10), rgba(201, 130, 58, 0.055)),
		rgba(35, 34, 32, 0.66);
	border: 1px solid rgba(242, 238, 232, 0.08);
	border-left: 3px solid rgba(122, 143, 82, 0.72);
	border-radius: 12px;
	margin-top: 1.25rem;
	padding: 1.15rem 1.35rem 1.15rem 2rem;
}

body.wp-child-theme-vilena-records-child:not(.home) .wp-block-post-content > section.wp-block-group > ul.wp-block-list li {
	margin-block: 0.55rem;
}

:where(.wp-block-cover) {
	border-radius: var(--vr-radius-card);
	overflow: hidden;
}

:where(.wp-block-cover .wp-block-cover__background) {
	background: rgba(21, 21, 21, 0.72) !important;
}

/* Cards, highlights and technical boxes. */
.vr-card,
.vr-card--service,
.vr-card--technical,
.vr-card--highlight {
	background: linear-gradient(180deg, rgba(242, 238, 232, 0.035), transparent), var(--vr-bg-secondary);
	border: 1px solid rgba(242, 238, 232, 0.10);
	border-radius: var(--vr-radius-card);
	padding: clamp(1.5rem, 3vw, 2rem);
	transition: border-color var(--vr-transition), transform var(--vr-transition), background var(--vr-transition);
}

.vr-card:hover,
.vr-card--service:hover,
.vr-card--technical:hover,
.vr-card--highlight:hover {
	border-color: rgba(201, 130, 58, 0.42);
	transform: translateY(-2px);
}

body.wp-child-theme-vilena-records-child .wp-block-post-content > section .wp-block-columns {
	max-width: min(980px, 100%);
}

body.wp-child-theme-vilena-records-child .wp-block-post-content > section .wp-block-columns .wp-block-column:has(> h3):has(> p) {
	background:
		radial-gradient(circle at 100% 0%, rgba(201, 130, 58, 0.16), transparent 45%),
		linear-gradient(145deg, rgba(122, 143, 82, 0.24), rgba(201, 130, 58, 0.13)),
		#202417;
	border: 1px solid rgba(201, 130, 58, 0.30);
	border-radius: 14px;
	box-shadow: inset 0 1px 0 rgba(242, 238, 232, 0.05);
	overflow: hidden;
	padding: clamp(1.35rem, 2vw, 1.75rem);
	position: relative;
	transition: border-color var(--vr-transition), transform var(--vr-transition);
}

body.wp-child-theme-vilena-records-child .wp-block-post-content > section .wp-block-columns .wp-block-column:has(> h3):has(> p)::before {
	background: linear-gradient(90deg, var(--vr-accent), rgba(122, 143, 82, 0.85));
	content: "";
	height: 3px;
	inset: 0 0 auto;
	position: absolute;
}

body.wp-child-theme-vilena-records-child .wp-block-post-content > section .wp-block-columns .wp-block-column:has(> h3):has(> p):hover {
	border-color: rgba(201, 130, 58, 0.62);
	transform: translateY(-1px);
}

body.wp-child-theme-vilena-records-child .wp-block-columns .wp-block-column h3 a {
	color: var(--vr-text-main);
	text-decoration: none;
}

body.wp-child-theme-vilena-records-child .wp-block-columns .wp-block-column h3 a:hover {
	color: var(--vr-accent);
}

.vr-card--technical {
	border-left: 3px solid var(--vr-accent-technical);
}

.vr-contact-layout {
	align-items: flex-start;
	margin-top: clamp(1.75rem, 4vw, 3rem);
}

body.wp-child-theme-vilena-records-child .vr-contact-next {
	background:
		linear-gradient(150deg, rgba(122, 143, 82, 0.16), rgba(201, 130, 58, 0.08)),
		var(--vr-bg-secondary);
	position: sticky;
	top: 1.5rem;
}

body.wp-child-theme-vilena-records-child .vr-contact-next h2.wp-block-heading {
	font-size: clamp(1.35rem, 1.8vw, 1.8rem);
	max-width: 100%;
	padding-top: 0;
}

body.wp-child-theme-vilena-records-child .vr-contact-next ul.wp-block-list {
	background: transparent;
	border: 0;
	border-radius: 0;
	margin-top: 1rem;
	padding: 0 0 0 1.15rem;
}

body.wp-child-theme-vilena-records-child .vr-contact-next li {
	margin-block: 0.75rem;
}

.vr-card--highlight,
:where(.wp-block-quote) {
	background: var(--vr-bg-soft);
	border: 1px solid var(--vr-border-soft);
	border-left: 4px solid var(--vr-accent);
	border-radius: 0 var(--vr-radius-card) var(--vr-radius-card) 0;
	color: var(--vr-text-main);
	padding: clamp(1.35rem, 3vw, 2rem);
}

:where(.wp-block-quote p) {
	color: var(--vr-text-main);
	font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

:where(.wp-block-columns) {
	gap: clamp(1rem, 3vw, 2rem);
}

:where(.wp-block-separator) {
	border-color: var(--vr-border-soft);
	margin-block: clamp(2rem, 5vw, 4rem);
}

:where(.wp-block-list) {
	padding-left: 1.25rem;
}

:where(.wp-block-list li) {
	margin-block: 0.45rem;
	padding-left: 0.15rem;
}

:where(.wp-block-list li::marker) {
	color: var(--vr-accent);
}

:where(.wp-block-image img, .wp-block-post-featured-image img) {
	border-radius: var(--vr-radius-card);
	height: auto;
	max-width: 100%;
	object-fit: cover;
}

:where(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), textarea, select) {
	background: var(--vr-bg-secondary);
	border: 1px solid var(--vr-border-soft);
	border-radius: 10px;
	color: var(--vr-text-main);
	font: inherit;
	min-height: 46px;
	padding: 0.85rem 1rem;
	width: 100%;
}

body.wp-child-theme-vilena-records-child .fluentform,
body.wp-child-theme-vilena-records-child .frm-fluent-form {
	color: var(--vr-text-main);
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.wp-child-theme-vilena-records-child .fluentform .ff-el-group {
	margin-bottom: 1.35rem;
}

body.wp-child-theme-vilena-records-child .fluentform label,
body.wp-child-theme-vilena-records-child .fluentform .ff-el-input--label label {
	color: var(--vr-text-main);
	font-weight: 700;
	line-height: 1.25;
	margin-bottom: 0.5rem;
}

body.wp-child-theme-vilena-records-child .fluentform .ff-el-form-control {
	background: var(--vr-bg-secondary) !important;
	border: 1px solid rgba(242, 238, 232, 0.42) !important;
	border-radius: 9px !important;
	box-shadow: none !important;
	color: var(--vr-text-main) !important;
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
	font-size: 1rem !important;
	min-height: 48px;
	padding: 0.85rem 1rem !important;
}

body.wp-child-theme-vilena-records-child .fluentform textarea.ff-el-form-control {
	min-height: 150px;
}

body.wp-child-theme-vilena-records-child .fluentform .ff-el-form-control::placeholder {
	color: rgba(184, 178, 170, 0.82) !important;
}

body.wp-child-theme-vilena-records-child .fluentform .ff-el-form-control:focus {
	border-color: var(--vr-accent) !important;
	box-shadow: 0 0 0 2px rgba(201, 130, 58, 0.18) !important;
	outline: none !important;
}

body.wp-child-theme-vilena-records-child .fluentform .ff_t_c,
body.wp-child-theme-vilena-records-child .fluentform .ff_t_c a {
	color: var(--vr-text-main);
}

body.wp-child-theme-vilena-records-child .fluentform .ff-btn-submit,
body.wp-child-theme-vilena-records-child form.fluent_form_1 .ff-btn-submit:not(.ff_btn_no_style) {
	background: var(--vr-accent) !important;
	border: 1px solid var(--vr-accent) !important;
	border-radius: var(--vr-radius-button) !important;
	box-shadow: none !important;
	color: var(--vr-dark-text) !important;
	font-family: Inter, system-ui, sans-serif !important;
	font-size: 1.04rem !important;
	font-weight: 700 !important;
	min-height: 52px;
	padding: 1rem 1.6rem !important;
}

body.wp-child-theme-vilena-records-child .fluentform .ff-btn-submit:hover,
body.wp-child-theme-vilena-records-child form.fluent_form_1 .ff-btn-submit:not(.ff_btn_no_style):hover {
	background: color-mix(in srgb, var(--vr-accent) 86%, var(--vr-accent-dark)) !important;
	border-color: color-mix(in srgb, var(--vr-accent) 86%, var(--vr-accent-dark)) !important;
	color: var(--vr-dark-text) !important;
}

:where(textarea) {
	min-height: 150px;
	resize: vertical;
}

:where(input::placeholder, textarea::placeholder) {
	color: rgba(184, 178, 170, 0.82);
}

:where(label) {
	color: var(--vr-text-main);
	display: inline-block;
	font-weight: 600;
	margin-bottom: 0.45rem;
}

:where(form p) {
	margin-block: 0 1rem;
}

:where(footer, .wp-site-blocks > footer, .wp-block-template-part:has(footer)) {
	background: #111111;
	border-top: 1px solid var(--vr-border-soft);
	color: var(--vr-text-muted);
}

:where(footer .wp-block-group) {
	padding-block: clamp(2.5rem, 6vw, 4.5rem) !important;
}

:where(footer h1, footer h2, footer h3, footer h4, footer .wp-block-heading) {
	color: var(--vr-text-main);
	font-size: clamp(1rem, 1.5vw, 1.2rem);
}

:where(footer p, footer li) {
	color: var(--vr-text-muted);
	font-size: 0.95rem;
}

:where(footer a) {
	color: var(--vr-text-main);
	text-decoration: none;
}

:where(footer a:hover) {
	color: var(--vr-accent);
	text-decoration: none;
}

@media (max-width: 781px) {
	:root {
		--vr-content-wide: min(100% - 32px, 1180px);
		--vr-content-text: min(100% - 32px, 720px);
	}

	body {
		background: var(--vr-bg-main);
	}

	:where(.wp-site-blocks) {
		padding-left: 0;
		padding-right: 0;
	}

	:where(.wp-block-post-content > section.wp-block-group, .wp-block-post-content > .wp-block-group.alignwide, .vr-section) {
		padding-block: clamp(3rem, 12vw, 4rem) !important;
	}

	.vr-section--hero,
	:where(.wp-block-post-content > section.wp-block-group:first-child, .wp-block-cover) {
		min-height: auto;
		padding-block: clamp(3.5rem, 15vw, 5rem) !important;
	}

	:where(h1, .wp-block-post-title) {
		font-size: clamp(2.25rem, 11vw, 3.25rem);
		max-width: 100%;
	}

	body.wp-child-theme-vilena-records-child h1,
	body.wp-child-theme-vilena-records-child .wp-block-post-title {
		font-size: clamp(2.1rem, 9vw, 3rem);
		max-width: 100%;
	}

	:where(h2) {
		font-size: clamp(1.7rem, 8vw, 2.35rem);
		max-width: 100%;
	}

	body.wp-child-theme-vilena-records-child h2 {
		font-size: clamp(1.7rem, 7.5vw, 2.35rem);
		max-width: 100%;
	}

	.wp-block-buttons {
		align-items: stretch;
		flex-direction: column;
	}

	.wp-block-buttons .wp-block-button,
	.wp-block-buttons .wp-block-button__link {
		width: 100%;
	}

	.wp-block-navigation__responsive-container.is-menu-open {
		padding: 1.5rem;
	}

	body.wp-child-theme-vilena-records-child .vr-contact-next {
		position: static;
	}

	body.wp-child-theme-vilena-records-child .vr-hero-with-media > :not(.vr-hero-media) {
		max-width: 100% !important;
	}

	body.wp-child-theme-vilena-records-child .vr-hero-with-media {
		display: block;
	}

	body.wp-child-theme-vilena-records-child .vr-hero-with-media > .vr-hero-media {
		margin-top: 2rem !important;
		width: 100%;
	}

	body.wp-child-theme-vilena-records-child .vr-hero-media img,
	body.wp-child-theme-vilena-records-child .vr-section-media img,
	body.wp-child-theme-vilena-records-child .vr-contact-image img,
	body.wp-child-theme-vilena-records-child .vr-media-text img {
		filter: saturate(0.86) contrast(1.02) brightness(0.82);
	}

	body.wp-child-theme-vilena-records-child .vr-media-text {
		display: block;
		margin-block: clamp(2.5rem, 10vw, 4rem) !important;
	}

	body.wp-child-theme-vilena-records-child .vr-media-text .wp-block-media-text__content {
		padding-top: 1.5rem;
	}

	body.wp-child-theme-vilena-records-child .vr-hero-cover {
		min-height: auto !important;
		padding-block: clamp(4rem, 14vw, 5.5rem) !important;
	}

	body.wp-child-theme-vilena-records-child .vr-hero-cover::before {
		background:
			linear-gradient(180deg, rgba(21, 21, 21, 0.88) 0%, rgba(21, 21, 21, 0.78) 62%, rgba(21, 21, 21, 0.90) 100%),
			repeating-linear-gradient(0deg, rgba(242, 238, 232, 0.035) 0 1px, transparent 1px 24px);
	}

	.vr-section--hero::before,
	:where(.wp-block-post-content > section.wp-block-group:first-child)::before {
		display: none;
	}
}

@media (max-width: 960px) {
	.wp-block-buttons:has(> .wp-block-button:nth-child(3)) {
		align-items: stretch;
		flex-direction: column;
	}

	.wp-block-buttons:has(> .wp-block-button:nth-child(3)) .wp-block-button,
	.wp-block-buttons:has(> .wp-block-button:nth-child(3)) .wp-block-button__link {
		width: 100%;
	}
}

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