/*
Theme Name: Miljuš
Theme URI: https://advmiljus.rs/
Author: Advokatska kancelarija Miljuš
Description: Tema za Advokatsku kancelariju Miljuš, Novi Sad. Dvojezična (SR/EN), 3D galerija bista u heroju, vaga na kontakt stranici, SEO i schema.org ugrađeni.
Version: 1.0.15
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: miljus
*/

/* ---------- Fontovi (lokalno, bez Google servera) ---------- */
@font-face {
	font-family: "Newsreader";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url(assets/fonts/newsreader-latin-wght-normal.woff2) format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Newsreader";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url(assets/fonts/newsreader-latin-ext-wght-normal.woff2) format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Newsreader";
	font-style: italic;
	font-weight: 200 800;
	font-display: swap;
	src: url(assets/fonts/newsreader-latin-wght-italic.woff2) format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Newsreader";
	font-style: italic;
	font-weight: 200 800;
	font-display: swap;
	src: url(assets/fonts/newsreader-latin-ext-wght-italic.woff2) format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Hanken Grotesk";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url(assets/fonts/hanken-grotesk-latin-wght-normal.woff2) format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Hanken Grotesk";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url(assets/fonts/hanken-grotesk-latin-ext-wght-normal.woff2) format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokeni ---------- */
:root {
	--ink: #0e2420;
	--ink-2: #14322c;
	--ink-3: #1d4038;
	--brass: #c29a5b;
	--brass-2: #e3c48f;
	--brass-3: #8e6c38;
	--chalk: #eceee9;
	--paper: #f6f7f4;
	--graphite: #17201c;
	--mute: #59655f;
	--mute-d: #a5b2ab;
	--line: rgba(23, 32, 28, 0.14);
	--line-d: rgba(236, 238, 233, 0.16);

	--serif: "Newsreader", Georgia, "Times New Roman", serif;
	--sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

	--fs-xs: 0.8125rem;
	--fs-s: 0.9375rem;
	--fs-b: 1.0625rem;
	--fs-l: 1.3125rem;
	--fs-h4: 1.5rem;
	--fs-h3: clamp(1.625rem, 1.2rem + 1.2vw, 2.25rem);
	--fs-h2: clamp(2.25rem, 1.4rem + 2.8vw, 3.75rem);
	--fs-h1: clamp(2.875rem, 1.6rem + 5vw, 6rem);
	--fs-mega: clamp(3.25rem, 1.4rem + 7.4vw, 8.5rem);

	--wrap: 1240px;
	--gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
	--section: clamp(4.5rem, 3rem + 6vw, 9rem);
	--radius: 2px;
	--ease: cubic-bezier(0.22, 0.8, 0.24, 1);
	--header-h: 76px;
}

/* ---------- Osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--graphite);
	font-family: var(--sans);
	font-size: var(--fs-b);
	line-height: 1.6;
	font-feature-settings: "kern", "liga";
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--brass-3); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
::selection { background: var(--brass-2); color: var(--ink); }
h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.01em;
	margin: 0 0 0.5em;
	font-optical-sizing: auto;
	text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.12; }
h4 { font-size: var(--fs-h4); line-height: 1.2; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
.screen-reader-text, .sr-only {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 1rem; top: -100px; z-index: 1000;
	background: var(--brass); color: var(--ink); padding: 0.75rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Dugmad ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
	min-height: 52px; padding: 0.8rem 1.5rem;
	background: var(--brass); color: var(--ink);
	border: 1px solid var(--brass); border-radius: var(--radius);
	font-family: var(--sans); font-weight: 600; font-size: var(--fs-s); letter-spacing: 0.01em;
	text-decoration: none; cursor: pointer;
	transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { background: var(--brass-2); border-color: var(--brass-2); color: var(--ink); }
.btn--ghost { background: transparent; color: currentColor; border-color: currentColor; }
.btn--ghost:hover { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }
.btn--ink { background: var(--ink); color: var(--chalk); border-color: var(--ink); }
.btn--ink:hover { background: var(--ink-3); border-color: var(--ink-3); color: #fff; }
.link-line {
	display: inline-block; font-weight: 600; text-decoration: none;
	border-bottom: 1px solid var(--brass); padding-bottom: 2px;
}
.link-line:hover { color: var(--brass-3); border-color: var(--brass-3); }

/* ---------- Zaglavlje ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 50;
	height: var(--header-h);
	color: var(--chalk);
	transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.site-header.is-solid {
	background: rgba(14, 36, 32, 0.92);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	box-shadow: 0 1px 0 var(--line-d);
}
.site-header__in { display: flex; align-items: center; gap: 2rem; height: 100%; }
.brand { display: flex; align-items: center; gap: 0.56rem; text-decoration: none; color: inherit; margin-right: auto; }
.brand:hover { color: inherit; }
.brand__mark { width: 33px; height: 33px; color: var(--chalk); flex: none; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__kicker { font-size: 0.47rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 0.22rem; }
.brand__name { font-family: var(--serif); font-size: 1.3125rem; font-weight: 650; letter-spacing: -0.005em; }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 0.25rem; }
.nav a, .nav button.nav__toggle {
	display: inline-flex; align-items: center; gap: 0.35rem;
	padding: 0.6rem 0.8rem; font-size: var(--fs-s); font-weight: 500;
	text-decoration: none; color: inherit; background: none; border: 0; cursor: pointer;
}
.nav a:hover, .nav button.nav__toggle:hover, .nav a[aria-current="page"] { color: var(--brass-2); }
.nav__has-sub { position: relative; }
.nav__toggle svg { width: 10px; height: 10px; transition: transform 0.25s var(--ease); }
.nav__has-sub.is-open .nav__toggle svg { transform: rotate(180deg); }
.nav__sub {
	position: absolute; top: calc(100% + 10px); left: -1rem;
	width: 560px; padding: 1.25rem;
	display: grid; grid-template-columns: 1fr 1fr; gap: 0.1rem 1rem;
	background: var(--ink); border: 1px solid var(--line-d);
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.nav__has-sub.is-open .nav__sub, .nav__has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 0.55rem 0.6rem; font-size: var(--fs-s); border-bottom: 1px solid var(--line-d); }
.nav__sub a.nav__all { grid-column: 1 / -1; border: 0; color: var(--brass-2); margin-top: 0.4rem; }
.lang-switch {
	font-size: var(--fs-xs) !important; font-weight: 700 !important; letter-spacing: 0.06em;
	border: 1px solid var(--line-d); border-radius: 99px; padding: 0.35rem 0.7rem !important; margin: 0 0.5rem;
}
.site-header .btn { min-height: 44px; padding: 0.55rem 1.1rem; }
.menu-btn { display: none; background: none; border: 0; color: inherit; padding: 0.5rem; cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }

@media (max-width: 1080px) {
	.nav, .site-header .btn--header { display: none; }
	.menu-btn { display: inline-flex; }
}

/* Mobilni meni */
.mobile-menu {
	position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--chalk);
	padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
	overflow-y: auto; display: none;
}
.mobile-menu.is-open { display: block; }
.mobile-menu__close { position: absolute; top: 1.1rem; right: var(--gutter); background: none; border: 0; color: inherit; padding: 0.5rem; cursor: pointer; }
.mobile-menu__close svg { width: 28px; height: 28px; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu > nav > ul > li > a { display: block; font-family: var(--serif); font-size: 2.25rem; padding: 0.35rem 0; text-decoration: none; }
.mobile-menu .sub a { display: block; padding: 0.45rem 0 0.45rem 0.25rem; color: var(--mute-d); text-decoration: none; border-bottom: 1px solid var(--line-d); }
.mobile-menu .sub { margin: 0.25rem 0 1rem; }
.mobile-menu__foot { margin-top: 2rem; display: grid; gap: 0.75rem; }

/* ---------- Galerija bista (hero) ---------- */
.gallery {
	--stops: 6;
	position: relative;
	height: calc(var(--stops) * 85vh + 15vh);
	background: var(--ink);
	color: var(--chalk);
}
.gallery__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.gallery__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.gallery__poster {
	position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 66% 42%, #26453d 0%, var(--ink) 70%);
	transition: opacity 1.2s var(--ease);
}
.gallery__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.gallery.is-3d .gallery__poster { opacity: 0; pointer-events: none; }
.gallery__grain {
	position: absolute; inset: -50%; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.gallery__vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 85% 75% at 60% 45%, transparent 40%, rgba(5, 14, 12, 0.75) 100%); }

