/* NADVIRNA — the homepage, and only the homepage.
 *
 * Transcribed from the "Головна сторінка зібрана" handoff. The handoff is a raster-accurate
 * design export with every rule written as an inline style; this is the same system expressed
 * once, against the shared tokens in nv3.css, so a palette change stays a one-file change.
 *
 * Nothing shared lives here — header, footer, buttons and the type scale are nv3.css and nowhere
 * else. A duplicated copy of those in this file is what quietly won on the homepage last time and
 * left the newsletter field 2px short of the tap-target minimum.
 */

/* ── The striped stand-in ─────────────────────────────────────────────────────────────────────
   The handoff draws unshot photography as a diagonal hatch. Only 49 of 385 places carry an image,
   so this is not an edge case — it is what most frames on the page contain, and it has to read as
   "no photograph yet" rather than as a broken image. */

.nv3 .nv3-stripe {
	position: absolute; inset: 0; display: block;
	background: repeating-linear-gradient(135deg, #DCD3C2 0 9px, #E8E1D3 9px 18px);
}
.nv3 .nv3-stripe__note {
	position: absolute; top: 12px; right: 14px;
	/* #7D7669 measured 4.24:1 on the hatch; this clears 4.5. */
	font: 400 11px/1 var(--nv3-mono); color: #6B6459;
}

/* ── Hero ─────────────────────────────────────────────────────────────────────────────────── */

.nv3-hero {
	position: relative; display: flex; background: var(--nv3-dark-2);
	min-height: min(90vh, 880px);
}
.nv3-hero__media { position: absolute; inset: 0; }
.nv3-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Left-weighted rather than a flat scrim: the copy sits left, and darkening the right as heavily
   would throw away the part of the photograph the reader is actually being shown. */
.nv3-hero__veil {
	position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(11,36,29,.93) 0%, rgba(11,36,29,.8) 44%, rgba(11,36,29,.28) 80%, rgba(11,36,29,.38) 100%);
}
.nv3-hero__inner {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end;
	gap: clamp(32px, 6vh, 64px); padding: clamp(48px, 9vh, 104px) 0 clamp(36px, 6vh, 56px);
}
.nv3-hero__copy { max-width: 660px; color: var(--nv3-on-dark); }
.nv3-hero__kicker {
	font: 400 12px/1.4 var(--nv3-mono); letter-spacing: .2em; text-transform: uppercase;
	color: var(--nv3-gold-light); margin-bottom: 20px;
}
.nv3-hero__h1 {
	/*
	 * The cap is 116px and not 132px because the column this sits in is a fixed 660px at every
	 * width above the mobile breakpoint, while 8vw keeps growing: past a ~1450px viewport the old
	 * 132px ceiling needed 684px and НАДВІРНА broke across two lines as "НАДВІРН" + "А". Measured
	 * rather than guessed — at 100px the word occupies 518px in Cormorant Garamond, 543px in
	 * Georgia. Georgia is the binding case, because it is what a reader gets when Google Fonts do
	 * not load, and it fits 660px only up to 121px. Below a 1450px viewport nothing changes.
	 */
	font: 500 clamp(52px, 8vw, 116px)/.92 var(--nv3-serif);
	letter-spacing: .01em; text-transform: uppercase; margin-bottom: 22px;
	/*
	 * Ukrainian display words do not hyphenate and will push the document sideways otherwise. This
	 * is the safety net, not the fit: it turns an overflow into a mid-word break, which is why the
	 * clamp above has to be right in the first place.
	 */
	overflow-wrap: anywhere;
}
.nv3-hero__lede { font: 400 clamp(21px, 2.4vw, 32px)/1.3 var(--nv3-serif); color: var(--nv3-cream-2); margin-bottom: 14px; }
.nv3-hero__sub { font: 400 15px/1.6 var(--nv3-sans); letter-spacing: .02em; color: var(--nv3-on-dark-3); margin-bottom: 32px; }
.nv3-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.nv3-stats {
	align-self: flex-end; width: min(100%, 720px);
	background: rgba(11, 36, 29, .62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(246, 240, 229, .18); border-radius: 10px;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
}
.nv3-stats__item { padding: 22px 20px; border-right: 1px solid rgba(246, 240, 229, .14); }
.nv3-stats__item:last-of-type { border-right: 0; }
.nv3-stats__v { font: 400 clamp(24px, 2.4vw, 30px)/1 var(--nv3-mono); color: var(--nv3-on-dark); overflow-wrap: anywhere; }
.nv3-stats__k { font: 400 12.5px/1.4 var(--nv3-sans); color: var(--nv3-on-dark-3); margin-top: 10px; }
.nv3-stats__note {
	grid-column: 1 / -1; border-top: 1px solid rgba(246, 240, 229, .14);
	padding: 12px 20px; font: 400 11.5px/1.4 var(--nv3-mono); color: rgba(246, 240, 229, .6);
}

/* ── Section furniture ────────────────────────────────────────────────────────────────────── */

.nv3-sec { padding: clamp(56px, 10vh, 120px) 0; }
.nv3-sec__top {
	display: flex; flex-wrap: wrap; gap: 24px;
	align-items: flex-end; justify-content: space-between; margin-bottom: 36px;
}
.nv3-sec__h { font: 500 clamp(30px, 4.4vw, 60px)/1.02 var(--nv3-serif); overflow-wrap: anywhere; }
.nv3-sec__h--mb { margin-bottom: 36px; }

/* ── Three ways in ────────────────────────────────────────────────────────────────────────── */

.nv3-entry { padding: clamp(56px, 10vh, 120px) 0; }
.nv3-entry__head {
	display: grid; gap: 32px; align-items: end; margin-bottom: 48px;
	grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
}
.nv3-entry__h { font: 500 clamp(34px, 5vw, 76px)/1.02 var(--nv3-serif); margin-top: 20px; overflow-wrap: anywhere; }
.nv3-entry__lede { font: 400 17px/1.7 var(--nv3-sans); color: var(--nv3-ink-2); max-width: 520px; }
.nv3-entry__grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }

