/* ==========================================================================
   Simple Look – Knjaževačke novine · dizajn sistem (tema)
   Beo prostor · tanke linije · jaka tipografija · velike fotografije · plava
   ========================================================================== */

:root {
  --navy: #0a1f4d;
  --navy-2: #0f2c6b;
  --blue: #1450c8;
  --blue-2: #2f6ff0;
  --blue-soft: #eaf1ff;
  --red: #e0262f;

  --bg: #ffffff;
  --bg-2: #f3f5f9;
  --ink: #0b1220;
  --ink-2: #374256;
  --muted: #6b7486;
  --line: #e3e7ee;
  --line-2: #c9d1de;

  --f-head: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --f-ui: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --f-read: "Source Serif 4", Georgia, "Times New Roman", serif;

  --r: 2px;
  --wrap: 1240px;
  --gut: 16px;
  --gap: 24px;
}
@media (min-width: 768px) { :root { --gut: 24px; --gap: 24px; } }

:root[data-theme="dark"] {
  --bg: #0b1020;
  --bg-2: #121a2e;
  --ink: #edf1f8;
  --ink-2: #bcc5d6;
  --muted: #8a94a8;
  --line: #222c44;
  --line-2: #33405e;
  --blue: #4d8dff;
  --blue-2: #79a8ff;
  --blue-soft: #14213f;
}

