/* Општина Никшић — стилови. Боје из грба: тамноплава, злато, црвена. */
:root {
  --navy-950: #070f24;
  --navy-900: #0b1733;
  --navy-800: #12224a;
  --navy-700: #1b3270;
  --navy-600: #274293;
  --navy-100: #e6ebf7;
  --navy-50: #f1f4fb;
  --gold: #e2b33c;
  --gold-600: #c39320;
  --gold-100: #fbf1d6;
  --red: #c8202f;
  --ink: #0f1729;
  --ink-2: #2b3448;
  --muted: #5c6578;
  --line: #e4e2db;
  --line-2: #efede7;
  --paper: #f7f6f2;
  --card: #fff;
  --ok: #188a4a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(11, 23, 51, .06), 0 8px 24px -12px rgba(11, 23, 51, .18);
  --shadow-lg: 0 2px 4px rgba(11, 23, 51, .06), 0 24px 48px -20px rgba(11, 23, 51, .35);
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 32px);
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs: 1rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html.fs-lg { font-size: 112.5%; }
html.fs-xl { font-size: 125%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font); font-size: var(--fs); line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-600); }
h1, h2, h3, h4, h5 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; color: var(--navy-900); text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--navy-700); outline-offset: 2px; border-radius: 6px; }
/* на тамној позадини златни оквир (контраст ≥ 3:1) */
.topbar :focus-visible, .hero :focus-visible, .phero :focus-visible, .ecoc :focus-visible, .foot :focus-visible, .mega__intro :focus-visible, .qcard--accent:focus-visible, .board__head :focus-visible { outline-color: var(--gold); }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy-950); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

/* сакриј Netlify badge */
#nl-badge-frame,[data-netlify-badge],.netlify-badge,iframe[title*="Netlify"],a[href*="netlify.com"][class*="badge"],div[id^="netlify"][class*="badge"]{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}

