/* ==========================================================================
   Slovenjgradčan — »Kulturna revija« (prenova nov. 2026)
   Slonokoščen papir, slivova in temno črnilo, Gloock za naslove,
   Spectral za branje, Spectral SC za oznake, Figtree za vmesnik.
   Znak: slike v »paspartuju« (galerijski okvir) samo pri glavni zgodbi
   in v pasu Kultura. Brez Tailwinda; ob spremembi po objavi zamenjaj ime (v1→v2).
   ========================================================================== */

:root {
    --paper: #FBF7F2;
    --paper-2: #F3ECE3;
    --paper-3: #E9DFD3;
    --card: #FFFDF9;
    --ink: #211A20;
    --ink-2: #564B52;
    --ink-3: #6E636A;
    --plum: #4A1D3A;
    --plum-d: #36122A;
    --plum-l: #75405F;
    --plum-wash: #F2E7ED;
    --on-plum: #F8F0EB;
    --on-plum-2: #D8C3CE;
    --rule: #DFD5CA;
    --rule-2: #C8B9AB;
    --ok: #2F6B45;
    --warn: #8A5A12;
    --err: #9B2C2C;

    --f-display: "Gloock", "Iowan Old Style", Georgia, serif;
    --f-text: "Spectral", "Iowan Old Style", Georgia, serif;
    --f-sc: "Spectral SC", "Spectral", Georgia, serif;
    --f-ui: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --wrap: 1240px;
    --gut: 16px;
    --gap: 20px;
    --radius: 2px;
}
@media (min-width: 760px) { :root { --gut: 28px; --gap: 28px; } }
@media (min-width: 1240px) { :root { --gut: 32px; --gap: 36px; } }

/* --- Osnova ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; touch-action: manipulation; scroll-behavior: smooth; }
body.sg {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--f-text);
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-variant-numeric: lining-nums;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
/* ničelna specifičnost (:where), da ne povozi razredov komponent */
:where(.sg) img, :where(.sg) svg, :where(.sg) video, :where(.sg) iframe { max-width: 100%; }
:where(.sg) img { height: auto; display: block; }
:where(.sg) :is(h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl, dd) { margin: 0; }
:where(.sg) :is(ul, ol) { padding: 0; }
:where(.sg) a { color: inherit; text-decoration: none; }
:where(.sg) button { font: inherit; color: inherit; }
:where(.sg) :is(input, select, textarea) { font: inherit; color: inherit; }
::selection { background: var(--plum); color: var(--on-plum); }
:where(.sg) :focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 1px; }
:where(.sg-plum, .sg-foot, .sg-menu) :focus-visible { outline-color: var(--on-plum); }
.sg-main { flex: 1 0 auto; outline: none; }
.sg-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.sg-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; }
.sg-skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--plum); color: var(--on-plum) !important; padding: 10px 16px; font: 600 15px/1 var(--f-ui); }
.sg-skip:focus { top: 12px; }

/* --- Oznake, meta, gumbi ------------------------------------------------ */
.sg-kick {
    display: inline-block;
    font-family: var(--f-sc);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: .055em;
    color: var(--plum);
}
a.sg-kick:hover { text-decoration: underline; text-underline-offset: 3px; }
.sg-kick--ad { color: var(--warn); }
.sg-kick--ad::before { content: ""; display: inline-block; width: 7px; height: 7px; border: 1.5px solid currentColor; transform: rotate(45deg); margin: 0 .45em .12em 0; }
.sg-meta {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 0;
    font-family: var(--f-ui); font-size: 13px; line-height: 1.4; color: var(--ink-3);
    font-variant-numeric: tabular-nums;
}
.sg-meta > * + * { margin-left: .6em; padding-left: .6em; border-left: 1px solid var(--rule-2); }
.sg-place { white-space: nowrap; }
.sg-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 44px; padding: 0 20px;
    font: 600 15px/1 var(--f-ui); letter-spacing: .01em;
    background: var(--plum); color: var(--on-plum) !important;
    border: 1px solid var(--plum); border-radius: var(--radius); cursor: pointer;
    transition: background-color .15s ease;
}
.sg-btn:hover { background: var(--plum-d); }
.sg-btn--line { background: transparent; color: var(--plum) !important; }
.sg-btn--line:hover { background: var(--plum-wash); }
.sg-btn--light { background: var(--on-plum); color: var(--plum) !important; border-color: var(--on-plum); }
.sg-btn--light:hover { background: #fff; }
.sg-btn--line-light { background: transparent; color: var(--on-plum) !important; border-color: rgba(248, 240, 235, .5); }
.sg-btn--line-light:hover { background: rgba(255, 255, 255, .08); }
.sg-btn--block { width: 100%; }
.sg-linkbtn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; }
.sg-more { font: 600 14px/1.2 var(--f-ui); color: var(--plum); white-space: nowrap; }
.sg-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.sg-iconbtn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink);
    border-radius: 50%; cursor: pointer; flex: none;
}
.sg-iconbtn:hover { background: var(--paper-2); }