.gallery__panels { position: absolute; inset: 0; pointer-events: none; }
.panel {
	position: absolute; left: 0; right: 0; bottom: clamp(5rem, 14vh, 9rem);
	pointer-events: none; opacity: 0; transform: translateY(24px);
	transition: opacity 0.7s var(--ease), transform 0.9s var(--ease);
}
.panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.panel__in { max-width: 600px; }
.panel--intro { top: 0; bottom: 0; display: flex; align-items: center; }
.panel--intro .panel__in { max-width: 680px; }
.panel h1 { font-size: var(--fs-mega); line-height: 0.95; letter-spacing: -0.025em; margin-bottom: 0.35em; font-weight: 500; }
.panel__lead { font-size: var(--fs-l); line-height: 1.5; color: #d9ded8; max-width: 34em; margin-bottom: 2rem; }
.panel__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.panel__era { font-family: var(--serif); font-style: italic; color: var(--brass-2); font-size: var(--fs-l); margin-bottom: 0.6rem; }
.panel__name { font-size: var(--fs-h2); margin-bottom: 0.3em; }
.panel__quote { font-family: var(--serif); font-style: italic; font-size: var(--fs-h4); line-height: 1.35; color: var(--chalk); margin: 0 0 0.9rem; max-width: 26em; }
.panel__quote span { display: block; font-family: var(--sans); font-style: normal; font-size: var(--fs-s); color: var(--mute-d); margin-top: 0.4rem; }
.panel__text { color: #c9d1cb; max-width: 32em; margin: 0; font-size: var(--fs-l); line-height: 1.5; }
.panel__links { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.panel__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 1.1rem; border: 1px solid rgba(227, 196, 143, 0.45); border-radius: 99px; text-decoration: none; color: var(--brass-2); font-size: var(--fs-s); font-weight: 600; background: rgba(14, 36, 32, 0.45); transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease); }
.panel__links a:hover { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.panel--final .panel__in { max-width: 720px; }
.panel--final h2 { font-size: var(--fs-h1); }

.gallery__rail {
	position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
	list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; text-align: right;
}
.gallery__rail button {
	background: none; border: 0; cursor: pointer; color: var(--mute-d);
	font-family: var(--serif); font-size: 0.95rem; padding: 0.3rem 0 0.3rem 1.2rem; position: relative;
	transition: color 0.3s var(--ease);
}
.gallery__rail button::before { content: ""; position: absolute; left: 0; top: 50%; width: 0.6rem; height: 1px; background: currentColor; transition: width 0.3s var(--ease); }
.gallery__rail button[aria-current="true"] { color: var(--brass-2); }
.gallery__rail button[aria-current="true"]::before { width: 0.9rem; }
.gallery__hint {
	position: absolute; left: var(--gutter); bottom: 1.5rem; font-size: var(--fs-xs); color: var(--mute-d);
	display: flex; align-items: center; gap: 0.6rem; transition: opacity 0.5s;
}
.gallery__hint i { display: block; width: 1px; height: 34px; background: linear-gradient(var(--brass), transparent); animation: drip 2.2s var(--ease) infinite; }
.gallery__skip { position: absolute; right: var(--gutter); bottom: 1.5rem; font-size: var(--fs-xs); color: var(--mute-d); }
.gallery__skip:hover { color: var(--brass-2); }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 760px) {
	.gallery { height: calc(var(--stops) * 80vh + 10vh); }
	.panel { bottom: 4.5rem; }
	.panel--intro { align-items: flex-end; padding-bottom: 4.5rem; }
	.panel h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
	.panel__lead { font-size: var(--fs-b); margin-bottom: 1.25rem; }
	.panel__name { font-size: 2.25rem; }
	.panel__quote { font-size: 1.15rem; }
	.panel__text { font-size: var(--fs-b); }
	.panel__links { margin-top: 1rem; }
	.panel__links a { min-height: 40px; padding: 0.4rem 0.9rem; }
	.panel::before { content: ""; position: absolute; inset: -3rem 0 -6rem; background: linear-gradient(transparent, rgba(8, 22, 19, 0.9) 40%); z-index: -1; }
	.panel--intro::before { inset: 0; background: linear-gradient(transparent 42%, rgba(8, 22, 19, 0.92) 62%); }
	.panel--intro .btn--ghost { display: none; }
	.panel--final h2 { font-size: 2.75rem; }
	.gallery__rail { display: none; }
	.gallery__poster img { object-position: 50% 30%; }
}

/* Bez JS / bez WebGL: galerija se raspada u običnu listu. */
html:not(.js) .gallery, .gallery.is-static { height: auto; }
html:not(.js) .gallery .gallery__stage, .gallery.is-static .gallery__stage { position: relative; height: auto; min-height: 100svh; }
html:not(.js) .gallery .gallery__panels, .gallery.is-static .gallery__panels { position: relative; padding: calc(var(--header-h) + 3rem) 0 4rem; }
html:not(.js) .gallery .panel, .gallery.is-static .panel { position: relative; opacity: 1; transform: none; bottom: auto; margin-bottom: 3.5rem; pointer-events: auto; }
html:not(.js) .gallery .panel--intro, .gallery.is-static .panel--intro { min-height: 70svh; }
html:not(.js) .gallery .gallery__rail, html:not(.js) .gallery .gallery__hint, .gallery.is-static .gallery__rail, .gallery.is-static .gallery__hint { display: none; }
html:not(.js) .gallery .panel::before, .gallery.is-static .panel::before { display: none; }

/* ---------- Sekcije ---------- */
.section { padding: var(--section) 0; }
.section--ink { background: var(--ink); color: var(--chalk); }
.section--chalk { background: var(--chalk); }
.section__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section__head h2 { margin: 0; }
.section__head p { margin: 0; color: var(--mute); max-width: 36em; }
.section--ink .section__head p { color: var(--mute-d); }
@media (max-width: 860px) { .section__head { grid-template-columns: 1fr; } }

/* Izjava + vremenska linija */
.statement { font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.25; max-width: 24em; margin: 0 0 clamp(3rem, 6vw, 5rem); font-weight: 400; }
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { padding-top: 1.5rem; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--brass); }
.timeline b { display: block; font-family: var(--serif); font-size: var(--fs-h3); font-weight: 500; margin-bottom: 0.5rem; }
.timeline p { color: var(--mute); margin: 0; max-width: 28em; }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr; } }

