/*
Theme Name: Maptre
Theme URI: https://mapiranjetresnjevke.com
Author: BozooArt
Author URI: https://www.bozooart.com
Description: Bold / arhivski editorial redizajn za projekt Mapiranje Trešnjevke. Native filter (kvart × tema), Leaflet mapa, bez ovisnosti o eksternim plugin shortcodeovima.
Version: 2026.2.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mapiranje
*/

/* ============================================================
   1. Tokens
   ============================================================ */
:root {
	/* Boje — bold archival */
	--mp-red:        #c23028;
	--mp-hero-circle: var(--mp-red);
	--mp-bordeaux:   var(--mp-red);
	--mp-bordeaux-d: #9a1f1a;
	--mp-cream:      #f4ede0;
	--mp-cream-d:    #e9dec9;
	--mp-ink:        #1a1411;
	--mp-ink-soft:   #4a3f38;
	--mp-paper:      #fbf8f1;
	--mp-accent:     var(--mp-blue);   /* plava — identitet */
	--mp-blue:       #098ab8;   /* identitet plava */

	/* Tipografija */
	--mp-font-display: 'Fraunces', Georgia, serif;
	--mp-font-body:    'Inter', -apple-system, system-ui, sans-serif;
	--mp-font-mono:    'JetBrains Mono', 'Courier New', monospace;
	--mp-font-label:   var(--mp-font-mono);

	/* Spacing */
	--mp-wrap:    1400px;
	--mp-content: 760px;
	--mp-gap:     clamp(16px, 2vw, 32px);

	/* Radius / shadow */
	--mp-radius:    0px;          /* poster: oštri rubovi */
	--mp-radius-sm: 2px;
	--mp-shadow:    8px 8px 0 var(--mp-ink);
	--mp-shadow-sm: 4px 4px 0 var(--mp-ink);
	--mp-trans:     200ms ease;
}

/* ============================================================
   2. Reset / base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; }

/* --- Scroll animations --- */
@keyframes mp-fadeUp {
	from { opacity: 0; transform: translateY(24px); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes mp-fadeIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}
@keyframes mp-scaleIn {
	from { opacity: 0; transform: scale(.95); }
	to   { opacity: 1; transform: scale(1); }
}
.mp-anim {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .6s ease, transform .6s ease;
}
.mp-anim.is-visible {
	opacity: 1;
	transform: translateY(0);
}
.mp-anim--delay-1 { transition-delay: .1s; }
.mp-anim--delay-2 { transition-delay: .2s; }
.mp-anim--delay-3 { transition-delay: .3s; }
.mp-anim--delay-4 { transition-delay: .4s; }
.mp-anim--delay-5 { transition-delay: .5s; }
.mp-anim--up { transform: translateY(32px); }
.mp-anim--left { transform: translateX(-30px); }
.mp-anim--right { transform: translateX(30px); }
.mp-anim--scale { transform: scale(.92); }
.mp-anim--up.is-visible,
.mp-anim--left.is-visible,
.mp-anim--right.is-visible,
.mp-anim--scale.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.mp-anim { opacity: 1; transform: none; transition: none; }
}
html { -webkit-text-size-adjust: 100%; background: var(--mp-ink); }
html { margin-top: 0 !important; }
.admin-bar #header { margin-top: 32px; }
@media (max-width: 782px) { .admin-bar #header { margin-top: 46px; } }
body {
	margin: 0;
	background: var(--mp-paper);
	color: var(--mp-ink);
	font: 17px/1.65 var(--mp-font-body);
	font-feature-settings: "ss01", "cv11";
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--mp-bordeaux); text-decoration: none; transition: var(--mp-trans); cursor: pointer; }
a:hover { color: var(--mp-ink); }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--mp-font-display);
	font-weight: 400;
	font-style: italic;
	color: var(--mp-ink);
	line-height: 1.05;
	margin: 0;
	font-variation-settings: "opsz" 72, "SOFT" 50;
	letter-spacing: -.02em;
}
h1 { font-size: clamp(36px, 6vw, 84px); letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4vw, 52px); letter-spacing: -0.015em; }
h3 { font-size: clamp(20px, 2vw, 28px); }

p { margin: 0 0 1em; }

::selection { background: var(--mp-blue); color: var(--mp-ink); }

.wrapper { max-width: var(--mp-wrap); margin: 0 auto; padding: 0 24px; }

/* Eyebrow / poster label */
.eyebrow {
	font: 600 0.72rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--mp-red);
	display: inline-block;
	padding: 0;
	border: none;
	background: none;
}

/* ============================================================
   3. Header — bold poster nav
   ============================================================ */
#header {
	background: var(--mp-hero-circle);
	color: var(--mp-paper);
	position: relative;
	z-index: 1000;
}
#nav.wrapper {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 18px clamp(20px, 4vw, 56px);
	max-width: 100%;
	width: 100%;
}
#header .logo,
#header .custom-logo {
	max-width: 270px;
	height: auto;
	position: relative;
	z-index: 10;
	margin-top: -10px;
	margin-bottom: -35px;
	transform: rotate(-1.5deg);
	transition: var(--mp-trans);
}
#header .logo:hover { filter: drop-shadow(0 0 8px rgba(9,138,184,.4)); }

.nav { display: flex; align-items: center; gap: 20px; margin-left: auto; order: 2; }
.nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav .menu li { position: relative; }
.nav .menu a {
	color: var(--mp-paper);
	font: 600 0.95rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .1em;
	padding: 10px 18px;
	display: block;
	border-radius: 4px;
	transition: background .2s ease, color .2s ease;
}
.nav .menu a:hover,
.nav .menu .current-menu-item > a,
.nav .menu .current-category-ancestor > a {
	background: rgba(255,255,255,.15);
	color: #fff;
}
.nav .menu li { padding-bottom: 8px; margin-bottom: -8px; }
.nav .menu li ul {
	position: absolute;
	top: 100%; left: 0;
	background: var(--mp-bordeaux-d);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.06),
	            0 12px 32px rgba(0,0,0,.3);
	min-width: 240px;
	display: none;
	z-index: 100;
	padding: 6px 0;
	list-style: none;
	border-radius: 0 0 6px 6px;
}
.nav .menu li:hover ul { display: block; animation: mp-dropIn .2s ease; }
@keyframes mp-dropIn {
	from { opacity: 0; transform: translateY(-4px); }
	to   { opacity: 1; transform: translateY(0); }
}
.nav .menu li li { padding: 0; margin: 0; }
.nav .menu li li + li {
	border-top: 1px solid rgba(255,255,255,.08);
}
.nav .menu li li a {
	padding: 12px 20px 12px 28px;
	font: 500 0.85rem/1.3 var(--mp-font-body);
	letter-spacing: .02em;
	color: rgba(255,255,255,.8);
	border-radius: 0;
	text-transform: none;
	position: relative;
}
.nav .menu li li a::before {
	content: '';
	position: absolute;
	left: 16px;
	top: 50%;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: rgba(255,255,255,.3);
	transform: translateY(-50%);
}
.nav .menu li li a:hover {
	background: rgba(255,255,255,.1);
	color: #fff;
}
.nav .menu li li a:hover::before {
	background: #fff;
}
.nav .menu li li.current-menu-item > a,
.nav .menu li li.current-category-ancestor > a {
	color: #fff;
	background: rgba(255,255,255,.1);
}
.nav .menu li li.current-menu-item > a::before,
.nav .menu li li.current-category-ancestor > a::before {
	background: #fff;
}

.lang { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.lang a {
	display: block;
	padding: 8px 12px;
	font: 600 11px/1 var(--mp-font-label);
	text-transform: uppercase;
	color: var(--mp-paper);
	border: 1.5px solid var(--mp-paper);
}
.lang a:hover { background: var(--mp-paper); color: var(--mp-bordeaux); }

/* Header actions — search + hamburger group */
.header__actions { display: flex; align-items: center; gap: 8px; order: 3; }

/* Hamburger — always hidden on desktop, visible on mobile */
.button_container { display: none; cursor: pointer; padding: 0; position: relative; z-index: 10; background: none; border: none; -webkit-appearance: none; appearance: none; color: inherit; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.button_container i { display: block; width: 22px; height: 2px; background: #fff; transition: transform .25s ease, opacity .25s ease; border-radius: 1px; font-style: normal; }
.button_container.active .top    { transform: translateY(7px) rotate(45deg); }
.button_container.active .middle { opacity: 0; }
.button_container.active .bottom { transform: translateY(-7px) rotate(-45deg); }

/* Chevron in parent menu links */
.menu-chevron { display: none; }

/* === Mobile navigation (<768px) === */
@media (max-width: 767px) {
	#header { position: sticky; top: 0; }
	#nav.wrapper {
		padding: 12px clamp(16px, 4vw, 24px);
		justify-content: space-between;
	}
	#header .logo,
	#header .custom-logo {
		max-width: 200px;
		margin-top: -30px;
	}
	.button_container {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 44px;
		height: 44px;
	}

	/* Nav panel — full-screen overlay feel */
	.nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--mp-hero-circle);
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0;
		z-index: 999;
		max-height: calc(100vh - 60px);
		max-height: calc(100dvh - 60px);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		border-top: 1px solid rgba(255,255,255,.15);
	}
	.nav.open { display: flex; }

	/* Top-level menu items */
	.nav .menu {
		flex-direction: column;
		gap: 0;
		padding: 0;
	}
	.nav .menu > li {
		padding: 0;
		margin: 0;
	}
	.nav .menu > li + li {
		border-top: 1px solid rgba(255,255,255,.12);
	}
	.nav .menu a {
		padding: 16px 24px;
		font: 600 0.95rem/1.2 var(--mp-font-body);
		text-transform: uppercase;
		letter-spacing: .08em;
		border-radius: 0;
		display: block;
		color: #fff;
	}
	.nav .menu a:hover,
	.nav .menu .current-menu-item > a {
		background: rgba(255,255,255,.1);
	}

	/* Parent items — whole link is toggle */
	.nav .menu li.menu-item-has-children > a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		cursor: pointer;
	}

	/* Chevron */
	.menu-chevron {
		display: flex;
		align-items: center;
		margin-left: auto;
		padding-left: 12px;
		color: rgba(255,255,255,.5);
		transition: transform .3s ease;
	}
	.menu-chevron svg { pointer-events: none; }
	.submenu-open > a .menu-chevron {
		transform: rotate(180deg);
		color: #fff;
	}

	/* Submenus — full-width panel, same visual language */
	.nav .menu li ul {
		position: static;
		display: none;
		background: rgba(0,0,0,.18);
		box-shadow: inset 0 1px 0 rgba(255,255,255,.06),
		            inset 0 -1px 0 rgba(255,255,255,.06);
		border-radius: 0;
		padding: 6px 0;
		min-width: 0;
		animation: none;
	}
	.nav .menu li ul.is-open {
		display: block;
	}
	.nav .menu li:hover ul { display: none; }
	.nav .menu li ul.is-open { display: block; }

	/* Sub-items — full width, clear hierarchy */
	.nav .menu li li {
		border-bottom: 0;
		padding: 0;
		margin: 0;
	}
	.nav .menu li li + li {
		border-top: 1px solid rgba(255,255,255,.05);
	}
	.nav .menu li li a {
		padding: 12px 24px 12px 32px;
		font: 500 0.85rem/1.3 var(--mp-font-body);
		letter-spacing: .02em;
		color: rgba(255,255,255,.75);
		text-transform: none;
		border-radius: 0;
		position: relative;
	}
	.nav .menu li li a::before {
		content: '';
		position: absolute;
		left: 20px;
		top: 50%;
		width: 4px;
		height: 4px;
		border-radius: 50%;
		background: rgba(255,255,255,.25);
		transform: translateY(-50%);
	}
	.nav .menu li li a:hover,
	.nav .menu li li.current-menu-item > a {
		color: #fff;
		background: rgba(255,255,255,.08);
	}
	.nav .menu li li.current-menu-item > a::before {
		background: #fff;
	}

	/* Lang row — part of the whole */
	.lang {
		justify-content: flex-start;
		padding: 14px 24px;
		gap: 6px;
		border-top: 1px solid rgba(255,255,255,.12);
		background: rgba(0,0,0,.1);
	}

	/* Body lock */
	body.nav-open { overflow: hidden; }
}

/* ============================================================
   4. Hero — editorial featured story
   ============================================================ */
.hero {
	background: var(--mp-cream);
	border-bottom: 4px solid var(--mp-ink);
	padding: 60px 0;
	position: relative;
	overflow: hidden;
}
.hero::before {
	content: '';
	position: absolute;
	top: -50px; right: -50px;
	width: 300px; height: 300px;
	background: var(--mp-blue);
	opacity: 0.18;
	transform: rotate(15deg);
	pointer-events: none;
}