/* --- Zgornji pas ------------------------------------------------------- */
.sg-strip { display: none; }
@media (min-width: 1024px) {
    .sg-strip { display: block; border-bottom: 1px solid var(--rule); font: 500 13px/1 var(--f-ui); color: var(--ink-2); }
    .sg-strip__in { display: flex; align-items: center; gap: 24px; height: 38px; }
    .sg-strip__date { flex: none; }
    .sg-strip__top { flex: 1; min-width: 0; margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
    .sg-strip__top span { font-family: var(--f-sc); font-weight: 600; font-size: 13px; letter-spacing: .05em; color: var(--plum); margin-right: 6px; }
    .sg-strip__top a:hover { text-decoration: underline; text-underline-offset: 2px; }
    .sg-strip__date + .sg-strip__wx, .sg-strip__date + .sg-strip__links { margin-left: auto; }
    .sg-strip__wx, .sg-strip__links { flex: none; }
    .sg-strip__wx b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
    .sg-strip__links { display: flex; align-items: center; gap: 20px; }
    .sg-strip__links a:hover, .sg-strip__links .sg-linkbtn:hover { color: var(--plum); }
    .sg-strip__user { font-weight: 600; color: var(--plum); }
}

/* --- Glava -------------------------------------------------------------- */
.sg-mast { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid var(--rule); }
.sg-mast__in { display: flex; align-items: center; height: 56px; gap: 8px; }
.sg-logo { display: block; margin-right: auto; padding: 6px 0; }
.sg-logo img { height: 24px; width: auto; }
.sg-mast__tools { display: flex; align-items: center; margin-right: -10px; }
@media (min-width: 380px) { .sg-logo img { height: 26px; } }
@media (min-width: 1024px) {
    .sg-mast { position: static; border-bottom: 0; }
    .sg-mast__in { height: auto; justify-content: center; padding-top: 30px; padding-bottom: 24px; }
    .sg-logo { margin: 0; padding: 0; }
    .sg-logo img { height: 46px; }
    .sg-mast__tools { display: none; }
}

/* Navigacija: mobilno vodoravni trak, namizno vrstica pod glavo (prilepljena) */
.sg-nav { background: var(--paper); border-bottom: 1px solid var(--rule); position: relative; }
.sg-nav::after { content: ""; position: absolute; top: 0; right: 0; bottom: 1px; width: 36px; background: linear-gradient(90deg, rgba(251, 247, 242, 0), var(--paper)); pointer-events: none; }
.sg-nav__in { display: flex; align-items: center; padding-right: 0; }
.sg-nav__mark, .sg-nav__search { display: none; }
.sg-nav__list {
    display: flex; gap: 22px; list-style: none; margin: 0; padding: 0 28px 0 0;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; flex: 1; min-width: 0;
}
.sg-nav__list::-webkit-scrollbar { display: none; }
.sg-nav__list a {
    display: block; padding: 11px 0 10px; white-space: nowrap;
    font-family: var(--f-sc); font-weight: 600; font-size: 15px; letter-spacing: .05em; color: var(--ink);
    border-bottom: 2px solid transparent;
}
.sg-nav__list a:hover { color: var(--plum); }
.sg-nav__list a[aria-current="page"] { color: var(--plum); border-bottom-color: var(--plum); }
@media (min-width: 1024px) {
    .sg-nav { position: sticky; top: 0; z-index: 60; border-top: 1px solid var(--ink); border-bottom: 3px double var(--ink); }
    .sg-nav::after { display: none; }
    .sg-nav__in { padding-right: var(--gut); min-height: 50px; }
    .sg-nav__list { justify-content: center; gap: 34px; padding: 0; overflow: visible; }
    .sg-nav__list a { padding: 14px 0 12px; font-size: 16px; }
    .sg-nav__mark { display: block; width: 0; overflow: hidden; opacity: 0; transition: width .2s ease, opacity .2s ease, margin .2s ease; }
    .sg-nav__mark img { width: 30px; height: 30px; }
    .sg-nav.is-stuck .sg-nav__mark { width: 30px; opacity: 1; margin-right: 26px; }
    .sg-nav__search { display: inline-flex; margin-left: 18px; margin-right: -10px; }
    .sg-nav.is-stuck { box-shadow: 0 1px 0 var(--rule); }
}
@media (min-width: 1024px) and (max-width: 1180px) { .sg-nav__list { gap: 22px; } }

.sg-search { background: var(--paper-2); border-bottom: 1px solid var(--rule); }
.sg-search__form { display: flex; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
.sg-search input {
    flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--rule-2); background: var(--card);
    border-radius: var(--radius); font-family: var(--f-text); font-size: 18px;
}
.sg-search input:focus { outline: 2px solid var(--plum); outline-offset: 0; border-color: var(--plum); }
@media (min-width: 1024px) { .sg-search { position: sticky; top: 54px; z-index: 59; } }

/* Mobilni meni */
.sg-menu {
    position: fixed; inset: 0; z-index: 120; background: var(--plum); color: var(--on-plum);
    display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
}
.sg-menu[hidden] { display: none; }
.sg-menu__head { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 6px 0 var(--gut); border-bottom: 1px solid rgba(248, 240, 235, .16); flex: none; }
.sg-menu__head img { height: 24px; width: auto; }
.sg-menu .sg-iconbtn { color: var(--on-plum); }
.sg-menu .sg-iconbtn:hover { background: rgba(255, 255, 255, .08); }
.sg-menu__nav { display: flex; flex-direction: column; padding: 10px var(--gut) 18px; }
.sg-menu__nav a { font-family: var(--f-display); font-size: 30px; line-height: 1.15; padding: 9px 0; border-bottom: 1px solid rgba(248, 240, 235, .12); }
.sg-menu__nav a:hover { color: #fff; }
.sg-menu__more { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 6px var(--gut) 20px; font: 500 16px/1.3 var(--f-ui); color: var(--on-plum-2); }
.sg-menu__more a { padding: 9px 0; }
.sg-menu__foot { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px var(--gut) 24px; border-top: 1px solid rgba(248, 240, 235, .16); }
.sg-menu__foot .sg-btn, .sg-menu__foot #sg-user-m .sg-btn { width: 100%; }
.sg-menu__foot #sg-user-m { display: block; }
@media (min-width: 1024px) { .sg-menu { display: none !important; } }
body.sg-noscroll { overflow: hidden; }

/* --- Naslovi sekcij ------------------------------------------------------ */
.sg-sh { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-top: 1px solid var(--ink); padding-top: 12px; margin-bottom: 18px; }
.sg-sh h2 { font-family: var(--f-display); font-weight: 400; font-size: 28px; line-height: 1.1; letter-spacing: -.005em; }
.sg-sh h2 a:hover { color: var(--plum); }
@media (min-width: 760px) { .sg-sh h2 { font-size: 32px; } }
.sg-boxh { font-family: var(--f-sc); font-weight: 600; font-size: 16px; letter-spacing: .06em; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 8px; margin-bottom: 4px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sg-boxh .sg-more { font-family: var(--f-ui); letter-spacing: 0; font-size: 13px; }

/* --- Kartice in seznami -------------------------------------------------- */
.sg-card { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sg-card__img { position: relative; overflow: hidden; background: var(--paper-3); aspect-ratio: 3 / 2; }
.sg-card__img img { width: 100%; height: 100%; object-fit: cover; }
.sg-card__t { font-family: var(--f-text); font-weight: 600; font-size: 19px; line-height: 1.24; letter-spacing: -.003em; color: var(--ink); text-wrap: pretty; }
.sg-card__t a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.sg-card:hover .sg-card__t a, .sg-row:hover .sg-card__t a { color: var(--plum); }
.sg-card__ex { font-size: 16px; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sg-card .sg-kick { position: relative; z-index: 2; }

/* Oznake Foto/Video na sliki */
.sg-media { position: absolute; left: 8px; bottom: 8px; display: flex; gap: 4px; z-index: 1; }
.sg-media__b { display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px 4px 6px; background: rgba(33, 26, 32, .82); color: #fff; font: 600 11px/1 var(--f-ui); letter-spacing: .02em; border-radius: 1px; }
.sg-media__b svg { width: 11px; height: 11px; }

/* Vrstica s sličico (seznam) */
.sg-row { position: relative; display: grid; grid-template-columns: 1fr 104px; grid-template-rows: auto auto auto 1fr; gap: 6px 14px; padding: 14px 0; border-top: 1px solid var(--rule); align-items: start; }
.sg-row:first-child { border-top: 0; padding-top: 0; }
.sg-row .sg-card__img { grid-column: 2; grid-row: 1 / -1; aspect-ratio: 1 / 1; }
.sg-row .sg-kick, .sg-row .sg-card__t, .sg-row .sg-meta, .sg-row .sg-card__ex { grid-column: 1; }
.sg-row .sg-card__t { font-size: 18px; }
.sg-row--noimg { grid-template-columns: 1fr; }
@media (min-width: 760px) {
    .sg-row { grid-template-columns: 200px 1fr; gap: 6px 22px; padding: 18px 0; }
    .sg-row .sg-card__img { grid-column: 1; grid-row: 1 / -1; aspect-ratio: 3 / 2; }
    .sg-row .sg-kick, .sg-row .sg-card__t, .sg-row .sg-meta, .sg-row .sg-card__ex { grid-column: 2; }
    .sg-row .sg-card__t { font-size: 21px; }
    .sg-row--noimg .sg-kick, .sg-row--noimg .sg-card__t, .sg-row--noimg .sg-meta, .sg-row--noimg .sg-card__ex { grid-column: 1 / -1; }
}
.sg-row .sg-kick { position: relative; z-index: 2; }

/* Seznam samo z naslovi */
.sg-list { list-style: none; margin: 0; padding: 0; }
.sg-list li { position: relative; padding: 11px 0; border-top: 1px solid var(--rule); }
.sg-list li:first-child { border-top: 0; }
.sg-list a { font-weight: 600; font-size: 17px; line-height: 1.3; }
.sg-list a:hover { color: var(--plum); }
.sg-list .sg-meta { margin-top: 3px; }

/* Paspartu: galerijski okvir (samo glavna zgodba + Kultura) */
.sg-mat { padding: 7px; background: var(--card); border: 1px solid var(--rule-2); }
.sg-plum .sg-mat { background: rgba(248, 240, 235, .06); border-color: rgba(248, 240, 235, .28); }

/* --- Naslovnica: vrh ---------------------------------------------------- */
.sg-home { padding-top: 18px; }
.sg-top { display: grid; gap: 28px; }
.sg-lead { position: relative; display: grid; gap: 12px; }
.sg-lead__fig { position: relative; margin: 0 calc(var(--gut) * -1); }
.sg-lead__fig .sg-card__img { aspect-ratio: 3 / 2; }
.sg-lead__t { font-family: var(--f-display); font-weight: 400; font-size: 32px; line-height: 1.07; letter-spacing: -.012em; text-wrap: balance; }
.sg-lead__t a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.sg-lead:hover .sg-lead__t a { color: var(--plum); }
.sg-lead__ex { font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.sg-lead .sg-kick { position: relative; z-index: 2; }
@media (max-width: 599px) { .sg-lead__fig.sg-mat { padding: 0; border: 0; background: none; } }
@media (min-width: 600px) {
    .sg-lead__fig { margin: 0; }
    .sg-lead__fig .sg-card__img { aspect-ratio: 16 / 10; }
}
@media (min-width: 760px) { .sg-lead__t { font-size: 42px; } }
.sg-lead__head { display: grid; gap: 8px; }
.sg-lead__side { display: grid; gap: 10px; max-width: 62ch; }
@media (min-width: 1024px) {
    .sg-home { padding-top: 32px; }
    .sg-top { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); grid-template-areas: "lead rail" "trio rail"; column-gap: var(--gap); row-gap: 34px; align-items: start; }
    .sg-lead { grid-area: lead; row-gap: 14px; }
    .sg-lead__fig .sg-card__img { aspect-ratio: 16 / 9; }
    .sg-lead__head { margin-top: 6px; }
    .sg-lead__t { font-size: 46px; }
    .sg-lead__ex { font-size: 19px; }
    .sg-trio { grid-area: trio; }
    .sg-rail { grid-area: rail; }
}
@media (min-width: 1240px) { .sg-lead__t { font-size: 50px; } }

/* trije pod glavno */
.sg-trio { display: grid; gap: 0; }
.sg-trio .sg-card { padding: 14px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1fr 112px; grid-template-rows: auto auto auto 1fr; gap: 6px 14px; }
.sg-trio .sg-card:first-child { border-top: 0; padding-top: 0; }
.sg-trio .sg-card__img { grid-column: 2; grid-row: 1 / -1; aspect-ratio: 1 / 1; }
.sg-trio .sg-kick, .sg-trio .sg-card__t, .sg-trio .sg-meta { grid-column: 1; }
@media (min-width: 760px) {
    .sg-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); border-top: 1px solid var(--rule); padding-top: 20px; }
    .sg-trio .sg-card { display: flex; padding: 0; border: 0; }
    .sg-trio .sg-card__img { aspect-ratio: 3 / 2; }
    .sg-trio .sg-card__t { font-size: 20px; }
}

/* Desni stolpec: obvestila + najnovejše */
.sg-rail { display: flex; flex-direction: column; gap: 28px; }
.sg-notice { background: var(--paper-2); border-top: 3px solid var(--plum); padding: 16px 18px 6px; }
.sg-notice__h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.sg-notice__h h2 { display: flex; align-items: center; gap: 9px; font-family: var(--f-display); font-weight: 400; font-size: 24px; line-height: 1.1; }
.sg-notice__h svg { width: 20px; height: 20px; color: var(--plum); flex: none; }
.sg-notice ul { list-style: none; margin: 0; padding: 0; }
.sg-notice li { position: relative; padding: 11px 0; border-top: 1px solid var(--rule-2); }
.sg-notice li:first-child { border-top: 0; }
.sg-notice li a { font-weight: 600; font-size: 17px; line-height: 1.28; display: block; }
.sg-notice li a::after { content: ""; position: absolute; inset: 0; }
.sg-notice li:hover a { color: var(--plum); }
.sg-notice .sg-meta { margin-top: 3px; color: var(--ink-2); }

.sg-stream { list-style: none; margin: 0; padding: 0; }
.sg-stream li { position: relative; display: grid; grid-template-columns: 50px 1fr; gap: 2px 12px; padding: 11px 0; border-top: 1px solid var(--rule); }
.sg-stream li:first-child { border-top: 0; }
.sg-stream time { grid-row: 1 / span 2; font: 600 13px/1.5 var(--f-ui); color: var(--plum); font-variant-numeric: tabular-nums; padding-top: 2px; }
.sg-stream .sg-kick { font-size: 13px; }
.sg-stream a { font-weight: 600; font-size: 16.5px; line-height: 1.3; grid-column: 2; }
.sg-stream a::after { content: ""; position: absolute; inset: 0; }
.sg-stream li:hover a { color: var(--plum); }
.sg-stream .sg-kick { grid-column: 2; }
.sg-stream .sg-place { grid-column: 2; font: 500 12px/1.3 var(--f-ui); color: var(--ink-3); }
@media (min-width: 1024px) {
    .sg-rail { position: sticky; top: 72px; }
    .sg-rail .sg-notice { order: 2; }
    .sg-rail .sg-latest { order: 1; }
}

/* --- Napovednik (dogodki) -------------------------------------------------- */
.sg-band { margin-top: 44px; }
.sg-evs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.sg-ev { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 2px 14px; padding: 13px 0; border-top: 1px solid var(--rule); align-items: start; }
.sg-ev:first-child { border-top: 0; }
.sg-ev__t { font-weight: 600; font-size: 17px; line-height: 1.28; }
.sg-ev__t a::after { content: ""; position: absolute; inset: 0; }
.sg-ev:hover .sg-ev__t { color: var(--plum); }
.sg-ev__m { font: 500 13px/1.4 var(--f-ui); color: var(--ink-3); }
.sg-ev__m b { color: var(--plum); font-weight: 600; }
.sg-ev .sg-evdate { grid-row: 1 / span 2; }
.sg-evdate { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; padding: 6px 0 7px; border: 1px solid var(--ink); background: var(--card); line-height: 1; }
.sg-evdate b { font-family: var(--f-display); font-weight: 400; font-size: 28px; line-height: .95; color: var(--ink); }
.sg-evdate i { font-style: normal; font-family: var(--f-sc); font-weight: 600; font-size: 13px; letter-spacing: .06em; color: var(--plum); margin-top: 3px; }
@media (min-width: 760px) {
    .sg-band .sg-evs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
    .sg-band .sg-ev:nth-child(2) { border-top: 0; }
}
@media (min-width: 1024px) {
    .sg-band .sg-evs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sg-band .sg-ev { border-top: 0; grid-template-columns: 1fr; padding: 0; gap: 10px; }
    .sg-band .sg-ev .sg-evdate { grid-row: auto; flex-direction: row; align-items: baseline; gap: 8px; width: auto; border: 0; border-bottom: 1px solid var(--ink); background: none; padding: 0 0 8px; justify-content: flex-start; }
    .sg-band .sg-ev .sg-evdate b { font-size: 40px; }
    .sg-band .sg-ev .sg-evdate i { font-size: 15px; }
}

/* --- Kultura: razstavni pas --------------------------------------------- */
.sg-plum { background: var(--plum); color: var(--on-plum); margin-top: 52px; padding: 34px 0 40px; }
.sg-plum .sg-sh { border-top-color: rgba(248, 240, 235, .55); }
.sg-plum .sg-sh h2 { font-size: 34px; color: var(--on-plum); }
.sg-plum .sg-more { color: var(--on-plum); }
.sg-plum .sg-kick { color: var(--on-plum-2); }
.sg-plum .sg-meta { color: var(--on-plum-2); }
.sg-plum .sg-meta > * + * { border-left-color: rgba(248, 240, 235, .3); }
.sg-plum .sg-card__t { color: var(--on-plum); }
.sg-plum .sg-card:hover .sg-card__t a { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.sg-plum .sg-card__ex { color: var(--on-plum-2); }
.sg-plum .sg-card__img { background: rgba(255, 255, 255, .06); }
.sg-expo { display: grid; gap: 26px; }
.sg-expo__lead .sg-card__t { font-family: var(--f-display); font-weight: 400; font-size: 30px; line-height: 1.1; }
.sg-expo__rest { display: grid; gap: 22px; }
@media (min-width: 760px) {
    .sg-plum .sg-sh h2 { font-size: 44px; }
    .sg-expo__rest { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
    .sg-expo__lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 10px 30px; align-items: center; }
    .sg-expo__lead .sg-mat { grid-row: 1 / span 4; }
    .sg-expo__lead .sg-card__t { font-size: 38px; }
}

/* --- Rubrike na naslovnici + stranski stolpec ----------------------------- */
.sg-cols { display: grid; gap: 44px; margin-top: 48px; }
@media (min-width: 1024px) { .sg-cols { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: var(--gap); align-items: start; } }
.sg-secs { display: grid; gap: 44px; }
@media (min-width: 760px) { .sg-secs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; } }
.sg-sec .sg-card { margin-bottom: 6px; }
.sg-sec .sg-card__t { font-size: 21px; }
.sg-sec .sg-list { margin-top: 6px; }
.sg-sec--wide { grid-column: 1 / -1; }
@media (min-width: 760px) {
    .sg-sec--wide .sg-sec__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--gap); }
    .sg-sec--wide .sg-list { margin-top: 0; }
}

.sg-aside { display: flex; flex-direction: column; gap: 34px; min-width: 0; }
@media (min-width: 1024px) { .sg-aside--sticky { position: sticky; top: 72px; } }

/* Najbolj brano */
.sg-rank { list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.sg-rank li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); align-items: start; }
.sg-rank li:first-child { border-top: 0; }
.sg-rank li::before { counter-increment: rank; content: counter(rank); font-family: var(--f-display); font-size: 34px; line-height: .9; color: var(--plum); text-align: right; }
.sg-rank a { font-weight: 600; font-size: 17px; line-height: 1.28; }
.sg-rank a::after { content: ""; position: absolute; inset: 0; }
.sg-rank li:hover a { color: var(--plum); }

/* E-novice */
.sg-news { border: 1px solid var(--ink); padding: 20px 20px 18px; background: var(--card); position: relative; }
.sg-news h2 { font-family: var(--f-display); font-weight: 400; font-size: 26px; line-height: 1.1; margin-bottom: 6px; }
.sg-news p { font-size: 16px; line-height: 1.45; color: var(--ink-2); margin-bottom: 14px; }
.sg-news input[type="email"] { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--rule-2); background: #fff; border-radius: var(--radius); font-family: var(--f-ui); font-size: 16px; margin-bottom: 10px; }
.sg-news label { display: flex; gap: 9px; align-items: flex-start; font: 400 13px/1.4 var(--f-ui); color: var(--ink-2); margin-bottom: 12px; }
.sg-news label input { margin-top: 2px; accent-color: var(--plum); width: 16px; height: 16px; flex: none; }
.sg-news label a { text-decoration: underline; }
.sg-news small { display: block; font: 400 12px/1.4 var(--f-ui); color: var(--ink-3); margin-top: 10px; }
.sg-news__msg { font: 600 14px/1.4 var(--f-ui); margin-top: 10px; }
.sg-news__msg.is-ok { color: var(--ok); }
.sg-news__msg.is-err { color: var(--err); }
.sg-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Še novic */
.sg-grid4 { display: grid; gap: 0; }
@media (min-width: 760px) { .sg-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); } .sg-grid4 .sg-row:nth-child(2) { border-top: 0; padding-top: 0; } }
@media (min-width: 760px) { .sg-grid4 .sg-row { grid-template-columns: 132px 1fr; } .sg-grid4 .sg-row .sg-card__t { font-size: 18px; } }

