/* ==========================================================================
   Dravograjčan — prenova »Ob sotočju« (nov. 2026)
   Lasten slog, brez Tailwinda. Naložen samo v templates/portals/dravograjcan/base.html.
   Znamka: petrolejska #093A3D, rdeča kljukica #F0472E samo v logotipu.
   Pisavi: Instrument Sans (naslovi, meni, oznake) + Red Hat Text (besedilo).
   Motiv: tri tanke linije (Meža, Mislinja, Drava), ki se zlijejo v eno —
   samo v glavi, pri naslovih sekcij in v nogi.
   Ob vsaki spremembi po javni objavi preimenuj datoteko (Bunny CDN ignorira ?v=).
   v2 (4. 11. 2026, pregled postavitve): pas na naslovnici brez osirotele plošče
   (od 1240 px vse v eni vrsti), besedilo članka in opis dogodka segata do desnega
   stolpca (1fr + 360 px, razmik 64 px), slike size-* na telefonu ne gledajo čez rob,
   na telefonu so podatki o dogodku pred podobnimi dogodki.
   v3 (4. 11. 2026): pri 4 ploščah v pasu ostanejo 3 v vrsti, »Najbolj brano« čez vso
   širino s seznamom v dveh stolpcih (4 ozke plošče so dale naslove v 5 vrsticah).
   v4 (4. 11. 2026): »Sorodne novice« in »Novice o prometu« v dveh stolpcih samo, ko je prostora dovolj.
   ========================================================================== */

@font-face {
  font-family: "Red Hat Fallback";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica");
  size-adjust: 100.4%; ascent-override: 101.4%; descent-override: 30.4%; line-gap-override: 0%;
}
@font-face {
  font-family: "Instrument Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Helvetica Bold");
  font-weight: 500 800;
  size-adjust: 98%; ascent-override: 99%; descent-override: 25%; line-gap-override: 0%;
}

:root {
  --petrol: #093A3D;
  --petrol-800: #0B4549;
  --petrol-700: #11585C;
  --petrol-600: #1A6B70;
  --petrol-950: #062729;
  --river: #7FB1B4;
  --river-300: #A9CBCD;
  --river-200: #CFE2E3;
  --river-100: #E3EEEF;
  --mist: #F1F6F6;
  --paper: #FFFFFF;
  --ink: #172C2E;
  --ink-2: #2E4446;
  --muted: #4E6466;
  --faint: #7A8D8F;
  --line: #DCE6E7;
  --line-2: #EAF0F0;
  --signal: #8A5509;
  --signal-bg: #FDF3DF;
  --signal-line: #E9BD6E;
  --sponsor: #5B4A99;
  --head: "Instrument Sans", "Instrument Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --text: "Red Hat Text", "Red Hat Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --gut: 16px;
  --r-sm: 8px;
  --r: 10px;
  --r-lg: 16px;
}
@media (min-width: 760px) { :root { --gut: 24px; } }
@media (min-width: 1024px) { :root { --gut: 32px; } }

/* --- Osnova (nizka specifičnost, da jo komponente vedno prepišejo) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.so {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  font-family: var(--text); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.so-main { flex: 1 0 auto; }
:where(.so) :where(h1, h2, h3, h4, h5, h6) {
  margin: 0; font-family: var(--head); font-weight: 600; color: var(--petrol);
  line-height: 1.2; letter-spacing: -0.01em;
}
:where(.so) :where(p, figure, blockquote, dl, dd) { margin: 0; }
:where(.so) :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(.so) a { color: inherit; text-decoration: none; }
:where(.so) img { display: block; max-width: 100%; height: auto; }
:where(.so) :where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(.so) button { cursor: pointer; }
:where(.so) [hidden] { display: none !important; }
.so ::selection { background: var(--river-200); color: var(--petrol); }
.so :focus-visible { outline: 2.5px solid var(--petrol-600); outline-offset: 2px; border-radius: 4px; }
.so-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.so-skip { position: absolute; left: 12px; top: -80px; z-index: 300; padding: 10px 16px; border-radius: var(--r-sm); background: var(--petrol); color: #fff !important; font: 600 15px/1.2 var(--head); }
.so-skip:focus { top: 12px; }
.so-ic { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -0.125em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.so-ic.fill { fill: currentColor; stroke: none; }

.so-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.so-wrap--read { max-width: 820px; }

/* --- Gumbi, polja ---------------------------------------------------------- */
.so-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--r);
  background: var(--petrol); color: #fff !important;
  font: 600 15.5px/1.1 var(--head); letter-spacing: 0; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease;
}
.so-btn:hover { background: var(--petrol-700); }
.so-btn--soft { background: var(--river-100); color: var(--petrol) !important; }
.so-btn--soft:hover { background: var(--river-200); }
.so-btn--ghost { background: transparent; color: var(--petrol) !important; box-shadow: inset 0 0 0 1.5px var(--line); }
.so-btn--ghost:hover { background: var(--mist); box-shadow: inset 0 0 0 1.5px var(--river-300); }
.so-btn--light { background: #fff; color: var(--petrol) !important; }
.so-btn--light:hover { background: var(--river-100); }
.so-btn--block { width: 100%; }
.so-btn--sm { min-height: 38px; padding: 0 14px; font-size: 14.5px; }
.so-btn .so-ic { width: 18px; height: 18px; }

.so-input {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1.5px solid #C6D6D7; border-radius: var(--r); background: #fff;
  font: 400 16px/1.3 var(--text); color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.so-input::placeholder { color: var(--faint); }
.so-input:focus { outline: none; border-color: var(--petrol-600); box-shadow: 0 0 0 3px rgba(17, 88, 92, .16); }
.so-input:disabled { background: var(--mist); color: var(--muted); }
textarea.so-input { min-height: 120px; resize: vertical; }
.so-label { display: block; margin: 0 0 6px; font: 600 14.5px/1.3 var(--head); color: var(--ink-2); }
.so-hint { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.so-err { margin-top: 6px; font-size: 14px; color: #A12A1B; }
.so-field + .so-field { margin-top: 16px; }
.so-check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.so-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--petrol); }
.so-check a { color: var(--petrol-700); text-decoration: underline; text-underline-offset: 2px; }

.so-alert { padding: 12px 14px; border-radius: var(--r); font-size: 15px; line-height: 1.45; background: var(--river-100); color: var(--petrol); }
.so-alert + .so-alert { margin-top: 8px; }
.so-alert--error { background: #FCE9E5; color: #8E2414; }
.so-alert--success { background: #E2F2EA; color: #1F5E3B; }
.so-alert--warning { background: var(--signal-bg); color: var(--signal); }

/* --- Motiv sotočja ---------------------------------------------------------- */
.so-flowrule { display: block; width: 100%; height: 16px; overflow: visible; }
.so-flowrule path { fill: none; stroke: var(--river-300); stroke-width: 1.25; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.so-flowrule .m { stroke: var(--petrol-700); stroke-width: 2.25; }
.so-fork { flex: none; width: 28px; height: 16px; color: var(--petrol-700); }

/* --- Glava: telefon --------------------------------------------------------- */
.so-mhead { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .97); transition: box-shadow .2s ease; }
@supports (backdrop-filter: blur(8px)) { .so-mhead { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); } }
.so-mhead.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 22px -18px rgba(9, 58, 61, .55); }
.so-mhead__bar { display: flex; align-items: center; gap: 2px; height: 56px; }
.so-logo { display: inline-flex; align-items: center; margin-right: auto; padding: 6px 0; border-radius: 6px; }
.so-logo img { height: 24px; width: auto; }
.so-ibtn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--petrol); transition: background-color .15s; }
.so-ibtn:hover { background: var(--mist); }
.so-ibtn .so-ic { width: 23px; height: 23px; stroke-width: 2.1; }
.so-ibtn--solid { background: var(--petrol); color: #fff; }
.so-ibtn--solid:hover { background: var(--petrol-700); }
.so-msearch { padding-bottom: 12px; }
.so-searchform { display: flex; gap: 8px; }
.so-searchform .so-input { min-height: 46px; }

.so-tabs { position: relative; background: #fff; }
.so-tabs__in { display: flex; gap: 2px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-inline: calc(var(--gut) - 10px) 28px; }
.so-tabs__in::-webkit-scrollbar { display: none; }
.so-tabs::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 32px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 80%); pointer-events: none; }
.so-tabs a { flex: none; position: relative; padding: 10px 10px 13px; font: 600 15.5px/1.2 var(--head); color: var(--ink-2); white-space: nowrap; border-radius: 8px; }
.so-tabs a[aria-current="page"] { color: var(--petrol); }
.so-tabs a[aria-current="page"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 5px; height: 2.5px; border-radius: 2px; background: var(--petrol); }