.hero__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 48px;
	align-items: stretch;
	position: relative;
	z-index: 1;
}

.hero__main {
	background: var(--mp-paper);
	border: 3px solid var(--mp-ink);
	box-shadow: var(--mp-shadow);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.hero__main .img {
	display: block;
	aspect-ratio: 16/10;
	overflow: hidden;
	border-bottom: 3px solid var(--mp-ink);
	position: relative;
}
.hero__main .img img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: 600ms ease;
}
.hero__main:hover .img img { transform: scale(1.04); }
.hero__main .body { padding: 32px 36px 36px; }
.hero__main h1 a { color: inherit; }
.hero__main h1 { margin: 14px 0 16px; }
.hero__main .excerpt { font-size: 18px; color: var(--mp-ink-soft); }
.hero__main .meta { margin-top: 20px; font: 600 12px/1 var(--mp-font-label); text-transform: uppercase; letter-spacing: 0.1em; color: var(--mp-bordeaux); }

/* --- Category hero — full-width image banner --- */
.cat-hero {
	position: relative;
	min-height: 380px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--mp-blue);
}
.cat-hero__bg {
	position: absolute;
	inset: 0;
	opacity: .3;
	mix-blend-mode: luminosity;
}
.cat-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: grayscale(1) contrast(1.1);
}
.cat-hero__overlay {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at center, rgba(9,138,184,.3) 0%, rgba(5,101,148,.7) 100%);
}
.cat-hero__inner {
	position: relative;
	z-index: 1;
	text-align: center;
	padding-top: 120px;
	padding-bottom: 60px;
}
.cat-hero__text { max-width: 700px; margin: 0 auto; }
.cat-hero__parent {
	display: inline-block;
	font: 600 0.75rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .16em;
	color: rgba(255,255,255,.6);
	margin-bottom: 20px;
}
.cat-hero__title {
	font: 400 clamp(4rem, 10vw, 9rem)/0.95 var(--mp-font-display);
	font-style: italic;
	font-variation-settings: "opsz" 144, "SOFT" 50;
	letter-spacing: -.03em;
	color: #fff;
	margin: 0 0 24px;
}
.cat-hero__desc {
	font: 400 1.15rem/1.6 var(--mp-font-body);
	color: rgba(255,255,255,.75);
	max-width: 48ch;
	margin: 0 auto 24px;
}
.cat-hero__desc p { margin: 0; }
.cat-hero__count {
	display: inline-block;
	font: 700 0.75rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .1em;
	color: #fff;
	padding: 10px 20px;
	border: 1px solid rgba(255,255,255,.3);
	border-radius: 20px;
	backdrop-filter: blur(6px);
	background: rgba(255,255,255,.08);
}
@media (max-width: 600px) {
	.cat-hero { min-height: 380px; }
	.cat-hero__inner { padding-top: 90px; padding-bottom: 40px; }
}

/* --- Category sort bar --- */
.cat-sort {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 36px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(0,0,0,.08);
}
.cat-sort__label {
	font: 600 0.75rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--mp-ink-soft);
	flex-shrink: 0;
}
.cat-sort__options { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-sort__btn {
	font: 500 0.85rem/1 var(--mp-font-body);
	padding: 9px 18px;
	border: 1px solid rgba(0,0,0,.12);
	border-radius: 20px;
	color: var(--mp-ink);
	text-decoration: none;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
	cursor: pointer;
}
.cat-sort__btn:hover {
	background: var(--mp-ink);
	border-color: var(--mp-ink);
	color: #fff;
}
.cat-sort__btn.is-active {
	background: var(--mp-red);
	border-color: var(--mp-red);
	color: #fff;
}

.hero__side { display: flex; flex-direction: column; gap: 24px; }
.hero__sub {
	background: var(--mp-paper);
	border: 2px solid var(--mp-ink);
	box-shadow: var(--mp-shadow-sm);
	padding: 20px 24px;
	transition: var(--mp-trans);
}
.hero__sub:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--mp-ink); }
.hero__sub h3 { font-size: 22px; margin: 8px 0 0; }
.hero__sub h3 a { color: inherit; }
.hero__sub .num { font: 700 36px/1 var(--mp-font-display); color: var(--mp-bordeaux); }

/* ============================================================
   5. Strip / sections
   ============================================================ */
.section {
	padding: 80px 0;
	border-bottom: 1px solid rgba(0,0,0,.1);
	background: var(--mp-paper);
}
.section--cream {
	background-color: #f6f3ee;
	background-image:
		linear-gradient(rgba(26,26,26,.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(26,26,26,.03) 1px, transparent 1px);
	background-size: 32px 32px, 32px 32px;
	background-position: -1px -1px;
	position: relative;
}
.section--cream > .wrapper { position: relative; z-index: 1; }
.section--ink   { background: var(--mp-ink); color: var(--mp-paper); }
.section--ink h2, .section--ink h3 { color: var(--mp-paper); }
.section--map   { background: #fff; color: var(--mp-ink); }

/* Topographic contour lines — reusable */
.section--topo { position: relative; }
.section--topo::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: .06;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cellipse cx='300' cy='300' rx='280' ry='260' fill='none' stroke='%23098ab8' stroke-width='1'/%3E%3Cellipse cx='300' cy='300' rx='240' ry='220' fill='none' stroke='%23098ab8' stroke-width='1'/%3E%3Cellipse cx='310' cy='290' rx='200' ry='180' fill='none' stroke='%23098ab8' stroke-width='1'/%3E%3Cellipse cx='320' cy='280' rx='160' ry='140' fill='none' stroke='%23098ab8' stroke-width='1'/%3E%3Cellipse cx='310' cy='270' rx='120' ry='105' fill='none' stroke='%23098ab8' stroke-width='1'/%3E%3Cellipse cx='305' cy='265' rx='80' ry='70' fill='none' stroke='%23098ab8' stroke-width='1'/%3E%3Cellipse cx='300' cy='260' rx='45' ry='38' fill='none' stroke='%23098ab8' stroke-width='1'/%3E%3C/svg%3E") repeat center;
	background-size: 500px 500px;
}
.section--topo > .wrapper { position: relative; z-index: 1; }

.section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 48px;
	border-bottom: none;
	padding-bottom: 0;
	flex-wrap: wrap;
}
.section__head h2 {
	font: 400 clamp(2.4rem, 4.5vw, 4rem)/1.05 var(--mp-font-display);
	font-style: italic;
	font-variation-settings: "opsz" 72, "SOFT" 50;
	letter-spacing: -.02em;
	color: var(--mp-red);
	position: relative;
	padding-bottom: 20px;
}
.section--ink .section__head h2 { color: var(--mp-paper); }

/* Section title underlines removed — only banner keeps decoration */
.section__head h2::after { display: none; }
.section__head .meta {
	font: 600 0.72rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--mp-ink-soft);
}
.section__lead {
	font: 400 0.95rem/1.6 var(--mp-font-body);
	color: var(--mp-ink-soft);
	margin: 0 0 16px;
	max-width: 60ch;
}

/* ============================================================
   6. Card grid (general)
   ============================================================ */
.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 32px 28px;
}
.card-grid .card { animation: fadeUp 400ms ease both; animation-delay: calc(var(--ci, 0) * 80ms); }
.card-grid .card:nth-child(1)  { --ci: 0; }
.card-grid .card:nth-child(2)  { --ci: 1; }
.card-grid .card:nth-child(3)  { --ci: 2; }
.card-grid .card:nth-child(4)  { --ci: 3; }
.card-grid .card:nth-child(5)  { --ci: 4; }
.card-grid .card:nth-child(6)  { --ci: 5; }
.card-grid .card:nth-child(7)  { --ci: 6; }
.card-grid .card:nth-child(8)  { --ci: 7; }
.card-grid .card:nth-child(9)  { --ci: 8; }
.card-grid .card:nth-child(10) { --ci: 9; }
.card-grid .card:nth-child(11) { --ci: 10; }
.card-grid .card:nth-child(12) { --ci: 11; }
.card-grid .card:nth-child(n+13) { --ci: 12; }
.card {
	background: #fff;
	border: none;
	border-radius: 6px;
	box-shadow: 0 1px 4px rgba(0,0,0,.06);
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
	position: relative;
	display: flex;
	flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.card .img {
	display: block;
	aspect-ratio: 4/3;
	overflow: hidden;
	border-bottom: none;
	background: var(--mp-cream-d);
}
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .img img { transform: scale(1.03); }
.card .body { padding: 16px 20px 18px !important; flex: 0 0 auto; display: flex; flex-direction: column; gap: 8px !important; }
.card h3 {
	font: 600 clamp(1.1rem, 1.4vw, 1.35rem)/1.25 var(--mp-font-body);
}
.card h3 a { color: var(--mp-ink); text-decoration: none; }
.card h3 a:hover { color: var(--mp-red); }
.card .tags {
	font: 600 0.72rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--mp-red);
}
.card .excerpt { font: 400 0.85rem/1.5 var(--mp-font-body); color: var(--mp-ink-soft); }

/* ============================================================
   7. Filter — dual axis (kvart × tema)
   ============================================================ */
.mp-filter { width: 100%; }
.mp-filter__title { font-size: clamp(28px, 4vw, 48px); margin-bottom: 8px; }
.mp-filter__lead {
	font: 400 0.95rem/1.6 var(--mp-font-body);
	color: var(--mp-ink-soft);
	margin-bottom: 36px;
	max-width: 60ch;
}

.mp-filter__axes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	margin-bottom: 40px;
	padding-bottom: 0;
	border-bottom: none;
}
.mp-filter__axis-label {
	font: 600 0.72rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--mp-ink-soft);
	margin-bottom: 14px;
	display: block;
}
.mp-filter__bar { display: flex; flex-wrap: wrap; gap: 6px; }
.mp-filter__btn {
	background: #fff;
	border: 1px solid rgba(0,0,0,.12);
	color: var(--mp-ink);
	font: 500 0.9rem/1 var(--mp-font-body);
	letter-spacing: .04em;
	padding: 8px 16px;
	border-radius: 20px;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.mp-filter__btn:hover { background: var(--mp-red); color: #fff; border-color: var(--mp-red); }
.mp-filter__btn.is-active {
	background: var(--mp-red);
	color: #fff;
	border-color: var(--mp-red);
}

.mp-filter__count {
	font: 500 0.78rem/1 var(--mp-font-body);
	color: var(--mp-ink-soft);
	margin-bottom: 16px;
	text-transform: uppercase;
	letter-spacing: .08em;
}
.mp-filter__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 32px 28px;
	min-height: 100px;
}
.mp-filter__grid .card { animation: fadeUp 400ms ease both; animation-delay: calc(var(--ci, 0) * 80ms); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.mp-filter__grid .card:nth-child(1)  { --ci: 0; }
.mp-filter__grid .card:nth-child(2)  { --ci: 1; }
.mp-filter__grid .card:nth-child(3)  { --ci: 2; }
.mp-filter__grid .card:nth-child(4)  { --ci: 3; }
.mp-filter__grid .card:nth-child(5)  { --ci: 4; }
.mp-filter__grid .card:nth-child(6)  { --ci: 5; }
.mp-filter__grid .card:nth-child(7)  { --ci: 6; }
.mp-filter__grid .card:nth-child(8)  { --ci: 7; }
.mp-filter__grid .card:nth-child(9)  { --ci: 8; }
.mp-filter__grid .card:nth-child(10) { --ci: 9; }
.mp-filter__grid .card:nth-child(11) { --ci: 10; }
.mp-filter__grid .card:nth-child(12) { --ci: 11; }
.mp-filter__grid .card:nth-child(n+13) { --ci: 12; }

.mp-filter__more { text-align: center; margin-top: 48px; }
.mp-filter__loadmore {
	background: var(--mp-red);
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 14px 36px;
	font: 600 0.8rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .1em;
	transition: background .2s ease, transform .2s ease;
}
.mp-filter__loadmore:hover:not(:disabled) {
	background: var(--mp-ink);
	transform: translateY(-2px);
}
.mp-filter__loadmore:disabled { opacity: 0.5; cursor: not-allowed; }
.mp-filter__loadmore[hidden] { display: none; }
.mp-filter__spinner {
	display: inline-block;
	width: 20px; height: 20px;
	border: 3px solid var(--mp-cream-d);
	border-top-color: var(--mp-bordeaux);
	border-radius: 50%;
	animation: mp-spin 700ms linear infinite;
	margin-left: 14px;
	vertical-align: middle;
}
.mp-filter__spinner[hidden] { display: none; }
@keyframes mp-spin { to { transform: rotate(360deg); } }

/* ============================================================
   8. Single post — editorial reading
   ============================================================ */
.article {
	background: var(--mp-paper);
	padding: 60px 0 80px;
}
.article__hero {
	max-width: var(--mp-wrap);
	margin: 0 auto 48px;
	padding: 0 24px;
}
.article__hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border: 3px solid var(--mp-ink); box-shadow: var(--mp-shadow); }
.article__head { max-width: var(--mp-content); margin: 0 auto 40px; padding: 0 24px; }
.article__head h1 { margin: 16px 0 20px; }
.article__head .meta { font: 600 12px var(--mp-font-label); text-transform: uppercase; letter-spacing: 0.1em; color: var(--mp-bordeaux); }
.article__body { max-width: var(--mp-content); margin: 0 auto; padding: 0 24px; font-size: 19px; line-height: 1.75; color: var(--mp-ink-soft); }
.article__body p { margin: 0 0 1.4em; }
.article__body p:first-of-type::first-letter {
	font-family: var(--mp-font-display);
	float: left;
	font-size: 5em;
	line-height: 0.85;
	padding: 8px 12px 0 0;
	color: var(--mp-bordeaux);
	font-weight: 700;
}
.article__body h2, .article__body h3 { margin: 1.6em 0 0.5em; color: var(--mp-ink); }
.article__body a { border-bottom: 1.5px solid var(--mp-bordeaux); }
.article__body blockquote {
	margin: 2em 0;
	padding: 24px 28px;
	border-left: 4px solid var(--mp-bordeaux);
	background: var(--mp-cream);
	font: 400 22px/1.5 var(--mp-font-display);
	color: var(--mp-ink);
}
.article__body img { margin: 2em 0 0; border: 2px solid var(--mp-ink); width: 100%; height: auto; }

/* --- WordPress gallery layout --- */
.article__body .gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 2em 0;
}
.article__body .gallery-item {
	flex: 1 1 auto;
	margin: 0;
	overflow: hidden;
}
.gallery-columns-2 .gallery-item { width: calc(50% - 4px); }
.gallery-columns-3 .gallery-item { width: calc(33.333% - 6px); }
.gallery-columns-4 .gallery-item { width: calc(25% - 6px); }
.gallery-columns-5 .gallery-item { width: calc(20% - 7px); }
.article__body .gallery-item img {
	width: 100%;
	height: auto;
	max-width: 100%;
	margin: 0;
	border: 1px solid var(--mp-ink);
	display: block;
}
.article__body .gallery-item .gallery-caption {
	font-size: 0.75rem;
	line-height: 1.3;
	padding: 4px 2px;
	color: var(--mp-ink-soft);
}
@media (max-width: 559px) {
	.gallery-columns-4 .gallery-item,
	.gallery-columns-5 .gallery-item { width: calc(50% - 4px); }
}