/* Oblasti rada: indeks */
.area-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.area-index li { border-bottom: 1px solid var(--line); }
.area-index a {
	display: grid; grid-template-columns: 2.5rem minmax(0, 5fr) minmax(0, 6fr) auto; gap: 1.5rem; align-items: baseline;
	padding: 1.6rem 0; text-decoration: none; color: inherit; position: relative;
}
.area-index a::after {
	content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--brass);
	transition: width 0.6s var(--ease);
}
.area-index a:hover::after, .area-index a:focus-visible::after { width: 100%; }
.area-index__sym { font-family: var(--serif); color: var(--brass-3); font-size: 1.5rem; }
.area-index__title { font-family: var(--serif); font-size: var(--fs-h4); line-height: 1.15; transition: color 0.3s; }
.area-index a:hover .area-index__title { color: var(--brass-3); }
.area-index__lead { color: var(--mute); font-size: var(--fs-s); margin: 0; }
.area-index__go { width: 22px; height: 22px; color: var(--brass-3); transition: transform 0.4s var(--ease); align-self: center; }
.area-index a:hover .area-index__go { transform: translateX(6px); }
.section--ink .area-index, .section--ink .area-index li { border-color: var(--line-d); }
.section--ink .area-index__lead { color: var(--mute-d); }
.section--ink .area-index__sym, .section--ink .area-index__go { color: var(--brass); }
@media (max-width: 760px) {
	.area-index a { grid-template-columns: 1.75rem minmax(0, 1fr) auto; gap: 0.25rem 0.75rem; }
	.area-index__lead { grid-column: 2 / 3; }
	.area-index__go { grid-row: 1; grid-column: 3; }
}

