/* ==========================================================================
   Ljubljančan — prenova v3 (okt. 2026)
   Slog SAMO za portal Ljubljančan (naložen le v templates/portals/ljubljancan/base.html).
   Znamka: temno modra + rdeča strešica nad »č« (zeleno je Aleš zavrnil 11. 10. 2026). Pisavi: Schibsted Grotesk (vmesnik,
   naslovi in besedilo) — serifne pisave ne uporabljamo (Aleš, 11. 10. 2026).
   ========================================================================== */

:root {
  --g-950: #0A1B33;
  --g-900: #0F2647;
  --g-700: #163463;   /* barva logotipa (modra) */
  --g-600: #1F4A8A;
  --g-500: #2A5FAD;
  --g-100: #D9E3F2;
  --g-50:  #EEF2F8;
  --red:   #F0472E;   /* kljukica — samo za poudarke; namerno ne mestna rdeča #ED1C24 */
  --red-700: #B9241C;
  --amber: #E39B12;
  --ink:   #131821;
  --ink-2: #374151;
  --muted: #5B6575;
  --faint: #8790A0;
  --line:  #DCE2EA;
  --line-2:#EAEEF3;
  --bg:    #F2F4F7;
  --paper: #FFFFFF;
  --sans: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: var(--sans);   /* serifne pisave ne uporabljamo več (Aleš 11. 10. 2026: »nismo cajtnge«) */
  --wrap: 1240px;

  /* stare spremenljivke (inline slogi v starejših predlogah) → nova paleta */
  --lj-ink: var(--ink); --lj-ink-900: var(--g-950); --lj-green: var(--g-600); --lj-green-dark: var(--g-700);
  --lj-river: var(--g-500); --lj-bg: var(--bg); --lj-surface: var(--g-50); --lj-card: #fff;
  --lj-border: var(--line); --lj-border-2: var(--line-2); --lj-muted: var(--muted); --lj-faint: var(--faint);
  --lj-green-bg: var(--g-50); --lj-green-bg-bd: var(--g-100); --lj-green-bg-tx: var(--g-900);
}

/* --- Osnova --------------------------------------------------------------- */
html { -webkit-text-size-adjust: 100%; }
body.lj3 { background: var(--bg); color: var(--ink); font-family: var(--sans); font-feature-settings: "ss01" 0; }
body.lj3 h1, body.lj3 h2, body.lj3 h3, body.lj3 h4, body.lj3 h5, body.lj3 .font-head { font-family: var(--sans); letter-spacing: -0.01em; }
:where(body.lj3) a { color: inherit; text-decoration: none; }
body.lj3 ::selection { background: var(--g-100); }
body.lj3 :focus-visible { outline: 2px solid var(--g-500); outline-offset: 2px; border-radius: 2px; }

.lj-wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 768px) { .lj-wrap { padding-left: 28px; padding-right: 28px; } }