.nv3-card {
	border: 1px solid var(--nv3-line); border-radius: 10px; overflow: hidden;
	background: var(--nv3-card); display: flex; flex-direction: column;
}
.nv3-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; display: block; }
.nv3-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv3-card__body { padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.nv3-card__k {
	font: 400 11.5px/1 var(--nv3-mono); letter-spacing: .14em;
	text-transform: uppercase; color: var(--nv3-ink-3);
}
.nv3-card__h { font: 500 clamp(24px, 2.4vw, 30px)/1.15 var(--nv3-serif); overflow-wrap: anywhere; }
.nv3-card__h a:hover { color: var(--nv3-gold-hover); }
.nv3-card__p { font: 400 15px/1.6 var(--nv3-sans); color: var(--nv3-ink-2); }

.nv3-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.nv3-chips a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px;
	border: 1px solid var(--nv3-line-2); border-radius: 6px;
	font: 400 13px/1 var(--nv3-sans); color: var(--nv3-ink-2);
}
.nv3-chips a:hover { border-color: var(--nv3-gold-hover); color: var(--nv3-gold-hover); }

/* ── Discover ─────────────────────────────────────────────────────────────────────────────── */

.nv3-disc {
	padding: clamp(52px, 9vh, 96px) 0; background: var(--nv3-cream-2);
	border-top: 1px solid var(--nv3-line); border-bottom: 1px solid var(--nv3-line);
}
.nv3-disc__grid { display: grid; gap: 40px; align-items: start; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.nv3-disc__col { display: flex; flex-direction: column; gap: 40px; }
.nv3-disc__h { font: 500 clamp(28px, 3.4vw, 46px)/1.05 var(--nv3-serif); margin-bottom: 8px; overflow-wrap: anywhere; }
.nv3-disc__p { font: 400 15px/1.7 var(--nv3-sans); color: var(--nv3-ink-2); margin-bottom: 20px; max-width: 46ch; }
/* The second question, introducing the geography row. Sized as a question and not as a heading:
   it is a peer of the first prompt, not a new section. */
.nv3-disc__q { font: 500 15px/1.5 var(--nv3-sans); color: var(--nv3-ink); margin: 26px 0 12px; }

.nv3-pillrow { display: flex; flex-wrap: wrap; gap: 9px; }
.nv3-pillrow a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 17px;
	border: 1px solid var(--nv3-line-2); border-radius: 999px; background: var(--nv3-card);
	font: 400 14px/1 var(--nv3-sans); color: var(--nv3-ink);
}
.nv3-pillrow a:hover { border-color: var(--nv3-dark); background: var(--nv3-dark); color: var(--nv3-on-dark); }