/* Vrednosti */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
.values > div { border-top: 1px solid var(--brass); padding-top: 1.25rem; }
.values h3 { font-size: var(--fs-h4); margin-bottom: 0.6rem; }
.values p { color: var(--mute-d); margin: 0; font-size: var(--fs-s); }
@media (max-width: 960px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* Tim */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); }
.person-card { text-decoration: none; color: inherit; display: block; }
.person-card__img { position: relative; aspect-ratio: 700 / 649; overflow: hidden; background: #fff; margin-bottom: 1.25rem; }
.person-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); filter: grayscale(0.15); }
.person-card:hover .person-card__img img { transform: scale(1.03); }
.person-card__since { position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--brass-2); font-family: var(--serif); font-size: var(--fs-l); padding: 0.5rem 1rem; }
.person-card h3 { margin-bottom: 0.2rem; }
.person-card p { color: var(--mute); margin: 0 0 0.75rem; }
@media (max-width: 680px) { .team { grid-template-columns: 1fr; } }
/* Zlatni ram sa zelenim paspartuom i mesinganom pločicom (opciono, Customizer) */
.frame { --rx: 0deg; --ry: 0deg; --gx: 30%; --gy: 20%; max-width: 300px; margin: 0 auto 1.75rem; perspective: 1100px; }
.frame__gild {
	position: relative; padding: 14px; border-radius: 2px;
	background:
		linear-gradient(135deg, rgba(255, 246, 214, 0.55), transparent 28%, transparent 72%, rgba(70, 45, 12, 0.35)),
		linear-gradient(90deg, #a87b38 0%, #f1d796 14%, #c79a52 30%, #8f6327 50%, #d9b46c 68%, #f4dfa4 84%, #a57836 100%);
	box-shadow:
		inset 0 0 0 1px rgba(255, 244, 210, 0.75),
		inset 0 0 0 4px rgba(122, 86, 32, 0.65),
		inset 0 0 0 6px #ecd394,
		inset 0 0 0 8px rgba(100, 68, 22, 0.55),
		0 2px 0 #6e4c1c,
		0 30px 46px -22px rgba(8, 20, 17, 0.6),
		0 10px 16px -10px rgba(8, 20, 17, 0.4);
	transform: rotateX(var(--rx)) rotateY(var(--ry));
	transform-style: preserve-3d;
	transition: transform 0.7s var(--ease);
}
.frame.is-tilting .frame__gild { transition: transform 0.12s linear; }
.frame__mat {
	padding: clamp(16px, 2.4vw, 24px);
	background: radial-gradient(ellipse at 50% 35%, #24493f, var(--ink-2) 75%);
	box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.55), inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}
.frame__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #fff; box-shadow: 0 0 0 2px #d8cba6, 0 0 0 3px rgba(0, 0, 0, 0.25), inset 0 2px 6px rgba(0, 0, 0, 0.25); }
.frame__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(0.9) contrast(1.02); }
.frame__photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.22); pointer-events: none; }
.frame__glare { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: 0; transition: opacity 0.5s var(--ease); background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.85), transparent 45%); }
.frame.is-tilting .frame__glare { opacity: 1; }
.frame__plaque {
	width: fit-content; min-width: 62%; margin: 1.1rem auto 0; padding: 0.55rem 1.4rem 0.6rem; text-align: center; position: relative;
	background: linear-gradient(135deg, #e2c487, #b88f52 50%, #8e6a35);
	box-shadow: inset 0 0 0 1px rgba(255, 240, 200, 0.55), inset 0 0 0 3px rgba(80, 55, 20, 0.45), 0 6px 14px -8px rgba(8, 20, 17, 0.6);
	color: #2b1f0e; text-shadow: 0 1px 0 rgba(255, 236, 190, 0.55);
}
.frame__plaque::before, .frame__plaque::after { content: ""; position: absolute; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff1c8, #7a5622); }
.frame__plaque::before { left: 9px; } .frame__plaque::after { right: 9px; }
.frame__plaque b { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.2; }
.frame__plaque span { display: block; font-family: var(--serif); font-style: italic; font-size: 0.9rem; line-height: 1.3; }
.person-card .frame + h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.person-card:has(.frame) { text-align: center; }
.person-card:has(.frame) p { max-width: 30em; margin-left: auto; margin-right: auto; }
@media (prefers-reduced-motion: reduce) { .frame__gild { transform: none !important; } }


/* Lista tekstova */
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 2rem; padding: 1.75rem 0; text-decoration: none; color: inherit; }
.post-list time { color: var(--mute); font-size: var(--fs-s); padding-top: 0.35rem; }
.post-list h3 { font-size: var(--fs-h4); margin-bottom: 0.4rem; transition: color 0.3s; }
.post-list a:hover h3 { color: var(--brass-3); }
.post-list p { color: var(--mute); margin: 0; max-width: 46em; }
.post-list__meta { display: block; font-size: var(--fs-xs); color: var(--mute); margin-top: 0.4rem; }
@media (max-width: 680px) { .post-list a { grid-template-columns: 1fr; gap: 0.25rem; } }

/* CTA traka */
.cta-band { background: var(--ink-2); color: var(--chalk); padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -12%; top: -40%; width: 55%; height: 180%; background: radial-gradient(closest-side, rgba(194, 154, 91, 0.1), transparent); pointer-events: none; }
.cta-band__top { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem 4rem; padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid rgba(194, 154, 91, 0.45); }
.cta-band__copy { max-width: 40rem; }
.cta-band h2 { font-size: var(--fs-h2); margin: 0 0 0.35em; }
.cta-band__copy p { color: var(--mute-d); font-size: var(--fs-l); line-height: 1.5; margin: 0; }
.cta-band__btn { flex: none; min-height: 56px; padding: 0.9rem 1.75rem; }
.cta-band__grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.cta-band__grid > div { padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2.5rem) 0; border-left: 1px solid var(--line-d); }
.cta-band__grid > div:first-child { padding-left: 0; border-left: 0; }
.cta-band__grid dt { font-size: var(--fs-s); color: var(--brass-2); margin-bottom: 0.75rem; }
.cta-band__grid dd { margin: 0; display: grid; gap: 0.3rem; font-family: var(--serif); font-size: var(--fs-l); line-height: 1.35; }
.cta-band__grid dd a { text-decoration: none; width: fit-content; }
.cta-band__grid dd a:hover { color: var(--brass-2); }
.cta-band__grid dd a[href^="mailto"] { overflow-wrap: anywhere; }
.cta-band__note { font-family: var(--sans); font-size: var(--fs-s); color: var(--mute-d); }
.cta-band__grid dd a.cta-band__map { font-family: var(--sans); font-size: var(--fs-s); font-weight: 600; color: var(--brass-2); margin-top: 0.5rem; border-bottom: 1px solid rgba(227, 196, 143, 0.5); padding-bottom: 1px; }
@media (max-width: 860px) {
	.cta-band__top { flex-direction: column; align-items: flex-start; }
	.cta-band__grid { grid-template-columns: 1fr; }
	.cta-band__grid > div { padding: 1.5rem 0; border-left: 0; border-bottom: 1px solid var(--line-d); }
	.cta-band__grid > div:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* ---------- Unutrašnje stranice ---------- */
.page-hero {
	background: var(--ink); color: var(--chalk);
	padding: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) 0 clamp(3rem, 6vw, 5rem);
	position: relative; overflow: hidden;
}
.page-hero::after {
	content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 160%;
	background: radial-gradient(closest-side, rgba(194, 154, 91, 0.12), transparent);
	pointer-events: none;
}
.page-hero h1 { max-width: 15em; margin-bottom: 0.4em; position: relative; z-index: 1; }
.page-hero__lead { font-size: var(--fs-l); color: #d3d9d4; max-width: 36em; margin-bottom: 0; position: relative; z-index: 1; }
.page-hero__actions { margin-top: 2rem; display: flex; gap: 0.75rem; flex-wrap: wrap; position: relative; z-index: 1; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 2rem; padding: 0; font-size: var(--fs-xs); color: var(--mute-d); position: relative; z-index: 1; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--brass-2); }

