/* NADVIRNA — nv3 design system.
 *
 * The shared layer behind every page built to the third reference: tokens, resets, typography,
 * buttons, header, footer and the card idioms. The homepage stylesheet and each page template
 * stylesheet load this first and add only what is genuinely theirs.
 *
 * Scoped to `.nv3` on <body> so it can coexist with the nineteen unmigrated 3.0 screens and with
 * the 13A `.nv31` layer — none of these three touch each other's selectors.
 */

.nv3 {
	/* Palette and type from the "Головна сторінка зібрана" handoff. The token names are unchanged
	 * from the previous direction on purpose: every page already reads them, so retuning the values
	 * here moves the whole site at once instead of asking each template to opt in. */
	--nv3-dark: #102E25;
	--nv3-dark-2: #0B241D;
	--nv3-dark-3: #1C3A30;
	--nv3-dark-line: #22443A;

	--nv3-cream: #F5F0E7;
	--nv3-cream-2: #EFE7D8;
	--nv3-card: #FBF8F2;

	--nv3-gold: #B9914F;
	/* #8A6A2E measured 4.42:1 as text on the cream ground — just under the 4.5 floor, and this
	   token is the link-hover colour site-wide, so every hovered link failed. */
	--nv3-gold-hover: #7A5C22;
	/* The gold that reads on a dark ground; #B9914F is too dim against #0B241D. */
	--nv3-gold-light: #D3B478;

	--nv3-ink: #25231F;
	--nv3-ink-2: #5C574E;
	--nv3-ink-3: #6E675C;

	/* The handoff draws every rule as a translucent warm brown rather than a flat tint, so a line
	 * over cream and the same line over ivory stay related. */
	--nv3-line: rgba(58, 48, 35, .14);
	--nv3-line-2: rgba(58, 48, 35, .18);

	--nv3-on-dark: #F6F0E5;
	--nv3-on-dark-2: rgba(246, 240, 229, .82);
	--nv3-on-dark-3: rgba(246, 240, 229, .72);

	/* Trust colours are a separate axis from the brand palette, exactly as in 13A: a state must
	 * never be mistaken for decoration, and gold is already the brand's accent. */
	--nv3-trust-verified: #2F6B40;
	--nv3-trust-sourced: #3C5B6C;
	--nv3-trust-stale: #8A6100;

	--nv3-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--nv3-sans: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;
	--nv3-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

	background: var(--nv3-cream);
	color: var(--nv3-ink);
	font-family: var(--nv3-sans);
	-webkit-font-smoothing: antialiased;
}


.nv3 *, .nv3 *::before, .nv3 *::after { box-sizing: border-box; }
.nv3 h1, .nv3 h2, .nv3 h3, .nv3 h4, .nv3 p, .nv3 figure { margin: 0; }
/* :where() so this contributes zero specificity. As `.nv3 a` it was (0,1,1) and beat every
   component rule written as a single class — `.nv3-action` (0,1,0) lost, so its anchors fell back
   to `inherit` and rendered --nv3-ink on the dark action bar at 1.04:1. The buttons in the same
   row kept their colour, which is why only some labels vanished. */
:where(.nv3) a { color: inherit; text-decoration: none; }
.nv3 img { display: block; max-width: 100%; }
.nv3 button { font: inherit; }
.nv3 svg { display: block; }
.nv3 ul, .nv3 ol { margin: 0; padding: 0; list-style: none; }

.nv3__shell { width: 100%; }
.nv3-wrap { width: min(calc(100% - 40px), 1440px); margin-inline: auto; }
@media (min-width: 700px) { .nv3-wrap { width: min(calc(100% - 48px), 1440px); } }

/* A readable measure for long-form prose — narrower than the layout on purpose. */
.nv3-prose { max-width: 68ch; }
.nv3-prose p, .nv3-prose li { font: 400 15px/1.75 var(--nv3-sans); color: var(--nv3-ink-2); }
.nv3-prose p + p { margin-top: 15px; }

/* Editorial pages come from the block editor, so the prose block has to cover every element the
   editor can emit. The list-style reset a few rules above strips bullets from the whole document;
   restoring them here is the only reason those two selectors are repeated. */
