/* ═══════════════════════════════════════════════════════════════
   Adventure Spirit Consulting - Baza znanja
   Dijeljeni stil za sve stranice bloga
═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --orange: #EF653F; --orange-d: #c14b28; --orange-l: #fff3ed;
  --dark: #0f1117; --dark2: #1a1e2e; --mid: #2d3348;
  --text: #e2e8f0; --text-muted: #94a3b8; --white: #ffffff;
  --line: rgba(255,255,255,.08);
}
/* overflow-x mora biti na html, ne na body: na body pretvara body u vlastiti
   spremnik za skrolanje, pa window.scrollTo ne pomice stranicu. */
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--dark); color: var(--text); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--orange); }
img { max-width: 100%; height: auto; }

/* ── Zaglavlje ────────────────────────────────────────────── */
#topwrap { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
.topbar {
  background: #080b12; border-bottom: 1px solid rgba(255,255,255,.05);
  height: 34px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; font-size: 11.5px; letter-spacing: .4px; color: var(--text-muted);
}
.tb-legal { text-transform: uppercase; font-weight: 600; letter-spacing: .9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-contact { display: flex; gap: 20px; flex-shrink: 0; align-items: center; }
.tb-contact a { color: var(--text-muted); text-decoration: none; transition: color .2s; display: inline-flex; align-items: center; gap: 6px; }
.tb-contact a:hover { color: var(--orange); }
.tb-contact svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }

nav {
  background: rgba(15,17,23,.95); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-name { font-size: 15px; font-weight: 800; color: var(--white); letter-spacing: -.3px; }
.nav-logo-name span { color: var(--orange); }
.nav-logo-sub { font-size: 10px; font-weight: 500; color: var(--text-muted); letter-spacing: .5px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 13.5px; font-weight: 500; padding: 6px 12px; border-radius: 6px; transition: color .2s, background .2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,.06); }
.nav-cta { background: var(--orange) !important; color: var(--white) !important; border-radius: 8px !important; padding: 8px 16px !important; font-weight: 600 !important; }
.nav-cta:hover { background: var(--orange-d) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--white); padding: 8px; }

/* ── Raspored ─────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 760px; margin: 0 auto; }
main { padding-top: 98px; }

/* ── Zaglavlje baze znanja ───────────────────────────────── */
.kb-hero { padding: 72px 0 48px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.kb-hero::before {
  content: ''; position: absolute; inset: 0; opacity: .04;
  background-image: radial-gradient(circle, rgba(239,101,63,.6) 1px, transparent 1px);
  background-size: 28px 28px;
}
.kb-hero .container { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--orange); border-radius: 2px; flex-shrink: 0; }
.kb-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; color: var(--white); line-height: 1.12; letter-spacing: -.5px; margin-bottom: 16px; max-width: 780px; }
.kb-hero p { font-size: 16px; color: var(--text-muted); line-height: 1.8; max-width: 660px; }

/* ── Filtar kategorija ───────────────────────────────────── */
.cat-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.cat-btn {
  font-family: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer;
  color: var(--text-muted); background: rgba(255,255,255,.04);
  border: 1px solid var(--line); border-radius: 8px; padding: 7px 14px; transition: .2s;
}
.cat-btn:hover { color: var(--white); border-color: rgba(239,101,63,.4); }
.cat-btn.active { color: var(--white); background: var(--orange); border-color: var(--orange); }