.nv3-rows { display: flex; flex-direction: column; margin-top: 14px; }
.nv3-rows a {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	min-height: 52px; padding: 6px 0; border-bottom: 1px solid var(--nv3-line);
	font: 400 clamp(20px, 2vw, 24px)/1.2 var(--nv3-serif); color: var(--nv3-ink);
}
.nv3-rows a:hover { color: var(--nv3-gold-hover); }
.nv3-rows__n { font: 400 12px/1 var(--nv3-mono); color: var(--nv3-ink-3); flex: none; }

.nv3-note2 { border: 1px solid var(--nv3-line); border-radius: 10px; background: var(--nv3-card); padding: 24px 22px; }
.nv3-note2__h { font: 400 clamp(21px, 2vw, 26px)/1.25 var(--nv3-serif); margin: 12px 0 14px; }
.nv3-note2__p { font: 400 15px/1.65 var(--nv3-sans); color: var(--nv3-ink-2); margin-bottom: 18px; }

.nv3-coords {
	font: 400 12px/1.7 var(--nv3-mono); color: var(--nv3-ink-3);
	border-left: 1px solid rgba(185, 145, 79, .5); padding-left: 16px; margin-top: 24px;
}

.nv3-feature {
	position: relative; display: block; min-height: 460px;
	border-radius: 10px; overflow: hidden; background: var(--nv3-dark-3);
}
.nv3-feature__media { position: absolute; inset: 0; display: block; }
.nv3-feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv3-feature__veil {
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(11,36,29,.93) 0%, rgba(11,36,29,.45) 48%, rgba(11,36,29,.1) 100%);
}
.nv3-feature__copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 26px; color: var(--nv3-on-dark); display: block; }
.nv3-feature__k {
	display: block; font: 400 11.5px/1 var(--nv3-mono); letter-spacing: .18em;
	text-transform: uppercase; color: var(--nv3-gold-light); margin-bottom: 14px;
}
.nv3-feature__h { display: block; font: 400 clamp(28px, 3.6vw, 46px)/1.05 var(--nv3-serif); margin-bottom: 14px; overflow-wrap: anywhere; }
.nv3-feature__p { display: block; font: 400 15px/1.6 var(--nv3-sans); color: var(--nv3-on-dark-2); max-width: 340px; margin-bottom: 18px; }
.nv3-feature__go {
	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-light);
}
.nv3-feature:hover .nv3-feature__go { color: var(--nv3-on-dark); }

/* ── Routes ───────────────────────────────────────────────────────────────────────────────── */

.nv3-rgrid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.nv3-route {
	border: 1px solid var(--nv3-line); border-radius: 10px; overflow: hidden;
	background: var(--nv3-card); display: flex; flex-direction: column;
}
.nv3-route__media { position: relative; aspect-ratio: 16/10; overflow: hidden; display: block; }
.nv3-route__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv3-route__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.nv3-route__h { font: 500 clamp(22px, 2.2vw, 27px)/1.1 var(--nv3-serif); overflow-wrap: anywhere; }
.nv3-route__h a:hover { color: var(--nv3-gold-hover); }
.nv3-route__meta {
	font: 400 12.5px/1.6 var(--nv3-mono); color: var(--nv3-ink-2);
	border-top: 1px solid var(--nv3-line); padding-top: 10px; margin-top: auto;
}

/* ── Events ───────────────────────────────────────────────────────────────────────────────── */