.nv3-prose > * + * { margin-top: 18px; }
.nv3-prose h2 { font: 400 clamp(22px, 3vw, 30px)/1.18 var(--nv3-serif); letter-spacing: -.01em; margin-top: 38px; }
.nv3-prose h3 { font: 500 clamp(17px, 2vw, 21px)/1.25 var(--nv3-serif); margin-top: 28px; }
.nv3-prose h4 { font: 600 14px/1.3 var(--nv3-sans); letter-spacing: .01em; margin-top: 22px; }
.nv3-prose ul, .nv3-prose ol { padding-left: 22px; }
.nv3-prose ul { list-style: disc; }
.nv3-prose ol { list-style: decimal; }
.nv3-prose li + li { margin-top: 7px; }
.nv3-prose li::marker { color: var(--nv3-gold); }
.nv3-prose a { color: var(--nv3-dark); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.nv3-prose a:hover { color: var(--nv3-gold); }
.nv3-prose strong { font-weight: 600; color: var(--nv3-ink); }
.nv3-prose blockquote { border-left: 2px solid var(--nv3-gold); padding: 4px 0 4px 18px; margin-left: 0; }
.nv3-prose blockquote p { font: 400 17px/1.6 var(--nv3-serif); color: var(--nv3-ink); }
.nv3-prose figure { margin: 0; }
.nv3-prose img { max-width: 100%; height: auto; border-radius: 3px; }
.nv3-prose figcaption { font: 400 11.5px/1.5 var(--nv3-mono); color: var(--nv3-ink-3); margin-top: 8px; }
.nv3-prose hr { border: 0; border-top: 1px solid var(--nv3-line); margin: 34px 0; }
.nv3-prose code { font: 400 13px/1.5 var(--nv3-mono); background: var(--nv3-cream-2); padding: 2px 5px; border-radius: 3px; }
/* A wide table must scroll inside itself rather than pushing the document sideways. */
.nv3-prose .wp-block-table { overflow-x: auto; }
.nv3-prose table { width: 100%; border-collapse: collapse; }
.nv3-prose th, .nv3-prose td { font: 400 14px/1.5 var(--nv3-sans); text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--nv3-line); }
.nv3-prose th { font-weight: 600; color: var(--nv3-ink); }

.nv3-sr {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
/*
 * Two rings, and both are load-bearing.
 *
 * This had been simplified back to a single gold outline, which is the exact regression
 * CLAUDE.md warns against — and measuring it says why: #B9914F against the three light
 * surfaces this theme uses gives 2.56:1 on cream, 2.37:1 on cream-2 and 2.74:1 on card.
 * WCAG 1.4.11 asks 3:1 for a non-text indicator, so on every pale ground on the site the
 * focus ring was below the floor. On the dark grounds the same gold measures 5.02:1, which
 * is why it looked fine wherever anyone happened to check.
 *
 * The inner ring now carries the contrast and the outer one carries the identity: ink on
 * pale ground (13:1), cream on dark ground, with the gold halo outside it in both cases.
 * `--nv3-focus` follows the same context-token pattern the eyebrow colour already uses, so
 * the dark-section list stays in one place instead of being restated here.
 */
.nv3 { --nv3-focus: var(--nv3-ink); }
.nv3 a:focus-visible, .nv3 button:focus-visible, .nv3 summary:focus-visible {
	outline: 2px solid var(--nv3-focus); outline-offset: 2px;
	box-shadow: 0 0 0 5px var(--nv3-gold-light);
}
.nv3-skip {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	display: flex; align-items: center; min-height: 44px;
	background: var(--nv3-dark); color: var(--nv3-on-dark);
	padding: 0 16px; border-radius: 3px; font: 500 13px/1 var(--nv3-sans);
	transition: top 140ms ease;
}
.nv3-skip:focus { top: 12px; }

/* ── Type helpers ─────────────────────────────────────────────────────────────────────────── */

/* The eyebrow is warm grey on the cream ground and gold on a dark one. It is the same element in
   both places, so the colour comes from a variable a dark block redeclares rather than from a list
   of selectors that will fall out of date: setting it flat to --nv3-ink-3 put #6E675C on #102E25
   and every archive hero's eyebrow measured 1.2:1. */
.nv3-eyebrow {
	font: 400 12px/1.4 var(--nv3-mono);
	letter-spacing: .18em; text-transform: uppercase;
	color: var(--nv3-eyebrow, var(--nv3-ink-3));
}
/* Every dark ground in the system, in one place. The focus ring inverts here for the same reason
   the eyebrow does: ink on a dark green ground is invisible, and a focus ring that cannot be seen
   is not a focus ring. */
.nv3-hero, .nv3-ah, .nv3-ph, .nv3-biz, .nv3-feature__copy, .nv3-foot--dark, .nv3-now {
	--nv3-eyebrow: var(--nv3-gold-light);
	--nv3-focus: var(--nv3-cream);
}
.nv3-h1 { font: 500 clamp(30px, 5.6vw, 50px)/1.05 var(--nv3-serif); }
.nv3-h2 { font: 400 clamp(28px, 4.6vw, 44px)/1.12 var(--nv3-serif); letter-spacing: -.01em; }
.nv3-h3 { font: 500 clamp(19px, 2.2vw, 24px)/1.2 var(--nv3-serif); }
.nv3-lede { font: 400 clamp(14px, 1.6vw, 16px)/1.7 var(--nv3-sans); color: var(--nv3-ink-2); }
.nv3-meta { font: 400 11.5px/1.4 var(--nv3-mono); letter-spacing: .04em; color: var(--nv3-ink-3); }

.nv3-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.nv3-sec__title { font: 500 13px/1 var(--nv3-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--nv3-ink); }

/* ── Buttons and links ────────────────────────────────────────────────────────────────────── */

.nv3-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 26px; border-radius: 6px;
	font: 600 13px/1 var(--nv3-sans); letter-spacing: .12em; text-transform: uppercase;
	border: 1px solid transparent; cursor: pointer;
}
.nv3-btn svg { width: 15px; height: 10px; flex: none; }
/* Gold on the dark ground lightens on hover rather than darkening: against #0B241D the darker
   gold loses contrast instead of gaining emphasis. */
