*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --ink:       #0d0d0d;
      --paper:     #f5f0e8;
      --cream:     #faf7f2;
      --gold:      #b8973a;
      --gold-lt:   #d4ad4f;
      --rust:      #8b3a2a;
      --slate:     #2c3240;
      --muted:     #6b6356;
      --rule:      #c8bfaa;
      --shadow:    rgba(13,13,13,0.08);
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Source Serif 4', Georgia, serif;
      background: var(--cream);
      color: var(--ink);
      line-height: 1.65;
      overflow-x: hidden;
    }

    /* ──────────────  TOPBAR  ────────────── */

    /* ──────────────  MASTHEAD  ────────────── */
    header.masthead {
      background: var(--ink);
      color: var(--paper);
      text-align: center;
      padding: 3.5rem 2rem 2.5rem;
      position: relative;
      overflow: hidden;
    }
    header.masthead::before {
      content: '';
      position: absolute; inset: 0;
      background:
        radial-gradient(ellipse 80% 60% at 50% 110%, rgba(184,151,58,0.18), transparent),
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.03) 39px, rgba(255,255,255,0.03) 40px);
      pointer-events: none;
    }
    .masthead-eyebrow {
      font-family: 'DM Mono', monospace;
      font-size: 0.68rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 1rem;
      opacity: 0; animation: fadeUp 0.8s 0.1s forwards;
    }
    .masthead h1 {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: clamp(3rem, 9vw, 7rem);
      font-weight: 900;
      line-height: 0.92;
      letter-spacing: -0.02em;
      margin-bottom: 1.1rem;
      opacity: 0; animation: fadeUp 0.8s 0.25s forwards;
    }
    .masthead h1 em {
      font-style: italic;
      color: var(--gold-lt);
    }
    .masthead-tagline {
      font-size: 1rem;
      color: #a09888;
      font-style: italic;
      letter-spacing: 0.02em;
      opacity: 0; animation: fadeUp 0.8s 0.4s forwards;
    }
    .masthead-rule {
      width: 6rem; height: 1px;
      background: var(--gold);
      margin: 1.6rem auto 0;
      opacity: 0; animation: scaleIn 0.6s 0.55s forwards;
      transform-origin: center;
    }

    /* ──────────────  NAV — glavni meni  ────────────── */
    nav.main-nav {
      background: #18181b;
      border-top: 3px solid var(--gold);
      position: sticky; top: 0; z-index: 100;
      min-height: 80px;
      padding: 0 1.5rem;
      display: flex; align-items: center;
      justify-content: center;
      box-shadow: 0 4px 20px rgba(0,0,0,0.28);
    }
    nav.main-nav ul {
      display: flex; list-style: none;
      align-items: center;
      gap: clamp(10px, 1.6vw, 32px);
      flex-wrap: nowrap;
      overflow-x: auto;
      scrollbar-width: none;
      max-width: 100%;
    }
    nav.main-nav ul::-webkit-scrollbar { display: none; }
    nav.main-nav ul li { flex: 0 0 auto; }
    nav.main-nav ul li a {
      display: block;
      padding: 1.4rem 0.2rem;
      font-family: 'Inter', 'Manrope', -apple-system, sans-serif;
      font-size: clamp(14px, 1.32vw, 24px);
      font-weight: 900;
      letter-spacing: 1px;
      line-height: 1;
      text-transform: uppercase;
      color: #ffffff;
      text-decoration: none;
      white-space: nowrap;
      border-bottom: 3px solid transparent;
      transition: color 0.18s, border-color 0.18s;
    }
    nav.main-nav ul li a:hover,
    nav.main-nav ul li a.active {
      color: #fbbf24;
      border-bottom-color: #fbbf24;
    }
    @media (max-width: 780px) {
      nav.main-nav { min-height: 64px; padding: 0 1rem; justify-content: flex-start; }
      nav.main-nav ul { gap: 16px; }
      nav.main-nav ul li a { font-size: 19px; font-weight: 800; padding: 1.1rem 0.15rem; }
    }

    /* ──────────────  PRETRAGA  ────────────── */
    .search-section { padding: 2.5rem 0 0.5rem; }
    .search-wrap {
      position: relative; max-width: 620px; margin: 0 auto;
      display: flex; align-items: center;
      background: var(--cream);
      border: 1px solid var(--rule);
      border-radius: 3px;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .search-wrap:focus-within {
      border-color: var(--gold);
      box-shadow: 0 0 0 3px rgba(184,151,58,0.13);
    }
    .search-ico { padding: 0 0.4rem 0 1rem; font-size: 1rem; opacity: 0.55; }
    .search-wrap input {
      flex: 1; border: none; background: transparent; outline: none;
      padding: 0.95rem 1rem 0.95rem 0.2rem;
      font-family: 'Source Serif 4', Georgia, serif;
      font-size: 1rem; color: var(--ink);
    }
    .search-wrap input::placeholder { color: #a09888; }
    .search-count {
      text-align: center; margin-top: 0.7rem;
      font-family: 'DM Mono', monospace; font-size: 0.68rem;
      letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
      min-height: 1rem;
    }

    /* ──────────────  POGLAVLJA  ────────────── */
    .chapter-section { padding: 2.6rem 0 1rem; }
    .chapter-section + .chapter-section { border-top: 1px solid var(--rule); }
    .chapter-title {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: clamp(1.7rem, 3vw, 2.5rem);
      font-weight: 700; line-height: 1.12;
      color: var(--ink); margin: 0.3rem 0 0.4rem;
    }
    .chapter-sub {
      font-family: 'Source Serif 4', Georgia, serif;
      font-size: 1.02rem; color: var(--muted);
      margin-bottom: 1.8rem; max-width: 640px;
    }
    .chapter-section.hidden { display: none; }
    .article-card.hidden { display: none; }

    /* ──────────────  TIPOGRAFIJA ČLANKA  ────────────── */
    .art-num {
      font-family: 'DM Mono', monospace; font-size: 0.72em;
      color: var(--gold); margin-right: 0.45em; font-weight: 500;
    }
    .art-list { margin: 1.1rem 0 1.4rem; padding-left: 1.3rem; }
    .art-list li {
      font-family: 'Source Serif 4', Georgia, serif;
      font-size: 1.05rem; line-height: 1.72; color: var(--slate);
      margin-bottom: 0.6rem; padding-left: 0.3rem;
    }
    .art-list li::marker { color: var(--gold); }
    .art-quote {
      border-left: 3px solid var(--gold);
      background: var(--cream);
      margin: 1.8rem 0; padding: 1.1rem 1.5rem;
      font-family: 'Playfair Display', Georgia, serif;
      font-style: italic; font-size: 1.14rem; line-height: 1.6;
      color: var(--ink);
    }
    .art-quote cite {
      display: block; margin-top: 0.75rem;
      font-family: 'DM Mono', monospace; font-style: normal;
      font-size: 0.68rem; letter-spacing: 0.06em;
      color: var(--muted);
    }
    .art-quote cite em { font-style: italic; }
    .art-figure {
      margin: 1.8rem 0; padding: 1.2rem 1.4rem;
      background: var(--slate); border-left: 3px solid var(--gold);
      border-radius: 3px;
    }
    .art-figure figcaption {
      font-family: 'DM Mono', monospace; font-size: 0.76rem;
      line-height: 1.75; color: #c8bfaa; letter-spacing: 0.02em;
    }
    .art-chart { padding: 1.5rem 1.6rem 1.3rem; }
    .art-chart .chart-head {
      font-family: 'DM Mono', monospace; font-size: 0.7rem;
      letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--gold-lt); margin-bottom: 1.1rem;
    }
    .art-chart svg { display: block; width: 100%; height: auto; }
    .art-chart .chart-note {
      font-family: 'Source Serif 4', Georgia, serif;
      font-size: 0.92rem; line-height: 1.7; color: #c8bfaa;
      margin-top: 1.1rem; padding-top: 0.9rem;
      border-top: 1px solid #3a4255;
    }
    .art-chart .chart-src {
      display: block; margin-top: 0.5rem;
      font-family: 'DM Mono', monospace; font-size: 0.68rem;
      letter-spacing: 0.06em; color: #7d8598;
    }
    .article-content a[target="_blank"] {
      color: var(--gold); text-decoration: none;
      border-bottom: 1px solid rgba(184,151,58,0.45);
      transition: color 0.18s, border-color 0.18s;
    }
    .article-content a[target="_blank"]:hover {
      color: var(--rust); border-bottom-color: var(--rust);
    }
    .art-chart .chart-src a {
      color: var(--gold-lt); text-decoration: none;
      border-bottom: 1px solid rgba(212,173,79,0.4);
    }
    .art-chart .chart-src a:hover { color: #fff; }
    .art-ref { font-size: 0.86em; color: var(--muted); }
    .lit-list { padding-left: 1.5rem; }
    .lit-list li {
      font-family: 'Source Serif 4', Georgia, serif;
      font-size: 0.97rem; line-height: 1.65; color: var(--slate);
      margin-bottom: 0.95rem; padding-left: 0.4rem;
      word-break: break-word;
    }
    .lit-list li::marker { color: var(--gold); font-family: 'DM Mono', monospace; font-size: 0.8em; }
    .nav-cta {
      background: var(--gold);
      color: var(--ink) !important;
      padding: 0.55rem 1.2rem !important;
      border-radius: 2px;
      font-weight: 500;
      border-bottom: none !important;
      transition: background 0.2s !important;
    }
    .nav-cta:hover { background: var(--gold-lt) !important; }

    /* ──────────────  LAYOUT  ────────────── */
    .container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
    .section-label {
      font-family: 'DM Mono', monospace;
      font-size: 0.66rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--gold);
      display: flex; align-items: center; gap: 0.75rem;
      margin-bottom: 1.8rem;
    }
    .section-label::after {
      content: '';
      flex: 1; height: 1px;
      background: var(--rule);
    }

    /* ──────────────  HERO FEATURE  ────────────── */
    .hero-section {
      padding: 4rem 0 3rem;
      opacity: 0; animation: fadeUp 0.9s 0.5s forwards;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 360px;
      gap: 3rem;
      align-items: start;
    }
    @media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } }

    .hero-main { border-right: 1px solid var(--rule); padding-right: 3rem; }
    @media (max-width: 820px) { .hero-main { border-right: none; padding-right: 0; } }

    .hero-category {
      font-family: 'DM Mono', monospace;
      font-size: 0.66rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--rust);
      margin-bottom: 0.75rem;
    }
    .hero-title {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: clamp(1.9rem, 4vw, 3rem);
      font-weight: 700;
      line-height: 1.15;
      letter-spacing: -0.01em;
      margin-bottom: 1rem;
    }
    .hero-title em { font-style: italic; color: var(--gold); }
    .hero-deck {
      font-size: 1.08rem;
      color: var(--muted);
      line-height: 1.7;
      margin-bottom: 1.5rem;
      font-weight: 300;
    }
    .hero-meta {
      font-family: 'DM Mono', monospace;
      font-size: 0.68rem;
      letter-spacing: 0.08em;
      color: var(--muted);
      display: flex; gap: 1.5rem; flex-wrap: wrap;
      margin-bottom: 1.8rem;
    }
    .hero-image {
      width: 100%;
      aspect-ratio: 16/9;
      background: var(--slate);
      border-radius: 2px;
      margin-bottom: 1.5rem;
      overflow: hidden;
      position: relative;
    }
    .hero-image-inner {
      width: 100%; height: 100%;
      background: 
        linear-gradient(135deg, #1a2235 0%, #2c3240 40%, #0d0d0d 100%);
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      gap: 0.5rem;
    }
    .chart-svg { width: 80%; max-width: 420px; }

    .read-more {
      display: inline-flex; align-items: center; gap: 0.6rem;
      font-family: 'DM Mono', monospace;
      font-size: 0.72rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--gold);
      text-decoration: none;
      border-bottom: 1px solid var(--gold);
      padding-bottom: 0.15rem;
      transition: color 0.2s, border-color 0.2s;
    }
    .read-more:hover { color: var(--ink); border-color: var(--ink); }
    .read-more .arrow { font-size: 0.9rem; transition: transform 0.2s; }
    .read-more:hover .arrow { transform: translateX(4px); }


    /* ── Drugi istaknuti članak ── */
    .hero-second {
      border-top: 1px solid var(--rule);
      padding-top: 2.5rem;
      margin-top: 2.5rem;
      display: grid;
      grid-template-columns: 180px 1fr;
      gap: 2rem;
      align-items: start;
    }
    @media (max-width: 600px) { .hero-second { grid-template-columns: 1fr; } }
    .hero-second-thumb {
      aspect-ratio: 4/3;
      border-radius: 2px;
      overflow: hidden;
    }
    .hero-second-thumb-inner {
      width: 100%; height: 100%;
      display: flex; align-items: center; justify-content: center;
      transition: transform 0.4s ease;
    }
    .hero-second:hover .hero-second-thumb-inner { transform: scale(1.04); }
    .hero-second-category {
      font-family: 'DM Mono', monospace;
      font-size: 0.62rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--rust);
      margin-bottom: 0.4rem;
    }
    .hero-second-title {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 1.2rem;
      font-weight: 700;
      line-height: 1.25;
      margin-bottom: 0.6rem;
      color: var(--ink);
    }
    .hero-second-title em { font-style: italic; color: var(--gold); }
    .hero-second-title a { color: inherit; text-decoration: none; transition: color 0.2s; }
    .hero-second-title a:hover { color: var(--gold); }
    .hero-second-deck {
      font-size: 0.9rem;
      color: var(--muted);
      line-height: 1.65;
      margin-bottom: 0.9rem;
    }

    /* ──────────────  SIDEBAR  ────────────── */
    .sidebar { display: flex; flex-direction: column; gap: 2.5rem; }

    .sidebar-block-title {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 1.05rem;
      font-weight: 700;
      border-bottom: 2px solid var(--ink);
      padding-bottom: 0.5rem;
      margin-bottom: 1.2rem;
    }

    .sidebar-list { list-style: none; }
    .sidebar-list li {
      padding: 0.85rem 0;
      border-bottom: 1px solid var(--rule);
      display: flex; gap: 0.75rem;
      align-items: flex-start;
    }
    .sidebar-list li:last-child { border-bottom: none; }
    .sidebar-num {
      font-family: 'DM Mono', monospace;
      font-size: 0.8rem;
      color: var(--gold);
      font-weight: 500;
      min-width: 1.4rem;
    }
    .sidebar-list a {
      font-size: 0.9rem;
      color: var(--ink);
      text-decoration: none;
      line-height: 1.45;
      font-weight: 400;
      transition: color 0.2s;
    }
    .sidebar-list a:hover { color: var(--gold); }

    /* Quote box */
    .quote-box {
      background: var(--slate);
      color: var(--paper);
      padding: 1.5rem 1.7rem;
      border-left: 3px solid var(--gold);
      min-height: 196px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      overflow: hidden;
    }
    .quote-box blockquote {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 1rem;
      font-style: italic;
      line-height: 1.5;
      margin-bottom: 0.75rem;
      display: -webkit-box;
      -webkit-line-clamp: 5;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .quote-box cite {
      font-family: 'DM Mono', monospace;
      font-size: 0.63rem;
      line-height: 1.55;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--gold);
      flex-shrink: 0;
      font-style: normal;
    }

    /* ──────────────  ARTICLE GRID  ────────────── */
    .articles-section { padding: 3.5rem 0; }
    .articles-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2.5rem 2rem;
    }
    @media (max-width: 900px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 560px) { .articles-grid { grid-template-columns: 1fr; } }

    .article-card {
      opacity: 0; animation: fadeUp 0.7s forwards;
      cursor: pointer;
    }
    .article-card:nth-child(1) { animation-delay: 0.65s; }
    .article-card:nth-child(2) { animation-delay: 0.8s; }
    .article-card:nth-child(3) { animation-delay: 0.95s; }
    .article-card:nth-child(4) { animation-delay: 1.1s; }
    .article-card:nth-child(5) { animation-delay: 1.25s; }
    .article-card:nth-child(6) { animation-delay: 1.4s; }

    /* ──────────────  ILUSTRACIJE  ────────────── */
    .ill { display: block; width: 100%; height: 100%; }
    .card-thumb-inner .ill { padding: 5% 6%; }
    .art-hero-ill {
      margin: 0 0 2.2rem;
      background: linear-gradient(140deg, #232936, #171b24);
      border: 1px solid #333a4a;
      border-left: 3px solid var(--gold);
      border-radius: 4px;
      aspect-ratio: 5/3;
      max-width: 520px;
      overflow: hidden;
    }
    .ill-lg { width: 100%; height: 100%; padding: 5% 6%; }

    .ill .draw {
      stroke-dasharray: 620; stroke-dashoffset: 620;
      animation: illDraw 1.9s cubic-bezier(.35,.9,.3,1) forwards;
    }
    @keyframes illDraw { to { stroke-dashoffset: 0; } }

    .ill .rise { animation: illRise 1s cubic-bezier(.22,.9,.3,1) backwards; transform-origin: bottom; }
    @keyframes illRise { from { transform: scaleY(0); opacity: 0; } }

    .ill .grow { animation: illGrow 1.1s cubic-bezier(.22,.9,.3,1) backwards; }
    @keyframes illGrow { from { transform: scale(0.2); opacity: 0; } }

    .ill .float { animation: illFloat 4.5s ease-in-out infinite; }
    @keyframes illFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

    .ill .pulse { animation: illPulse 3.2s ease-in-out infinite; }
    @keyframes illPulse { 0%,100% { opacity: .38; } 50% { opacity: 1; } }

    .ill .spin { animation: illSpin 26s linear infinite; }
    @keyframes illSpin { to { transform: rotate(360deg); } }

    .ill .tilt { animation: illTilt 5s ease-in-out infinite; transform-origin: 200px 76px; }
    @keyframes illTilt { 0%,100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }

    .ill .wave { animation: illWave 4s ease-in-out infinite; }
    @keyframes illWave { 0%,100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

    .ill .needle { animation: illNeedle 4.5s ease-in-out infinite; transform-origin: 200px 172px; }
    @keyframes illNeedle { 0%,100% { transform: rotate(-26deg); } 50% { transform: rotate(22deg); } }

    .article-card:hover .ill .float { animation-duration: 2.2s; }
    @media (prefers-reduced-motion: reduce) {
      .ill * { animation: none !important; stroke-dashoffset: 0 !important; }
    }

    /* ──────────────  FORMULE I TABELE  ────────────── */
    .formula-box {
      margin: 1.9rem 0;
      background: var(--slate);
      border-left: 3px solid var(--gold);
      border-radius: 4px;
      padding: 1.5rem 1.7rem;
    }
    .formula-box--result { border-left-color: var(--gold-lt); background: #232a38; }
    .formula-label {
      font-family: 'DM Mono', monospace; font-size: 0.68rem;
      letter-spacing: 0.14em; text-transform: uppercase;
      color: var(--gold-lt); margin-bottom: 1rem;
    }
    .formula-main {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: clamp(1.55rem, 3.7vw, 2.2rem);
      font-weight: 400; color: #fdfbf7;
      text-align: center; letter-spacing: 0.03em;
      margin: 0.3rem 0 0.2rem;
    }
    .formula-main sup { font-size: 0.58em; }
    .formula-hl { color: #e8c76a; font-weight: 600; }
    .formula-note {
      font-family: 'Source Serif 4', Georgia, serif;
      font-size: 0.92rem; line-height: 1.65; color: #ddd5c5;
      text-align: center; margin-top: 0.9rem;
    }
    .formula-table { width: 100%; border-collapse: collapse; margin-top: 1.3rem; }
    .formula-table tr { border-top: 1px solid #3a4255; }
    .formula-table th {
      width: 58px; text-align: center; vertical-align: top;
      padding: 0.6rem 0.5rem;
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 1.2rem; font-weight: 400; font-style: italic;
      color: #e8c76a;
    }
    .formula-table td {
      padding: 0.65rem 0.5rem;
      font-family: 'Source Serif 4', Georgia, serif;
      font-size: 0.96rem; line-height: 1.6; color: #e2dbcc;
    }
    .calc-table {
      width: 100%; border-collapse: collapse; margin: 1.6rem 0;
      font-family: 'Source Serif 4', Georgia, serif;
    }
    .calc-table thead th {
      background: var(--slate); color: var(--gold-lt);
      font-family: 'DM Mono', monospace; font-size: 0.66rem;
      letter-spacing: 0.11em; text-transform: uppercase;
      padding: 0.7rem 0.9rem; text-align: left; font-weight: 500;
    }
    .calc-table tbody td {
      padding: 0.72rem 0.9rem; font-size: 0.98rem;
      color: var(--slate); border-bottom: 1px solid var(--rule);
    }
    .calc-table tbody tr:nth-child(even) { background: var(--cream); }
    .calc-table tbody td:last-child { color: var(--ink); }
    .calc-table tbody td strong { color: var(--rust); }

    .art-warn {
      background: #fdf6ec; border-left: 3px solid var(--rust);
      padding: 1.1rem 1.4rem; margin: 1.7rem 0; border-radius: 3px;
      font-family: 'Source Serif 4', Georgia, serif;
      font-size: 1.02rem; line-height: 1.72; color: var(--slate);
    }

    .ill .r72bar { transform-origin: left center; animation: r72grow 0.9s cubic-bezier(.2,.85,.3,1) backwards; }
    .art-chart .r72bar { transform-origin: left center; animation: r72grow 0.9s cubic-bezier(.2,.85,.3,1) backwards; }
    @keyframes r72grow { from { transform: scaleX(0); } }

    /* ── Interaktivno pravilo 72 ── */
    .r72-widget {
      margin: 1.9rem 0; padding: 1.4rem 1.7rem;
      background: var(--cream); border: 1px solid var(--rule);
      border-left: 3px solid var(--gold); border-radius: 4px;
    }
    .r72-label {
      font-family: 'DM Mono', monospace; font-size: 0.66rem;
      letter-spacing: 0.14em; text-transform: uppercase;
      color: var(--muted); margin-bottom: 1rem;
    }
    .r72-row { display: flex; align-items: center; gap: 1.1rem; }
    .r72-row input[type=range] {
      flex: 1; -webkit-appearance: none; appearance: none;
      height: 4px; border-radius: 2px; background: var(--rule); outline: none;
    }
    .r72-row input[type=range]::-webkit-slider-thumb {
      -webkit-appearance: none; appearance: none;
      width: 20px; height: 20px; border-radius: 50%;
      background: var(--gold); cursor: pointer; border: 3px solid var(--cream);
      box-shadow: 0 1px 5px rgba(0,0,0,0.25);
    }
    .r72-row input[type=range]::-moz-range-thumb {
      width: 16px; height: 16px; border-radius: 50%;
      background: var(--gold); cursor: pointer; border: 3px solid var(--cream);
    }
    .r72-rate {
      font-family: 'DM Mono', monospace; font-size: 1.05rem;
      font-weight: 500; color: var(--gold); min-width: 74px; text-align: right;
    }
    .r72-out {
      margin-top: 1.1rem; padding-top: 0.9rem; border-top: 1px solid var(--rule);
      font-family: 'Source Serif 4', Georgia, serif;
      font-size: 1.05rem; color: var(--slate); text-align: center;
    }
    .r72-out strong {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 1.5rem; color: var(--rust); margin: 0 0.2rem;
    }

    /* ──────────────  KONTAKT FORMA  ────────────── */
    .kontakt-forma { max-width: 620px; margin: 0 0 2rem; }
    .kontakt-forma .polje { margin-bottom: 1.5rem; }
    .kontakt-forma label {
      display: block; margin-bottom: 0.5rem;
      font-family: 'DM Mono', monospace; font-size: 0.68rem;
      letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted);
    }
    .kontakt-forma .obavezno { color: var(--rust); }
    .kontakt-forma input[type=text],
    .kontakt-forma input[type=email],
    .kontakt-forma textarea {
      width: 100%; box-sizing: border-box;
      padding: 0.85rem 1rem;
      background: var(--cream);
      border: 1px solid var(--rule); border-radius: 3px;
      font-family: 'Source Serif 4', Georgia, serif;
      font-size: 1rem; color: var(--ink);
      transition: border-color 0.18s, box-shadow 0.18s;
    }
    .kontakt-forma textarea { resize: vertical; min-height: 150px; line-height: 1.65; }
    .kontakt-forma input:focus, .kontakt-forma textarea:focus {
      outline: none; border-color: var(--gold);
      box-shadow: 0 0 0 3px rgba(184,151,58,0.14);
    }
    .kontakt-forma input::placeholder, .kontakt-forma textarea::placeholder { color: #b4ab9c; }
    .kontakt-forma input:user-invalid, .kontakt-forma textarea:user-invalid {
      border-color: var(--rust);
    }
    .polje-hint {
      display: block; margin-top: 0.4rem;
      font-family: 'Source Serif 4', Georgia, serif;
      font-size: 0.85rem; color: var(--muted); font-style: italic;
    }
    .kontakt-dugme {
      display: inline-flex; align-items: center; gap: 0.6rem;
      padding: 0.85rem 1.8rem;
      background: var(--gold); color: #17171a;
      border: none; border-radius: 3px; cursor: pointer;
      font-family: 'DM Mono', monospace; font-size: 0.78rem;
      letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
      transition: background 0.18s, transform 0.12s;
    }
    .kontakt-dugme:hover { background: var(--gold-lt); }
    .kontakt-dugme:active { transform: translateY(1px); }
    .kontakt-dugme:disabled { opacity: 0.55; cursor: default; }
    .kontakt-status {
      margin-top: 1.1rem; min-height: 1.4rem;
      font-family: 'Source Serif 4', Georgia, serif; font-size: 0.96rem;
    }
    .kontakt-status.ok  { color: #2e7d4f; }
    .kontakt-status.err { color: var(--rust); }

    .card-thumb {
      width: 100%;
      aspect-ratio: 5/3;
      border-radius: 2px;
      margin-bottom: 1rem;
      overflow: hidden;
      position: relative;
    }
    .card-thumb-inner {
      width: 100%; height: 100%;
      transition: transform 0.4s ease;
      display: flex; align-items: center; justify-content: center;
    }
    .article-card:hover .card-thumb-inner { transform: scale(1.04); }

    /* Sve kartice dele identičnu pozadinu sa ilustracijom u članku */
    .bg1, .bg2, .bg3, .bg4, .bg5, .bg6 {
      background: linear-gradient(140deg, #232936, #171b24);
      border: 1px solid #333a4a;
      border-left: 3px solid var(--gold);
    }


    .card-category {
      font-family: 'DM Mono', monospace;
      font-size: 0.62rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--rust);
      margin-bottom: 0.4rem;
    }
    .card-title {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 1.15rem;
      font-weight: 700;
      line-height: 1.3;
      margin-bottom: 0.6rem;
      color: var(--ink);
    }
    .card-title a { color: inherit; text-decoration: none; transition: color 0.2s; }
    .card-title a:hover { color: var(--gold); }
    .card-excerpt {
      font-size: 0.88rem;
      color: var(--muted);
      line-height: 1.65;
      margin-bottom: 0.9rem;
    }
    .card-meta {
      font-family: 'DM Mono', monospace;
      font-size: 0.62rem;
      letter-spacing: 0.07em;
      color: #aaa;
    }

    /* ──────────────  BOOK PROMO  ────────────── */
    .book-section {
      padding: 4rem 0;
      border-top: 1px solid var(--rule);
      border-bottom: 1px solid var(--rule);
    }
    .book-grid {
      display: grid;
      grid-template-columns: 240px 1fr;
      gap: 3rem;
      align-items: center;
    }
    @media (max-width: 680px) { .book-grid { grid-template-columns: 1fr; } }

    .book-cover {
      aspect-ratio: 2/3;
      background: linear-gradient(160deg, var(--slate) 0%, #0d0d0d 100%);
      border-radius: 3px;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      padding: 2rem 1.5rem;
      text-align: center;
      box-shadow: 6px 6px 24px rgba(0,0,0,0.2), -2px 0 0 rgba(255,255,255,0.03);
      position: relative;
      overflow: hidden;
    }
    .book-cover::before {
      content: '';
      position: absolute; inset: 0;
      background: repeating-linear-gradient(
        -45deg, transparent, transparent 8px,
        rgba(184,151,58,0.04) 8px, rgba(184,151,58,0.04) 9px
      );
    }
    .book-cover-title {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 1.3rem;
      font-weight: 900;
      color: var(--paper);
      line-height: 1.2;
      margin-bottom: 0.5rem;
      position: relative;
    }
    .book-cover-sub {
      font-family: 'DM Mono', monospace;
      font-size: 0.6rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--gold);
      position: relative;
    }
    .book-cover-rule {
      width: 2rem; height: 2px;
      background: var(--gold);
      margin: 0.8rem auto;
    }
    .book-cover-icon { font-size: 2rem; opacity: 0.4; margin-bottom: 0.5rem; }

    .book-info .section-label { margin-bottom: 0.75rem; }
    .book-title {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: clamp(1.5rem, 3vw, 2.2rem);
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 1rem;
    }
    .book-desc {
      color: var(--muted);
      font-size: 1rem;
      line-height: 1.75;
      margin-bottom: 1.5rem;
      font-weight: 300;
    }
    .book-cta {
      display: inline-flex; align-items: center; gap: 0.6rem;
      background: var(--ink);
      color: var(--paper);
      padding: 0.85rem 1.8rem;
      font-family: 'DM Mono', monospace;
      font-size: 0.72rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      text-decoration: none;
      border: 2px solid var(--ink);
      transition: background 0.2s, color 0.2s;
    }
    .book-cta:hover { background: transparent; color: var(--ink); }

    /* ──────────────  FLASH ANIMACIJE  ────────────── */
    .live-dot {
      display: inline-block; width: 7px; height: 7px;
      border-radius: 50%; background: #5fba7d;
      margin-right: 0.4rem; vertical-align: middle; position: relative;
    }
    .live-dot::after {
      content: ''; position: absolute; inset: -3px; border-radius: 50%;
      background: rgba(95,186,125,0.3);
      animation: pulse-ring 1.5s ease-out infinite;
    }
    @keyframes pulse-ring {
      0%   { transform: scale(0.8); opacity: 1; }
      100% { transform: scale(2);   opacity: 0; }
    }

    /* ──────────────  KALKULATOR SLOŽENE KAMATE  ────────────── */
    .calc-box {
      background: var(--slate);
      color: var(--paper);
      padding: 1.5rem;
      border-top: 2px solid var(--gold);
    }
    .calc-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.4rem;
      font-weight: 700;
      letter-spacing: 0.02em;
      text-transform: none;
      color: var(--gold);
      margin-bottom: 1.2rem;
    }
    .calc-field { margin-bottom: 1rem; }
    .calc-field label {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-family: 'DM Mono', monospace;
      font-size: 0.88rem;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: #a09888;
      margin-bottom: 0.4rem;
    }
    .calc-field label span {
      color: var(--gold-lt);
      font-size: 1.1rem;
      font-weight: 700;
      letter-spacing: 0;
      text-transform: none;
    }
    .calc-field input[type=range] {
      width: 100%; -webkit-appearance: none; appearance: none;
      height: 4px; background: #3a4255; border-radius: 2px;
      outline: none; cursor: pointer;
    }
    .calc-field input[type=range]::-webkit-slider-thumb {
      -webkit-appearance: none; width: 16px; height: 16px;
      border-radius: 50%; background: var(--gold); cursor: pointer;
      transition: transform 0.15s;
    }
    .calc-field input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.3); }
    .calc-results {
      background: #0d1117; border-radius: 2px; padding: 1rem;
      margin: 1rem 0; display: grid;
      grid-template-columns: 1fr 1fr; gap: 0.9rem;
    }
    .calc-result-label {
      font-family: 'DM Mono', monospace;
      font-size: 0.75rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #6a7588; margin-bottom: 0.3rem;
    }
    .calc-result-value {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 1.4rem; font-weight: 700;
      color: var(--paper); transition: all 0.3s ease;
    }
    .calc-result-value.highlight { color: var(--gold-lt); }
    .calc-result-value.green     { color: #5fba7d; }
    .calc-chart { margin-top: 0.8rem; height: 80px; }
    .calc-chart svg { width: 100%; height: 100%; }
    .calc-multiplier {
      text-align: center;
      font-family: 'DM Mono', monospace;
      font-size: 0.82rem; color: #a09888; margin-top: 0.6rem;
    }
    .calc-multiplier strong { color: var(--gold-lt); font-size: 1.25rem; }

    /* ──────────────  KEYFRAMES  ────────────── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(22px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes scaleIn {
      from { opacity: 0; transform: scaleX(0); }
      to   { opacity: 1; transform: scaleX(1); }
    }

    /* ──────────────  KNJIGA UNAPREĐENA  ────────────── */
    .book-badge {
      display: inline-block;
      background: var(--gold);
      color: var(--ink);
      font-family: 'DM Mono', monospace;
      font-size: 0.62rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      padding: 0.3rem 0.8rem;
      margin-bottom: 1rem;
    }
    .book-features {
      list-style: none;
      margin: 1.2rem 0 1.8rem;
    }
    .book-features li {
      font-size: 0.92rem;
      color: var(--muted);
      padding: 0.4rem 0;
      border-bottom: 1px solid var(--rule);
      display: flex;
      gap: 0.6rem;
      align-items: center;
    }
    .book-features li::before {
      content: '→';
      color: var(--gold);
      font-family: 'DM Mono', monospace;
      font-size: 0.8rem;
    }
    .book-preorder-note {
      font-family: 'DM Mono', monospace;
      font-size: 0.65rem;
      letter-spacing: 0.1em;
      color: var(--muted);
      margin-top: 0.8rem;
    }

    /* ──────────────  ČASOVNIK  ────────────── */
    .clock-box {
      background: var(--slate);
      color: var(--paper);
      padding: 1.5rem;
      text-align: center;
      border-top: 2px solid var(--gold);
    }
    .clock-label {
      font-family: 'DM Mono', monospace;
      font-size: 0.62rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 1rem;
    }
    .clock-face {
      position: relative;
      width: 120px;
      height: 120px;
      margin: 0 auto 1rem;
    }
    .clock-face svg { width: 100%; height: 100%; }
    .clock-digital {
      font-family: 'DM Mono', monospace;
      font-size: 1.4rem;
      letter-spacing: 0.08em;
      color: var(--paper);
      margin-bottom: 0.3rem;
    }
    .clock-date-txt {
      font-family: 'DM Mono', monospace;
      font-size: 0.62rem;
      letter-spacing: 0.1em;
      color: #a09888;
      margin-bottom: 1rem;
    }
    .market-status {
      font-family: 'DM Mono', monospace;
      font-size: 0.65rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 0.3rem 0.8rem;
      display: inline-block;
      border-radius: 2px;
    }
    .market-open   { background: rgba(95,186,125,0.15); color: #5fba7d; border: 1px solid #5fba7d; }
    .market-closed { background: rgba(224,96,96,0.15);  color: #e06060; border: 1px solid #e06060; }
    .market-pre    { background: rgba(184,151,58,0.15); color: var(--gold); border: 1px solid var(--gold); }

    /* ──────────────  INDEX KARTICE  ────────────── */
    .indices-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1.2rem;
      flex-wrap: wrap;
      gap: 0.5rem;
    }
    .indices-title {
      font-family: 'DM Mono', monospace;
      font-size: 0.65rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--gold);
    }
    .indices-refresh {
      font-family: 'DM Mono', monospace;
      font-size: 0.6rem;
      letter-spacing: 0.1em;
      color: #4a5568;
      cursor: pointer;
      transition: color 0.2s;
      background: none;
      border: none;
      padding: 0;
    }
    .indices-refresh:hover { color: var(--gold); }

    /* ──────────────  SCROLL ANIMATIONS  ────────────── */
    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: none;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --ink:     #0d0d0d;
      --paper:   #f5f0e8;
      --cream:   #faf7f2;
      --gold:    #b8973a;
      --gold-lt: #d4ad4f;
      --rust:    #8b3a2a;
      --slate:   #2c3240;
      --muted:   #6b6356;
      --rule:    #c8bfaa;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Source Serif 4', Georgia, serif;
      background: var(--cream);
      color: var(--ink);
      line-height: 1.75;
    }

    /* ── NAV ── */
    .topnav {
      background: var(--ink);
      padding: 0.9rem 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: sticky; top: 0; z-index: 100;
      border-bottom: 2px solid var(--gold);
    }
    .topnav-brand {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 1.1rem;
      font-weight: 900;
      color: var(--paper);
      text-decoration: none;
    }
    .topnav-brand em { font-style: italic; color: var(--gold-lt); }
    .topnav-back {
      font-family: 'DM Mono', monospace;
      font-size: 0.68rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--gold);
      text-decoration: none;
      transition: color 0.2s;
    }
    .topnav-back:hover { color: #fff; }

    /* ── HERO ── */
    .article-hero {
      background: var(--slate);
      color: var(--paper);
      padding: 4rem 2rem 3rem;
      position: relative;
      overflow: hidden;
    }
    .article-hero::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(ellipse 70% 80% at 50% 110%, rgba(184,151,58,0.2), transparent);
      pointer-events: none;
    }
    .article-hero-inner {
      max-width: 760px;
      margin: 0 auto;
      position: relative;
    }
    .article-category {
      font-family: 'DM Mono', monospace;
      font-size: 0.65rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }
    .article-category::before {
      content: '';
      width: 2rem; height: 1px;
      background: var(--gold);
    }
    .article-title {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: clamp(2rem, 5vw, 3.2rem);
      font-weight: 900;
      line-height: 1.1;
      letter-spacing: -0.02em;
      margin-bottom: 1.2rem;
    }
    .article-title em { font-style: italic; color: var(--gold-lt); }
    .article-deck {
      font-size: 1.1rem;
      color: #a09888;
      font-weight: 300;
      line-height: 1.65;
      margin-bottom: 2rem;
      max-width: 640px;
    }
    .article-meta {
      font-family: 'DM Mono', monospace;
      font-size: 0.65rem;
      letter-spacing: 0.1em;
      color: #6b7280;
      display: flex;
      gap: 1.5rem;
      flex-wrap: wrap;
      padding-top: 1.5rem;
      border-top: 1px solid #3a4255;
    }

    /* ── BODY ── */
    .article-body {
      max-width: 760px;
      margin: 0 auto;
      padding: 3.5rem 1.5rem 5rem;
    }

    .article-body p {
      font-size: 1.05rem;
      line-height: 1.85;
      color: #1a1a1a;
      margin-bottom: 1.5rem;
    }

    .article-body h2 {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 1.7rem;
      font-weight: 700;
      line-height: 1.2;
      margin: 3rem 0 1.2rem;
      padding-bottom: 0.6rem;
      border-bottom: 2px solid var(--rule);
      color: var(--ink);
    }
    .article-body h2 em { font-style: italic; color: var(--gold); }

    .article-body h3 {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 1.25rem;
      font-weight: 700;
      margin: 2.5rem 0 0.9rem;
      color: var(--ink);
    }

    /* Formula box */
    .formula-box {
      background: var(--slate);
      border-left: 3px solid var(--gold);
      padding: 1.5rem 1.8rem;
      margin: 2rem 0;
      border-radius: 2px;
    }
    .formula-box .formula {
      font-family: 'DM Mono', monospace;
      font-size: 1.1rem;
      color: var(--gold-lt);
      letter-spacing: 0.05em;
      margin-bottom: 1rem;
    }
    .formula-box ul {
      list-style: none;
      padding: 0;
    }
    .formula-box ul li {
      font-family: 'DM Mono', monospace;
      font-size: 0.75rem;
      color: #a09888;
      padding: 0.25rem 0;
      display: flex;
      gap: 0.5rem;
    }
    .formula-box ul li strong {
      color: var(--gold);
      min-width: 1.5rem;
    }

    /* Example steps */
    .steps-box {
      background: #f0ebe0;
      border-radius: 2px;
      padding: 1.5rem 1.8rem;
      margin: 1.8rem 0;
    }
    .steps-box-title {
      font-family: 'DM Mono', monospace;
      font-size: 0.65rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 1rem;
    }
    .steps-list {
      list-style: none;
      counter-reset: steps;
    }
    .steps-list li {
      counter-increment: steps;
      display: flex;
      gap: 1rem;
      align-items: baseline;
      padding: 0.5rem 0;
      border-bottom: 1px solid var(--rule);
      font-size: 0.95rem;
    }
    .steps-list li:last-child { border-bottom: none; }
    .steps-list li::before {
      content: counter(steps);
      font-family: 'DM Mono', monospace;
      font-size: 0.7rem;
      color: var(--gold);
      min-width: 1.2rem;
      font-weight: 500;
    }

    /* Callout */
    .callout {
      background: var(--ink);
      color: var(--paper);
      padding: 1.5rem 1.8rem;
      margin: 2rem 0;
      border-radius: 2px;
      position: relative;
    }
    .callout::before {
      content: attr(data-icon);
      position: absolute;
      top: -0.9rem;
      left: 1.5rem;
      font-size: 1.4rem;
    }
    .callout p {
      color: #d0c8bc !important;
      margin: 0 !important;
      font-size: 0.97rem !important;
    }
    .callout strong { color: var(--gold-lt); }

    /* Warning box */
    .warning-box {
      border: 1px solid #e06060;
      border-left: 3px solid #e06060;
      background: rgba(224,96,96,0.05);
      padding: 1.2rem 1.5rem;
      margin: 1.8rem 0;
      border-radius: 2px;
    }
    .warning-box p {
      color: #5a1a1a !important;
      margin: 0 !important;
      font-size: 0.95rem !important;
    }
    .warning-box p strong { color: #c03030; }

    /* Rule 72 highlight */
    .rule72-box {
      background: linear-gradient(135deg, var(--slate), #1a2235);
      color: var(--paper);
      padding: 2rem;
      margin: 2rem 0;
      border-radius: 2px;
      text-align: center;
      border-top: 2px solid var(--gold);
    }
    .rule72-formula {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 2rem;
      font-weight: 700;
      color: var(--gold-lt);
      margin: 0.8rem 0;
    }
    .rule72-label {
      font-family: 'DM Mono', monospace;
      font-size: 0.65rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: #6b7280;
    }

    /* Izvor / referenca */
    .ref {
      font-family: 'DM Mono', monospace;
      font-size: 0.68rem;
      color: var(--muted);
      font-style: italic;
    }

    /* Separator */
    .article-sep {
      width: 4rem; height: 2px;
      background: var(--gold);
      margin: 3rem 0;
    }

    /* Interaktivni test */
    .quiz-box {
      background: var(--paper);
      border: 1px solid var(--rule);
      border-top: 3px solid var(--gold);
      padding: 1.5rem 1.8rem;
      margin: 2rem 0;
    }
    .quiz-label {
      font-family: 'DM Mono', monospace;
      font-size: 0.62rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0.8rem;
    }
    .quiz-question {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 1.05rem;
      font-weight: 700;
      margin-bottom: 1rem;
    }
    .quiz-btn {
      background: none;
      border: 1px solid var(--rule);
      padding: 0.6rem 1.2rem;
      font-family: 'DM Mono', monospace;
      font-size: 0.72rem;
      letter-spacing: 0.08em;
      cursor: pointer;
      color: var(--ink);
      transition: all 0.2s;
      margin-right: 0.5rem;
      margin-bottom: 0.5rem;
    }
    .quiz-btn:hover { background: var(--slate); color: var(--paper); border-color: var(--slate); }
    .quiz-btn.correct { background: #1a3a2a; color: #5fba7d; border-color: #5fba7d; }
    .quiz-btn.wrong   { background: #3a1a1a; color: #e06060; border-color: #e06060; }
    .quiz-result {
      font-family: 'DM Mono', monospace;
      font-size: 0.75rem;
      margin-top: 0.8rem;
      min-height: 1.2rem;
      color: var(--muted);
    }

    /* Navigacija između članaka */
    .article-nav {
      background: var(--slate);
      padding: 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
    }
    .article-nav a {
      font-family: 'DM Mono', monospace;
      font-size: 0.68rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--gold);
      text-decoration: none;
      transition: color 0.2s;
    }
    .article-nav a:hover { color: #fff; }

    /* Footer mini */
    .article-footer {
      background: var(--ink);
      color: #4a5568;
      text-align: center;
      padding: 1.5rem;
      font-family: 'DM Mono', monospace;
      font-size: 0.62rem;
      letter-spacing: 0.08em;
    }
    .article-footer a { color: var(--gold); text-decoration: none; }


    /* ── ILUSTRACIJE ── */
    .illus-wrap {
      margin: 2.5rem 0;
      border-radius: 4px;
      overflow: hidden;
      box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    }
    .illus-caption {
      background: var(--slate);
      padding: 0.7rem 1.2rem;
      font-family: 'DM Mono', monospace;
      font-size: 0.62rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--gold);
      text-align: center;
    }
    .illus-wrap svg {
      display: block;
      width: 100%;
      height: auto;
    }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(18px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .article-hero-inner { animation: fadeUp 0.7s ease forwards; }
  
    /* ── Prethodno / sledeće poglavlje ── */
    .serija {
      display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
      margin: 3rem 0 1.5rem;
    }
    .serija-link {
      display: block; padding: 1.1rem 1.3rem;
      background: var(--cream); border: 1px solid var(--rule);
      border-radius: 4px; text-decoration: none;
      transition: border-color .18s, transform .12s, box-shadow .18s;
    }
    .serija-link:hover {
      border-color: var(--gold); transform: translateY(-2px);
      box-shadow: 0 4px 14px var(--shadow);
    }
    .serija-prev { border-left: 3px solid var(--gold); }
    .serija-next { border-right: 3px solid var(--gold); text-align: right; }
    .serija-lab {
      display: block; margin-bottom: .4rem;
      font-family: 'DM Mono', monospace; font-size: .62rem;
      letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
    }
    .serija-nas {
      display: block; font-family: 'Playfair Display', Georgia, serif;
      font-size: 1.05rem; font-weight: 700; line-height: 1.3; color: var(--ink);
    }
    .serija-prazno { display: block; }
    @media (max-width: 620px) {
      .serija { grid-template-columns: 1fr; }
      .serija-next { text-align: left; border-right: none; border-left: 3px solid var(--gold); }
      .serija-prazno { display: none; }
    }

    /* ── Zasebne stranice ── */
    .view { display: block; }
    .view-article { animation: fadeUp 0.4s ease forwards; }
