/* JP Direkcija - javni sajt, izgled kao stari direkcijanp.rs (Rubik, teget). Glavna boja (--brand) se menja u administraciji. */
@font-face { font-family: Rubik; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/rubik-latin-300-normal.woff2) format("woff2"); 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: Rubik; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/rubik-latin-ext-300-normal.woff2) format("woff2"); 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: Rubik; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/rubik-latin-400-normal.woff2) format("woff2"); 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: Rubik; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/rubik-latin-ext-400-normal.woff2) format("woff2"); 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: Rubik; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/rubik-latin-500-normal.woff2) format("woff2"); 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: Rubik; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/rubik-latin-ext-500-normal.woff2) format("woff2"); 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: Rubik; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/rubik-latin-700-normal.woff2) format("woff2"); 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: Rubik; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/rubik-latin-ext-700-normal.woff2) format("woff2"); 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; }

:root {
  --brand: #003f72;
  --brand-2: color-mix(in srgb, var(--brand) 85%, #2a7fc0);
  --brand-soft: #e1f6fd;
  --ink: #203547;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --text: #2b3a4a;
  --muted: #6b7785;
  --line: #e1e7ee;
  --pill-line: #b7cbdc;
  --red: #b42318;
  --pink: #d6336c;
  --green: #0f7a43;
  --shadow: 0 2px 6px rgba(0, 40, 80, .05), 0 10px 30px rgba(0, 40, 80, .07);
  --font: Rubik, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--text); background: var(--surface); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0; }
