/*! NEXT PORTAL tema, glavni stilovi. Dizajn: tamno zaglavlje, dvokolonski raspored vijesti, svijetla i tamna tema preko CSS varijabli. */
/* Layout: utility strip, large centred logo, sticky section nav with search and saved stories, live ticker, then a two-column news grid with tabbed widgets on the right. */
:root {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --ink: #10151c;
  --ink-2: #4a5565;
  --line: #dde2ea;
  --accent: #1769e8;
  --accent-ink: #0f55c4;
  --on-accent: #ffffff;
  --live: #d92d20;
  --on-live: #ffffff;
  --up: #12805c;
  --bar: #11161d;
  --bar-2: #1a212b;
  --bar-ink: #eef2f7;
  --bar-dim: #98a3b3;
  --bar-line: #262e3a;
  --glow: rgba(23, 105, 232, .28);
  --ph-a: #d6e3f7;
  --ph-b: #9fbbe8;
  --ph-c: #eaf1fc;
  --nmark: url("../img/n-mark.png");
  --f-head: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --f-body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c1016; --surface: #141a22; --ink: #eef2f7; --ink-2: #a3adbb; --line: #262e3a;
    --accent: #4b8cff; --accent-ink: #7aa9ff; --on-accent: #06101f;
    --live: #ff5a4d; --on-live: #220604; --up: #3ecf9e;
    --bar: #10151c; --bar-2: #171d26;
    --ph-a: #16233a; --ph-b: #24477f; --ph-c: #2f63b8;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c1016; --surface: #141a22; --ink: #eef2f7; --ink-2: #a3adbb; --line: #262e3a;
  --accent: #4b8cff; --accent-ink: #7aa9ff; --on-accent: #06101f;
  --live: #ff5a4d; --on-live: #220604; --up: #3ecf9e;
  --bar: #10151c; --bar-2: #171d26;
  --ph-a: #16233a; --ph-b: #24477f; --ph-c: #2f63b8;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
:root.lock { overflow: hidden; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- masthead ---------- */
.util { background: var(--bar); color: var(--bar-dim); border-bottom: 1px solid var(--bar-line); font-size: .8125rem; }
.utilin { display: flex; align-items: center; gap: 18px; height: 42px; }
.u-sp { flex: 1; }
.u-wx { display: inline-flex; align-items: center; gap: 7px; color: var(--bar-ink); font-weight: 500; white-space: nowrap; }
.u-wx:hover { text-decoration: underline; }
.u-wx svg { color: #8db5ff; }
.u-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 30px; padding-inline: 10px; background: transparent; color: var(--bar-ink); border: 1px solid var(--bar-line); font: 600 .8125rem var(--f-head); cursor: pointer; }
.u-btn:hover { background: var(--bar-2); }
.btn-solid { height: 38px; padding-inline: 16px; background: var(--accent); color: var(--on-accent); border: 0; font: 700 .8125rem var(--f-head); letter-spacing: .02em; cursor: pointer; }
.btn-solid:hover { filter: brightness(1.08); }
.btn-solid.sm { height: 30px; padding-inline: 14px; }

.brand { background: radial-gradient(ellipse 560px 150px at 50% 52%, var(--glow), transparent 72%), var(--bar); display: flex; justify-content: center; padding: 28px 16px 26px; }
.logo { display: block; }
.logo img { display: block; height: var(--np-logo-h, 78px); width: auto; max-width: 100%; }

.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bar); color: var(--bar-ink); border-top: 1px solid var(--bar-line); border-bottom: 1px solid var(--bar-line); transition: box-shadow .2s ease; }
.nav.stuck { box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.navin { display: flex; align-items: center; gap: 8px; }
.navside { width: 88px; flex: none; display: flex; align-items: center; }
.navside.r { justify-content: flex-end; gap: 4px; }
.nmark { display: block; width: 40px; height: 30px; background: var(--nmark) left center / contain no-repeat; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.nav.stuck .nmark { opacity: 1; pointer-events: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav ul::-webkit-scrollbar { display: none; }
.nav li:first-child { margin-left: auto; }
.nav li:last-child { margin-right: auto; }
.nav li a { display: block; padding: 15px 16px; font: 600 .95rem var(--f-head); color: var(--bar-ink); white-space: nowrap; }
.nav li a:hover { background: var(--bar-2); }
.nav li a[aria-current], .nav li.current-menu-item > a, .nav li.current-menu-ancestor > a, .nav li.current_page_item > a, .nav li.current-post-ancestor > a { box-shadow: inset 0 -3px 0 var(--accent); }
.ib { position: relative; width: 40px; height: 40px; display: grid; place-items: center; background: transparent; border: 0; color: var(--bar-ink); cursor: pointer; }
.ib:hover { background: var(--bar-2); }
.badge { position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding-inline: 4px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font: 800 .65rem var(--f-head); font-variant-numeric: tabular-nums; }

.live { background: var(--surface); border-bottom: 1px solid var(--line); }
.live .wrap { display: flex; align-items: center; gap: 12px; padding-block: 10px; min-width: 0; }
.pill { flex: none; display: inline-flex; align-items: center; gap: 6px; background: var(--live); color: var(--on-live); font: 800 .7rem var(--f-head); letter-spacing: .08em; padding: 3px 8px; }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.lv { display: grid; flex: 1; min-width: 0; }
.lv a { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; font: 600 .9375rem var(--f-head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv a.on { opacity: 1; visibility: visible; transition: opacity .6s ease, visibility 0s; }
.lv a:hover { text-decoration: underline; }
.live .more { flex: none; font: 600 .8125rem var(--f-head); color: var(--accent-ink); }

/* ---------- page grid ---------- */
.page { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; padding-block: 28px 64px; align-items: start; }
.col { display: flex; flex-direction: column; gap: 44px; min-width: 0; }
.aside { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 2px solid var(--ink); padding-top: 10px; margin-bottom: 18px; }
.sec-head h2 { margin: 0; font: 800 1.3rem/1.2 var(--f-head); letter-spacing: -.005em; }
.sec-head a { font: 600 .8125rem var(--f-head); color: var(--accent-ink); white-space: nowrap; }
.sec-head a:hover { text-decoration: underline; }

/* image placeholders: duotone blue with the NEXT mark as a quiet watermark */
.ph { position: relative; display: block; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; background: linear-gradient(var(--ang, 135deg), var(--ph-a), var(--ph-b)); }
.ph::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--x, 72%) var(--y, 28%), var(--ph-c) 0, transparent 58%); }
.ph::after { content: ""; position: absolute; right: var(--r, 7%); bottom: -10%; height: 82%; aspect-ratio: 1.12; background: var(--nmark) center / contain no-repeat; opacity: .14; }
.ph.sq { aspect-ratio: 3 / 2; }

.kicker { font: 700 .72rem var(--f-head); letter-spacing: .07em; text-transform: uppercase; color: var(--accent-ink); }
.meta { font-size: .8rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cw { position: relative; min-width: 0; }
.card { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.card .ph { margin-bottom: 4px; }
.card h3 { margin: 0; font: 700 1.125rem/1.22 var(--f-head); text-wrap: balance; }
.card:hover h3, .item:hover h3, .rank a:hover, .tl a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

.bm { position: absolute; top: 8px; right: 8px; z-index: 3; width: 36px; height: 36px; display: grid; place-items: center; background: rgba(10, 14, 20, .72); color: #fff; border: 0; cursor: pointer; padding: 0; }
.bm:hover { background: rgba(10, 14, 20, .92); }
.bm[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.bm[aria-pressed="true"] path { fill: currentColor; }
.bm-hero { top: 12px; right: 12px; }

.flash { animation: flash 1.7s ease; }
@keyframes flash { 0%, 65% { outline: 3px solid var(--accent); outline-offset: 6px; } 100% { outline: 3px solid transparent; outline-offset: 6px; } }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px; }
.lead { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lead .ph { aspect-ratio: 16 / 10; margin-bottom: 6px; }
.lead h2 { margin: 0; font: 800 clamp(1.7rem, 1.1rem + 2.1vw, 2.6rem)/1.08 var(--f-head); letter-spacing: -.012em; text-wrap: balance; }
.lead p { margin: 0; color: var(--ink-2); font-size: 1.0625rem; max-width: 62ch; }
.lead:hover h2 { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.hero-l { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.slides { position: relative; display: grid; min-width: 0; }
.slides .sl { grid-area: 1 / 1; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--np-fade, .9s) ease, visibility 0s linear var(--np-fade, .9s); }
.slides .sl.on { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity var(--np-fade, .9s) ease, visibility 0s; }
.ctrl { display: flex; align-items: center; gap: 10px; }
.segs { display: flex; gap: 6px; flex: 1; min-width: 0; }
.seg { flex: 1; height: 28px; padding: 0; background: transparent; border: 0; cursor: pointer; position: relative; }
.seg::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: var(--line); }
.seg i { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; width: 0; background: var(--accent); }
.seg.done i { width: 100%; }
.seg.on i { width: 100%; animation: fill var(--np-dur, 6s) linear forwards; }
.paused .seg.on i { animation-play-state: paused; }
@keyframes fill { from { width: 0; } to { width: 100%; } }
.count { font-variant-numeric: tabular-nums; white-space: nowrap; }
.nbtn { width: 34px; height: 34px; flex: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; }
.nbtn:hover { border-color: var(--ink-2); }
.nbtn span { display: grid; place-items: center; }
.stack { display: flex; flex-direction: column; min-width: 0; }
.item { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding-block: 14px; border-top: 1px solid var(--line); }
.item:first-child { border-top: 0; padding-top: 0; }
.item .ph { aspect-ratio: 3 / 2; }
.item h3 { margin: 2px 0 4px; font: 700 1rem/1.22 var(--f-head); }
.item .kicker { font-size: .66rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.grid-4 .card h3 { font-size: 1rem; }
.split { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 28px; }
.split .card h3 { font-size: 1.5rem; line-height: 1.15; letter-spacing: -.005em; }
.txtlist { display: flex; flex-direction: column; min-width: 0; }
.txtlist .t { display: flex; flex-direction: column; gap: 4px; padding-block: 14px; border-top: 1px solid var(--line); }
.txtlist .t:first-child { border-top: 0; padding-top: 0; }
.txtlist h3 { margin: 0; font: 700 1.0625rem/1.25 var(--f-head); }
.txtlist .t:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* video panel stays dark in both themes */
.videos { background: var(--bar); color: var(--bar-ink); padding: 20px 20px 24px; }
.videos .sec-head { border-top-color: var(--bar-ink); }
.videos .sec-head a { color: #8db5ff; }
.videos .meta { color: var(--bar-dim); }
.videos .kicker { color: #8db5ff; }
.vid .ph { --ph-a: #16233a; --ph-b: #24477f; --ph-c: #2f63b8; }
.play { position: absolute; z-index: 1; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; }
.play span.c { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .95); display: grid; place-items: center; color: #11161d; }
.play span.d { background: rgba(10, 14, 20, .75); color: #fff; font: 600 .75rem var(--f-body); padding: 2px 7px; font-variant-numeric: tabular-nums; }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.duo .card { margin-bottom: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }

/* ---------- aside widgets ---------- */
.box { background: var(--surface); border: 1px solid var(--line); }
.box-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line); min-height: 52px; }
.box-h h2 { margin: 0; font: 800 1.05rem/1.2 var(--f-head); }
.pad { padding: 18px; }
.note { margin: 0; padding: 4px 18px 16px; }
.tabbar { display: flex; border-bottom: 1px solid var(--line); }
.tabbar button { flex: 1; height: 48px; background: transparent; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; font: 700 .9375rem var(--f-head); color: var(--ink-2); cursor: pointer; }
.tabbar button:hover { color: var(--ink); }
.tabbar button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.tl, .rank { list-style: none; margin: 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; padding-block: 11px; border-top: 1px solid var(--line); }
.tl li:first-child { border-top: 0; padding-top: 0; }
.tl li:last-child { padding-bottom: 0; }
.tl time { font: 700 .8125rem var(--f-head); color: var(--accent-ink); font-variant-numeric: tabular-nums; padding-top: 2px; }
.tl a { font: 600 .9375rem/1.3 var(--f-head); }
.rank { counter-reset: r; }
.rank li { counter-increment: r; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px; padding-block: 12px; border-top: 1px solid var(--line); align-items: start; }
.rank li:first-child { border-top: 0; padding-top: 0; }
.rank li:last-child { padding-bottom: 0; }
.rank li::before { content: counter(r); font: 800 1.9rem/1 var(--f-head); color: var(--accent); font-variant-numeric: tabular-nums; }
.rank a { font: 600 .9375rem/1.3 var(--f-head); }

.sel { height: 32px; padding-inline: 8px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); font: 600 .8125rem var(--f-head); cursor: pointer; max-width: 100%; }
.wx-now { display: flex; align-items: center; gap: 16px; padding: 18px 18px 6px; }
.wx-ico { color: var(--accent); display: grid; place-items: center; }
.wx-t { font: 800 2.7rem/1 var(--f-head); font-variant-numeric: tabular-nums; }
.wx-d { font-weight: 600; }
.wx-days { list-style: none; margin: 0; padding: 12px 18px 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.wx-days li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .8125rem; }
.wx-days b { font: 700 .8125rem var(--f-head); }
.wx-days svg { color: var(--accent); }
.wx-days span { font-variant-numeric: tabular-nums; color: var(--ink-2); }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 12px; font: 700 1rem/1.3 var(--f-head); }
.opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); margin-bottom: 8px; cursor: pointer; font-size: .9375rem; }
.opt:hover { border-color: var(--ink-2); }
.opt:has(input:checked) { border-color: var(--accent); }
.opt input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; flex: none; }
.poll-msg { margin: 8px 0 0; font-size: .85rem; color: var(--live); min-height: 1.2em; }
.bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.bars li { display: grid; gap: 6px; }
.bars .row { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; font-weight: 500; }
.bars .row b { font: 800 .95rem var(--f-head); font-variant-numeric: tabular-nums; }
.bar { height: 8px; background: var(--line); }
.bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .7s ease; }
.bars li.mine .bar i { background: var(--accent-ink); }

.fx { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.fx th, .fx td { padding: 11px 18px; border-top: 1px solid var(--line); text-align: right; font-weight: 500; }
.fx tr:first-child th, .fx tr:first-child td { border-top: 0; }
.fx th { text-align: left; font: 700 .9rem var(--f-head); }
.fx .up { color: var(--up); }
.fx .dn { color: var(--live); }

.news h2 { margin: 0 0 6px; font: 800 1.2rem/1.2 var(--f-head); }
.news p { margin: 0 0 14px; color: var(--ink-2); font-size: .9rem; }
.news form { display: flex; flex-direction: column; gap: 8px; }
.news input { height: 42px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: .9375rem; padding-inline: 12px; min-width: 0; }
.news .btn-solid { height: 42px; }
.news .ok { margin: 10px 0 0; font-size: .85rem; color: var(--accent-ink); font-weight: 600; }

/* ---------- category pages ---------- */
.enter { animation: rise .35s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cat-h { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--ink); padding-top: 14px; }
.crumb { display: flex; align-items: center; gap: 8px; font: 600 .8125rem var(--f-head); color: var(--ink-2); }
.crumb a { color: var(--accent-ink); }
.crumb a:hover { text-decoration: underline; }
.cat-h h1 { margin: 0; font: 800 clamp(2.1rem, 1.3rem + 2.6vw, 3.2rem)/1.05 var(--f-head); letter-spacing: -.015em; text-wrap: balance; }
.cat-h p { margin: 0; color: var(--ink-2); max-width: 62ch; font-size: 1.0625rem; }
.subs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.subs .chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
#cat-body { display: flex; flex-direction: column; gap: 40px; }
.more-wrap { display: flex; justify-content: center; }
.btn-outline { height: 46px; padding-inline: 28px; background: transparent; color: var(--ink); border: 1px solid var(--ink); font: 700 .875rem var(--f-head); cursor: pointer; }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.item .play { left: 6px; bottom: 6px; }
.item .play .c { width: 26px; height: 26px; }
.item .play .c svg { width: 10px; height: 10px; }
.item .play .d { display: none; }

/* ---------- overlays ---------- */
.ov, .dw { position: fixed; inset: 0; z-index: 100; background: rgba(8, 11, 16, .72); }
.ov { display: flex; justify-content: center; align-items: flex-start; padding: calc(7vh + env(safe-area-inset-top, 0px)) 16px 16px; }
.ov-box { width: min(680px, 100%); max-height: 80vh; display: flex; flex-direction: column; min-height: 0; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.ov-form { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 58px; border-bottom: 1px solid var(--line); flex: none; }
.ov-form svg { flex: none; color: var(--ink-2); }
.ov-form input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; color: var(--ink); font: 500 1.0625rem var(--f-body); }
.ov-form input:focus-visible { outline: none; }
.ov-x { flex: none; height: 28px; padding-inline: 9px; background: transparent; color: var(--ink-2); border: 1px solid var(--line); font: 600 .75rem var(--f-head); cursor: pointer; }
.ov-x:hover { color: var(--ink); border-color: var(--ink-2); }
.ov-body { overflow-y: auto; min-height: 0; }
.ov-hint { margin: 0; padding: 16px 18px 6px; color: var(--ink-2); font-size: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 18px 20px; }
.chip { height: 32px; padding-inline: 14px; background: transparent; color: var(--ink); border: 1px solid var(--line); font: 600 .8125rem var(--f-head); cursor: pointer; }
.chip:hover { border-color: var(--accent); color: var(--accent-ink); }
.ov-res { list-style: none; margin: 0; padding: 0; }
.res { display: flex; flex-direction: column; gap: 3px; width: 100%; text-align: left; padding: 13px 18px; background: transparent; color: var(--ink); border: 0; border-top: 1px solid var(--line); cursor: pointer; }
.ov-res li:first-child .res { border-top: 0; }
.res:hover, .res:focus-visible { background: var(--bg); }
.res .t { font: 700 1rem/1.25 var(--f-head); }

.dw { display: flex; justify-content: flex-end; }
.dr { width: min(400px, 100%); display: flex; flex-direction: column; min-height: 0; background: var(--surface); border-left: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); animation: slidein .25s ease; }
@keyframes slidein { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.dr-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; height: 58px; border-bottom: 1px solid var(--line); flex: none; }
.dr-head h2 { margin: 0; font: 800 1.15rem var(--f-head); }
.dr-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; min-height: 0; }
.dr-it { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); }
.dr-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 14px 8px 14px 18px; background: transparent; color: var(--ink); border: 0; cursor: pointer; }
.dr-main:hover .dr-t { text-decoration: underline; }
.dr-t { font: 700 .9875rem/1.25 var(--f-head); }
.dr-rm { flex: none; width: 48px; display: grid; place-items: center; background: transparent; color: var(--ink-2); border: 0; cursor: pointer; }
.dr-rm:hover { color: var(--live); }
.dr-empty { margin: 0; padding: 24px 18px; color: var(--ink-2); font-size: .95rem; }