.nv3-btn--gold { background: var(--nv3-gold); color: var(--nv3-dark-2); font-weight: 700; }
.nv3-btn--gold:hover { background: var(--nv3-gold-light); }
.nv3-btn--ghost { border-color: rgba(246,240,229,.45); color: var(--nv3-on-dark); background: transparent; }
.nv3-btn--ghost:hover { border-color: var(--nv3-gold-light); color: var(--nv3-gold-light); }
.nv3-btn--outline { border-color: var(--nv3-line-2); color: var(--nv3-ink); background: transparent; }
.nv3-btn--outline:hover { border-color: var(--nv3-gold-hover); color: var(--nv3-gold-hover); }
.nv3-btn--dark { background: var(--nv3-dark); color: var(--nv3-on-dark); }
.nv3-btn--dark:hover { background: var(--nv3-dark-2); }

.nv3-more {
	display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
	font: 600 13px/1 var(--nv3-sans); letter-spacing: .1em; text-transform: uppercase;
	color: var(--nv3-gold-hover);
}
.nv3-more:hover { color: var(--nv3-ink); }
.nv3-more svg { width: 14px; height: 9px; }

/* ── Header ───────────────────────────────────────────────────────────────────────────────── */

/* Sticky and translucent. The reader scrolls a 385-record catalogue; the way back has to stay
   reachable without a trip to the top. backdrop-filter degrades to a plain tint where it is
   unsupported, which is why the background carries .9 alpha rather than .6. */
.nv3-head {
	position: sticky; top: 0; z-index: 60;
	background: rgba(245, 240, 231, .9);
	backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--nv3-line);
}
.nv3-head__inner {
	min-height: 76px; display: flex; align-items: center;
	gap: clamp(16px, 2.5vw, 40px);
}

.nv3-brand { display: flex; align-items: baseline; min-height: 44px; gap: 10px; flex: none; }
.nv3-brand__name {
	font: 500 clamp(20px, 2vw, 26px)/1 var(--nv3-serif);
	letter-spacing: .18em; text-transform: uppercase; color: var(--nv3-ink);
}
.nv3-brand__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--nv3-gold); flex: none; }

.nv3-head__nav { display: none; }
.nv3-head__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; flex: none; }

/* A labelled search control, not a bare glyph: on a guide the search box is a primary route to
   content, and an unlabelled magnifier tests worse than the word next to it. */
.nv3-head__search {
	display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
	background: var(--nv3-card); border: 1px solid var(--nv3-line-2); border-radius: 6px;
	font: 400 13px/1 var(--nv3-sans); color: var(--nv3-ink-2);
}
.nv3-head__search svg { width: 15px; height: 15px; }
.nv3-head__search:hover { border-color: var(--nv3-gold-hover); color: var(--nv3-ink); }