/* ---------- дугмад и ознаке ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .8em 1.25em; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .95rem; text-decoration: none; line-height: 1.1; transition: background .2s, color .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--navy-950); }
.btn--gold:hover { background: #ecc25a; color: var(--navy-950); }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { border-color: var(--line); background: var(--card); color: var(--navy-800); }
.btn--ghost:hover { border-color: var(--navy-700); color: var(--navy-700); }
.btn--glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .25); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.btn--sm { padding: .55em .9em; font-size: .85rem; }
.chip:hover { background: var(--navy-100); color: var(--navy-800); }
.chip { display: inline-flex; align-items: center; gap: .4em; padding: .3em .75em; border-radius: 999px; background: var(--navy-50); color: var(--navy-700); font-size: .78rem; font-weight: 600; letter-spacing: .01em; text-decoration: none; }
.chip--gold { background: var(--gold-100); color: #7a5a0c; }
.chip--red { background: #fbe5e7; color: var(--red); }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8a6410; margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- горња трака ---------- */
.topbar { background: var(--navy-950); color: #c9d1e6; font-size: .82rem; }
.topbar .wrap { display: flex; align-items: center; gap: 20px; min-height: 40px; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar .ic { width: 15px; height: 15px; }
.topbar__info { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar__tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.status { display: inline-flex; align-items: center; gap: 7px; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: #8590a8; box-shadow: 0 0 0 3px rgba(133, 144, 168, .2); }
.status.is-open .status__dot { background: #2fd27a; box-shadow: 0 0 0 3px rgba(47, 210, 122, .2); }
.seg { display: inline-flex; background: rgba(255, 255, 255, .07); border-radius: 999px; padding: 3px; }
.seg a, .seg button { padding: 3px 10px; border-radius: 999px; border: 0; background: none; color: #c9d1e6; font-size: .78rem; font-weight: 600; }
.seg .is-on { background: #fff; color: var(--navy-900); }
.seg button:hover, .seg a:hover { color: #fff; }
.seg .is-on:hover { color: var(--navy-900); }
@media (max-width: 760px) { .topbar__info .hide-m { display: none; } }
@media (max-width: 560px) { .topbar .wrap { gap: 10px; } .topbar__info a { display: none; } .status { white-space: nowrap; } .seg a, .seg button { padding: 3px 8px; } .seg [data-fs="fs-xl"] { display: none; } }
@media (max-width: 400px) { .status__more { display: none; } }

/* ---------- заглавље ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.hdr.is-scrolled { box-shadow: 0 10px 30px -18px rgba(11, 23, 51, .35); }
.hdr .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); flex: none; }
.brand img { width: 40px; height: 48px; object-fit: contain; }
.brand b { display: block; font-size: 1.12rem; letter-spacing: -.02em; line-height: 1.1; }
.brand small { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav__top { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; padding: 10px 12px; border-radius: 10px; border: 0; background: none; color: var(--ink-2); font-weight: 600; font-size: .93rem; text-decoration: none; }
.nav__top:hover, .nav__item.is-open .nav__top, .nav__top[aria-current] { background: var(--navy-50); color: var(--navy-800); }
.nav__top .ic { width: 15px; height: 15px; transition: transform .2s; }
.nav__item.is-open .nav__top .ic { transform: rotate(180deg); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega .wrap { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding-block: 32px 36px; align-items: start; min-height: 0; }
.mega__intro { background: var(--navy-900); color: #d6dcec; border-radius: var(--radius); padding: 26px; position: relative; overflow: hidden; }
.mega__intro::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 28px solid rgba(226, 179, 60, .14); }
.mega__intro .ic { width: 32px; height: 32px; color: var(--gold); margin-bottom: 14px; }
.mega__intro h3, .mega__intro .mega__title { color: #fff; font-size: 1.35rem; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
.mega__intro p { font-size: .92rem; margin: 0; }
.mega__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.mega__cols h4, .mega__cols .nav-h { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.mega__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega__cols a { display: block; padding: 8px 10px; margin-inline: -10px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .94rem; line-height: 1.3; }
.mega__cols a small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.mega__cols a:hover { background: var(--navy-50); color: var(--navy-700); }
.mega__cols a .ic { width: 13px; height: 13px; display: inline; vertical-align: -1px; margin-left: 3px; color: var(--muted); }
.nw { white-space: nowrap; }
.nw .ic { display: inline-block; vertical-align: -.15em; width: 1em; height: 1em; margin-left: .2em; }
.hdr__actions { display: flex; align-items: center; gap: 8px; }
.iconbtn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy-800); }
.iconbtn:hover { border-color: var(--navy-700); }
.searchbtn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 10px 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: .9rem; min-width: 190px; }
.searchbtn:hover { border-color: var(--navy-700); color: var(--navy-800); }
.searchbtn kbd { margin-left: auto; font: 600 .72rem var(--font); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; color: var(--muted); }
.burger { display: none; }
.hdr > .wrap { max-width: 1520px; }
@media (max-width: 1640px) { .searchbtn { min-width: 0; } .searchbtn span, .searchbtn kbd { display: none; } .hdr .wrap { gap: 16px; } }
.hdr__cta { flex-shrink: 0; }
@media (max-width: 1380px) { .hdr__cta { display: none; } }
@media (max-width: 1160px) {
  .nav, .hdr__cta { display: none; }
  .burger { display: inline-grid; }
  .hdr__actions { margin-left: auto; }
  .hdr .wrap { min-height: 66px; }
}

/* мобилни мени */
.drawer { position: fixed; inset: 0; z-index: 100000; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__bg { position: absolute; inset: 0; background: rgba(7, 15, 36, .55); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%); background: #fff; transform: translateX(100%); transition: transform .3s var(--ease); display: flex; flex-direction: column; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer__body { overflow: auto; padding: 8px 16px 32px; flex: 1; }
.drawer details { border-bottom: 1px solid var(--line-2); }
.drawer summary, .drawer__link { display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; color: var(--navy-900); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.drawer details summary { border-bottom: 0; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer details[open] summary .ic { transform: rotate(180deg); }
.drawer h4, .drawer .nav-h { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 10px 4px 4px; }
.drawer ul { list-style: none; margin: 0 0 12px; padding: 0; }
.drawer li a { display: block; padding: 9px 4px; color: var(--ink-2); text-decoration: none; }
.drawer__foot { padding: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }

/* ---------- херој ---------- */
.hero { position: relative; color: #fff; background: var(--navy-950); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 18s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7, 15, 36, .94) 0%, rgba(7, 15, 36, .78) 42%, rgba(7, 15, 36, .25) 100%), linear-gradient(0deg, rgba(7, 15, 36, .7), transparent 45%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 48px; align-items: end; padding-block: clamp(56px, 9vw, 120px) clamp(40px, 6vw, 72px); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__lead { font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); color: #cfd6e8; max-width: 38em; margin-bottom: 28px; }
.hsearch { position: relative; max-width: 640px; }
.hsearch input { width: 100%; height: 62px; border-radius: 16px; border: 0; padding: 0 140px 0 56px; font-size: 1.05rem; background: #fff; color: var(--ink); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.hsearch input::placeholder { color: #8a92a4; }
.hsearch > .ic { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--navy-700); width: 22px; height: 22px; }
.hsearch .btn { position: absolute; right: 8px; top: 8px; bottom: 8px; border-radius: 11px; }
.hchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.hchips span { font-size: .85rem; color: #aab4cc; margin-right: 4px; }
.hchips a:not(.chip) { color: #fff; text-decoration: none; font-size: .85rem; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); transition: background .2s; }
.hchips a:not(.chip):hover { background: rgba(255, 255, 255, .22); color: #fff; }
.hcard { background: rgba(10, 20, 46, .55); border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; padding: 22px; backdrop-filter: blur(16px); display: grid; gap: 16px; }
.hcard__row { display: flex; align-items: center; gap: 14px; }
.hcard__wx { font-size: 2.6rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.hcard__wx small { font-size: 1rem; color: #aab4cc; font-weight: 500; }
.hcard__wxicon { width: 46px; height: 46px; color: var(--gold); }
.hcard__meta { font-size: .85rem; color: #aab4cc; line-height: 1.4; }
.hcard__meta b { color: #fff; display: block; font-size: .98rem; }
.hcard hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .12); margin: 0; }
.hcard__ecoc { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; }
.hcard__ecoc:hover { color: #fff; }
.hcard__ecoc .num { font-size: 2rem; font-weight: 800; color: var(--gold); letter-spacing: -.03em; line-height: 1; min-width: 3.2ch; }
.hcard__ecoc span { font-size: .85rem; color: #cfd6e8; line-height: 1.35; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 32px; } .hcard { grid-template-columns: 1fr 1fr; align-items: center; } .hcard hr, .hcard > .hcard__row:nth-of-type(2) { display: none; } }
@media (max-width: 520px) { .hcard { grid-template-columns: 1fr; padding: 18px; } .hero .wrap { padding-bottom: 80px; } .hero h1 { font-size: 2.6rem; } .hsearch input { padding-right: 18px; height: 56px; } .hsearch .btn { display: none; } }

/* ---------- секције ---------- */
.sec { padding-block: clamp(56px, 7vw, 96px); }
.sec--white { background: #fff; }
.sec--tight { padding-block: clamp(40px, 5vw, 64px); }
.sec__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px); flex-wrap: wrap; }
.sec__head h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.7rem); margin: 0; font-weight: 800; letter-spacing: -.03em; }
.sec__head p { color: var(--muted); max-width: 46em; margin: 10px 0 0; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--navy-700); }
.more:hover .ic { transform: translateX(3px); }
.more .ic { transition: transform .2s; }

/* брзе услуге */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -48px; position: relative; z-index: 2; }
.qcard { background: #fff; border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 10px; transition: transform .25s var(--ease), box-shadow .25s; position: relative; min-height: 168px; }
.qcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.qcard__ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy-700); }
.qcard__ic .ic { width: 23px; height: 23px; }
.qcard b { font-size: 1.05rem; line-height: 1.25; color: var(--navy-900); }
.qcard span { font-size: .87rem; color: var(--muted); line-height: 1.45; }
.qcard__go { position: absolute; right: 18px; top: 22px; color: #b9bfcc; transition: color .2s, transform .2s; }
.qcard:hover .qcard__go { color: var(--navy-700); transform: translate(2px, -2px); }
.qcard--accent { background: linear-gradient(140deg, var(--navy-800), var(--navy-950)); border-color: transparent; }
.qcard--accent b { color: #fff; }
.qcard--accent span { color: #b6c0d8; }
.qcard--accent .qcard__ic { background: var(--gold); color: var(--navy-950); }
.qcard--accent .qcard__go { color: var(--gold); }
@media (max-width: 1000px) { .quick { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .quick { gap: 10px; } .qcard { padding: 14px; min-height: 0; gap: 8px; } .qcard > span:not(.qcard__ic) { display: none; } .qcard__ic { width: 38px; height: 38px; border-radius: 11px; } .qcard__ic .ic { width: 20px; height: 20px; } .qcard b { font-size: .92rem; } .qcard__go { display: none; } }

/* вијести */
.newsgrid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.feat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ncard { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); transition: transform .25s var(--ease), box-shadow .25s; }
.ncard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.ncard__img { aspect-ratio: 16/10; background: var(--navy-100); overflow: hidden; position: relative; }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ncard:hover .ncard__img img { transform: scale(1.04); }
.ncard__img--empty { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); }
.ncard__img--empty img { width: 64px; height: auto; opacity: .35; object-fit: contain; }
.ncard__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ncard__meta { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); flex-wrap: wrap; }
.ncard h3 { font-size: 1.08rem; line-height: 1.32; margin: 0; letter-spacing: -.01em; }
.ncard p { font-size: .9rem; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard--big { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; }
.ncard--big .ncard__img { aspect-ratio: auto; min-height: 340px; }
.ncard--big .ncard__body { padding: 32px; justify-content: center; }
.ncard--big h3 { font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); }
.ncard--big p { -webkit-line-clamp: 4; font-size: .98rem; }
@media (max-width: 1100px) { .newsgrid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .feat { grid-template-columns: 1fr; } .ncard--big { grid-template-columns: 1fr; } .ncard--big .ncard__img { min-height: 0; aspect-ratio: 16/10; } .ncard--big .ncard__body { padding: 20px; } }

/* огласна табла (бочно) */
.board { background: #fff; border-radius: var(--radius); border: 1px solid var(--line-2); overflow: hidden; position: sticky; top: 100px; }
.board__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: var(--navy-900); color: #fff; }
.board__head .ic { color: var(--gold); width: 22px; height: 22px; }
.board__head b { font-size: 1.05rem; }
.board__head a { margin-left: auto; color: #c9d1e6; font-size: .85rem; text-decoration: none; }
.board__head a:hover { color: #fff; }
.board ol { list-style: none; margin: 0; padding: 0; }
.board li { border-bottom: 1px solid var(--line-2); }
.board li:last-child { border-bottom: 0; }
.board li a { display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding: 15px 20px; text-decoration: none; color: var(--ink); }
.board li a:hover { background: var(--paper); }
.board time { display: grid; place-items: center; align-content: center; background: var(--gold-100); color: #6d500a; border-radius: 12px; height: 54px; line-height: 1; font-weight: 800; font-size: 1.15rem; }
.board time small { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; }
.board li span { font-size: .9rem; line-height: 1.35; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.board__foot { padding: 14px 20px; background: var(--paper); font-size: .85rem; }

/* ЕПК 2030 */
.ecoc { position: relative; background: var(--navy-950); color: #cfd6e8; overflow: hidden; isolation: isolate; }
.ecoc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 500px at 85% 20%, rgba(226, 179, 60, .2), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(39, 66, 147, .55), transparent 60%); }
.ecoc__rings { position: absolute; right: -120px; top: 50%; transform: translateY(-50%); width: 620px; height: 620px; z-index: -1; opacity: .5; }
.ecoc .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.ecoc h2 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; }
.ecoc h2 em { font-style: normal; color: var(--gold); }
.ecoc p { font-size: 1.05rem; max-width: 34em; }
.ecoc__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.ecoc__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 22px; }
.stat b { display: block; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); font-weight: 800; color: #fff; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat b small { font-size: .45em; color: var(--gold); margin-left: 4px; letter-spacing: 0; }
.stat span { display: block; margin-top: 8px; font-size: .88rem; color: #aab4cc; line-height: 1.4; }
.stat--gold { background: var(--gold); border-color: var(--gold); }
.stat--gold b { color: var(--navy-950); }
.stat--gold span { color: #4b3a0b; }
@media (max-width: 900px) { .ecoc .wrap { grid-template-columns: 1fr; } }

/* отворена општина */
.open { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.otile { grid-column: span 3; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 6px; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.otile:hover { border-color: var(--navy-700); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.otile .ic { width: 26px; height: 26px; color: var(--navy-700); margin-bottom: 10px; }
.otile b { font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; color: var(--navy-900); line-height: 1; font-variant-numeric: tabular-nums; }
.otile strong { font-size: 1.02rem; color: var(--navy-900); }
.otile span { font-size: .88rem; color: var(--muted); }
.otile--wide { grid-column: span 6; background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); color: #cfd6e8; border: 0; flex-direction: row; align-items: center; gap: 24px; }
.otile--wide:hover { color: #cfd6e8; }
.otile--wide b, .otile--wide strong { color: #fff; }
.otile--wide span { color: #aab4cc; }
.otile--wide .ic { color: var(--gold); width: 54px; height: 54px; margin: 0; flex: none; }
.otile--wide > div { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 1000px) { .otile { grid-column: span 6; } .otile--wide { grid-column: span 12; } }
@media (max-width: 560px) { .otile { grid-column: span 12; } .otile--wide { flex-direction: column; align-items: start; } }

/* прича о граду */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.story__imgs { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.story__imgs img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; }
.story__imgs img:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
.story__imgs img:not(:first-child) { aspect-ratio: 4/3; }
.story h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; }
.story p { color: var(--ink-2); font-size: 1.04rem; }
.story blockquote { margin: 24px 0 0; padding: 18px 22px; border-left: 3px solid var(--gold); background: var(--gold-100); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: #4b3a0b; font-weight: 500; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.fact { padding: 28px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact b { display: block; font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); font-weight: 800; color: var(--navy-900); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.fact b small { font-size: .45em; color: #8a6410; margin-left: 4px; letter-spacing: 0; }
.fact span { display: block; font-weight: 600; margin-top: 10px; }
.fact em { display: block; font-style: normal; color: var(--muted); font-size: .85rem; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .facts { grid-template-columns: 1fr 1fr; } .fact:nth-child(3) { border-left: 0; padding-left: 0; } }

/* знаменитости — хоризонтални низ */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 31%); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--navy-700) transparent; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--navy-700); border-radius: 6px; }
.sight { scroll-snap-align: start; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; color: #fff; background: var(--navy-900); margin: 0; }
.sight img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sight:hover img { transform: scale(1.05); }
.sight::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 15, 36, .92) 0%, rgba(7, 15, 36, .3) 50%, transparent 75%); }
.sight figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; z-index: 1; }
.sight b { display: block; font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: 6px; }
.sight span { font-size: .88rem; color: #cfd6e8; line-height: 1.45; display: block; }
.railnav { display: flex; gap: 8px; }
.sights .sight { aspect-ratio: 4/3; }
@media (min-width: 1001px) { .sights { grid-auto-rows: 300px; } .sights .sight { aspect-ratio: auto; height: 100%; } .sights .sight:first-child, .sights .sight:last-child { grid-column: span 2; } }
@media (max-width: 760px) { .rail { grid-auto-columns: 80%; } }

/* банери пројеката */
.promos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.promo { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); border: 1px solid var(--line-2); transition: transform .25s var(--ease), box-shadow .25s; }
.promo:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.promo__img { aspect-ratio: 16/9; background: var(--navy-50); overflow: hidden; }
.promo__img img { width: 100%; height: 100%; object-fit: cover; }
.promo b { padding: 14px 18px 18px; font-size: .95rem; line-height: 1.35; display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.promo b .ic { color: var(--muted); width: 16px; height: 16px; margin-top: 2px; }

/* ---------- унутрашње странице ---------- */
.phero { background: var(--navy-950); color: #cfd6e8; position: relative; overflow: hidden; isolation: isolate; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 360px at 90% 0%, rgba(226, 179, 60, .16), transparent 60%), radial-gradient(600px 400px at 10% 120%, rgba(39, 66, 147, .6), transparent 60%); }
.phero .wrap { padding-block: clamp(32px, 4vw, 48px) clamp(36px, 5vw, 56px); }
.phero h1 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; max-width: 26em; margin: 0; }
.phero__meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-size: .88rem; color: #aab4cc; align-items: center; }
.phero__meta span { display: inline-flex; gap: 6px; align-items: center; }
.phero__meta .ic { width: 15px; height: 15px; }
.phero__print { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; margin: -8px 0; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: none; color: inherit; font: inherit; cursor: pointer; }
.phero__print:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
@media (max-width: 560px) { .phero__print { width: 40px; padding: 0; justify-content: center; } .phero__print .hide-m { display: none; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .84rem; color: #8f9ab5; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { color: #c9d1e6; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 700px) { .crumbs li:last-child:not(:first-child) { display: none; } }
.layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); padding-block: clamp(32px, 4vw, 56px) clamp(56px, 7vw, 96px); align-items: start; }
.layout--full { grid-template-columns: minmax(0, 1fr); }
.side { position: sticky; top: 100px; display: grid; gap: 16px; }
.sidebox { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 18px; }
.sidebox h4, .sidebox__h { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.sidebox ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.sidebox li a { display: block; padding: 7px 10px; margin-inline: -10px; border-radius: 9px; text-decoration: none; color: var(--ink-2); font-size: .9rem; line-height: 1.35; }
.sidebox li a:hover { background: var(--paper); color: var(--navy-700); }
.sidebox li a[aria-current] { background: var(--navy-50); color: var(--navy-700); font-weight: 700; }
.sidebox--toc li a { font-size: .86rem; border-left: 2px solid var(--line); border-radius: 0; margin: 0; padding: 6px 12px; }
.sidebox--toc li a.is-active { border-color: var(--gold); color: var(--navy-800); font-weight: 600; }
.sidehelp { background: var(--navy-900); color: #cfd6e8; border-radius: var(--radius); padding: 20px; font-size: .9rem; }
.sidehelp b { color: #fff; display: block; font-size: 1rem; margin-bottom: 4px; }
.sidehelp a { color: var(--gold); text-decoration: none; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .side { position: static; order: 2; } }

.content { min-width: 0; }
.content > * + * { margin-top: 0; }
.blk + .blk { margin-top: 28px; }
.blk--h { margin-top: 48px !important; padding-top: 4px; }
.blk--h:first-child { margin-top: 0 !important; }
.blk--h h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); display: flex; align-items: center; gap: 12px; }
.blk--h h2::before { content: ""; width: 6px; height: 1.1em; background: var(--gold); border-radius: 3px; flex: none; }
.prose { font-size: 1.03rem; color: var(--ink-2); max-width: 75ch; }
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5 { margin-top: 1.4em; color: var(--navy-900); }
.prose h3 { font-size: 1.3rem; }
.prose h4 { font-size: 1.12rem; }
.prose h5, .prose h6 { font-size: 1rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--gold-600); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose img { border-radius: var(--radius-sm); margin: 1em 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: .92rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose blockquote { border-left: 3px solid var(--gold); margin: 1em 0; padding: .2em 1em; color: var(--muted); }
.prose a[href*="/uploads/"] { font-weight: 600; }

/* листе докумената */
.docgroup { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.docgroup + .docgroup { margin-top: 14px; }
.docgroup > summary, .docgroup__h { display: flex; align-items: center; gap: 12px; padding: 16px 20px; font-weight: 700; color: var(--navy-900); cursor: pointer; list-style: none; font-size: 1.02rem; }
.docgroup > summary::-webkit-details-marker { display: none; }
.docgroup { transition: border-color .15s, box-shadow .15s; }
.docgroup:has(> summary:hover) { border-color: var(--navy-100); box-shadow: 0 2px 10px rgba(16, 35, 90, .06); }
.docgroup > summary { transition: background .15s; }
.docgroup > summary:hover, .docgroup > summary:focus-visible { background: var(--navy-50); }
.docgroup > summary:hover > .ic:last-child { color: var(--navy-700); }
.docgroup > summary .count { margin-left: auto; }
.docgroup > summary > .ic:last-child { color: var(--muted); transition: transform .2s; }
.docgroup[open] > summary > .ic:last-child { transform: rotate(180deg); }
.docgroup[open] > summary { border-bottom: 1px solid var(--line-2); }
.count { font-size: .75rem; font-weight: 700; background: var(--navy-50); color: var(--navy-700); padding: 3px 9px; border-radius: 999px; }
.docs { list-style: none; margin: 0; padding: 0; }
.docs li + li { border-top: 1px solid var(--line-2); }
.doc { display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: center; padding: 12px 20px; text-decoration: none; color: var(--ink); transition: background .15s; }
.doc:hover { background: var(--navy-50); color: var(--ink); }
.doc__ext { width: 42px; height: 48px; border-radius: 8px; display: grid; place-items: center; font-size: .66rem; font-weight: 800; letter-spacing: .04em; color: #fff; background: #8a93a6; position: relative; clip-path: polygon(0 0, 72% 0, 100% 20%, 100% 100%, 0 100%); }
.doc__ext[data-x="pdf"] { background: #d23a3a; }
.doc__ext[data-x="doc"], .doc__ext[data-x="docx"] { background: #2f62c7; }
.doc__ext[data-x="xls"], .doc__ext[data-x="xlsx"] { background: #17733f; }
.doc__ext[data-x="jpg"], .doc__ext[data-x="jpeg"], .doc__ext[data-x="png"] { background: #8a52c4; }
.doc__ext[data-x="link"] { background: var(--navy-700); clip-path: none; border-radius: 12px; height: 42px; }
.doc__ext .ic { width: 20px; height: 20px; }
.doc__t { font-weight: 600; font-size: .95rem; line-height: 1.35; }
.doc__t small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.doc__dl { color: var(--navy-700); display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.doc:hover .doc__dl { border-color: var(--navy-700); }
@media (max-width: 560px) { .doc { grid-template-columns: 36px 1fr; padding: 12px 14px; } .doc__ext { width: 36px; height: 42px; } .doc__dl { display: none; } }
.filter { position: relative; margin-bottom: 18px; }
.filter input { width: 100%; height: 50px; border: 1px solid var(--line); border-radius: 14px; padding: 0 16px 0 46px; background: #fff; font-size: .98rem; }
.filter input:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(39, 66, 147, .12); }
.filter > .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filter__n { position: absolute; right: 44px; pointer-events: none; top: 50%; transform: translateY(-50%); font-size: .8rem; color: var(--muted); }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }

/* табела текст (нпр. секретаријати, огласи) */
.rows { display: grid; gap: 12px; }
.row { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
.row > div { padding: 20px 22px; }
.row > div + div { border-left: 1px solid var(--line-2); }
.row .prose { font-size: .95rem; }
.row .prose h4, .row .prose h5 { margin: 0 0 .3em; font-size: 1.02rem; }
.row .prose ul { margin: 0; }
.acc { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); }
.acc + .acc { margin-top: 12px; }
.acc > summary { padding: 18px 22px; cursor: pointer; list-style: none; display: flex; gap: 14px; align-items: start; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary { transition: background .15s; border-radius: calc(var(--radius) - 1px); }
.acc[open] > summary { border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; }
.acc > summary:hover, .acc > summary:focus-visible { background: var(--navy-50); }
.acc > summary .prose { flex: 1; }
.acc > summary .prose h4, .acc > summary .prose h5 { margin: 0 0 .25em; }
.acc > summary .prose p:last-child { margin: 0; }
.acc > summary > .ic { margin-top: 4px; color: var(--muted); transition: transform .2s; }
.acc[open] > summary > .ic { transform: rotate(180deg); }
.acc[open] > summary { border-bottom: 1px solid var(--line-2); }
.acc__body { padding: 20px 22px; }
.notice { display: grid; grid-template-columns: 64px 1fr; gap: 18px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 18px 20px; align-items: start; }
.notice time { display: grid; place-items: center; align-content: center; background: var(--gold-100); color: #6d500a; border-radius: 14px; height: 64px; line-height: 1; font-weight: 800; font-size: 1.35rem; }
.notice time small { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.notice h3 { font-size: 1.02rem; line-height: 1.4; margin: 0 0 8px; font-weight: 600; color: var(--ink); }
.notice .prose { font-size: .92rem; }
.notice .prose ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.notice .prose li { margin: 0; }
.notice .prose li a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--navy-50); text-decoration: none; font-size: .85rem; }
.notice .prose li a:hover { background: var(--navy-100); }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; } .row > div + div { border-left: 0; border-top: 1px solid var(--line-2); } .notice { grid-template-columns: 1fr; } .notice time { width: 64px; } }

/* профили */
.person { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; align-items: start; }
.person__img { border-radius: var(--radius); overflow: hidden; background: var(--navy-100); aspect-ratio: 4/5; position: sticky; top: 100px; }
.person__img img { width: 100%; height: 100%; object-fit: cover; }
.person__img--none { display: grid; place-items: center; color: var(--navy-700); }
.person__img--none .ic { width: 64px; height: 64px; opacity: .4; }
.person h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); margin: 0 0 4px; }
.person__role { color: #8a6410; font-weight: 700; margin-bottom: 20px; display: block; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tabs button { border: 0; background: none; padding: 12px 16px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--navy-800); border-color: var(--gold); }
@media (max-width: 760px) { .person { grid-template-columns: 1fr; } .person__img { position: static; max-width: 280px; } }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.pcard { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.pcard__img { aspect-ratio: 1; background: var(--navy-50); overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.pcard__img--none { display: grid; place-items: center; font-size: 2.4rem; font-weight: 800; color: var(--navy-700); background: linear-gradient(135deg, var(--navy-50), var(--navy-100)); letter-spacing: -.04em; }
.pcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard b { font-size: 1.02rem; color: var(--navy-900); line-height: 1.3; }
.pcard small { color: #8a6410; font-weight: 600; font-size: .82rem; }
.pcard details { margin-top: auto; font-size: .88rem; color: var(--ink-2); }
.pcard details summary { cursor: pointer; color: var(--navy-700); font-weight: 600; font-size: .85rem; list-style: none; padding-top: 6px; }
.pcard details summary::-webkit-details-marker { display: none; }
.pcard details .prose { font-size: .88rem; margin-top: 8px; }

/* картице-линкови */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.tile { display: flex; align-items: center; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.3; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.tile:hover { border-color: var(--navy-700); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--navy-800); }
.tile__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--navy-50); color: var(--navy-700); display: grid; place-items: center; flex: none; }
.tile > .ic:last-child { margin-left: auto; color: #b9bfcc; width: 18px; height: 18px; }
.tiles--big .tile { flex-direction: column; align-items: start; padding: 24px; min-height: 150px; font-size: 1.1rem; }
.tiles--big .tile > .ic:last-child { margin-left: 0; margin-top: auto; }

/* контакти */
.contacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.ccard { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; }
.ccard h3 { font-size: 1.1rem; margin: 0 0 4px; }
.ccard a, .ccard span { display: flex; gap: 10px; align-items: start; color: var(--ink-2); text-decoration: none; font-size: .93rem; }
.ccard a:hover { color: var(--navy-700); }
.ccard .ic { color: var(--navy-700); width: 18px; height: 18px; margin-top: 2px; }
.phones { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.phones table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.phones th { text-align: left; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 12px 20px; background: var(--paper); }
.phones td { padding: 12px 20px; border-top: 1px solid var(--line-2); }
.phones td a { font-weight: 700; text-decoration: none; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }

/* форма */
.form { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.form label.full, .form .full { grid-column: 1 / -1; }
.form > * { min-width: 0; }
.form input:not([type=checkbox]), .form textarea { width: 100%; min-width: 0; box-sizing: border-box; }
.form input, .form textarea { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--paper); font-weight: 400; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--navy-700); background: #fff; box-shadow: 0 0 0 4px rgba(39, 66, 147, .12); }
.form textarea { min-height: 120px; resize: vertical; }
.form .hp { display: none; }
.form label.form__check { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; line-height: 1.45; cursor: pointer; }
.form__check input[type="checkbox"] { flex: none; width: 22px; height: 22px; margin: 0; padding: 0; accent-color: var(--navy-800); cursor: pointer; }
.form input[type="file"] { padding: 10px; cursor: pointer; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* ---------- вијести: листа и чланак ---------- */
.ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .ngrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .ngrid { grid-template-columns: 1fr; } }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filters a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.filters a:hover { border-color: var(--navy-700); }
.filters a[aria-current] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; text-decoration: none; font-weight: 600; color: var(--ink-2); }
.pager a:hover { border-color: var(--navy-700); }
.pager [aria-current] { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.pager .gap { border: 0; background: none; }
.article { max-width: 780px; margin-inline: auto; padding-block: clamp(32px, 4vw, 56px) clamp(56px, 7vw, 96px); }
.article__img { border-radius: var(--radius); overflow: hidden; margin: 0 0 32px; background: var(--navy-100); }
.article__img img { width: 100%; max-height: 640px; object-fit: contain; background: var(--navy-950); }
.article .prose { font-size: 1.1rem; line-height: 1.75; max-width: none; }
.article .prose > p:first-of-type { font-size: 1.2rem; color: var(--ink); font-weight: 500; }
.fb { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; display: grid; gap: 14px; justify-items: start; }
.fb p { margin: 0; color: var(--muted); }
.fb iframe { width: 100%; max-width: 500px; border: 0; min-height: 600px; }
.share { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.share b { margin-right: 6px; font-size: .9rem; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.prevnext a { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.35; font-size: .93rem; }
.prevnext a small { display: flex; gap: 6px; align-items: center; color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.prevnext a:last-child { text-align: right; }
.prevnext a:last-child small { justify-content: end; }
.prevnext a:hover { border-color: var(--navy-700); }

/* библиотека докумената */
.lib { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; padding-block: 40px 96px; }
.lib__side { position: sticky; top: 100px; display: grid; gap: 18px; }
.lib__side h4, .lib__h { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.lib__side select { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; background: #fff; }
.lib__types { display: flex; flex-wrap: wrap; gap: 6px; }
.lib__types button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: .82rem; font-weight: 600; }
.lib__types button[aria-pressed="true"] { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.lib__more { margin-top: 18px; text-align: center; }
mark { background: var(--gold-100); color: inherit; border-radius: 3px; padding: 0 2px; }
@media (max-width: 900px) { .lib { grid-template-columns: 1fr; } .lib__side { position: static; } }

/* ---------- претрага (⌘K) ---------- */
.palette { position: fixed; inset: 0; z-index: 100001; display: none; }
.palette.is-open { display: block; }
.palette__bg { position: absolute; inset: 0; background: rgba(7, 15, 36, .6); backdrop-filter: blur(4px); }
.palette__box { position: relative; max-width: 680px; margin: 10vh auto 0; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; width: calc(100% - 32px); }
.palette__in { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.palette__in input { flex: 1; border: 0; height: 64px; font-size: 1.1rem; outline: none; background: none; }
.palette__in .ic { color: var(--navy-700); width: 22px; height: 22px; }
.palette__in input::-webkit-search-cancel-button { display: none; }
.palette__x { flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin-right: -8px; border: 0; border-radius: 10px; background: none; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.palette__x:hover, .palette__x:focus-visible { background: var(--navy-50); color: var(--navy-700); }
.palette__in .palette__x .ic { width: 20px; height: 20px; color: currentColor; }
.palette__res { max-height: 60vh; overflow: auto; padding: 8px; }
.palette__res h5 { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 12px 12px 6px; }
.palette__res a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.palette__res a .ic { color: var(--muted); }
.palette__res a small { display: block; color: var(--muted); font-size: .8rem; }
.palette__res a.is-sel, .palette__res a:hover { background: var(--navy-50); }
.palette__res a.is-sel .ic { color: var(--navy-700); }
.palette__hint { padding: 22px 16px; color: var(--muted); font-size: .92rem; }
.palette__res .palette__doc .doc__ext { flex: none; width: 34px; height: 40px; font-size: .58rem; }
@media (max-width: 600px) {
  .palette__box { margin: 0; width: 100%; max-width: none; height: 100vh; height: 100dvh; border-radius: 0; display: flex; flex-direction: column; }
  .palette__in { padding: 0 8px 0 16px; padding-top: env(safe-area-inset-top); }
  .palette__in input { height: 60px; font-size: 1rem; min-width: 0; }
  .palette__x { width: 44px; height: 44px; margin-right: 0; }
  .palette__res { flex: 1; max-height: none; padding-bottom: calc(8px + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
  .palette__res a { padding: 12px; }
}

/* ---------- подножје ---------- */
.foot { background: var(--navy-950); color: #aab4cc; font-size: .93rem; }
.foot__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-block: 64px 48px; }
.foot h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { color: #aab4cc; text-decoration: none; }
.foot a:hover { color: #fff; }
.foot__brand { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; color: #fff; }
.foot__brand img { width: 44px; height: 52px; object-fit: contain; }
.foot__brand b { font-size: 1.2rem; display: block; }
.foot__contact { display: grid; gap: 10px; }
.foot__contact a, .foot__contact span { display: flex; gap: 10px; align-items: start; }
.foot__contact .ic { color: var(--gold); width: 17px; height: 17px; margin-top: 3px; }
.social { display: flex; gap: 8px; margin-top: 20px; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: #fff; }
.social a:hover { background: var(--gold); color: var(--navy-950); }
.social .ic { width: 18px; height: 18px; }
.foot__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 22px; display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; font-size: .84rem; }
@media (max-width: 900px) { .foot__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__top { grid-template-columns: 1fr; gap: 28px; } }

.totop { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 48px; height: 48px; border-radius: 14px; border: 0; background: var(--navy-800); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s; }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* појављивање при скроловању */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .rv.is-in { opacity: 1; transform: none; }
}

@media print {
  @page { margin: 16mm 14mm; }
  .topbar, .hdr, .foot, .side, .totop, .share, .prevnext, .filter, .phero__print, .consent, .palette, .drawer, .skip, #wpadminbar,
  .railnav, .lib__more, .doc__dl, .hsearch, .btn, .nk-video, iframe, video { display: none !important; }
  html, body { background: #fff !important; color: #000; font-size: 11pt; }
  html { margin-top: 0 !important; }
  /* садржај који се на екрану појављује анимацијом при скроловању */
  .rv, .js .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
  .phero { background: none !important; color: #000; padding: 0 0 10pt; border-bottom: 1px solid #999; margin-bottom: 14pt; }
  .phero::before { display: none; }
  .phero h1, .phero .crumbs a, .phero__meta { color: #000 !important; }
  .phero .crumbs { font-size: 9pt; }
  .wrap { max-width: none; padding: 0; }
  .layout { display: block; padding: 0; }
  .content, .prose { max-width: none; }
  a { color: #000; text-decoration: underline; }
  .prose a[href^="http"]:not([href*="niksic.local"])::after { content: " (" attr(href) ")"; font-size: 8.5pt; color: #444; word-break: break-all; }
  /* само мали елементи се не ломе — велике групе смију прећи на сљедећу страну (иначе остаје празна страна) */
  .doc, .docs > li, .ccard, .qcard, .notice, .acc > summary, figure, tr, .sight, .pcard { break-inside: avoid; }
  .docgroup, .blk, .acc, .content, .prose, table { break-inside: auto; }
  .docgroup > summary, .docgroup__h { break-after: avoid; }
  .docgroup > summary > .ic:last-child, .acc > summary > .ic { display: none; }
  .docgroup, .ccard, .qcard, .acc, .board, .sidebox { box-shadow: none !important; border: 1px solid #bbb !important; background: #fff !important; }
  .doc__ext { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  h2, h3, h4 { break-after: avoid; color: #000; }
  img { max-width: 100% !important; }
}

/* ---------- WordPress: блокови и типови садржаја (фаза 2) ---------- */
.prose h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); display: flex; align-items: center; gap: 12px; margin-top: 1.8em; }
.prose h2::before { content: ""; width: 6px; height: 1.1em; background: var(--gold); border-radius: 3px; flex: none; }
.prose .is-style-uvod, .is-style-uvod { font-size: 1.2rem; line-height: 1.6; color: var(--ink); font-weight: 500; }
.is-style-okvir, .is-style-upozorenje { background: var(--navy-50); border-left: 4px solid var(--navy-700); border-radius: var(--radius-sm); padding: 18px 22px; margin: 1.2em 0; }
.is-style-upozorenje { background: var(--gold-100); border-left-color: var(--gold-600); }
.is-style-okvir > :first-child, .is-style-upozorenje > :first-child { margin-top: 0; }
.is-style-okvir > :last-child, .is-style-upozorenje > :last-child { margin-bottom: 0; }
.prose .is-style-pruge tbody tr:nth-child(odd) { background: var(--paper); }
.prose figure { margin: 1.2em 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.prose .wp-block-file { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 12px 16px; }
.prose .wp-block-file__button { margin-left: auto; background: var(--navy-800); color: #fff; border-radius: 999px; padding: 6px 14px; text-decoration: none; font-size: .85rem; }
.prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 1em 0; }
.prose .wp-block-button__link { display: inline-flex; background: var(--navy-800); color: #fff; border-radius: 999px; padding: 12px 22px; text-decoration: none; font-weight: 600; }
.prose .wp-block-button__link:hover { background: var(--navy-700); color: #fff; }
.prose details { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 14px 18px; margin: .8em 0; }
.prose details summary { cursor: pointer; font-weight: 600; color: var(--navy-900); }
.prose details[open] summary { margin-bottom: 10px; }
.prose .wp-block-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
/* Галерија (блок „Галерија“): мрежа 3 колоне (телефон 2), WordPress-ова flex ширина слике се поништава */
.prose .wp-block-gallery { display: grid !important; grid-template-columns: repeat(var(--gcols, 3), minmax(0, 1fr)); gap: 10px; margin: 1.4em 0; }
.prose .wp-block-gallery.columns-1 { --gcols: 1; } .prose .wp-block-gallery.columns-2 { --gcols: 2; } .prose .wp-block-gallery.columns-4 { --gcols: 4; } .prose .wp-block-gallery.columns-5, .prose .wp-block-gallery.columns-6, .prose .wp-block-gallery.columns-7, .prose .wp-block-gallery.columns-8 { --gcols: 5; }
@media (max-width: 600px) { .prose .wp-block-gallery:not(.columns-1) { --gcols: 2; } }
.prose .wp-block-gallery > figure.wp-block-image, .prose .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: auto !important; max-width: none; margin: 0 !important; flex: none; }
.prose .wp-block-gallery figure.wp-block-image img { margin: 0; width: 100%; height: 100% !important; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); }
.prose .wp-block-gallery:not(.is-cropped) figure.wp-block-image img { aspect-ratio: auto; object-fit: contain; }
.prose .wp-block-gallery figcaption { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.prose .wp-block-gallery .blocks-gallery-caption { grid-column: 1 / -1; }

/* Увећање слика (лајтбокс) */
.prose img[data-lb] { cursor: zoom-in; transition: opacity .2s; } .prose img[data-lb]:hover { opacity: .9; }
.lb { position: fixed; inset: 0; z-index: 100000; background: rgba(5, 10, 24, .94); display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 56px 64px 16px; touch-action: pan-y; }
.lb[hidden] { display: none; }
.lb__img { cursor: pointer; max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); user-select: none; }
.lb__cap { color: #cfd6e8; font-size: .9rem; padding-top: 10px; text-align: center; min-height: 1.4em; }
.lb button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; font-size: 26px; line-height: 1; }
.lb button:hover, .lb button:focus-visible { background: rgba(255, 255, 255, .25); outline: 2px solid var(--gold-400, #e3b341); outline-offset: 2px; }
.lb__x { top: 12px; right: 12px; } .lb__prev { left: 12px; top: 50%; transform: translateY(-50%); } .lb__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb__n { position: absolute; top: 22px; left: 20px; color: #cfd6e8; font-size: .85rem; }
@media (max-width: 600px) { .lb { padding: 56px 8px 12px; } .lb__prev, .lb__next { top: auto; bottom: 14px; transform: none; } .lb__prev { left: 16px; } .lb__next { right: 16px; } .lb__img { max-height: calc(100vh - 150px); } }
@media print { .lb { display: none !important; } }
.prose .wp-block-embed iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--radius-sm); }
.notice h3 a { color: inherit; text-decoration: none; }
.notice h3 a:hover { color: var(--navy-700); text-decoration: underline; }
.notice__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.notice__chips .ic { width: 13px; height: 13px; }
.notice.is-expired { opacity: .72; }
.notice.is-expired time { background: var(--line-2); color: var(--muted); }
.notice .prose li a .ic { width: 15px; height: 15px; }
.person__contact { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 10px 0 18px; }
.person__contact a { display: inline-flex; gap: 8px; align-items: center; color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.person__contact .ic { color: var(--navy-700); width: 18px; height: 18px; }
.pcard__more { margin-top: auto; padding-top: 6px; color: var(--navy-700); font-weight: 600; font-size: .85rem; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.pcard__more .ic { width: 14px; height: 14px; }
.phones td small { display: block; color: var(--muted); font-size: .78rem; }
.ccard h3 a { color: var(--navy-900); text-decoration: none; display: inline; font-size: inherit; }
.ccard h3 a:hover { color: var(--navy-700); text-decoration: underline; }
.sidebox.ccard h4, .sidebox.ccard .sidebox__h { margin: 0 0 4px; }
.boss { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 14px 18px; text-decoration: none; color: var(--ink); transition: border-color .2s; }
.boss:hover { border-color: var(--navy-700); color: var(--ink); }
.boss img, .boss__i { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.boss__i { display: grid; place-items: center; background: var(--navy-50); color: var(--navy-700); font-weight: 800; }
.boss small { display: block; color: #8a6410; font-weight: 600; font-size: .8rem; }
.boss b { font-size: 1.05rem; color: var(--navy-900); }
.boss > .ic { margin-left: auto; color: #b9bfcc; }
.filters .ic { width: 15px; height: 15px; }
/* празан блок у уређивачу */
.nk-hint { display: flex; gap: 14px; align-items: center; padding: 22px; border: 2px dashed var(--navy-100); border-radius: var(--radius); background: var(--navy-50); color: var(--ink-2); }
.nk-hint > .ic { width: 32px; height: 32px; color: var(--navy-700); flex: none; }
.nk-hint b { display: block; color: var(--navy-900); }
.nk-hint span { font-size: .9rem; }
.nk-video { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.nk-video iframe { width: 100%; height: 100%; border: 0; display: block; }
/* пријављени уредници: WordPress трака не прекрива мобилни мени */
body.admin-bar .drawer { top: var(--wp-admin--admin-bar--height, 0px); }

/* ---------- колачићи ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 95; max-width: 560px; margin-left: auto; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 18px 20px; display: grid; gap: 14px; font-size: .9rem; }
.consent[hidden] { display: none; }
.consent p { margin: 0; color: var(--muted); }
.consent p b { display: block; color: var(--navy-900); font-size: 1rem; margin-bottom: 4px; }
.consent a { color: var(--navy-700); }
.consent__btns { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.consent__btns .btn { min-width: 120px; justify-content: center; }
@media (max-width: 520px) { .consent { left: 8px; right: 8px; bottom: 8px; padding: 16px; } .consent__btns .btn { flex: 1; } }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: #aab4cc; cursor: pointer; }
.linkbtn:hover { color: #fff; text-decoration: underline; }
@media print { .consent { display: none !important; } }

/* златни наднаслов: тамнији на свијетлој позадини (контраст 4,5:1), класична златна на тамној */
.hero .eyebrow, .ecoc .eyebrow, .phero .eyebrow, [class*="--dark"] .eyebrow { color: var(--gold); }

/* пријављени уредник: заглавље и љепљиви панели испод WordPress траке (32 px, на ≤782 px 46 px);
   испод 600 px трака није фиксирана и одлази са скроловањем — тада заглавље остаје на врху */
body.admin-bar .hdr { top: var(--wp-admin--admin-bar--height, 32px); }
body.admin-bar .side, body.admin-bar .board, body.admin-bar .lib__side, body.admin-bar .person__img { top: calc(100px + var(--wp-admin--admin-bar--height, 32px)); }
@media (max-width: 600px) { body.admin-bar .hdr { top: 0; } }

.foot__credit { width: 100%; font-size: .72rem; letter-spacing: .04em; color: #a3adc4; margin-top: 4px; }
@media (min-width: 900px) { .foot__credit { width: auto; margin-top: 0; } }
.foot__credit a { color: inherit; text-decoration: none; } .foot__credit a:hover, .foot__credit a:focus-visible { color: #c9d2e6; text-decoration: underline; }