/* --- Glava: namizje --------------------------------------------------------- */
.so-dhead { display: none; }
@media (min-width: 1024px) {
  .so-mhead, .so-tabs { display: none; }
  .so-dhead { display: block; background: #fff; }
}
.so-mast { display: flex; align-items: center; gap: 24px; padding-top: 24px; padding-bottom: 14px; }
.so-mast .so-logo { margin-right: 0; }
.so-mast .so-logo img { height: 38px; }
.so-mast__tag { padding-left: 22px; border-left: 1px solid var(--line); font: 400 15px/1.35 var(--text); color: var(--muted); max-width: 210px; text-wrap: balance; }
.so-mast__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.so-today { display: flex; flex-direction: column; align-items: flex-end; margin-right: 8px; font-size: 14px; line-height: 1.35; color: var(--muted); white-space: nowrap; }
.so-today b { font-weight: 600; color: var(--ink-2); }
.so-dsearch { display: flex; align-items: center; width: 250px; height: 44px; padding: 0 4px 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.so-dsearch:focus-within { border-color: var(--petrol-600); box-shadow: 0 0 0 3px rgba(17, 88, 92, .14); }
.so-dsearch input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font-size: 15px; }
.so-dsearch input::placeholder { color: var(--faint); }
.so-dsearch button { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--petrol); color: #fff; }
.so-dsearch button .so-ic { width: 17px; height: 17px; stroke-width: 2.4; }
.so-nav { display: flex; align-items: center; gap: 2px; margin-left: -11px; }
.so-nav a { position: relative; padding: 12px 11px 13px; border-radius: 8px; font: 600 16px/1.1 var(--head); color: var(--ink-2); white-space: nowrap; }
.so-nav a:hover { color: var(--petrol); background: var(--mist); }
.so-nav a[aria-current="page"] { color: var(--petrol); }
.so-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2.5px; border-radius: 2px; background: var(--petrol); }
.so-nav__more { margin-left: auto; display: flex; gap: 2px; }
.so-nav__more a { font-weight: 500; font-size: 15px; color: var(--muted); }