/*
 * The narrow-screen bar: logo, search, menu. The icon-only search appears exactly where the
 * labelled one disappears, and the language switcher moves into the menu panel — three controls
 * plus a wordmark do not fit 360px without one of them becoming unreachable.
 */
.nv3-head__searchicon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; flex: none; color: var(--nv3-ink-2);
}
.nv3-head__searchicon svg { width: 19px; height: 19px; }
.nv3-head__searchicon:hover { color: var(--nv3-gold-hover); }

.nv3-head__lang { display: none; align-items: center; gap: 8px; font: 400 13px/1 var(--nv3-sans); }
.nv3-head__lang a { min-height: 44px; display: inline-flex; align-items: center; color: var(--nv3-ink-2); }
.nv3-head__lang a:hover { color: var(--nv3-gold-hover); }
.nv3-head__lang [aria-current] { color: var(--nv3-ink); font-weight: 600; }

/* ── Mobile menu ──────────────────────────────────────────────────────────────────────────────
   <details> rather than a scripted panel: it opens, closes, is keyboard operable, announces its
   state, and survives JavaScript failing to load. */

.nv3-menu { position: relative; }
.nv3-menu__toggle {
	list-style: none; cursor: pointer;
	width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
	background: var(--nv3-dark); color: var(--nv3-on-dark); border-radius: 6px;
}
.nv3-menu__toggle::-webkit-details-marker { display: none; }
.nv3-menu__bars { display: grid; gap: 4px; }
.nv3-menu__bars span { display: block; width: 17px; height: 1.6px; background: currentColor; border-radius: 1px; }
.nv3-menu[open] .nv3-menu__bars span:nth-child(2) { opacity: .35; }

.nv3-menu__panel {
	position: absolute; right: 0; top: calc(100% + 12px); z-index: 70;
	min-width: min(78vw, 300px); display: flex; flex-direction: column;
	background: var(--nv3-cream); border: 1px solid var(--nv3-line-2);
	border-radius: 8px; padding: 8px; box-shadow: 0 18px 46px rgba(11, 36, 29, .16);
}
.nv3-menu__panel a {
	display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 5px;
	font: 400 20px/1.2 var(--nv3-serif); color: var(--nv3-ink);
}
.nv3-menu__panel a:hover { background: var(--nv3-cream-2); color: var(--nv3-gold-hover); }
.nv3-menu__panel a[aria-current] { background: var(--nv3-dark); color: var(--nv3-on-dark); }
/* The language switcher, in the panel rather than the bar. Separated by a rule because it is a
   different kind of choice from the links above it. */
.nv3-menu__lang {
	display: flex; align-items: center; gap: 4px; margin-top: 8px; padding-top: 10px;
	border-top: 1px solid var(--nv3-line); font: 400 13px/1 var(--nv3-sans);
}
.nv3-menu__lang a, .nv3-menu__lang span {
	min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center;
	color: var(--nv3-ink-2);
}
.nv3-menu__lang [aria-current] { color: var(--nv3-ink); font-weight: 600; }
.nv3-menu__lang a:hover { color: var(--nv3-gold-hover); }

/* The handoff hides the inline nav below 1020px, so the burger appears at exactly that width. */
/*
 * 1100px, not 1020px, because the bar carries seven items since "Де зупинитися" was added and
 * seven do not fit in 1020: measured at 1024px the document scrolled to 1069px, pushing the page
 * sideways. Below this width the burger menu — which already exists and holds the same links —
 * takes over. Adding a nav item means re-measuring this number.
 */
@media (min-width: 1100px) {
	.nv3-head__nav {
		display: flex; gap: clamp(14px, 1.8vw, 28px); margin: 0 auto;
		font: 400 14px/1 var(--nv3-sans); color: var(--nv3-ink-2); white-space: nowrap;
	}
	.nv3-head__nav a { min-height: 44px; display: inline-flex; align-items: center; }
	.nv3-head__nav a:hover { color: var(--nv3-gold-hover); }
	.nv3-head__nav a[aria-current] { color: var(--nv3-ink); font-weight: 600; }
	.nv3-head__search { display: flex; }
	.nv3-head__searchicon { display: none; }
	.nv3-head__lang { display: flex; }
	.nv3-menu { display: none; }
}