/* --- Rubrika / iskanje / seznami --------------------------------------- */
.sg-pagehead { padding: 26px 0 18px; border-bottom: 1px solid var(--ink); margin-bottom: 26px; }
.sg-crumb { font: 500 13px/1.4 var(--f-ui); color: var(--ink-3); margin-bottom: 8px; }
.sg-crumb a:hover { color: var(--plum); text-decoration: underline; }
.sg-pagehead h1 { font-family: var(--f-display); font-weight: 400; font-size: 40px; line-height: 1.04; letter-spacing: -.012em; }
.sg-pagehead p { font-size: 18px; color: var(--ink-2); margin-top: 8px; max-width: 60ch; }
@media (min-width: 760px) { .sg-pagehead { padding: 40px 0 22px; margin-bottom: 34px; } .sg-pagehead h1 { font-size: 60px; } }
.sg-body { padding-bottom: 60px; }

.sg-catlead { position: relative; display: grid; gap: 12px; padding-bottom: 24px; margin-bottom: 8px; border-bottom: 1px solid var(--rule); }
.sg-catlead .sg-card__img { margin: 0 calc(var(--gut) * -1); aspect-ratio: 3 / 2; }
.sg-catlead__t { font-family: var(--f-display); font-weight: 400; font-size: 30px; line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
.sg-catlead__t a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.sg-catlead:hover .sg-catlead__t a { color: var(--plum); }
.sg-catlead p.sg-card__ex { -webkit-line-clamp: 4; font-size: 17px; }
@media (min-width: 760px) {
    .sg-catlead { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 28px; align-items: center; }
    .sg-catlead .sg-card__img { margin: 0; grid-row: 1 / span 4; }
    .sg-catlead__t { font-size: 30px; }
}
@media (min-width: 1240px) { .sg-catlead__t { font-size: 32px; } }

.sg-empty { padding: 34px 0 60px; max-width: 560px; }
.sg-empty h2 { font-family: var(--f-display); font-weight: 400; font-size: 30px; line-height: 1.1; margin-bottom: 10px; }
.sg-empty p { color: var(--ink-2); margin-bottom: 18px; }
.sg-empty a:not(.sg-btn) { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }

.sg-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 34px 0 0; padding-top: 18px; border-top: 1px solid var(--ink); font: 600 15px/1 var(--f-ui); }
.sg-pager__nums { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; flex: 1; }
.sg-pager__nums a, .sg-pager__nums span { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 6px; font-variant-numeric: tabular-nums; }
.sg-pager__nums a:hover { background: var(--paper-2); }
.sg-pager__nums [aria-current] { background: var(--plum); color: var(--on-plum); }
.sg-pager__gap { color: var(--ink-3); }
.sg-pager__step { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border: 1px solid var(--rule-2); color: var(--plum); }
.sg-pager__step:hover { background: var(--plum-wash); }
@media (max-width: 599px) { .sg-pager__nums { display: none; } .sg-pager { justify-content: space-between; } }