/* --- Mobilni meni ----------------------------------------------------------- */
.so-menu { position: fixed; inset: 0; z-index: 150; display: flex; flex-direction: column; background: #fff; transform: translateX(100%); visibility: hidden; transition: transform .26s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .26s; }
.so-menu.is-open { transform: none; visibility: visible; transition: transform .26s cubic-bezier(.2, .7, .2, 1); }
@media (prefers-reduced-motion: reduce) { .so-menu, .so-menu.is-open { transition: none; } }
.so-menu__head { display: flex; align-items: center; height: 56px; padding-inline: var(--gut); border-bottom: 1px solid var(--line); }
.so-menu__head img { height: 24px; width: auto; margin-right: auto; }
.so-menu__body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 4px var(--gut) 28px; }
.so-menu__cats a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 2px; border-bottom: 1px solid var(--line-2); font: 600 20px/1.2 var(--head); color: var(--petrol); }
.so-menu__cats a .so-ic { width: 20px; height: 20px; color: var(--river); }
.so-menu__cats a[aria-current="page"] { color: var(--petrol-600); }
.so-menu__h { margin: 26px 0 10px; font: 600 14px/1.2 var(--head); color: var(--muted); }
.so-menu__quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.so-menu__quick a { display: flex; align-items: center; min-height: 50px; padding: 10px 14px; border-radius: 12px; background: var(--mist); font: 600 15.5px/1.2 var(--head); color: var(--petrol); }
.so-menu__small { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.so-menu__small a { padding: 6px 0; }
.so-menu__foot { display: flex; gap: 10px; padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.so-menu__foot .so-btn { flex: 1; }
html.so-lock, html.so-lock body { overflow: hidden; }

/* --- Oznake, čas, slike ----------------------------------------------------- */
.so-kick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 7px; font: 600 13.5px/1.2 var(--head); color: var(--petrol-700); }
.so-loc { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px 3px 7px; border-radius: 999px; background: var(--river-100); color: var(--petrol); font: 600 12.5px/1.15 var(--head); }
.so-loc .so-ic { width: 12px; height: 12px; stroke-width: 2.4; }
.so-loc.is-reg { padding: 0; background: none; color: var(--muted); font-weight: 500; }
.so-spon { color: var(--sponsor); }
.so-vipmark { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 6px; background: #FBF1D6; color: #6E5310; font: 700 12px/1.3 var(--head); }
.so-time { display: inline-block; font: 400 14px/1.35 var(--text); color: var(--muted); font-variant-numeric: tabular-nums; }

.so-img { position: relative; display: block; overflow: hidden; border-radius: var(--r); background: var(--river-100); isolation: isolate; }
.so-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.so-img.is-ph { background: var(--river-100) url("/static/images/dravograjcan/ph.svg?v=1") center / cover no-repeat; }
.r32 { aspect-ratio: 3 / 2; } .r43 { aspect-ratio: 4 / 3; } .r169 { aspect-ratio: 16 / 9; } .r1610 { aspect-ratio: 16 / 10; } .r11 { aspect-ratio: 1; }
.so-badges { position: absolute; left: 10px; top: 10px; z-index: 2; display: flex; gap: 6px; }
.so-badge { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px 5px 6px; border-radius: 7px; background: rgba(9, 58, 61, .88); color: #fff; font: 600 12px/1 var(--head); }
.so-badge .so-ic { width: 12px; height: 12px; }
.so-badge.f { background: rgba(255, 255, 255, .93); color: var(--petrol); }
.so-badges.lg .so-badge { padding: 7px 10px 7px 8px; font-size: 13px; }
.so-badges.lg .so-ic { width: 14px; height: 14px; }

/* naslovi zgodb */
.so-ttl { color: var(--petrol); text-wrap: balance; }
.so-ttl a { transition: color .12s; }
.so-ttl a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .16em; text-decoration-color: var(--river); }
.so-story { position: relative; }
.so-story .so-ttl a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.so-story:hover .so-img > img { filter: saturate(1.06) contrast(1.02); }
.so-t1 { font: 650 29px/1.1 var(--head); letter-spacing: -0.018em; }
.so-t2 { font: 600 21px/1.2 var(--head); letter-spacing: -0.012em; }
.so-t3 { font: 600 18.5px/1.24 var(--head); letter-spacing: -0.01em; }
.so-t4 { font: 600 16.5px/1.3 var(--head); letter-spacing: -0.005em; }
.so-ex { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
@media (min-width: 760px) { .so-t1 { font-size: 36px; } }
@media (min-width: 1024px) { .so-t1 { font-size: 44px; line-height: 1.06; } .so-t2 { font-size: 23px; } }

/* --- Naslov sekcije ---------------------------------------------------------- */
.so-sh { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.so-sh h2 { font: 600 22px/1.15 var(--head); letter-spacing: -0.012em; color: var(--petrol); }
.so-sh h2 a:hover { text-decoration: underline; text-underline-offset: .16em; text-decoration-thickness: 1.5px; text-decoration-color: var(--river); }
.so-more { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; padding: 8px 0 8px 8px; font: 600 14.5px/1 var(--head); color: var(--petrol-700); white-space: nowrap; }
.so-more .so-ic { width: 16px; height: 16px; stroke-width: 2.4; }
.so-more:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1024px) { .so-sh h2 { font-size: 24px; } }

/* --- Kartice in vrstice ---------------------------------------------------- */
.so-card { display: flex; flex-direction: column; }
.so-card .so-img { margin-bottom: 12px; }
.so-card .so-time { margin-top: 8px; }
.so-row { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 14px; align-items: start; }
.so-row .so-img { border-radius: var(--r-sm); }
.so-row .so-time { margin-top: 6px; }
.so-li { position: relative; padding: 12px 0; border-top: 1px solid var(--line-2); }
.so-li:first-child { border-top: 0; padding-top: 0; }
.so-li .so-time { margin-top: 5px; font-size: 13.5px; }
.so-li .so-kick { margin-bottom: 5px; }

/* --- Naslovnica: vrh -------------------------------------------------------- */
.so-home { padding-top: 16px; }
.so-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; }
.so-top > * { min-width: 0; }
@media (min-width: 1024px) { .so-top { grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; padding-top: 10px; } }
@media (min-width: 1240px) { .so-top { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; } }

.so-lead__media { display: block; margin-inline: calc(var(--gut) * -1); border-radius: 0; }
.so-lead__body { position: relative; z-index: 4; margin: -30px 22px 0 calc(var(--gut) * -1); padding: 16px 16px 0 var(--gut); border-radius: 0 18px 0 0; background: #fff; }
.so-lead .so-kick { margin-bottom: 9px; }
.so-lead__dek { margin-top: 12px; font-size: 17px; line-height: 1.55; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.so-lead .so-time { margin-top: 12px; }
@media (min-width: 760px) {
  .so-lead__media { margin-inline: 0; border-radius: var(--r-lg); }
  .so-lead__body { margin: -64px 18% 0 0; padding: 22px 30px 0 0; border-radius: 0 20px 0 0; }
  .so-lead__dek { font-size: 18.5px; -webkit-line-clamp: 3; }
}
.so-trio { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (min-width: 760px) {
  .so-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .so-trio .so-row { display: flex; flex-direction: column-reverse; justify-content: flex-end; align-items: stretch; gap: 12px; }
  .so-trio .so-row .so-img { aspect-ratio: 3 / 2; border-radius: var(--r); }
}

/* Najnovejše — tok novic z navpično »reko« */
.so-stream__day { margin: 18px 0 4px; padding-left: 66px; font: 600 13.5px/1.2 var(--head); color: var(--muted); }
.so-stream__day:first-of-type { margin-top: 2px; }
.so-stream ol { position: relative; }
.so-stream ol::before { content: ""; position: absolute; left: 53px; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--river-200); }
.so-si { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 22px; padding: 9px 0; }
.so-si::before { content: ""; position: absolute; left: 49px; top: 15px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--river); }
.so-si.is-local::before { background: var(--petrol-700); box-shadow: 0 0 0 2px #fff; }
.so-si__t { padding-top: 2px; font: 600 14px/1.4 var(--head); color: var(--petrol-700); text-align: right; font-variant-numeric: tabular-nums; }
.so-si .so-ttl { font: 600 16.5px/1.3 var(--head); color: var(--ink); text-wrap: pretty; }
.so-si__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 4px; font: 500 13px/1.2 var(--head); color: var(--muted); }
.so-si__meta .so-loc { font-size: 12px; padding: 2px 8px 2px 6px; }
.so-si__meta .so-ic { width: 13px; height: 13px; color: var(--petrol-700); }
.so-older { margin-top: 6px; }
.so-older > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; margin-left: 66px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--mist); font: 600 14.5px/1 var(--head); color: var(--petrol); cursor: pointer; }
.so-older > summary::-webkit-details-marker { display: none; }
.so-older > summary .so-ic { transition: transform .2s; }
.so-older[open] > summary .so-ic { transform: rotate(90deg); }
.so-older[open] > summary { margin-bottom: 4px; }

/* --- Pas: obvestila, dogodki, najbolj brano -------------------------------- */
.so-band { margin-top: 48px; padding: 36px 0 44px; background: var(--mist); }
.so-band__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
/* v2: prej auto-fit 320 px → pri 4 ploščah 3 + 1 sama v vrsti (luknja). Zdaj 2 stolpca (liha zadnja čez oba), od 1240 px vse v eni vrsti */
@media (min-width: 760px) {
  .so-band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .so-band__grid > .so-panel:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1100px) { .so-band__grid { gap: 22px; } }
@media (min-width: 1240px) {
  .so-band__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .so-band__grid > .so-panel:last-child:nth-child(odd) { grid-column: auto; }
  /* v3: 4 plošče → 3 v vrsti, četrta (najbolj brano) čez vso širino, seznam v dveh stolpcih (brez :has ostanejo 4 v vrsti) */
  .so-band__grid:has(> .so-panel:nth-child(4)) { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .so-band__grid:has(> .so-panel:nth-child(4)) > .so-panel:nth-child(4) { grid-column: 1 / -1; }
  .so-band__grid:has(> .so-panel:nth-child(4)) > .so-panel:nth-child(4) .so-rank { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); grid-auto-flow: column; column-gap: 48px; }
  .so-band__grid:has(> .so-panel:nth-child(4)) > .so-panel:nth-child(4) .so-rank li:nth-child(4) { border-top: 0; padding-top: 2px; }
}
.so-panel { display: flex; flex-direction: column; min-width: 0; padding: 20px 20px 14px; border-radius: var(--r-lg); background: #fff; }
.so-panel .so-sh { margin-bottom: 10px; }
.so-panel .so-sh h2 { font-size: 20px; }
.so-panel__foot { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.so-panel--notice { box-shadow: inset 0 4px 0 var(--signal-line); }
.so-panel--notice .so-fork { color: var(--signal); }
.so-nl li { position: relative; padding: 11px 0 11px 18px; border-top: 1px solid var(--line-2); }
.so-nl li:first-child { border-top: 0; padding-top: 4px; }
.so-nl li::before { content: ""; position: absolute; left: 1px; top: 18px; width: 8px; height: 8px; border-radius: 2px; background: var(--signal-line); transform: rotate(45deg); }
.so-nl li:first-child::before { top: 11px; }
.so-nl .so-ttl { font: 600 16px/1.3 var(--head); color: var(--ink); }
.so-nl .so-time { margin-top: 3px; font-size: 13.5px; }
.so-empty-note { padding: 6px 0 12px; color: var(--muted); font-size: 15px; }
.so-chiplink { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 13px; border-radius: 999px; background: var(--mist); font: 600 14px/1 var(--head); color: var(--petrol); }
.so-chiplink:hover { background: var(--river-100); }
.so-chiplink .so-ic { width: 16px; height: 16px; }
.so-panel--notice .so-chiplink { background: var(--signal-bg); color: var(--signal); }
.so-panel--notice .so-chiplink:hover { background: #FAE8C4; }

/* dogodek v vrstici z datumsko ploščico */
.so-evrow { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line-2); }
.so-evrow:first-child { border-top: 0; padding-top: 2px; }
.so-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 52px; height: 56px; border-radius: 12px; background: var(--river-100); color: var(--petrol); line-height: 1; }
.so-date b { font: 700 21px/1 var(--head); font-variant-numeric: tabular-nums; }
.so-date span { margin-top: 4px; font: 600 12px/1 var(--head); color: var(--petrol-700); }
.so-date.is-today { background: var(--petrol); color: #fff; }
.so-date.is-today span { color: var(--river-200); }
.so-evrow .so-ttl { font: 600 16px/1.3 var(--head); color: var(--ink); }
.so-evrow__meta { margin-top: 4px; font-size: 14px; line-height: 1.35; color: var(--muted); }

/* najbolj brano */
.so-rank { counter-reset: so-rank; }
.so-rank li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.so-rank li:first-child { border-top: 0; padding-top: 2px; }
.so-rank li::before { counter-increment: so-rank; content: counter(so-rank); font: 600 24px/1 var(--head); color: var(--river); font-variant-numeric: tabular-nums; }
.so-rank .so-ttl { font: 600 16px/1.3 var(--head); color: var(--ink); }

/* --- Naslovnica: rubrike ----------------------------------------------------- */
.so-rub { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px 32px; margin-top: 48px; }
.so-rub > * { min-width: 0; }
@media (min-width: 760px) { .so-rub { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .so-rub { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px 36px; } }
.so-cb__h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1.5px solid var(--petrol); }
.so-cb__h h2 { font: 600 21px/1.15 var(--head); letter-spacing: -0.01em; }
.so-cb__h .so-more { padding: 0; }
.so-cb .so-card { margin-bottom: 6px; }
.so-cb ul { margin-top: 4px; }
.so-cb ul .so-li:first-child { border-top: 1px solid var(--line-2); padding-top: 12px; }

/* --- Stranski stolpec (članek, rubrika) ------------------------------------- */
.so-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
.so-cols > * { min-width: 0; }
@media (min-width: 1024px) { .so-cols { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; } }
@media (min-width: 1240px) { .so-cols { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; } }
.so-rail { display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.so-rail__sticky { display: flex; flex-direction: column; gap: 30px; }
.so-rail .so-sh h2 { font-size: 19px; }
.so-rail .so-sh { margin-bottom: 8px; }
.so-latest li { padding: 10px 0; border-top: 1px solid var(--line-2); position: relative; }
.so-latest li:first-child { border-top: 0; padding-top: 0; }
.so-latest .so-ttl { font: 600 15.5px/1.3 var(--head); color: var(--ink); }
.so-latest .so-time { margin-top: 3px; font-size: 13.5px; }
.so-catlinks { display: flex; flex-wrap: wrap; gap: 8px; }
.so-catlinks a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; background: var(--mist); font: 600 14.5px/1 var(--head); color: var(--petrol); }
.so-catlinks a:hover { background: var(--river-100); }
.so-catlinks a[aria-current="page"] { background: var(--petrol); color: #fff; }

/* --- Glava podstrani (rubrika, iskanje, dogodki ...) ------------------------ */
.so-phead { padding: 22px 0 6px; }
.so-crumb { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.so-crumb a { color: var(--petrol-700); }
.so-crumb a:hover { text-decoration: underline; text-underline-offset: 2px; }
.so-crumb span[aria-hidden] { color: var(--river); }
.so-phead h1 { font: 650 32px/1.08 var(--head); letter-spacing: -0.018em; color: var(--petrol); }
.so-phead__lede { margin-top: 10px; max-width: 62ch; font-size: 17px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.so-phead .so-flowrule { margin-top: 20px; }
@media (min-width: 1024px) { .so-phead { padding-top: 34px; } .so-phead h1 { font-size: 44px; } }

/* rubrika: vodilna + seznam */
.so-catlead { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 8px 0 26px; border-bottom: 1px solid var(--line); }
.so-catlead .so-ex { font-size: 17px; }
@media (min-width: 760px) { .so-catlead { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: center; } .so-catlead .so-img { border-radius: var(--r-lg); } }
.so-list > li { padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.so-list .so-row { grid-template-columns: minmax(0, 1fr) 112px; gap: 16px; }
.so-list .so-ex { display: none; }
@media (min-width: 600px) {
  .so-list .so-row { grid-template-columns: 220px minmax(0, 1fr); gap: 22px; }
  .so-list .so-row .so-img { order: -1; border-radius: var(--r); }
  .so-list .so-ex { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15.5px; }
  .so-list .so-t4 { font-size: 19px; }
}

/* listanje */
.so-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 34px 0 8px; }
.so-pager a, .so-pager span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; font: 600 15.5px/1 var(--head); color: var(--petrol); background: var(--mist); }
.so-pager a:hover { background: var(--river-100); }
.so-pager [aria-current="page"] { background: var(--petrol); color: #fff; }
.so-pager .gap { background: none; min-width: 20px; padding: 0; color: var(--faint); }
.so-pager .so-ic { width: 18px; height: 18px; stroke-width: 2.4; }
.so-pager .wide { display: inline-flex; gap: 6px; }

/* prazno stanje */
.so-empty { padding: 44px 20px; border-radius: var(--r-lg); background: var(--mist); text-align: center; }
.so-empty h2 { font: 600 22px/1.2 var(--head); }
.so-empty p { margin: 8px auto 0; max-width: 46ch; color: var(--ink-2); }
.so-empty .so-btn { margin-top: 18px; }

/* --- Članek ------------------------------------------------------------------ */
.so-art { padding-top: 18px; }
.so-preview { padding: 10px 16px; background: var(--signal-bg); color: var(--signal); text-align: center; font: 600 15px/1.3 var(--head); }
.so-art__head .so-kick { margin-bottom: 12px; }
.so-art__h1 { font: 650 31px/1.1 var(--head); letter-spacing: -0.02em; color: var(--petrol); text-wrap: balance; }
.so-art__dek { margin-top: 14px; font: 400 19px/1.45 var(--text); color: var(--ink-2); }
.so-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.4; color: var(--muted); }
.so-byline b { font-weight: 700; color: var(--ink-2); }
.so-byline time { color: var(--ink-2); }
.so-share { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.so-share a, .so-share button { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 12px; background: var(--mist); color: var(--petrol); }
.so-share a:hover, .so-share button:hover { background: var(--river-100); }
.so-share .so-ic { width: 18px; height: 18px; }
.so-share .so-share__native { width: auto; padding: 0 14px; gap: 6px; display: none; font: 600 14.5px/1 var(--head); grid-auto-flow: column; }
.so-share.has-native .so-share__native { display: inline-grid; }
.so-share__msg { align-self: center; font: 600 13.5px/1 var(--head); color: var(--petrol-700); }
@media (min-width: 1024px) { .so-art { padding-top: 28px; } .so-art__h1 { font-size: 46px; line-height: 1.06; } .so-art__dek { font-size: 21px; } }

.so-art__fig { margin: 22px calc(var(--gut) * -1) 0; }
.so-art__fig .so-img { border-radius: 0; background: var(--petrol-950); }
.so-art__fig .so-img::before { content: ""; position: absolute; inset: -24px; background: var(--fill) center / cover no-repeat; filter: blur(22px) saturate(1.1); opacity: .5; }
.so-art__fig .so-img > img { z-index: 1; object-fit: contain; cursor: zoom-in; }
.so-cap { padding: 9px var(--gut) 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.so-cap b { font-weight: 600; color: var(--ink-2); }
.so-cap a { color: var(--petrol-700); text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 760px) { .so-art__fig { margin-inline: 0; } .so-art__fig .so-img { border-radius: var(--r-lg); } .so-cap { padding-inline: 0; } }

.so-gpref { margin: 22px 0 4px; }
.so-gpref a { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink-2); font: 600 14px/1.3 var(--head); }
.so-gpref a:hover { box-shadow: inset 0 0 0 1.5px var(--river-300); background: var(--mist); }
.so-gpref svg { width: 26px; height: 26px; flex: none; }

.so-lede { margin: 22px 0 0; font: 500 18.5px/1.55 var(--text); color: var(--ink); }
.so-lede a { color: var(--petrol-700); text-decoration: underline; text-underline-offset: 3px; }

/* vsebina članka (HTML iz urejevalnika) */
.so-body { margin-top: 22px; font-size: 18px; line-height: 1.65; color: var(--ink); overflow-wrap: break-word; }
.so-body, .so-lede, .so-art__after { max-width: 41rem; }
@media (min-width: 1024px) { .so-body { font-size: 19px; line-height: 1.64; } .so-lede { font-size: 20.5px; } }
/* v2: ob desnem stolpcu besedilo, video in oznake segajo čez ves stolpec (prej 41rem → ~180 px praznega pasu pred stolpcem) */
@media (min-width: 1024px) {
  .so-art .so-body, .so-art .so-lede, .so-art .so-art__after, .so-art .so-video, .so-art .so-fbvideo.is-land,
  .so-art .so-lock-video, .so-art .so-paywall, .so-evd .so-evd__desc { max-width: none; }
}
.so-body::after { content: ""; display: table; clear: both; }
.so-body p { margin: 0 0 1.05em; }
.so-body p:empty { display: none; }
.so-body :where(h2) { margin: 1.7em 0 .55em; font: 600 1.4em/1.2 var(--head); letter-spacing: -0.012em; color: var(--petrol); }
.so-body :where(h3) { margin: 1.5em 0 .5em; font: 600 1.18em/1.25 var(--head); color: var(--petrol); }
.so-body :where(h4, h5, h6) { margin: 1.3em 0 .4em; font: 600 1em/1.3 var(--head); color: var(--petrol); }
.so-body a { color: var(--petrol-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--river); }
.so-body a:hover { text-decoration-color: currentColor; }
.so-body strong, .so-body b { font-weight: 700; }
.so-body ul, .so-body ol { margin: 0 0 1.1em; padding-left: 1.35em; }
.so-body ul { list-style: disc; }
.so-body ol { list-style: decimal; }
.so-body li { margin: .35em 0; padding-left: .15em; }
.so-body li::marker { color: var(--petrol-700); }
.so-body li[data-list="bullet"] { list-style-type: disc; }
.so-body li[data-list="ordered"] { list-style-type: decimal; }
.so-body blockquote { margin: 1.5em 0; padding: .1em 0 .1em 1.1em; border-left: 3px solid var(--river); color: var(--ink-2); }
.so-body img { height: auto; max-width: 100%; margin: 1.3em 0; border-radius: var(--r); }
.so-body img.align-center, .so-body .ql-align-center img { margin-inline: auto; }
/* v2: min(…, 100%) — fiksna širina je prej prepisala 100 % in velika slika je na telefonu gledala čez rob (stran 616 px) */
.so-body img.size-small { max-width: min(200px, 100%); } .so-body img.size-medium { max-width: min(400px, 100%); } .so-body img.size-large { max-width: min(600px, 100%); }
.so-body img.size-full { max-width: 100%; clear: both; }
@media (min-width: 760px) {
  .so-body img.align-left { float: left; max-width: 45%; margin: .3em 1.6em 1em 0; }
  .so-body img.align-right { float: right; max-width: 45%; margin: .3em 0 1em 1.6em; }
}
.so-body figure { margin: 1.3em 0; }
.so-body figcaption { margin-top: 6px; font-size: 14px; color: var(--muted); }
.so-body .ql-align-center { text-align: center; }
.so-body .ql-align-right { text-align: right; }
.so-body .ql-align-justify { text-align: left; }
.so-body iframe { max-width: 100%; border: 0; }
.so-body table { display: block; width: 100%; max-width: 100%; overflow-x: auto; margin: 1.3em 0; border-collapse: collapse; font-size: 15.5px; line-height: 1.4; }
.so-body th, .so-body td { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.so-body th { font-family: var(--head); font-weight: 600; color: var(--petrol); background: var(--mist); }
.so-body hr { margin: 2em 0; border: 0; border-top: 1px solid var(--line); }
.so-body .youtube-embed { border-radius: var(--r); }
.so-body .kn-html-embed { display: flex; justify-content: center; margin: 1.5em auto; clear: both; }
.so-body .kn-html-embed iframe { display: block; max-width: 100%; margin: 0 auto; }
@media (max-width: 640px) { .so-body .kn-html-embed { width: 100%; } .so-body .kn-html-embed iframe { width: 100% !important; aspect-ratio: 16 / 9; height: auto !important; max-height: 60vh; } }
.so-body .kn-important { margin: 1.5em 0; padding: 16px 20px; border-radius: 14px; background: var(--petrol); color: #fff; font-weight: 600; }
.so-body .kn-important a { color: #fff; text-decoration-color: rgba(255, 255, 255, .6); }
.so-body .kn-important strong { font-family: var(--head); font-weight: 600; }
.so-body .kn-info { margin: 1.5em 0; padding: 16px 20px; border-radius: 14px; background: var(--mist); box-shadow: inset 3px 0 0 var(--petrol-600); color: var(--ink-2); }
.so-body .kn-warning { margin: 1.5em 0; padding: 16px 20px; border-radius: 14px; background: var(--signal-bg); box-shadow: inset 3px 0 0 var(--signal-line); color: #5E3A06; }
.so-body .kn-quote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--petrol-700); font: 500 1.12em/1.5 var(--head); color: var(--petrol); }
.so-body .kn-source { margin: 1em 0; padding-left: 12px; border-left: 2px solid var(--line); font-size: .88em; color: var(--muted); }
.so-body .vg-video-gallery, .so-body .wp-block-gallery, .so-body .kn-gallery-source { display: none !important; }
.so-body .kn-audio { margin: 1.6em 0; padding: 16px 18px 18px; border-radius: 14px; background: var(--petrol); color: #fff; }
.so-body .kn-audio-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.so-body .kn-audio-icon { width: 22px; height: 22px; flex: none; color: var(--river-300); }
.so-body .kn-audio-title { font: 600 16px/1.2 var(--head); }
.so-body .kn-audio audio { display: block; width: 100%; height: 44px; border-radius: 8px; }

/* galerija (sestavi jo JS iz .kn-gallery-source) */
.kn-gallery { margin: 1.6em 0; overflow: hidden; border-radius: 14px; background: var(--petrol-950); }
.kn-gallery-main { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--petrol-950); }
.kn-gallery-main img, .so-body .kn-gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; border-radius: 0; object-fit: contain; cursor: zoom-in; }
.kn-gallery-nav { position: absolute; top: 50%; z-index: 6; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--petrol); }
.kn-gallery-nav:hover { background: #fff; }
.kn-gallery-nav svg { width: 20px; height: 20px; stroke-width: 2.4; }
.kn-gallery-nav.prev { left: 12px; } .kn-gallery-nav.next { right: 12px; }
.kn-gallery-counter { position: absolute; right: 12px; bottom: 12px; z-index: 6; padding: 5px 10px; border-radius: 8px; background: rgba(6, 39, 41, .78); color: #fff; font: 600 13px/1 var(--head); font-variant-numeric: tabular-nums; }
.kn-gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px; background: var(--petrol-950); scrollbar-width: thin; }
.kn-gallery-thumb { flex: none; width: 92px; height: 66px; overflow: hidden; border: 2px solid transparent; border-radius: 8px; opacity: .6; cursor: pointer; background: #133c3f; }
.kn-gallery-thumb:hover { opacity: 1; }
.kn-gallery-thumb.active { opacity: 1; border-color: var(--river-300); }
.kn-gallery-thumb img, .so-body .kn-gallery-thumb img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; border-radius: 0; object-fit: cover; }
.kn-gallery-vip-thumb { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; opacity: 1; background: var(--petrol-700); color: #fff; font: 600 12px/1 var(--head); text-decoration: none !important; }
.kn-gallery-grid { display: grid; gap: 8px; margin: 1.5em 0; overflow: hidden; border-radius: var(--r); }
.kn-gallery-grid[data-columns="2"] { grid-template-columns: repeat(2, 1fr); }
.kn-gallery-grid[data-columns="3"] { grid-template-columns: repeat(3, 1fr); }
.kn-gallery-grid[data-columns="4"] { grid-template-columns: repeat(4, 1fr); }
.kn-gallery-grid[data-columns="5"] { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 640px) { .kn-gallery-grid[data-columns="4"], .kn-gallery-grid[data-columns="5"] { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .kn-gallery-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 4px; } }
.kn-gallery-grid-item { position: relative; aspect-ratio: 1; overflow: hidden; cursor: pointer; }
.kn-gallery-grid-item img, .so-body .kn-gallery-grid-item img { width: 100%; height: 100%; margin: 0; border-radius: 0; object-fit: cover; }

/* video */
.so-video { margin: 24px 0 0; overflow: hidden; border-radius: 14px; background: var(--petrol-950); max-width: 41rem; }
.so-video__title { display: flex; align-items: center; gap: 8px; padding: 11px 14px; color: #fff; font: 600 14.5px/1.3 var(--head); }
.so-video__title .so-ic { width: 16px; height: 16px; color: var(--river-300); }
.so-video__main { position: relative; aspect-ratio: 16 / 9; background: #000; }
.so-video__main iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.so-video__thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 10px 12px 12px; }
.so-video__thumb { flex: none; width: 150px; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .8); text-align: left; opacity: .75; }
.so-video__thumb:hover, .so-video__thumb.is-active { opacity: 1; }
.so-video__thumb img { width: 150px; height: 84px; object-fit: cover; border-radius: 8px; }
.so-video__thumb span { display: block; margin-top: 5px; overflow: hidden; font: 500 12.5px/1.3 var(--head); white-space: nowrap; text-overflow: ellipsis; }
.so-fbvideo { margin: 24px 0 0; max-width: 41rem; }
.so-fbvideo iframe { display: block; width: 100%; height: 100%; border: 0; overflow: hidden; border-radius: 14px; }
.so-fbvideo.is-portrait { max-width: 420px; height: 680px; margin-inline: auto; }
.so-fbvideo.is-land { aspect-ratio: 16 / 9; }

/* VIP plačljiva vsebina */
.so-lock-video { margin: 24px 0 0; max-width: 41rem; padding: 34px 22px; border-radius: 14px; background: var(--petrol-950); color: #fff; text-align: center; }
.so-lock-video h3, .so-paywall h3 { color: inherit; font: 600 21px/1.25 var(--head); }
.so-lock-video p { margin: 8px auto 18px; max-width: 42ch; color: var(--river-300); }
.so-fade { position: relative; }
.so-fade::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(rgba(255, 255, 255, 0), #fff 85%); pointer-events: none; }
.so-paywall { position: relative; z-index: 2; max-width: 41rem; margin: -18px 0 0; padding: 28px 22px; border-radius: var(--r-lg); background: var(--mist); box-shadow: inset 0 0 0 1.5px var(--river-200); text-align: center; color: var(--ink); }
.so-paywall h3 { color: var(--petrol); }
.so-paywall p { margin: 8px auto 0; max-width: 46ch; color: var(--ink-2); }
.so-paywall__perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0; }
.so-paywall__perks span { padding: 7px 12px; border-radius: 999px; background: #fff; font: 600 14px/1 var(--head); color: var(--petrol); }
.so-paywall__price { font: 700 30px/1 var(--head); color: var(--petrol); }
.so-paywall__price small { font: 500 15px/1 var(--text); color: var(--muted); }
.so-paywall__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }

/* preberi tudi */
.so-also { display: block; margin: 1.8em 0; }
.so-also a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px; border-radius: 14px; background: var(--mist); text-decoration: none !important; color: var(--ink) !important; }
.so-also a:hover { background: var(--river-100); }
.so-also img { width: 96px; height: 72px; margin: 0 !important; object-fit: cover; border-radius: 10px !important; }
.so-also__k { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font: 600 13px/1.2 var(--head); color: var(--petrol-700); }
.so-also__k .so-fork { width: 22px; height: 13px; }
.so-also__t { font: 600 16.5px/1.3 var(--head); color: var(--petrol); }
.so-also.no-img a { grid-template-columns: minmax(0, 1fr); padding: 14px 16px; }
@media (min-width: 600px) { .so-also a { grid-template-columns: 150px minmax(0, 1fr); gap: 18px; } .so-also img { width: 150px; height: 100px; } .so-also__t { font-size: 18px; } }

.so-art__after { margin-top: 26px; }
.so-source { font-size: 14.5px; color: var(--muted); }
.so-sponnote { margin-top: 16px; padding: 12px 14px; border-radius: var(--r); background: #EFEBF8; color: #3F3270; font-size: 15px; }
.so-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.so-tags__l { margin-right: 4px; font: 600 14px/1 var(--head); color: var(--muted); }
.so-tags a, .so-tags span.t { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 999px; background: var(--mist); font: 500 14px/1 var(--head); color: var(--petrol); }
.so-tags a:hover { background: var(--river-100); }

.so-related { margin-top: 40px; padding-top: 24px; border-top: 1.5px solid var(--petrol); }
.so-related__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
/* v4: dva stolpca šele, ko je vsak širok vsaj 320 px (pri 1024–1239 px je bil ozek → naslovi v 6–7 vrsticah) */
@media (min-width: 600px) { .so-related__grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; } }

/* komentarji (generira static/js/comments.js; utility razredi v dravograjcan-cm-v1.css) */
.so-comments { margin-top: 44px; }
.so-cwarn { margin-bottom: 20px; padding: 12px 14px; border-radius: var(--r); background: var(--signal-bg); color: #5E3A06; font-size: 14.5px; line-height: 1.5; }
.so-cwarn a { color: var(--signal); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
#comments-section { font-family: var(--text); }
#comments-section .comments-header { margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1.5px solid var(--petrol); }
#comments-section .comments-header h3 { font-family: var(--head); color: var(--petrol); }
#comments-section .comment > .flex { padding: 14px; border-radius: 12px; background: var(--mist); }
#comments-section textarea { border-radius: 12px !important; font-size: 16px; }
#comments-section textarea:focus { outline: none; border-color: var(--petrol-600) !important; box-shadow: 0 0 0 3px rgba(17, 88, 92, .16) !important; }
#comments-section button { font-family: var(--head); }
.so-cload { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 28px 0; color: var(--muted); }
.so-spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--river-200); border-top-color: var(--petrol-700); animation: so-spin 1s linear infinite; }
@keyframes so-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .so-spin { animation-duration: 3s; } }

/* --- Dogodki ----------------------------------------------------------------- */
.so-kdaj { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 18px calc(var(--gut) * -1) 0; padding: 0 var(--gut) 2px; }
.so-kdaj::-webkit-scrollbar { display: none; }
.so-kdaj a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--mist); font: 600 15px/1 var(--head); color: var(--petrol); }
.so-kdaj a:hover { background: var(--river-100); }
.so-kdaj a[aria-current="page"] { background: var(--petrol); color: #fff; }
.so-kdaj small { padding: 3px 7px; border-radius: 999px; background: rgba(9, 58, 61, .08); font: 700 12px/1 var(--head); }
.so-kdaj a[aria-current="page"] small { background: rgba(255, 255, 255, .18); }
.so-evcats { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font: 600 14.5px/1.2 var(--head); }
.so-evcats a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 0; color: var(--ink-2); }
.so-evcats a:hover { color: var(--petrol); text-decoration: underline; text-underline-offset: 3px; }
.so-evcats a[aria-current="page"] { color: var(--petrol); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.so-evcats i { width: 9px; height: 9px; border-radius: 50%; background: var(--cc, var(--river)); }
.so-evfeat { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 28px; }
@media (min-width: 760px) { .so-evfeat { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.so-evcard .so-img { margin-bottom: 12px; }
.so-evcard__when { font: 600 14px/1.3 var(--head); color: var(--petrol-700); }
.so-evcard .so-ttl { margin-top: 5px; }
.so-evcard__where { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.so-agenda { margin-top: 30px; }
.so-agenda__day { position: sticky; top: 56px; z-index: 5; margin: 0 calc(var(--gut) * -1); padding: 10px var(--gut); background: rgba(255, 255, 255, .95); font: 600 16px/1.2 var(--head); color: var(--petrol); border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .so-agenda__day { top: 0; margin: 0; padding: 12px 0; } }
.so-agenda__day small { margin-left: 6px; font: 500 14px/1 var(--text); color: var(--muted); }
.so-ev { position: relative; display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.so-ev__time { padding-top: 2px; font: 600 15px/1.3 var(--head); color: var(--petrol-700); font-variant-numeric: tabular-nums; }
.so-ev .so-ttl { font: 600 17.5px/1.28 var(--head); color: var(--ink); }
.so-ev__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 14.5px; line-height: 1.35; color: var(--muted); }
.so-ev__meta span { display: inline-flex; align-items: center; gap: 6px; }
.so-ev__meta i { width: 8px; height: 8px; border-radius: 50%; background: var(--cc, var(--river)); }
.so-ev__free { color: #1F5E3B; font-weight: 600; }
.so-ev__pic { width: 88px; height: 66px; border-radius: 10px; }
@media (min-width: 760px) { .so-ev { grid-template-columns: 74px minmax(0, 1fr) auto; gap: 20px; } .so-ev__pic { width: 132px; height: 88px; } .so-ev .so-ttl { font-size: 19px; } }
.so-tag-now { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 6px; background: var(--petrol); color: #fff; font: 600 12px/1.2 var(--head); }
.so-tag-soft { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 6px; background: var(--river-100); color: var(--petrol); font: 600 12px/1.2 var(--head); }
.so-tag-off { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 6px; background: #FCE9E5; color: #8E2414; font: 600 12px/1.2 var(--head); }

/* dogodek */
.so-evd { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 6px; }
.so-evd > * { min-width: 0; }
/* v2: podobni dogodki so svoj otrok mreže — na telefonu pridejo za podatki (prej čisto na dnu pod njimi), na namizju ostanejo levo */
.so-evd > .so-related { margin-top: 12px; }
@media (min-width: 1024px) {
  .so-evd { grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: auto 1fr; column-gap: 56px; row-gap: 0; align-items: start; }
  .so-evd > .so-facts { grid-column: 2; grid-row: 1 / span 2; }
  .so-evd > .so-related { grid-column: 1; margin-top: 40px; }
}
@media (min-width: 1240px) { .so-evd { column-gap: 64px; } }
.so-evd__img { border-radius: var(--r-lg); }
.so-evd__cap { margin-top: 8px; font-size: 14px; color: var(--muted); }
.so-evd__desc { margin-top: 22px; }
.so-facts { padding: 20px; border-radius: var(--r-lg); background: var(--mist); }
@media (min-width: 1024px) { .so-facts { position: sticky; top: 20px; } }
.so-facts dl { display: grid; gap: 14px; }
.so-facts dt { font: 600 13.5px/1.2 var(--head); color: var(--muted); }
.so-facts dd { margin-top: 3px; font-size: 16px; line-height: 1.4; color: var(--ink); }
.so-facts dd a { color: var(--petrol-700); text-decoration: underline; text-underline-offset: 2px; }
.so-facts .so-btn { margin-top: 16px; }
.so-facts__acts { display: grid; gap: 8px; margin-top: 18px; }
.so-map { margin-top: 16px; overflow: hidden; border-radius: 12px; }
.so-map iframe { display: block; width: 100%; height: 220px; border: 0; }

/* koledar */
.so-cal { margin-top: 24px; max-width: 760px; }
.so-cal__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.so-cal__nav h2 { font: 600 24px/1.2 var(--head); }
.so-cal table { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.so-cal th { padding: 6px 0; font: 600 13px/1 var(--head); color: var(--muted); }
.so-cal td { height: 54px; padding: 0; text-align: center; vertical-align: middle; }
.so-cal td a, .so-cal td span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 100%; height: 100%; min-height: 48px; border-radius: 12px; font: 600 16px/1 var(--head); color: var(--ink-2); }
.so-cal td a { background: var(--mist); }
.so-cal td a.has { background: var(--river-100); color: var(--petrol); }
.so-cal td a.has::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--petrol-700); }
.so-cal td a:hover { background: var(--river-200); }
.so-cal td a.is-today { box-shadow: inset 0 0 0 2px var(--petrol-700); }
.so-cal td a[aria-current="date"] { background: var(--petrol); color: #fff; }
.so-cal td a[aria-current="date"]::after { background: #fff; }

/* --- Videoteka --------------------------------------------------------------- */
.so-vt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 8px; }
.so-vt > * { min-width: 0; }
@media (min-width: 1024px) { .so-vt { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; } }
.so-vt__player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg); background: #000; }
.so-vt__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.so-vt__info { margin-top: 18px; }
.so-vt__info h2 { font: 650 25px/1.15 var(--head); letter-spacing: -0.014em; }
.so-vt__info p { margin-top: 10px; color: var(--ink-2); }
.so-vt__info .so-btn { margin-top: 16px; }
.so-vt__also { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.so-vt__also li { margin-top: 6px; }
.so-vt__also a { color: var(--petrol-700); text-decoration: underline; text-underline-offset: 2px; }
.so-vt__list h2 { font: 600 19px/1.2 var(--head); margin-bottom: 12px; }
.so-vt__list h2 small { font: 500 14px var(--text); color: var(--muted); }
.so-vt__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
@media (min-width: 760px) { .so-vt__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .so-vt__grid { grid-template-columns: 1fr; gap: 4px; max-height: calc(100vh - 140px); overflow-y: auto; padding-right: 6px; } }
.so-vthumb { position: relative; display: block; border-radius: 12px; padding: 0; }
.so-vthumb .so-img { border-radius: 10px; }
.so-vthumb .so-play { position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--petrol); }
.so-vthumb .so-play .so-ic { width: 16px; height: 16px; margin-left: 2px; }
.so-vthumb h3 { margin-top: 7px; font: 600 14.5px/1.3 var(--head); color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.so-vthumb .so-time { font-size: 13px; margin-top: 3px; }
.so-vthumb[aria-current="true"] h3 { color: var(--petrol-700); }
.so-vthumb[aria-current="true"] .so-img { box-shadow: 0 0 0 3px var(--petrol-700); }
@media (min-width: 1024px) {
  .so-vthumb { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 12px; padding: 8px; align-items: start; }
  .so-vthumb:hover { background: var(--mist); }
  .so-vthumb h3 { margin-top: 0; }
  .so-vthumb .so-play { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
  .so-vthumb[aria-current="true"] { background: var(--river-100); }
  .so-vthumb[aria-current="true"] .so-img { box-shadow: none; }
}

/* --- Zaposlitev --------------------------------------------------------------- */
.so-jobs-search { display: flex; gap: 8px; margin-top: 18px; max-width: 620px; }
.so-jobcount { margin: 20px 0 4px; font-size: 15px; color: var(--muted); }
.so-job { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.so-job__logo { display: grid; place-items: center; width: 52px; height: 52px; overflow: hidden; border-radius: 12px; background: var(--mist); color: var(--river); }
.so-job__logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.so-job__logo .so-ic { width: 24px; height: 24px; }
.so-job .so-ttl { font: 600 17.5px/1.3 var(--head); color: var(--ink); }
.so-job__co { margin-top: 3px; font: 600 15px/1.3 var(--head); color: var(--petrol-700); }
.so-job__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.so-job__desc { margin-top: 6px; font-size: 15px; color: var(--ink-2); display: none; }
@media (min-width: 760px) { .so-job { grid-template-columns: 64px minmax(0, 1fr); gap: 18px; } .so-job__logo { width: 64px; height: 64px; } .so-job__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } }
.so-srcnote { margin-top: 22px; font-size: 14px; color: var(--muted); }
.so-srcnote a { color: var(--petrol-700); text-decoration: underline; text-underline-offset: 2px; }

/* --- Statične strani ---------------------------------------------------------- */
.so-page { padding-bottom: 12px; }
.so-page .so-body { max-width: 44rem; }
.so-contact { margin-top: 30px; max-width: 44rem; padding: 22px; border-radius: var(--r-lg); background: var(--mist); }
.so-contact h2 { font: 600 20px/1.2 var(--head); }
.so-contact p { margin-top: 6px; color: var(--ink-2); }
.so-contact__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* --- Prijava / račun ------------------------------------------------------------ */
.so-authwrap { padding-top: 28px; padding-bottom: 8px; }
.so-auth { max-width: 460px; margin: 0 auto; padding: 26px 22px; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(9, 58, 61, .05), 0 18px 40px -28px rgba(9, 58, 61, .4), inset 0 0 0 1px var(--line); }
@media (min-width: 600px) { .so-auth { padding: 34px 36px; } }
.so-auth h1 { font: 650 30px/1.1 var(--head); letter-spacing: -0.018em; }
.so-auth__lede { margin-top: 8px; color: var(--ink-2); }
.so-auth form { margin-top: 22px; }
.so-auth .so-alerts { margin-top: 18px; }
.so-auth__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.so-auth__row a { color: var(--petrol-700); font-size: 15px; text-decoration: underline; text-underline-offset: 2px; }
.so-or { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--muted); font-size: 14px; }
.so-or::before, .so-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.so-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font: 600 15.5px/1 var(--head); color: var(--ink) !important; }
.so-google:hover { background: var(--mist); }
.so-google svg { width: 20px; height: 20px; }
.so-auth__alt { margin-top: 22px; text-align: center; color: var(--ink-2); }
.so-auth__alt a { color: var(--petrol-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.so-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.so-acct { max-width: 680px; }
.so-acct section { margin-top: 26px; padding: 22px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.so-acct section h2 { font: 600 19px/1.2 var(--head); margin-bottom: 16px; }
.so-acct__google { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.so-acct__google div { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.so-acct__google svg { width: 22px; height: 22px; }
.so-ok { color: #1F5E3B; font-size: 14px; font-weight: 600; }
.so-linkbtn { padding: 8px 0; border: 0; background: none; font: 600 15px/1 var(--head); color: var(--petrol-700); text-decoration: underline; text-underline-offset: 3px; }
.so-linkbtn.danger { color: #A12A1B; }
.so-acct__end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; }

/* --- Napake ---------------------------------------------------------------------- */
.so-error { padding-top: 40px; padding-bottom: 8px; text-align: left; }
.so-error .so-flowrule { max-width: 520px; height: 26px; margin-bottom: 26px; }
.so-error h1 { font: 650 34px/1.1 var(--head); letter-spacing: -0.018em; }
.so-error p { margin-top: 12px; max-width: 52ch; font-size: 17px; color: var(--ink-2); }
.so-error .so-searchform { margin-top: 22px; max-width: 520px; }
.so-error .so-catlinks { margin-top: 22px; }
@media (min-width: 1024px) { .so-error { padding-top: 64px; } .so-error h1 { font-size: 48px; } }

/* --- Promet -------------------------------------------------------------------- */
.so-traffic { display: grid; gap: 12px; }
.so-tev { padding: 16px 18px; border-radius: 14px; background: var(--mist); }
.so-tev.r { background: #FCEDE9; }
.so-tev.is-here { box-shadow: inset 0 0 0 2px var(--petrol-700); }
.so-tev__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; font: 600 17px/1.3 var(--head); color: var(--petrol); }
.so-tev__h em { font-style: normal; font: 600 12.5px/1 var(--head); padding: 4px 7px; border-radius: 6px; background: #fff; color: var(--ink-2); }
.so-tev__s { margin-top: 5px; font: 600 14.5px/1.35 var(--head); color: var(--ink-2); }
.so-tev.r .so-tev__s { color: #8E2414; }
.so-tev p { margin-top: 6px; font-size: 15.5px; color: var(--ink-2); }
.so-tsum { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* --- Noga ----------------------------------------------------------------------- */
.so-foot { position: relative; margin-top: 72px; background: var(--petrol); color: #CFE2E3; }
.so-foot__flow { display: block; width: 100%; height: 64px; }
.so-foot__flow path { fill: none; stroke: rgba(169, 203, 205, .34); stroke-width: 1.3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.so-foot__flow .m { stroke: rgba(255, 255, 255, .6); stroke-width: 2.3; }
.so-foot__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; padding: 10px 0 40px; }
.so-foot__brand, .so-foot__info { grid-column: 1 / -1; }
.so-foot__info ul { columns: 2; column-gap: 20px; }
.so-foot__info li { break-inside: avoid; }
@media (min-width: 760px) { .so-foot__grid { grid-template-columns: 1.3fr 1fr 1fr; } .so-foot__brand { grid-column: auto; } .so-foot__info { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .so-foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; } .so-foot__info { grid-column: auto; } .so-foot__info ul { columns: 1; } }
.so-foot__brand img { height: 32px; width: auto; }
.so-foot__brand p { margin-top: 14px; max-width: 36ch; font-size: 15.5px; line-height: 1.5; }
.so-foot h2 { margin-bottom: 12px; font: 600 15px/1.2 var(--head); color: #fff; letter-spacing: 0; }
.so-foot li { margin: 0 0 8px; }
.so-foot li a, .so-foot__bar a { color: #D9EAEB; }
.so-foot li a:hover, .so-foot__bar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.so-foot li button { padding: 0; border: 0; background: none; color: #D9EAEB; text-align: left; }
.so-foot li button:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.so-social { display: flex; gap: 8px; margin-top: 18px; }
.so-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; }
.so-social a:hover { background: rgba(255, 255, 255, .16); }
.so-social .so-ic { width: 19px; height: 19px; }
.so-foot__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 0 calc(26px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; color: #B9D3D5; }
.so-foot :focus-visible { outline-color: #fff; }

/* --- Deljeni gradniki drugih predlog (novičnik, push) v barvah portala ---------- */
#knl-popup { --knl-accent: #093A3D !important; font-family: var(--text) !important; }
#knpush-optin { --knpush-accent: #093A3D !important; font-family: var(--text) !important; }
.goverlay { background: rgba(6, 39, 41, .94) !important; }

/* --- Tisk ------------------------------------------------------------------------ */
@media print {
  .so-mhead, .so-dhead, .so-tabs, .so-flowrule, .so-foot, .so-rail, .so-share, .so-comments, .so-related, .so-gpref, #knl-popup, #knpush-optin { display: none !important; }
  .so-cols { display: block; }
  body.so { color: #000; }
}

/* --- Glava: ožja namizja ----------------------------------------------------- */
@media (min-width: 1024px) and (max-width: 1359px) { .so-mast__tag { display: none; } }
@media (min-width: 1024px) and (max-width: 1179px) { .so-today { display: none; } .so-nav__more .xl { display: none; } .so-dsearch { width: 210px; } }

/* --- Komentarji: minimalen »preflight« samo znotraj sekcije (comments.js pričakuje Tailwind) --- */
:where(#comments-section) *, :where(#comments-section) ::before, :where(#comments-section) ::after { border-width: 0; border-style: solid; border-color: var(--line); }
:where(#comments-section) button { background: transparent; padding: 0; line-height: inherit; }
:where(#comments-section) :where(svg) { display: inline-block; vertical-align: middle; }
:where(#comments-section) :where(textarea, input) { border-width: 1px; }
.so-alerts { display: grid; gap: 8px; margin-top: 16px; }
.so-catlead .so-ex { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* --- Naslovnica: srednje širine ---------------------------------------------- */
@media (min-width: 760px) and (max-width: 1023px) { .so-stream { max-width: 760px; } }
@media (min-width: 1024px) and (max-width: 1239px) {
  .so-trio { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .so-trio .so-row { display: grid; grid-template-columns: minmax(0, 1fr) 168px; gap: 18px; }
  .so-trio .so-row .so-img { aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
}
@media (max-width: 759px) {
  .so-evcats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .so-evcats::-webkit-scrollbar { display: none; }
  .so-evcats a { flex: none; white-space: nowrap; }
}
