/* „Simple“ dizajn za sve strane osim početne. Učitava se POSLE styles.css, teren.css i page.css (lokalno, nije objavljeno). */
@import url(/simple-type.css);
@import url(/simple-nav.css);
body.pg.teren{--bg:#050505;--lime:#D4F93A;--ink:#f3f4ee;--dim:#8a8d82;--line:rgba(255,255,255,.08);background:#050505!important}
html{scroll-behavior:smooth}
body.pg .pitch{display:none!important}
canvas#sbg{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
body.pg main,body.pg .site-footer{position:relative;z-index:1}

/* ---------- naslovi i oblici: bez nakošenja i velikih slova ---------- */
body.pg.teren :is(h1,h2,h3,.pg-hero h1,.statpage h1,.bl-page h1,.bankrol h1,.notfound h1,.pg-key b,.nf-code,.kpi,.kpi>*,.pg-toc a,.pg-sec h2 i,.pill,.tip-chip,.post-chip,.post-tag,.about-eyebrow,.btn,.btn.primary,.btn.ghost,.coffee-btn,.cta-btn,.sec-h,.section-title,.bl-prose ul li::before,.pg-list li::before,.sp-day::before,.sp-section::before){transform:none!important;font-style:normal!important}
body.pg.teren :is(h1,h2,h3,.about-eyebrow,.pg-hero .eyebrow,.post-tag,.btn,.pill,.tip-chip,.pg-toc a,.post-chip,.sec-h,.section-title){text-transform:none!important}
body.pg.teren :is(.pg-toc a,.post-chip,.pill,.post-tag){border-radius:999px!important}
body.pg.teren :is(.post-tag){background:rgba(212,249,58,.12)!important;color:var(--lime)!important}
body.pg.teren .pg-sec h2 i{border-radius:8px!important}
body.pg.teren .nf-code{-webkit-text-stroke:2px var(--lime)}

/* dugmad */
body.pg.teren :is(.btn,.coffee-btn,.cta-btn){border-radius:12px!important;font-weight:700!important;font-size:16px!important;letter-spacing:0!important;padding:11px 22px!important;box-shadow:none}
body.pg.teren :is(.btn.primary,.coffee-btn,.cta-btn){background:var(--lime)!important;color:#050505!important}
body.pg.teren .btn.ghost{background:none!important;color:var(--ink)!important;box-shadow:inset 0 0 0 1px var(--line)!important}
body.pg.teren .btn.ghost:hover{color:var(--lime)!important;background:none!important}

/* kartice: blago providne, zaobljene, bez teških okvira */
body.pg.teren :is(.card,.table-card,.chart-card,.post-card,.post-cta,.kpi,.legal-note,.pg-key,.rule,.sp-card,.sp-day-card,.coffee-card,.follow-cta,details.st-method,.bl-prose .callout){background:rgba(255,255,255,.03)!important;border:1px solid var(--line)!important;border-radius:18px!important;box-shadow:none!important;backdrop-filter:blur(6px)}
body.pg.teren .bl-prose{background:none!important;border:0!important}

/* ---------- podnožje: tamno, centrirano ---------- */
body.pg.teren .site-footer{background:#050505!important;border:0!important;padding:50px 24px 40px;margin-top:40px;text-align:center;z-index:2;color:var(--dim)}
body.pg.teren .site-footer .wrap{max-width:780px}
body.pg.teren .site-footer .footer-nav{display:flex!important;flex-wrap:wrap;justify-content:center;gap:6px 24px!important;margin:0 0 18px!important;padding:0!important;border:0!important}
body.pg.teren .site-footer .footer-nav a{border:0!important;padding:4px 0!important;font-weight:600!important;font-size:15px!important;text-transform:none!important;letter-spacing:0!important;transform:none!important;color:var(--ink)}
body.pg.teren .site-footer .footer-help{border-radius:14px!important}

/* dugme ^ nazad na vrh */
.sh-top{position:fixed;right:22px;bottom:22px;z-index:48;width:46px;height:46px;border-radius:14px;border:1px solid rgba(212,249,58,.35);background:rgba(5,5,5,.85);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:var(--lime);cursor:pointer;display:grid;place-items:center;padding:0;opacity:0;transform:translateY(10px);pointer-events:none;transition:opacity .25s,transform .25s,background .2s,color .2s}
.sh-top.on{opacity:1;transform:none;pointer-events:auto}
.sh-top:hover{background:var(--lime);color:#050505}
@media(max-width:560px){.sh-top{right:14px;bottom:14px}}
body.pg.teren :is(.bl-prose ul li,.pg-list li)::before{transform:none!important;border-radius:3px}
body.pg.teren :is(.sp-day,.sp-section)::before{transform:none!important;border-radius:3px}

/* automatski: sve što je u ovim fajlovima bilo nakošeno (skewX) ovde postaje ravno */
body.pg.teren .ai-tag,
body.pg.teren .ai-h1 span.ai-tag,
body.pg.teren .ai-app .ai-motto,
body.pg.teren .ai-app .ai-tabs button,
body.pg.teren .ai-app .ai-recent-row span,
body.pg.teren .pg-hero h1,
body.pg.teren .pg-key b,
body.pg.teren .pg-toc a,
body.pg.teren .pg-sec h2 i,
body.pg.teren .pg-list li::before,
body.pg.teren .statpage h1,
body.pg.teren .statpage .kpi,
body.pg.teren .statpage .kpi>*,
body.pg.teren .sp-app .sp-day::before,
body.pg.teren .sp-app .sp-section::before,
body.pg.teren .sp-app .pill,
body.pg.teren .sp-app .tip-chip,
body.pg.teren .bl-page .about-eyebrow,
body.pg.teren .bl-page h1,
body.pg.teren .post-chip,
body.pg.teren .post-tag,
body.pg.teren .bl-prose ul li::before,
body.pg.teren .notfound .nf-code,
body.pg.teren .notfound h1,
body.pg.teren .bankrol .about-eyebrow,
body.pg.teren .bankrol h1,
body.pg.teren .eyebrow,
body.pg.teren h1 span,
body.pg.teren .btn,
body.pg.teren .tl-head h2,
body.pg.teren .ptip,
body.pg.teren .compare-row,
body.pg.teren .compare-row>*,
body.pg.teren .kpi,
body.pg.teren .kpi>*,
body.pg.teren .kpi-switch,
body.pg.teren .kpi-switch button,
body.pg.teren .coffee-btn,
body.pg.teren .sec-h,
body.pg.teren .section-eyebrow,
body.pg.teren .section-title,
body.pg.teren .rule-num,
body.pg.teren .follow-btns .cta-btn,
body.pg.teren .kpi.rv,
body.pg.teren .kpi.rv.in,
body.pg.teren .section-title.rv,
body.pg.teren .section-title.rv.in,
body.pg.teren .live-badge,
body.pg.teren .kv .pill,
body.pg.teren .kv .pill .sd{transform:none!important;font-style:normal!important}
/* padajući meniji: strelica malo dalje od desne ivice, isti izgled svuda */
body.pg.teren :is(.statpage select,.ht-select,.sp-arh-filters select,main select){
  -webkit-appearance:none;appearance:none;border-radius:12px!important;padding-right:42px!important;
  background-color:#0d0e0b;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f3f4ee' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 18px center;background-size:14px 14px;cursor:pointer}

/* blog: naslovne slike na kartici i u članku */
body.pg.teren .post-card .post-img{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;border-radius:14px;margin:0 0 6px;background:#0d0e0b}
body.pg.teren .post-card{gap:10px}
body.pg.teren .post-hero{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;border-radius:18px;margin:22px 0 10px;background:#0d0e0b}

/* Singl predlozi: 3 kartice u redu na racunaru */
@media (min-width:1101px){.pg .sp-page:not(.ai-page){max-width:1100px}.pg .sp-app .sp-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