.sg-searchbig { display: flex; gap: 8px; margin-top: 16px; max-width: 680px; }
.sg-searchbig input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid var(--ink); background: var(--card); font-family: var(--f-text); font-size: 20px; border-radius: var(--radius); }
.sg-searchbig input:focus { outline: 2px solid var(--plum); outline-offset: 0; }
.sg-searchbig .sg-btn { height: 52px; }
.sg-count { font: 500 14px/1.4 var(--f-ui); color: var(--ink-3); margin-bottom: 16px; }
mark.sg-hl { background: var(--plum-wash); color: inherit; padding: 0 .1em; }

/* --- Članek ------------------------------------------------------------- */
.sg-art { padding-top: 22px; padding-bottom: 64px; }
.sg-art__cols { display: grid; gap: 52px; }
@media (min-width: 1024px) { .sg-art { padding-top: 38px; } .sg-art__cols { grid-template-columns: minmax(0, 1fr) 320px; column-gap: 56px; align-items: start; } }
.sg-art__main { min-width: 0; }
.sg-art__head { max-width: none; }
.sg-art__kick { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 12px; }
.sg-art__kick .sg-place { font: 500 13px/1.2 var(--f-ui); color: var(--ink-3); }
.sg-art h1 { font-family: var(--f-display); font-weight: 400; font-size: 34px; line-height: 1.06; letter-spacing: -.014em; text-wrap: balance; }
@media (min-width: 760px) { .sg-art h1 { font-size: 48px; } }
@media (min-width: 1240px) { .sg-art h1 { font-size: 54px; } }
.sg-art__sub { font-style: italic; font-size: 21px; line-height: 1.35; color: var(--ink-2); margin-top: 12px; }
@media (min-width: 760px) { .sg-art__sub { font-size: 24px; } }
.sg-byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 20px; padding: 12px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.sg-byline__who { font: 500 14px/1.45 var(--f-ui); color: var(--ink-2); }
.sg-byline__who b { color: var(--ink); font-weight: 600; }
.sg-byline__who span { display: inline; }
.sg-byline__who span + span::before { content: ""; display: inline-block; width: 1px; height: 12px; background: var(--rule-2); margin: 0 .6em; vertical-align: -1px; }
.sg-byline__who .sg-upd { display: block; }
.sg-byline__who .sg-upd::before { display: none; }
@media (min-width: 760px) { .sg-byline__who .sg-upd { display: inline; } .sg-byline__who .sg-upd::before { display: inline-block; } }
.sg-share { display: flex; align-items: center; gap: 6px; }
.sg-share a, .sg-share button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--rule-2); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.sg-share a:hover, .sg-share button:hover { background: var(--plum); border-color: var(--plum); color: var(--on-plum); }
.sg-share svg { width: 17px; height: 17px; }
.sg-share__native { display: none !important; }
.sg-has-share .sg-share__native { display: inline-flex !important; }
.sg-share__copied { font: 600 13px/1 var(--f-ui); color: var(--ok); margin-left: 4px; }

.sg-fig { margin: 24px 0 0; }
.sg-fig__img { position: relative; background: var(--paper-3); margin: 0 calc(var(--gut) * -1); }
.sg-fig__img img { width: 100%; height: auto; max-height: 80vh; object-fit: contain; cursor: zoom-in; }
@media (min-width: 600px) { .sg-fig__img { margin: 0; } }
.sg-fig figcaption, .sg-cap { font-size: 15px; line-height: 1.45; font-style: italic; color: var(--ink-2); margin-top: 9px; }
.sg-fig figcaption .sg-credit, .sg-credit { font: normal 500 12px/1.4 var(--f-ui); color: var(--ink-3); letter-spacing: .01em; }
.sg-fig figcaption .sg-credit a { text-decoration: underline; }

.sg-text { max-width: 700px; }
.sg-standfirst { font-size: 20px; line-height: 1.5; font-weight: 600; color: var(--ink); margin-top: 26px; }
.sg-standfirst a { color: var(--plum); text-decoration: underline; }
@media (min-width: 760px) { .sg-standfirst { font-size: 22px; } }

/* Telo članka (vsebina iz urejevalnika) */
.sg-prose { font-size: 18px; line-height: 1.7; color: var(--ink); margin-top: 22px; overflow-wrap: break-word; hanging-punctuation: first; }
@media (min-width: 760px) { .sg-prose { font-size: 19.5px; line-height: 1.68; } }
.sg-prose > * + * { margin-top: 1em; }
.sg-prose > p + p { margin-top: .9em; }
.sg-prose a { color: var(--plum); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.sg-prose a:hover { text-decoration-thickness: 2px; }
.sg-prose strong, .sg-prose b { font-weight: 600; }
.sg-prose h2 { font-family: var(--f-display); font-weight: 400; font-size: 27px; line-height: 1.15; margin-top: 1.6em; }
.sg-prose h2 strong, .sg-prose h3 strong { font-weight: inherit; }
.sg-prose h3 { font-family: var(--f-text); font-weight: 600; font-size: 22px; line-height: 1.25; margin-top: 1.5em; }
.sg-prose h4 { font-family: var(--f-sc); font-weight: 600; font-size: 18px; letter-spacing: .05em; margin-top: 1.5em; }
@media (min-width: 760px) { .sg-prose h2 { font-size: 31px; } }
.sg-prose ul, .sg-prose ol { padding-left: 1.3em; }
.sg-prose ul { list-style: none; }
.sg-prose ul li { position: relative; }
.sg-prose ul li::before { content: ""; position: absolute; left: -1em; top: .72em; width: 6px; height: 6px; background: var(--plum); transform: rotate(45deg); }
.sg-prose ol { list-style: decimal; }
.sg-prose ol li::marker { font-family: var(--f-ui); font-weight: 600; color: var(--plum); font-size: .85em; }
.sg-prose li + li { margin-top: .45em; }
.sg-prose blockquote { position: relative; margin: 1.6em 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--plum); font-style: italic; font-size: 1.08em; line-height: 1.55; color: var(--ink); }
.sg-prose blockquote p + p { margin-top: .6em; }
.sg-prose img { width: auto; max-width: 100%; max-height: 82vh; height: auto; margin: 1.4em auto .3em; background: var(--paper-3); }
.sg-prose img.size-full, .sg-prose img.size-large, .sg-prose img.align-center { display: block; }
.sg-prose p > img:only-child { margin: 0 auto; }
.sg-prose img.size-medium { width: auto; max-width: 100%; }
.sg-prose img[data-link] { cursor: pointer; }
.sg-prose .ql-align-center { text-align: center; }
.sg-prose .ql-align-right { text-align: right; }
.sg-prose .ql-align-justify { text-align: left; }
.sg-prose p.ql-align-right { font-size: 14px; font-style: italic; color: var(--ink-3); margin-top: .4em; }
.sg-prose table { width: 100%; border-collapse: collapse; font-family: var(--f-ui); font-size: 15px; line-height: 1.4; display: block; overflow-x: auto; }
.sg-prose th, .sg-prose td { border-bottom: 1px solid var(--rule); padding: 8px 10px; text-align: left; vertical-align: top; }
.sg-prose th { font-weight: 600; border-bottom-color: var(--ink); }
.sg-prose hr { border: 0; height: 1px; background: var(--rule-2); margin: 2em 0; }
.sg-prose iframe { width: 100%; border: 0; }
.sg-prose .youtube-embed { margin: 1.4em 0 !important; }
.sg-prose pre, .sg-prose code { font-family: ui-monospace, Menlo, monospace; font-size: .85em; }