.nv3-events {
	padding: clamp(52px, 9vh, 100px) 0; background: var(--nv3-cream-2);
	border-top: 1px solid var(--nv3-line); border-bottom: 1px solid var(--nv3-line);
}
.nv3-events__grid { display: grid; gap: 40px; align-items: start; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.nv3-elist { display: flex; flex-direction: column; }

.nv3-ev {
	display: flex; gap: 22px; padding: 20px 0; align-items: flex-start;
	border-bottom: 1px solid var(--nv3-line-2);
}
.nv3-ev:hover { color: var(--nv3-gold-hover); }
.nv3-ev__date { flex: none; width: 64px; text-align: center; }
.nv3-ev__day { display: block; font: 400 clamp(32px, 3.4vw, 42px)/1 var(--nv3-serif); }
.nv3-ev__mon { display: block; font: 400 11.5px/1.4 var(--nv3-mono); letter-spacing: .14em; color: var(--nv3-ink-3); }
.nv3-ev__body { display: block; min-width: 0; }
.nv3-ev__k {
	display: block; font: 400 11.5px/1 var(--nv3-mono); letter-spacing: .14em;
	text-transform: uppercase; color: var(--nv3-ink-3); margin-bottom: 8px;
}
.nv3-ev__h { display: block; font: 400 clamp(21px, 2vw, 26px)/1.15 var(--nv3-serif); margin-bottom: 8px; overflow-wrap: anywhere; }
.nv3-ev__p { display: block; font: 400 14px/1.6 var(--nv3-sans); color: var(--nv3-ink-2); }
/* The second metadata line. Quieter than the first: "how far and how long" is what a reader scans
   for, "what kind" is what they check once they are interested. */
.nv3-route__meta--2 { color: var(--nv3-ink-3); margin-top: 2px; }

/*
 * The whole card is the target, not the 26px of title text inside it.
 *
 * Measured: the route and story title links were 26px and 29px tall, under this project's 44px
 * floor and close to WCAG 2.2's 24px minimum. Rather than padding the heading — which would move
 * type the design has already settled — the link stretches over its card, so the target becomes
 * 453px and 364px tall while nothing visible changes.
 *
 * Only these two. `.nv3-card` holds five links and an overlay there would swallow the four chips;
 * `.nv3-ev` is already an anchor wrapping the whole row. The rule is opt-in for exactly the cards
 * whose only action is "open this".
 */
.nv3-route, .nv3-story { position: relative; }
.nv3-route__h a::after, .nv3-story__h a::after { content: ""; position: absolute; inset: 0; }
/* The focus ring still draws around the words, which is what tells a keyboard reader where
   they are — the overlay carries the pointer target, not the outline. */

/*
 * «Надвірна зараз» — a strip, not a section. Dark ground because it sits between two cream ones
 * and the alternation is what gives this page its rhythm; compact because it is a single sentence
 * about today, and anything taller would compete with the events section directly under it.
 */
.nv3-now { background: var(--nv3-dark); color: var(--nv3-on-dark); padding: 34px 0; }
.nv3-now__in { display: grid; gap: 22px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .nv3-now__in { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 34px; } }
.nv3-now__season { font: 400 clamp(24px, 2.6vw, 34px)/1.15 var(--nv3-serif); margin: 6px 0 6px; overflow-wrap: anywhere; }
.nv3-now__line { font: 400 14px/1.6 var(--nv3-sans); color: var(--nv3-on-dark-2); max-width: 46ch; }
.nv3-now__facts { display: grid; gap: 12px; margin: 0; }
.nv3-now__facts dt { font: 500 10px/1.4 var(--nv3-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--nv3-gold-light); }
.nv3-now__facts dd { margin: 3px 0 0; font: 400 14px/1.45 var(--nv3-sans); overflow-wrap: anywhere; }
/* Padded to a real target: as a bare inline link this measured 20px tall, under WCAG 2.2's 24px
   floor — the smallest interactive thing on the page, and one I had just added. */
.nv3-now__facts a { display: inline-block; padding: 5px 0; border-bottom: 1px solid rgba(246, 240, 229, .3); }
.nv3-now__facts a:hover { border-color: var(--nv3-gold-light); }
.nv3-now__cta { justify-self: start; }

/* The two halves of the practical section, separated by a label rather than a box: one is what you
   read before you come, the other only means anything while you are standing in the town. */
.nv3-prac__group + .nv3-prac__group { margin-top: 34px; }
.nv3-prac__k {
	font: 500 10.5px/1.4 var(--nv3-mono); letter-spacing: .14em; text-transform: uppercase;
	color: var(--nv3-ink-3); margin-bottom: 14px; padding-bottom: 10px;
	border-bottom: 1px solid var(--nv3-line);
}

/*
 * ── Map preview ──────────────────────────────────────────────────────────────────────────────
 *
 * Two thirds map, one third panel, which is the ratio the brief asks for and the one that lets the
 * embed read as a map rather than a thumbnail. Below 900px the panel goes under the map: side by
 * side on a phone gives neither of them room.
 */
.nv3-mapprev__grid { display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .nv3-mapprev__grid { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); } }