.lj-line-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lj-line-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lj-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- Glava: zgornji pas ----------------------------------------------------- */
.lj3-top { background: var(--g-950); color: #A9B9D0; font-size: 13px; }
.lj3-top-in { display: flex; align-items: center; justify-content: space-between; height: 36px; gap: 20px; }
.lj3-top a { color: #CFDAEA; }
.lj3-top a:hover { color: #fff; }
.lj3-top-links { display: flex; align-items: center; gap: 22px; }
.lj3-top-links .lj3-login { color: #fff; font-weight: 600; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.16); }
.lj3-top svg { display: block; }

/* --- Glava: masthead -------------------------------------------------------- */
.lj3-mast { background: var(--paper); }
.lj3-mast-in { display: flex; align-items: center; gap: 28px; height: 96px; }
.lj3-logo { display: block; flex-shrink: 0; }
.lj3-logo img { display: block; height: 50px; width: auto; }
.lj3-mast-tag { font-family: var(--sans); font-size: 15px; color: var(--muted); padding-left: 24px; border-left: 1px solid var(--line); line-height: 1.3; max-width: 240px; }
.lj3-search { display: flex; align-items: center; height: 44px; margin-left: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); width: 300px; transition: border-color .15s; }
.lj3-search:focus-within { border-color: var(--g-500); }
.lj3-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 14px; height: 100%; font: 400 15px var(--sans); color: var(--ink); }
.lj3-search input::placeholder { color: var(--faint); }
.lj3-search button { width: 44px; height: 42px; display: flex; align-items: center; justify-content: center; color: var(--muted); background: transparent; border: 0; cursor: pointer; }
.lj3-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 6px; background: var(--g-700); color: #fff !important; font: 700 15px var(--sans); border: 0; cursor: pointer; white-space: nowrap; transition: background .15s; }
.lj3-btn:hover { background: var(--g-900); }

/* --- Glava: navigacija (zeleni pas) ----------------------------------------- */
.lj3-nav { background: var(--g-700); position: sticky; top: 0; z-index: 60; }
.lj3-nav-in { display: flex; align-items: stretch; height: 50px; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.lj3-nav-in::-webkit-scrollbar { display: none; }
.lj3-nav a { position: relative; display: flex; align-items: center; padding: 0 14px; color: #E4EBF5 !important; font: 600 15.5px var(--sans); white-space: nowrap; transition: background .15s, color .15s; }
.lj3-nav a:hover { background: var(--g-900); color: #fff !important; }
.lj3-nav a.active { color: #fff !important; background: var(--g-900); }
.lj3-nav a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 4px; background: var(--red); }

.lj3-nav .lj3-nav-home img { height: 36px; width: 36px; display: none; }
.lj3-nav.stuck .lj3-nav-home img { display: block; }
.lj3-nav .lj3-nav-sp { flex: 1; }
.lj3-nav .lj3-nav-aux { font-weight: 500; color: #BFCDE2 !important; }

/* --- Mobilna glava ------------------------------------------------------- */
.lj3-mhead { background: var(--paper); border-bottom: 1px solid var(--line); }
.lj3-mhead-in { display: flex; align-items: center; gap: 8px; height: 58px; padding: 0 12px 0 16px; }
.lj3-mhead .lj3-logo img { height: 30px; }
.lj3-iconbtn { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 6px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.lj3-iconbtn.solid { background: var(--g-700); color: #fff; }
.lj3-msearch { display: none; padding: 0 12px 12px; }
.lj3-msearch.open { display: block; }
.lj3-msearch form { display: flex; height: 44px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.lj3-msearch input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 14px; font: 400 16px var(--sans); }
.lj3-msearch button { padding: 0 16px; background: var(--g-700); color: #fff; border: 0; font: 700 15px var(--sans); }
.lj3-mnav { background: var(--g-700); }
.lj3-mnav-in { display: flex; overflow-x: auto; scrollbar-width: none; padding: 0 8px; }
.lj3-mnav-in::-webkit-scrollbar { display: none; }
.lj3-mnav a { flex-shrink: 0; position: relative; padding: 12px 10px; color: #E4EBF5 !important; font: 600 14.5px var(--sans); white-space: nowrap; }
.lj3-mnav a.active { color: #fff !important; }
.lj3-mnav a.active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; background: var(--red); }

/* --- Mobilni meni (celozaslonski) ---------------------------------------- */
#mobile-menu { position: fixed; inset: 0; z-index: 100; background: var(--g-900); color: #fff; display: none; flex-direction: column; }
#mobile-menu.open { display: flex; animation: lj3fade .18s ease-out; }
@keyframes lj3fade { from { opacity: 0; } to { opacity: 1; } }
.lj3-mm-head { display: flex; align-items: center; justify-content: space-between; height: 58px; padding: 0 12px 0 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
.lj3-mm-head img { height: 30px; width: auto; }
.lj3-mm-body { flex: 1; overflow-y: auto; padding: 8px 16px 24px; }
.lj3-mm-cats a { display: flex; align-items: center; justify-content: space-between; padding: 14px 2px; border-bottom: 1px solid rgba(255,255,255,.1); font: 700 22px var(--sans); color: #fff !important; letter-spacing: -0.01em; }
.lj3-mm-cats a svg { opacity: .45; }
.lj3-mm-more { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
.lj3-mm-more a { padding: 12px 14px; border-radius: 6px; background: rgba(255,255,255,.07); color: #DDE5F1 !important; font: 600 15px var(--sans); }
.lj3-mm-foot { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.12); display: flex; gap: 10px; }
.lj3-mm-foot a { flex: 1; text-align: center; padding: 13px; border-radius: 6px; font: 700 15px var(--sans); }
.lj3-mm-foot .p { background: #fff; color: var(--g-900) !important; }
.lj3-mm-foot .s { border: 1px solid rgba(255,255,255,.3); color: #fff !important; }

/* --- Skupni gradniki ------------------------------------------------------ */
.lj3-kick { font: 700 13px/1 var(--sans); color: var(--g-600); letter-spacing: .01em; }
.lj3-kick.red { color: var(--red-700); }
.lj3-kick.ad { color: #6D4BC4; }
.lj3-time { font: 400 13px/1.2 var(--sans); color: var(--faint); }
.lj3-title { font-family: var(--sans); font-weight: 700; color: var(--ink); letter-spacing: -0.012em; transition: color .15s; }
a:hover .lj3-title { color: var(--g-600); }
.lj3-img { position: relative; overflow: hidden; background: var(--g-50); border-radius: 4px; }
.lj3-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.lj3-r169 { aspect-ratio: 16 / 9; }
.lj3-r32 { aspect-ratio: 3 / 2; }
.lj3-r11 { aspect-ratio: 1 / 1; }
.lj3-lede { font-family: var(--serif); font-weight: 400; color: var(--ink-2); line-height: 1.5; }

/* oznake FOTO/VIDEO (media_badge) */
.lj3 .lj-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; font: 700 11px/1 var(--sans); letter-spacing: .02em; background: rgba(12,13,15,.78); color: #fff; border-radius: 3px; }

/* --- Naslov sekcije ------------------------------------------------------- */
.lj3-sh { display: flex; align-items: baseline; gap: 16px; border-top: 4px solid var(--g-700); padding-top: 12px; margin-bottom: 20px; }
.lj3-sh h2 { font: 800 26px/1.1 var(--sans); color: var(--ink); letter-spacing: -0.02em; margin: 0; }
.lj3-sh h2 a:hover { color: var(--g-600); }
.lj3-sh .more { margin-left: auto; font: 600 14px var(--sans); color: var(--g-600); white-space: nowrap; }
.lj3-sh .more:hover { color: var(--g-900); text-decoration: underline; text-underline-offset: 3px; }

/* --- Naslovnica: vrh ------------------------------------------------------ */
.lj3-home { padding-top: 24px; padding-bottom: 56px; }
.lj3-hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; }
.lj3-ov { position: relative; display: block; overflow: hidden; border-radius: 6px; background: #1A1C1F; color: #fff; isolation: isolate; }
.lj3-ov img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.lj3-ov::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,13,15,0) 30%, rgba(12,13,15,.55) 58%, rgba(10,11,13,.93) 100%); }
.lj3-ov:hover img { transform: scale(1.025); }
.lj3-ov-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 28px 26px; display: flex; flex-direction: column; gap: 10px; }
.lj3-ov .lj3-kick { color: var(--ov-kick, #FFFFFF); }
.lj3-ov .lj3-kick.red { color: #FF8E86; }
.lj3-ov .lj3-time { color: rgba(255,255,255,.72); }
.lj3-ov h1, .lj3-ov h2, .lj3-ov h3 { margin: 0; color: #fff; font-family: var(--sans); font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.lj3-ov .lj-badge { position: absolute; top: 14px; left: 14px; }
.lj3-lead { min-height: 540px; }
.lj3-lead h1 { font-size: 44px; line-height: 1.04; max-width: 820px; }
.lj3-lead .lj3-lede { color: rgba(255,255,255,.88); font-size: 17px; max-width: 700px; }
.lj3-hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.lj3-hero-side .lj3-ov { min-height: 260px; }
.lj3-hero-side .lj3-ov-body { padding: 18px 20px 20px; gap: 8px; }
.lj3-hero-side h2 { font-size: 21px; line-height: 1.16; }

/* pas pod vrhom */
.lj3-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 24px; padding-bottom: 8px; }
.lj3-strip a { display: flex; flex-direction: column; gap: 10px; }
.lj3-strip .lj3-title { font-size: 17px; line-height: 1.25; }
.lj3-strip .lj3-meta { display: flex; gap: 10px; align-items: baseline; }

/* --- Glavni + stranski stolpec ------------------------------------------- */
.lj3-cols { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 44px; margin-top: 44px; }

/* Zadnje novice (časovnica) */
.lj3-feed { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.lj3-feed a { display: grid; grid-template-columns: 64px minmax(0, 1fr) 128px; grid-template-areas: "t c i"; gap: 18px; padding: 18px 20px; border-top: 1px solid var(--line-2); align-items: start; }
.lj3-feed .t { grid-area: t; white-space: nowrap; }
.lj3-feed .c { grid-area: c; }
.lj3-feed .lj3-img { grid-area: i; }
.lj3-feed a:first-child { border-top: 0; }
.lj3-feed .t { font: 700 15px/1.25 var(--sans); color: var(--g-600); padding-top: 1px; }
.lj3-feed .t small { display: block; font-weight: 400; font-size: 12.5px; color: var(--faint); margin-top: 2px; }
.lj3-feed .c { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lj3-feed .lj3-title { font-size: 18.5px; line-height: 1.22; }
.lj3-feed .lj3-lede { font-size: 15px; color: var(--muted); }
.lj3-feed .lj3-img { aspect-ratio: 4 / 3; }

/* Rubrike */
.lj3-sec { margin-top: 48px; }
.lj3-sec-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; }
.lj3-sec-lead { display: flex; flex-direction: column; gap: 12px; }
.lj3-sec-lead .lj3-title { font-size: 25px; line-height: 1.14; letter-spacing: -0.02em; }
.lj3-sec-lead .lj3-lede { font-size: 16px; }
.lj3-sec-list { display: flex; flex-direction: column; }
.lj3-sec-list a { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.lj3-sec-list a:first-child { border-top: 0; padding-top: 0; }
.lj3-sec-list .lj3-title { font-size: 16.5px; line-height: 1.26; }
.lj3-sec-list .c { display: flex; flex-direction: column; gap: 6px; }

/* Osmrtnice */
.lj3-obits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lj3-obits a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 18px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.lj3-obits img, .lj3-obits .ph { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; filter: grayscale(1); background: var(--g-50); }

/* --- Stranski stolpec ----------------------------------------------------- */
.lj3-aside { min-width: 0; }
.lj3-aside-in { position: sticky; top: 70px; display: flex; flex-direction: column; gap: 28px; }
.lj3-box { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 20px; }
.lj3-box-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font: 800 19px/1.15 var(--sans); color: var(--ink); letter-spacing: -0.015em; margin-bottom: 14px; }
.lj3-box-h small { font: 500 13px var(--sans); color: var(--g-600); letter-spacing: 0; }
.lj3-box-h small a:hover { text-decoration: underline; }
.lj3-live { display: inline-flex; align-items: center; gap: 8px; }
.lj3-live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(240,71,46,.18); }
.lj3-promet { display: flex; flex-direction: column; }
.lj3-promet div.e { padding: 10px 0 10px 12px; border-left: 3px solid var(--amber); margin-bottom: 8px; }
.lj3-promet div.e.r { border-left-color: var(--red); }
.lj3-promet b { display: block; font: 600 14px/1.35 var(--sans); color: var(--ink); }
.lj3-promet b span { font-weight: 400; color: var(--muted); }
.lj3-promet i { display: block; font-style: normal; font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.lj3-src { font-size: 12px; color: var(--faint); margin-top: 6px; }
.lj3-src a { text-decoration: underline; }

.lj3-rank a { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-top: 1px solid var(--line-2); align-items: baseline; }
.lj3-rank a:first-child { border-top: 0; padding-top: 2px; }
.lj3-rank .n { font: 800 26px/1 var(--sans); color: var(--g-600); }
.lj3-rank .lj3-title { font-size: 15.5px; line-height: 1.3; font-weight: 600; }

.lj3-news { background: var(--g-700); color: #fff; border-radius: 6px; padding: 22px; }
.lj3-news h3 { font: 800 21px/1.15 var(--sans); margin: 0; color: #fff; letter-spacing: -0.015em; }
.lj3-news p { font-family: var(--serif); font-size: 16px; line-height: 1.45; color: #CFDAEA; margin: 8px 0 0; }
.lj3-news input[type=email] { width: 100%; height: 46px; border-radius: 6px; background: #fff; border: 0; padding: 0 14px; color: var(--ink); font: 400 15px var(--sans); margin-top: 16px; }
.lj3-news label { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: 12.5px; color: #CFDAEA; line-height: 1.4; }
.lj3-news label a { color: #fff; text-decoration: underline; }
.lj3-news label input { margin-top: 2px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--red); }
.lj3-news button { width: 100%; height: 46px; border-radius: 6px; background: var(--g-950); color: #fff; border: 0; font: 700 15px var(--sans); margin-top: 12px; cursor: pointer; }
.lj3-news button:hover { background: #000; }
.lj3-news small { display: block; font-size: 12px; color: #A9BBD6; margin-top: 10px; }

.lj3-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.lj3-pills a, .lj3-pills span { display: inline-flex; align-items: center; height: 34px; padding: 0 13px; border-radius: 17px; border: 1px solid var(--line); font: 600 14px var(--sans); color: var(--ink-2); background: var(--paper); }
.lj3-pills a:hover { border-color: var(--g-500); color: var(--g-700); }
.lj3-pills .active { background: var(--g-700); border-color: var(--g-700); color: #fff; }

.lj3-mini a { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.lj3-mini a:first-child { border-top: 0; padding-top: 0; }
.lj3-mini .lj3-title { font-size: 14.5px; line-height: 1.3; font-weight: 600; }

.lj3-notice { background: var(--g-50); border: 1px solid var(--g-100); border-radius: 6px; padding: 20px; }
.lj3-notice a { display: block; padding: 6px 0; font-size: 15px; color: var(--g-900); }

/* --- Rubrika (category.html) ---------------------------------------------- */
.lj3-cat-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.lj3-cat-head-in { padding-top: 30px; padding-bottom: 26px; }
.lj3-crumb { font-size: 13.5px; color: var(--faint); }
.lj3-crumb a:hover { color: var(--g-600); }
.lj3-cat-head h1 { font: 800 52px/1 var(--sans); letter-spacing: -0.03em; color: var(--ink); margin: 10px 0 0; }
.lj3-cat-head p { font-family: var(--serif); font-size: 18px; color: var(--muted); max-width: 640px; margin: 12px 0 0; line-height: 1.5; }
.lj3-cat-head .lj3-pills { margin-top: 20px; }
.lj3-cat-body { padding-top: 32px; padding-bottom: 56px; }
.lj3-cat-body .lj3-cols { margin-top: 0; }
.lj3-cat-top { display: grid; grid-template-columns: minmax(0, 1fr); margin-bottom: 28px; }
.lj3-cat-top .lj3-ov { min-height: 420px; }
.lj3-cat-top h2 { font-size: 34px; line-height: 1.08; max-width: 760px; }
.lj3-cat-top .lj3-lede { color: rgba(255,255,255,.88); font-size: 16.5px; max-width: 640px; }
.lj3-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.lj3-grid2 a { display: flex; flex-direction: column; gap: 10px; }
.lj3-grid2 .lj3-title { font-size: 20px; line-height: 1.2; }
.lj3-grid2 .lj3-lede { font-size: 15px; color: var(--muted); }
.lj3-pag { margin-top: 40px; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.lj3-pag a, .lj3-pag span { min-width: 42px; height: 42px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; border: 1px solid var(--line); background: var(--paper); font: 600 15px var(--sans); color: var(--ink); }
.lj3-pag a:hover { border-color: var(--g-500); color: var(--g-700); }
.lj3-pag .cur { background: var(--g-700); border-color: var(--g-700); color: #fff; }
.lj3-pag .gap { border: 0; background: transparent; color: var(--faint); }
.lj3-empty { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 48px 24px; text-align: center; }
.lj3-empty h2 { font: 800 22px var(--sans); margin: 0 0 6px; }
.lj3-empty p { color: var(--muted); }

/* --- Noga ----------------------------------------------------------------- */
.lj3-foot { background: var(--g-950); color: #A9B9D0; margin-top: auto; }
.lj3-foot a { color: #D6DFEC; }
.lj3-foot a:hover { color: #fff; }
.lj3-foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding: 52px 0 40px; }
.lj3-foot-brand img { height: 46px; width: auto; display: block; }
.lj3-foot-brand p { font-family: var(--serif); font-size: 17px; line-height: 1.5; max-width: 380px; margin: 16px 0 0; color: #BBC8DC; }
.lj3-foot h4 { font: 700 14px var(--sans); color: #fff; margin: 0 0 14px; letter-spacing: 0; }
.lj3-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 15px; }
.lj3-foot-cats ul { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 20px; }
.lj3-social { display: flex; gap: 10px; margin-top: 20px; }
.lj3-social a { width: 40px; height: 40px; border-radius: 6px; border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; color: #fff; }
.lj3-social a:hover { background: rgba(255,255,255,.08); }
.lj3-foot-bar { border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 18px 0; font-size: 13.5px; }

/* --- Odzivnost ------------------------------------------------------------ */
@media (max-width: 1180px) {
  .lj3-mast-tag { display: none; }
  .lj3-cols { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
}
@media (max-width: 1023px) {
  .lj3-hero { grid-template-columns: 1fr; }
  .lj3-hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .lj3-lead { min-height: 460px; }
  .lj3-lead h1 { font-size: 36px; }
  .lj3-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .lj3-cols { grid-template-columns: 1fr; margin-top: 36px; }
  .lj3-aside-in { position: static; }
  .lj3-foot-top { grid-template-columns: 1fr 1fr; }
  .lj3-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .lj3-home { padding-top: 0; }
  .lj3-home > .lj3-hero { margin: 0 -16px; gap: 0; }
  .lj3-lead { border-radius: 0; min-height: 0; aspect-ratio: 4 / 5; max-height: 560px; }
  .lj3-lead .lj3-ov-body { padding: 20px 16px 22px; }
  .lj3-lead h1 { font-size: 29px; line-height: 1.08; }
  .lj3-lead .lj3-lede { font-size: 17px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .lj3-hero-side { grid-template-columns: 1fr; gap: 12px; padding: 16px 16px 0; }
  .lj3-hero-side .lj3-ov { min-height: 0; aspect-ratio: 16 / 10; }
  .lj3-hero-side h2 { font-size: 20px; }
  .lj3-strip { grid-template-columns: 1fr; gap: 0; margin-top: 8px; }
  .lj3-strip a { display: grid; grid-template-columns: minmax(0, 1fr) 112px; grid-template-areas: "c i"; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
  .lj3-strip a:first-child { border-top: 0; }
  .lj3-strip .lj3-img { grid-area: i; aspect-ratio: 4 / 3; }
  .lj3-strip .c { grid-area: c; display: flex; flex-direction: column; gap: 6px; }
  .lj3-feed { border-left: 0; border-right: 0; border-radius: 0; margin: 0 -16px; }
  .lj3-feed a { grid-template-columns: minmax(0, 1fr) 96px; grid-template-areas: "t i" "c i"; gap: 4px 14px; padding: 14px 16px; }
  .lj3-feed .t { font-size: 13px; }
  .lj3-feed .t small { display: inline; margin: 0 0 0 6px; font-size: 13px; }
  .lj3-feed .lj3-title { font-size: 16.5px; }
  .lj3-feed .lj3-lede { display: none; }
  .lj3-sh h2 { font-size: 23px; }
  .lj3-sec { margin-top: 40px; }
  .lj3-sec-grid { grid-template-columns: 1fr; gap: 18px; }
  .lj3-sec-lead .lj3-title { font-size: 22px; }
  .lj3-sec-list a:first-child { border-top: 1px solid var(--line); padding-top: 14px; }
  .lj3-obits { grid-template-columns: 1fr 1fr; }
  .lj3-cat-head h1 { font-size: 38px; }
  .lj3-cat-top { margin: 0 -16px 24px; }
  .lj3-cat-top .lj3-ov { border-radius: 0; min-height: 0; aspect-ratio: 4 / 5; max-height: 520px; }
  .lj3-cat-top h2 { font-size: 27px; }
  .lj3-grid2 { grid-template-columns: 1fr; }
  .lj3-foot-top { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .lj3-ov img, .lj3-ov:hover img { transition: none; transform: none; }
  #mobile-menu.open { animation: none; }
}

/* namizni pas: poravnava prve povezave z robom vsebine; ob prilepljenju znak namesto besede */
.lj3-nav-in { margin-left: -14px; }
.lj3-nav .lj3-nav-home { padding: 0 14px; gap: 0; }
.lj3-nav.stuck .lj3-nav-home span { display: none; }

/* oznake Foto / Video */
.lj3-badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; gap: 4px; pointer-events: none; }
.lj3-badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; border-radius: 3px; background: rgba(12,13,15,.72); color: #fff; font: 600 12px/1 var(--sans); backdrop-filter: blur(4px); }
.lj3-badge.v { background: var(--red-700); }
.lj3-badge svg { width: 13px; height: 13px; }
.lj3-badges.lg { top: 16px; left: 16px; }
.lj3-badges.lg .lj3-badge { height: 28px; padding: 0 10px; font-size: 13px; }
.lj3-ov .lj3-badges { position: absolute; }
.lj3-cols > .lj3-aside { width: auto; }

/* =========================================================================
   Članek (article.html) — preglasitve starega sloga sc-*
   ========================================================================= */
.lj3-art-wrap { padding-top: 28px; padding-bottom: 64px; }
.lj3-art-cols { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 48px; align-items: start; }
.lj3-art-cols > .lj3-aside { width: auto; }
.lj3 .sc-article-header { border-bottom: 0; padding-bottom: 0; margin-bottom: 22px; }
.lj3 .sc-article-header > nav { font-size: 13.5px !important; color: var(--faint) !important; margin-bottom: 14px !important; }
.lj3 .sc-article-header > nav a:hover { color: var(--g-600) !important; }
.lj3 .sc-category { font: 700 14px/1 var(--sans); text-transform: none; letter-spacing: 0; color: var(--g-600); border-bottom: 0; padding: 0; }
.lj3 .sc-badge-video, .lj3 .sc-badge-sponsored { border-radius: 3px; font: 600 12px/1 var(--sans); letter-spacing: 0; padding: 5px 8px; }
.lj3 .sc-badge-video { background: var(--red-700); }
.lj3 .sc-title { font-family: var(--sans); font-weight: 800; font-size: 46px; line-height: 1.05; letter-spacing: -0.028em; color: var(--ink); margin: 12px 0 16px; text-wrap: balance; max-width: 900px; }
.lj3 .sc-subtitle { font-family: var(--serif); font-size: 22px; color: var(--ink-2); }
.lj3 .sc-meta { font: 400 14px var(--sans); color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; gap: 10px; }
.lj3 .sc-author { color: var(--ink); font-weight: 700; }
.lj3 .sc-meta-divider { background: var(--faint); }
.lj3 .sc-share { gap: 8px; }
.lj3 .sc-share a { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-2); background: var(--paper); }
.lj3 .sc-share a:hover { background: var(--g-700); border-color: var(--g-700); color: #fff; }
.lj3 .sc-featured-image { margin: 0 0 8px; }
.lj3 .sc-featured-image img { border-radius: 4px; }
.lj3 .sc-image-caption { background: transparent; border-left: 0; padding: 10px 0 0; font: 400 13.5px/1.45 var(--sans); color: var(--muted); }
.lj3 .sc-excerpt { font-family: var(--sans); font-style: normal; font-weight: 600; font-size: 21px; line-height: 1.45; color: var(--ink); border-left: 0; padding-left: 0; margin: 28px 0 22px; max-width: 720px; }
.lj3 .sc-excerpt::first-letter { color: inherit; }
.lj3 .excerpt-text a { color: var(--g-600); }
.lj3 .sc-content, .lj3 .article-content { font-family: var(--sans); font-size: 18.5px; line-height: 1.68; color: #1B212B; max-width: 720px; }
.lj3 .sc-content p, .lj3 .article-content p { font-family: var(--serif); font-size: inherit; line-height: inherit; margin: 0 0 1.05em; }
.lj3 .sc-content strong, .lj3 .sc-content b { font-weight: 650; }
.lj3 .sc-content h2, .lj3 .article-content h2 { font: 800 27px/1.18 var(--sans); letter-spacing: -0.02em; color: var(--ink); margin: 1.6em 0 .55em; }
.lj3 .sc-content h3, .lj3 .article-content h3 { font: 700 22px/1.25 var(--sans); letter-spacing: -0.015em; color: var(--ink); margin: 1.4em 0 .5em; }
.lj3 .sc-content li, .lj3 .article-content li { font-family: var(--serif); }
.lj3 .sc-content a, .lj3 .article-content a { color: var(--g-600); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lj3 .sc-content a:hover, .lj3 .article-content a:hover { color: var(--g-900); }
.lj3 .sc-content blockquote, .lj3 .article-content blockquote { border-left: 4px solid var(--g-700) !important; background: transparent !important; font-family: var(--sans); font-style: normal; font-weight: 600; font-size: 20px; line-height: 1.5; color: var(--ink); padding: 4px 0 4px 22px !important; margin: 1.4em 0 !important; }
.lj3 .sc-content blockquote::before, .lj3 .article-content blockquote::before { content: none !important; }
.lj3 .sc-content .kn-important { background: var(--g-700); box-shadow: none; border-radius: 6px; font-family: var(--sans); font-size: 18px; }
.lj3 .sc-content .kn-info { background: var(--g-50); border-left-color: var(--g-600); color: var(--ink-2); font-size: 18px; }
.lj3 .sc-content .kn-quote { background: transparent; border-left-color: var(--g-700); color: var(--ink); }
.lj3 .sc-content .kn-gallery, .lj3 .sc-content .kn-html-embed, .lj3 .sc-content figure, .lj3 .sc-content iframe, .lj3 .sc-content .sc-video-gallery { max-width: none; }
.lj3 .sc-source { text-align: left; font: 400 14px var(--sans); color: var(--muted); border-top: 1px solid var(--line); max-width: 720px; }
.lj3 .sc-categories { border-top: 0; padding-top: 0; }
.lj3 .sc-categories a { border-radius: 17px; background: var(--paper); border: 1px solid var(--line); font: 600 13.5px var(--sans); text-transform: none; letter-spacing: 0; color: var(--ink-2); }
.lj3 .sc-categories a:hover { background: var(--g-700); border-color: var(--g-700); color: #fff; }
.lj3 .sc-related { border-top: 4px solid var(--g-700); padding-top: 12px; margin-top: 48px; }
.lj3 .sc-related-title { font: 800 24px/1.1 var(--sans); text-transform: none; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 8px; }
.lj3 .sc-related-item { gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.lj3 .sc-related-item:hover { background: transparent; margin: 0; padding: 14px 0; }
.lj3 .sc-related-item:hover h3 { color: var(--g-600); }
.lj3 .sc-related-image { width: 128px; height: 86px; border-radius: 4px; }
.lj3 .sc-related-content h3 { font: 700 17px/1.28 var(--sans); color: var(--ink); letter-spacing: -0.01em; }
.lj3 .sc-related-date { font-size: 13px; color: var(--faint); }

@media (max-width: 1023px) {
  .lj3-art-cols { grid-template-columns: 1fr; gap: 40px; }
  .lj3 .sc-title { font-size: 36px; }
}
@media (max-width: 680px) {
  .lj3-art-wrap { padding-top: 18px; }
  .lj3 .sc-title { font-size: 29px; line-height: 1.1; }
  .lj3 .sc-featured-image { margin-left: -16px; margin-right: -16px; }
  .lj3 .sc-featured-image img { border-radius: 0; }
  .lj3 .sc-image-caption { padding-left: 16px; padding-right: 16px; }
  .lj3 .sc-excerpt { font-size: 19px; }
  .lj3 .sc-content, .lj3 .article-content { font-size: 17.5px; line-height: 1.65; }
  .lj3 .sc-share { margin-left: 0; width: 100%; }
}

/* =========================================================================
   Starejše podstrani (iskanje, 404, videoteka, prijava, dogodki …):
   Tailwind razredi z nekdanjo zeleno → modra paleta; poravnava z glavo
   ========================================================================= */
.lj3 main > .container { max-width: var(--wrap) !important; padding-left: 28px !important; padding-right: 28px !important; }
@media (max-width: 767px) { .lj3 main > .container { padding-left: 16px !important; padding-right: 16px !important; } }
.lj3 .text-ljubljancan-primary, .lj3 .text-ljubljancan-600, .lj3 .text-emerald-600, .lj3 .text-emerald-700 { color: var(--g-600) !important; }
.lj3 .text-ljubljancan-dark, .lj3 .text-ljubljancan-900, .lj3 .text-ljubljancan-950 { color: var(--ink) !important; }
.lj3 .hover\:text-ljubljancan-primary:hover, .lj3 .hover\:text-ljubljancan-600:hover, .lj3 .group:hover .group-hover\:text-ljubljancan-primary,
.lj3 .hover\:text-emerald-700:hover, .lj3 .hover\:text-emerald-800:hover { color: var(--g-900) !important; }
.lj3 .bg-ljubljancan-primary, .lj3 .bg-ljubljancan-600 { background-color: var(--g-700) !important; }
.lj3 .hover\:bg-ljubljancan-dark:hover, .lj3 .hover\:bg-ljubljancan-700:hover { background-color: var(--g-900) !important; }
.lj3 .bg-ljubljancan-primary\/10 { background-color: rgba(22,52,99,.08) !important; }
.lj3 .bg-emerald-100 { background-color: var(--g-100) !important; }
.lj3 .border-ljubljancan-primary { border-color: var(--g-700) !important; }
.lj3 .focus\:ring-emerald-500:focus { --tw-ring-color: var(--g-500) !important; }
.lj3 .from-ljubljancan-50 { --tw-gradient-from: var(--g-50) var(--tw-gradient-from-position) !important; --tw-gradient-to: rgba(238,242,248,0) var(--tw-gradient-to-position) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
.lj3 .to-ljubljancan-100 { --tw-gradient-to: var(--g-100) var(--tw-gradient-to-position) !important; }

/* brez poševnega serifnega tiska v vsebini članka (citati, poudarjeni bloki) */
.lj3 .sc-content .kn-quote, .lj3 .article-content .kn-quote, .lj3 .article-content blockquote, .lj3 .sc-content blockquote { font-family: var(--sans) !important; font-style: normal !important; }
.lj3 .sc-content em, .lj3 .article-content em { font-family: var(--sans); }