.area-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.area-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.area-aside h2 { font-size: var(--fs-h4); margin-bottom: 1rem; }
.services { list-style: none; margin: 0 0 2.5rem; padding: 0; border-top: 1px solid var(--line); counter-reset: s; }
.services li { padding: 0.8rem 0 0.8rem 1.6rem; border-bottom: 1px solid var(--line); position: relative; font-size: var(--fs-s); }
.services li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: 0.7rem; height: 1px; background: var(--brass); }
.lawyer-mini { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 1rem; align-items: center; padding: 1.25rem; background: var(--chalk); text-decoration: none; color: inherit; }
.lawyer-mini img { width: 84px; height: 84px; object-fit: cover; object-position: 50% 20%; border-radius: 50%; background: #fff; }
.lawyer-mini small { display: block; color: var(--mute); font-size: var(--fs-xs); }
.lawyer-mini b { font-family: var(--serif); font-size: var(--fs-l); font-weight: 500; }
@media (max-width: 900px) { .area-layout { grid-template-columns: 1fr; } .area-aside { position: static; } }

.prose { max-width: 40rem; font-size: 1.125rem; line-height: 1.7; }
.prose h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); margin: 2.2em 0 0.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--fs-h4); margin: 1.8em 0 0.5em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--brass-3); }
.prose a { color: var(--ink-3); text-decoration-color: var(--brass); }
.prose blockquote { margin: 2em 0; padding-left: 1.5rem; border-left: 2px solid var(--brass); font-family: var(--serif); font-size: var(--fs-l); font-style: italic; }
.prose strong { font-weight: 650; }
.prose img { margin: 2em 0; }