.nv3-mapprev__map { border: 1px solid var(--nv3-line); border-radius: 10px; overflow: hidden; background: var(--nv3-cream-2); }
/* An explicit height, so the iframe does not load into a zero-height box and shove the page down
   when it paints — the layout shift the brief asks to avoid. */
.nv3-mapprev__frame { display: block; width: 100%; height: clamp(300px, 46vh, 460px); border: 0; }
.nv3-mapprev__attr { padding: 8px 12px; font: 400 11.5px/1.4 var(--nv3-sans); color: var(--nv3-ink-3); border-top: 1px solid var(--nv3-line); }

.nv3-mapprev__side { display: grid; gap: 16px; }
.nv3-mapprev__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nv3-mapprev__chips a {
	/* 44px, not 36: WCAG 2.5.5 is the project's floor for anything you tap, and a filter chip on a
	   phone is exactly the control that gets missed when it is smaller. */
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px;
	border: 1px solid var(--nv3-line-2); border-radius: 999px;
	font: 400 12.5px/1 var(--nv3-sans); color: var(--nv3-ink-2); background: var(--nv3-card);
}
.nv3-mapprev__chips a:hover { border-color: var(--nv3-gold-hover); color: var(--nv3-gold-hover); }
.nv3-mapprev__chips a[aria-current] { background: var(--nv3-dark); border-color: var(--nv3-dark); color: var(--nv3-on-dark); }

.nv3-mapprev__list { list-style: none; margin: 0; padding: 0; max-height: 268px; overflow-y: auto; border-top: 1px solid var(--nv3-line); }
.nv3-mapprev__list li { border-bottom: 1px solid var(--nv3-line); }
.nv3-mapprev__list button {
	display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 11px; align-items: center;
	width: 100%; min-height: 44px; padding: 9px 4px; text-align: left;
	background: none; border: 0; cursor: pointer; color: inherit; font: inherit;
}
.nv3-mapprev__list button:hover .nv3-mapprev__h { color: var(--nv3-gold-hover); }
.nv3-mapprev__list button[aria-pressed="true"] { background: var(--nv3-cream-2); }
.nv3-mapprev__thumb { display: block; width: 46px; height: 46px; border-radius: 3px; overflow: hidden; background: var(--nv3-cream-2); }
.nv3-mapprev__thumb img, .nv3-mapprev__thumb .nv3-stripe { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv3-mapprev__h { display: block; font: 400 14.5px/1.3 var(--nv3-serif); overflow-wrap: anywhere; }
.nv3-mapprev__m { display: block; margin-top: 3px; font: 400 11.5px/1.4 var(--nv3-sans); color: var(--nv3-ink-3); }
.nv3-mapprev__none { font: 400 13.5px/1.6 var(--nv3-sans); color: var(--nv3-ink-2); }

.nv3-mapprev__card { border: 1px solid var(--nv3-line); border-radius: 8px; padding: 16px 16px 18px; background: var(--nv3-card); }
.nv3-mapprev__cardk { font: 500 10.5px/1.4 var(--nv3-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--nv3-ink-3); }
.nv3-mapprev__cardh { font: 400 clamp(18px, 1.7vw, 22px)/1.25 var(--nv3-serif); margin: 6px 0 8px; overflow-wrap: anywhere; }
.nv3-mapprev__cardp { font: 400 13.5px/1.6 var(--nv3-sans); color: var(--nv3-ink-2); }
/* The verification line, in the mono face this project reserves for provenance. */
.nv3-mapprev__cardt { margin-top: 8px; font: 400 11px/1.4 var(--nv3-mono); letter-spacing: .04em; color: var(--nv3-ink-3); }
.nv3-mapprev__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/*
 * "Куди далі з Надвірної" — thin rules and typography rather than a row of bordered pills, which
 * is what the brief asks for and what this design already does everywhere else. Numbered because
 * the order carries information here: the list runs outward from the town, which is the whole
 * argument the section is making.
 */
.nv3-onward { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--nv3-line); }
.nv3-onward li { border-bottom: 1px solid var(--nv3-line); }
.nv3-onward a {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline;
	gap: 14px; padding: 14px 2px; min-height: 44px;
}
.nv3-onward a:hover { color: var(--nv3-gold-hover); }
.nv3-onward__n { font: 500 11px/1.4 var(--nv3-mono); color: var(--nv3-gold); letter-spacing: .08em; }
.nv3-onward__h { display: block; font: 400 clamp(17px, 1.6vw, 20px)/1.3 var(--nv3-serif); overflow-wrap: anywhere; }
.nv3-onward__m { display: block; margin-top: 4px; font: 400 12.5px/1.5 var(--nv3-sans); color: var(--nv3-ink-3); }
.nv3-onward__a { color: var(--nv3-ink-3); }

