/* =============================================================
   ONSA – glavni stilovi
   Paleta: navy #0B2540 · blue #1B6FC2 · sky #E9F2FC · amber #F5B301
   Fontovi: Barlow (naslovi) · Inter (tekst)
   ============================================================= */

:root {
	--navy: #0B2540;
	--navy-2: #12365C;
	--navy-3: #1A4472;
	--blue: #1B6FC2;
	--blue-2: #155DA4;
	--blue-soft: #D8E8F9;
	--sky: #E9F2FC;
	--sky-2: #F4F8FC;
	--amber: #F5B301;
	--amber-2: #D99C00;
	--ink: #172433;
	--ink-2: #35465A;
	--muted: #5B6B7C;
	--line: #DCE4EE;
	--line-2: #EAF0F6;
	--white: #fff;
	--ok: #1F8F4E;
	--err: #C43D3D;

	--font-head: "Barlow", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 10px 30px rgba(11, 37, 64, 0.10);
	--shadow-sm: 0 2px 10px rgba(11, 37, 64, 0.08);
	--ease: cubic-bezier(.2,.7,.2,1);
	--header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
@supports not (overflow: clip) { body { overflow-x: hidden; } }
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
img { border: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-2); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; color: var(--navy); margin: 0 0 .5em; letter-spacing: -0.005em; }
h1 { font-size: clamp(34px, 4.5vw, 52px); }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
h4 { font-size: 19px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
strong { font-weight: 600; }
figure { margin: 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; background: var(--amber); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 8px; }

.icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.icon.flip { transform: scaleX(-1); }
.icon.up { transform: rotate(-90deg); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 820px; }

/* ---------- Dugmad ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 20px; border-radius: 10px; border: 2px solid transparent;
	font-family: var(--font-head); font-weight: 600; font-size: 16px; letter-spacing: .01em; line-height: 1.2;
	transition: transform .18s var(--ease), background .18s, color .18s, border-color .18s, box-shadow .18s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .18s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-lg { padding: 15px 26px; font-size: 17px; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-2); color: #fff; box-shadow: var(--shadow-sm); }
.btn-accent { background: var(--amber); color: var(--navy); }
.btn-accent:hover { background: #FFC533; color: var(--navy); box-shadow: 0 6px 18px rgba(245,179,1,.35); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.btn-ghost { color: var(--blue); padding-inline: 6px; }
.btn-ghost:hover { color: var(--blue-2); transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; border: 0; background: transparent; color: inherit; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--navy); color: #fff; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.topbar { background: var(--navy-2); font-size: 13.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar-list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar-list li { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.85); }
.topbar-list a { color: #fff; }
.topbar-list a:hover { color: var(--amber); }
.topbar .icon { width: 15px; height: 15px; opacity: .8; }
.topbar-founder { color: rgba(255,255,255,.85); display: inline-flex; gap: 6px; align-items: center; }
.topbar-founder:hover { color: var(--amber); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.navbar .container, .topbar .container { max-width: 1320px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand-logo { height: 52px; width: auto; display: block; }
.site-nav { flex: 1 1 auto; display: flex; justify-content: flex-end; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.menu > li { position: relative; display: flex; align-items: center; }
.menu-link {
	display: inline-flex; align-items: center; gap: 4px; padding: 10px 10px; white-space: nowrap; border-radius: 8px; border: 0; background: transparent;
	color: rgba(255,255,255,.92); font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .01em; line-height: 1.2;
	transition: background .15s, color .15s;
}
.menu-link:hover, .menu > li.is-open > .menu-link, .menu-link[aria-current="page"], .current-menu-ancestor > .menu-link, .current-menu-item > .menu-link { background: rgba(255,255,255,.1); color: #fff; }
.current-menu-item > .menu-link, .current-menu-ancestor > .menu-link { box-shadow: inset 0 -3px 0 var(--amber); }
.menu-chevron { width: 14px; height: 14px; opacity: .7; transition: transform .2s; }
.menu > li.is-open .menu-chevron { transform: rotate(180deg); }
.menu-sub-btn { border: 0; background: transparent; color: rgba(255,255,255,.8); padding: 8px 4px; margin-left: -8px; border-radius: 6px; display: inline-flex; }
.menu-sub-btn:hover { color: #fff; }
.sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px;
	background: #fff; color: var(--ink); border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line-2);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.sub-menu::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.menu > li:hover > .sub-menu, .menu > li.is-open > .sub-menu, .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.menu > li:last-child > .sub-menu { left: auto; right: 0; }
.sub-menu .menu-link { display: block; padding: 9px 12px; color: var(--ink); font-family: var(--font-body); font-weight: 500; font-size: 15px; border-radius: 8px; box-shadow: none; }
.sub-menu .menu-link:hover, .sub-menu .current-menu-item > .menu-link { background: var(--sky); color: var(--blue-2); }
.navbar-actions { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.navbar-cta { padding: 10px 16px; font-size: 15px; }
.nav-toggle { display: none; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-mobile-extra { display: none; }
.search-bar { background: var(--navy-2); border-top: 1px solid rgba(255,255,255,.08); padding: 14px 0; }
.search-form { display: flex; gap: 10px; }
.search-form input { flex: 1 1 auto; min-width: 0; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line); font: inherit; font-size: 16px; }
.search-form-page { max-width: 640px; margin: 0 auto 32px; }

@media (max-width: 1320px) {
	.navbar-cta { display: none; }
}
@media (max-width: 1280px) {
	.menu-link { padding: 10px 8px; font-size: 14.5px; }
	.topbar-hours { display: none; }
}
@media (max-width: 1199px) {
	:root { --header-h: 64px; }
	.topbar { display: none; }
	.brand-logo { height: 40px; }
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy); overflow-y: auto; padding: 12px var(--gutter) 40px;
		flex-direction: column; justify-content: flex-start; transform: translateX(100%); transition: transform .25s var(--ease); z-index: 90;
	}
	.site-nav:not(.is-open) { visibility: hidden; }
	.site-nav.is-open { transform: none; visibility: visible; }
	body.nav-open { overflow: hidden; }
	.menu { flex-direction: column; align-items: stretch; gap: 0; }
	.menu > li { flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,.08); }
	.menu-link { flex: 1 1 auto; padding: 14px 6px; font-size: 18px; }
	.menu-sub-btn { margin: 0; padding: 12px; }
	.menu-sub-btn .menu-chevron { width: 20px; height: 20px; }
	.current-menu-item > .menu-link, .current-menu-ancestor > .menu-link { box-shadow: inset 3px 0 0 var(--amber); background: transparent; }
	.sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; border: 0; padding: 0 0 10px 12px; display: none; flex-basis: 100%; }
	.menu > li.is-open > .sub-menu { display: block; }
	.sub-menu .menu-link { color: rgba(255,255,255,.85); font-size: 16px; padding: 10px 8px; }
	.sub-menu .menu-link:hover { background: rgba(255,255,255,.08); color: #fff; }
	.nav-mobile-extra { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; color: #fff; }
	.nav-mobile-extra a { color: #fff; display: inline-flex; align-items: center; gap: 8px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(11,37,64,.94) 0%, rgba(11,37,64,.82) 45%, rgba(11,37,64,.45) 100%),
	            linear-gradient(0deg, rgba(11,37,64,.9) 0%, rgba(11,37,64,0) 45%);
}
.hero-inner { position: relative; padding: clamp(64px, 9vw, 120px) var(--gutter) clamp(40px, 6vw, 80px); max-width: var(--container); }
.hero-title { color: #fff; font-size: clamp(38px, 5.6vw, 66px); font-weight: 800; line-height: 1.04; margin: 0 0 20px; max-width: 14ch; text-wrap: balance; }
.hero-text { font-size: clamp(17px, 1.4vw, 19.5px); max-width: 60ch; color: rgba(255,255,255,.88); margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.eyebrow { font-family: var(--font-head); font-weight: 700; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 10px; }
.eyebrow-light { color: var(--amber); }
.hero-quick { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-bottom: clamp(28px, 4vw, 48px); max-width: var(--container); }
.quick {
	display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 12px;
	background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 16px;
	backdrop-filter: blur(6px); transition: background .18s, transform .18s var(--ease);
}
.quick:hover { background: rgba(255,255,255,.16); color: #fff; transform: translateY(-2px); }
.quick .icon { width: 24px; height: 24px; color: var(--amber); }
.link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.link-grid .quick { background: var(--sky); border-color: var(--line-2); color: var(--navy); backdrop-filter: none; }
.link-grid .quick:hover { background: var(--blue-soft); }
.link-grid .quick .icon { color: var(--blue); }
@media (max-width: 900px) { .hero-quick { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .hero-quick { grid-template-columns: 1fr; } .quick { padding: 14px 16px; } }

/* ---------- Sekcije ---------- */
.section { padding-block: clamp(52px, 7vw, 96px); }
.section-sm { padding-block: clamp(36px, 5vw, 64px); }
.section-alt { background: var(--sky-2); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark .section-title { color: #fff; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(24px, 3vw, 40px); }
.section-heading .eyebrow { margin-bottom: 6px; }
.section-title { margin: 0; text-wrap: balance; }
.section-heading .btn-ghost { flex: 0 0 auto; margin-bottom: 4px; }
@media (max-width: 640px) { .section-heading { flex-direction: column; align-items: flex-start; gap: 8px; } }
.panel .section-heading { margin-bottom: 16px; }
.panel .section-title { font-size: clamp(22px, 2.4vw, 28px); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Objekti kartice ---------- */
.objekti-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.objekat-card {
	display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; color: var(--ink);
	border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s;
}
.objekat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.objekat-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sky); }
.objekat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.objekat-card:hover .objekat-media img { transform: scale(1.05); }
.objekat-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; position: relative; }
.objekat-icon { position: absolute; top: -26px; right: 18px; width: 52px; height: 52px; border-radius: 14px; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(27,111,194,.35); }
.objekat-icon .icon { width: 26px; height: 26px; }
.objekat-title { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--navy); line-height: 1.2; padding-right: 56px; }
.objekat-text { color: var(--muted); font-size: 15px; line-height: 1.5; }
.objekat-more { margin-top: 8px; color: var(--blue); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.objekat-more .icon { transition: transform .18s; }
.objekat-card:hover .objekat-more .icon { transform: translateX(3px); }
@media (max-width: 1000px) { .objekti-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .objekti-grid { grid-template-columns: 1fr; } }

/* ---------- Objave: kartice, redovi ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid, .post-grid-2 { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); border: 1px solid var(--line-2); overflow: hidden; transition: transform .22s var(--ease), box-shadow .22s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card-media { display: block; aspect-ratio: 16 / 10; background: var(--sky); overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--blue); background: linear-gradient(135deg, var(--sky) 0%, var(--blue-soft) 100%); }
.post-card-placeholder .icon { width: 44px; height: 44px; opacity: .6; }
.post-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.post-card-meta { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.tag { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--sky); color: var(--blue-2); font-weight: 600; font-size: 12.5px; letter-spacing: .02em; }
.tag:hover { background: var(--blue-soft); }
.post-card-title { font-size: 19px; margin: 0; line-height: 1.3; }
.post-card-title a { color: var(--navy); }
.post-card-title a:hover { color: var(--blue); }
.post-card-excerpt { color: var(--muted); font-size: 15px; margin: 0; }

.post-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.post-row-link { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); transition: border-color .18s, box-shadow .18s, transform .18s var(--ease); }
.post-row-link:hover { border-color: var(--blue-soft); box-shadow: var(--shadow-sm); transform: translateX(2px); color: var(--ink); }
.post-row-icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; background: var(--sky); color: var(--blue); display: grid; place-items: center; }
.post-row-icon .icon { width: 20px; height: 20px; }
.has-doc .post-row-icon { background: #FFF4D6; color: var(--amber-2); }
.post-row-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.post-row-title { font-weight: 500; line-height: 1.4; font-size: 15.5px; color: var(--navy); }
.post-row-link:hover .post-row-title { color: var(--blue); }
.post-row-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.post-list-lg .post-row-link { padding: 18px 20px; }
.post-list-lg .post-row-title { font-size: 17px; }
.post-compact { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.post-compact time { font-size: 12.5px; color: var(--muted); }
.post-compact a { color: var(--navy); font-size: 15px; line-height: 1.4; }
.post-compact a:hover { color: var(--blue); }
.empty { color: var(--muted); padding: 24px; border: 1px dashed var(--line); border-radius: 12px; text-align: center; }

/* ---------- Filteri, chipovi, paginacija ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.year-filter, .filters-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters .year-filter, .filters .filters-cats { margin-bottom: 0; }
.chip { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 500; font-size: 14px; transition: all .15s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-soft { background: var(--sky); border-color: transparent; color: var(--blue-2); }
.pagination { margin-top: 36px; }
.pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination .current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination .dots { border: 0; }

/* ---------- Rekreacija ---------- */
.section-rekreacija { background: radial-gradient(1200px 500px at 80% 0%, var(--navy-3), var(--navy) 60%); }
.rekreacija-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.rekreacija-intro p { color: rgba(255,255,255,.85); font-size: 17.5px; }
.rekreacija-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.rekreacija-contact span { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; color: var(--amber); }
.rekreacija-contact a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; font-size: 17px; }
.rekreacija-contact a:hover { color: var(--amber); }
.rekreacija-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.rekreacija-list li { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
.rekreacija-list strong { color: #fff; font-family: var(--font-head); font-size: 19px; font-weight: 600; }
.rekreacija-icon { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 12px; background: var(--amber); color: var(--navy); display: grid; place-items: center; }
.rekreacija-icon .icon { width: 26px; height: 26px; }
@media (max-width: 860px) { .rekreacija-grid { grid-template-columns: 1fr; } }

/* ---------- O nama sekcija ---------- */
.o-nama-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.o-nama-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.o-nama-body p { color: var(--ink-2); font-size: 17.5px; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check-list .icon { color: var(--ok); margin-top: 3px; }
@media (max-width: 860px) { .o-nama-grid { grid-template-columns: 1fr; } .o-nama-media { order: -1; } }

/* ---------- Klijenti ---------- */
.logo-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.logo-strip li { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 18px; display: grid; place-items: center; aspect-ratio: 1; }
.logo-strip img { max-height: 90px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logo-strip li:hover img { filter: none; opacity: 1; }
@media (max-width: 860px) { .logo-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .logo-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA ---------- */
.section-cta { padding-top: 0; }
.cta-box { background: linear-gradient(120deg, var(--blue) 0%, var(--navy-3) 100%); color: #fff; border-radius: 20px; padding: clamp(28px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-box .section-title { color: #fff; font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 6px; }
.cta-box p { margin: 0; color: rgba(255,255,255,.88); }

/* ---------- Zaglavlje unutrašnjih stranica ---------- */
.page-header { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.page-header .container { position: relative; padding-block: clamp(36px, 5vw, 64px); }
.page-header.has-image .container { padding-block: clamp(80px, 12vw, 160px) clamp(36px, 5vw, 56px); }
.page-header-media { position: absolute; inset: 0; }
.page-header-media img { width: 100%; height: 100%; object-fit: cover; }
.page-header-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,37,64,.95) 0%, rgba(11,37,64,.55) 60%, rgba(11,37,64,.35) 100%); }
.page-title { color: #fff; margin: 0; max-width: 24ch; text-wrap: balance; }
.page-title-post { font-size: clamp(26px, 3.4vw, 40px); max-width: 32ch; line-height: 1.2; }
.page-subtitle { color: rgba(255,255,255,.85); font-size: clamp(16px, 1.4vw, 19px); max-width: 68ch; margin: 12px 0 0; }
.breadcrumbs { font-size: 13.5px; margin-bottom: 16px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; color: rgba(255,255,255,.7); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: rgba(255,255,255,.85); }
.breadcrumbs a:hover { color: var(--amber); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 14px; color: rgba(255,255,255,.85); }
.post-meta time { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .tag { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- Layout sa sidebar-om ---------- */
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.layout-aside { display: flex; flex-direction: column; gap: 22px; position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 960px) { .layout-sidebar { grid-template-columns: minmax(0, 1fr); } .layout-aside { position: static; } }
.side-nav, .side-block, .contact-box { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px; }
.side-block-accent { background: var(--sky); border-color: transparent; }
.side-block-accent p { color: var(--ink-2); font-size: 15px; }
.side-nav-title, .contact-box-title { font-size: 16px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.side-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.side-nav a { display: block; padding: 9px 12px; margin: 0 -12px; border-radius: 8px; color: var(--ink); font-size: 15px; font-weight: 500; }
.side-nav a:hover { background: var(--sky-2); color: var(--blue); }
.side-nav a[aria-current="page"] { background: var(--sky); color: var(--blue-2); box-shadow: inset 3px 0 0 var(--blue); }
.contact-list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.contact-list .icon { color: var(--blue); flex: 0 0 auto; margin-top: 2px; width: 20px; height: 20px; }
.contact-list a { color: var(--navy); font-weight: 500; }
.contact-list a:hover { color: var(--blue); }
.contact-list-lg li { font-size: 16.5px; gap: 16px; }
.contact-list-lg .icon { width: 24px; height: 24px; }

/* ---------- Sadržaj ---------- */
.entry-content { font-size: 17.5px; line-height: 1.7; color: var(--ink-2); }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin-top: 1.6em; font-size: clamp(24px, 2.6vw, 30px); }
.entry-content h3 { margin-top: 1.4em; font-size: clamp(20px, 2vw, 23px); }
.entry-content h2 + h3, .entry-content h2 + p, .entry-content h3 + p { margin-top: 0; }
.entry-content p, .entry-content ul, .entry-content ol { margin-bottom: 1.1em; }
.entry-content li { margin-bottom: .35em; }
.entry-content a:not(.btn):not(.doc-link):not(.video-card) { text-decoration: underline; text-decoration-color: var(--blue-soft); text-underline-offset: 3px; }
.entry-content a:not(.btn):not(.doc-link):hover { text-decoration-color: var(--blue); }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content figure { margin: 1.5em 0; }
.entry-content figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.entry-content blockquote { margin: 1.5em 0; padding: 16px 22px; border-left: 4px solid var(--blue); background: var(--sky-2); border-radius: 0 10px 10px 0; font-size: 1.05em; }
.entry-content .lead { font-size: 1.15em; color: var(--ink); }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.entry-content-intro { margin-bottom: 24px; }
.table-scroll { overflow-x: auto; margin: 1.5em 0; border: 1px solid var(--line); border-radius: 10px; }
.table-scroll table { margin: 0; }
.entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; font-size: 15.5px; }
.entry-content th { background: var(--sky-2); font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.entry-content tr:last-child td { border-bottom: 0; }
.entry-content td:last-child, .entry-content th:last-child { text-align: right; white-space: nowrap; }
.entry-content table.left-align td:last-child, .entry-content table.left-align th:last-child { text-align: left; white-space: normal; }
.embed-frame { position: relative; aspect-ratio: 16 / 9; margin: 1.5em 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--sky); }
.embed-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.single-thumb { margin: 0 0 28px; }
.single-thumb img { border-radius: var(--radius); width: 100%; }
.single-thumb-small { margin: 28px 0 0; max-width: 480px; }
.entry-content .alignwide { margin-inline: 0; }

/* Dokumenti */
.doc-link {
	display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin: 0 0 10px;
	border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none !important;
	transition: border-color .18s, box-shadow .18s, transform .18s var(--ease);
}
.doc-link:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-1px); color: var(--ink); }
.doc-link-icon { flex: 0 0 48px; width: 48px; height: 52px; border-radius: 10px; background: var(--sky); color: var(--blue); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.doc-link-icon .icon { width: 20px; height: 20px; }
.doc-link-icon span { font-family: var(--font-head); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; }
.doc-link-icon[data-type="PDF"] { background: #FDECEC; color: #C43D3D; }
.doc-link-icon[data-type="DOC"] { background: var(--sky); color: var(--blue-2); }
.doc-link-icon[data-type="XLS"] { background: #E5F5EA; color: var(--ok); }
.doc-link-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.doc-link-title { font-weight: 500; line-height: 1.4; font-size: 16px; color: var(--navy); overflow-wrap: anywhere; }
.doc-link:hover .doc-link-title { color: var(--blue); }
.doc-link-hint { font-size: 13px; color: var(--muted); }
.doc-link-arrow { flex: 0 0 auto; color: var(--muted); }
.doc-link:hover .doc-link-arrow { color: var(--blue); }
.entry-content p > .doc-link:only-child { margin-bottom: 0; }
.entry-content p:has(> .doc-link:only-child) { margin-bottom: 10px; }
.entry-content li > .doc-link { margin: 0; }
.entry-content ul.doc-list, .entry-content ul:has(> li > .doc-link:only-child) { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.entry-content ul.doc-list li, .entry-content ul:has(> li > .doc-link:only-child) li { margin: 0; }
.doc-group { margin: 2em 0; }
.doc-group h3 { display: flex; align-items: center; gap: 10px; }
.doc-group h3::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: var(--amber); }

/* Info kartice (objekti) */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 1.5em 0; }
.info-card { background: var(--sky-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 16px 18px; }
.info-card .label { display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-family: var(--font-head); font-weight: 700; margin-bottom: 4px; }
.info-card .value { display: block; font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.info-card .value small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 4px; }
.notice { display: block; padding: 18px 20px; border-radius: 12px; background: #FFF6DB; border: 1px solid #F7DE9A; color: #5C4300; margin: 1.5em 0; }
.notice.info { background: var(--sky); border-color: var(--blue-soft); color: var(--navy); }
.notice strong { color: inherit; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 1.5em 0; }
.card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.card h3 { margin-top: 0 !important; font-size: 20px; }
.card p:last-child { margin-bottom: 0; }
.card ul { padding-left: 1.1em; }
.price-list { list-style: none; padding: 0 !important; margin: 0 !important; }
.price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); margin: 0 !important; font-size: 15.5px; }
.price-list li:last-child { border-bottom: 0; }
.price-list li span:last-child { font-weight: 600; color: var(--navy); white-space: nowrap; }
.price-list li .free { color: var(--ok); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 1.5em 0; }
.team-card { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 12px; background: var(--sky-2); border: 1px solid var(--line-2); }
.team-avatar { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.team-card strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 18px; }
.team-card span { font-size: 14px; color: var(--muted); }
.timeline { list-style: none; padding: 0 !important; margin: 1.5em 0 !important; border-left: 2px solid var(--blue-soft); }
.timeline li { position: relative; padding: 0 0 18px 24px; margin: 0 !important; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--blue-soft); }
.timeline strong { color: var(--navy); font-family: var(--font-head); font-size: 17px; display: block; }
.schedule { margin: 1.5em 0; }
.schedule figure { margin: 0 0 12px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.schedule figcaption { padding: 10px 14px; background: var(--sky-2); font-weight: 600; color: var(--navy); font-size: 15px; }
.entry-content details { border: 1px solid var(--line); border-radius: 12px; margin: 0 0 12px; background: #fff; }
.entry-content summary { cursor: pointer; padding: 16px 20px; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.entry-content summary::-webkit-details-marker { display: none; }
.entry-content summary::after { content: "+"; font-size: 24px; color: var(--blue); font-weight: 400; }
.entry-content details[open] summary::after { content: "–"; }
.entry-content details > *:not(summary) { padding: 0 20px; }
.entry-content details > *:last-child { padding-bottom: 16px; }
.entry-content details > figure:last-child { padding: 0 12px 12px; }

/* Galerije */
.entry-content .wp-block-gallery, .onsa-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 1.5em 0; list-style: none; padding: 0; }
.onsa-gallery figure, .entry-content .wp-block-gallery figure { margin: 0; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--sky); }
.onsa-gallery img, .entry-content .wp-block-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .4s var(--ease); cursor: zoom-in; }
.onsa-gallery figure:hover img { transform: scale(1.04); }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.album-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line-2); color: var(--ink); transition: transform .22s var(--ease), box-shadow .22s; }
.album-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.album-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sky); }
.album-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.album-card:hover .album-media img { transform: scale(1.05); }
.album-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.album-title { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--navy); line-height: 1.25; }
.album-count { font-size: 13.5px; color: var(--muted); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin: 1.5em 0; }
.video-card { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--navy); color: #fff; text-decoration: none !important; }
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s, transform .4s var(--ease); border-radius: 0; }
.video-card:hover img { opacity: 1; transform: scale(1.04); }
.video-card .play { position: absolute; inset: 0; display: grid; place-items: center; }
.video-card .play span { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .2s var(--ease); }
.video-card:hover .play span { transform: scale(1.08); }
.video-card .play svg { width: 28px; height: 28px; margin-left: 3px; }
.video-card .video-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(0deg, rgba(0,0,0,.7), transparent); font-family: var(--font-head); font-weight: 600; font-size: 16px; }
.video-card.is-playing iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(6,18,32,.94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox-figure { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox-figure img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-figure figcaption { color: rgba(255,255,255,.8); font-size: 14px; }
.lightbox .icon-btn { position: absolute; color: #fff; background: rgba(255,255,255,.1); width: 50px; height: 50px; border-radius: 50%; }
.lightbox .icon-btn:hover { background: rgba(255,255,255,.22); }
.lightbox .icon { width: 24px; height: 24px; }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }
@media (max-width: 640px) { .lightbox { padding: 60px 12px; } .lightbox-prev, .lightbox-next { top: auto; bottom: 12px; transform: none; } .lightbox-prev { left: 12px; } .lightbox-next { right: 12px; } }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h2, .contact-form-wrap h2 { font-size: clamp(22px, 2.4vw, 28px); }
.contact-extra { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-extra h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact-form-wrap { background: var(--sky-2); border: 1px solid var(--line-2); border-radius: 20px; padding: clamp(22px, 3vw, 36px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field-full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 14.5px; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.form-field textarea { resize: vertical; min-height: 140px; }
.form-consent { font-size: 14px; color: var(--muted); margin: 16px 0 18px; }
.form-consent input { margin-right: 8px; }
.hp { position: absolute; left: -9999px; }
.form-notice { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; }
.form-notice.is-ok { background: #E5F5EA; color: #145A31; }
.form-notice.is-error { background: #FDECEC; color: #8A2A2A; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.map-section { height: clamp(320px, 45vw, 480px); background: var(--sky); }
.map-section iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Pojedinačna objava ---------- */
.single-footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.post-nav-link { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 12px; color: var(--ink); background: #fff; }
.post-nav-link:hover { border-color: var(--blue-soft); box-shadow: var(--shadow-sm); color: var(--ink); }
.post-nav-link span { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-family: var(--font-head); font-weight: 700; }
.post-nav-link strong { color: var(--navy); font-weight: 500; font-size: 15px; line-height: 1.4; }
.post-nav-link.next { text-align: right; align-items: flex-end; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav-link.next { text-align: left; align-items: flex-start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.8); padding: clamp(48px, 6vw, 80px) 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); padding-bottom: clamp(36px, 5vw, 56px); }
.footer-logo { height: 56px; width: auto; margin-bottom: 20px; display: block; }
.footer-about p { max-width: 40ch; }
.footer-founder { color: #fff; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.footer-founder:hover { color: var(--amber); }
.footer-title { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.8); }
.footer-links a:hover { color: var(--amber); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--amber); flex: 0 0 auto; margin-top: 3px; width: 18px; height: 18px; }
.footer-contact a { color: #fff; }
.footer-contact a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,.6); }
.footer-bottom p { margin: 0; }
.footer-bottom-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom-links a { color: rgba(255,255,255,.75); display: inline-flex; align-items: center; gap: 4px; }
.footer-bottom-links a:hover { color: var(--amber); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Print ---------- */
@media print {
	.site-header, .site-footer, .layout-aside, .hero-actions, .btn, .lightbox { display: none !important; }
	.page-header { background: none; color: #000; }
	.page-title { color: #000; }
	body { font-size: 12pt; }
}

/* Dokumenti iz priloga objave */
.entry-docs { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.entry-docs-title { font-size: 15px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }

/* ---------- 21st.dev port: navbar dropdown sa opisima ---------- */
.sub-menu { min-width: 320px; padding: 12px; }
.sub-menu .menu-link { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; line-height: 1.3; }
.sub-menu .menu-title { font-weight: 600; font-size: 14.5px; }
.sub-menu .menu-desc { font-size: 13px; color: var(--muted); font-weight: 400; }
.sub-menu .menu-link:hover .menu-desc { color: var(--blue-2); opacity: .85; }
@media (max-width: 1199px) {
	.sub-menu { min-width: 0; }
	.sub-menu .menu-desc { color: rgba(255,255,255,.6); font-size: 12.5px; }
	.sub-menu .menu-link:hover .menu-desc { color: rgba(255,255,255,.85); }
}

/* ---------- 21st.dev port: galerija hover overlay (Gallery Grid with Lightbox) ---------- */
.onsa-gallery figure, .entry-content .wp-block-gallery figure { position: relative; }
.onsa-gallery figure::after, .entry-content .wp-block-gallery figure::after {
	content: ""; position: absolute; inset: 0; background: rgba(11,37,64,.45); opacity: 0; transition: opacity .2s;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: center; background-size: 32px 32px; pointer-events: none;
}
.onsa-gallery figure:hover::after, .entry-content .wp-block-gallery figure:hover::after, .onsa-gallery figure:focus-within::after { opacity: 1; }