/* Poudarjeni bloki iz urejevalnika */
.sg-prose .kn-important { background: var(--plum); color: var(--on-plum); padding: 16px 20px; font-weight: 400; font-size: .96em; line-height: 1.5; }
.sg-prose .kn-important strong { font-weight: 600; }
.sg-prose .kn-important a { color: #fff; }
.sg-prose .kn-info { background: var(--paper-2); border-left: 3px solid var(--ink); padding: 14px 18px; font-size: .94em; line-height: 1.55; color: var(--ink); }
.sg-prose .kn-warning { background: #F8EEDB; border-left: 3px solid var(--warn); padding: 14px 18px; font-size: .94em; line-height: 1.55; color: #4A320C; }
.sg-prose .kn-quote { border-left: 3px solid var(--plum); padding: 6px 0 6px 24px; font-style: italic; font-size: 1.08em; }
.sg-prose .kn-source { font-size: 14px; font-style: italic; color: var(--ink-3); border-left: 1px solid var(--rule-2); padding-left: 12px; }
.sg-prose .wp-block-gallery, .sg-prose .kn-gallery-source { display: none !important; }
.sg-prose .sg-gal-hide { display: none !important; }

/* Zvok */
.sg-prose .kn-audio { border: 1px solid var(--rule-2); background: var(--card); padding: 14px 16px; margin: 1.4em 0; }
.sg-prose .kn-audio-header { display: flex; align-items: center; gap: 8px; font: 600 14px/1 var(--f-ui); color: var(--plum); margin-bottom: 10px; }
.sg-prose .kn-audio-icon { width: 18px; height: 18px; }
.sg-prose .kn-audio audio { width: 100%; }

/* Galerije (gradi jih slovenjgradcan-v1.js) */
.sg .kn-gallery { margin: 1.6em 0; background: var(--ink); position: relative; }
.sg .kn-gallery-main { position: relative; aspect-ratio: 3 / 2; background: #120d11; overflow: hidden; touch-action: pan-y; }
.sg .kn-gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; margin: 0; background: transparent; cursor: zoom-in; }
.sg .kn-gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(18, 13, 17, .55); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 3; }
.sg .kn-gallery-nav:hover { background: var(--plum); border-color: var(--plum); }
.sg .kn-gallery-nav.prev { left: 10px; }
.sg .kn-gallery-nav.next { right: 10px; }
.sg .kn-gallery-counter { position: absolute; right: 10px; bottom: 10px; z-index: 3; background: rgba(18, 13, 17, .7); color: #fff; padding: 5px 10px; font: 600 13px/1 var(--f-ui); font-variant-numeric: tabular-nums; }
.sg .kn-gallery-label { position: absolute; left: 10px; top: 10px; z-index: 3; background: var(--paper); color: var(--ink); padding: 5px 9px; font: 600 12px/1 var(--f-sc); letter-spacing: .06em; }
.sg .kn-gallery-thumbs { display: flex; gap: 6px; overflow-x: auto; padding: 8px; background: #1b1419; scrollbar-width: thin; }
.sg .kn-gallery-thumb { flex: none; width: 84px; height: 60px; border: 0; padding: 0; background: #2a2128; opacity: .55; cursor: pointer; outline-offset: -2px; }
.sg .kn-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; margin: 0; }
.sg .kn-gallery-thumb.active { opacity: 1; outline: 2px solid var(--on-plum); }
.sg .kn-gallery-thumb:hover { opacity: 1; }
.sg .kn-gallery-vip-thumb { width: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; background: var(--plum) !important; opacity: 1; font: 600 12px/1.2 var(--f-ui); }
.sg .kn-gallery-grid { margin: 1.6em 0; display: grid; gap: 6px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sg .kn-gallery-grid[data-columns="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sg .kn-gallery-grid[data-columns="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sg .kn-gallery-grid[data-columns="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 599px) { .sg .kn-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 4px; } .sg .kn-gallery-grid > :first-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; } }
.sg .kn-gallery-grid-item { position: relative; aspect-ratio: 1; overflow: hidden; cursor: zoom-in; background: var(--paper-3); border: 0; padding: 0; display: block; }
.sg .kn-gallery-grid-item img { width: 100%; height: 100%; object-fit: cover; margin: 0; transition: transform .3s ease; }
.sg .kn-gallery-grid-item:hover img { transform: scale(1.03); }
.sg .kn-gallery-vip-cta { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--plum); color: #fff; font: 600 14px/1.3 var(--f-ui); text-align: center; padding: 10px; }

/* Video */
.sg-video { margin-top: 26px; }
.sg-video__t { font-family: var(--f-sc); font-weight: 600; font-size: 15px; letter-spacing: .05em; color: var(--plum); margin-bottom: 8px; }
.sg-video__frame { position: relative; aspect-ratio: 16 / 9; background: #120d11; margin: 0 calc(var(--gut) * -1); }
.sg-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sg-video__frame--portrait { aspect-ratio: 9 / 16; max-width: 400px; margin: 0 auto; }
@media (min-width: 600px) { .sg-video__frame { margin: 0; } }
.sg-video__thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 10px 0 2px; }
.sg-video__thumb { flex: none; width: 150px; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; }
.sg-video__thumb img { width: 150px; aspect-ratio: 16 / 9; object-fit: cover; background: var(--paper-3); }
.sg-video__thumb span { display: block; font: 500 13px/1.3 var(--f-ui); margin-top: 5px; color: var(--ink-2); }
.sg-video__thumb[aria-current="true"] img { outline: 2px solid var(--plum); outline-offset: 2px; }
.sg-lock { margin-top: 26px; background: var(--ink); color: var(--on-plum); padding: 34px 24px; text-align: center; }
.sg-lock h3 { font-family: var(--f-display); font-weight: 400; font-size: 26px; margin-bottom: 8px; }
.sg-lock p { color: var(--on-plum-2); margin-bottom: 16px; }

/* Plačljivi zid */
.sg-pay__fade { position: relative; }
.sg-pay__fade::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(rgba(251, 247, 242, 0), var(--paper)); }
.sg-pay { margin-top: 10px; border: 1px solid var(--ink); background: var(--card); padding: 30px 22px; text-align: center; }
.sg-pay h3 { font-family: var(--f-display); font-weight: 400; font-size: 28px; line-height: 1.15; margin-bottom: 8px; }
.sg-pay p { color: var(--ink-2); margin-bottom: 18px; }
.sg-pay__price { font: 600 15px/1.4 var(--f-ui); color: var(--ink-3); margin-bottom: 18px !important; }
.sg-pay__price b { font-family: var(--f-display); font-weight: 400; font-size: 34px; color: var(--ink); margin: 0 .15em; }
.sg-pay__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* Preberi tudi (vstavi JS v besedilo) */
.sg-also { position: relative; display: grid; grid-template-columns: 1fr 96px; gap: 6px 16px; align-items: center; margin: 1.8em 0 !important; padding: 16px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); font-size: 17px; }
.sg-also__k { font-family: var(--f-sc); font-weight: 600; font-size: 14px; letter-spacing: .06em; color: var(--plum); }
.sg-also__t { font-weight: 600; font-size: 19px; line-height: 1.28; grid-column: 1; }
.sg-also__t a { color: var(--ink) !important; text-decoration: none !important; }
.sg-also__t a::after { content: ""; position: absolute; inset: 0; }
.sg-also:hover .sg-also__t a { color: var(--plum) !important; }
.sg-also img { grid-column: 2; grid-row: 1 / span 2; width: 96px !important; height: 72px; object-fit: cover; margin: 0 !important; }
@media (min-width: 600px) { .sg-also { grid-template-columns: 1fr 150px; } .sg-also img { width: 150px !important; height: 100px; } }

.sg-art__foot { margin-top: 30px; display: grid; gap: 16px; }
.sg-source { font-size: 15px; font-style: italic; color: var(--ink-3); }
.sg-sponsor { font: 500 14px/1.45 var(--f-ui); background: #F8EEDB; color: #4A320C; padding: 12px 14px; border-left: 3px solid var(--warn); }
.sg-tags { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.sg-tags b { font-family: var(--f-sc); font-weight: 600; font-size: 14px; letter-spacing: .06em; color: var(--ink-3); margin-right: 4px; }
.sg-tags a, .sg-tags span { font: 500 13px/1 var(--f-ui); padding: 8px 10px; border: 1px solid var(--rule-2); color: var(--ink-2); border-radius: var(--radius); }
.sg-tags a:hover { border-color: var(--plum); color: var(--plum); }
.sg-share-end { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sg-share-end p { font-family: var(--f-sc); font-weight: 600; font-size: 15px; letter-spacing: .05em; }
.sg-gpref { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid var(--rule-2); background: var(--card); font: 500 14px/1.3 var(--f-ui); color: var(--ink); border-radius: var(--radius); margin-top: 18px; }
.sg-gpref:hover { border-color: var(--ink); }
.sg-gpref b { font-weight: 600; }

.sg-related { margin-top: 48px; }
.sg-related__grid { display: grid; gap: 0; }
.sg-related__grid .sg-card { padding: 14px 0; border-top: 1px solid var(--rule); }
.sg-related__grid .sg-card:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 760px) { .sg-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px var(--gap); } .sg-related__grid .sg-card { padding: 0; border: 0; } }
@media (max-width: 759px) {
    .sg-related__grid .sg-card { display: grid; grid-template-columns: 1fr 104px; grid-template-rows: auto auto auto 1fr; gap: 6px 14px; }
    .sg-related__grid .sg-card__img { grid-column: 2; grid-row: 1 / -1; aspect-ratio: 1 / 1; }
    .sg-related__grid .sg-card > :not(.sg-card__img) { grid-column: 1; }
}
.sg-preview-bar { background: var(--warn); color: #fff; text-align: center; padding: 10px 16px; font: 600 14px/1.3 var(--f-ui); }

/* Komentarji */
.sg-comments { margin-top: 52px; }
.sg-rules { font: 400 14px/1.5 var(--f-ui); color: var(--ink-2); background: var(--paper-2); padding: 14px 16px; border-left: 3px solid var(--plum); margin-bottom: 22px; }
.sg-rules a { color: var(--plum); font-weight: 600; text-decoration: underline; }
.sg-loading { display: flex; align-items: center; gap: 12px; padding: 24px 0; font: 500 14px/1 var(--f-ui); color: var(--ink-3); }
.sg-loading::before { content: ""; width: 18px; height: 18px; border: 2px solid var(--rule-2); border-top-color: var(--plum); border-radius: 50%; animation: sg-spin .8s linear infinite; }
@keyframes sg-spin { to { transform: rotate(360deg); } }

/* --- Dogodki -------------------------------------------------------------- */
.sg-evhead__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sg-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 14px; padding-bottom: 2px; }
.sg-tabs::-webkit-scrollbar { display: none; }
.sg-tabs a { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border: 1px solid var(--rule-2); font: 600 14px/1 var(--f-ui); color: var(--ink); border-radius: var(--radius); background: var(--card); }
.sg-tabs a small { font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sg-tabs a:hover { border-color: var(--ink); }
.sg-tabs a[aria-current] { background: var(--plum); border-color: var(--plum); color: var(--on-plum); }
.sg-tabs a[aria-current] small { color: var(--on-plum-2); }
.sg-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.sg-chips a { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 12px; font: 500 13px/1 var(--f-ui); color: var(--ink-2); border-bottom: 1px solid transparent; }
.sg-chips a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--ink-3)); }
.sg-chips a.is-all::before { display: none; }
.sg-chips a:hover { color: var(--ink); }
.sg-chips a[aria-current] { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }

.sg-day { margin-top: 30px; }
.sg-day:first-child { margin-top: 0; }
.sg-day__h { display: flex; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--ink); padding-bottom: 8px; }
.sg-day__h b { font-family: var(--f-display); font-weight: 400; font-size: 40px; line-height: .9; }
.sg-day__h span { font-family: var(--f-sc); font-weight: 600; font-size: 16px; letter-spacing: .05em; color: var(--plum); }
.sg-day__h .sg-day__wd { color: var(--ink-2); }
.sg-day__h em { font: normal 600 12px/1 var(--f-ui); background: var(--plum); color: var(--on-plum); padding: 4px 7px; margin-left: auto; letter-spacing: .02em; }
.sg-evrow { position: relative; display: grid; grid-template-columns: 62px 1fr; gap: 3px 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.sg-evrow__time { font: 600 14px/1.5 var(--f-ui); color: var(--plum); font-variant-numeric: tabular-nums; grid-column: 1; grid-row: 1 / span 3; }
.sg-evrow__t, .sg-evrow__m { grid-column: 2; }
.sg-evrow__t { font-weight: 600; font-size: 19px; line-height: 1.26; }
.sg-evrow__t a::after { content: ""; position: absolute; inset: 0; }
.sg-evrow:hover .sg-evrow__t { color: var(--plum); }
.sg-evrow__m { font: 500 13.5px/1.45 var(--f-ui); color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 2px 12px; }
.sg-evrow__cat { display: inline-flex; align-items: center; gap: 6px; }
.sg-evrow__cat::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--ink-3)); }
.sg-evrow__img { display: none; }
@media (min-width: 760px) {
    .sg-evrow { grid-template-columns: 70px 1fr 150px; gap: 4px 20px; padding: 16px 0; }
    .sg-evrow__img { display: block; grid-column: 3; grid-row: 1 / span 3; aspect-ratio: 3 / 2; background: var(--paper-3); overflow: hidden; }
    .sg-ongoing .sg-evrow__t, .sg-ongoing .sg-evrow__m { grid-column: 1; }
    .sg-evrow__img img { width: 100%; height: 100%; object-fit: cover; }
    .sg-evrow__t { font-size: 21px; }
}
.sg-free { font: 600 12px/1 var(--f-ui); color: var(--ok); }
.sg-ongoing { background: var(--paper-2); padding: 16px 18px 6px; margin-bottom: 30px; border-top: 3px solid var(--ink); }
.sg-ongoing h2 { font-family: var(--f-sc); font-weight: 600; font-size: 16px; letter-spacing: .06em; margin-bottom: 4px; }
.sg-ongoing .sg-evrow { grid-template-columns: 1fr; border-bottom: 0; border-top: 1px solid var(--rule-2); padding: 11px 0; }
.sg-ongoing .sg-evrow:first-of-type { border-top: 0; }
.sg-ongoing .sg-evrow__t { font-size: 17px; }
.sg-ongoing .sg-evrow__img, .sg-ongoing .sg-evrow__time { display: none; }
.sg-featured { display: grid; gap: 22px; margin-bottom: 34px; }
@media (min-width: 760px) { .sg-featured { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); } }
.sg-evph { display: flex; align-items: flex-end; justify-content: flex-start; aspect-ratio: 3 / 2; background: var(--paper-2); border: 1px solid var(--rule); padding: 14px; }
.sg-evph span { font-family: var(--f-display); font-size: 44px; line-height: .9; color: var(--plum); }
.sg-evph i { font-style: normal; font-family: var(--f-sc); font-weight: 600; font-size: 15px; letter-spacing: .06em; color: var(--ink-2); margin-left: 8px; }