/* ── Breadcrumb ───────────────────────────────────────────────────────────────────────────── */

.nv3-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 400 12px/1 var(--nv3-sans); color: var(--nv3-ink-3); }
.nv3-crumbs a:hover { color: var(--nv3-gold-hover); }
.nv3-crumbs__sep { color: var(--nv3-line-2); }

/* ── Trust marks — state, never decoration ────────────────────────────────────────────────── */

.nv3-trust { display: inline-flex; align-items: center; gap: 7px; font: 400 12px/1.3 var(--nv3-sans); }
.nv3-trust__dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.nv3-trust--verified .nv3-trust__dot { background: var(--nv3-trust-verified); }
.nv3-trust--sourced .nv3-trust__dot { background: var(--nv3-trust-sourced); }
.nv3-trust--stale .nv3-trust__dot { background: var(--nv3-trust-stale); border-radius: 2px; }
.nv3-trust--on-dark { color: var(--nv3-on-dark-2); }

/* ── Cards ────────────────────────────────────────────────────────────────────────────────── */

.nv3-tile-card { display: block; }
/* `display: block` is load-bearing: the frame is a <span>, and on an inline box the browser
   ignores aspect-ratio, width/height and overflow outright. Without it the 4:3 crop never
   applied — photo cards took their image's own proportions and the grid rows came out up to
   38px apart. */
.nv3-tile-card__media {
	display: block; position: relative; aspect-ratio: 4/3;
	overflow: hidden; border-radius: 3px; background: var(--nv3-line);
}
.nv3-tile-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.nv3-tile-card:hover .nv3-tile-card__media img { transform: scale(1.04); }
/* The stand-in for a record with no photograph. Flat, cream, and marked with the record's own
   glyph — it has to be legible as "no photo yet" at a glance, never as a picture of the place. */
.nv3-tile-card__media--none {
	display: flex; align-items: center; justify-content: center;
	background: var(--nv3-cream-2); border: 1px solid var(--nv3-line);
	background-image: repeating-linear-gradient(
		135deg, transparent 0 9px, rgba(194, 153, 47, .045) 9px 18px
	);
}
.nv3-tile-card__glyph { color: var(--nv3-line-2); }
.nv3-tile-card__glyph svg { width: 34px; height: 34px; stroke-width: 1.1; }
.nv3-tile-card:hover .nv3-tile-card__glyph { color: var(--nv3-gold); }
.nv3-tile-card__media--none .nv3-tile-card__badge { background: var(--nv3-dark); }
.nv3-tile-card__badge {
	position: absolute; left: 8px; bottom: 8px; z-index: 2;
	font: 500 8.5px/1 var(--nv3-mono); letter-spacing: .12em; text-transform: uppercase;
	background: rgba(21,44,30,.88); color: var(--nv3-on-dark); padding: 5px 7px; border-radius: 2px;
}
.nv3-tile-card__h { font: 500 15px/1.28 var(--nv3-serif); margin-top: 10px; }
.nv3-tile-card__p { font: 400 12px/1.5 var(--nv3-sans); color: var(--nv3-ink-3); margin-top: 5px; }
.nv3-tile-card__meta { font: 400 10.5px/1 var(--nv3-mono); color: var(--nv3-ink-3); margin-top: 7px; }
.nv3-tile-card:hover .nv3-tile-card__h { color: var(--nv3-gold-hover); }