/* --- MapPress responsive --- */
.mapp-layout {
	width: 100% !important;
	max-width: 100% !important;
}
.mapp-layout .mapp-wrapper {
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0 !important;
	position: relative;
}
.mapp-layout .mapp-content {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
}
.mapp-layout .mapp-canvas img {
	border: none !important;
	margin: 0 !important;
	width: auto !important;
}
@media (max-width: 559px) {
	.mapp-layout .mapp-wrapper {
		padding-bottom: 75%; /* 4:3 on small screens */
	}
}
.article__body figcaption,
.article__body .wp-caption-text {
	font: 500 13px/1.4 var(--mp-font-label);
	color: var(--mp-ink-soft);
	margin: 8px 0 2em;
	letter-spacing: 0.02em;
}
.article__body span[style*="x-small"] {
	font-size: 13px !important;
	font-family: var(--mp-font-label);
	color: var(--mp-ink-soft);
	letter-spacing: 0.02em;
}

/* Related carousel */
.related-carousel__nav { display: flex; gap: 8px; }
.related-carousel__btn {
	width: 42px; height: 42px; border-radius: 50%;
	border: 2px solid var(--mp-ink); background: transparent;
	display: flex; align-items: center; justify-content: center;
	cursor: pointer; transition: background .2s, color .2s;
	color: var(--mp-ink);
}
.related-carousel__btn:hover { background: var(--mp-ink); color: #fff; }
.section--teme .section__head { display: flex; align-items: center; justify-content: space-between; }
.related-carousel__track { transition: opacity .25s ease; }

/* ============================================================
   9. Page
   ============================================================ */
.card .body { max-width: none; margin: 0; font-size: inherit; line-height: inherit; color: var(--mp-ink); }

/* Page hero — matches category hero style */
.page-hero {
	position: relative;
	min-height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--mp-blue);
	overflow: hidden;
}
.page-hero--short { min-height: 220px; }
.page-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 1;
}
.page-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	mix-blend-mode: luminosity;
	opacity: .25;
}
.page-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(135deg, rgba(9,138,184,.85) 0%, rgba(9,138,184,.6) 100%);
}
.page-hero__inner {
	position: relative;
	z-index: 3;
	text-align: center;
	padding-top: 60px;
	padding-bottom: 60px;
}
.page-hero__text { color: #fff; }
.page-hero__eyebrow {
	font: 600 0.72rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .14em;
	color: rgba(255,255,255,.7);
	display: block;
	margin-bottom: 16px;
}
.page-hero__title {
	font: 400 clamp(2.2rem, 8vw, 9rem)/1.05 var(--mp-font-display);
	font-style: italic;
	font-variation-settings: "opsz" 72;
	color: #fff;
	margin: 0;
}
.page-hero__desc {
	font: 400 1rem/1.6 var(--mp-font-body);
	color: rgba(255,255,255,.8);
	max-width: 50ch;
	margin: 16px auto 0;
}

/* Page body */
.page-body__featured {
	margin: 0 0 2.5em;
}
.page-body__featured img {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
	border: 3px solid var(--mp-ink);
	box-shadow: var(--mp-shadow);
}
.page-body {
	max-width: var(--mp-content);
	margin: 0 auto;
	padding: 0;
	font-size: 18px;
	line-height: 1.75;
	color: var(--mp-ink-soft);
}
.page-body h2, .page-body h3, .page-body h4 { color: var(--mp-ink); margin: 2em 0 0.8em; }
.page-body h2 { font: 400 clamp(1.6rem, 2.5vw, 2.2rem)/1.2 var(--mp-font-display); font-style: italic; }
.page-body h3 { font: 600 clamp(1.1rem, 1.5vw, 1.3rem)/1.3 var(--mp-font-body); }
.page-body p { margin: 0 0 1.4em; }
.page-body img { max-width: 100%; height: auto; margin: 2em 0 0; border: 2px solid var(--mp-ink); }
.page-body a { color: var(--mp-blue); text-decoration: underline; text-underline-offset: 3px; }
.page-body a:hover { color: var(--mp-red); }
.page-body ul, .page-body ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.page-body li { margin-bottom: .4em; }
.page-body blockquote {
	border-left: 4px solid var(--mp-red);
	margin: 2em 0;
	padding: 1em 1.5em;
	font-style: italic;
	color: var(--mp-ink);
	background: rgba(0,0,0,.02);
}

/* Timeline page — legacy HTML styling (aktivnosti/do-sada) */
.page-body > ul {
	list-style: none;
	padding: 0;
	margin: 2.2em 0 0.6em;
	border-left: 3px solid var(--mp-red);
	padding-left: 20px;
}
.page-body > ul > li {
	font: 400 1rem/1.5 var(--mp-font-body);
	color: var(--mp-ink);
	margin: 0;
	position: relative;
}
.page-body > ul > li::before {
	content: '';
	position: absolute;
	left: -26.5px;
	top: 8px;
	width: 10px;
	height: 10px;
	background: var(--mp-red);
	border: 2px solid var(--mp-paper);
	border-radius: 50%;
	box-shadow: 0 0 0 2px var(--mp-red);
}
.page-body > ul > li b,
.page-body > ul > li > strong {
	font-weight: 700;
	color: var(--mp-ink);
}

.page-body > ul + p,
.page-body > ul + div {
	margin-top: 0;
}
/* Legacy <center> as figure */
.page-body center {
	display: block;
	margin: 1.6em 0 2em;
	text-align: center;
}
.page-body center img,
.page-body center a > img {
	max-width: 100%;
	height: auto;
	border: 2px solid var(--mp-ink);
	margin-bottom: 8px;
}
.page-body center span[style*="font-size"] {
	display: block;
	font-size: 13px !important;
	font-family: var(--mp-font-label);
	color: var(--mp-ink-soft);
	letter-spacing: 0.02em;
	margin-top: 4px;
}
/* Inline red text — use theme red */
.page-body span[style*="color: #ff0000"],
.page-body span[style*="color:#ff0000"] {
	color: var(--mp-red) !important;
}
/* &nbsp; cleanup */
.page-body > p:empty,
.page-body > p > br:only-child { display: none; }

/* Map page — full bleed */
.section--map-page {
	height: auto;
	min-height: auto;
	max-height: none;
	padding: 0;
}
.section--map-page .mp-map-wrap {
	height: 82vh;
	min-height: 500px;
	max-height: 900px;
	position: relative;
}
.section--map-page .mp-map {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
}
.section--map-page .mp-map-panel {
	opacity: 1;
	transform: translateX(0);
	pointer-events: auto;
}
.section--map-page::before { display: none; }
.section--map-page::after { display: none; }

/* Kontakt page */
.section--kontakt { background: var(--mp-paper); }
.page-head {
	text-align: center;
	margin-bottom: 56px;
}
.page-title {
	font: 400 clamp(2.2rem, 4vw, 3.6rem)/1.1 var(--mp-font-display);
	font-style: italic;
	font-variation-settings: "opsz" 72;
	color: var(--mp-ink);
	margin: 0 0 16px;
}
.kontakt-head .page-title { color: var(--mp-ink); }
.page-intro {
	font: 400 1rem/1.6 var(--mp-font-body);
	color: var(--mp-ink-soft);
	max-width: 55ch;
	margin: 0 auto;
}

.kontakt-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 60px;
	align-items: start;
}

/* Contact form */
.kontakt-form { display: flex; flex-direction: column; gap: 20px; }
.kontakt-form__row { display: flex; flex-direction: column; gap: 20px; }
.kontakt-form__row--2 { flex-direction: row; }
.kontakt-form__row--2 .kontakt-field { flex: 1; }
.kontakt-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.kontakt-field span {
	font: 600 0.75rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--mp-ink);
}
.kontakt-field input,
.kontakt-field textarea {
	font: 400 1rem/1.5 var(--mp-font-body);
	padding: 14px 16px;
	border: 2px solid rgba(0,0,0,.12);
	border-radius: 6px;
	background: #fff;
	color: var(--mp-ink);
	transition: border-color .2s;
}
.kontakt-field input:focus,
.kontakt-field textarea:focus {
	outline: none;
	border-color: var(--mp-blue);
}