.faq { max-width: 52rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
	list-style: none; cursor: pointer; padding: 1.4rem 3rem 1.4rem 0; position: relative;
	font-family: var(--serif); font-size: var(--fs-l); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0.5rem; top: 50%; width: 14px; height: 14px; margin-top: -7px;
	background: linear-gradient(var(--brass-3), var(--brass-3)) center / 100% 1.5px no-repeat, linear-gradient(var(--brass-3), var(--brass-3)) center / 1.5px 100% no-repeat;
	transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 3rem 1.5rem 0; color: var(--mute); max-width: 44em; }

.section--tight { padding: clamp(3.5rem, 6vw, 5.5rem) 0; }
.other-areas-wrap { border-top: 1px solid var(--line); }
.other-areas-wrap h2 { font-size: var(--fs-h4); margin-bottom: 1.25rem; }
.other-areas { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.other-areas a { display: inline-block; padding: 0.55rem 1rem; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; font-size: var(--fs-s); transition: border-color 0.3s, background 0.3s; }
.other-areas a:hover { border-color: var(--brass); background: var(--chalk); color: var(--graphite); }

/* Osoba */
.person { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.person__img { background: #fff; position: sticky; top: calc(var(--header-h) + 2rem); }
.person__facts { list-style: none; margin: 2rem 0; padding: 0; border-top: 1px solid var(--line); }
.person__facts li { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); font-size: var(--fs-s); }
.person__facts span { color: var(--mute); }
@media (max-width: 860px) { .person { grid-template-columns: 1fr; } .person__img { position: static; max-width: 420px; } }
.person__img--frame { background: none; }
.frame--lg { max-width: 380px; margin: 0; }
.frame--lg .frame__gild { padding: 16px; }
.frame--lg .frame__mat { padding: clamp(18px, 2.6vw, 28px); }
.frame--lg .frame__plaque b { font-size: 1.35rem; }
.frame--lg .frame__plaque span { font-size: 1rem; }
@media (max-width: 860px) { .frame--lg { margin: 0 auto; max-width: 320px; } .person__img--frame { max-width: none; } }

/* Blog: pojedinačni tekst */
.article-hero .page-hero__lead { font-size: var(--fs-l); }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; font-size: var(--fs-s); color: var(--mute-d); margin-top: 1.5rem; position: relative; z-index: 1; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.article-aside { position: sticky; top: calc(var(--header-h) + 2rem); background: var(--chalk); padding: 1.5rem; }
.article-aside h2 { font-size: var(--fs-l); margin-bottom: 0.75rem; }
.article-aside p { font-size: var(--fs-s); color: var(--mute); }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; }
.pager .page-numbers { padding: 0.5rem 0.9rem; border: 1px solid var(--line); text-decoration: none; margin-right: 0.25rem; }
.pager .page-numbers.current { background: var(--ink); color: var(--chalk); border-color: var(--ink); }

/* ---------- Kontakt ---------- */
.contact-hero { background: var(--ink); color: var(--chalk); padding-top: var(--header-h); position: relative; overflow: clip; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: stretch; min-height: calc(100svh - var(--header-h)); }
.contact-scale { position: relative; }
.contact-scale__sticky { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); min-height: 560px; display: flex; flex-direction: column; }
.contact-scale__copy { position: relative; z-index: 2; padding: clamp(2rem, 5vw, 3.5rem) 0 0; flex: none; }
.contact-scale__copy h1 { font-size: var(--fs-h1); margin-bottom: 0.25em; }
.contact-scale__copy p { color: #d3d9d4; max-width: 28em; margin: 0; }
.contact-scale__stage { position: relative; flex: 1; min-height: 320px; }
.contact-scale__stage::before { content: ""; position: absolute; left: 10%; right: 10%; top: 8%; bottom: 0; background: radial-gradient(ellipse 50% 55% at 50% 45%, rgba(194, 154, 91, 0.16), transparent 70%); pointer-events: none; }
.contact-scale__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; outline: none; }
.contact-scale__stage canvas.is-grabbing { cursor: grabbing; }
.contact-form-wrap { background: var(--paper); color: var(--graphite); padding: clamp(1.75rem, 4vw, 3rem); margin: clamp(1.5rem, 4vw, 3rem) 0; align-self: center; }
.contact-form-wrap h2 { font-size: var(--fs-h3); }
.field { position: relative; margin-bottom: 1rem; }
.field--float input, .field--float select, .field--float textarea {
	display: block; width: 100%; min-height: 60px; padding: 1.55rem 1rem 0.5rem;
	background: #fff; border: 1px solid #d6dbd6; border-radius: 3px;
	font-size: var(--fs-b); color: var(--graphite);
	box-shadow: inset 0 -2px 0 transparent;
	transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
	-webkit-appearance: none; appearance: none;
}
.field--float textarea { min-height: 150px; resize: vertical; line-height: 1.55; padding-top: 1.85rem; }
.field--float label {
	position: absolute; left: 1rem; top: 1.15rem; pointer-events: none; max-width: calc(100% - 2rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	font-size: var(--fs-b); color: var(--mute); transform-origin: left top;
	transition: transform 0.2s var(--ease), color 0.2s var(--ease), top 0.2s var(--ease);
}
.field--float input:focus + label, .field--float input:not(:placeholder-shown) + label,
.field--float textarea:focus + label, .field--float textarea:not(:placeholder-shown) + label,
.field--select label {
	top: 0.55rem; transform: scale(0.78); color: var(--brass-3); font-weight: 600;
}
.field--float input:hover, .field--float select:hover, .field--float textarea:hover { border-color: #b9c1bb; }
.field--float input:focus, .field--float select:focus, .field--float textarea:focus {
	outline: none; border-color: var(--ink-3); background: #fffefb;
	box-shadow: inset 0 -2px 0 var(--brass), 0 8px 22px -14px rgba(14, 36, 32, 0.45);
}
.field--float input:user-invalid, .field--float textarea:user-invalid { border-color: #b4553f; box-shadow: inset 0 -2px 0 #b4553f; }
.field--select select { padding-right: 2.75rem; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%238e6c38' stroke-width='1.6'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.1rem center; background-size: 12px 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.check { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 0.75rem; align-items: start; font-size: var(--fs-s); color: var(--mute); margin: 1.25rem 0 1.5rem; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.check__box { width: 22px; height: 22px; margin-top: 0.1rem; border: 1px solid #b9c1bb; border-radius: 3px; background: #fff; display: grid; place-items: center; transition: background 0.2s var(--ease), border-color 0.2s var(--ease); }
.check__box::after { content: ""; width: 11px; height: 6px; border-left: 2px solid var(--brass-2); border-bottom: 2px solid var(--brass-2); transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform 0.2s var(--ease); }
.check input:checked + .check__box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .check__box::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--brass); outline-offset: 2px; }
.check__text a { color: var(--ink-3); text-decoration-color: var(--brass); }
.btn--block { width: 100%; min-height: 58px; font-size: var(--fs-b); }
.hp { position: absolute !important; left: -9999px !important; }
.notice { padding: 1rem 1.2rem; margin-bottom: 1.5rem; font-size: var(--fs-s); border-left: 3px solid; }
.notice--ok { background: #e3efe6; border-color: #2f6b45; }
.notice--err { background: #f6e3df; border-color: #9b3a2a; }
.form-note { font-size: var(--fs-xs); color: var(--mute); margin: 1rem 0 0; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; min-height: 0; } .contact-scale__sticky { position: relative; top: 0; height: auto; min-height: 0; } .contact-scale__stage { height: 72svh; flex: none; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* Mapa: Leaflet + OpenStreetMap, obojena u ton sajta */
.location { scroll-margin-top: var(--header-h); position: relative; min-height: 620px; display: flex; align-items: center; background: var(--ink); overflow: hidden; isolation: isolate; }
.location__map { position: absolute; inset: 0; z-index: 0; background: #12302a; }
.location__map .leaflet-tile-pane { filter: grayscale(1) invert(1) sepia(0.45) hue-rotate(115deg) saturate(0.55) brightness(0.72) contrast(1.08); }
.location__map::after { content: ""; position: absolute; inset: 0; z-index: 450; pointer-events: none; background: radial-gradient(ellipse 80% 90% at 70% 50%, transparent 35%, rgba(10, 27, 24, 0.55) 100%); }
.location__in { position: relative; z-index: 2; pointer-events: none; padding-top: 4rem; padding-bottom: 4rem; }
.location__card { pointer-events: auto; max-width: 420px; background: var(--paper); color: var(--graphite); padding: clamp(1.75rem, 3vw, 2.5rem); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.6); border-top: 3px solid var(--brass); }
.location__card h2 { font-size: var(--fs-h3); margin-bottom: 1.25rem; }
.location__list { margin: 0; display: grid; gap: 1rem; }
.location__list > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.location__list dt { font-size: var(--fs-xs); font-weight: 700; color: var(--mute); padding-top: 0.2rem; }
.location__list dd { margin: 0; font-family: var(--serif); font-size: var(--fs-l); line-height: 1.35; }
.location__list dd.is-mail { font-family: var(--sans); font-size: var(--fs-b); line-height: 1.6; overflow-wrap: anywhere; }
.location__list a { text-decoration: none; }
.location__list a:hover { color: var(--brass-3); }
.location__links { display: flex; gap: 1.5rem; margin: 1.5rem 0 0; font-size: var(--fs-s); }

.m-pin { background: none; border: 0; }
.m-pin__disc { position: absolute; left: 0; top: 0; width: 68px; height: 68px; border-radius: 50%; background: var(--ink); color: var(--chalk); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px var(--brass), 0 16px 30px -8px rgba(0, 0, 0, 0.7); z-index: 3; }
.m-pin__tip { position: absolute; left: 26px; top: 70px; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 13px solid var(--brass); z-index: 2; }
.m-pin__ripple { position: absolute; left: 34px; top: 88px; width: 0; height: 0; }
.m-pin__ripple::before, .m-pin__ripple::after { content: ""; position: absolute; left: -24px; top: -9px; width: 48px; height: 18px; border-radius: 50%; border: 1.5px solid var(--brass-2); opacity: 0; animation: m-ripple 2.8s ease-out infinite; }
.m-pin__ripple::after { animation-delay: 1.4s; }
@keyframes m-ripple { 0% { transform: scale(0.3); opacity: 0.9; } 100% { transform: scale(2.4); opacity: 0; } }
.m-popup .leaflet-popup-content-wrapper { background: var(--ink); color: var(--chalk); border-radius: 2px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.6); }
.m-popup .leaflet-popup-tip { background: var(--ink); }
.m-popup .leaflet-popup-content { margin: 14px 18px; font-family: var(--sans); font-size: 14px; line-height: 1.5; display: flex; flex-direction: column; }
.m-popup strong { font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--brass-2); }
.location .leaflet-control-zoom { border: 0 !important; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6); }
.location .leaflet-control-zoom a { width: 44px; height: 44px; line-height: 44px; color: var(--chalk); background: var(--ink); border-color: var(--line-d); }
.location .leaflet-control-zoom a:hover { background: var(--ink-3); color: var(--brass-2); }
.location .leaflet-control-attribution { background: rgba(14, 36, 32, 0.8); color: var(--mute-d); font-size: 11px; }
.location .leaflet-control-attribution a { color: var(--mute-d); }
.location .leaflet-container { font-family: var(--sans); background: #12302a; }
@media (max-width: 960px) {
	.location { flex-direction: column; align-items: stretch; min-height: 0; }
	.location__map { position: relative; height: 380px; order: 1; }
	.location__map::after { background: none; }
	.location__in { padding-top: 0; padding-bottom: 0; order: 2; }
	.location__card { max-width: none; margin: -3rem 0 3rem; position: relative; }
}
@media (max-width: 560px) { .location__list > div { grid-template-columns: 1fr; gap: 0.2rem; } }
@media (prefers-reduced-motion: reduce) { .m-pin__ripple::before, .m-pin__ripple::after { animation: none; } }

/* ---------- Podnožje ---------- */
.site-footer { background: var(--ink); color: var(--mute-d); padding: clamp(4rem, 7vw, 6rem) 0 2rem; font-size: var(--fs-s); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--brass-2); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-d); }
.footer-brand .brand { color: var(--chalk); margin-bottom: 1.25rem; }
.footer-grid h2 { font-family: var(--sans); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.02em; color: var(--chalk); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: var(--fs-xs); }
.footer-bottom p { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* 404 */
.nf { min-height: 80svh; display: flex; align-items: center; }
.nf__code { font-family: var(--serif); font-size: clamp(6rem, 20vw, 16rem); line-height: 0.85; color: var(--ink-3); margin-bottom: 1rem; }

/* Gutenberg poravnanja */
.alignwide { max-width: 60rem; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-image figcaption { font-size: var(--fs-xs); color: var(--mute); }

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