/* ── Popis clanaka ───────────────────────────────────────── */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px; padding: 48px 0 72px; }
.post-card {
  display: flex; flex-direction: column; text-decoration: none;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  border-radius: 16px; padding: 26px; transition: border-color .2s, transform .2s, background .2s;
}
.post-card:hover { border-color: rgba(239,101,63,.4); transform: translateY(-3px); background: rgba(255,255,255,.045); }
.post-card.hidden { display: none; }
.post-card.featured { grid-column: 1 / -1; border-color: rgba(239,101,63,.28); background: linear-gradient(135deg, rgba(239,101,63,.07), rgba(255,255,255,.02)); }
.post-card.featured .post-title { font-size: 27px; }
.post-card.featured .post-lead { font-size: 15.5px; }
.post-cat { font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.post-title { font-size: 19px; font-weight: 700; color: var(--white); line-height: 1.35; margin-bottom: 10px; }
.post-lead { font-size: 14px; color: var(--text-muted); line-height: 1.7; flex: 1; }
.post-meta { display: flex; gap: 14px; align-items: center; font-size: 11.5px; color: #6b7488; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.post-meta .read { margin-left: auto; }

/* ── Clanak ──────────────────────────────────────────────── */
.crumbs { font-size: 12px; color: #6b7488; padding: 28px 0 0; }
.crumbs a { color: #8b95ab; text-decoration: none; }
.crumbs a:hover { color: var(--orange); }
.crumbs span { margin: 0 7px; opacity: .5; }

.art-head { padding: 26px 0 36px; border-bottom: 1px solid var(--line); }
.art-head h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; color: var(--white); line-height: 1.15; letter-spacing: -.5px; margin-bottom: 18px; }
.art-lead { font-size: 17.5px; color: #b9c2d2; line-height: 1.75; }
.art-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; font-size: 12.5px; color: #6b7488; margin-top: 26px; }
.art-meta strong { color: var(--text-muted); font-weight: 600; }

article { padding: 44px 0 20px; }
article h2 { font-size: 25px; font-weight: 800; color: var(--white); line-height: 1.28; margin: 44px 0 16px; letter-spacing: -.3px; }
article h2:first-child { margin-top: 0; }
article h3 { font-size: 18.5px; font-weight: 700; color: var(--white); margin: 32px 0 12px; }
article p { font-size: 16.5px; line-height: 1.85; color: #c3ccdb; margin-bottom: 20px; }
article strong { color: var(--white); font-weight: 600; }
article ul, article ol { margin: 0 0 22px 0; padding-left: 22px; }
article li { font-size: 16.5px; line-height: 1.8; color: #c3ccdb; margin-bottom: 10px; }
article li::marker { color: var(--orange); }
article a { color: var(--orange); text-decoration: none; border-bottom: 1px solid rgba(239,101,63,.35); }
article a:hover { border-bottom-color: var(--orange); }
article hr { border: none; border-top: 1px solid var(--line); margin: 40px 0; }

/* Tablica */
.tbl-wrap { overflow-x: auto; margin: 0 0 26px; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
thead th { background: rgba(255,255,255,.04); color: var(--white); font-weight: 700; font-size: 11.5px; letter-spacing: .8px; text-transform: uppercase; text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
tbody td { padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.05); color: #c3ccdb; vertical-align: top; line-height: 1.6; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(255,255,255,.02); }
td.num { color: var(--orange); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Isticanja */
.callout { background: rgba(239,101,63,.07); border: 1px solid rgba(239,101,63,.22); border-left: 3px solid var(--orange); border-radius: 0 12px 12px 0; padding: 20px 24px; margin: 0 0 26px; }
.callout .c-label { font-size: 10.5px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.callout p { font-size: 15.5px; margin-bottom: 0; color: #cdd5e2; }
.callout p + p { margin-top: 12px; }

.note { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin: 0 0 26px; }
.note p { font-size: 14.5px; margin-bottom: 0; color: var(--text-muted); line-height: 1.75; }

.sources { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 24px; }
.sources h4 { font-size: 11px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.sources li { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; margin-bottom: 7px; }
.sources ul { padding-left: 20px; }

/* Poziv na akciju */
.art-cta { background: var(--dark2); border: 1px solid rgba(239,101,63,.2); border-radius: 18px; padding: 34px; margin: 48px 0 0; text-align: center; }
.art-cta h3 { font-size: 22px; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.art-cta p { font-size: 15px; color: var(--text-muted); margin-bottom: 22px; line-height: 1.75; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--orange); color: var(--white); text-decoration: none;
  font-size: 14.5px; font-weight: 600; padding: 13px 26px; border-radius: 10px;
  transition: background .2s, transform .2s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--orange-d); transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; color: var(--white); text-decoration: none;
  font-size: 14.5px; font-weight: 600; padding: 13px 26px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18); transition: .2s;
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Povezani clanci */
.related { padding: 56px 0 72px; border-top: 1px solid var(--line); margin-top: 56px; }
.related h3 { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--orange); margin-bottom: 22px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }

/* ── Podnozje ────────────────────────────────────────────── */
footer { background: #0a0d14; border-top: 1px solid var(--line); padding: 52px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.75; margin-top: 14px; max-width: 300px; }
.footer-legal { font-size: 11.5px; color: #626b7f; line-height: 1.8; margin-top: 14px; }
.footer-legal a { color: var(--orange); text-decoration: none; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13.5px; color: var(--text-muted); text-decoration: none; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: #626b7f; }
.footer-bottom a { color: #626b7f; text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* ── Responzivno ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .topbar { padding: 0 20px; justify-content: center; }
  .tb-legal { display: none; }
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed; top: 98px; left: 0; right: 0;
    background: #0f1117; padding: 16px; gap: 4px; border-bottom: 1px solid var(--line);
    z-index: 999; max-height: calc(100vh - 98px); overflow-y: auto;
  }
  .nav-links.open li a { padding: 12px 16px; font-size: 15px; border-radius: 8px; }
  .nav-links.open .nav-cta { text-align: center; margin-top: 8px; padding: 13px !important; }
  .container { padding: 0 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .topbar { font-size: 10.5px; height: 32px; }
  .tb-contact { gap: 14px; }
  .nav-links.open { top: 96px; max-height: calc(100vh - 96px); }
  .kb-hero { padding: 48px 0 36px; }
  .post-grid { grid-template-columns: 1fr; padding: 36px 0 56px; }
  .post-card { padding: 22px; }
  .post-card.featured .post-title { font-size: 22px; }
  article p, article li { font-size: 16px; }
  article h2 { font-size: 22px; }
  .art-lead { font-size: 16px; }
  .art-cta { padding: 26px 20px; }
  .cta-btns .btn-primary, .cta-btns .btn-outline { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 420px) {
  .container { padding: 0 14px; }
}

/* ═══════════════════════════════════════════════════════════════
   ALATI
═══════════════════════════════════════════════════════════════ */
.tool-intro { max-width: 720px; }
.tool-panel {
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  border-radius: 18px; padding: 30px; margin: 36px 0 0;
}
.tool-panel h2 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.tool-panel > p.hint { font-size: 13.5px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.7; }
.field { margin-bottom: 20px; }
.field > label { display: block; font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.field .sub { font-size: 12px; color: #6b7488; font-weight: 400; margin-top: 4px; line-height: 1.6; }
input[type="datetime-local"], input[type="date"] {
  font-family: inherit; font-size: 15px; color: var(--white);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; padding: 11px 14px; width: 100%; max-width: 320px;
  color-scheme: dark; transition: border-color .2s;
}
input[type="datetime-local"]:focus, input[type="date"]:focus { outline: none; border-color: var(--orange); }
.check { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 14px; cursor: pointer; }
.check input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--orange); flex-shrink: 0; cursor: pointer; }
.check span { font-size: 14px; color: #c3ccdb; line-height: 1.6; }
.check span em { font-style: normal; color: #6b7488; font-size: 12.5px; display: block; margin-top: 2px; }
.tool-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; font-family: inherit;
  background: transparent; color: var(--text-muted); border: 1px solid rgba(255,255,255,.16);
  font-size: 14px; font-weight: 600; padding: 12px 20px; border-radius: 10px; cursor: pointer; transition: .2s;
}
.btn-ghost:hover { color: var(--white); border-color: var(--orange); }
.btn-primary { border: none; cursor: pointer; font-family: inherit; }

/* Rezultat */
.tool-result { margin-top: 40px; }
.tool-result[hidden] { display: none; }
.result-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.result-head h2 { font-size: 21px; font-weight: 800; color: var(--white); }
.result-head span { font-size: 13px; color: var(--text-muted); }
.dl-list { display: flex; flex-direction: column; gap: 12px; }
.dl {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 18px; align-items: start;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  border-left: 3px solid var(--orange); border-radius: 0 14px 14px 0; padding: 18px 22px;
}
.dl.muted { border-left-color: #4c556b; opacity: .78; }
.dl-num { font-size: 20px; font-weight: 900; color: var(--orange); line-height: 1.2; font-variant-numeric: tabular-nums; }
.dl.muted .dl-num { color: #6b7488; }
.dl-title { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.dl-desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }
.dl-when { text-align: right; white-space: nowrap; }
.dl-date { font-size: 15px; font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; }
.dl-left { font-size: 12px; margin-top: 5px; font-weight: 600; }
.dl-left.ok { color: #6ec47a; }
.dl-left.soon { color: #e8b23a; }
.dl-left.over { color: #f87171; }
.dl-left.info { color: #6b7488; }

.tool-note { margin-top: 26px; }
.summary-box {
  margin-top: 22px; background: rgba(0,0,0,.28); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 20px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px; color: #b9c2d2; line-height: 1.8; white-space: pre-wrap; word-break: break-word;
}
.copied { font-size: 12.5px; color: #6ec47a; font-weight: 600; align-self: center; }

/* Kartice alata na hubu */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; padding: 44px 0 72px; }
.tool-card {
  display: flex; flex-direction: column; text-decoration: none;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  border-radius: 16px; padding: 26px; transition: border-color .2s, transform .2s;
}
.tool-card:hover { border-color: rgba(239,101,63,.4); transform: translateY(-3px); }
.tool-card.soon { opacity: .58; pointer-events: none; }
.tool-icon { width: 42px; height: 42px; border-radius: 11px; background: rgba(239,101,63,.1); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.tool-icon svg { width: 21px; height: 21px; stroke: var(--orange); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tool-name { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 9px; line-height: 1.35; }
.tool-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; flex: 1; }
.tool-tag { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--orange); background: rgba(239,101,63,.1); border: 1px solid rgba(239,101,63,.22); border-radius: 6px; padding: 4px 10px; margin-top: 18px; align-self: flex-start; }
.tool-tag.grey { color: #6b7488; background: rgba(255,255,255,.04); border-color: var(--line); }

@media (max-width: 600px) {
  .tool-panel { padding: 22px 18px; }
  .dl { grid-template-columns: 36px 1fr; gap: 12px; padding: 16px 16px; }
  .dl-when { grid-column: 2; text-align: left; margin-top: 8px; }
  .tool-actions .btn-primary, .tool-actions .btn-ghost { width: 100%; justify-content: center; }
  .tool-grid { grid-template-columns: 1fr; padding: 32px 0 56px; }
}

@media print {
  #topwrap, footer, .tool-actions, .tool-panel, .art-cta, .related { display: none !important; }
  body { background: #fff; color: #000; }
  .dl, .callout, .note { border-color: #ccc; background: #fff; }
  .dl-title, .dl-date, .result-head h2 { color: #000; }
  .dl-desc, .dl-left, .result-head span { color: #444; }
}
.tool-result { scroll-margin-top: 118px; }

/* Alat: provjera kategorizacije */
.form-select-tool {
  font-family: inherit; font-size: 15px; color: var(--white);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; padding: 11px 14px; width: 100%; max-width: 520px;
  color-scheme: dark; cursor: pointer; transition: border-color .2s;
}
.form-select-tool:focus { outline: none; border-color: var(--orange); }
.verdict { border-radius: 16px; padding: 26px 28px; border: 1px solid; margin-bottom: 30px; }
.verdict.k { background: rgba(239,101,63,.09); border-color: rgba(239,101,63,.4); }
.verdict.v { background: rgba(232,178,58,.08); border-color: rgba(232,178,58,.32); }
.verdict.o { background: rgba(255,255,255,.03); border-color: var(--line); }
.verdict-label { font-size: 27px; font-weight: 900; color: var(--white); letter-spacing: -.4px; margin-bottom: 14px; line-height: 1.15; }
.verdict.k .verdict-label { color: var(--orange); }
.verdict.v .verdict-label { color: #e8b23a; }
.verdict-why { list-style: none; padding: 0; margin: 0; }
.verdict-why li { font-size: 14.5px; color: #c3ccdb; line-height: 1.7; padding-left: 20px; position: relative; margin-bottom: 8px; }
.verdict-why li::before { content: '\203A'; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.verdict-why li:last-child { margin-bottom: 0; }
.res-sub { font-size: 12px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: var(--orange); margin: 0 0 16px; }
.next-list { list-style: none; padding: 0; margin: 0 0 30px; }
.next-list li { font-size: 14.5px; color: #c3ccdb; line-height: 1.7; padding: 12px 0 12px 30px; border-bottom: 1px solid rgba(255,255,255,.05); position: relative; }
.next-list li::before { content: ''; position: absolute; left: 8px; top: 20px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.next-list li:last-child { border-bottom: none; }
.auth-box { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin-bottom: 26px; }
.auth-box > div { font-size: 14.5px; color: var(--white); font-weight: 600; line-height: 1.55; }
.auth-k { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
@media (max-width: 600px) { .verdict { padding: 20px 18px; } .verdict-label { font-size: 22px; } }

/* Alat: mini samoprocjena */
.q-block { border-bottom: 1px solid var(--line); padding: 22px 0; }
.q-block:last-of-type { border-bottom: none; }
.q-head { display: flex; gap: 14px; align-items: baseline; margin-bottom: 6px; }
.q-num { font-size: 12px; font-weight: 800; color: var(--orange); font-variant-numeric: tabular-nums; flex-shrink: 0; letter-spacing: .5px; }
.q-title { font-size: 15.5px; font-weight: 700; color: var(--white); line-height: 1.45; }
.q-sub { font-size: 13px; color: #6b7488; line-height: 1.65; margin: 0 0 14px 26px; }
.q-opts { display: flex; flex-direction: column; gap: 7px; margin-left: 26px; }
.q-opt { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; padding: 7px 10px; border-radius: 8px; border: 1px solid transparent; transition: .15s; }
.q-opt:hover { background: rgba(255,255,255,.03); border-color: var(--line); }
.q-opt input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--orange); flex-shrink: 0; cursor: pointer; }
.q-opt span { font-size: 13.5px; color: #c3ccdb; line-height: 1.55; }
.q-opt input:checked ~ span { color: var(--white); font-weight: 600; }
.progress-bar { height: 4px; background: rgba(255,255,255,.07); border-radius: 3px; overflow: hidden; margin: 0 0 4px; }
.progress-bar i { display: block; height: 100%; background: var(--orange); width: 0; transition: width .3s; }
.progress-txt { font-size: 12px; color: #6b7488; margin-bottom: 22px; }

.score-top { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 18px; padding: 28px 30px; margin-bottom: 28px; }
.score-num { font-size: 58px; font-weight: 900; line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; }
.score-num small { font-size: 26px; }
.score-lbl { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #6b7488; margin-top: 8px; }
.score-txt { font-size: 15px; color: #c3ccdb; line-height: 1.75; }

.sa-chart-wrap { position: relative; padding-right: 52px; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 16px; padding: 26px 62px 22px 26px; margin-bottom: 28px; }
.sa-chart { display: grid; grid-template-columns: repeat(13, 1fr); gap: 6px; }
.sa-col { display: flex; flex-direction: column-reverse; gap: 4px; }
.sa-col .sa-lab { font-size: 9px; line-height: 13px; text-align: center; color: #5b6478; margin-top: 8px; font-variant-numeric: tabular-nums; }
.sa-cell { height: 15px; border-radius: 3px; background: rgba(255,255,255,.055); }
.sa-col.ok .sa-cell.on { background: var(--orange); }
.sa-col.low .sa-cell.on { background: #4c556b; }
.sa-thresh { position: absolute; left: 26px; right: 62px; bottom: 103px; border-top: 1px dashed rgba(255,255,255,.3); }
.sa-thresh span { position: absolute; left: calc(100% + 8px); top: -8px; white-space: nowrap; font-size: 9px; font-weight: 700; letter-spacing: .6px; color: #8b95ab; }

.gap-item { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-left: 3px solid #4c556b; border-radius: 0 12px 12px 0; padding: 16px 20px; margin-bottom: 10px; }
.gap-item.crit { border-left-color: var(--orange); }
.gap-h { display: flex; gap: 12px; align-items: baseline; margin-bottom: 6px; }
.gap-n { font-size: 12px; font-weight: 800; color: var(--orange); font-variant-numeric: tabular-nums; }
.gap-t { font-size: 14.5px; font-weight: 700; color: var(--white); line-height: 1.4; }
.gap-s { font-size: 11.5px; color: #6b7488; margin-left: auto; white-space: nowrap; font-weight: 600; }
.gap-d { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; margin-left: 24px; }

@media (max-width: 600px) {
  .score-top { grid-template-columns: 1fr; gap: 14px; padding: 22px 18px; text-align: center; }
  .sa-chart-wrap { padding: 20px 46px 18px 14px; }
  .sa-thresh { left: 14px; right: 46px; bottom: 90px; }
  .sa-cell { height: 12px; }
  .sa-col .sa-lab { font-size: 8px; }
  .q-sub, .q-opts { margin-left: 0; }
}

/* Zahtjev za izvjestajem */
.report-box { background: linear-gradient(135deg, rgba(239,101,63,.08), rgba(255,255,255,.02)); border: 1px solid rgba(239,101,63,.26); border-radius: 18px; padding: 30px; margin-top: 36px; }
.report-box h3 { font-size: 19px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.report-box > p { font-size: 14.5px; color: var(--text-muted); line-height: 1.75; margin-bottom: 22px; }
.report-row { display: flex; gap: 12px; flex-wrap: wrap; }
.report-row input[type="email"], .report-row input[type="text"] {
  flex: 1 1 220px; font-family: inherit; font-size: 15px; color: var(--white);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; padding: 12px 14px; transition: border-color .2s;
}
.report-row input:focus { outline: none; border-color: var(--orange); }
.report-row input::placeholder { color: #6b7488; }
.consent { display: flex; align-items: flex-start; gap: 11px; margin: 18px 0 4px; cursor: pointer; }
.consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--orange); flex-shrink: 0; cursor: pointer; }
.consent span { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.consent a { color: var(--orange); text-decoration: none; border-bottom: 1px solid rgba(239,101,63,.4); }
.report-legal { font-size: 12px; color: #6b7488; line-height: 1.7; margin-top: 14px; }
.report-msg { font-size: 14px; font-weight: 600; margin-top: 14px; }
.report-msg.ok { color: #6ec47a; }
.report-msg.bad { color: #f87171; }

/* Ispis izvjestaja */
.print-head { display: none; }
@media print {
  .print-head { display: block; border-bottom: 2px solid #EF653F; padding-bottom: 14px; margin-bottom: 26px; }
  .print-head .ph-name { font-size: 17px; font-weight: 800; color: #000; }
  .print-head .ph-meta { font-size: 11px; color: #555; margin-top: 4px; }
  .report-box, .art-head p, .crumbs, .progress-bar, .progress-txt, .q-block, .tool-panel > p.hint { display: none !important; }
  .sa-cell { background: #eee !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sa-col.ok .sa-cell.on { background: #EF653F !important; }
  .sa-col.low .sa-cell.on { background: #9aa1b0 !important; }
  .sa-chart-wrap, .score-top, .gap-item, .summary-box, .auth-box, .verdict { background: #fff !important; border-color: #ccc !important; }
  .score-num, .gap-n, .res-sub, .verdict-label { color: #EF653F !important; }
  .gap-t, .score-lbl, .art-head h1 { color: #000 !important; }
  .gap-d, .score-txt, .gap-s { color: #333 !important; }
  .summary-box { display: none !important; }
  a[href]::after { content: ""; }
}
.authority a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(239,101,63,.45); transition: color .2s; }
.authority a:hover { color: var(--orange); }

/* Kartice sektora kao poveznice */
a.sector-card { text-decoration: none; display: flex; flex-direction: column; }
.sector-more { font-size: 12px; font-weight: 700; color: var(--orange); margin-top: 14px; letter-spacing: .3px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; }
.chip-link { font-size: 13px; font-weight: 600; color: var(--text-muted); text-decoration: none;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 8px; padding: 9px 15px; transition: .2s; }
.chip-link:hover { color: #fff; border-color: rgba(239,101,63,.45); }

/* ── Stranica Sektori ─────────────────────────────────────── */
.sx-wrap { padding: 48px 0 76px; }
.sx-h { font-size: 21px; font-weight: 800; color: var(--white); letter-spacing: -.3px; margin-bottom: 6px; }
.sx-h:not(:first-child) { margin-top: 8px; }
.sx-sub { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 22px; max-width: 700px; }
.sx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-bottom: 44px; }
.sx-card {
  display: flex; flex-direction: column; text-decoration: none; position: relative; overflow: hidden;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  border-radius: 16px; padding: 22px 24px; transition: border-color .2s, transform .2s, background .2s;
}
.sx-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--orange); opacity: .55; transition: opacity .2s; }
.sx-card:hover { border-color: rgba(239,101,63,.42); transform: translateY(-3px); background: rgba(255,255,255,.05); }
.sx-card:hover::before { opacity: 1; }
.sx-top { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 14px; }
.sx-badge { font-size: 10px; font-weight: 800; letter-spacing: .9px; text-transform: uppercase; border-radius: 5px; padding: 4px 9px; }
.sx-badge.p1 { color: var(--orange); background: rgba(239,101,63,.12); border: 1px solid rgba(239,101,63,.28); }
.sx-badge.p2 { color: #e8b23a; background: rgba(232,178,58,.1); border: 1px solid rgba(232,178,58,.26); }
.sx-csirt { font-size: 10.5px; font-weight: 600; letter-spacing: .5px; color: #6b7488; margin-left: auto; }
.sx-name { font-size: 18.5px; font-weight: 700; color: var(--white); line-height: 1.3; margin-bottom: 9px; }
.sx-note { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .65px; line-height: 1.7; flex: 1; }
.sx-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: #6b7488; }
.sx-go { color: var(--orange); font-weight: 700; }
@media (max-width: 600px) {
  .sx-wrap { padding: 34px 0 56px; }
  .sx-grid { grid-template-columns: 1fr; gap: 12px; }
  .sx-card { padding: 20px; }
  .sx-h { font-size: 19px; }
}

a.ref-chip { text-decoration: none; }
a.ref-chip:hover { border-color: rgba(239,101,63,.45); color: var(--white); }
.ref-past { opacity: .6; }
.ref-chip[title] { cursor: help; }

/* Mjere koje usluga pokriva */
.mj-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.mj-chip { display: inline-flex; align-items: baseline; gap: 8px; font-size: 12.5px; color: var(--text-muted);
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 8px; padding: 8px 13px; line-height: 1.4; }
.mj-chip b { font-size: 11px; font-weight: 800; color: var(--orange); font-variant-numeric: tabular-nums; }

/* Isporucevine na stranicama usluga */
.deliver-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-bottom: 26px; }
.deliver-item { display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,.03);
  border: 1px solid var(--line); border-left: 2px solid var(--orange); border-radius: 0 10px 10px 0;
  padding: 15px 18px; font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.deliver-item svg { width: 15px; height: 15px; min-width: 15px; stroke: var(--orange); fill: none;
  stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 4px; }

/* Redak s precacima (alati, navigacija) */
.nf-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.nf-nav a { font-size: 13px; font-weight: 600; color: var(--text-muted); text-decoration: none; border-bottom: none;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 8px; padding: 9px 15px; transition: .2s; }
.nf-nav a:hover { color: #fff; border-color: rgba(239,101,63,.45); }
article .nf-nav a { border-bottom: 1px solid var(--line); }
article .nf-nav a:hover { border-color: rgba(239,101,63,.45); }

/* ── Referentna stranica 13 mjera ─────────────────────────── */
.mjera-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.mjera-nav a { font-size: 12px; font-weight: 800; color: var(--text-muted); text-decoration: none;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 7px;
  padding: 7px 11px; font-variant-numeric: tabular-nums; transition: .2s; }
.mjera-nav a:hover { color: #fff; background: var(--orange); border-color: var(--orange); }
.mjere-wrap { padding: 46px 0 20px; }
.mjera { border-bottom: 1px solid var(--line); padding: 30px 0; scroll-margin-top: 120px; }
.mjera:first-child { padding-top: 0; }
.mjera:last-child { border-bottom: none; }
.mjera-h { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.mjera-n { font-size: 22px; font-weight: 900; color: var(--orange); font-variant-numeric: tabular-nums; line-height: 1; }
.mjera-h h2 { font-size: 20px; font-weight: 700; color: var(--white); line-height: 1.3; margin: 0; flex: 1 1 260px; }
.mjera-pod { font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  color: var(--text-muted); background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-radius: 6px; padding: 4px 10px; white-space: nowrap; }
.mjera-cilj { font-size: 15px; color: #c3ccdb; line-height: 1.75; margin: 0 0 20px; }
.mjera-cilj b { color: var(--orange); font-size: 10.5px; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; display: block; margin-bottom: 5px; }
.mjera-body { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; }
.mjera-lbl { font-size: 10.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px; }
.mjera-list { list-style: none; padding: 0; margin: 0; }
.mjera-list li { font-size: 14px; color: var(--text-muted); line-height: 1.65; padding-left: 18px;
  position: relative; margin-bottom: 7px; }
.mjera-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--orange); }
@media (max-width: 700px) { .mjera-body { grid-template-columns: 1fr; gap: 20px; } .mjera-h h2 { font-size: 18px; } }

/* ── Predavanja ───────────────────────────────────────────── */
.pred-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.pred-item { background: rgba(255,255,255,.03); border: 1px solid var(--line);
  border-left: 2px solid #4c556b; border-radius: 0 12px 12px 0; padding: 16px 20px; }
.pred-item.main { border-left-color: var(--orange); background: rgba(239,101,63,.06); }
.pred-top { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 5px; }
.pred-org { font-size: 15.5px; font-weight: 700; color: var(--white); }
.pred-when { font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  color: var(--orange); margin-left: auto; white-space: nowrap; }
.pred-what { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }
.cred-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; }
.cred-list li { background: rgba(255,255,255,.03); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 18px; font-size: 14px; }
.cred-list li strong { display: block; color: var(--white); font-weight: 600; margin-bottom: 2px; }
.cred-list li span { color: var(--text-muted); font-size: 13px; }
@media (max-width: 600px) { .pred-when { margin-left: 0; } }

/* ── Referentna stranica propisa ──────────────────────────── */
.prop-wrap { padding: 44px 0 24px; display: flex; flex-direction: column; gap: 16px; }
.prop { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px; }
.prop-h { margin-bottom: 20px; }
.prop-ozn { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: var(--orange); background: rgba(239,101,63,.1); border: 1px solid rgba(239,101,63,.26);
  border-radius: 5px; padding: 4px 9px; margin-bottom: 10px; }
.prop-h h2 { font-size: 21px; font-weight: 800; color: var(--white); line-height: 1.25; margin: 0 0 4px; }
.prop-sub { font-size: 13px; color: var(--text-muted); }
.prop-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }
.prop-kazna { font-size: 14px; color: #c3ccdb; line-height: 1.7; margin: 0; }
.prop-kazna b { color: var(--orange); font-weight: 700; }
.prop-nadzor { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; margin: 0; }
@media (max-width: 700px) { .prop-body { grid-template-columns: 1fr; gap: 22px; } .prop { padding: 22px 20px; } .prop-h h2 { font-size: 19px; } }

/* ── Pretraga po bazi znanja ──────────────────────────────── */
.kb-search { position: relative; margin-top: 26px; max-width: 520px; }
.kb-search input {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--white);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; padding: 13px 44px 13px 44px; transition: border-color .2s;
}
.kb-search input:focus { outline: none; border-color: var(--orange); }
.kb-search input::placeholder { color: #6b7488; }
.kb-search .ic { position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; stroke: #6b7488; fill: none; stroke-width: 2; pointer-events: none; }
.kb-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #6b7488; font-size: 20px; line-height: 1;
  cursor: pointer; padding: 6px 10px; border-radius: 6px; }
.kb-clear:hover { color: var(--white); }
.kb-count { font-size: 12.5px; color: #6b7488; margin-top: 10px; min-height: 18px; }
.kb-count b { color: var(--orange); font-weight: 700; }
mark { background: rgba(239,101,63,.28); color: #fff; border-radius: 3px; padding: 0 2px; }
.kb-none { text-align: center; padding: 56px 20px; }
.kb-none p { font-size: 15px; color: var(--text-muted); line-height: 1.75; }
.kb-none b { color: var(--white); }

/* ── Prijava na obavijesti ────────────────────────────────── */
.nl { background: linear-gradient(135deg, rgba(239,101,63,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(239,101,63,.22); border-radius: 16px; padding: 26px 28px; margin-bottom: 40px; }
.nl h4 { font-size: 16.5px; font-weight: 800; color: var(--white); margin-bottom: 6px; letter-spacing: -.2px; }
.nl > p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; max-width: 560px; }
.nl-row { display: flex; gap: 10px; flex-wrap: wrap; }
.nl-row input[type="email"] { flex: 1 1 240px; font-family: inherit; font-size: 14.5px; color: var(--white);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 9px;
  padding: 11px 14px; transition: border-color .2s; }
.nl-row input:focus { outline: none; border-color: var(--orange); }
.nl-row input::placeholder { color: #6b7488; }
.nl-row button { font-family: inherit; font-size: 14px; font-weight: 700; color: #fff; background: var(--orange);
  border: none; border-radius: 9px; padding: 11px 22px; cursor: pointer; white-space: nowrap; transition: background .2s; }
.nl-row button:hover { background: var(--orange-d); }
.nl-row button:disabled { opacity: .6; cursor: default; }
.nl-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; cursor: pointer; }
.nl-consent input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--orange); flex-shrink: 0; cursor: pointer; }
.nl-consent span { font-size: 12.5px; color: var(--text-muted); line-height: 1.65; }
.nl-consent a { color: var(--orange); text-decoration: none; border-bottom: 1px solid rgba(239,101,63,.4); }
.nl-msg { font-size: 13.5px; font-weight: 600; margin-top: 12px; }
.nl-msg.ok { color: #6ec47a; }
.nl-msg.bad { color: #f87171; }
.nl-fine { font-size: 11.5px; color: #626b7f; line-height: 1.7; margin-top: 12px; }
@media (max-width: 600px) { .nl { padding: 22px 18px; } .nl-row button { width: 100%; } }

/* ── Kontakt stranica ───────────────────────────────────────── */
.kon-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 12px; margin: 0 0 30px;
}
.kon-item {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  background: var(--dark2); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; transition: border-color .2s, transform .2s;
}
.kon-item:not(.static):hover { border-color: var(--orange); transform: translateY(-2px); }
.kon-item.static { cursor: default; }
.kon-ic {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(239,101,63,.12);
}
.kon-ic svg {
  width: 19px; height: 19px; fill: none; stroke: var(--orange);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.kon-item span:last-child {
  display: flex; flex-direction: column; gap: 2px;
  font-size: 14.5px; font-weight: 600; color: var(--white); word-break: break-word;
}
.kon-item b {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--text-muted);
}
.kon-textarea {
  width: 100%; min-height: 128px; resize: vertical; font-family: inherit;
  font-size: 15px; line-height: 1.65; color: var(--white);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; padding: 12px 14px; transition: border-color .2s;
}
.kon-textarea:focus { outline: none; border-color: var(--orange); }
.kon-textarea::placeholder { color: #6b7488; }

/* ── Preklopnik jezika u zaglavlju ──────────────────────────────
   Ova pravila postoje i u index.html, ali ondje su u ugradenom
   <style> bloku pa ih generirane stranice ne vide. Bez njih se
   HR/EN prikazuje kao dva gola linka.                            */
.lang-switch {
  display: flex; align-items: center; gap: 2px; margin-left: 6px;
  padding-left: 10px; border-left: 1px solid rgba(255,255,255,.12);
}
.lang-switch a, .lang-switch span {
  font-size: 12px; font-weight: 700; letter-spacing: .5px;
  padding: 5px 8px; border-radius: 6px;
}
.lang-switch span { color: var(--white); background: rgba(255,255,255,.08); }
.lang-switch a { color: var(--text-muted); text-decoration: none; }
.lang-switch a:hover { color: var(--orange); background: rgba(239,101,63,.1); }
@media (max-width: 960px) {
  .nav-links.open .lang-switch {
    border-left: none; padding-left: 0; margin: 8px 0 0;
    justify-content: center; gap: 8px;
  }
  .nav-links.open .lang-switch a, .nav-links.open .lang-switch span {
    padding: 10px 20px; font-size: 14px;
  }
}

/* Vizualno skrivena oznaka: nevidljiva na zaslonu, ali je citaci
   zaslona izgovaraju. Placeholder sam po sebi nije oznaka - nestaje
   cim korisnik pocne tipkati i ne izgovara se pouzdano. */
.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; border: 0; overflow: hidden; white-space: nowrap;
  clip: rect(0 0 0 0); clip-path: inset(50%);
}