.nv3-ev__empty { padding: 26px 0; border-bottom: 1px solid var(--nv3-line-2); font: 400 22px/1.4 var(--nv3-serif); color: var(--nv3-ink-2); }

/*
 * The empty state, built to be worth reading rather than to apologise. Same rule and serif the
 * event rows use, so an absence looks like part of the page and not like a failure of it — which
 * matters, because this is the state the section will be in whenever the town is quiet.
 */
.nv3-ev-empty { padding: 34px 0 6px; border-top: 1px solid var(--nv3-line-2); }
.nv3-ev-empty__h { font: 400 clamp(22px, 2.4vw, 30px)/1.3 var(--nv3-serif); color: var(--nv3-ink); margin-bottom: 10px; overflow-wrap: anywhere; }
.nv3-ev-empty__p { font: 400 15px/1.65 var(--nv3-sans); color: var(--nv3-ink-2); max-width: 44ch; margin-bottom: 22px; }
.nv3-ev-empty__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.nv3-ev-empty__n { font: 500 11px/1 var(--nv3-mono); opacity: .75; }

/* "Сьогодні" on a running event. Gold on dark green, the accent this design already reserves for
   the one thing on a screen that is happening now. */
.nv3-ev__now {
	display: inline-block; margin-bottom: 6px; padding: 3px 8px; border-radius: 2px;
	background: var(--nv3-dark); color: var(--nv3-gold-light);
	font: 500 10.5px/1.4 var(--nv3-mono); letter-spacing: .12em; text-transform: uppercase;
}
.nv3-elist .nv3-more { margin-top: 20px; }

/* ── Stories ──────────────────────────────────────────────────────────────────────────────── */