/* Contact sidebar */
.kontakt-info {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.kontakt-card {
	background: #fff;
	border: 2px solid rgba(0,0,0,.06);
	border-radius: 10px;
	padding: 28px;
	position: relative;
}
.kontakt-card--accent {
	background: var(--mp-blue);
	border-color: var(--mp-blue);
	color: #fff;
}
.kontakt-card--accent h4 { color: #fff; }
.kontakt-card--accent p { color: rgba(255,255,255,.8); margin: 8px 0 0; }
.kontakt-card__num {
	font: 700 2.4rem/1 var(--mp-font-display);
	color: rgba(0,0,0,.06);
	position: absolute;
	top: 16px;
	right: 20px;
}
.kontakt-card--accent .kontakt-card__num { color: rgba(255,255,255,.15); }
.kontakt-card h4 {
	font: 600 0.85rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--mp-ink);
	margin: 0 0 10px;
}
.kontakt-card a {
	color: var(--mp-blue);
	text-decoration: none;
	font: 500 0.95rem/1.4 var(--mp-font-body);
}
.kontakt-card a:hover { text-decoration: underline; }
.kontakt-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.kontakt-links a { font: 500 0.95rem/1.4 var(--mp-font-body); }

/* Contact success/error */
.kontakt-success {
	text-align: center;
	padding: 60px 24px;
}
.kontakt-success h3 {
	font: 400 clamp(1.6rem, 2.5vw, 2.2rem)/1.2 var(--mp-font-display);
	font-style: italic;
	margin: 12px 0 16px;
}
.kontakt-success p { color: var(--mp-ink-soft); margin-bottom: 32px; }
.kontakt-error {
	background: #fef2f2;
	border: 2px solid var(--mp-red);
	border-radius: 6px;
	padding: 14px 18px;
	color: var(--mp-red);
	font: 500 0.9rem/1.4 var(--mp-font-body);
}

/* Uključi se — intro */
.ukljuci-intro {
	margin-bottom: 56px;
}
.ukljuci-intro__text {
	max-width: 65ch;
	margin-bottom: 40px;
}
.ukljuci-intro__text h2 {
	font: 400 clamp(1.8rem, 3vw, 2.6rem)/1.15 var(--mp-font-display);
	font-style: italic;
	color: var(--mp-ink);
	margin: 0 0 20px;
}
.ukljuci-intro__text p {
	font: 400 1rem/1.7 var(--mp-font-body);
	color: var(--mp-ink-soft);
	margin: 0 0 12px;
}
.ukljuci-intro__ways {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.ukljuci-way {
	background: #fff;
	border: 2px solid rgba(0,0,0,.06);
	border-radius: 10px;
	padding: 28px 24px;
	transition: border-color .2s, box-shadow .2s;
}
.ukljuci-way:hover {
	border-color: var(--mp-blue);
	box-shadow: 0 4px 20px rgba(9,138,184,.1);
}
.ukljuci-way__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(9,138,184,.08);
	color: var(--mp-blue);
	margin-bottom: 16px;
}
.ukljuci-way h4 {
	font: 600 0.9rem/1.2 var(--mp-font-body);
	color: var(--mp-ink);
	margin: 0 0 6px;
}
.ukljuci-way p {
	font: 400 0.85rem/1.5 var(--mp-font-body);
	color: var(--mp-ink-soft);
	margin: 0;
}

/* Form title */
.kontakt-form__title {
	font: 400 clamp(1.4rem, 2.5vw, 1.8rem)/1.2 var(--mp-font-display);
	font-style: italic;
	color: var(--mp-ink);
	margin: 0 0 28px;
}

/* Button red variant */
.btn--red {
	background: var(--mp-red);
	color: #fff;
	border: none;
	cursor: pointer;
}
.btn--red:hover {
	color: #fff;
	background: var(--mp-bordeaux-d);
}

@media (max-width: 768px) {
	.ukljuci-intro__ways { grid-template-columns: 1fr; }
}

/* Popis članaka — alphabet index */
.popis-alpha {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 48px;
	padding: 20px 0;
	border-bottom: 2px solid var(--mp-ink);
	position: sticky;
	top: 0;
	background: var(--mp-cream);
	z-index: 10;
}
.popis-alpha__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	min-width: 36px;
	padding: 8px 6px 6px;
	font: 700 1rem/1 var(--mp-font-display);
	color: var(--mp-ink);
	text-decoration: none;
	border-radius: 6px;
	transition: background .2s, color .2s;
}
.popis-alpha__link:hover {
	background: var(--mp-red);
	color: #fff;
}
.popis-alpha__link:hover .popis-alpha__count { color: rgba(255,255,255,.7); }
.popis-alpha__link--empty {
	color: rgba(0,0,0,.15);
	cursor: default;
}
.popis-alpha__count {
	font: 500 0.6rem/1 var(--mp-font-label);
	color: var(--mp-ink-soft);
}

.popis-group {
	margin-bottom: 40px;
	scroll-margin-top: 100px;
}
.popis-group__head {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--mp-ink);
	margin-bottom: 16px;
}
.popis-group__letter {
	font: 400 2.8rem/1 var(--mp-font-display);
	font-style: italic;
	color: var(--mp-red);
}
.popis-group__count {
	font: 500 0.75rem/1 var(--mp-font-label);
	color: var(--mp-ink-soft);
}
.popis-group__top {
	margin-left: auto;
	font: 500 0.8rem/1 var(--mp-font-body);
	color: var(--mp-ink-soft);
	text-decoration: none;
}
.popis-group__top:hover { color: var(--mp-red); }

.popis-group__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
}
.popis-group__list li {
	border-bottom: 1px solid rgba(0,0,0,.06);
}
.popis-group__list a {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	text-decoration: none;
	transition: background .15s;
}
.popis-group__list a:hover {
	background: rgba(0,0,0,.02);
	padding-left: 8px;
	padding-right: 8px;
	margin-left: -8px;
	margin-right: -8px;
	border-radius: 4px;
}
.popis-item__title {
	font: 400 0.95rem/1.4 var(--mp-font-body);
	color: var(--mp-ink);
}
.popis-group__list a:hover .popis-item__title { color: var(--mp-red); }
.popis-item__cat {
	font: 500 0.7rem/1 var(--mp-font-label);
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--mp-ink-soft);
	white-space: nowrap;
	flex-shrink: 0;
}

/* Page responsive */
@media (max-width: 768px) {
	.kontakt-grid { grid-template-columns: 1fr; gap: 40px; }
	.kontakt-form__row--2 { flex-direction: column; }
	.page-hero { min-height: 240px; }
	.page-hero__inner { padding-top: 40px; padding-bottom: 40px; }
	.popis-alpha { gap: 4px; }
	.popis-alpha__link { min-width: 28px; padding: 6px 4px; font-size: .85rem; }
	.popis-item__cat { display: none; }
}

/* ============================================================
   10. Leaflet map
   ============================================================ */
.mp-map-wrap { position: relative; background: var(--mp-cream); }
.mp-map .leaflet-container { background: #e8e4de !important; }
/* Popup card */
.mp-leaflet-popup .leaflet-popup-content-wrapper {
	border-radius: 10px;
	border: none;
	background: #fff;
	box-shadow: 0 12px 40px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.08);
	padding: 0;
	overflow: hidden;
}
.mp-leaflet-popup .leaflet-popup-content { margin: 0; font: 400 13px/1.4 var(--mp-font-body); }
.mp-leaflet-popup .leaflet-popup-tip { background: #fff; }
.mp-leaflet-popup .leaflet-popup-close-button {
	top: 6px; right: 6px;
	width: 22px; height: 22px;
	font-size: 16px; line-height: 22px;
	text-align: center;
	color: var(--mp-ink-soft);
	background: rgba(255,255,255,.8);
	border-radius: 50%;
	z-index: 10;
}

.mp-popup { display: flex; flex-direction: column; }
.mp-popup__thumb {
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;
	background: #f0ede8;
}
.mp-popup__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.mp-popup__cat {
	font: 600 0.6rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--mp-red);
	padding: 12px 14px 0;
}
.mp-popup__thumb { cursor: pointer; }
.mp-popup__title {
	font: 600 0.85rem/1.3 var(--mp-font-body);
	color: var(--mp-ink);
	padding: 6px 14px 14px;
	display: block;
	text-decoration: none;
	cursor: pointer;
}
.mp-popup__title:hover { color: var(--mp-red); }
.mp-marker span {
	display: block; width: 22px; height: 22px;
	background: var(--mp-bordeaux);
	border: 3px solid var(--mp-paper);
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(0,0,0,.4), 0 0 0 1px var(--mp-ink);
	transition: var(--mp-trans);
}
.mp-marker:hover span { background: var(--mp-blue); transform: scale(1.2); }

/* old map filter styles removed — see new styles above */

/* ============================================================
   11. Footer — bold archival
   ============================================================ */
#footer {
	background: var(--mp-ink);
	color: var(--mp-paper);
	position: relative;
}
.footer__inner {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 56px;
	padding: 72px clamp(20px, 4vw, 56px) 56px;
	max-width: 100%;
}
.footer__col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.footer__brand {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: var(--mp-paper);
	font: 400 clamp(28px, 3vw, 40px)/1.05 var(--mp-font-display);
	font-style: italic;
	font-variation-settings: "opsz" 72, "SOFT" 50;
	letter-spacing: -.02em;
}
.footer__brand-logo {
	max-width: 270px;
	height: auto;
	transition: var(--mp-trans);
}
.footer__brand-logo:hover { opacity: .8; }
.footer__tagline { font: 400 14px/1.55 var(--mp-font-body); color: var(--mp-paper); opacity: .75; max-width: 32ch; margin: 4px 0 0; }
.footer__contact { display: flex; flex-direction: column; gap: 24px; }
.footer__contact-link {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}
.footer__contact-icon {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,.08);
	border-radius: 50%;
	flex-shrink: 0;
}
.footer__contact-icon svg { width: 22px; height: 22px; fill: var(--mp-paper); }
.footer__contact-text { display: flex; flex-direction: column; gap: 5px; padding-top: 4px; }
.footer__contact-label {
	font: 600 0.7rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .1em;
	color: rgba(255,255,255,.5);
}
a.footer__contact-value {
	font: 500 0.9rem/1.3 var(--mp-font-body);
	color: var(--mp-paper);
	word-break: break-all;
	text-decoration: none;
	cursor: pointer;
	transition: var(--mp-trans);
}
a.footer__contact-value:hover { color: var(--mp-red); }

.footer__heading {
	font: 600 0.72rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--mp-red);
	margin: 0 0 6px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer__list li { margin: 0; }
.footer__list a {
	color: var(--mp-paper);
	font: 500 14px/1.3 var(--mp-font-body);
	text-decoration: none;
	transition: var(--mp-trans);
	display: inline-block;
	position: relative;
	padding-left: 0;
}
.footer__list a::before { content: '→'; opacity: 0; margin-right: 6px; transition: var(--mp-trans); display: inline-block; }
.footer__list a:hover { color: var(--mp-bordeaux); transform: translateX(4px); }
.footer__list a:hover::before { opacity: 1; }

.footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 22px clamp(20px, 4vw, 56px);
	border-top: 1px solid rgba(255,255,255,.08);
	background: rgba(0, 0, 0, .25);
	flex-wrap: wrap;
}
.footer__copy { font: 400 0.75rem/1 var(--mp-font-body); color: var(--mp-paper); opacity: .5; }
.footer__web { font: 400 0.75rem/1 var(--mp-font-body); color: var(--mp-paper); opacity: .6; }
.footer__web a { color: var(--mp-red); font-weight: 600; text-decoration: none; margin-left: 4px; }
.footer__web a:hover { color: var(--mp-paper); }

/* Footer responsive — see end-of-file responsive block */

/* ============================================================
   12. Misc / pagination / 404 / search
   ============================================================ */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.pagination a, .pagination span {
	padding: 10px 16px;
	border: 1px solid rgba(0,0,0,.12);
	border-radius: 4px;
	background: #fff;
	color: var(--mp-ink);
	font: 500 0.85rem/1 var(--mp-font-body);
}
.pagination .current { background: var(--mp-red); color: #fff; border-color: var(--mp-red); }
.pagination a:hover { background: var(--mp-red); color: #fff; border-color: var(--mp-red); }

.read-more { margin-left: 4px; border-bottom: 1.5px solid var(--mp-bordeaux); font-weight: 600; }

/* ============================================================
   Comments
   ============================================================ */
#article-comments {
	max-width: var(--mp-content);
	margin: 80px auto 0;
	padding: 0 24px;
}
.comments-area { background: var(--mp-paper); }

.comments-title {
	font-size: clamp(24px, 3vw, 36px);
	padding-top: 40px;
	margin-bottom: 32px;
	border-top: 1px solid rgba(0,0,0,.1);
	padding-top: 40px;
	position: relative;
}

/* Lista komentara */
.comment-list,
.comment-list ol.children {
	list-style: none;
	padding: 0;
	margin: 0;
}
.comment-list > .comment-item {
	border: 2px solid var(--mp-ink);
	background: var(--mp-paper);
	box-shadow: var(--mp-shadow-sm);
	padding: 24px 28px;
	margin-bottom: 24px;
	transition: var(--mp-trans);
}
.comment-list > .comment-item:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--mp-ink); }
.comment-list .children {
	margin-top: 20px;
	margin-left: 32px;
	padding-left: 24px;
	border-left: 3px solid var(--mp-bordeaux);
}
.comment-list .children .comment-item {
	border: 1.5px dashed var(--mp-cream-d);
	background: var(--mp-cream);
	padding: 18px 22px;
	margin-bottom: 16px;
	box-shadow: none;
}

.comment-body { display: block; }
.comment-meta {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
	padding-bottom: 14px;
	border-bottom: 1.5px solid var(--mp-cream-d);
}
.comment-meta img.avatar {
	width: 56px; height: 56px;
	border-radius: 0;
	border: 2px solid var(--mp-ink);
	display: block;
}
.comment-meta__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.comment-author {
	font: 700 16px var(--mp-font-display);
	color: var(--mp-ink);
	font-style: normal;
}
.comment-date {
	font: 500 11px var(--mp-font-label);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--mp-bordeaux);
}
.comment-content { font-size: 16px; line-height: 1.65; color: var(--mp-ink-soft); }
.comment-content p:last-child { margin-bottom: 0; }
.comment-content a { border-bottom: 1.5px solid var(--mp-bordeaux); }