/* ---------- Osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--f-ui); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); margin: 0; font-weight: 800; letter-spacing: -.018em; line-height: 1.12; }
p { margin: 0; }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 6px; z-index: 999; background: var(--blue); color: #fff; padding: 10px 14px; }
.skip:focus { left: 6px; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- Gornja traka ---------- */
.topbar { border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); background: var(--bg); }
.topbar .wrap { display: flex; align-items: center; gap: 20px; height: 34px; }
.topbar .tb { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar .tb .i { width: 14px; height: 14px; color: var(--blue); }
.topbar b { font-weight: 700; color: var(--ink); }
.topbar .tb-r { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.topbar .tb-r a:hover, .topbar a.tb:hover { color: var(--blue); }
.topbar .soc { display: flex; gap: 2px; }
.topbar .soc a { width: 26px; height: 26px; display: grid; place-items: center; color: var(--muted); }
.topbar .soc a:hover { color: var(--blue); }
.topbar .soc .i { width: 14px; height: 14px; }
.hide-sm { display: none !important; }
@media (min-width: 768px) { .hide-sm { display: inline-flex !important; } }

/* ---------- Glava (masthead) ---------- */
.masthead { background: var(--navy); color: #fff; position: relative; z-index: 61; }
.masthead .wrap { display: flex; align-items: center; height: 64px; gap: 16px; }
@media (min-width: 1024px) { .masthead .wrap { height: 78px; } }
.logo { display: inline-flex; align-items: baseline; line-height: 1; white-space: nowrap; color: #fff; }
.logo .a { font: 900 26px/1 var(--f-head); letter-spacing: -.035em; }
.logo .b { font: italic 400 17px/1 var(--f-read); margin-left: 5px; color: #9fc0ff; letter-spacing: 0; }
.logo .dot { width: 7px; height: 7px; background: var(--blue-2); margin-left: 3px; }
@media (min-width: 1024px) { .logo .a { font-size: 34px; } .logo .b { font-size: 21px; } }
.m-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.m-btn { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; border-radius: var(--r); }
.m-btn:hover { background: rgba(255,255,255,.1); }
.m-btn .i { width: 20px; height: 20px; }
.btn-live { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; margin-right: 6px; background: #fff; color: var(--navy); font: 800 12.5px/1 var(--f-ui); text-transform: uppercase; letter-spacing: .06em; border-radius: var(--r); white-space: nowrap; }
.btn-live:hover { background: var(--blue-soft); }
.btn-live .lv-l { display: none; }
@media (min-width: 640px) { .btn-live .lv-l { display: inline; } .btn-live .lv-s { display: none; } }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
@media (max-width: 559px) { .m-actions .btn-live { display: none; } .masthead .wrap { height: 56px; } }

/* ---------- Navigacija ---------- */
.nav { background: var(--bg); border-bottom: 1px solid var(--line); z-index: 60; transition: box-shadow .2s; }
.nav.is-sticky { position: sticky; top: 0; }
.admin-bar .nav.is-sticky { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav.is-sticky { top: 0; } }
.nav.stuck { box-shadow: 0 6px 18px -12px rgba(7, 20, 50, .45); }
.nav .wrap { display: flex; align-items: stretch; height: 48px; }
.nav-links { flex: 1; min-width: 0; display: flex; align-items: stretch; gap: 2px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.nav-links::-webkit-scrollbar { display: none; }
.nav-tools { flex: none; display: flex; align-items: center; gap: 2px; margin-left: 6px; padding-left: 6px; border-left: 1px solid var(--line); }
.n-btn { width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink); border-radius: var(--r); transition: color .15s, background .15s; }
.n-btn:hover { color: var(--blue); background: var(--bg-2); }
.n-btn .i { width: 20px; height: 20px; }
@media (max-width: 380px) { .nav-tools [data-theme-toggle] { display: none; } }
.nav a { position: relative; flex: none; display: flex; align-items: center; padding: 0 12px; font: 700 13.5px/1 var(--f-ui); text-transform: uppercase; letter-spacing: .04em; color: var(--ink); }
.nav a:first-child { padding-left: 0; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; background: var(--blue); transform: scaleX(0); transition: transform .2s; }
.nav a:first-child::after { left: 0; }
.nav a:hover, .nav a.active { color: var(--blue); }
.nav a.active::after, .nav a:hover::after { transform: none; }
.nav .sp { margin-left: auto; }
.nav .nav-svc { color: var(--ink-2); font-weight: 600; text-transform: none; letter-spacing: 0; gap: 6px; }
.nav .nav-svc .i { width: 15px; height: 15px; color: var(--blue); }

/* ---------- Najnovije (ticker) ---------- */
.ticker { border-bottom: 1px solid var(--line); background: var(--bg); }
.ticker .wrap { display: flex; align-items: center; height: 40px; gap: 14px; }
.ticker .tk-l { flex: none; background: var(--blue); color: #fff; font: 800 11px/1 var(--f-ui); text-transform: uppercase; letter-spacing: .08em; padding: 6px 9px; }
.tk-view { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.tk-track { display: flex; gap: 36px; width: max-content; animation: tick 80s linear infinite; }
.ticker:hover .tk-track { animation-play-state: paused; }
.tk-track a { font-size: 13.5px; font-weight: 500; white-space: nowrap; color: var(--ink); }
.tk-track a time { color: var(--blue); font-weight: 700; margin-right: 8px; }
.tk-track a:hover { color: var(--blue); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Tipografija priča ---------- */
.kicker { display: inline-block; font: 800 11.5px/1 var(--f-ui); text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: 8px; }
.kicker.red { color: var(--red); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.meta .i { width: 13px; height: 13px; }
.dek { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; margin-top: 8px; }

/* Slike */
.img { position: relative; display: block; overflow: hidden; background: var(--bg-2); }
.img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.story:hover .img img { transform: scale(1.035); }
.r169 { aspect-ratio: 16/9; } .r32 { aspect-ratio: 3/2; } .r43 { aspect-ratio: 4/3; } .r11 { aspect-ratio: 1; } .r45 { aspect-ratio: 4/5; }
.img .tag { position: absolute; left: 0; bottom: 0; background: var(--blue); color: #fff; font: 800 11px/1 var(--f-ui); text-transform: uppercase; letter-spacing: .07em; padding: 7px 9px; z-index: 1; }
.img .tag.red { background: var(--red); }

/* Priča (osnovna kartica) */
.story { display: block; }
.story h2, .story h3, .story h4 { transition: color .15s; }
.story:hover h2, .story:hover h3, .story:hover h4 { color: var(--blue); }
.story .body { margin-top: 12px; }
.story h3 { font-size: 19px; }
.story h4 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }

.story.lead h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; letter-spacing: -.028em; line-height: 1.06; text-wrap: balance; }
.story.lead .body { margin-top: 16px; }
.story.lead .dek { font: 400 18px/1.5 var(--f-read); margin-top: 12px; }
.story.big h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; letter-spacing: -.022em; }

.story.row { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: start; }
.story.row .body { margin-top: 0; }
.story.row h3 { font-size: 17px; }
.story.row .dek { display: none; }
@media (min-width: 640px) {
  .story.row { grid-template-columns: 300px 1fr; gap: 24px; }
  .story.row h3 { font-size: 23px; }
  .story.row .dek { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
.story.thumb { display: grid; grid-template-columns: 1fr 104px; gap: 14px; align-items: start; }
.story.thumb .body { margin-top: 0; order: -1; }
.story.thumb .img { aspect-ratio: 4/3; }
.story.thumb .meta { margin-top: 6px; }

.list > * { padding: 16px 0; border-top: 1px solid var(--line); }
.list > *:first-child { border-top: 0; padding-top: 0; }
.list.tight > * { padding: 12px 0; }
.list.tight > *:first-child { padding-top: 0; }

/* ---------- Sekcije ---------- */
.section { padding: 32px 0 4px; }
.sec-head { display: flex; align-items: flex-end; gap: 18px; border-top: 3px solid var(--ink); padding-top: 12px; margin-bottom: 22px; }
.sec-head h2 { font-size: 22px; font-weight: 900; text-transform: uppercase; letter-spacing: -.005em; }
.sec-head h2 a:hover { color: var(--blue); }
.sec-head .subs { display: none; gap: 18px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-left: 8px; padding-bottom: 2px; }
.sec-head .subs a:hover { color: var(--blue); }
@media (min-width: 900px) { .sec-head .subs { display: flex; } }
.sec-head .more { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--blue); white-space: nowrap; padding-bottom: 2px; }
.sec-head .more .i { width: 15px; height: 15px; }

.cols { display: grid; gap: 40px var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) {
  .cols.main-side { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
  .cols.side-rule > aside { border-left: 1px solid var(--line); padding-left: 24px; margin-left: -9px; }
}
.g2, .g3, .g4 { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } }
.g-rule > * { position: relative; }
@media (min-width: 1024px) { .g-rule > * + *::before { content: ""; position: absolute; left: calc(var(--gap) / -2); top: 0; bottom: 0; width: 1px; background: var(--line); } }

/* ---------- Naslovna: hero ---------- */
.hero { padding-top: 26px; }
.hero-grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
.hero-side { display: grid; gap: var(--gap); align-content: start; }
@media (min-width: 640px) { .hero-side { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
  .hero-side { grid-template-columns: 1fr; border-left: 1px solid var(--line); padding-left: 24px; margin-left: -4px; }
  .hero-side > * + * { border-top: 1px solid var(--line); padding-top: var(--gap); }
}
.hero-row { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }

/* Najnovije — vremenska linija */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 50px 1fr; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: 0; padding-top: 0; }
.timeline time { font: 800 13px/1.35 var(--f-ui); color: var(--blue); }
.timeline time small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
.timeline a { font-weight: 600; font-size: 15px; line-height: 1.35; }
.timeline a:hover { color: var(--blue); }

/* ---------- Bočna kolona ---------- */
.aside > * + * { margin-top: 28px; }
.w-head { display: flex; align-items: center; justify-content: space-between; border-top: 3px solid var(--ink); padding-top: 10px; margin-bottom: 14px; }
.w-head h3 { font-size: 15px; font-weight: 900; text-transform: uppercase; letter-spacing: .01em; }
.w-head a { font-size: 12.5px; font-weight: 700; color: var(--blue); }

.ranked { list-style: none; padding: 0; margin: 0; counter-reset: r; }
.ranked li { counter-increment: r; display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.ranked li:first-child { border-top: 0; padding-top: 2px; }
.ranked li::before { content: counter(r); font: 900 30px/.9 var(--f-head); color: var(--blue); letter-spacing: -.04em; }
.ranked a { font-weight: 700; font-size: 15px; line-height: 1.32; letter-spacing: -.005em; }
.ranked a:hover { color: var(--blue); }
.ranked .meta { margin-top: 4px; }

.tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 14px; border-top: 3px solid var(--ink); padding-top: 10px; }
.tabs button { position: relative; padding: 0 0 10px; margin-right: 20px; font: 900 14px/1 var(--f-ui); text-transform: uppercase; letter-spacing: .01em; color: var(--muted); }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--blue); }
.tab-panel[hidden] { display: none; }

/* Radio widget */
.radio-w { background: var(--navy); color: #fff; padding: 20px; position: relative; overflow: hidden; }
.radio-w::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 22px solid rgba(255,255,255,.05); }
.radio-w .rw-k { display: flex; align-items: center; gap: 8px; font: 800 11px/1 var(--f-ui); text-transform: uppercase; letter-spacing: .1em; color: #9fc0ff; }
.radio-w h3 { font-size: 24px; font-weight: 900; margin: 10px 0 4px; letter-spacing: -.025em; }
.radio-w p { color: #b9c8e6; font-size: 13.5px; }
.radio-w .rw-row { display: flex; align-items: center; gap: 14px; margin-top: 16px; position: relative; z-index: 1; }
.play-btn { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; flex: none; transition: transform .15s; }
.play-btn:hover { transform: scale(1.05); }
.play-btn .i { width: 20px; height: 20px; }
.i-pause { display: none; }
.is-playing .i-play { display: none; }
.is-playing .i-pause { display: block; }
.radio-w .now { font-size: 12.5px; color: #b9c8e6; }
.radio-w .now b { display: block; color: #fff; font-size: 14px; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; margin-left: auto; }
.eq span { width: 3px; height: 4px; background: #79a8ff; }
.is-playing .eq span { animation: eq 1s ease-in-out infinite; }
.eq span:nth-child(2) { animation-delay: .25s !important; } .eq span:nth-child(3) { animation-delay: .5s !important; } .eq span:nth-child(4) { animation-delay: .15s !important; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }

/* Vreme */
.weather .w-now { display: flex; align-items: center; gap: 14px; }
.weather .w-ico { width: 48px; height: 48px; color: var(--blue); stroke-width: 1.5; }
.weather .w-t { font: 900 46px/1 var(--f-head); letter-spacing: -.04em; }
.weather .w-d { font-size: 13.5px; color: var(--ink-2); }
.weather .w-days { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 14px; border-top: 1px solid var(--line); }
.weather .w-days div { text-align: center; padding: 10px 0 0; font-size: 12px; color: var(--muted); }
.weather .w-days .i { width: 20px; height: 20px; margin: 6px auto; color: var(--ink-2); }
.weather .w-days b { display: block; color: var(--ink); font-size: 14px; }

/* Kursna lista */
.fx { width: 100%; border-collapse: collapse; font-size: 14px; }
.fx td { padding: 9px 0; border-top: 1px solid var(--line); }
.fx tr:first-child td { border-top: 0; }
.fx td:first-child { font-weight: 700; }
.fx td:first-child small { font-weight: 400; color: var(--muted); margin-left: 6px; }
.fx td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.fx .up { color: #138a4a; font-size: 10px; margin-left: 4px; } .fx .dn { color: var(--red); font-size: 10px; margin-left: 4px; }
.src { font-size: 11.5px; color: var(--muted); margin-top: 8px; }

/* Reklama */
.ad { display: grid; place-items: center; background: var(--bg-2); color: var(--muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; position: relative; }
.ad::before { content: "Reklama"; position: absolute; top: -16px; left: 0; font-size: 10px; letter-spacing: .1em; }
.ad.lb { height: 90px; max-width: 970px; margin: 40px auto 0; }
.ad.mr { height: 250px; }
.aside .ad.mr { margin-top: 50px; }
@media (max-width: 767px) { .ad.lb { height: 100px; max-width: 320px; } }

/* Newsletter, forme, dugmad */
.nl { border: 1px solid var(--line); padding: 20px; background: var(--bg-2); }
.nl h3 { font-size: 19px; font-weight: 900; }
.nl p { font-size: 14px; color: var(--ink-2); margin: 6px 0 14px; }
.nl form { display: grid; gap: 8px; }
.field { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); }
.field:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
textarea.field { height: auto; min-height: 140px; padding: 10px 12px; resize: vertical; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; background: var(--blue); color: #fff; border-radius: var(--r); font: 700 13.5px/1 var(--f-ui); text-transform: uppercase; letter-spacing: .05em; transition: background .15s; }
.btn:hover { background: var(--navy-2); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.white { background: #fff; color: var(--navy); }
.btn .i { width: 16px; height: 16px; }
.form-msg { color: #138a4a; font-weight: 600; font-size: 14px; }
.more-row { display: flex; justify-content: center; margin-top: 26px; }

/* ---------- Velika fotografija: Stara planina ---------- */
.feature { margin-top: 48px; }
.feature-hero { position: relative; color: #fff; min-height: 480px; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.feature-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.feature-hero:hover > img { transform: scale(1.025); }
.feature-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,31,77,.9) 0%, rgba(10,31,77,.55) 42%, rgba(10,31,77,0) 75%), linear-gradient(0deg, rgba(10,31,77,.55), transparent 50%); }
.feature-hero .wrap { padding-top: 60px; padding-bottom: 46px; }
.feature-hero .kicker { color: #9fc0ff; }
.feature-hero h2 { font-size: clamp(40px, 6.4vw, 84px); font-weight: 900; letter-spacing: -.045em; line-height: .95; max-width: 9ch; }
.feature-hero p { font: 400 clamp(16px, 1.5vw, 19px)/1.5 var(--f-read); color: #dbe5f8; max-width: 44ch; margin-top: 16px; }
.feature-hero .facts { display: flex; flex-wrap: wrap; margin-top: 26px; border-top: 1px solid rgba(255,255,255,.28); max-width: 500px; }
.feature-hero .facts div { padding: 14px 30px 0 0; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #b9c8e6; }
.feature-hero .facts b { display: block; font: 900 26px/1.1 var(--f-head); color: #fff; letter-spacing: -.03em; text-transform: none; margin-bottom: 2px; }
.feature-hero .credit { position: absolute; right: var(--gut); bottom: 12px; font-size: 11px; color: rgba(255,255,255,.65); }
@media (min-width: 1024px) { .feature-hero { min-height: 620px; } }
.feature .g3 { margin-top: 28px; }

/* ---------- Video traka (tamna) ---------- */
.dark { background: var(--navy); color: #fff; padding: 40px 0 46px; margin-top: 48px; }
.dark .sec-head { border-top-color: #fff; }
.dark .sec-head .more { color: #9fc0ff; }
.dark .meta { color: #95a6c9; }
.dark .story:hover h3, .dark .story:hover h4 { color: #9fc0ff; }
.dark .img { background: var(--navy-2); }
.v-grid { display: grid; gap: var(--gap); }
@media (min-width: 1024px) { .v-grid { grid-template-columns: 1.65fr 1fr; gap: 32px; } }
.v-grid .story.big h3 { font-size: clamp(22px, 2.4vw, 32px); font-weight: 900; }
.v-list { display: grid; gap: 18px; align-content: start; }
.v-list .story { display: grid; grid-template-columns: 150px 1fr; gap: 14px; }
.v-list .story .body { margin-top: 0; }
.play-ov { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; }
.play-ov span { width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--navy); display: grid; place-items: center; transition: transform .2s; box-shadow: 0 6px 24px rgba(0,0,0,.3); }
.play-ov .i { width: 24px; height: 24px; margin-left: 3px; }
.story:hover .play-ov span { transform: scale(1.08); }
.v-list .play-ov span { width: 34px; height: 34px; }
.v-list .play-ov .i { width: 13px; height: 13px; margin-left: 2px; }
.dur { position: absolute; right: 0; bottom: 0; background: rgba(0,0,0,.82); color: #fff; font: 700 11.5px/1 var(--f-ui); padding: 5px 7px; z-index: 1; }

/* Galerija — karusel */
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
@media (min-width: 640px) { .carousel-track { grid-auto-columns: calc((100% - 32px) / 3); } }
@media (min-width: 1024px) { .carousel-track { grid-auto-columns: calc((100% - 48px) / 4); } }
.car-btns { margin-left: auto; display: flex; gap: 6px; }
.car-btn { width: 34px; height: 34px; border: 1px solid var(--line-2); display: grid; place-items: center; border-radius: var(--r); }
.car-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.car-btn .i { width: 16px; height: 16px; }
.count { position: absolute; right: 0; top: 0; z-index: 1; display: inline-flex; align-items: center; gap: 5px; background: rgba(10,31,77,.88); color: #fff; font: 700 11.5px/1 var(--f-ui); padding: 6px 8px; }
.count .i { width: 13px; height: 13px; }

/* Vremeplov */
.vremeplov .img img { filter: sepia(.3) saturate(.85); }
.vremeplov h3 { font-family: var(--f-read); font-weight: 600; letter-spacing: -.01em; }

/* Sela */
.villages { display: grid; gap: 24px; }
@media (min-width: 900px) { .villages { grid-template-columns: 300px 1fr; gap: 44px; } }
.villages .intro h3 { font-size: 30px; font-weight: 900; letter-spacing: -.03em; }
.villages .intro p { color: var(--ink-2); font: 400 16px/1.5 var(--f-read); margin-top: 8px; }
.v-links { columns: 2; column-gap: 24px; font-size: 14.5px; }
@media (min-width: 640px) { .v-links { columns: 4; } }
.v-links a { display: block; padding: 7px 0; border-bottom: 1px solid var(--line); break-inside: avoid; font-weight: 500; }
.v-links a:hover { color: var(--blue); }
.v-links a.all { font-weight: 800; color: var(--blue); border-bottom: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #b6c3df; margin-top: 64px; font-size: 14px; }
.footer .f-top { display: grid; gap: 32px; padding: 48px 0 36px; }
@media (min-width: 640px) { .footer .f-top { grid-template-columns: repeat(4, 1fr); } .footer .f-top > :first-child { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .footer .f-top { grid-template-columns: 1.5fr 1fr 1.2fr 1fr 1.3fr; gap: 32px; } .footer .f-top > :first-child { grid-column: auto; } }
.footer .logo { margin-bottom: 14px; }
.footer p { line-height: 1.6; max-width: 40ch; }
.footer h4 { font: 800 12px/1 var(--f-ui); color: #fff; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a:hover, .footer button:hover { color: #fff; }
.footer .f-soc { display: flex; gap: 6px; margin-top: 18px; }
.footer .f-soc a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: var(--r); }
.footer .f-soc a:hover { background: #fff; color: var(--navy); }
.footer .f-soc .i { width: 16px; height: 16px; }
.footer .f-c li { display: flex; gap: 10px; }
.footer .f-c .i { width: 16px; height: 16px; color: #79a8ff; margin-top: 2px; }
.footer .f-bot { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0 88px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 12.5px; color: #8797b8; }
@media (min-width: 1024px) { .footer .f-bot { padding-bottom: 22px; } }

/* ---------- Mobilna donja navigacija ---------- */
.bottom-nav { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; height: 60px; padding-bottom: env(safe-area-inset-bottom); background: var(--bg); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); }
.bottom-nav > * { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font: 600 10.5px/1 var(--f-ui); color: var(--muted); }
.bottom-nav .active { color: var(--blue); }
.bottom-nav .bn-r .c { width: 48px; height: 48px; margin-top: -22px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; border: 4px solid var(--bg); }
.bottom-nav .bn-r .c .i { width: 18px; height: 18px; }
body { padding-bottom: 60px; }
@media (min-width: 1024px) { .bottom-nav { display: none; } body { padding-bottom: 0; } }

/* ---------- Plejer ---------- */
.player { position: fixed; z-index: 80; left: 10px; right: 10px; bottom: 70px; display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--navy); color: #fff; box-shadow: 0 18px 40px -12px rgba(0,0,0,.55); transform: translateY(calc(100% + 120px)); visibility: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), visibility 0s .35s; }
.player.show { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.player .play-btn { width: 42px; height: 42px; }
.player .play-btn .i { width: 18px; height: 18px; }
.player .pl-i { flex: 1; min-width: 0; }
.player .pl-i b { display: block; font-size: 14px; }
.player .pl-i span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #9fb2d8; }
.player input[type=range] { width: 90px; accent-color: #79a8ff; display: none; }
.player .m-btn { width: 34px; height: 34px; }
@media (min-width: 640px) { .player input[type=range] { display: block; } }
@media (min-width: 1024px) { .player { left: auto; right: 24px; bottom: 24px; width: 380px; } }

/* ---------- Modali ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.open { display: block; }
.modal .backdrop { position: absolute; inset: 0; background: rgba(5,12,30,.55); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.modal .sheet { position: absolute; background: var(--bg); color: var(--ink); }
.modal.search .sheet { left: 0; right: 0; top: 0; padding: 28px 0 32px; border-bottom: 3px solid var(--blue); animation: down .25s ease-out; }
@keyframes down { from { transform: translateY(-30px); opacity: 0; } }
.search-form { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.search-form input { flex: 1; min-width: 0; border: 0; background: none; outline: 0; font: 800 clamp(22px, 3vw, 36px)/1.2 var(--f-head); letter-spacing: -.02em; }
.search-form .i { width: 26px; height: 26px; }
.search-sugg { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.search-sugg a { color: var(--ink); font-weight: 600; }
.search-sugg a:hover { color: var(--blue); }
.modal.menu .sheet { top: 0; right: 0; bottom: 0; width: min(380px, 92vw); overflow-y: auto; animation: slide .25s ease-out; }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.menu-h { display: flex; align-items: center; justify-content: space-between; background: var(--navy); padding: 0 12px 0 20px; height: 64px; }
.menu-h .close-btn { color: #fff; }
.menu-b { padding: 6px 20px 32px; }
.menu-b h5 { margin: 24px 0 6px; font: 800 11px/1 var(--f-ui); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.menu-b .ml a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.menu-b .ml a:hover { color: var(--blue); }
.menu-b .ml .i { width: 15px; height: 15px; color: var(--muted); }
.menu-b .ms { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.menu-b .ms a { display: flex; align-items: center; gap: 8px; padding: 12px; background: var(--bg); font-size: 14px; font-weight: 600; }
.menu-b .ms a:hover { color: var(--blue); }
.menu-b .ms .i { width: 16px; height: 16px; color: var(--blue); }
.close-btn { width: 40px; height: 40px; display: grid; place-items: center; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(4,8,20,.96); display: none; align-items: center; justify-content: center; padding: 60px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox .lb-cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: #c3cde3; font-size: 14px; }
.lightbox .lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.08); }
.lightbox .lb-btn:hover { background: var(--blue); }
.lightbox .lb-prev { left: 12px; } .lightbox .lb-next { right: 12px; }
.lightbox .lb-close { position: absolute; top: 12px; right: 12px; color: #fff; }

.to-top { position: fixed; right: 14px; bottom: 74px; z-index: 65; width: 42px; height: 42px; display: grid; place-items: center; background: var(--ink); color: var(--bg); opacity: 0; pointer-events: none; transform: translateY(10px); transition: .25s; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
@media (min-width: 1024px) { .to-top { right: 24px; bottom: 24px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ==========================================================================
   ČLANAK
   ========================================================================== */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 90; background: var(--blue-2); }
.art-head { padding: 28px 0 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs .cat { font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: .07em; font-size: 11.5px; }
.crumbs .i { width: 12px; height: 12px; }
.art-head h1 { font-size: clamp(30px, 4.4vw, 54px); font-weight: 900; letter-spacing: -.032em; line-height: 1.04; margin-top: 16px; max-width: none; text-wrap: balance; }
.art-head .lede { font: 400 clamp(18px, 1.7vw, 22px)/1.5 var(--f-read); color: var(--ink-2); margin-top: 16px; max-width: none; }
.byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 24px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.byline .who { display: flex; align-items: center; gap: 12px; }
.byline .av { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 800 15px/1 var(--f-ui); }
.byline .who b { display: block; font-size: 14.5px; }
.byline .who span { font-size: 12.5px; color: var(--muted); }
.share-row { display: flex; align-items: center; gap: 6px; }
.share { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink-2); transition: .15s; }
.share:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.share.ok { background: #138a4a; border-color: #138a4a; color: #fff; }
.share .i { width: 15px; height: 15px; }
.fs-btn { height: 36px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 18px; font: 700 13px/1 var(--f-read); }
.fs-btn:hover { border-color: var(--ink); }

.art-figure { margin: 26px 0 0; }
.art-figure .img { aspect-ratio: 16/9; }
.art-figure figcaption, .prose figcaption { font: 400 13px/1.45 var(--f-ui); color: var(--muted); padding-top: 8px; }

.art-body { padding-top: 32px; }
.prose { --fs: 19px; max-width: 680px; font: 400 var(--fs)/1.72 var(--f-read); color: var(--ink); }
.prose > * + * { margin-top: 1.1em; }
.prose > p:first-of-type::first-letter { float: left; font: 900 3.6em/.8 var(--f-head); margin: .06em .1em 0 0; color: var(--navy); }
:root[data-theme="dark"] .prose > p:first-of-type::first-letter { color: var(--blue-2); }
.prose h2, .prose h3 { font-family: var(--f-head); font-size: 1.25em; font-weight: 800; margin-top: 1.6em; line-height: 1.25; letter-spacing: -.015em; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose figure { margin: 1.6em 0; }
.prose figure img { width: 100%; height: auto; }
.prose blockquote { margin: 1.6em 0; padding: 0 0 0 22px; border-left: 3px solid var(--blue); font-size: 1.18em; font-style: italic; color: var(--ink-2); }
.prose blockquote cite { display: block; margin-top: 8px; font: 600 13.5px/1.3 var(--f-ui); font-style: normal; color: var(--muted); }
.prose ul { padding-left: 1.2em; }
.prose li::marker { color: var(--blue); }
.prose .video-embed { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--navy); color: #fff; }
.prose .video-embed img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.prose .video-embed .lbl { position: absolute; left: 14px; bottom: 12px; z-index: 2; font: 700 13px/1 var(--f-ui); }
.infobox { font: 400 15px/1.6 var(--f-ui); border-top: 3px solid var(--blue); background: var(--bg-2); padding: 18px 20px; }
.infobox h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: 8px; font-weight: 900; }
.infobox ul { margin: 0; padding-left: 1.1em; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; font-family: var(--f-ui); }
.gallery button { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-2); }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.05); }
.gallery .more-ph::after { content: attr(data-more); position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10,31,77,.65); color: #fff; font: 900 24px/1 var(--f-head); }

.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); }
.tags span { font: 800 11.5px/1 var(--f-ui); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: 6px; }
.tags a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; background: var(--bg-2); font-size: 13.5px; font-weight: 600; border-radius: var(--r); }
.tags a:hover { background: var(--blue); color: #fff; }

.author-box { display: flex; gap: 16px; margin-top: 28px; padding: 20px 0; border-top: 3px solid var(--ink); }
.author-box .av { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 900 22px/1 var(--f-head); flex: none; }
.author-box h4 { font-size: 19px; }
.author-box p { color: var(--ink-2); font-size: 14.5px; margin: 4px 0 8px; }
.author-box a { color: var(--blue); font-weight: 700; font-size: 13.5px; }

.comments { margin-top: 36px; }
.comment { display: flex; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.comment .av { width: 38px; height: 38px; border-radius: 50%; background: var(--bg-2); color: var(--blue); display: grid; place-items: center; font-weight: 800; flex: none; }
.comment b { font-size: 14.5px; }
.comment time { font-size: 12px; color: var(--muted); margin-left: 8px; }
.comment p { font-size: 15px; color: var(--ink-2); margin-top: 4px; }
.c-form { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 640px) { .c-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } }

/* ==========================================================================
   KATEGORIJA / PRETRAGA / KONTAKT / 404
   ========================================================================== */
.cat-head { padding: 30px 0 0; }
.cat-head h1 { font-size: clamp(42px, 6vw, 76px); font-weight: 900; letter-spacing: -.045em; line-height: 1; margin-top: 10px; }
.cat-head p { color: var(--ink-2); font: 400 18px/1.5 var(--f-read); margin-top: 10px; max-width: 60ch; }
.subnav { display: flex; gap: 22px; margin-top: 22px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.subnav a { flex: none; padding: 0 0 12px; position: relative; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.subnav a.active { color: var(--ink); }
.subnav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--blue); }
.subnav a:hover { color: var(--blue); }

.cat-lead { display: grid; gap: var(--gap); padding-top: 28px; }
.cat-lead .story.lead { display: grid; gap: 20px; }
@media (min-width: 900px) { .cat-lead .story.lead { grid-template-columns: 1.55fr 1fr; align-items: center; gap: 36px; } .cat-lead .story.lead .body { margin-top: 0; } }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 34px; }
.pagination > a, .pagination > span { min-width: 40px; height: 40px; padding: 0 10px; display: grid; place-items: center; border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.pagination > a:hover { border-color: var(--ink); }
.pagination .cur { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pagination .dots { border: 0; }

.page-head { padding: 30px 0 6px; }
.page-head h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 900; letter-spacing: -.04em; margin-top: 10px; }
.page-head .intro { color: var(--ink-2); font: 400 18px/1.5 var(--f-read); margin-top: 10px; max-width: 60ch; }
.search-big { display: flex; margin-top: 20px; border: 2px solid var(--ink); background: var(--bg); }
.search-big input { flex: 1; min-width: 0; border: 0; background: none; outline: 0; padding: 0 16px; height: 54px; font: 600 18px/1 var(--f-ui); }
.search-big .btn { height: auto; border-radius: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.filters select { height: 38px; padding: 0 10px; border: 1px solid var(--line-2); background: var(--bg); font-size: 14px; border-radius: var(--r); }
.res-count { margin-top: 16px; font-size: 14px; color: var(--muted); }
mark { background: #fff2a8; color: inherit; padding: 0 1px; }
:root[data-theme="dark"] mark { background: #4a4313; }

.contact-grid { display: grid; gap: 44px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.4fr 1fr; } }
.form-grid { display: grid; gap: 14px; }
.form-grid label { display: grid; gap: 6px; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.form-grid .chk { display: flex; gap: 8px; align-items: center; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 14px; }
@media (min-width: 640px) { .form-grid .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } }
.c-info { list-style: none; margin: 0; padding: 0; }
.c-info li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.c-info li:first-child { border-top: 0; padding-top: 0; }
.c-info .ic { width: 40px; height: 40px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.c-info b { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.c-info span, .c-info a { font-size: 16px; font-weight: 600; }
.map { margin-top: 24px; aspect-ratio: 16/10; background: var(--bg-2); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; }

.e404 { padding: 56px 0 10px; }
.e404 .num { font: 900 clamp(110px, 20vw, 220px)/.85 var(--f-head); letter-spacing: -.07em; color: var(--blue); }
.e404 h1 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; letter-spacing: -.03em; margin-top: 18px; }
.e404 p { color: var(--ink-2); font: 400 18px/1.5 var(--f-read); margin-top: 10px; max-width: 50ch; }
.e404 .search-big { max-width: 600px; }
.e404 .links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-weight: 700; }
.e404 .links a { color: var(--blue); }
.sitemap code { font-size: 12.5px; color: var(--blue); }

/* Članak: iste širine kao sajt, tekst puni kolonu do sidebara */
.single .prose { max-width: none; }
@media (min-width: 1024px) { .single .art-body.cols.main-side { grid-template-columns: minmax(0, 1fr) 300px; } }

/* Arhiva autora */
.author-head { display: flex; gap: 20px; align-items: flex-start; margin-top: 16px; }
.author-head .av { width: 88px; height: 88px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 900 30px/1 var(--f-head); flex: none; }
.author-head h1 { margin-top: 0; }
.a-stats { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.a-stats b { color: var(--ink); }
.a-stats a { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; }
.a-stats .i { width: 15px; height: 15px; }
@media (max-width: 639px) { .author-head .av { width: 60px; height: 60px; font-size: 22px; } }
.byline .who b a:hover { color: var(--blue); }
.cat-lead .story.lead h2 { font-size: clamp(26px, 2.8vw, 38px); }

/* ==========================================================================
   TEMA — dopune za WordPress markup
   ========================================================================== */

/* kartice: omotač (olovka urednika stoji gore desno) */
.story-wrap { position: relative; min-width: 0; }
.story.thumb .img img { aspect-ratio: 4/3; }
.story .body > :first-child { margin-top: 0; }
.slkn-fallback { object-fit: cover; }

/* logo */
.logo-wrap { margin: 0; font-size: inherit; line-height: 1; font-weight: inherit; letter-spacing: 0; }
.logo-img img { display: block; max-width: 260px; object-fit: contain; }
@media (max-width: 559px) { .logo-img img { max-width: 200px; max-height: 40px; } }
.footer .logo-img img, .menu-h .logo-img img { max-height: 40px; }
.menu-h .logo .a { font-size: 24px; }

/* gornja traka */
.topbar a.tb { color: inherit; }
.topbar .tb-r a { white-space: nowrap; }

/* traka najnovije */
.tk-dup { display: contents; }

/* fioka (mobilni meni) */
.menu-b .ml ul { list-style: none; margin: 0; padding: 0; }
.menu-b .ml .sub-menu a { font-size: 15px; font-weight: 600; padding-left: 14px; color: var(--ink-2); }
.menu-b .ml .current-menu-item > a { color: var(--blue); }

/* reklame */
.ad { width: 100%; margin-left: auto; margin-right: auto; }
.ad > span { pointer-events: none; }
.ad-live { background: none; display: block; }
.ad-live::before { display: none; }
.ad-live img { width: 100%; height: auto; display: block; }
.ad-code { display: grid; place-items: center; }
.ad-row { margin: 34px auto 0; }
.ad-row .ad { margin-top: 0; }
.wrap.ad-row { padding-top: 0; }
.ad-in-list { padding: 22px 0 !important; display: grid; place-items: center; }
.ad.in-art { margin: 1.8em auto; clear: both; }
.ad.ad-top { margin-top: 22px; }
.ad.ad-after { margin-top: 30px; }
.aside .ad { margin-left: 0; margin-right: 0; }
.aside .ad:not(.ad-live) { margin-top: 16px; }
.svc-ad { display: grid; place-items: start center; }

/* sidebar */
.aside { min-width: 0; }
.aside > * + *, .side-sticky > * + * { margin-top: 30px; }
.side-sticky { margin-top: 30px; }
.side-sticky.all { margin-top: 0; }
@media (min-width: 1024px) {
  .side-sticky { position: sticky; top: 72px; }
  .admin-bar .side-sticky { top: 104px; }
}
.w-head .w-sub { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.w-head h3 .dot-live { display: inline-block; vertical-align: 2px; margin-right: 4px; }
.widget + .widget { margin-top: 30px; }
.widget .w-head + * { margin-top: 0; }
.widget ul:not(.ranked):not(.timeline) { list-style: none; margin: 0; padding: 0; }
.widget ul:not(.ranked):not(.timeline) li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
.widget ul:not(.ranked):not(.timeline) li:first-child { border-top: 0; }
.widget ul:not(.ranked):not(.timeline) a:hover { color: var(--blue); }
.widget img { max-width: 100%; height: auto; }
.widget select, .widget input[type="search"], .widget input[type="text"] { width: 100%; height: 42px; border: 1px solid var(--line-2); padding: 0 10px; background: var(--bg); border-radius: var(--r); }
.widget-stack > * + * { margin-top: 30px; }
.widget-row { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.widget-empty { display: block; margin-top: 18px; padding: 14px; border: 2px dashed var(--blue); color: var(--blue); font-weight: 800; font-size: 13.5px; text-align: center; }
.sub-list { display: grid; }
.sub-list a { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.sub-list a:first-child { border-top: 0; padding-top: 0; }
.sub-list a span { color: var(--muted); font-weight: 500; font-size: 13px; }
.sub-list a.on, .sub-list a:hover { color: var(--blue); }
.radio-w .now span { display: block; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* kursna lista — konvertor */
.fx-conv { display: grid; grid-template-columns: 1fr 86px; gap: 6px; margin-top: 12px; }
.fx-conv .field { height: 40px; }
.fx-conv output { grid-column: 1 / -1; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.svc-row .weather, .svc-row .w-fx { height: 100%; }

/* newsletter */
.nl-wide { display: grid; gap: 18px; align-items: center; padding: 26px; border-top: 3px solid var(--blue); }
@media (min-width: 900px) { .nl-wide { grid-template-columns: 1fr auto; padding: 30px 34px; } .nl-wide .nl-act { min-width: 420px; } }
.nl-wide h3 { font-size: 26px; }
.nl-act { display: grid; gap: 10px; }
.nl-act form { display: flex; gap: 8px; }
.nl-act form .field { flex: 1; }
.nl-side .nl-act form { flex-direction: column; }
.gnews { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--blue); }
.gnews .i { width: 18px; height: 18px; }

/* kolone kategorija */
.cat-cols > * { min-width: 0; }
.cat-col > .story-wrap { margin-bottom: 16px; }
.cat-col .list.tight { border-top: 1px solid var(--line); padding-top: 14px; }

/* stanice (više radio stanica) */
.modal.radio .sheet { top: 0; right: 0; bottom: 0; width: min(380px, 92vw); overflow-y: auto; }
.stations { display: grid; gap: 8px; padding-top: 16px; }
.station { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); text-align: left; }
.station:hover { border-color: var(--blue); }
.station .st-logo { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; font-weight: 800; flex: none; overflow: hidden; }
.station .st-logo img { width: 100%; height: 100%; object-fit: cover; }
.station small { display: block; color: var(--muted); font-size: 12.5px; }

/* ---------------------------------------------------------- vest */
.art-kick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.art-kick .kicker { margin: 0; }
.art-kick .upd { font: 800 11px/1 var(--f-ui); text-transform: uppercase; letter-spacing: .08em; color: #fff; background: var(--blue); padding: 5px 7px; }
.art-kick .slkn-pen { position: static; }
.byline .who b a:hover { color: var(--blue); }
.byline .who > div { min-width: 0; }
.byline .av, .author-box .av, .author-head .av { object-fit: cover; }
img.av { border-radius: 50%; }
.byline img.av { width: 42px; height: 42px; }
.author-box img.av { width: 64px; height: 64px; }
.author-head img.av { width: 88px; height: 88px; }
.author-box .kicker { margin-bottom: 4px; }
.art-figure img { width: 100%; height: 100%; object-fit: cover; }
.art-figure figcaption b { color: var(--ink-2); font-weight: 600; }
.art-main { min-width: 0; }
.art-video { position: relative; aspect-ratio: 16/9; margin-bottom: 26px; background: #000; }
.art-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose.no-drop > p:first-of-type::first-letter { float: none; font: inherit; margin: 0; color: inherit; }
.prose img { max-width: 100%; height: auto; }
.prose iframe { max-width: 100%; border: 0; }
.fb-embed-wrap { margin: 1.6em auto; width: 100%; }
.fb-video { max-width: 760px; }
.fb-video.is-vertical { max-width: 380px; }
.prose .fb-video iframe, .fb-video iframe { display: block; width: 100%; height: auto; aspect-ratio: 1 / var(--ar, .5625); border: 0; background: #000; border-radius: var(--r); }
.fb-post { max-width: 500px; }
.prose .fb-post iframe, .fb-post iframe { display: block; width: 100%; border: 0; background: var(--bg-2); }
.prose .wp-caption, .prose figure { max-width: 100% !important; width: auto !important; }
.prose .wp-caption-text, .prose figcaption { font: 400 13px/1.45 var(--f-ui); color: var(--muted); padding-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font: 400 15px/1.5 var(--f-ui); }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose th { background: var(--bg-2); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose pre { overflow-x: auto; background: var(--bg-2); padding: 14px; font-size: 14px; }
.prose .wp-block-embed, .prose .wp-block-image { margin: 1.6em 0; }
.prose .wp-block-embed__wrapper { position: relative; }
.prose .wp-block-embed.is-type-video .wp-block-embed__wrapper { aspect-ratio: 16/9; }
.prose .wp-block-embed.is-type-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.prose .wp-block-gallery, .prose .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; padding: 0; }
.prose .gallery-item, .prose .wp-block-gallery figure { margin: 0 !important; width: auto !important; }
.prose .gallery-item img, .prose .wp-block-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.prose .gallery br { display: none; }
.prose a:has(> img) { text-decoration: none; display: block; cursor: zoom-in; }
.alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
@media (max-width: 639px) { .alignleft, .alignright { float: none; margin: 1em 0; max-width: 100%; } }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.inline-rel { display: grid; grid-template-columns: 1fr 120px; gap: 16px; align-items: center; margin: 1.8em 0; padding: 14px 0; border-top: 3px solid var(--blue); border-bottom: 1px solid var(--line); text-decoration: none !important; color: var(--ink) !important; font-family: var(--f-ui); }
.inline-rel small { display: block; font: 800 11.5px/1 var(--f-ui); text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: 6px; }
.inline-rel b { font: 800 18px/1.25 var(--f-head); letter-spacing: -.01em; }
.inline-rel:hover b { color: var(--blue); }
.inline-rel .img { aspect-ratio: 4/3; }
.inline-rel .img img { width: 100%; height: 100%; object-fit: cover; }
.art-nav { display: grid; gap: 12px; margin-top: 28px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .art-nav { grid-template-columns: 1fr 1fr; } }
.art-nav a { display: block; padding: 14px 0; border-top: 1px solid var(--line); }
.art-nav a.next { text-align: right; }
.art-nav small { display: block; font-size: 12px; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.art-nav b { font-weight: 700; }
.art-nav a:hover b { color: var(--blue); }

/* ---------------------------------------------------------- komentari */
.comments { margin-top: 40px; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { padding-left: 24px; border-left: 2px solid var(--line); margin-left: 18px; }
.comment-list .comment { border-top: 1px solid var(--line); }
.comment .c-body { flex: 1; min-width: 0; }
.comment .c-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.comment .c-meta time { margin-left: 0; }
.comment .c-badge { font: 800 10.5px/1 var(--f-ui); text-transform: uppercase; letter-spacing: .06em; background: var(--blue); color: #fff; padding: 4px 6px; }
.comment .c-text { font-size: 15.5px; color: var(--ink-2); margin-top: 4px; }
.comment .c-text p { margin: 0 0 .6em; }
.comment .c-wait { font-size: 13px; color: var(--blue); font-weight: 700; margin-top: 4px; }
.comment .c-actions { display: flex; gap: 14px; font-size: 13px; font-weight: 700; }
.comment .c-actions a { color: var(--blue); }
.by-staff > .comment .av { background: var(--navy); color: #fff; }
.c-empty, .c-note { color: var(--muted); font-size: 14.5px; }
.comment-respond { margin-top: 26px; padding-top: 18px; border-top: 3px solid var(--ink); }
.c-title { font-size: 19px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.c-title small a { font-size: 13px; font-weight: 700; color: var(--red); }
.c-form { display: grid; gap: 12px; margin-top: 12px; }
@media (min-width: 640px) { .c-form { grid-template-columns: 1fr 1fr; } .c-form > :not(.comment-form-author):not(.comment-form-email) { grid-column: 1 / -1; } }
.c-form p { margin: 0; }
.c-form label { display: block; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); margin-bottom: 6px; }
.c-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.c-form .comment-form-cookies-consent label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13.5px; margin: 0; }
.c-form .req { color: var(--red); }
.c-form .form-submit .btn { cursor: pointer; }
.comment-navigation, .comments-pagination { display: flex; justify-content: space-between; margin-top: 16px; font-weight: 700; font-size: 14px; }
.comment-navigation a { color: var(--blue); }

/* ---------------------------------------------------------- arhive, pretraga, stranice */
.author-head p { color: var(--ink-2); font: 400 17px/1.5 var(--f-read); margin-top: 8px; max-width: 60ch; }
.page-head h1 .slkn-pen { position: static; display: inline-grid; vertical-align: middle; margin-left: 10px; }
.page-content > * + * { margin-top: 1em; }
.empty { padding: 24px 0; color: var(--ink-2); }
.empty h3 { font-size: 22px; margin-bottom: 6px; color: var(--ink); }
.search-big .btn .i { width: 18px; height: 18px; }
.pagination .sr { position: absolute; }
.slkn-searchform { margin-top: 0; }
body.slkn-editing .slkn-sec { min-height: 60px; }

/* ---------------------------------------------------------- štampa */
@media print {
  .topbar, .masthead, .nav, .ticker, .aside, .footer, .bottom-nav, .player, .to-top, .share-row, .comments, .ad, .progress, .section:not(.art-head) { display: none !important; }
  body { padding: 0; }
  .art-body.cols { display: block; }
}

/* Akismet obaveštenje ispod komentara (rezerva ako ga neki plugin ipak ispiše) */
.akismet_comment_form_privacy_notice { display: none !important; }

/* ==========================================================================
   Zastavice valuta i animirane ikonice vremena
   ========================================================================== */
.flag { display: inline-block; width: 22px; height: 22px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 1px rgba(10, 31, 77, .14); vertical-align: middle; }
.flag svg { display: block; width: 100%; height: 100%; }
.flag-txt { display: inline-grid; place-items: center; background: var(--bg-2); color: var(--blue); font: 800 9px/1 var(--f-ui); }
.fx-cur { display: inline-flex; align-items: center; gap: 10px; }
.fx-cur > span { display: flex; flex-direction: column; line-height: 1.15; }
.fx td:first-child small { margin-left: 0; font-size: 11.5px; }
.fx td { vertical-align: middle; }
.topbar .tb .flag { width: 15px; height: 15px; }

.wx { display: block; overflow: visible; }
.weather .w-ico { width: 64px; height: 66px; flex: none; }
.wx-tiny { width: 20px; height: 20px; display: inline-block; vertical-align: -5px; }
.weather .w-days { grid-template-columns: repeat(var(--n, 5), 1fr); padding-top: 4px; }
.weather .w-days .w-day { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px; padding: 12px 4px 4px; text-align: center; }
.weather .w-days .w-day + .w-day { border-left: 1px solid var(--line); }
.weather .w-dl { font: 700 12px/1 var(--f-ui); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.weather .w-day .wx-sm { width: 34px; height: 35px; margin: 6px auto 4px; }
.weather .w-day b { font: 800 16px/1.1 var(--f-ui); color: var(--ink); }
.weather .w-day small { font-size: 13px; color: var(--muted); }
.weather .w-days .i { display: none; }

@keyframes wx-spin { to { transform: rotate(360deg); } }
@keyframes wx-drift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(2.5px); } }
@keyframes wx-fall { 0% { transform: translateY(-3px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(6px); opacity: 0; } }
@keyframes wx-flash { 0%, 70%, 100% { opacity: 1; } 75%, 85% { opacity: .15; } }
@keyframes wx-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.wx-rays { transform-origin: 24px 24px; animation: wx-spin 14s linear infinite; }
.wx-sun > circle { transform-origin: 24px 24px; animation: wx-pulse 4s ease-in-out infinite; }
.wx-cloud { animation: wx-drift 5s ease-in-out infinite; }
.wx-drops path, .wx-flakes circle { animation: wx-fall 1.2s linear infinite; }
.wx-flakes circle { animation-duration: 2.2s; }
.wx-drops .d2, .wx-flakes .d2 { animation-delay: .4s; }
.wx-drops .d3, .wx-flakes .d3 { animation-delay: .8s; }
.wx-bolt { animation: wx-flash 2.6s ease-in-out infinite; }
.wx-fog .d2 { animation: wx-drift 4s ease-in-out infinite reverse; }
:root[data-theme="dark"] .wx-cloud { fill: #3a4a6b; stroke: #8aa3c7; }