.nv3-stories { display: grid; gap: 40px; align-items: start; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.nv3-stories__col { display: flex; flex-direction: column; gap: 24px; }
.nv3-story {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	border: 1px solid var(--nv3-line); border-radius: 10px; overflow: hidden; background: var(--nv3-card);
}
.nv3-story__media { position: relative; min-height: 220px; overflow: hidden; display: block; }
.nv3-story__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv3-story__body { padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.nv3-story__h { font: 500 clamp(24px, 2.6vw, 32px)/1.1 var(--nv3-serif); overflow-wrap: anywhere; }
.nv3-story__h a:hover { color: var(--nv3-gold-hover); }

/* ── Practical ────────────────────────────────────────────────────────────────────────────── */

.nv3-prac {
	padding: clamp(52px, 9vh, 100px) 0; background: var(--nv3-card);
	border-top: 1px solid var(--nv3-line); border-bottom: 1px solid var(--nv3-line);
}
/* One-pixel gaps over a tinted ground draw the grid rules, so the tiles need no borders of their
   own and the corners stay clean where four meet. */
.nv3-tiles {
	display: grid; gap: 1px; background: var(--nv3-line);
	border: 1px solid var(--nv3-line); border-radius: 10px; overflow: hidden;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}
.nv3-tile { background: var(--nv3-cream); padding: 26px 22px; display: flex; flex-direction: column; gap: 10px; min-height: 160px; }
.nv3-tile:hover { background: var(--nv3-cream-2); }
.nv3-tile__h { font: 400 clamp(22px, 2.2vw, 27px)/1.15 var(--nv3-serif); color: var(--nv3-ink); overflow-wrap: anywhere; }
.nv3-tile:hover .nv3-tile__h { color: var(--nv3-gold-hover); }
.nv3-tile__p { font: 400 14.5px/1.6 var(--nv3-sans); color: var(--nv3-ink-2); }

/* ── Business ─────────────────────────────────────────────────────────────────────────────── */

.nv3-biz { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }
.nv3-biz__media { position: relative; min-height: 320px; overflow: hidden; }
.nv3-biz__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv3-biz__panel { background: var(--nv3-dark); display: flex; align-items: center; padding: clamp(40px, 7vh, 72px) clamp(24px, 5vw, 72px); }
.nv3-biz__inner { max-width: 520px; color: var(--nv3-on-dark); }
.nv3-biz__h { font: 500 clamp(28px, 3.6vw, 50px)/1.05 var(--nv3-serif); margin-bottom: 18px; overflow-wrap: anywhere; }
.nv3-biz__p { font: 400 16px/1.7 var(--nv3-sans); color: var(--nv3-on-dark-2); margin-bottom: 24px; }
.nv3-biz__cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.nv3-biz__link {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px;
	font: 600 13px/1 var(--nv3-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--nv3-on-dark-2);
}
.nv3-biz__link:hover { color: var(--nv3-gold-light); }

/* ── Contribute ───────────────────────────────────────────────────────────────────────────── */

.nv3-contrib { padding: clamp(44px, 8vh, 84px) 0; background: var(--nv3-cream-2); border-top: 1px solid var(--nv3-line); }
.nv3-contrib__row { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.nv3-contrib__h { font: 500 clamp(26px, 3.4vw, 42px)/1.1 var(--nv3-serif); margin-bottom: 12px; overflow-wrap: anywhere; }
.nv3-contrib__p { font: 400 16px/1.65 var(--nv3-sans); color: var(--nv3-ink-2); margin-bottom: 12px; max-width: 52ch; }
.nv3-contrib__links { display: flex; flex-wrap: wrap; gap: 18px; }
.nv3-contrib__links a {
	display: inline-flex; align-items: center; min-height: 44px;
	font: 400 14px/1 var(--nv3-sans); color: var(--nv3-ink-2);
	border-bottom: 1px solid rgba(58, 48, 35, .25);
}
.nv3-contrib__links a:hover { color: var(--nv3-gold-hover); border-bottom-color: var(--nv3-gold-hover); }

/* ── Card targets ─────────────────────────────────────────────────────────────────────────────
   A card title is an anchor around one line of display type, so its own box is 26–29px tall —
   under the 44px minimum, and a needlessly small target next to a card that already looks
   clickable. The title's ::after covers the whole card instead, which both satisfies the minimum
   and matches what a reader expects when they aim at the photograph.

   The chips inside an entry card are separate destinations, so they are lifted above the overlay
   rather than swallowed by it. */

.nv3 .nv3-card, .nv3 .nv3-route, .nv3 .nv3-story { position: relative; }
.nv3 .nv3-card__h a::after,
.nv3 .nv3-route__h a::after,
.nv3 .nv3-story__h a::after {
	content: ""; position: absolute; inset: 0; z-index: 0;
}
.nv3 .nv3-chips { position: relative; z-index: 1; }

/* The hover state belongs to the whole card once the whole card is the target. */
.nv3 .nv3-card:hover .nv3-card__h a,
.nv3 .nv3-route:hover .nv3-route__h a,
.nv3 .nv3-story:hover .nv3-story__h a { color: var(--nv3-gold-hover); }
.nv3 .nv3-card:hover, .nv3 .nv3-route:hover, .nv3 .nv3-story:hover { border-color: var(--nv3-line-2); }