.comment-awaiting {
	font: 500 12px var(--mp-font-label);
	background: var(--mp-blue);
	color: var(--mp-ink);
	padding: 6px 10px;
	display: inline-block;
	margin-bottom: 10px;
}

.comment-reply { margin-top: 16px; }
.comment-reply-link {
	display: inline-block;
	font: 600 11px var(--mp-font-label);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 8px 14px;
	border: 1.5px solid var(--mp-ink);
	color: var(--mp-ink);
	background: var(--mp-paper);
	transition: var(--mp-trans);
}
.comment-reply-link:hover {
	background: var(--mp-bordeaux);
	color: var(--mp-paper);
	border-color: var(--mp-bordeaux);
}

/* Forma */
.comment-respond {
	margin-top: 60px;
	padding: 36px 32px 32px;
	background: var(--mp-cream);
	border: 3px solid var(--mp-ink);
	box-shadow: var(--mp-shadow);
}
.comment-reply-title {
	font: 700 clamp(22px, 2.5vw, 32px) var(--mp-font-display);
	margin-bottom: 6px;
	color: var(--mp-ink);
}
.comment-reply-title small { display: block; font: 500 12px var(--mp-font-label); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; }
.comment-reply-title small a { color: var(--mp-bordeaux); border-bottom: 1.5px solid var(--mp-bordeaux); }

.comment-notes {
	font: 500 12px/1.5 var(--mp-font-label);
	color: var(--mp-ink-soft);
	margin: 12px 0 24px;
	padding: 10px 14px;
	border-left: 3px solid var(--mp-bordeaux);
	background: var(--mp-paper);
}

.comment-respond p { margin: 0 0 18px; }
.comment-respond label {
	display: block;
	font: 600 11px var(--mp-font-label);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--mp-ink);
	margin-bottom: 6px;
}
.comment-respond .req { color: var(--mp-bordeaux); }

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
	width: 100%;
	padding: 12px 14px;
	background: var(--mp-paper);
	border: 2px solid var(--mp-ink);
	font: 15px var(--mp-font-body);
	color: var(--mp-ink);
	outline: none;
	transition: var(--mp-trans);
	border-radius: 0;
}
.comment-respond textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.comment-respond input:focus,
.comment-respond textarea:focus {
	background: var(--mp-paper);
	border-color: var(--mp-bordeaux);
	box-shadow: 4px 4px 0 var(--mp-ink);
	transform: translate(-2px, -2px);
}

.comment-form-author,
.comment-form-email {
	display: inline-block;
	width: calc(50% - 8px);
	vertical-align: top;
}
.comment-form-author { margin-right: 12px; }

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.comment-form-cookies-consent input { margin-top: 4px; }
.comment-form-cookies-consent label {
	font: 500 12px var(--mp-font-body);
	text-transform: none;
	letter-spacing: 0;
	color: var(--mp-ink-soft);
	margin: 0;
}

.comment-respond .submit,
.comment-respond button[type="submit"] {
	background: var(--mp-ink);
	color: var(--mp-paper);
	border: 2px solid var(--mp-ink);
	padding: 14px 36px;
	font: 600 13px var(--mp-font-label);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	cursor: pointer;
	transition: var(--mp-trans);
}
.comment-respond .submit:hover,
.comment-respond button[type="submit"]:hover {
	background: var(--mp-bordeaux);
	border-color: var(--mp-bordeaux);
	transform: translate(-2px, -2px);
	box-shadow: 4px 4px 0 var(--mp-ink);
}

.no-comments {
	font: 500 12px var(--mp-font-label);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--mp-ink-soft);
	padding: 20px;
	border: 1.5px dashed var(--mp-ink);
	text-align: center;
	margin-top: 40px;
}

@media (max-width: 600px) {
	.comment-form-author,
	.comment-form-email { width: 100%; margin-right: 0; }
	.comment-list .children { margin-left: 0; padding-left: 16px; }
}

/* ============================================================
   13. Responsive
   ============================================================ */
@media (max-width: 980px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__main h1 { font-size: clamp(32px, 8vw, 56px); }
	.section { padding: 56px 0; }
	.mp-filter__axes { grid-template-columns: 1fr; gap: 24px; }
}

/* Mobile layout — non-nav items (nav handled in header section) */
@media (max-width: 767px) {
	.section__head { flex-direction: column; align-items: flex-start; }
	.article__body p:first-of-type::first-letter { font-size: 4em; }
	.card-grid, .mp-filter__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
	.card .body { padding: 7px 16px 14px !important; }
	.card h3 { font-size: 17px; }
	.section { padding: 40px 0; }
}

@media (max-width: 460px) {
	.card-grid, .mp-filter__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   12. Front page additions (mini map, search, chips, teme, banner)
   ============================================================ */
.hero__grid--map { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: stretch; }
.hero--withmap .hero__main { display: flex; flex-direction: column; }
.hero__map { display: flex; flex-direction: column; gap: 12px; }
.hero__map-head { display: flex; justify-content: space-between; align-items: baseline; }
.hero__map-link { font: 700 12px var(--mp-font-mono, monospace); text-transform: uppercase; letter-spacing: .08em; color: var(--mp-bordeaux); text-decoration: none; border-bottom: 2px solid currentColor; }
.hero__map-link:hover { color: var(--mp-ink); }
.mp-map-wrap--mini { flex: 1; }
.mp-map-wrap--mini .mp-map { height: 100% !important; min-height: 380px; }
.hero__sub-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
@media (max-width: 900px) {
	.hero__grid--map { grid-template-columns: 1fr; }
	.hero__sub-row { grid-template-columns: 1fr; }
}

/* --- Najnovije na mapi — geo strip --- */
.section--tight { padding: 64px 0; border-bottom: none; }
.section--geo { background: #fff; }

.geo-strip {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 24px;
}
.geo-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-decoration: none;
	color: var(--mp-ink);
	transition: transform .25s ease;
}
.geo-card:hover { transform: translateY(-4px); }
.geo-card__img {
	position: relative;
	aspect-ratio: 4/3;
	overflow: hidden;
	border-radius: 6px;
	background: var(--mp-cream-d);
}
.geo-card__img img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}
.geo-card:hover .geo-card__img img { transform: scale(1.04); }
.geo-card__pin {
	position: absolute;
	bottom: 8px; right: 8px;
	width: 28px; height: 28px;
	background: var(--mp-red);
	color: #fff;
	border-radius: 50%;
	font-size: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.geo-card .eyebrow {
	font: 600 0.72rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--mp-red);
}
.geo-card h4 {
	font: 600 clamp(1rem, 1.2vw, 1.2rem)/1.25 var(--mp-font-body);
	margin: 0;
	transition: color .2s ease;
}
.geo-card:hover h4 { color: var(--mp-red); }

@media (max-width: 900px) {
	.geo-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
	.geo-strip { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* --- Teme grid --- */
.teme-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}
@media (max-width: 900px) { .teme-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .teme-grid { grid-template-columns: repeat(2, 1fr); } }
.teme-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px;
	background: #fff;
	border-radius: 6px;
	text-decoration: none;
	color: var(--mp-ink);
	transition: transform .25s ease, box-shadow .25s ease;
}
.teme-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.teme-card__num {
	font: 700 2rem/1 var(--mp-font-display);
	font-variation-settings: "opsz" 72;
	color: var(--mp-red);
	letter-spacing: -.02em;
}
.teme-card__name {
	font: 400 1.1rem/1.25 var(--mp-font-display);
	font-style: italic;
	font-variation-settings: "opsz" 36, "SOFT" 50;
}
.teme-card__count {
	font: 500 0.75rem/1 var(--mp-font-body);
	color: #777;
	margin-top: auto;
}

/* --- Mapa sekcija (full-bleed) --- */
.section--map {
	position: relative;
	padding: 0;
	overflow: hidden;
	height: 80vh;
	min-height: 500px;
	max-height: 860px;
}
.section--map .mp-map {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.section--map::before,
.section--map::after {
	content: '';
	position: absolute;
	left: 0; right: 0;
	height: 160px;
	z-index: 700;
	pointer-events: none;
}
.section--map::before {
	top: 0;
	background: linear-gradient(to bottom, rgba(0,0,0,.7) 0%, rgba(0,0,0,.35) 30%, rgba(0,0,0,.1) 60%, transparent 100%);
}
.section--map::after {
	bottom: 0;
	background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.35) 30%, rgba(0,0,0,.1) 60%, transparent 100%);
}

/* Floating filter panel — top-right */
.mp-map-panel {
	position: absolute;
	z-index: 800;
	top: clamp(14px, 2.5vw, 28px);
	right: clamp(14px, 2.5vw, 28px);
	width: 350px;
	background: rgba(255,255,255,.94);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0,0,0,.12), 0 1px 3px rgba(0,0,0,.06);
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 30px;
	opacity: 0;
	transform: translateX(40px);
	pointer-events: none;
	transition: opacity .6s cubic-bezier(.22,1,.36,1) .3s, transform .6s cubic-bezier(.22,1,.36,1) .3s, pointer-events 0s .9s;
}
.section--map.is-visible .mp-map-panel {
	opacity: 1;
	transform: translateX(0);
	pointer-events: auto;
	transition: opacity .6s cubic-bezier(.22,1,.36,1) .3s, transform .6s cubic-bezier(.22,1,.36,1) .3s, pointer-events 0s 0s;
}
.mp-map-filters__group { display: flex; flex-direction: column; gap: 6px; }
.mp-map-filters__label {
	font: 600 0.62rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--mp-ink-soft);
}
.mp-map-filters__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-map-panel .chip {
	font: 500 0.9rem/1 var(--mp-font-body);
	padding: 10px 12px;
	background: transparent;
	border: 1px solid rgba(0,0,0,.1);
	border-radius: 20px;
	color: var(--mp-ink);
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
	text-transform: none;
	letter-spacing: .02em;
}
.mp-map-panel .chip:hover { background: var(--mp-red); border-color: var(--mp-red); color: #fff; }
.mp-map-panel .chip.is-active { background: var(--mp-red); color: #fff; border-color: var(--mp-red); }
.mp-map-filters__count {
	font: 500 0.76rem/1 var(--mp-font-body);
	color: var(--mp-ink-soft);
	padding-top: 6px;
	border-top: 1px solid rgba(0,0,0,.06);
}
.mp-map-filters__count #mp-map-count {
	font: 700 1.1rem/1 var(--mp-font-display);
	color: var(--mp-red);
}

/* Mobile */
@media (max-width: 600px) {
	.section--map { height: 70vh; min-height: 400px; }
	.mp-map-panel {
		top: auto;
		bottom: 12px;
		left: 12px;
		right: 12px;
		width: auto;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 10px 16px;
		padding: 12px 14px;
	}
	.mp-map-filters__group { flex: 1 1 45%; }
}

/* --- Kvart chips --- */
.kvart-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.kvart-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background: #fff;
	border: 1px solid rgba(0,0,0,.1);
	border-radius: 20px;
	text-decoration: none;
	color: var(--mp-ink);
	transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.kvart-chip:hover {
	background: var(--mp-red);
	color: #fff;
	border-color: var(--mp-red);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.kvart-chip:hover .kvart-chip__count {
	color: #fff;
	background: rgba(255,255,255,.2);
}
.kvart-chip__name {
	font: 500 0.9rem/1 var(--mp-font-body);
}
.kvart-chip__count {
	font: 600 0.75rem/1 var(--mp-font-body);
	color: var(--mp-red);
	background: rgba(194,48,40,.08);
	padding: 3px 8px;
	border-radius: 10px;
}

/* --- Stat panel --- */
.section--stats {
	background: #fff;
	border-bottom: none;
	padding: 80px 0;
}
.stat-panel__head {
	text-align: center;
	margin-bottom: 48px;
}
.stat-panel__head .eyebrow { margin-bottom: 12px; }
.stat-panel__head h2 {
	font: 400 clamp(2rem, 3.5vw, 3.2rem)/1.1 var(--mp-font-display);
	font-style: italic;
	font-variation-settings: "opsz" 72, "SOFT" 50;
	color: var(--mp-ink);
	position: relative;
	display: inline-block;
	padding-bottom: 18px;
}
.stat-panel__head h2 span { color: var(--mp-red); }
.stat-panel__head h2::after { display: none; }
.stat-panel__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.stat-cell {
	text-align: center;
	padding: 32px 16px;
	background: #f6f3ee;
	border-radius: 8px;
}
.stat-cell__num {
	display: block;
	font: 500 clamp(2.5rem, 4vw, 3.8rem)/1 var(--mp-font-display);
	font-variation-settings: "opsz" 144;
	color: var(--mp-red);
	letter-spacing: -.02em;
	margin-bottom: 8px;
}
.stat-cell__label {
	font: 500 0.85rem/1.3 var(--mp-font-body);
	color: var(--mp-ink-soft);
	text-transform: uppercase;
	letter-spacing: .08em;
}
/* Stat panel responsive — see end-of-file responsive block */

/* --- Jeste li znali? --- */
.jlz__card {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 0;
	background: var(--mp-paper);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.jlz__img {
	display: block;
	aspect-ratio: 4/3;
	overflow: hidden;
}
.jlz__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}
.jlz__card:hover .jlz__img img { transform: scale(1.03); }
.jlz__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 40px 44px;
	gap: 12px;
}
.jlz__cat {
	font: 600 0.68rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--mp-red);
}
.jlz__title {
	font: 600 clamp(1.3rem, 2vw, 1.8rem)/1.25 var(--mp-font-body);
	margin: 0;
}
.jlz__title a {
	color: var(--mp-ink);
	text-decoration: none;
	transition: color .2s ease;
}
.jlz__title a:hover { color: var(--mp-red); }
.jlz__excerpt {
	font: 400 0.95rem/1.6 var(--mp-font-body);
	color: var(--mp-ink-soft);
	margin: 0;
}
.jlz__link {
	font: 600 0.78rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--mp-ink);
	text-decoration: none;
	margin-top: 4px;
	transition: color .2s ease, gap .2s ease;
}
.jlz__link:hover { color: var(--mp-red); }
.jlz__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-top: 24px;
}
.jlz__btn {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(0,0,0,.12);
	border-radius: 50%;
	background: transparent;
	color: var(--mp-ink);
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.jlz__btn:hover {
	background: var(--mp-ink);
	border-color: var(--mp-ink);
	color: #fff;
}
.jlz__counter {
	font: 500 0.85rem/1 var(--mp-font-body);
	color: var(--mp-ink-soft);
	min-width: 50px;
	text-align: center;
}
/* JLZ responsive — see end-of-file responsive block */

/* --- Collab banner --- */
.section--banner {
	background: var(--mp-red);
	color: #fff;
	border-bottom: none;
	padding: 80px 0;
	position: relative;
	overflow: hidden;
}
.section--banner::before {
	content: '';
	position: absolute;
	right: -40px;
	top: 50%;
	transform: translateY(-50%);
	width: 50%;
	height: 100%;
	background: url('img/cherry-pin.svg') no-repeat center right;
	background-size: contain;
	opacity: .85;
	pointer-events: none;
}
.collab-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}
.collab-banner__text { max-width: 600px; }
.collab-banner__text .eyebrow { color: rgba(255,255,255,.7); margin-bottom: 12px; }
.collab-banner__text h2 {
	font: 400 clamp(2rem, 3.5vw, 3.2rem)/1.1 var(--mp-font-display);
	font-style: italic;
	font-variation-settings: "opsz" 72, "SOFT" 50;
	color: #fff;
	position: relative;
	padding-bottom: 18px;
	margin-bottom: 12px;
}
.collab-banner__text h2::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 500px;
	max-width: 100%;
	height: 12px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='12' fill='none'%3E%3Cpath d='M2 8 C12 2 22 2 32 7 C42 12 52 10 62 5 C72 0 82 2 92 7 C102 12 112 10 122 5 C132 0 142 3 152 7 C162 11 172 9 182 5 C192 1 202 3 212 7 C222 11 232 9 242 5 C252 1 262 3 272 8 C282 12 292 9 302 5 C312 1 322 3 332 7 C342 11 352 9 362 5 C372 1 382 3 392 7 C402 11 412 8 422 4 C432 0 442 4 452 7 C462 10 472 8 482 5 C490 3 496 5 498 6' stroke='rgba(255,255,255,0.5)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat left center;
}
}
.collab-banner__text p {
	font: 400 1rem/1.6 var(--mp-font-body);
	color: rgba(255,255,255,.85);
	margin: 0;
}
.btn--big {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 20px 48px;
	background: #fff;
	color: var(--mp-red);
	font: 700 1rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .1em;
	text-decoration: none;
	border-radius: 6px;
	transition: transform .2s ease, box-shadow .2s ease;
	white-space: nowrap;
}
.btn--big:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0,0,0,.2);
	color: var(--mp-red);
}