.nv3-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (min-width: 700px) { .nv3-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) {
	.nv3-grid { gap: 20px; }
	.nv3-grid--3 { grid-template-columns: repeat(3, 1fr); }
	.nv3-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.nv3-pills { display: flex; flex-wrap: wrap; gap: 8px; }
/* A pill is a link on navigation rows and a plain label on read-only rows (a service's delivery
   modes, for example), so both elements have to carry the same shape. */
.nv3-pills a, .nv3-pills span {
	display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px;
	background: var(--nv3-card); border: 1px solid var(--nv3-line); border-radius: 3px;
	font: 400 12.5px/1 var(--nv3-sans);
}
.nv3-pills a:hover { border-color: var(--nv3-gold); color: var(--nv3-gold-hover); }
.nv3-pills a[aria-current] { background: var(--nv3-dark); color: var(--nv3-on-dark); border-color: var(--nv3-dark); }
.nv3-pills span { color: var(--nv3-ink-2); }

/* The cover image on an editorial page: full measure, never taller than a third of the viewport,
   because these pages are read for their text. */
.nv3-page__cover { margin: 0 0 26px; }
.nv3-page__cover img {
	width: 100%; height: auto; max-height: 34vh; object-fit: cover;
	border-radius: 3px; display: block;
}

/* WCAG 2.5.5: 44px is the floor for anything you tap. Stated once here so a component added
   later inherits it rather than each rule having to remember. Map markers are the documented
   exception and live outside the nv3 shell. */
.nv3 a[href], .nv3 button, .nv3 summary { min-height: 44px; }
.nv3 .nv3-crumbs a, .nv3 .nv3-prose a, .nv3 .nv3-cols a,
.nv3 .nv3-source__v, .nv3 .nv3-credit__links a, .nv3 .nv3-tile-card,
.nv3 .nv3-empty__p a, .nv3 .nv3-fact__v {
	/* Links inside running prose are read, not aimed at: forcing 44px there would open holes in
	   the line box instead of making anything easier to hit. */
	min-height: 0;
}

/* The classic mobile bottom bar is suppressed on nv3 pages, so the consent banner no longer has
   to clear it — without this it floats 78px above nothing. */
@media (max-width: 767px) {
	.nv3 .consent-banner { bottom: calc(12px + env(safe-area-inset-bottom)); }
}

/* ── Footer ───────────────────────────────────────────────────────────────────────────────── */

/* Light, not dark. The handoff ends the page on the same cream the body sits on, separated by a
   single rule — the dark band belongs to the business panel above it, and two dark blocks in a
   row flattened the end of the page. */
.nv3-foot {
	background: var(--nv3-cream); color: var(--nv3-ink-2);
	padding: clamp(48px, 9vh, 96px) 0 36px;
	border-top: 1px solid var(--nv3-line);
}
.nv3-foot__grid {
	display: grid; gap: 40px; padding-bottom: clamp(36px, 6vh, 56px);
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}

.nv3-foot__mark {
	font: 500 28px/1 var(--nv3-serif); letter-spacing: .18em;
	text-transform: uppercase; color: var(--nv3-ink); margin-bottom: 10px;
}
.nv3-foot__tag { font: 400 19px/1.3 var(--nv3-serif); color: var(--nv3-ink-2); margin-bottom: 20px; }
.nv3-foot__about { font: 400 14.5px/1.7 var(--nv3-sans); color: var(--nv3-ink-2); max-width: 340px; }

.nv3-foot__colk {
	font: 500 11.5px/1 var(--nv3-mono); letter-spacing: .16em;
	text-transform: uppercase; color: var(--nv3-ink); margin-bottom: 12px;
}
.nv3-foot__col a {
	display: flex; align-items: center; min-height: 44px;
	font: 400 14.5px/1.6 var(--nv3-sans); color: var(--nv3-ink-2);
}
.nv3-foot__col a:hover { color: var(--nv3-gold-hover); }

.nv3-foot__newsp { font: 400 14.5px/1.65 var(--nv3-sans); color: var(--nv3-ink-2); margin-bottom: 18px; max-width: 300px; }
.nv3-foot__form { display: flex; gap: 10px; max-width: 380px; }
/* The fieldset exists to carry `disabled` across the whole set; it must not add a box of its own. */
.nv3-foot__fs { display: flex; gap: 10px; width: 100%; border: 0; padding: 0; margin: 0; min-width: 0; opacity: .55; }
.nv3-foot__newsoff { margin-top: 10px; max-width: 380px; font: 400 12.5px/1.55 var(--nv3-sans); color: var(--nv3-on-dark-3); }
.nv3-foot__form input {
	flex: 1; min-width: 0; min-height: 46px; padding: 0 16px;
	background: var(--nv3-card); border: 1px solid var(--nv3-line-2); border-radius: 6px;
	font: 400 14px/1 var(--nv3-sans); color: var(--nv3-ink);
}
.nv3-foot__form input::placeholder { color: var(--nv3-ink-3); }
.nv3-foot__form button {
	flex: none; min-height: 46px; padding: 0 22px; border: 0; border-radius: 6px;
	background: var(--nv3-dark); color: var(--nv3-on-dark); cursor: pointer;
	font: 700 12.5px/1 var(--nv3-sans); letter-spacing: .1em; text-transform: uppercase;
}
.nv3-foot__form button:not([disabled]):hover { background: var(--nv3-dark-2); }
.nv3-foot__form button[disabled] { opacity: .5; cursor: not-allowed; }

.nv3-foot__base {
	border-top: 1px solid var(--nv3-line); padding-top: 26px;
	display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between;
	font: 400 13px/1.6 var(--nv3-sans); color: var(--nv3-ink-2);
}
.nv3-foot__legal { max-width: 460px; }
.nv3-foot__baselinks, .nv3-foot__contact { display: flex; flex-wrap: wrap; gap: 18px; }
.nv3-foot__baselinks a, .nv3-foot__contact a {
	display: inline-flex; align-items: center; min-height: 44px; color: var(--nv3-ink-2);
}
.nv3-foot__baselinks a:hover, .nv3-foot__contact a:hover { color: var(--nv3-gold-hover); }

@media (prefers-reduced-motion: reduce) {
	.nv3-tile-card__media img { transition: none; }
	.nv3-tile-card:hover .nv3-tile-card__media img { transform: none; }
}

/* The Polish reader gets a Polish interface around Ukrainian records. Saying so in a slim bar
   under the header is cheaper than letting them discover it one card at a time. */
.nv3-langnote {
	background: var(--nv3-cream-2); border-bottom: 1px solid var(--nv3-line);
	padding: 10px 20px; text-align: center;
	font: 400 12.5px/1.6 var(--nv3-sans); color: var(--nv3-ink-2);
}
.nv3-langnote a {
	color: var(--nv3-gold-hover); text-decoration: underline; text-underline-offset: 2px;
	white-space: nowrap;
}

/* ── Consent banner ───────────────────────────────────────────────────────────────────────────
   Ported here from nadvirna.css and experience.css, which were the last two reasons those two
   files shipped on every page. It is also a correction: the banner was styled for the 3.x palette
   and still rendered rgb(24,38,31) green next to the 4.x #102E25, which nobody had noticed
   because the banner only appears once per visitor.

   Not a dialog and not focus-trapped, deliberately: a labelled region the reader can ignore and
   scroll past, so it never holds anyone hostage for an answer. */

.consent-banner {
	position: fixed; z-index: 90;
	right: clamp(12px, 2.5vw, 38px); bottom: clamp(12px, 2.5vw, 38px); left: auto;
	width: min(520px, calc(100% - 24px));
	display: grid; gap: 18px; padding: 22px 24px;
	background: var(--nv3-dark); color: var(--nv3-on-dark);
	border: 1px solid rgba(246, 240, 229, .2); border-top: 3px solid var(--nv3-gold);
	border-radius: 8px; box-shadow: 0 24px 70px rgba(11, 36, 29, .34);
	font: 400 13px/1.55 var(--nv3-sans);
}
.consent-banner[hidden] { display: none; }
.consent-banner h2 { font: 500 clamp(19px, 2vw, 23px)/1.2 var(--nv3-serif); color: var(--nv3-on-dark); }
.consent-banner p { color: var(--nv3-on-dark-2); margin-top: 10px; }
.consent-banner a {
	display: inline-flex; align-items: center; min-height: 44px;
	font: 400 12px/1 var(--nv3-mono); color: var(--nv3-gold-light);
	text-decoration: underline; text-underline-offset: 3px;
}
.consent-banner a:hover { color: var(--nv3-on-dark); }

.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-actions .button {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 44px; min-width: 0; padding: 0 14px; cursor: pointer;
	border-radius: 6px; border: 1px solid rgba(246, 240, 229, .45);
	background: transparent; color: var(--nv3-on-dark);
	font: 600 12.5px/1 var(--nv3-sans); letter-spacing: .08em; text-transform: uppercase;
}
.consent-actions .button:hover { border-color: var(--nv3-gold-light); color: var(--nv3-gold-light); }
.consent-actions .button.dark { background: var(--nv3-gold); border-color: var(--nv3-gold); color: var(--nv3-dark-2); }
.consent-actions .button.dark:hover { background: var(--nv3-gold-light); border-color: var(--nv3-gold-light); color: var(--nv3-dark-2); }

@media (max-width: 767px) {
	.consent-banner { right: 12px; left: 12px; width: auto; padding: 18px; }
}

/* WordPress core and several plugins emit this; it has to keep working without the classic
   stylesheets that used to define it. */
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