/* Dogodek */
.sg-evd { display: grid; gap: 40px; padding-bottom: 60px; }
@media (min-width: 1024px) { .sg-evd { grid-template-columns: minmax(0, 1fr) 340px; column-gap: 56px; align-items: start; } }
.sg-evd__head { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.sg-evd__head .sg-evdate { width: 70px; padding: 8px 0 9px; }
.sg-evd__head .sg-evdate b { font-size: 36px; }
.sg-evd h1 { font-family: var(--f-display); font-weight: 400; font-size: 32px; line-height: 1.07; letter-spacing: -.01em; text-wrap: balance; }
@media (min-width: 760px) { .sg-evd h1 { font-size: 46px; } }
.sg-evd__sub { font: 500 15px/1.45 var(--f-ui); color: var(--ink-2); margin-top: 8px; }
.sg-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.sg-badge { font: 600 12px/1 var(--f-ui); padding: 6px 9px; border: 1px solid var(--rule-2); color: var(--ink-2); border-radius: var(--radius); display: inline-flex; align-items: center; gap: 6px; }
.sg-badge--dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--ink-3)); }
.sg-badge--plum { background: var(--plum); border-color: var(--plum); color: var(--on-plum); }
.sg-badge--err { background: var(--err); border-color: var(--err); color: #fff; }
.sg-alert { padding: 14px 16px; font: 500 15px/1.5 var(--f-ui); border-left: 3px solid var(--err); background: #F7E6E3; color: #5C1A1A; margin-top: 20px; }
.sg-panel { border: 1px solid var(--ink); background: var(--card); }
.sg-panel__row { padding: 14px 18px; border-top: 1px solid var(--rule); }
.sg-panel__row:first-child { border-top: 0; }
.sg-panel__k { font-family: var(--f-sc); font-weight: 600; font-size: 14px; letter-spacing: .06em; color: var(--plum); margin-bottom: 3px; }
.sg-panel__v { font-weight: 600; font-size: 17px; line-height: 1.35; }
.sg-panel__s { font: 400 14px/1.45 var(--f-ui); color: var(--ink-2); }
.sg-panel__s a { color: var(--plum); text-decoration: underline; }
.sg-panel__acts { display: grid; gap: 8px; padding: 16px 18px 18px; border-top: 1px solid var(--rule); }
.sg-panel__acts .sg-btn { width: 100%; }
@media (min-width: 1024px) { .sg-evd__side { position: sticky; top: 72px; display: grid; gap: 22px; } }
.sg-evd__side { display: grid; gap: 22px; }
.sg-map { width: 100%; height: 220px; border: 0; display: block; }
.sg-tix { border: 2px solid var(--plum); background: var(--card); padding: 18px; display: grid; gap: 12px; }
.sg-tix h3 { font-family: var(--f-display); font-weight: 400; font-size: 24px; }
.sg-tix label.sg-tt { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--rule-2); cursor: pointer; font: 500 15px/1.3 var(--f-ui); }
.sg-tix label.sg-tt input { accent-color: var(--plum); margin-right: 8px; }
.sg-tix small { font: 400 12px/1.45 var(--f-ui); color: var(--ink-3); }
.sg-tix small a { text-decoration: underline; }

/* Koledar */
.sg-cal { border: 1px solid var(--ink); background: var(--card); }
.sg-cal__nav { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--ink); }
.sg-cal__nav h2 { font-family: var(--f-display); font-weight: 400; font-size: 28px; }
.sg-cal__nav a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--rule-2); border-radius: 50%; }
.sg-cal__nav a:hover { background: var(--plum); border-color: var(--plum); color: var(--on-plum); }
.sg-cal table { width: 100%; border-collapse: collapse; table-layout: fixed; font-family: var(--f-ui); }
.sg-cal th { font: 600 12px/1 var(--f-sc); letter-spacing: .06em; color: var(--ink-3); padding: 10px 0 8px; text-transform: lowercase; }
.sg-cal td { border-top: 1px solid var(--rule); height: 56px; vertical-align: top; padding: 0; }
.sg-cal td + td { border-left: 1px solid var(--rule); }
.sg-cal td a, .sg-cal td span { display: flex; flex-direction: column; align-items: flex-start; height: 100%; padding: 6px 7px; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.sg-cal td a { color: var(--ink); }
.sg-cal td a:hover { background: var(--plum-wash); }
.sg-cal td span { color: var(--ink-3); }
.sg-cal td a i { width: 7px; height: 7px; border-radius: 50%; background: var(--plum); margin-top: auto; }
.sg-cal td.is-today a, .sg-cal td.is-today span { font-weight: 700; color: var(--plum); box-shadow: inset 0 3px 0 var(--plum); }
.sg-cal td.is-sel a { background: var(--plum); color: var(--on-plum); }
.sg-cal td.is-sel a i { background: var(--on-plum); }
@media (min-width: 760px) { .sg-cal td { height: 84px; } .sg-cal td a, .sg-cal td span { font-size: 17px; padding: 8px 10px; } }

/* --- Zaposlitev, videoteka, strani -------------------------------------- */
.sg-job { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 4px 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.sg-job__logo { grid-row: 1 / span 3; width: 52px; height: 52px; border: 1px solid var(--rule); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sg-job__logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.sg-job__logo span { font-family: var(--f-display); font-size: 22px; color: var(--plum); }
.sg-job__t { font-weight: 600; font-size: 19px; line-height: 1.26; }
.sg-job__t a::after { content: ""; position: absolute; inset: 0; }
.sg-job:hover .sg-job__t { color: var(--plum); }
.sg-job__co { font: 600 14px/1.4 var(--f-ui); color: var(--plum); }
.sg-job__m { font: 500 13px/1.45 var(--f-ui); color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 2px 14px; }
.sg-job__d { grid-column: 2; font-size: 15px; line-height: 1.5; color: var(--ink-2); display: none; }
@media (min-width: 760px) { .sg-job { grid-template-columns: 64px 1fr; gap: 4px 20px; } .sg-job__logo { width: 64px; height: 64px; } .sg-job__d { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } }
.sg-ext { width: 13px; height: 13px; vertical-align: -1px; margin-left: 4px; color: var(--ink-3); }

.sg-vt { display: grid; gap: 34px; padding-bottom: 60px; }
@media (min-width: 1024px) { .sg-vt { grid-template-columns: minmax(0, 1fr) 360px; column-gap: 40px; align-items: start; } }
.sg-vt__player { position: relative; aspect-ratio: 16 / 9; background: #120d11; margin: 0 calc(var(--gut) * -1); }
.sg-vt__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 600px) { .sg-vt__player { margin: 0; } }
.sg-vt__info { margin-top: 16px; }
.sg-vt__info h2 { font-family: var(--f-display); font-weight: 400; font-size: 28px; line-height: 1.1; }
.sg-vt__info p { color: var(--ink-2); margin-top: 8px; }
.sg-vt__info .sg-btn { margin-top: 14px; }
.sg-vt__more { margin-top: 14px; font: 500 14px/1.5 var(--f-ui); }
.sg-vt__more a { color: var(--plum); text-decoration: underline; display: block; padding: 3px 0; }
.sg-vlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
@media (min-width: 760px) and (max-width: 1023px) { .sg-vlist { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sg-vlist { grid-template-columns: 1fr; gap: 0; } }
.sg-vitem { position: relative; display: grid; gap: 6px; }
.sg-vitem__img { position: relative; aspect-ratio: 16 / 9; background: var(--paper-3); overflow: hidden; }
.sg-vitem__img img { width: 100%; height: 100%; object-fit: cover; }
.sg-vitem__t { font-weight: 600; font-size: 15px; line-height: 1.3; }
.sg-vitem__t a::after { content: ""; position: absolute; inset: 0; }
.sg-vitem:hover .sg-vitem__t { color: var(--plum); }
.sg-vitem[aria-current="true"] .sg-vitem__img { outline: 2px solid var(--plum); outline-offset: 2px; }
.sg-vitem[aria-current="true"] .sg-vitem__t { color: var(--plum); }
@media (min-width: 1024px) { .sg-vitem { grid-template-columns: 132px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); align-items: start; } .sg-vitem:first-child { border-top: 0; } }
.sg-vitem .sg-meta { font-size: 12px; }

.sg-page { max-width: 760px; padding-bottom: 70px; }
.sg-page .sg-prose { margin-top: 0; }
.sg-contact { margin-top: 36px; border: 1px solid var(--ink); background: var(--card); padding: 22px; }
.sg-contact h2 { font-family: var(--f-display); font-weight: 400; font-size: 26px; margin-bottom: 10px; }
.sg-contact p { margin-bottom: 6px; }
.sg-contact a { color: var(--plum); text-decoration: underline; }

/* --- Obrazci (račun) --------------------------------------------------- */
.sg-auth { padding-top: 30px; padding-bottom: 70px; }
.sg-auth__card { max-width: 460px; margin: 0 auto; background: var(--card); border: 1px solid var(--ink); padding: 26px 22px 24px; }
@media (min-width: 600px) { .sg-auth__card { padding: 34px 36px 30px; } }
.sg-auth__card--wide { max-width: 640px; }
.sg-auth h1 { font-family: var(--f-display); font-weight: 400; font-size: 34px; line-height: 1.1; }
.sg-auth__lead { color: var(--ink-2); margin: 6px 0 22px; }
.sg-auth h2 { font-family: var(--f-sc); font-weight: 600; font-size: 17px; letter-spacing: .05em; border-bottom: 1px solid var(--ink); padding-bottom: 8px; margin: 30px 0 16px; }
.sg-form { display: grid; gap: 16px; }
.sg-field label, .sg-field .sg-label { display: block; font: 600 14px/1.3 var(--f-ui); color: var(--ink); margin-bottom: 6px; }
.sg-field input[type="text"], .sg-field input[type="email"], .sg-field input[type="password"], .sg-field input[type="url"], .sg-field input[type="number"], .sg-field select, .sg-field textarea {
    width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid var(--rule-2); background: #fff; border-radius: var(--radius);
    font-family: var(--f-ui); font-size: 16px; line-height: 1.3; color: var(--ink);
}
.sg-field input:focus, .sg-field select:focus, .sg-field textarea:focus { outline: 2px solid var(--plum); outline-offset: 0; border-color: var(--plum); }
.sg-field input:disabled { background: var(--paper-2); color: var(--ink-3); }
.sg-field small { display: block; font: 400 12.5px/1.4 var(--f-ui); color: var(--ink-3); margin-top: 5px; }
.sg-field .sg-err, .sg-err { font: 600 13px/1.4 var(--f-ui); color: var(--err); margin-top: 5px; }
.sg-check { display: flex; gap: 10px; align-items: flex-start; font: 400 14px/1.45 var(--f-ui); color: var(--ink-2); }
.sg-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--plum); flex: none; }
.sg-check a { color: var(--plum); text-decoration: underline; }
.sg-formrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sg-formrow a, .sg-auth__alt a { font: 600 14px/1.3 var(--f-ui); color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }
.sg-or { display: flex; align-items: center; gap: 12px; font: 500 13px/1 var(--f-ui); color: var(--ink-3); margin: 20px 0; }
.sg-or::before, .sg-or::after { content: ""; flex: 1; height: 1px; background: var(--rule-2); }
.sg-google { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border: 1px solid var(--rule-2); background: #fff; font: 600 15px/1 var(--f-ui); border-radius: var(--radius); }
.sg-google:hover { border-color: var(--ink); }
.sg-auth__alt { text-align: center; margin-top: 20px; font: 400 14px/1.5 var(--f-ui); color: var(--ink-2); }
.sg-flash { padding: 12px 14px; font: 500 14px/1.45 var(--f-ui); border-left: 3px solid var(--ink); background: var(--paper-2); margin-bottom: 14px; }
.sg-flash--error { border-color: var(--err); background: #F7E6E3; color: #5C1A1A; }
.sg-flash--success { border-color: var(--ok); background: #E5F0E8; color: #1E4A2D; }
.sg-flash--warning { border-color: var(--warn); background: #F8EEDB; color: #4A320C; }
.sg-acct { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--rule-2); background: #fff; font: 500 15px/1.3 var(--f-ui); }
.sg-acct form { margin: 0; }
.sg-acct__ok { color: var(--ok); font-size: 13px; margin-left: 6px; }
.sg-danger { color: var(--err) !important; }
.sg-btn--danger { background: var(--err); border-color: var(--err); }
.sg-btn--danger:hover { background: #7F2020; }
.sg-auth__out { text-align: center; margin-top: 26px; font: 500 14px/1.5 var(--f-ui); }
.sg-auth__out a { color: var(--ink-2); text-decoration: underline; }

/* --- Napake --------------------------------------------------------------- */
.sg-err404 { padding: 40px 0 80px; max-width: 720px; }
.sg-err404 p.sg-err404__n { font-family: var(--f-display); font-size: 120px; line-height: .85; color: var(--plum); margin: 0; }
.sg-err404 h1 { font-family: var(--f-display); font-weight: 400; font-size: 38px; line-height: 1.08; margin-top: 18px; }
.sg-err404 p { font-size: 18px; color: var(--ink-2); margin-top: 10px; }
.sg-err404 ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; font: 600 15px/1.4 var(--f-ui); }
.sg-err404 ul a { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }

/* --- Noga --------------------------------------------------------------- */
.sg-foot { background: var(--plum); color: var(--on-plum); margin-top: 64px; padding: 42px 0 24px; font-family: var(--f-ui); }
.sg-foot__top { display: grid; gap: 30px; grid-template-columns: 1fr 1fr; }
.sg-foot__brand { grid-column: 1 / -1; }
.sg-foot__brand img { height: 30px; width: auto; }
.sg-foot__brand p { font-family: var(--f-text); font-size: 17px; color: var(--on-plum-2); margin-top: 12px; }
.sg-foot__social { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.sg-foot__social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(248, 240, 235, .35); border-radius: 50%; }
.sg-foot__social a:hover { background: rgba(255, 255, 255, .08); }
.sg-foot__news { height: 40px; padding: 0 16px; border: 1px solid rgba(248, 240, 235, .35); border-radius: 20px; background: none; cursor: pointer; font: 600 14px/1 var(--f-ui); color: var(--on-plum); }
.sg-foot__news:hover { background: rgba(255, 255, 255, .08); }
.sg-foot__h { font-family: var(--f-sc); font-weight: 600; font-size: 15px; letter-spacing: .07em; color: var(--on-plum); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid rgba(248, 240, 235, .2); }
.sg-foot ul { list-style: none; margin: 0; padding: 0; }
.sg-foot li a, .sg-foot li .sg-linkbtn { display: inline-block; padding: 6px 0; font-size: 14.5px; color: var(--on-plum-2); text-align: left; }
.sg-foot li a:hover, .sg-foot li .sg-linkbtn:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sg-foot__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-top: 34px; padding-top: 16px; border-top: 1px solid rgba(248, 240, 235, .2); font-size: 13px; color: var(--on-plum-2); }
.sg-foot__bar a { color: var(--on-plum); text-decoration: underline; text-underline-offset: 3px; }
.sg-foot__info { grid-column: 1 / -1; }
.sg-foot__info ul { columns: 2; column-gap: 24px; }
.sg-foot__info li { break-inside: avoid; }
@media (min-width: 760px) { .sg-foot__top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } .sg-foot__brand, .sg-foot__info { grid-column: auto; } .sg-foot__info ul { columns: 1; } .sg-foot__brand img { height: 34px; } }

/* --- Skupni gradniki drugih ekip (pojavna okna, lightbox) ---------------- */
#knl-popup { --knl-accent: #4A1D3A !important; font-family: var(--f-ui) !important; border-radius: 3px !important; }
#knl-popup .knl-popup__title { font-family: var(--f-display) !important; font-weight: 400 !important; }
#knpush-optin { --knpush-accent: #4A1D3A !important; font-family: var(--f-ui) !important; border-radius: 3px !important; }
.goverlay { background: rgba(18, 13, 17, .94) !important; }

/* --- Komentarji: drobni Tailwind razredi, ki jih izriše static/js/comments.js --- */
#comments-section, #report-modal, #moderation-modal, #login-modal { font-family: var(--f-ui); font-size: 15px; }
#comments-section *, #report-modal *, #moderation-modal *, #login-modal * { --tw-ring-color: rgba(74, 29, 58, .35); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; }
.sg .hidden { display: none !important; }
.sg .block { display: block; }
.sg .inline-block { display: inline-block; }
.sg .flex { display: flex; }
.sg .fixed { position: fixed; }
.sg .inset-0 { inset: 0; }
.sg .z-50 { z-index: 130; }
.sg .flex-1 { flex: 1 1 0%; }
.sg .flex-shrink-0 { flex-shrink: 0; }
.sg .min-w-0 { min-width: 0; }
.sg .items-center { align-items: center; }
.sg .justify-between { justify-content: space-between; }
.sg .justify-center { justify-content: center; }
.sg .justify-end { justify-content: flex-end; }
.sg .gap-1 { gap: .25rem; } .sg .gap-2 { gap: .5rem; } .sg .gap-3 { gap: .75rem; } .sg .gap-4 { gap: 1rem; }
.sg .space-y-3 > * + * { margin-top: .75rem; } .sg .space-y-4 > * + * { margin-top: 1rem; }
.sg .w-full { width: 100%; } .sg .max-w-md { max-width: 28rem; } .sg .mx-auto { margin-left: auto; margin-right: auto; }
.sg .w-1 { width: .25rem; } .sg .w-4 { width: 1rem; } .sg .h-4 { height: 1rem; } .sg .w-5 { width: 1.25rem; } .sg .h-5 { height: 1.25rem; } .sg .w-6 { width: 1.5rem; } .sg .h-6 { height: 1.5rem; } .sg .w-10 { width: 2.5rem; } .sg .h-10 { height: 2.5rem; } .sg .w-12 { width: 3rem; } .sg .h-12 { height: 3rem; }
.sg .p-2 { padding: .5rem; } .sg .p-3 { padding: .75rem; } .sg .p-4 { padding: 1rem; } .sg .p-6 { padding: 1.5rem; }
.sg .px-1\.5 { padding-left: .375rem; padding-right: .375rem; } .sg .px-2 { padding-left: .5rem; padding-right: .5rem; } .sg .px-3 { padding-left: .75rem; padding-right: .75rem; } .sg .px-4 { padding-left: 1rem; padding-right: 1rem; } .sg .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.sg .py-0\.5 { padding-top: .125rem; padding-bottom: .125rem; } .sg .py-2 { padding-top: .5rem; padding-bottom: .5rem; } .sg .py-3 { padding-top: .75rem; padding-bottom: .75rem; } .sg .py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.sg .mb-1 { margin-bottom: .25rem; } .sg .mb-2 { margin-bottom: .5rem; } .sg .mb-3 { margin-bottom: .75rem; } .sg .mb-4 { margin-bottom: 1rem; } .sg .mb-6 { margin-bottom: 1.5rem; }
.sg .mt-1 { margin-top: .25rem; } .sg .mt-2 { margin-top: .5rem; } .sg .mt-3 { margin-top: .75rem; } .sg .mt-4 { margin-top: 1rem; } .sg .mt-6 { margin-top: 1.5rem; }
.sg .mr-1 { margin-right: .25rem; } .sg .mr-2 { margin-right: .5rem; }
.sg .top-4 { top: 1rem; } .sg .right-4 { right: 1rem; }
.sg .rounded { border-radius: 2px; } .sg .rounded-lg { border-radius: 3px; } .sg .rounded-full { border-radius: 9999px; }
.sg .border { border: 1px solid var(--rule-2); }
.sg .border-gray-200 { border-color: var(--rule); } .sg .border-gray-300 { border-color: var(--rule-2); } .sg .border-blue-200 { border-color: #D8C3CE; } .sg .border-red-200 { border-color: #E9C2BC; }
.sg .bg-white { background: #fff; } .sg .bg-gray-50 { background: var(--paper-2); } .sg .bg-gray-100 { background: var(--paper-2); } .sg .bg-gray-200 { background: var(--paper-3); }
.sg .bg-blue-50 { background: var(--plum-wash); } .sg .bg-blue-200 { background: #E3D0DA; } .sg .text-blue-800 { color: var(--plum); } .sg .text-blue-600 { color: var(--plum); }
.sg .bg-red-50 { background: #F7E6E3; } .sg .bg-red-600 { background: var(--err); } .sg .hover\:bg-red-700:hover { background: #7F2020; }
.sg .bg-yellow-100 { background: #F8EEDB; } .sg .text-yellow-700 { color: #6B4510; } .sg .text-yellow-600 { color: var(--warn); } .sg .hover\:text-yellow-800:hover { color: #4A320C; }
.sg .bg-green-600 { background: var(--ok); } .sg .bg-orange-500 { background: var(--warn); } .sg .bg-blue-600 { background: var(--plum); }
.sg .bg-black\/50 { background: rgba(18, 13, 17, .55); }
.sg .text-white { color: #fff; }
.sg .text-gray-300 { color: var(--rule-2); } .sg .text-gray-400 { color: var(--ink-3); } .sg .text-gray-500 { color: var(--ink-3); } .sg .text-gray-600 { color: var(--ink-2); } .sg .text-gray-700 { color: var(--ink-2); } .sg .text-gray-800 { color: var(--ink); } .sg .text-gray-900 { color: var(--ink); }
.sg .text-red-500 { color: #B83A3A; } .sg .text-red-600 { color: var(--err); } .sg .text-red-700 { color: #7F2020; } .sg .text-green-600 { color: var(--ok); }
.sg .hover\:text-gray-600:hover, .sg .hover\:text-gray-700:hover, .sg .hover\:text-gray-800:hover { color: var(--ink); }
.sg .hover\:text-red-600:hover { color: var(--err); } .sg .hover\:text-red-700:hover { color: #7F2020; } .sg .hover\:text-green-800:hover { color: #1E4A2D; }
.sg .hover\:bg-gray-50:hover { background: var(--paper-2); } .sg .hover\:underline:hover { text-decoration: underline; }
.sg .text-xs { font-size: 12px; line-height: 1.4; } .sg .text-sm { font-size: 14px; line-height: 1.45; } .sg .text-base { font-size: 16px; } .sg .text-lg { font-size: 18px; line-height: 1.4; } .sg .text-xl { font-size: 21px; line-height: 1.3; }
.sg .font-normal { font-weight: 400; } .sg .font-medium { font-weight: 500; } .sg .font-bold { font-weight: 700; } .sg .italic { font-style: italic; }
.sg .text-center { text-align: center; }
.sg .whitespace-pre-wrap { white-space: pre-wrap; } .sg .break-words { overflow-wrap: break-word; }
.sg .cursor-pointer { cursor: pointer; } .sg .resize-none { resize: none; }
.sg .transition-colors { transition: color .15s, background-color .15s, border-color .15s; } .sg .transition-shadow { transition: box-shadow .15s; } .sg .transition-all { transition: all .3s; }
.sg .shadow-lg { box-shadow: 0 10px 30px rgba(33, 26, 32, .18); }
.sg .transform { transform: translateX(var(--tw-translate-x, 0)); } .sg .translate-x-full { --tw-translate-x: 110%; }
.sg .focus\:ring-2:focus { outline: 2px solid var(--plum); outline-offset: 0; } .sg .focus\:border-transparent:focus { border-color: transparent; }
/* Videz komentarjev v slogu portala */
#comments-section .comments-header { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--ink); padding-top: 12px; margin-bottom: 18px; }
#comments-section .comments-header h3 { font-family: var(--f-display); font-weight: 400; font-size: 28px; line-height: 1.1; display: flex; align-items: center; gap: 10px; }
#comments-section .comments-header h3 > span:first-child { display: none; }
#comments-section .comments-header h3 span.text-base { font-family: var(--f-ui); font-size: 15px; color: var(--ink-3); }
#comments-section textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--rule-2); background: #fff; font-family: var(--f-text); font-size: 17px; line-height: 1.5; border-radius: 2px; }
#comments-section textarea:focus { outline: 2px solid var(--plum); outline-offset: 0; border-color: var(--plum); }
#comments-section input[type="text"], #comments-section input[type="password"], #login-modal input { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--rule-2); background: #fff; border-radius: 2px; }
#comments-section button { cursor: pointer; background: none; border: 0; }
#comments-section button[style*="background"], #comments-section a[style*="background"], #login-modal button[type="submit"], #report-modal button[type="submit"], #moderation-modal button[type="submit"] { background: var(--plum) !important; color: var(--on-plum) !important; border-radius: 2px !important; min-height: 42px; padding-left: 18px; padding-right: 18px; font-weight: 600; }
#comments-section .comment > .flex { background: var(--card); border: 1px solid var(--rule) !important; border-radius: 0 !important; }
#comments-section .comment .comment-body, #comments-section .comment p.text-gray-800 { font-family: var(--f-text); font-size: 17px; line-height: 1.55; color: var(--ink); }
#comments-section .comment .w-10.h-10 { background: var(--plum-wash); color: var(--plum); font-family: var(--f-display); }
#comments-section .comment .replies { border-left: 1px solid var(--rule-2); padding-left: 14px; margin-left: 6px; }
#comments-section .comment[data-status="hidden"] { opacity: .7; }
#comments-section .bg-gray-50.border { background: var(--paper-2); border-color: var(--rule) !important; }
#report-modal > div, #moderation-modal > div, #login-modal > div { background: var(--card); border: 1px solid var(--ink); border-radius: 2px !important; }
#report-modal label:has(input:checked) { background: var(--plum-wash); border-color: var(--plum); }

/* --- Gibanje, tisk ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
    .sg-strip, .sg-nav, .sg-mast__tools, .sg-search, .sg-menu, .sg-share, .sg-share-end, .sg-aside, .sg-foot, .sg-comments, #knl-popup, #knpush-optin { display: none !important; }
    body.sg { background: #fff; }
    .sg-art__cols { display: block; }
}

/* --- Pomožno ------------------------------------------------------------ */
.sg-cols--flush { margin-top: 0; }
@media (max-width: 759px) { .sg-hide-sm { display: none !important; } }