.totop { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 46px; height: 46px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); border: 0; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.totop:hover { filter: brightness(1.08); }

/* ---------- footer ---------- */
.foot { background: var(--bar); color: var(--bar-ink); padding-block: 44px 28px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot img { height: var(--np-foot-logo-h, 52px); width: auto; max-width: 100%; display: block; margin-bottom: 16px; }
.foot p { margin: 0; color: var(--bar-dim); font-size: .875rem; max-width: 34ch; }
.foot h4 { margin: 0 0 12px; font: 700 .75rem var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--bar-dim); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot li a { font-size: .9rem; }
.foot li a:hover { text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--bar-line); font-size: .8rem; color: var(--bar-dim); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .page { grid-template-columns: minmax(0, 1fr); }
  .aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
  .aside .news { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero, .split { grid-template-columns: minmax(0, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .navside:not(.r) { display: none; }
  .navside.r { width: auto; }
  .nav li:first-child { margin-left: 0; }
}
@media (max-width: 680px) {
  .grid-3, .duo, .aside { grid-template-columns: minmax(0, 1fr); }
  .u-date { display: none; }
  .utilin { gap: 12px; }
  .brand { padding-block: 20px 18px; }
  .logo img { height: calc(var(--np-logo-h, 78px) * .72); }
  .live .more { display: none; }
  .videos { padding: 16px; }
  .col { gap: 36px; }
  .ov { padding-top: calc(16px + env(safe-area-inset-top, 0px)); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* =====================================================================
   WordPress dodaci (iznad originalnog dizajna): slike, meni, članak,
   komentari, paginacija, podnožje i pomoćne klase.
   ===================================================================== */

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.screen-reader-text:focus, .skip-link:focus { position: fixed; left: 12px; top: 12px; width: auto; height: auto; clip-path: none; z-index: 200; padding: 12px 18px; background: var(--accent); color: var(--on-accent); font: 700 .9rem var(--f-head); }

/* prave slike unutar placeholder okvira */
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph.has-img::before, .ph.has-img::after { display: none; }
.ph .play { z-index: 2; }

/* admin bar i sticky meni */
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
@media (max-width: 600px) { .admin-bar .nav { top: 0; } }

/* varijante rasporeda iz opcija teme */
.np-no-aside .page { grid-template-columns: minmax(0, 1fr); }
.np-no-glow .brand { background: var(--bar); }
.duo.single { grid-template-columns: minmax(0, 1fr); }
.sl { position: relative; min-width: 0; }
.hero-l.static .seg.on i { animation: none; width: 100%; }

/* linkovi koji izgledaju kao dugmad */
a.chip { display: inline-flex; align-items: center; text-decoration: none; }
.np-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* podnožje: društvene mreže */
.soc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.soc a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--bar-line); color: var(--bar-ink); }
.soc a:hover { background: var(--bar-2); }
.foot .logo-f { display: inline-block; }
.foot-empty { color: var(--bar-dim); font-size: .85rem; }

/* anketa i newsletter */
.poll-q { margin: 0 0 14px; font: 700 1rem/1.3 var(--f-head); }
.news .err { margin: 10px 0 0; font-size: .85rem; color: var(--live); font-weight: 600; }
.wx-city .wx-days { padding-bottom: 12px; }
.box .note { padding-top: 0; }

/* ---------- članak i stranica ---------- */
.np-article { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.np-art-head { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--ink); padding-top: 14px; }
.np-art-head h1 { margin: 0; font: 800 clamp(2rem, 1.2rem + 2.8vw, 3.2rem)/1.06 var(--f-head); letter-spacing: -.015em; text-wrap: balance; }
.np-lede { margin: 0; color: var(--ink-2); font-size: 1.25rem; line-height: 1.5; max-width: 60ch; }
.np-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--ink-2); font-size: .875rem; }
.np-byline b { color: var(--ink); font-weight: 600; }
.np-byline span + span::before { content: "\00b7"; margin-right: 14px; color: var(--ink-2); }
.np-feature { position: relative; margin: 0; min-width: 0; }
.np-feature img { display: block; width: 100%; height: auto; }
.np-feature figcaption { font-size: .8125rem; color: var(--ink-2); padding-top: 8px; }
.entry-content { font-size: 1.1875rem; line-height: 1.75; max-width: 70ch; min-width: 0; overflow-wrap: anywhere; }
.entry-content > * { margin-top: 0; margin-bottom: 0; }
.entry-content > * + * { margin-top: 1.25em; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: var(--f-head); line-height: 1.2; letter-spacing: -.01em; }
.entry-content h2 { font-size: 1.7rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.35rem; margin-top: 1.6em; }
.entry-content h4 { font-size: 1.15rem; margin-top: 1.4em; }
.entry-content a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--accent); font: 600 1.3rem/1.4 var(--f-head); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption, .wp-caption-text { font-size: .8125rem; color: var(--ink-2); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.entry-content pre { overflow: auto; padding: 14px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; }
.entry-content iframe, .entry-content video { max-width: 100%; }
.entry-content .wp-block-embed__wrapper { position: relative; }
.alignleft { float: left; margin: 0 1.2em .6em 0; }
.alignright { float: right; margin: 0 0 .6em 1.2em; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide, .alignfull { max-width: 100%; }
.np-tags, .share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-h { font: 700 .72rem var(--f-head); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); margin-right: 4px; }
.share a, .share button { display: inline-flex; align-items: center; height: 36px; padding-inline: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 .8125rem var(--f-head); cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--accent); color: var(--accent-ink); }
.np-after { display: flex; flex-direction: column; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.np-related { margin-top: 12px; }
.np-empty { padding: 28px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.np-empty a { color: var(--accent-ink); text-decoration: underline; }
.np-empty form { margin-top: 16px; }

/* forma za pretragu (stranica pretrage i 404) */
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form input[type="search"] { flex: 1; min-width: 0; height: 44px; padding-inline: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; }
.search-form button { height: 44px; padding-inline: 20px; background: var(--accent); color: var(--on-accent); border: 0; font: 700 .875rem var(--f-head); cursor: pointer; }

/* paginacija */
.pagination { padding-block: 8px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding-inline: 12px; border: 1px solid var(--line); background: var(--surface); font: 700 .875rem var(--f-head); }
a.page-numbers:hover { border-color: var(--accent); }
.page-numbers.current { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.page-links { display: flex; gap: 8px; flex-wrap: wrap; font-weight: 600; }

/* komentari */
.comments-area { display: flex; flex-direction: column; gap: 20px; padding-top: 20px; border-top: 2px solid var(--ink); }
.comments-title, .comment-reply-title { margin: 0; font: 800 1.3rem/1.2 var(--f-head); }
.comment-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.comment-list .children { list-style: none; padding-left: 24px; margin-top: 16px; display: flex; flex-direction: column; gap: 16px; }
.comment-body { background: var(--surface); border: 1px solid var(--line); padding: 16px 18px; }
.comment-meta { font-size: .8125rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 8px; }
.comment-author .avatar { border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.comment-author .fn { font: 700 .95rem var(--f-head); }
.comment-content p { margin: 0 0 .8em; }
.reply a { font: 700 .8125rem var(--f-head); color: var(--accent-ink); }
.comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"], .comment-respond textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; }
.comment-respond label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 4px; }
.comment-respond .form-submit input { height: 44px; padding-inline: 22px; background: var(--accent); color: var(--on-accent); border: 0; font: 700 .875rem var(--f-head); cursor: pointer; }
.comment-form > p { margin: 0 0 14px; }

@media (max-width: 680px) {
  .entry-content { font-size: 1.0625rem; }
  .np-lede { font-size: 1.125rem; }
  .alignleft, .alignright { float: none; margin: 0 auto 1em; display: block; }
}

/* jedna glavna vijest bez bočnih vijesti */
.hero.hero--solo { grid-template-columns: minmax(0, 1fr); }
.np-nav-extra { display: contents; }