/* --- Marquee ticker --- */
.mp-marquee {
	background: var(--mp-ink);
	overflow: hidden;
	padding: 14px 0;
	border-top: none;
}
.mp-marquee__track {
	display: flex;
	gap: 0;
	white-space: nowrap;
	animation: mp-marquee 40s linear infinite;
}
.mp-marquee__track span {
	font: 600 0.8rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .12em;
	color: rgba(255,255,255,.4);
	padding: 0 24px;
	flex-shrink: 0;
}
/* Cherry circle — identity element */
.mp-cherry {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--mp-red);
	vertical-align: middle;
	margin-right: 2px;
}
@keyframes mp-marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.mp-marquee__track { animation: none; }
}

/* ============================================================
   HERO — EDITORIAL SPLIT (modern, minimal, typo-forward)
   ============================================================ */
/* Unified hero block — hero + featured + 3-grid + najave */
.fp-hero-block {
	background: #fff;
	color: var(--mp-ink);
	padding-bottom: clamp(48px, 6vw, 88px);
}
/* Hero area — contains the breathing circle */
.hero-edito {
	position: relative;
	overflow: hidden;
	padding: clamp(28px, 4vw, 56px) 0;
}
.hero-edito__grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
}
.hero-edito__text { max-width: 640px; }
.hero-edito__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font: 600 0.72rem/1 var(--mp-font-body);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--mp-ink-soft);
	margin-bottom: 18px;
}
.hero-edito__sep { width: 22px; height: 1px; background: currentColor; display: inline-block; }
.hero-edito__title {
	font: 400 clamp(3rem, 5.5vw, 6rem)/1.05 var(--mp-font-display);
	font-style: italic;
	font-variation-settings: "opsz" 144, "SOFT" 50;
	letter-spacing: -.02em;
	margin: 0 0 20px;
}
.hero-edito__title a {
	color: var(--mp-ink);
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0 1px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size .45s ease;
}
.hero-edito__title a:hover { background-size: 100% 1px; }
.hero-edito__lead {
	font: 400 0.95rem/1.6 var(--mp-font-body);
	color: var(--mp-ink-soft);
	margin: 0 0 24px;
	max-width: 52ch;
}
.hero-edito__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font: 600 0.72rem/1 var(--mp-font-body);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--mp-ink);
	text-decoration: none;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--mp-ink);
	transition: gap .25s ease, color .25s ease;
}
.hero-edito__cta:hover { gap: 18px; color: var(--mp-hero-circle); border-color: var(--mp-hero-circle); }
.hero-edito__cta svg { transition: transform .25s ease; }
.hero-edito__cta:hover svg { transform: translateX(4px); }

.hero-edito__media {
	position: relative;
	display: block;
	aspect-ratio: 4/3;
	overflow: hidden;
}
.hero-edito__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .6s ease;
}
.hero-edito__media:hover img { transform: scale(1.02); }

/* More strip — minimal list below hero */
.hero-edito__more {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 0;
	margin-top: clamp(32px, 3.5vw, 56px);
	border-top: 1px solid var(--mp-ink);
}
.hero-edito__more > * { min-width: 0; }
.hero-edito__more-item {
	display: block;
	padding: 28px 28px 28px 0;
	text-decoration: none;
	color: var(--mp-ink);
	border-right: 1px solid var(--mp-ink);
	transition: background .25s ease;
}
.hero-edito__more-item:not(:first-child) { padding-left: 28px; }
.hero-edito__more-item:hover { background: rgba(0,0,0,.03); }
.hero-edito__more-img {
	aspect-ratio: 16/10;
	overflow: hidden;
	margin-bottom: 18px;
	background: var(--mp-cream);
	flex-shrink: 0;
}
.hero-edito__more-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}
.hero-edito__more-item:hover .hero-edito__more-img img { transform: scale(1.04); }
.hero-edito__more-cat {
	display: block;
	font: 500 13px/1 var(--mp-font-mono);
	letter-spacing: 0;
	text-transform: uppercase;
	color: var(--mp-ink-soft);
	margin-bottom: 14px;
}
.hero-edito__more-item h3 {
	font: 400 clamp(17px, 1.3vw, 21px)/1.25 var(--mp-font-display);
	margin: 0 0 18px;
	letter-spacing: -.01em;
}
.hero-edito__more-date {
	font: 500 11px/1 var(--mp-font-mono, 'Courier New', monospace);
	letter-spacing: .12em;
	color: var(--mp-ink-soft);
}

/* Events block in hero more strip */
.hero-edito__events {
	padding: 28px;
	display: flex;
	flex-direction: column;
	border-right: 0;
}
.hero-edito__events-list {
	list-style: none;
	margin: 14px 0 auto;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}
.hero-edito__events-list li { border-bottom: 1px solid rgba(0,0,0,.1); }
.hero-edito__events-list li:last-child { border-bottom: 0; }
.hero-edito__events-list a {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	color: var(--mp-ink);
	padding: 18px 0;
	transition: background .2s ease;
}
.hero-edito__events-list a:hover { background: rgba(0,0,0,.03); margin: 0 -8px; padding: 18px 8px; }
.hero-edito__events-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 44px;
	line-height: 1;
}
.hero-edito__events-date strong {
	font: 700 24px/1 var(--mp-font-display);
	color: var(--mp-bordeaux);
}
.hero-edito__events-date em {
	font: 500 10px/1 var(--mp-font-mono, monospace);
	text-transform: uppercase;
	letter-spacing: .1em;
	font-style: normal;
	color: var(--mp-ink-soft);
	margin-top: 2px;
}
.hero-edito__events-info {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
.hero-edito__events-title {
	font: 400 15px/1.3 var(--mp-font-display);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.hero-edito__events-meta {
	font: 400 10px/1.2 var(--mp-font-mono, monospace);
	letter-spacing: .05em;
	color: var(--mp-ink-soft);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.hero-edito__events-empty {
	font: 400 14px/1.4 var(--mp-font-body);
	color: var(--mp-ink-soft);
	padding: 18px 0;
	font-style: italic;
}
.hero-edito__events-all {
	display: inline-block;
	margin-top: auto;
	font: 500 10px/1 var(--mp-font-mono, monospace);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--mp-ink);
	text-decoration: none;
	border-bottom: 1px solid var(--mp-ink);
	padding-bottom: 3px;
	transition: color .2s ease;
}
.hero-edito__events-all:hover { color: var(--mp-bordeaux); border-color: var(--mp-bordeaux); }

/* Single post — event info bar */
.article__event-info {
	display: flex;
	align-items: stretch;
	gap: 0;
	margin: 20px 0 0;
	border: 2px solid var(--mp-ink);
	background: var(--mp-cream);
}
.article__event-date-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 16px 24px;
	background: var(--mp-bordeaux);
	color: var(--mp-paper);
	min-width: 80px;
}
.article__event-date-block strong { font: 700 32px/1 var(--mp-font-display); }
.article__event-date-block span { font: 400 12px/1 var(--mp-font-mono, monospace); text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }
.article__event-detail {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	padding: 14px 24px;
	border-left: 1px solid rgba(0,0,0,.12);
}
.article__event-label {
	font: 500 9px/1 var(--mp-font-mono, monospace);
	text-transform: uppercase;
	letter-spacing: .14em;
	color: var(--mp-ink-soft);
}
.article__event-detail > span:last-child { font: 400 15px/1.3 var(--mp-font-display); }
@media (max-width: 600px) {
	.article__event-info { flex-direction: column; }
	.article__event-detail { border-left: 0; border-top: 1px solid rgba(0,0,0,.12); }
}

/* Share buttons */
.article__share {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: var(--mp-content);
	margin: 40px auto 0;
	padding: 20px 0;
	border-top: 1px solid var(--mp-ink);
}
.article__share-label {
	font: 500 10px/1 var(--mp-font-mono, monospace);
	text-transform: uppercase;
	letter-spacing: .14em;
	color: var(--mp-ink-soft);
	margin-right: 4px;
}
.article__share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px; height: 36px;
	border: 1px solid var(--mp-ink);
	color: var(--mp-ink);
	text-decoration: none;
	transition: var(--mp-trans);
}
.article__share-btn:hover { background: var(--mp-ink); color: var(--mp-paper); }