.wrap { width: min(1200px, 100% - 48px); margin: 0 auto; }
.wrap.narrow { width: min(820px, 100% - 48px); }
.wrap.mid { width: min(980px, 100% - 48px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 99; border-radius: 8px; }
.skip:focus { left: 8px; }
.ic { width: 18px; height: 18px; flex: none; }
.muted { color: var(--muted); }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; text-align: center; }
.center { text-align: center; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, #fff); outline-offset: 2px; }

/* Dugmad - "pilule" kao na starom sajtu */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1.2 var(--font); padding: 12px 24px; border-radius: 100px; border: 2px solid var(--brand); background: var(--brand); color: #fff; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.pill:hover { background: var(--brand-2); border-color: var(--brand-2); }
.pill.outline { background: transparent; color: var(--brand); border-color: var(--pill-line); }
.pill.outline:hover { border-color: var(--brand); background: var(--brand); color: #fff; }
.pill.white { background: #fff; color: var(--brand); border-color: #fff; }
.pill.white:hover { background: transparent; color: #fff; }
.pill.sm { padding: 8px 18px; font-size: 14px; }

/* ===== Gornja traka ===== */
.topbar { background: var(--bg); border-bottom: 1px solid var(--line); font-size: 14px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; }
.tb-name { margin: 0; color: var(--ink); font-weight: 500; }
.tb-right { display: flex; align-items: center; gap: 14px; }
.topbar .soc { margin: 0; gap: 4px; }
.topbar .soc a { width: 34px; height: 34px; background: none; color: var(--brand); border-radius: 50%; }
.topbar .soc a:hover { background: #e3ebf3; }
.topbar .soc .ic { width: 17px; height: 17px; }
.topbar .pill { padding: 8px 18px; font-size: 13.5px; }

/* ===== Meni ===== */
.site-head { background: #fff; position: sticky; top: 0; z-index: 40; box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(0, 40, 80, .04); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brand); flex: none; }
.brand-logo { height: 60px; width: auto; }
.brand-mark { width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; }
.brand-txt { display: none; }
.mainnav { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.mainnav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.mainnav li { position: relative; }
.mainnav a, .sub-btn { display: flex; align-items: center; gap: 5px; padding: 10px 12px; color: var(--ink); font: 500 14.4px/1.2 var(--font); text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.mainnav > ul > li > a:hover, .sub-btn:hover, .mainnav a[aria-current="page"], .sub-btn.on { color: var(--brand); }
.mainnav > ul > li > a[aria-current="page"]::after, .sub-btn.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--brand); border-radius: 2px; }
.caret { width: 10px; height: 10px; transition: transform .2s; }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff; border-radius: 12px; box-shadow: 0 14px 40px rgba(0, 40, 80, .16); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .caret, .has-sub.open .caret { transform: rotate(180deg); }
.sub a { border-radius: 8px; padding: 10px 12px; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--bg); color: var(--brand); }
.nav-search { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 100px; padding: 2px 4px 2px 14px; background: var(--bg); }
.nav-search input { border: 0; background: none; font: 14px var(--font); width: 110px; padding: 7px 0; color: var(--text); outline: none; }
.nav-search button { border: 0; background: none; color: var(--brand); width: 32px; height: 32px; display: grid; place-items: center; cursor: pointer; border-radius: 50%; }
.mainnav .nav-report { display: none; }
.nav-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--brand); place-items: center; cursor: pointer; }
.i-close { display: none; }

/* Hitno obaveštenje */
.urgent { background: var(--red); color: #fff; }
.urgent .wrap { display: flex; align-items: center; gap: 12px; padding: 11px 0; font-size: 15px; }
.urgent span { flex: 1; }
.urgent a { color: #fff; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }

/* ===== Naslovna ===== */
.hero { position: relative; color: #fff; text-align: center; padding: clamp(90px, 14vw, 190px) 0; background: #0b2b4a linear-gradient(135deg, #0b2b4a, var(--brand)) center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 18, 36, .55); }
.hero .wrap { position: relative; display: grid; justify-items: center; gap: 22px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 64px); font-weight: 700; max-width: 980px; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.hero p { font-size: clamp(17px, 2vw, 21px); margin: 0; max-width: 700px; opacity: .95; }
.hero .pill { background: #00558a; border-color: #00558a; margin-top: 6px; }
.hero .pill:hover { background: #fff; color: var(--brand); border-color: #fff; }

.sec { padding: 72px 0; }
.sec.soft { background: var(--bg); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.sec-head h2, .sec-title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; color: var(--brand); }
.sec-head p { margin: 6px 0 0; color: var(--muted); font-size: 17px; }
.sec-title { margin-bottom: 24px; }
.sec-title.center { text-align: center; text-transform: uppercase; letter-spacing: .02em; }

.grid { display: grid; gap: 28px; }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 4px 10px rgba(0, 40, 80, .06), 0 18px 40px rgba(0, 40, 80, .12); }
.card-img { display: block; aspect-ratio: 16 / 10; background: #e9eef4; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.noimg { width: 100%; height: 100%; display: grid; place-items: center; color: #a5b6c8; }
.noimg .ic { width: 46px; height: 46px; }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-meta { margin: 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13.5px; color: #8a96a3; }
.card h3 { font-size: 20px; font-weight: 500; color: var(--brand); }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card-body > p:not(.card-meta) { margin: 0; color: var(--muted); font-size: 15.5px; flex: 1; }
.card .pill { align-self: flex-start; margin-top: 6px; }
.cat { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding: 3px 10px; border-radius: 100px; background: #e7eff7; color: var(--brand); }
.cat-obavestenja { background: #fde8ef; color: var(--pink); }
.cat-radovi { background: #e3f5ec; color: var(--green); }
.imp { font-size: 11.5px; font-weight: 600; text-transform: uppercase; padding: 3px 10px; border-radius: 100px; background: var(--red); color: #fff; display: inline-flex; align-items: center; gap: 5px; }
.imp .ic { width: 13px; height: 13px; }

.problem { position: relative; color: #fff; padding: 90px 0; background: #0b2b4a linear-gradient(135deg, #00213f, #0b4677) center / cover no-repeat; }
.problem::before { content: ""; position: absolute; inset: 0; background: rgba(0, 20, 40, .66); }
.problem-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.pr-left h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; }
.pr-left p { font-size: 18px; margin: 18px 0 28px; opacity: .92; }
.pr-right h3 { font-size: 24px; font-weight: 500; margin-bottom: 18px; }
.pr-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pr-items li { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; padding: 14px 18px; backdrop-filter: blur(3px); }
.pr-items strong { display: block; font-weight: 500; font-size: 17px; }
.pr-items span { display: block; font-size: 14.5px; opacity: .85; margin-top: 2px; }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.notices-sec { display: block; }
.notice { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.notice.rev .n-img { order: 2; }
.notice.noimg { grid-template-columns: 1fr; max-width: 820px; margin-left: auto; margin-right: auto; }
.n-img { display: block; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.n-img img { width: 100%; max-height: 460px; object-fit: cover; }
.n-label { display: block; color: var(--pink); font-weight: 300; font-size: 22px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.n-txt h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 500; color: var(--brand); }
.n-txt h2 a { color: inherit; text-decoration: none; }
.n-txt time { display: block; color: #8a96a3; font-size: 14px; margin-top: 8px; }
.n-txt p { color: var(--muted); margin: 14px 0 22px; }

.city-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: center; }
.city-imgs { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 420px; }
.city-imgs a { border-radius: 16px; overflow: hidden; display: block; }
.city-imgs a:first-child { grid-row: 1 / 3; }
.city-imgs.n1 { grid-template-columns: 1fr; }
.city-imgs.n2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.city-imgs.n2 a:first-child { grid-row: auto; }
.city-imgs img { width: 100%; height: 100%; object-fit: cover; }
.city-info { background: #fff; border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.city-info h2 { color: var(--brand); font-size: 26px; font-weight: 700; margin-bottom: 18px; }
.city-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.city-info li { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 2px; }
.city-info li:first-child { border-top: 0; padding-top: 0; }
.city-info span { color: var(--muted); font-size: 14px; }
.city-info b { color: var(--ink); font-weight: 500; }

.aktuelno-band { position: relative; color: #fff; padding: 100px 0; text-align: center; background: var(--brand) center / cover no-repeat fixed; }
.aktuelno-band::before { content: ""; position: absolute; inset: 0; background: rgba(0, 30, 60, .62); }
.aktuelno-band .wrap { position: relative; max-width: 860px; display: grid; justify-items: center; gap: 18px; }
.aktuelno-band h2 { font-size: clamp(32px, 4.5vw, 52px); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.aktuelno-band p { margin: 0; font-size: 18px; opacity: .93; }

.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.about-grid.one { grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; }
.about-img img { width: 100%; border-radius: 18px; }
.about-grid p { color: var(--text); font-size: 17px; margin: 0 0 18px; }
.about-grid .pill { margin: 0 8px 8px 0; }

.banner { position: relative; padding: 120px 0; text-align: center; color: #fff; background: #0b2b4a linear-gradient(135deg, #002849, var(--brand)) center / cover no-repeat; }
.banner::before { content: ""; position: absolute; inset: 0; background: rgba(0, 25, 50, .5); }
.banner p { position: relative; margin: 0; font-size: clamp(26px, 4.4vw, 54px); font-weight: 700; letter-spacing: .02em; line-height: 1.2; }

/* ===== Naslov strane ===== */
.page-title { background: var(--bg); padding: 56px 0 30px; text-align: center; }
.page-title h1, .sub-title h1 { font-size: clamp(32px, 4.6vw, 48px); font-weight: 300; color: var(--brand); text-transform: uppercase; letter-spacing: .02em; }
.page-title p { color: var(--muted); margin: 10px 0 0; font-size: 17px; }
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tabs a { padding: 9px 20px; border-radius: 100px; border: 2px solid var(--pill-line); color: var(--brand); text-decoration: none; font-weight: 500; font-size: 15px; background: #fff; }
.tabs a:hover { border-color: var(--brand); }
.tabs a[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.page-title + .sec.soft { padding-top: 20px; }
.sub-title { padding: 64px 0 8px; text-align: center; }
.sub-body { padding-top: 28px; }
.crumbs { font-size: 14px; display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; color: var(--muted); }
.crumbs a { color: var(--brand); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 40px; }
.pager a { background: #fff; border: 2px solid var(--pill-line); padding: 9px 20px; border-radius: 100px; text-decoration: none; font-weight: 600; }
.pager a:hover { border-color: var(--brand); }
.pager span { color: var(--muted); font-size: 14px; }
.big-search { display: flex; gap: 10px; margin: 20px auto 0; max-width: 640px; }
.big-search input { flex: 1; font: inherit; padding: 12px 20px; border-radius: 100px; border: 2px solid var(--pill-line); }
.page-title > .wrap > p:last-child { margin-top: 16px; }
.empty-page { padding: 80px 0; text-align: center; }
.empty-page h1 { font-size: 34px; color: var(--brand); font-weight: 300; margin-bottom: 8px; }
.empty-page .pill { margin: 6px; }

/* ===== Objava ===== */
.preview-bar { background: #fff4d6; color: #6b4a00; font-size: 14.5px; border-bottom: 1px solid #f1d58a; }
.preview-bar .wrap { padding: 10px 0; }
.post-head { padding: 34px 0 20px; background: var(--surface); }
.post-meta-top { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.post-head h1 { font-size: clamp(28px, 4vw, 42px); color: #0f1d33; }
.post-meta { display: flex; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14.5px; margin: 14px 0 0; }
.post-meta time, .post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .ic { width: 16px; height: 16px; }
.lead { font-size: 19px; color: #3a4659; margin: 16px 0 0; line-height: 1.55; }
.post { background: var(--surface); padding-bottom: 44px; }
.post-cover { margin: 8px auto 28px; width: min(1000px, 100% - 40px); }
.post-cover img { width: 100%; max-height: 620px; object-fit: cover; border-radius: 14px; }
.post-cover figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }
.prose { font-size: 17.5px; line-height: 1.75; color: #222c3b; }
.prose > * + * { margin-top: 1em; }
.prose p { margin: 1em 0 0; }
.prose > p:first-child, .prose section > p:first-child { margin-top: 0; }
.prose h2 { font-size: 25px; margin-top: 1.6em; color: #0f1d33; }
.prose h3 { font-size: 20px; margin-top: 1.4em; color: #0f1d33; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0; }
.prose li + li { margin-top: .35em; }
.prose blockquote { margin: 0; border-left: 4px solid var(--brand); background: var(--brand-soft); padding: 14px 18px; border-radius: 0 10px 10px 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose th { background: var(--bg); }
.prose hr { border: 0; border-top: 1px solid var(--line); }
.sub { font-size: 20px; margin: 36px 0 14px; display: flex; align-items: center; gap: 9px; color: #0f1d33; }
.sub span { color: var(--muted); font-weight: 400; font-size: 16px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery a { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; display: block; background: var(--bg); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.gallery a:hover img { transform: scale(1.04); }
.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.docs a { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--text); }
.docs a:hover { border-color: var(--brand); background: var(--brand-soft); }
.d-ext { background: var(--red); color: #fff; font-size: 11.5px; font-weight: 800; border-radius: 6px; padding: 6px 7px; min-width: 44px; text-align: center; }
.docs strong { display: block; font-size: 15px; overflow-wrap: anywhere; }
.docs small { color: var(--muted); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.share > span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; margin-right: 4px; }
.share a, .share button { font: 500 14px var(--font); color: var(--brand); background: var(--brand-soft); border: 0; border-radius: 99px; padding: 7px 14px; text-decoration: none; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.share .ic { width: 15px; height: 15px; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 16px; justify-items: start; }
.contact-card h2 { font-size: 20px; color: var(--brand); }
.map-embed { grid-column: 1 / -1; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }


.post-head h1 { color: var(--brand); font-weight: 500; }
.prose { color: var(--text); }
.prose h2, .prose h3 { color: var(--brand); font-weight: 500; }
.prose img { border-radius: 12px; margin: 0 auto; }
.prose a { overflow-wrap: anywhere; }
.prose .video { margin: 1.4em 0; }
/* Uvezene i ručne celine na stranama (npr. Dokumenta): svetloplave kutije sa brojem */
.sub-body .prose { counter-reset: box; }
.prose section { background: var(--brand-soft); border-radius: 16px; padding: 24px 26px 24px 84px; position: relative; counter-increment: box; }
.prose section::before { content: counter(box, decimal-leading-zero); position: absolute; left: 22px; top: 22px; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 500; font-size: 15px; }
.prose section > * + * { margin-top: .6em; }
.prose section h3, .prose section h2 { margin-top: 0; text-transform: uppercase; font-size: 21px; }
.sub-body .prose > h2:first-child { margin-top: 0; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.contact-card { background: var(--brand-soft); border-radius: 18px; padding: 26px; display: grid; gap: 16px; justify-items: start; }
.contact-card h2 { font-size: 22px; color: var(--brand); font-weight: 500; }
.map-embed { grid-column: 1 / -1; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ===== Podnožje ===== */
.site-foot { background: var(--bg); color: var(--text); font-size: 15.5px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 44px; padding: 60px 0 44px; align-items: start; }
.site-foot h2 { color: var(--brand); font-size: 22px; font-weight: 700; text-transform: uppercase; margin-bottom: 18px; }
.site-foot p { margin: 0 0 16px; color: var(--muted); }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot-list li { display: flex; gap: 10px; align-items: flex-start; }
.foot-list .ic { margin-top: 3px; color: var(--brand); }
.foot-list a, .foot-links a { color: inherit; text-decoration: none; }
.foot-list a:hover, .foot-links a:hover { color: var(--brand); text-decoration: underline; }
.foot-list.dark a { color: var(--brand); }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 15px; }
.soc { display: flex; gap: 8px; margin-top: 20px; }
.soc a { width: 42px; height: 42px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; color: #fff; }
.soc a:hover { background: var(--brand-2); }
.foot-map { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.foot-map iframe { width: 100%; height: 280px; border: 0; display: block; }
.foot-bottom { background: var(--brand); color: #cfe0ef; font-size: 14px; }
.foot-bottom .wrap { padding: 16px 0; display: flex; justify-content: space-between; gap: 12px; }
.foot-bottom a { color: #fff; }

/* ===== Lightbox ===== */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(5, 10, 20, .92); display: grid; place-items: center; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; max-width: 94vw; display: grid; gap: 10px; justify-items: center; }
.lb img { max-width: 94vw; max-height: 84vh; border-radius: 6px; }
.lb figcaption { color: #dfe7f1; font-size: 15px; text-align: center; }
.lb button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; display: grid; place-items: center; }
.lb button:hover { background: rgba(255, 255, 255, .22); }
.lb-x { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }


/* ===== Telefon / tablet ===== */
@media (max-width: 1160px) {
  .nav-btn { display: grid; }
  .mainnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 16px 34px rgba(0, 40, 80, .14); flex-direction: column; align-items: stretch; padding: 8px 24px 22px; gap: 14px; max-height: calc(100vh - 84px); overflow-y: auto; }
  .site-head.open .mainnav { display: flex; }
  .site-head.open .i-open { display: none; }
  .site-head.open .i-close { display: block; }
  .mainnav > ul { flex-direction: column; align-items: stretch; }
  .mainnav li { border-bottom: 1px solid var(--line); }
  .mainnav a, .sub-btn { padding: 14px 4px; font-size: 16.5px; width: 100%; justify-content: space-between; }
  .mainnav > ul > li > a[aria-current="page"]::after, .sub-btn.on::after { display: none; }
  .mainnav a[aria-current="page"] { font-weight: 700; }
  .sub { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; padding: 0 0 10px 12px; }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .caret { transform: none; }
  .has-sub.open .caret { transform: rotate(180deg); }
  .nav-search { padding-left: 18px; }
  .nav-search input { width: 100%; flex: 1; font-size: 16px; padding: 10px 0; }
  .mainnav .nav-report { display: flex; justify-content: center; background: var(--brand); color: #fff; border-radius: 100px; padding: 13px; }
}
@media (max-width: 1000px) {
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .problem-grid, .notice, .city-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .notice.rev .n-img { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-map { grid-column: 1 / -1; }
  .aktuelno-band { background-attachment: scroll; }
}
@media (max-width: 640px) {
  .wrap, .wrap.narrow, .wrap.mid { width: calc(100% - 32px); }
  .tb-name { display: none; }
  .topbar .wrap { justify-content: center; min-height: 44px; }
  .site-head .wrap { min-height: 70px; }
  .brand-logo { height: 48px; }
  .mainnav { max-height: calc(100vh - 70px); padding: 4px 16px 20px; }
  .hero { padding: 80px 0 90px; }
  .sec { padding: 48px 0; }
  .g3 { grid-template-columns: 1fr; }
  .grid { gap: 20px; }
  .sec-head { margin-bottom: 24px; }
  .problem { padding: 60px 0; }
  .notice { margin-bottom: 44px; gap: 20px; }
  .city-imgs { height: 300px; }
  .aktuelno-band, .banner { padding: 70px 0; }
  .prose section { padding: 72px 20px 20px; }
  .prose section::before { left: 20px; top: 18px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .prose { font-size: 17px; }
  .post-cover { width: 100%; }
  .post-cover img { border-radius: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 44px; }
  .foot-bottom .wrap { flex-direction: column; }
  .big-search { flex-direction: column; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .site-head, .site-foot, .share, .urgent { display: none; } body { background: #fff; } }