/* Post navigation (prev/next) */
.article__nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	max-width: var(--mp-content);
	margin: 0 auto;
	border-top: 1px solid var(--mp-ink);
	border-bottom: 1px solid var(--mp-ink);
}
.article__nav-link {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 24px 0;
	text-decoration: none;
	color: var(--mp-ink);
	transition: background .2s ease;
}
.article__nav-link:hover { background: rgba(0,0,0,.03); padding-left: 12px; padding-right: 12px; }
.article__nav-link--next { text-align: right; border-left: 1px solid var(--mp-ink); padding-left: 24px; }
.article__nav-link--prev { padding-right: 24px; }
.article__nav-dir {
	font: 500 10px/1 var(--mp-font-mono, monospace);
	text-transform: uppercase;
	letter-spacing: .14em;
	color: var(--mp-ink-soft);
}
.article__nav-title {
	font: 400 17px/1.3 var(--mp-font-display);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
@media (max-width: 600px) {
	.article__nav { grid-template-columns: 1fr; }
	.article__nav-link--next { border-left: 0; border-top: 1px solid var(--mp-ink); padding-left: 0; text-align: left; }
}

/* 404 page */
.error-404__number {
	font: 900 clamp(120px, 20vw, 260px)/0.85 var(--mp-font-display);
	color: var(--mp-cream);
	-webkit-text-stroke: 3px var(--mp-ink);
	text-stroke: 3px var(--mp-ink);
	letter-spacing: -.04em;
}
.error-404__title {
	font: 400 clamp(24px, 3vw, 40px)/1.2 var(--mp-font-display);
	font-style: italic;
	margin: 20px 0 16px;
}
.error-404__text {
	max-width: 50ch;
	margin: 0 auto 32px;
	color: var(--mp-ink-soft);
	font-size: 17px; line-height: 1.6;
}
.error-404__search { max-width: 400px; margin: 0 auto 32px; }
.error-404__links {
	display: flex;
	justify-content: center;
	gap: 24px;
}
.error-404__links a {
	font: 500 11px/1 var(--mp-font-mono, monospace);
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--mp-ink);
	text-decoration: none;
	padding-bottom: 4px;
	border-bottom: 1px solid var(--mp-ink);
	transition: color .2s ease;
}
.error-404__links a:hover { color: var(--mp-bordeaux); border-color: var(--mp-bordeaux); }

/* Hero-edito grid responsive — see end-of-file responsive block */

/* ============================================================
   Search page
   ============================================================ */
.search-header {
	margin-bottom: 40px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--mp-ink);
}
.search-header__eyebrow {
	display: block;
	font: 500 10px/1 var(--mp-font-mono, monospace);
	text-transform: uppercase;
	letter-spacing: .18em;
	color: var(--mp-ink-soft);
	margin-bottom: 14px;
}
.search-header__title {
	font: 400 clamp(28px, 3.5vw, 48px)/1.1 var(--mp-font-display);
	font-style: italic;
	margin: 0 0 12px;
}
.search-header__count {
	font: 500 12px/1 var(--mp-font-mono, monospace);
	letter-spacing: .1em;
	color: var(--mp-ink-soft);
}
.search-header__form {
	max-width: 520px;
	margin-bottom: 40px;
}
.search-header__form .search-form {
	display: flex;
	gap: 0;
}
.search-header__form .search-field {
	flex: 1;
	padding: 12px 16px;
	border: 2px solid var(--mp-ink);
	border-right: 0;
	font: 400 15px/1 var(--mp-font-body);
	background: var(--mp-paper);
}
.search-header__form .search-submit {
	padding: 12px 24px;
	border: 2px solid var(--mp-ink);
	background: var(--mp-ink);
	color: var(--mp-paper);
	font: 600 12px/1 var(--mp-font-mono, monospace);
	text-transform: uppercase;
	letter-spacing: .1em;
	cursor: pointer;
	transition: var(--mp-trans);
}
.search-header__form .search-submit:hover { background: var(--mp-bordeaux); border-color: var(--mp-bordeaux); }

.search-empty {
	text-align: center;
	padding: 60px 0;
}
.search-empty__icon { color: var(--mp-ink-soft); margin-bottom: 24px; }
.search-empty h2 {
	font: 400 28px/1.2 var(--mp-font-display);
	font-style: italic;
	margin: 0 0 12px;
}
.search-empty p { color: var(--mp-ink-soft); max-width: 45ch; margin: 0 auto 28px; }
.search-empty__links {
	display: flex;
	justify-content: center;
	gap: 24px;
}
.search-empty__links a {
	font: 500 11px/1 var(--mp-font-mono, monospace);
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--mp-ink);
	text-decoration: none;
	padding-bottom: 4px;
	border-bottom: 1px solid var(--mp-ink);
	transition: color .2s ease;
}
.search-empty__links a:hover { color: var(--mp-bordeaux); border-color: var(--mp-bordeaux); }

/* ============================================================
   Archive page header
   ============================================================ */
.archive-header {
	margin-bottom: 8px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--mp-ink);
}
.archive-header__eyebrow {
	display: block;
	font: 500 10px/1 var(--mp-font-mono, monospace);
	text-transform: uppercase;
	letter-spacing: .18em;
	color: var(--mp-ink-soft);
	margin-bottom: 14px;
}
.archive-header__title {
	font: 400 clamp(28px, 3.5vw, 48px)/1.1 var(--mp-font-display);
	font-style: italic;
	margin: 0 0 12px;
}
.archive-header__desc { color: var(--mp-ink-soft); max-width: 60ch; margin-bottom: 12px; }
.archive-header__count {
	font: 500 12px/1 var(--mp-font-mono, monospace);
	letter-spacing: .1em;
	color: var(--mp-ink-soft);
}

/* ============================================================
   Searchform widget/inline
   ============================================================ */
.search-form { display: flex; gap: 0; }
.search-field {
	flex: 1;
	padding: 10px 14px;
	border: 2px solid var(--mp-ink);
	border-right: 0;
	font: 400 15px/1 var(--mp-font-body);
	background: var(--mp-paper);
}
.search-submit {
	padding: 10px 20px;
	border: 2px solid var(--mp-ink);
	background: var(--mp-ink);
	color: var(--mp-paper);
	font: 600 12px/1 var(--mp-font-mono, monospace);
	text-transform: uppercase;
	letter-spacing: .1em;
	cursor: pointer;
	transition: var(--mp-trans);
}
.search-submit:hover { background: var(--mp-bordeaux); border-color: var(--mp-bordeaux); }

/* ============================================================
   Search trigger + modal
   ============================================================ */
.mp-search-trigger {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(255,255,255,.12);
	border: none;
	border-radius: 50%;
	color: var(--mp-paper);
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}
.mp-search-trigger:hover {
	background: rgba(255,255,255,.25);
	transform: scale(1.08);
}
.mp-no-scroll { overflow: hidden; }

/* Overlay */
.mp-search-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 10vh;
}
.mp-search-modal[hidden] { display: none; }
.mp-search-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.55);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

/* Panel */
.mp-search-modal__panel {
	position: relative;
	width: min(640px, calc(100vw - 48px));
	max-height: 75vh;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 24px 80px rgba(0,0,0,.25), 0 2px 8px rgba(0,0,0,.1);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	animation: mp-search-in .2s ease;
}
@keyframes mp-search-in {
	from { opacity: 0; transform: translateY(-12px) scale(.97); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Search input row */
.mp-search-form__row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 24px;
	border-bottom: 1px solid rgba(0,0,0,.08);
}
.mp-search-form__row svg {
	flex-shrink: 0;
	color: var(--mp-ink-soft);
}
.mp-search-form__row input[type="search"] {
	flex: 1;
	border: none;
	outline: none;
	background: transparent;
	font: 400 1.1rem/1.4 var(--mp-font-body);
	color: var(--mp-ink);
}
.mp-search-form__row input[type="search"]::placeholder {
	color: #aaa;
}
.mp-search-form__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: none;
	background: rgba(0,0,0,.06);
	border-radius: 6px;
	font-size: 1.2rem;
	color: var(--mp-ink-soft);
	cursor: pointer;
	transition: background .15s ease;
	line-height: 1;
}
.mp-search-form__close:hover {
	background: rgba(0,0,0,.12);
	color: var(--mp-ink);
}

/* Filters row */
.mp-search-form__filters {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 24px;
	border-bottom: 1px solid rgba(0,0,0,.06);
	background: #fafafa;
}
.mp-search-form__filters select {
	padding: 7px 12px;
	border: 1px solid rgba(0,0,0,.12);
	border-radius: 6px;
	background: #fff;
	font: 500 0.78rem/1 var(--mp-font-body);
	color: var(--mp-ink);
	cursor: pointer;
	outline: none;
	transition: border-color .15s ease;
}
.mp-search-form__filters select:focus {
	border-color: var(--mp-hero-circle);
}
.mp-search-form__check {
	display: flex;
	align-items: center;
	gap: 6px;
	font: 400 0.78rem/1 var(--mp-font-body);
	color: var(--mp-ink-soft);
	cursor: pointer;
	margin-left: auto;
}
.mp-search-form__check input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: var(--mp-hero-circle);
	cursor: pointer;
}

/* Results area */
.mp-search-results {
	flex: 1;
	overflow-y: auto;
	padding: 20px 24px;
	min-height: 120px;
}
.mp-search-results.is-loading {
	opacity: .5;
	pointer-events: none;
}
.mp-search-results__hint {
	text-align: center;
	color: #aaa;
	font: 400 0.9rem/1.5 var(--mp-font-body);
	padding: 32px 0;
	margin: 0;
}

/* Result count header */
.mp-search-results__header {
	font: 600 0.78rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--mp-ink-soft);
	padding-bottom: 12px;
	margin-bottom: 4px;
	border-bottom: 1px solid rgba(0,0,0,.08);
}
.mp-search-results__header small {
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

/* Loading spinner */
.mp-search-loading {
	display: flex;
	justify-content: center;
	padding: 40px 0;
}
.mp-search-spinner {
	width: 28px;
	height: 28px;
	border: 3px solid rgba(0,0,0,.1);
	border-top-color: var(--mp-red);
	border-radius: 50%;
	animation: mp-spin .6s linear infinite;
}
@keyframes mp-spin { to { transform: rotate(360deg); } }

/* Empty state */
.mp-search-results__empty {
	text-align: center;
	padding: 40px 0;
	color: var(--mp-ink-soft);
}
.mp-search-results__empty svg {
	margin: 0 auto 16px;
	color: rgba(0,0,0,.2);
}
.mp-search-results__empty p {
	font: 500 0.95rem/1.4 var(--mp-font-body);
	margin: 0 0 6px;
}
.mp-search-results__empty small {
	font: 400 0.82rem/1.4 var(--mp-font-body);
	color: #aaa;
}

/* Result list */
.mp-search-results__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Result items */
.mp-search-result a {
	display: flex;
	gap: 14px;
	padding: 12px 8px;
	text-decoration: none;
	color: var(--mp-ink);
	transition: background .15s ease;
	margin: 0 -8px;
	border-radius: 8px;
}
.mp-search-result + .mp-search-result { border-top: 1px solid rgba(0,0,0,.05); }
.mp-search-result a:hover,
.mp-search-result a.is-focused { background: rgba(0,0,0,.04); }

/* Thumbnail */
.mp-search-result__img {
	flex-shrink: 0;
	width: 72px;
	height: 54px;
	border-radius: 6px;
	overflow: hidden;
	background: var(--mp-cream);
}
.mp-search-result__img img {
	width: 72px !important;
	height: 54px !important;
	object-fit: cover;
	display: block;
	border: none !important;
	margin: 0 !important;
}
.mp-search-result__img--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(0,0,0,.2);
}

/* Body */
.mp-search-result__body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
.mp-search-result__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font: 600 0.7rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--mp-red);
}
.mp-search-result__geo { font-size: 0.6rem; }
.mp-search-result__date {
	font-weight: 400;
	color: #999;
	margin-left: auto;
	letter-spacing: .02em;
}
.mp-search-result a strong {
	font: 600 0.9rem/1.3 var(--mp-font-body);
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.mp-search-result__excerpt {
	font: 400 0.8rem/1.4 var(--mp-font-body);
	color: var(--mp-ink-soft);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
/* Highlight */
.mp-search-result mark {
	background: rgba(194,48,40,.12);
	color: var(--mp-red);
	padding: 1px 2px;
	border-radius: 2px;
}

@media (max-width: 600px) {
	.mp-search-modal { padding-top: 0; }
	.mp-search-modal__panel {
		width: 100%;
		max-height: 100vh;
		max-height: 100dvh;
		border-radius: 0;
		height: 100%;
	}
	.mp-search-form__filters {
		flex-wrap: wrap;
	}
	.mp-search-form__check {
		margin-left: 0;
		flex-basis: 100%;
	}
	.mp-search-result__img { width: 56px; height: 42px; }
	.mp-search-result__img img { width: 56px !important; height: 42px !important; }
	.mp-search-result__date { display: none; }
	.mp-search-result a strong { font-size: 0.85rem; }
}

/* ============================================================
   Skeleton loading cards
   ============================================================ */
@keyframes shimmer {
	0%   { background-position: -400px 0; }
	100% { background-position: 400px 0; }
}
.card--skeleton { pointer-events: none; }
.card--skeleton .img {
	background: linear-gradient(90deg, var(--mp-cream) 25%, rgba(0,0,0,.06) 37%, var(--mp-cream) 63%);
	background-size: 800px 100%;
	animation: shimmer 1.4s ease infinite;
}
.skel-line {
	height: 14px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--mp-cream) 25%, rgba(0,0,0,.06) 37%, var(--mp-cream) 63%);
	background-size: 800px 100%;
	animation: shimmer 1.4s ease infinite;
	width: 100%;
}
.skel-line--short { width: 35%; height: 10px; }
.skel-line--med   { width: 70%; }

/* === Hero breathing circle === */
@keyframes mp-breathe {
	0%, 100% { transform: translate(-60%, -30%) scale(1);   opacity: .88; }
	50%      { transform: translate(-60%, -30%) scale(1.04); opacity: 1; }
}
.mp-hero-circle {
	position: absolute;
	top: 50%;
	left: 0;
	width: min(120vh, 1400px);
	height: min(120vh, 1400px);
	border-radius: 50%;
	background: var(--mp-hero-circle);
	z-index: 0;
	pointer-events: none;
	transform: translate(-60%, -30%);
	animation: mp-breathe 7s ease-in-out infinite;
	will-change: transform, opacity;
}
.hero-edito .wrapper { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
	.mp-hero-circle { animation: none; opacity: .9; }
}
/* Hero circle responsive — see end-of-file responsive block */

/* === Front page content (inside fp-hero-block) === */

/* --- Featured post --- */
.fp-featured { margin-top: clamp(40px, 5vw, 72px); margin-bottom: 28px; }
.fp-featured__media {
	display: block;
	aspect-ratio: 16/9;
	overflow: hidden;
	margin-bottom: 28px;
}
.fp-featured__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}
.fp-featured:hover .fp-featured__media img { transform: scale(1.02); }
.fp-featured__body { max-width: 680px; }
.fp-featured__cat {
	display: inline-block;
	font: 600 0.72rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--mp-hero-circle);
	margin-bottom: 14px;
}
.fp-featured__title {
	font: 400 clamp(2.2rem, 4vw, 3.8rem)/1.05 var(--mp-font-display);
	font-style: italic;
	font-variation-settings: "opsz" 72, "SOFT" 50;
	letter-spacing: -.02em;
	margin: 0 0 14px;
}
.fp-featured__title a {
	color: var(--mp-ink);
	text-decoration: none;
	transition: color .25s ease;
}
.fp-featured__title a:hover { color: var(--mp-hero-circle); }
.fp-featured__date {
	display: block;
	font: 400 0.7rem/1 var(--mp-font-body);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #555;
	margin-bottom: 18px;
}
.fp-featured__excerpt {
	font: 400 0.95rem/1.6 var(--mp-font-body);
	color: var(--mp-ink-soft);
	margin: 0 0 24px;
	max-width: 56ch;
}
.fp-featured__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font: 600 0.72rem/1 var(--mp-font-body);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--mp-ink);
	text-decoration: none;
	padding-bottom: 5px;
	border-bottom: 1px solid var(--mp-ink);
	transition: gap .25s ease, color .25s ease;
}
.fp-featured__cta:hover { gap: 14px; color: var(--mp-hero-circle); border-color: var(--mp-hero-circle); }
.fp-featured__cta svg { transition: transform .25s ease; }
.fp-featured__cta:hover svg { transform: translateX(3px); }

/* --- 3-column grid --- */
.fp-three {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	padding-top: 40px;
}
.fp-three__card { display: flex; flex-direction: column; }
.fp-three__media {
	display: block;
	aspect-ratio: 4/3;
	overflow: hidden;
	margin-bottom: 16px;
}
.fp-three__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform .5s ease;
}
.fp-three__card:hover .fp-three__media img { transform: scale(1.03); }
.fp-three__body { display: flex; flex-direction: column; gap: 0.5rem; }
.fp-three__cat {
	font: 600 0.72rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--mp-hero-circle);
}
.fp-three__title {
	font: 400 1.8rem/1.2 var(--mp-font-display);
	font-style: italic;
	font-variation-settings: "opsz" 36, "SOFT" 50;
	letter-spacing: -.01em;
	margin: 0;
}
.fp-three__title a {
	color: var(--mp-ink);
	text-decoration: none;
	transition: color .25s ease;
}
.fp-three__title a:hover { color: var(--mp-hero-circle); }
.fp-three__date {
	font: 400 0.7rem/1 var(--mp-font-body);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #555;
}

/* --- Najave row (4 columns) --- */
.fp-najave {
	margin-top: 48px;
}
.fp-najave__head {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 28px;
}
.fp-najave__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font: 700 0.95rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--mp-hero-circle);
	white-space: nowrap;
}
.fp-najave__label svg {
	width: 18px;
	height: 18px;
	stroke: var(--mp-hero-circle);
}
.fp-najave__line {
	flex: 1;
	height: 1px;
	background: rgba(0,0,0,.1);
}
.fp-najave__all {
	font: 600 0.72rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--mp-ink);
	text-decoration: none;
	border-bottom: 1.5px solid var(--mp-ink);
	padding-bottom: 3px;
	white-space: nowrap;
	transition: color .2s ease, border-color .2s ease;
}
.fp-najave__all:hover {
	color: var(--mp-hero-circle);
	border-color: var(--mp-hero-circle);
}
.fp-najave__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}
.fp-najave__item {
	display: flex;
	flex-direction: column;
	padding: 24px 28px;
	text-decoration: none;
	color: var(--mp-ink);
	transition: background .2s ease;
}
.fp-najave__item:first-child { padding-left: 0; }
.fp-najave__item:last-child { padding-right: 0; }
.fp-najave__item:hover { background: rgba(194,48,40,.06); }
.fp-najave__day {
	font: 500 clamp(2.8rem, 4vw, 3.8rem)/1 var(--mp-font-display);
	font-variation-settings: "opsz" 144;
	color: var(--mp-hero-circle);
	letter-spacing: -.02em;
}
.fp-najave__mon {
	font: 600 0.9rem/1 var(--mp-font-body);
	text-transform: uppercase;
	letter-spacing: .15em;
	color: var(--mp-hero-circle);
	margin-top: 0.25rem;
}
.fp-najave__title {
	font: 600 1.1rem/1.35 var(--mp-font-body);
	color: var(--mp-ink);
	margin-top: 1rem;
	min-height: calc(1.1rem * 1.35 * 2);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.fp-najave__loc {
	font: 400 0.9rem/1.4 var(--mp-font-body);
	color: #777;
	margin-top: 0.5rem;
}

/* ============================================================
   RESPONSIVE — Front page (desktop-first)
   ============================================================ */

/* === Responsive: Global wrapper === */
@media (max-width: 1023px) {
	.wrapper { padding: 0 2rem; }
}
@media (max-width: 559px) {
	.wrapper { padding: 0 1.25rem; }
}

/* === Responsive: Hero === */
@media (max-width: 1023px) {
	.hero-edito { padding: clamp(20px, 3vw, 40px) 0; }
	.hero-edito__title { font-size: clamp(1.6rem, 5vw, 2.8rem); }
	.hero-edito__lead { font-size: 0.9rem; -webkit-line-clamp: 4; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (max-width: 767px) {
	.hero-edito__grid { grid-template-columns: 1fr; gap: 24px; }
	.hero-edito__media { aspect-ratio: 16/9; order: -1; }
	.hero-edito__text { max-width: 100%; }
	.hero-edito__eyebrow { font-size: 0.65rem; }
}
@media (max-width: 559px) {
	.hero-edito { padding: 1.5rem 0; }
	.hero-edito__grid { gap: 16px; }
	.hero-edito__media { aspect-ratio: 4/3; }
	.hero-edito__title { font-size: clamp(1.4rem, 6vw, 2rem); }
	.hero-edito__lead { -webkit-line-clamp: 3; font-size: 0.85rem; }
	.hero-edito__cta { padding-bottom: 4px; font-size: 0.7rem; }
	.fp-hero-block { padding-bottom: 32px; }
}

/* === Responsive: Hero circle === */
@media (max-width: 1023px) {
	.mp-hero-circle {
		width: min(90vh, 900px);
		height: min(90vh, 900px);
	}
}
@media (max-width: 767px) {
	.mp-hero-circle {
		width: min(70vh, 500px);
		height: min(70vh, 500px);
		opacity: .7;
	}
}
@media (max-width: 559px) {
	.mp-hero-circle {
		width: min(50vh, 350px);
		height: min(50vh, 350px);
		opacity: .5;
	}
}

/* === Responsive: Featured post === */
@media (max-width: 767px) {
	.fp-featured__media { aspect-ratio: 16/9; margin-bottom: 20px; }
	.fp-featured__title { font-size: clamp(1.6rem, 5vw, 2.4rem); }
	.fp-featured__excerpt {
		display: -webkit-box;
		-webkit-line-clamp: 4;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
	.fp-featured__cta { margin-top: 1.5rem; }
}

/* === Responsive: 3-column grid === */
@media (max-width: 1023px) {
	.fp-three { gap: 20px; }
	.fp-three__title { font-size: 1.4rem; }
}
@media (max-width: 767px) {
	.fp-three { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
	.fp-three__title { font-size: 1.2rem; }
}
@media (max-width: 559px) {
	.fp-three { grid-template-columns: 1fr; gap: 2.5rem; }
	.fp-three__media { aspect-ratio: 16/9; }
	.fp-three__title { font-size: 1.4rem; }
}

/* === Responsive: Najave === */
@media (max-width: 1023px) {
	.fp-najave__grid { grid-template-columns: repeat(2, 1fr); }
	.fp-najave__item:nth-child(odd) { padding-left: 0; }
	.fp-najave__item:nth-child(even) { padding-right: 0; }
}
@media (max-width: 559px) {
	.fp-najave__grid { grid-template-columns: 1fr; }
	.fp-najave__item { padding-left: 0; padding-right: 0; }
	.fp-najave__item + .fp-najave__item { margin-top: 16px; }
	.fp-najave__head { flex-wrap: wrap; }
	.fp-najave__line { flex-basis: 100%; order: 3; margin-top: 8px; }
}

/* === Responsive: Geo strip === */
@media (max-width: 1023px) {
	.geo-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 559px) {
	.geo-strip { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* === Responsive: Teme grid === */
@media (max-width: 1023px) {
	.teme-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 559px) {
	.teme-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === Responsive: Kvart chips === */
@media (max-width: 559px) {
	.kvart-chip { padding: 8px 14px; }
	.kvart-chip__name { font-size: 0.82rem; }
}

/* === Responsive: Stat panel === */
@media (max-width: 767px) {
	.section--stats { padding: 56px 0; }
	.stat-panel__grid { grid-template-columns: repeat(2, 1fr); }
	.stat-panel__head { margin-bottom: 32px; }
}
@media (max-width: 559px) {
	.stat-cell { padding: 24px 12px; }
}

/* === Responsive: JLZ carousel === */
@media (max-width: 767px) {
	.jlz__card { grid-template-columns: 1fr; }
	.jlz__img { aspect-ratio: 16/9; }
	.jlz__body { padding: 24px; }
}
@media (max-width: 559px) {
	.jlz__body { padding: 20px 16px; }
	.jlz__title { font-size: 1.1rem; }
	.jlz__excerpt { font-size: 0.88rem; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
}

/* === Responsive: Banner === */
@media (max-width: 767px) {
	.section--banner { padding: 56px 0; }
	.collab-banner { flex-direction: column; align-items: flex-start; gap: 28px; }
	.collab-banner__text h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
	.btn--big { padding: 16px 36px; font-size: 0.9rem; }
}
@media (max-width: 559px) {
	.section--banner { padding: 40px 0; }
	.section--banner::before { display: none; }
	.collab-banner__text p { font-size: 0.9rem; }
	.btn--big { width: 100%; justify-content: center; padding: 18px 24px; }
}

/* === Responsive: Footer === */
@media (max-width: 1000px) {
	.footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 559px) {
	.footer__inner { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px 32px; }
	.footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
	.footer__contact { gap: 18px; }
}

/* === Touch targets — global === */
@media (max-width: 767px) {
	.fp-najave__item { min-height: 44px; }
	.kvart-chip { min-height: 44px; }
	.geo-card { min-height: 44px; }
	.teme-card { min-height: 44px; }
}

