/* ============================================================
   izracun.com.hr WordPress stilovi
   Fokus: dizajn, boje i fontovi usklađeni s main webom.
   Sadržaj postova/stranica ostaje WordPress sadržaj.
   ============================================================ */
:root{
  --bg:#f6f7fb;
  --surface:#ffffff;
  --solid:#ffffff;
  --card:#ffffff;
  --text:#101828;
  --text2:#52617c;
  --muted:#667085;
  --border:#e4e7ec;
  --blue:#2563eb;
  --primary:#2563eb;
  --primary-dark:#1d4ed8;
  --accent-blue:#2563eb;
  --accent-cyan:#06b6d4;
  --accent-green:#10b981;
  --shadow:0 20px 50px rgba(16,24,40,.08);
  --sans:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Roboto,Arial,sans-serif;
  --radius:28px;
}
html.dark,
body.dark{
  --bg:#0a0d12;
  --surface:#111827;
  --solid:#0f172a;
  --card:#111827;
  --text:#f8fafc;
  --text2:#b6c2d5;
  --muted:#94a3b8;
  --border:#1e2d42;
  --blue:#5b8cff;
  --primary:#5b8cff;
  --primary-dark:#3b73ff;
  --accent-blue:#60a5fa;
  --accent-cyan:#22d3ee;
  --accent-green:#34d399;
  --shadow:0 18px 48px rgba(0,0,0,.28);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.iz-wp-theme{
  margin:0;
  color:var(--text);
  font-family:var(--sans);
  background:
    radial-gradient(ellipse 60% 40% at 70% -10%, rgba(91,127,255,.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 10% 85%, rgba(61,255,192,.08) 0%, transparent 55%),
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px),
    var(--bg);
  background-size:auto,auto,44px 44px,44px 44px;
  min-height:100vh;
  overflow-x:hidden;
}
body.iz-wp-theme a{color:inherit}
.iz-main{min-height:58vh}

/* Hero / naslov */
.iz-hero{padding:clamp(42px,6vw,82px) 0 clamp(26px,4vw,44px)}
.iz-hero-inner{
  width:min(100% - 56px,1360px);
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:28px;
  align-items:end;
}
.iz-hero-text{max-width:880px}
.iz-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:fit-content;
  min-height:24px;
  padding:5px 13px;
  margin:0 0 14px;
  border-radius:999px;
  border:1px solid rgba(37,99,235,.28);
  background:rgba(37,99,235,.08);
  color:var(--blue);
  font-size:11px;
  font-weight:800;
  line-height:1;
  letter-spacing:.12em;
  text-transform:uppercase;
  box-shadow:0 10px 30px rgba(37,99,235,.08);
}
.iz-eyebrow:before{
  content:'';
  width:6px;
  height:6px;
  border-radius:999px;
  background:linear-gradient(135deg,#18c8e8,#22c55e);
  box-shadow:0 0 12px rgba(24,200,232,.55);
  flex:0 0 auto;
}
.iz-hero h1,
.iz-page-title{
  margin:0;
  color:var(--text);
  font-size:clamp(36px,5vw,64px);
  line-height:.98;
  letter-spacing:-.065em;
  font-weight:850;
}
.iz-hero p.iz-lead{
  max-width:720px;
  margin:18px 0 0;
  color:var(--text2);
  font-size:clamp(16px,2vw,19px);
  line-height:1.7;
  font-weight:500;
}

/* Search */
.iz-search-box{
  width:min(360px,100%);
  background:rgba(255,255,255,.82);
  border:1px solid var(--border);
  border-radius:22px;
  padding:14px;
  box-shadow:var(--shadow);
}
html.dark .iz-search-box,
body.dark .iz-search-box{background:rgba(17,24,39,.78);box-shadow:none}
.iz-search-box form{display:flex;gap:8px;margin:0}
.iz-search-box input[type="search"]{
  min-width:0;
  flex:1;
  border:1px solid var(--border);
  border-radius:13px;
  padding:11px 12px;
  background:var(--surface);
  color:var(--text);
  outline:0;
  font-family:var(--sans);
}
.iz-search-box input[type="search"]:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(37,99,235,.10)}
.iz-search-box button,
.iz-button{
  border:0;
  border-radius:13px;
  padding:11px 14px;
  background:linear-gradient(135deg,var(--blue),var(--primary-dark));
  color:#fff;
  font-weight:800;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 12px 30px rgba(37,99,235,.22);
  font-family:var(--sans);
}
.iz-search-box button:hover,
.iz-button:hover{transform:translateY(-1px);box-shadow:0 16px 36px rgba(37,99,235,.30)}

/* Listing */
.iz-content-wrap{
  width:min(100% - 56px,1360px);
  margin:0 auto;
  padding:0 0 64px;
}
.iz-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.iz-post-card{
  background:rgba(255,255,255,.88);
  border:1px solid var(--border);
  border-radius:28px;
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:transform .18s,border-color .18s,box-shadow .18s;
}
html.dark .iz-post-card,
body.dark .iz-post-card{background:rgba(17,24,39,.82);box-shadow:none}
.iz-post-card:hover{transform:translateY(-5px);border-color:rgba(37,99,235,.35);box-shadow:0 22px 60px rgba(16,24,40,.10)}
.iz-post-card a{text-decoration:none;color:inherit;display:flex;flex-direction:column;height:100%}
.iz-post-thumb{aspect-ratio:16/9;background:linear-gradient(135deg,rgba(37,99,235,.14),rgba(6,182,212,.10));overflow:hidden}
.iz-post-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.iz-post-body{padding:24px;display:flex;flex-direction:column;gap:10px;flex:1}
.iz-post-meta{color:var(--muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.055em}
.iz-post-card h2{margin:0;color:var(--text);font-size:clamp(20px,2.2vw,26px);line-height:1.15;letter-spacing:-.04em}
.iz-post-card p{margin:0;color:var(--text2);font-size:14px;line-height:1.65;font-weight:500}
.iz-read-more{margin-top:auto;color:var(--blue);font-weight:850;font-size:14px;padding-top:8px}
.iz-pagination{margin-top:34px;color:var(--text)}
.iz-pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.iz-pagination a,
.iz-pagination span{border:1px solid var(--border);background:var(--surface);border-radius:12px;padding:10px 13px;text-decoration:none;font-weight:750;color:var(--text)}
.iz-pagination .current{background:var(--blue);border-color:var(--blue);color:#fff}

/* Article */
.iz-article-shell{
  width:min(100% - 56px,900px);
  margin:0 auto;
  padding:0 0 74px;
}
.iz-article-layout{
  width:min(100% - 56px,1180px);
  margin:0 auto;
  padding:0 0 74px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:24px;
  align-items:start;
}
.iz-article-layout .iz-article-shell{width:100%;padding:0;margin:0}
.iz-article-card{
  background:rgba(255,255,255,.90);
  border:1px solid var(--border);
  border-radius:30px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
html.dark .iz-article-card,
body.dark .iz-article-card{background:rgba(17,24,39,.86);box-shadow:none}
.iz-article-thumb img{display:block;width:100%;height:auto;max-height:520px;object-fit:cover}
.iz-article-content{padding:clamp(24px,5vw,48px);color:var(--text);font-size:18px;line-height:1.82}
.iz-article-content > *:first-child{margin-top:0}
.iz-article-content h2,
.iz-article-content h3,
.iz-article-content h4{line-height:1.18;letter-spacing:-.035em;color:var(--text);margin:1.65em 0 .55em}
.iz-article-content h2{font-size:clamp(28px,3vw,38px)}
.iz-article-content h3{font-size:clamp(23px,2.3vw,29px)}
.iz-article-content p,
.iz-article-content li{color:var(--text2)}
.iz-article-content a{color:var(--blue);font-weight:750;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.iz-article-content blockquote{margin:28px 0;padding:18px 22px;border-left:4px solid var(--blue);background:rgba(37,99,235,.07);border-radius:0 18px 18px 0;color:var(--text)}
.iz-article-content table{width:100%;border-collapse:collapse;margin:24px 0;overflow:hidden;border-radius:16px;display:block;max-width:100%;overflow-x:auto}
.iz-article-content th,
.iz-article-content td{border:1px solid var(--border);padding:12px;text-align:left;color:var(--text2)}
.iz-article-content th{color:var(--text);background:rgba(37,99,235,.06)}
.iz-post-nav{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}
.iz-post-nav a{display:block;background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:16px;text-decoration:none;color:var(--text);font-weight:800}
.iz-empty{background:var(--surface);border:1px solid var(--border);border-radius:24px;padding:28px;color:var(--text2)}

/* Opcionalni WP sidebar: popuni ga u Appearance > Widgets. Dok je prazan, ne prikazuje se. */
.iz-calculator-sidebar{
  position:sticky;
  top:92px;
  align-self:start;
  background:rgba(255,255,255,.90);
  border:1px solid var(--border);
  border-radius:22px;
  padding:18px;
  box-shadow:var(--shadow);
  color:var(--text);
}
html.dark .iz-calculator-sidebar,
body.dark .iz-calculator-sidebar{background:rgba(17,24,39,.86);box-shadow:none}
.iz-calculator-sidebar .widget,
.iz-calculator-sidebar .wp-block-group{margin:0 0 18px}
.iz-calculator-sidebar .widget:last-child,
.iz-calculator-sidebar .wp-block-group:last-child{margin-bottom:0}
.iz-calculator-sidebar h2,
.iz-calculator-sidebar h3,
.iz-calculator-sidebar .widget-title{
  margin:0 0 12px;
  font-size:15px;
  line-height:1.15;
  letter-spacing:-.04em;
  color:var(--text);
  font-weight:850;
}
.iz-calculator-sidebar p,
.iz-calculator-sidebar li{color:var(--text2);font-size:13px;line-height:1.55}
.iz-calculator-sidebar ul{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.iz-calculator-sidebar a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  text-decoration:none;
  color:var(--text2);
  font-size:13px;
  font-weight:700;
  padding:9px 10px;
  border-radius:10px;
  border:1px solid transparent;
  background:transparent;
  transition:.16s ease;
}
.iz-calculator-sidebar a:hover{color:var(--blue);background:rgba(37,99,235,.07);border-color:rgba(37,99,235,.16);transform:translateX(-2px)}

.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

@media(max-width:1000px){
  .iz-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .iz-hero-inner{grid-template-columns:1fr;align-items:start}
  .iz-search-box{width:100%;max-width:520px}
  .iz-article-layout{grid-template-columns:1fr;width:min(100% - 32px,900px)}
  .iz-calculator-sidebar{position:relative;top:auto}
}
@media(max-width:620px){
  body.iz-wp-theme{background-size:auto,auto,34px 34px,34px 34px}
  .iz-hero-inner,.iz-content-wrap,.iz-article-shell{width:min(100% - 24px,1360px)}
  .iz-article-layout{width:min(100% - 24px,900px);gap:16px}
  .iz-post-grid{grid-template-columns:1fr;gap:16px}
  .iz-article-content{font-size:16px;line-height:1.75}
  .iz-post-nav{grid-template-columns:1fr}
  .iz-post-body{padding:22px}
}
@media print{
  .iz-search-box,.iz-post-nav,.iz-calculator-sidebar{display:none!important}
  .iz-article-layout,.iz-article-shell{display:block!important;width:100%!important;padding:0!important}
  .iz-article-card{box-shadow:none!important;border:0!important}
}


/* ============================================================
   Čitljiviji blog postovi + naslov blog posta
   ============================================================ */
.single-post .iz-hero{
  padding:clamp(30px,4.4vw,56px) 0 clamp(18px,3vw,30px);
}
.single-post .iz-hero-text{
  max-width:900px;
}
.single-post .iz-hero h1{
  max-width:920px;
  font-size:clamp(30px,4.2vw,48px);
  line-height:1.08;
  letter-spacing:-.045em;
  font-weight:850;
  text-wrap:balance;
}
.single-post .iz-hero p.iz-lead{
  max-width:780px;
  font-size:clamp(15.5px,1.7vw,18px);
  line-height:1.68;
}
.iz-article-content{
  max-width:100%;
  font-size:clamp(16px,1.25vw,18px);
  line-height:1.82;
  overflow-wrap:anywhere;
  word-break:normal;
  hyphens:auto;
}
.iz-article-content p{
  margin:0 0 1.15em;
}
.iz-article-content ul,
.iz-article-content ol{
  padding-left:1.3em;
  margin:0 0 1.2em;
}
.iz-article-content li + li{
  margin-top:.35em;
}
.iz-article-content img,
.iz-article-content video,
.iz-article-content iframe{
  max-width:100%;
  height:auto;
}
.iz-article-content iframe{
  display:block;
  width:100%;
  aspect-ratio:16 / 9;
}
.iz-article-content pre,
.iz-article-content code{
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.iz-article-content pre{
  max-width:100%;
  overflow-x:auto;
  padding:16px;
  border-radius:16px;
  border:1px solid var(--border);
  background:rgba(15,23,42,.04);
}
body.dark .iz-article-content pre{background:rgba(255,255,255,.04)}

/* Ugrađeni sidebar s kalkulatorima iz glavne stranice */
.iz-sidebar-calculators{
  margin:0;
}
.iz-sidebar-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  padding-bottom:12px;
  border-bottom:1px solid var(--border);
  margin-bottom:12px;
}
.iz-sidebar-eyebrow{
  display:block;
  color:var(--blue);
  font-size:9px;
  font-weight:850;
  letter-spacing:.14em;
  text-transform:uppercase;
  margin-bottom:4px;
}
.iz-calculator-sidebar .iz-sidebar-head h2{
  font-size:16px;
  line-height:1.15;
  letter-spacing:-.04em;
  margin:0;
  color:var(--text);
}
.iz-sidebar-all{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:38px;
  height:28px;
  padding:0 10px!important;
  border-radius:999px!important;
  background:rgba(37,99,235,.07)!important;
  border:1px solid rgba(37,99,235,.16)!important;
  color:var(--blue)!important;
  font-size:11px!important;
  font-weight:850!important;
  text-decoration:none!important;
  transform:none!important;
}
.iz-sidebar-nav{
  display:grid;
  gap:14px;
}
.iz-sidebar-group h3{
  font-size:9px!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  color:var(--muted)!important;
  margin:0 0 6px!important;
  font-weight:850!important;
}
.iz-sidebar-items{
  display:grid;
  gap:3px;
}
.iz-calculator-sidebar .iz-sidebar-item{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:9px;
  padding:7px 8px;
  border-radius:10px;
  color:var(--text2);
  text-decoration:none;
  border:1px solid transparent;
  background:transparent;
  transition:background .18s,border-color .18s,transform .18s,color .18s;
}
.iz-calculator-sidebar .iz-sidebar-item:hover{
  background:rgba(37,99,235,.07);
  border-color:rgba(37,99,235,.16);
  color:var(--text);
  transform:translateX(-2px);
}
.iz-sidebar-icon{
  width:26px;
  height:26px;
  min-width:26px;
  border-radius:8px;
  display:grid;
  place-items:center;
  background:rgba(37,99,235,.07);
  border:1px solid rgba(37,99,235,.15);
  color:var(--blue);
}
.iz-sidebar-icon svg{
  width:14px;
  height:14px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.iz-sidebar-text{
  display:grid;
  gap:1px;
  min-width:0;
}
.iz-sidebar-text strong{
  font-size:12.5px;
  line-height:1.2;
  font-weight:850;
  color:var(--text);
}
.iz-sidebar-text small{
  font-size:10.5px;
  line-height:1.25;
  color:var(--muted);
}
.iz-sidebar-widgets{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--border);
}

@media(max-width:1000px){
  .single-post .iz-hero h1{font-size:clamp(29px,6vw,42px)}
  .iz-sidebar-nav{
    display:flex;
    gap:10px;
    overflow-x:auto;
    padding-bottom:4px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
  }
  .iz-sidebar-group{
    min-width:230px;
    scroll-snap-align:start;
  }
  .iz-calculator-sidebar .iz-sidebar-item:hover{transform:none}
}
@media(max-width:620px){
  .single-post .iz-hero{padding:28px 0 18px}
  .single-post .iz-hero h1{
    font-size:clamp(27px,8vw,34px);
    line-height:1.12;
    letter-spacing:-.035em;
  }
  .iz-article-card{border-radius:22px}
  .iz-article-content{
    padding:22px 18px;
    font-size:16px;
    line-height:1.78;
  }
  .iz-article-content h2{font-size:clamp(23px,7vw,30px)}
  .iz-article-content h3{font-size:clamp(20px,6vw,25px)}
  .iz-calculator-sidebar{padding:14px;border-radius:18px}
  .iz-sidebar-head{align-items:center}
  .iz-sidebar-group{min-width:218px}
  .iz-sidebar-text small{display:none}
}

/* ============================================================
   V4 dorada: hero font kao glavni web + gradient naslov posta
   ============================================================ */
:root{
  --sans:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Segoe UI,Roboto,Arial,sans-serif;
}
body.iz-wp-theme,
body.iz-wp-theme input,
body.iz-wp-theme button,
body.iz-wp-theme textarea,
body.iz-wp-theme select{
  font-family:var(--sans)!important;
  -webkit-font-smoothing:antialiased;
  text-rendering:geometricPrecision;
}

/* Naslovna WP bloga — stil kao main hero */
.home.blog .iz-hero,
.blog .iz-hero{
  padding:clamp(46px,7vw,92px) 0 clamp(28px,4vw,48px);
}
.home.blog .iz-hero-text,
.blog .iz-hero-text{
  max-width:940px;
}
.home.blog .iz-home-title,
.blog .iz-home-title{
  margin:0;
  max-width:1060px;
  color:#0b1730;
  font-family:var(--sans)!important;
  font-size:clamp(42px,6.1vw,82px);
  line-height:.96;
  letter-spacing:-.078em;
  font-weight:900;
  text-wrap:balance;
}
.home.blog .iz-home-title span,
.blog .iz-home-title span{
  color:#2f74ff;
  background:linear-gradient(90deg,#2f74ff 0%,#3b82f6 54%,#18b8d8 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
body.dark.home.blog .iz-home-title,
body.dark.blog .iz-home-title{
  color:#f8fafc;
}
.home.blog .iz-hero p.iz-lead,
.blog .iz-hero p.iz-lead{
  max-width:760px;
  margin-top:22px;
  color:#405076;
  font-size:clamp(17px,1.75vw,21px);
  line-height:1.55;
  font-weight:560;
  letter-spacing:-.018em;
}
body.dark.home.blog .iz-hero p.iz-lead,
body.dark.blog .iz-hero p.iz-lead{
  color:var(--text2);
}

/* Naslov pojedinog blog posta — stil kao naslov kalkulatora */
.single-post .iz-hero h1.iz-single-title{
  margin:0;
  max-width:980px;
  font-family:var(--sans)!important;
  font-size:clamp(34px,5.4vw,48px)!important;
  line-height:.98!important;
  letter-spacing:-.072em!important;
  font-weight:900!important;
  text-wrap:balance;
  color:transparent!important;
  background:linear-gradient(90deg,#5a7cff 0%,#3f82f6 45%,#1aa9c7 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
.single-post .iz-hero .iz-eyebrow{
  margin-bottom:16px;
}
.single-post .iz-hero p.iz-lead{
  margin-top:20px;
  color:var(--text2);
  font-size:clamp(16px,1.7vw,19px);
  line-height:1.62;
  letter-spacing:-.012em;
}

/* Čitljiviji tekst objave, posebno na mobitelu */
.iz-article-content{
  font-family:"SF Pro Text",-apple-system,BlinkMacSystemFont,"Helvetica Neue",Segoe UI,Roboto,Arial,sans-serif!important;
  letter-spacing:-.006em;
}
.iz-article-content p,
.iz-article-content li{
  font-weight:460;
}
.iz-article-content strong,
.iz-article-content b{
  color:var(--text);
  font-weight:760;
}

/* Search blog objava iznad sidebar kalkulatora */
.iz-sidebar-search{
  margin:0 0 18px;
  padding:0 0 18px;
  border-bottom:1px solid var(--border);
}
.iz-sidebar-search-head{
  margin:0 0 10px;
}
.iz-calculator-sidebar .iz-sidebar-search h2{
  margin:0;
  font-size:16px;
  line-height:1.15;
  letter-spacing:-.045em;
  color:var(--text);
  font-weight:900;
}
.iz-sidebar-search .search-form{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  margin:0;
}
.iz-sidebar-search input[type="search"]{
  width:100%;
  min-width:0;
  height:40px;
  border:1px solid var(--border);
  border-radius:12px;
  padding:0 11px;
  background:var(--surface);
  color:var(--text);
  outline:0;
  font-size:13px;
  font-weight:560;
  box-shadow:0 2px 8px rgba(15,23,42,.04);
}
.iz-sidebar-search input[type="search"]:focus{
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(37,99,235,.11);
}
.iz-sidebar-search button{
  height:40px;
  min-width:52px;
  border:0;
  border-radius:12px;
  padding:0 12px;
  background:linear-gradient(135deg,var(--blue),var(--primary-dark));
  color:#fff;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(37,99,235,.22);
}
.iz-sidebar-search button:hover{
  transform:translateY(-1px);
}
.iz-sidebar-calculators{
  margin-top:0;
}

@media(max-width:760px){
  .home.blog .iz-hero,
  .blog .iz-hero{
    padding:34px 0 24px;
  }
  .home.blog .iz-home-title,
  .blog .iz-home-title{
    font-size:clamp(38px,12vw,50px);
    line-height:.94;
    letter-spacing:-.07em;
  }
  .home.blog .iz-hero p.iz-lead,
  .blog .iz-hero p.iz-lead{
    margin-top:18px;
    font-size:16.5px;
    line-height:1.58;
  }
  .single-post .iz-hero h1.iz-single-title{
    font-size:clamp(34px,10.5vw,40px)!important;
    line-height:1!important;
    letter-spacing:-.064em!important;
  }
}
@media(max-width:520px){
  .home.blog .iz-home-title,
  .blog .iz-home-title{
    font-size:clamp(35px,13.5vw,40px);
  }
  .single-post .iz-hero h1.iz-single-title{
    font-size:clamp(31px,11.5vw,40px)!important;
  }
  .iz-sidebar-search .search-form{
    grid-template-columns:1fr;
  }
  .iz-sidebar-search button{
    width:100%;
  }
}

/* ============================================================
   V5 mobile/responsive fix: manji naslovi + prelamanje teksta/slika
   ============================================================ */
body.iz-wp-theme{
  overflow-x:hidden;
}
.iz-hero-inner,
.iz-content-wrap,
.iz-article-layout,
.iz-article-shell,
.iz-article-card,
.iz-article-content,
.iz-post-card,
.iz-post-body{
  min-width:0;
}
.home.blog .iz-home-title,
.blog .iz-home-title,
.single-post .iz-hero h1.iz-single-title,
.iz-post-card h2,
.iz-article-content h1,
.iz-article-content h2,
.iz-article-content h3,
.iz-article-content h4{
  overflow-wrap:anywhere;
  word-break:normal;
  hyphens:auto;
}
.home.blog .iz-home-title,
.blog .iz-home-title{
  font-size:clamp(34px,4.9vw,66px)!important;
  line-height:1!important;
  letter-spacing:-.062em!important;
}
.single-post .iz-hero h1.iz-single-title{
  font-size:clamp(27px,4.3vw,38px)!important;
  line-height:1.08!important;
  letter-spacing:-.055em!important;
}
.iz-post-card h2{
  font-size:clamp(16px,1.75vw,21px)!important;
  line-height:1.2!important;
}
.iz-article-content h2{font-size:clamp(22px,2.4vw,30px)!important}
.iz-article-content h3{font-size:clamp(18px,1.85vw,23px)!important}
.iz-article-content h4{font-size:clamp(16px,1.55vw,19px)!important}
.iz-article-content p,
.iz-article-content li,
.iz-article-content blockquote,
.iz-article-content figcaption,
.iz-article-content td,
.iz-article-content th{
  overflow-wrap:anywhere;
  word-break:normal;
  hyphens:auto;
}
.iz-article-content img,
.iz-article-content figure,
.iz-article-content .wp-block-image,
.iz-article-content .wp-caption{
  max-width:100%!important;
  height:auto!important;
}
.iz-article-content figure,
.iz-article-content .wp-block-image{
  margin-left:0!important;
  margin-right:0!important;
}
.iz-article-content img{
  display:block;
  border-radius:18px;
}
.iz-article-content .alignwide,
.iz-article-content .alignfull{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}
.iz-article-content table{
  width:100%!important;
  max-width:100%!important;
  display:block;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

@media(max-width:760px){
  .iz-hero-inner,
  .iz-content-wrap,
  .iz-article-layout,
  .iz-article-shell{
    width:min(100% - 24px,900px)!important;
  }
  .home.blog .iz-home-title,
  .blog .iz-home-title{
    font-size:clamp(28px,9.6vw,40px)!important;
    line-height:1.05!important;
    letter-spacing:-.052em!important;
  }
  .single-post .iz-hero h1.iz-single-title{
    font-size:clamp(25px,8.4vw,32px)!important;
    line-height:1.12!important;
    letter-spacing:-.045em!important;
  }
  .home.blog .iz-hero p.iz-lead,
  .blog .iz-hero p.iz-lead,
  .single-post .iz-hero p.iz-lead{
    font-size:15.5px!important;
    line-height:1.6!important;
  }
  .iz-article-content{
    padding:22px 16px!important;
    font-size:15.8px!important;
    line-height:1.75!important;
  }
  .iz-article-content h2{font-size:clamp(20px,6.2vw,25px)!important}
  .iz-article-content h3{font-size:clamp(18px,5.4vw,22px)!important}
  .iz-article-content h4{font-size:clamp(16px,4.7vw,18px)!important}
  .iz-post-card h2{font-size:20px!important}
  .iz-article-content img{border-radius:14px}
}

@media(max-width:420px){
  .home.blog .iz-home-title,
  .blog .iz-home-title{
    font-size:clamp(27px,9.4vw,34px)!important;
  }
  .single-post .iz-hero h1.iz-single-title{
    font-size:clamp(24px,8.2vw,30px)!important;
  }
}

/* ============================================================
   V6 HARD MOBILE FIX: sprječava izlazak teksta/slika van ekrana
   ============================================================ */
html,
body{
  width:100%;
  max-width:100%;
  overflow-x:hidden!important;
}
body.iz-wp-theme *{
  max-width:100%;
}
.iz-hero,
.iz-main,
.iz-content-wrap,
.iz-article-layout,
.iz-article-shell,
.iz-article-card,
.iz-article-content,
.iz-post-grid,
.iz-post-card,
.iz-post-body{
  max-width:100%;
  min-width:0!important;
}
.iz-article-content,
.iz-article-content *,
.iz-hero-text,
.iz-hero-text *,
.iz-post-body,
.iz-post-body *{
  overflow-wrap:break-word!important;
  word-wrap:break-word!important;
  word-break:break-word!important;
}
.iz-article-content img,
.iz-article-content figure img,
.iz-article-content .wp-block-image img,
.iz-article-content .wp-caption img,
.iz-article-thumb img,
.iz-post-thumb img{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  object-fit:contain!important;
}
.iz-article-content figure,
.iz-article-content .wp-block-image,
.iz-article-content .wp-caption,
.iz-article-content .wp-block-gallery,
.iz-article-content .wp-block-media-text,
.iz-article-content .wp-block-embed,
.iz-article-content .wp-block-table{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}
.iz-article-content .wp-block-table{
  overflow-x:auto!important;
  -webkit-overflow-scrolling:touch;
}
.iz-article-content table{
  min-width:520px;
}
.iz-article-content iframe,
.iz-article-content embed,
.iz-article-content object,
.iz-article-content video{
  width:100%!important;
  max-width:100%!important;
}

@media(max-width:760px){
  .iz-hero-inner,
  .iz-content-wrap,
  .iz-article-layout,
  .iz-article-shell{
    width:calc(100% - 24px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .iz-article-layout{
    display:block!important;
    padding-bottom:48px!important;
  }
  .iz-hero{
    padding-top:26px!important;
    padding-bottom:18px!important;
  }
  .home.blog .iz-home-title,
  .blog .iz-home-title,
  .iz-page-title{
    font-size:clamp(24px,8.5vw,32px)!important;
    line-height:1.12!important;
    letter-spacing:-.045em!important;
  }
  .single-post .iz-hero h1.iz-single-title,
  .single-post .iz-hero h1,
  .entry-title,
  .wp-block-post-title{
    font-size:clamp(22px,7.2vw,28px)!important;
    line-height:1.16!important;
    letter-spacing:-.035em!important;
  }
  .iz-post-card h2{
    font-size:18px!important;
    line-height:1.22!important;
    letter-spacing:-.025em!important;
  }
  .iz-article-content{
    padding:20px 14px!important;
    font-size:15.5px!important;
    line-height:1.72!important;
  }
  .iz-article-content h1{font-size:24px!important;line-height:1.18!important;}
  .iz-article-content h2{font-size:21px!important;line-height:1.22!important;}
  .iz-article-content h3{font-size:18.5px!important;line-height:1.25!important;}
  .iz-article-content h4{font-size:16.5px!important;line-height:1.3!important;}
  .iz-article-content p,
  .iz-article-content li{
    font-size:15.5px!important;
    line-height:1.72!important;
  }
  .iz-article-content ul,
  .iz-article-content ol{
    padding-left:18px!important;
  }
  .iz-article-content img{
    border-radius:12px!important;
  }
  .iz-calculator-sidebar{
    margin-top:18px!important;
  }
}

@media(max-width:390px){
  .iz-hero-inner,
  .iz-content-wrap,
  .iz-article-layout,
  .iz-article-shell{
    width:calc(100% - 18px)!important;
  }
  .single-post .iz-hero h1.iz-single-title,
  .single-post .iz-hero h1{
    font-size:22px!important;
  }
  .home.blog .iz-home-title,
  .blog .iz-home-title{
    font-size:24px!important;
  }
  .iz-article-content{
    padding:18px 12px!important;
  }
}


/* Fix featured/post images filling article container on desktop and mobile */
.single-post .entry-content img,
.single-post .post-content img,
.single-post figure img,
.single-post .wp-block-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 !important;
    border-radius: 22px;
}

.single-post .wp-block-image,
.single-post figure {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.single-post .post-thumbnail img,
.single-post .featured-image img,
.single-post .entry-thumbnail img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    display: block;
}

.single-post .post-thumbnail,
.single-post .featured-image,
.single-post .entry-thumbnail {
    width: 100% !important;
    overflow: hidden;
    border-radius: 22px;
}


/* ============================================================
   V7 tablice u člancima: horizontalni scroll na mobitelu
   ============================================================ */
.iz-article-content .wp-block-table,
.iz-article-content .iz-table-scroll{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
  margin:24px 0!important;
  padding:0 0 8px!important;
  border-radius:16px;
}

.iz-article-content .wp-block-table table,
.iz-article-content .iz-table-scroll table{
  display:table!important;
  width:max-content!important;
  min-width:640px!important;
  max-width:none!important;
  table-layout:auto!important;
  border-collapse:collapse;
  margin:0!important;
  overflow:visible!important;
}

.iz-article-content .wp-block-table th,
.iz-article-content .wp-block-table td,
.iz-article-content .iz-table-scroll th,
.iz-article-content .iz-table-scroll td{
  white-space:nowrap!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
  vertical-align:top;
}

.iz-article-content .wp-block-table td p,
.iz-article-content .wp-block-table th p,
.iz-article-content .iz-table-scroll td p,
.iz-article-content .iz-table-scroll th p{
  margin:0!important;
  white-space:nowrap!important;
}

.iz-article-content .wp-block-table::-webkit-scrollbar,
.iz-article-content .iz-table-scroll::-webkit-scrollbar{
  height:8px;
}
.iz-article-content .wp-block-table::-webkit-scrollbar-thumb,
.iz-article-content .iz-table-scroll::-webkit-scrollbar-thumb{
  background:rgba(37,99,235,.35);
  border-radius:999px;
}
.iz-article-content .wp-block-table::-webkit-scrollbar-track,
.iz-article-content .iz-table-scroll::-webkit-scrollbar-track{
  background:rgba(148,163,184,.18);
  border-radius:999px;
}

@media(max-width:760px){
  .iz-article-content .wp-block-table,
  .iz-article-content .iz-table-scroll{
    margin-left:-2px!important;
    margin-right:-2px!important;
  }
  .iz-article-content .wp-block-table table,
  .iz-article-content .iz-table-scroll table{
    min-width:620px!important;
  }
}

/* ============================================================
   V10: poravnanje članka s headerom/heroom + puna featured slika
   ============================================================ */
.single-post .iz-article-layout{
  width:min(100% - 56px,1360px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  grid-template-columns:minmax(0,1fr) 300px!important;
  gap:24px!important;
}
.single-post .iz-article-layout .iz-article-shell{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
.single-post .iz-article-card{
  width:100%!important;
  max-width:none!important;
}
.single-post .iz-article-thumb{
  width:100%!important;
  aspect-ratio:16/9;
  overflow:hidden;
  background:linear-gradient(135deg,rgba(37,99,235,.10),rgba(6,182,212,.08));
}
.single-post .iz-article-thumb img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center!important;
  margin:0!important;
  border-radius:0!important;
}
.iz-article-taxonomy{
  display:grid;
  gap:18px;
  padding:0 clamp(24px,5vw,48px) clamp(26px,4vw,42px);
  margin-top:-6px;
}
.iz-taxonomy-block{
  padding-top:18px;
  border-top:1px solid var(--border);
}
.iz-taxonomy-block h2{
  margin:0 0 12px;
  color:var(--text);
  font-size:13px;
  line-height:1;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.iz-taxonomy-pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.iz-taxonomy-pills a{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:8px 12px;
  border:1px solid rgba(37,99,235,.18);
  border-radius:999px;
  background:rgba(37,99,235,.07);
  color:var(--blue);
  text-decoration:none;
  font-size:13px;
  font-weight:800;
  line-height:1;
  transition:transform .16s ease, background .16s ease, border-color .16s ease;
}
.iz-taxonomy-pills a:hover{
  transform:translateY(-1px);
  background:rgba(37,99,235,.12);
  border-color:rgba(37,99,235,.30);
}
.iz-comments-wrap{
  margin-top:18px;
  padding:clamp(22px,4vw,34px);
  border:1px solid var(--border);
  border-radius:24px;
  background:rgba(255,255,255,.90);
  box-shadow:var(--shadow);
}
body.dark .iz-comments-wrap,
html.dark .iz-comments-wrap{
  background:rgba(17,24,39,.86);
  box-shadow:none;
}
.iz-comments-wrap input,
.iz-comments-wrap textarea{
  max-width:100%;
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px;
  background:var(--surface);
  color:var(--text);
}
.iz-comments-wrap .submit{
  border:0;
  border-radius:13px;
  padding:11px 16px;
  background:linear-gradient(135deg,var(--blue),var(--primary-dark));
  color:#fff;
  font-weight:850;
  cursor:pointer;
}
@media(max-width:1000px){
  .single-post .iz-article-layout{
    grid-template-columns:1fr!important;
    width:min(100% - 32px,900px)!important;
  }
}
@media(max-width:760px){
  .single-post .iz-article-layout,
  .single-post .iz-article-shell{
    width:min(100% - 24px,900px)!important;
  }
  .single-post .iz-article-thumb{
    aspect-ratio:16/9;
  }
  .iz-article-taxonomy{
    padding:0 16px 24px!important;
    gap:14px;
  }
  .iz-taxonomy-block h2{
    font-size:12px;
  }
  .iz-taxonomy-pills a{
    min-height:32px;
    font-size:12.5px;
    padding:8px 10px;
  }
  .iz-comments-wrap{
    padding:18px 16px;
    border-radius:20px;
  }
}


/* ============================================================
   V11: filter kategorija na arhivi + kategorije na karticama
   ============================================================ */
.iz-category-filter{
  width:min(100% - 56px,1360px);
  margin:-14px auto 26px;
}
.iz-category-filter-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:16px 18px;
  border:1px solid var(--border);
  border-radius:22px;
  background:rgba(255,255,255,.82);
  box-shadow:0 16px 45px rgba(16,24,40,.06);
  backdrop-filter:blur(14px);
}
html.dark .iz-category-filter-inner,
body.dark .iz-category-filter-inner{
  background:rgba(17,24,39,.82);
  box-shadow:none;
}
.iz-category-filter-copy{
  display:grid;
  gap:4px;
  color:var(--text);
}
.iz-category-filter-copy strong{
  font-size:16px;
  line-height:1.15;
  letter-spacing:-.02em;
}
.iz-category-filter-label{
  color:var(--blue);
  font-size:11px;
  line-height:1;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.iz-category-select{
  min-width:240px;
  max-width:100%;
  min-height:44px;
  padding:0 44px 0 14px;
  border:1px solid var(--border);
  border-radius:14px;
  background:var(--surface);
  color:var(--text);
  font:800 14px/1 var(--sans);
  cursor:pointer;
  outline:none;
  box-shadow:0 10px 28px rgba(16,24,40,.06);
}
.iz-category-select:focus{
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(37,99,235,.12);
}
.iz-post-card{
  display:flex;
  flex-direction:column;
}
.iz-post-card a{
  color:inherit;
}
.iz-post-thumb-link{
  display:block;
  text-decoration:none;
}
.iz-card-categories{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:14px 18px 0;
}
.iz-card-category{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:7px 10px;
  border:1px solid rgba(37,99,235,.18);
  border-radius:999px;
  background:rgba(37,99,235,.07);
  color:var(--blue)!important;
  text-decoration:none!important;
  font-size:11px;
  font-weight:900;
  line-height:1;
  letter-spacing:.045em;
  text-transform:uppercase;
  transition:transform .16s ease,background .16s ease,border-color .16s ease;
}
.iz-card-category:hover{
  transform:translateY(-1px);
  background:rgba(37,99,235,.13);
  border-color:rgba(37,99,235,.32);
}
.iz-post-body h2 a{
  text-decoration:none;
  color:var(--text);
}
.iz-post-body h2 a:hover{
  color:var(--blue);
}
.iz-read-more{
  display:inline-flex;
  width:max-content;
  text-decoration:none!important;
}
@media(max-width:760px){
  .iz-category-filter{
    width:min(100% - 24px,900px);
    margin:-8px auto 18px;
  }
  .iz-category-filter-inner{
    align-items:stretch;
    flex-direction:column;
    gap:12px;
    padding:14px;
    border-radius:18px;
  }
  .iz-category-select{
    width:100%;
    min-width:0;
  }
  .iz-card-categories{
    padding:12px 16px 0;
    gap:7px;
  }
  .iz-card-category{
    font-size:10.5px;
    min-height:27px;
  }
}

.iz-post-card a{display:inline-flex;flex-direction:initial;height:auto;}
.iz-post-thumb-link{display:block!important;}
.iz-post-body h2 a,.iz-read-more,.iz-card-category{display:inline-flex!important;}


/* ============================================================
   V14 sidebar kategorije - hijerarhija s bulletima
   ============================================================ */
.iz-sidebar-categories{
  margin-top:18px;
  padding:18px 14px 16px;
  border-top:1px solid var(--border);
}
.iz-sidebar-categories-head{
  margin:0 0 12px;
}
.iz-sidebar-categories-head h2{
  margin:3px 0 0!important;
  font-size:15px!important;
  line-height:1.2!important;
  font-weight:900!important;
  letter-spacing:-.02em!important;
  color:var(--text)!important;
}
.iz-sidebar-category-nav,
.iz-sidebar-category-list{
  width:100%;
}
.iz-sidebar-category-list,
.iz-sidebar-category-list ul.children{
  list-style:disc outside!important;
}
.iz-sidebar-category-list{
  margin:0!important;
  padding-left:19px!important;
}
.iz-sidebar-category-list ul.children{
  margin:6px 0 8px!important;
  padding-left:18px!important;
  list-style-type:circle!important;
}
.iz-sidebar-category-list li{
  display:list-item!important;
  list-style:inherit!important;
  margin:7px 0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#2563eb;
  font-size:12.5px;
  line-height:1.45;
  font-weight:750;
}
.iz-sidebar-category-list > li{
  color:#1d4ed8;
}
.iz-sidebar-category-list ul.children li{
  margin:5px 0!important;
  color:#3b4f76;
  font-size:12px;
  font-weight:650;
}
.iz-sidebar-category-list a{
  display:inline!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#1d4ed8!important;
  font:inherit!important;
  font-weight:850!important;
  line-height:inherit!important;
  text-decoration:none!important;
}
.iz-sidebar-category-list ul.children a{
  font-weight:750!important;
  color:#1e40af!important;
}
.iz-sidebar-category-list a:hover{
  color:#0f172a!important;
  text-decoration:underline!important;
  text-underline-offset:3px;
}
.iz-sidebar-category-list .current-cat > a,
.iz-sidebar-category-list .current-cat-parent > a{
  color:#0f172a!important;
  background:rgba(37,99,235,.08)!important;
  border-radius:999px!important;
  padding:2px 7px!important;
  margin-left:-7px!important;
}
.iz-sidebar-category-list .cat-item-none{
  list-style:none!important;
  color:var(--muted);
  font-size:12.5px;
}
html.dark .iz-sidebar-category-list li,
body.dark .iz-sidebar-category-list li{
  color:#93c5fd;
}
html.dark .iz-sidebar-category-list a,
body.dark .iz-sidebar-category-list a,
html.dark .iz-sidebar-category-list ul.children a,
body.dark .iz-sidebar-category-list ul.children a{
  color:#bfdbfe!important;
}
html.dark .iz-sidebar-category-list a:hover,
body.dark .iz-sidebar-category-list a:hover{
  color:#fff!important;
}

/* Ako korisnik dodatno doda WP Categories widget, neka izgleda isto kao ugrađeni blok. */
.iz-sidebar-widgets .widget_categories ul{
  list-style:disc outside!important;
  margin:0!important;
  padding-left:19px!important;
}
.iz-sidebar-widgets .widget_categories ul.children{
  list-style-type:circle!important;
  margin:6px 0 8px!important;
  padding-left:18px!important;
}
.iz-sidebar-widgets .widget_categories li{
  display:list-item!important;
  margin:7px 0!important;
  padding:0!important;
  color:#2563eb;
  font-size:12.5px;
  line-height:1.45;
  font-weight:750;
}
.iz-sidebar-widgets .widget_categories a{
  display:inline!important;
  color:#1d4ed8!important;
  font-weight:850!important;
  text-decoration:none!important;
}
.iz-sidebar-widgets .widget_categories a:hover{
  color:#0f172a!important;
  text-decoration:underline!important;
  text-underline-offset:3px;
}

@media(max-width:620px){
  .iz-sidebar-categories{
    padding:16px 12px 14px;
  }
  .iz-sidebar-category-list li{
    font-size:13.5px;
  }
  .iz-sidebar-category-list ul.children li{
    font-size:13px;
  }
}


/* ============================================================
   V15 sidebar kategorije + najnovije objave
   ============================================================ */
.iz-sidebar-categories,
.iz-sidebar-latest{
  margin-top:18px;
  padding:18px 14px 16px;
  border-top:1px solid var(--border);
}
.iz-sidebar-categories-head,
.iz-sidebar-latest-head{
  margin:0 0 10px;
}
.iz-sidebar-categories-head h2,
.iz-sidebar-latest-head h2{
  margin:3px 0 0!important;
  font-size:15px!important;
  line-height:1.18!important;
  font-weight:900!important;
  letter-spacing:-.02em!important;
  color:var(--text)!important;
}
.iz-sidebar-category-list,
.iz-sidebar-category-list ul.children{
  list-style:disc outside!important;
}
.iz-sidebar-category-list{
  margin:0!important;
  padding-left:18px!important;
}
.iz-sidebar-category-list ul.children{
  margin:2px 0 4px!important;
  padding-left:16px!important;
  list-style-type:circle!important;
}
.iz-sidebar-category-list li{
  display:list-item!important;
  list-style:inherit!important;
  margin:2px 0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#0f172a!important;
  font-size:12px!important;
  line-height:1.22!important;
  font-weight:650!important;
}
.iz-sidebar-category-list ul.children li{
  margin:1px 0!important;
  color:#0f172a!important;
  font-size:11.8px!important;
  line-height:1.2!important;
  font-weight:600!important;
}
.iz-sidebar-category-list a{
  display:inline!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#0f172a!important;
  font:inherit!important;
  font-weight:700!important;
  line-height:inherit!important;
  text-decoration:none!important;
}
.iz-sidebar-category-list ul.children a{
  color:#0f172a!important;
  font-weight:650!important;
}
.iz-sidebar-category-list a:hover{
  color:#2563eb!important;
  text-decoration:underline!important;
  text-underline-offset:3px;
}
.iz-sidebar-category-list .current-cat > a,
.iz-sidebar-category-list .current-cat-parent > a{
  color:#0f172a!important;
  background:rgba(37,99,235,.08)!important;
  border-radius:999px!important;
  padding:2px 7px!important;
  margin-left:-7px!important;
}

.iz-sidebar-latest-list{
  margin:0!important;
  padding:0!important;
  list-style:none!important;
  display:grid;
  gap:0;
}
.iz-sidebar-latest-list li{
  margin:0!important;
  padding:0!important;
  border-bottom:1px solid rgba(148,163,184,.20);
}
.iz-sidebar-latest-list li:last-child{
  border-bottom:0;
}
.iz-sidebar-latest-list a{
  position:relative;
  display:block!important;
  padding:8px 6px 8px 13px!important;
  border-radius:10px;
  color:#0f172a!important;
  font-size:12.5px!important;
  line-height:1.32!important;
  font-weight:550!important;
  text-decoration:none!important;
  background:transparent;
  border-left:3px solid rgba(37,99,235,.18);
  transition:background .18s ease,color .18s ease,transform .18s ease,border-color .18s ease;
}
.iz-sidebar-latest-list a::before{
  content:none!important;
  display:none!important;
}
.iz-sidebar-latest-list a:hover{
  background:rgba(37,99,235,.06);
  border-left-color:#2563eb;
  color:#1d4ed8!important;
  transform:translateX(2px);
}

html.dark .iz-sidebar-category-list li,
body.dark .iz-sidebar-category-list li,
html.dark .iz-sidebar-category-list a,
body.dark .iz-sidebar-category-list a,
html.dark .iz-sidebar-category-list ul.children a,
body.dark .iz-sidebar-category-list ul.children a,
html.dark .iz-sidebar-latest-list a,
body.dark .iz-sidebar-latest-list a{
  color:#e5e7eb!important;
}
html.dark .iz-sidebar-category-list a:hover,
body.dark .iz-sidebar-category-list a:hover,
html.dark .iz-sidebar-latest-list a:hover,
body.dark .iz-sidebar-latest-list a:hover{
  color:#93c5fd!important;
}

@media(max-width:620px){
  .iz-sidebar-categories,
  .iz-sidebar-latest{
    padding:16px 12px 14px;
  }
  .iz-sidebar-category-list li{
    font-size:12.8px!important;
    line-height:1.25!important;
  }
  .iz-sidebar-category-list ul.children li{
    font-size:12.5px!important;
  }
  .iz-sidebar-latest-list a{
    font-size:13px!important;
  }
}

/* ============================================================
   V17: kompaktniji tekst u člancima i preglednije tablice
   ============================================================ */
.single-post .iz-article-content{
  padding:clamp(22px,3.4vw,38px)!important;
  font-size:16px!important;
  line-height:1.68!important;
}
.single-post .iz-article-content p,
.single-post .iz-article-content li{
  font-size:16px!important;
  line-height:1.68!important;
}
.single-post .iz-article-content p{
  margin-top:0!important;
  margin-bottom:1.05em!important;
}
.single-post .iz-article-content ul,
.single-post .iz-article-content ol{
  margin-top:.65em!important;
  margin-bottom:1.05em!important;
}
.single-post .iz-article-content h2{
  font-size:clamp(20px,2.05vw,27px)!important;
  line-height:1.22!important;
  margin:1.45em 0 .55em!important;
}
.single-post .iz-article-content h3{
  font-size:clamp(18px,1.65vw,22px)!important;
  line-height:1.26!important;
  margin:1.35em 0 .5em!important;
}
.single-post .iz-article-content h4{
  font-size:clamp(16px,1.35vw,18px)!important;
  line-height:1.3!important;
}

/* Tablice: manje zumirano, manje paddinga, bolja čitljivost */
.single-post .iz-article-content .wp-block-table,
.single-post .iz-article-content .iz-table-scroll{
  margin:18px 0 22px!important;
  border-radius:14px!important;
}
.single-post .iz-article-content table,
.single-post .iz-article-content .wp-block-table table,
.single-post .iz-article-content .iz-table-scroll table{
  font-size:13.2px!important;
  line-height:1.35!important;
  min-width:560px!important;
}
.single-post .iz-article-content th,
.single-post .iz-article-content td,
.single-post .iz-article-content .wp-block-table th,
.single-post .iz-article-content .wp-block-table td,
.single-post .iz-article-content .iz-table-scroll th,
.single-post .iz-article-content .iz-table-scroll td{
  padding:8px 10px!important;
  font-size:13.2px!important;
  line-height:1.35!important;
  vertical-align:middle!important;
}
.single-post .iz-article-content th,
.single-post .iz-article-content .wp-block-table th,
.single-post .iz-article-content .iz-table-scroll th{
  font-weight:850!important;
}
.single-post .iz-article-content .wp-block-table td p,
.single-post .iz-article-content .wp-block-table th p,
.single-post .iz-article-content .iz-table-scroll td p,
.single-post .iz-article-content .iz-table-scroll th p{
  font-size:13.2px!important;
  line-height:1.35!important;
}

@media(max-width:760px){
  .single-post .iz-article-content{
    padding:18px 13px!important;
    font-size:15px!important;
    line-height:1.64!important;
  }
  .single-post .iz-article-content p,
  .single-post .iz-article-content li{
    font-size:15px!important;
    line-height:1.64!important;
  }
  .single-post .iz-article-content h2{
    font-size:20px!important;
    line-height:1.24!important;
  }
  .single-post .iz-article-content h3{
    font-size:18px!important;
    line-height:1.28!important;
  }
  .single-post .iz-article-content table,
  .single-post .iz-article-content .wp-block-table table,
  .single-post .iz-article-content .iz-table-scroll table{
    min-width:520px!important;
    font-size:12.5px!important;
  }
  .single-post .iz-article-content th,
  .single-post .iz-article-content td,
  .single-post .iz-article-content .wp-block-table th,
  .single-post .iz-article-content .wp-block-table td,
  .single-post .iz-article-content .iz-table-scroll th,
  .single-post .iz-article-content .iz-table-scroll td{
    padding:7px 8px!important;
    font-size:12.5px!important;
    line-height:1.32!important;
  }
  .single-post .iz-article-content .wp-block-table td p,
  .single-post .iz-article-content .wp-block-table th p,
  .single-post .iz-article-content .iz-table-scroll td p,
  .single-post .iz-article-content .iz-table-scroll th p{
    font-size:12.5px!important;
    line-height:1.32!important;
  }
}

@media(max-width:420px){
  .single-post .iz-article-content{
    padding:17px 12px!important;
    font-size:14.7px!important;
  }
  .single-post .iz-article-content p,
  .single-post .iz-article-content li{
    font-size:14.7px!important;
  }
  .single-post .iz-article-content table,
  .single-post .iz-article-content .wp-block-table table,
  .single-post .iz-article-content .iz-table-scroll table{
    min-width:500px!important;
  }
}


/* ============================================================
   V18: još kompaktniji članci, 3x3 arhiva, breadcrumbs i sticky header
   ============================================================ */
/* Header neka ostane zalijepljen na vrhu tijekom skrolanja */
.iz-site-header{
  position:sticky!important;
  top:0!important;
  z-index:10000!important;
}
body.admin-bar .iz-site-header{
  top:32px!important;
}
@media(max-width:782px){
  body.admin-bar .iz-site-header{top:46px!important;}
}

/* Navigacija članka ispod naslova, iznad featured slike */
.iz-article-breadcrumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  padding:14px clamp(20px,3.4vw,36px);
  border-bottom:1px solid var(--border);
  background:rgba(248,250,252,.72);
  color:var(--muted);
  font-size:12px;
  line-height:1.25;
  font-weight:760;
  letter-spacing:.02em;
}
.iz-article-breadcrumb a{
  color:#0f172a!important;
  text-decoration:none!important;
}
.iz-article-breadcrumb a:hover{
  color:var(--blue)!important;
  text-decoration:underline!important;
  text-underline-offset:3px;
}
.iz-article-breadcrumb span{
  color:var(--muted);
  opacity:.75;
}
html.dark .iz-article-breadcrumb,
body.dark .iz-article-breadcrumb{
  background:rgba(15,23,42,.54);
}
html.dark .iz-article-breadcrumb a,
body.dark .iz-article-breadcrumb a{
  color:#f8fafc!important;
}

/* Još malo manji tekst i manje 'zumirane' tablice */
.single-post .iz-article-content{
  padding:clamp(20px,3vw,34px)!important;
  font-size:15.4px!important;
  line-height:1.62!important;
}
.single-post .iz-article-content p,
.single-post .iz-article-content li{
  font-size:15.4px!important;
  line-height:1.62!important;
}
.single-post .iz-article-content p{
  margin-bottom:.95em!important;
}
.single-post .iz-article-content li + li{
  margin-top:.22em!important;
}
.single-post .iz-article-content h2{
  font-size:clamp(19px,1.85vw,25px)!important;
  line-height:1.22!important;
  margin:1.35em 0 .5em!important;
}
.single-post .iz-article-content h3{
  font-size:clamp(17px,1.45vw,20.5px)!important;
  line-height:1.25!important;
  margin:1.25em 0 .45em!important;
}
.single-post .iz-article-content h4{
  font-size:clamp(15.5px,1.2vw,17px)!important;
  line-height:1.28!important;
}
.single-post .iz-article-content .wp-block-table,
.single-post .iz-article-content .iz-table-scroll{
  margin:16px 0 20px!important;
}
.single-post .iz-article-content table,
.single-post .iz-article-content .wp-block-table table,
.single-post .iz-article-content .iz-table-scroll table{
  min-width:520px!important;
  font-size:12.4px!important;
  line-height:1.28!important;
}
.single-post .iz-article-content th,
.single-post .iz-article-content td,
.single-post .iz-article-content .wp-block-table th,
.single-post .iz-article-content .wp-block-table td,
.single-post .iz-article-content .iz-table-scroll th,
.single-post .iz-article-content .iz-table-scroll td{
  padding:6px 8px!important;
  font-size:12.4px!important;
  line-height:1.28!important;
}
.single-post .iz-article-content .wp-block-table td p,
.single-post .iz-article-content .wp-block-table th p,
.single-post .iz-article-content .iz-table-scroll td p,
.single-post .iz-article-content .iz-table-scroll th p{
  font-size:12.4px!important;
  line-height:1.28!important;
}

@media(max-width:760px){
  .iz-article-breadcrumb{
    padding:12px 14px;
    font-size:11.5px;
  }
  .single-post .iz-article-content{
    padding:17px 12px!important;
    font-size:14.5px!important;
    line-height:1.58!important;
  }
  .single-post .iz-article-content p,
  .single-post .iz-article-content li{
    font-size:14.5px!important;
    line-height:1.58!important;
  }
  .single-post .iz-article-content h2{
    font-size:19px!important;
    line-height:1.22!important;
  }
  .single-post .iz-article-content h3{
    font-size:17px!important;
    line-height:1.25!important;
  }
  .single-post .iz-article-content table,
  .single-post .iz-article-content .wp-block-table table,
  .single-post .iz-article-content .iz-table-scroll table{
    min-width:500px!important;
    font-size:12px!important;
  }
  .single-post .iz-article-content th,
  .single-post .iz-article-content td,
  .single-post .iz-article-content .wp-block-table th,
  .single-post .iz-article-content .wp-block-table td,
  .single-post .iz-article-content .iz-table-scroll th,
  .single-post .iz-article-content .iz-table-scroll td{
    padding:6px 7px!important;
    font-size:12px!important;
    line-height:1.25!important;
  }
}

@media(max-width:420px){
  .single-post .iz-article-content{
    padding:16px 11px!important;
    font-size:14.2px!important;
  }
  .single-post .iz-article-content p,
  .single-post .iz-article-content li{
    font-size:14.2px!important;
  }
  .single-post .iz-article-content table,
  .single-post .iz-article-content .wp-block-table table,
  .single-post .iz-article-content .iz-table-scroll table{
    min-width:480px!important;
  }
}


/* ============================================================
   V19: stabilan sticky/fixed header + uklonjena breadcrumb navigacija
   ============================================================ */
/* Header je fiksiran na sam vrh, bez praznine iznad njega. */
.iz-site-header{
  position:fixed!important;
  top:0!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  z-index:99999!important;
}
body.admin-bar .iz-site-header{
  top:0!important;
}

/* Budući da je header fixed, sadržaj dobiva gornji odmak da ne uđe ispod navigacije. */
.iz-main{
  padding-top:72px!important;
}

/* Na mobitelu je header nešto niži, ali ostaje zalijepljen gore. */
@media(max-width:860px){
  .iz-main{
    padding-top:66px!important;
  }
}

@media(max-width:620px){
  .iz-main{
    padding-top:64px!important;
  }
}

/* U slučaju da je negdje ostao stari breadcrumb element, sakrij ga. */
.single-post .iz-article-breadcrumb{
  display:none!important;
}


/* ============================================================
   V23 TABLET FIX - zasebna tema, ne prepisuje postojeću
   ============================================================ */
/* Header boja usklađena s pozadinom logo slike */
.iz-site-header{
  background:#fdfdfd!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  border-bottom:1px solid rgba(15,23,42,.07)!important;
  box-shadow:0 10px 28px rgba(15,23,42,.045)!important;
}
html.dark .iz-site-header,
body.dark .iz-site-header{
  background:#0f172a!important;
  border-bottom-color:rgba(255,255,255,.08)!important;
  box-shadow:0 12px 30px rgba(0,0,0,.28)!important;
}
.iz-site-nav{
  min-width:0!important;
}
.iz-main,
.iz-hero,
.iz-content-wrap,
.iz-article-layout,
.iz-article-shell,
.iz-article-card,
.iz-article-content,
.iz-post-grid,
.iz-post-card,
.iz-post-body,
.iz-calculator-sidebar{
  min-width:0!important;
}

/* Tableti često imaju 768-1180px, a prije su hvatali desktop layout. */
@media (min-width:761px) and (max-width:1240px){
  .iz-site-nav{
    width:min(100% - 28px, 1120px)!important;
  }
  .iz-main{
    padding-top:68px!important;
  }
  .iz-hero{
    padding:28px 0 28px!important;
  }
  .iz-hero-inner{
    width:min(100% - 32px, 920px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .single-post .iz-hero h1.iz-single-title,
  .single-post .iz-hero h1,
  .iz-page-title{
    font-size:clamp(26px, 4vw, 36px)!important;
    line-height:1.1!important;
    letter-spacing:-.045em!important;
    max-width:100%!important;
  }
  .home.blog .iz-home-title,
  .blog .iz-home-title{
    font-size:clamp(30px, 5vw, 48px)!important;
    line-height:1.05!important;
    max-width:100%!important;
  }
  .iz-hero p.iz-lead,
  .single-post .iz-hero p.iz-lead{
    font-size:15.2px!important;
    line-height:1.55!important;
    max-width:760px!important;
  }

  /* Članak na tabletu ide u jedan stupac; sidebar ide ispod, da ne sužava tekst. */
  .single-post .iz-article-layout,
  .iz-article-layout{
    display:grid!important;
    grid-template-columns:1fr!important;
    width:min(100% - 32px, 920px)!important;
    gap:18px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-bottom:38px!important;
  }
  .single-post .iz-article-layout .iz-article-shell,
  .single-post .iz-article-shell,
  .single-post .iz-article-card{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  .single-post .iz-article-content{
    padding:22px 20px!important;
    font-size:14.4px!important;
    line-height:1.56!important;
  }
  .single-post .iz-article-content p,
  .single-post .iz-article-content li,
  .single-post .iz-article-content blockquote,
  .single-post .iz-article-content figcaption{
    font-size:14.4px!important;
    line-height:1.56!important;
  }
  .single-post .iz-article-content p{
    margin-bottom:.9em!important;
  }
  .single-post .iz-article-content h2{
    font-size:20px!important;
    line-height:1.22!important;
    margin:1.2em 0 .45em!important;
  }
  .single-post .iz-article-content h3{
    font-size:17.2px!important;
    line-height:1.25!important;
    margin:1.1em 0 .4em!important;
  }
  .single-post .iz-article-content h4{
    font-size:15.5px!important;
    line-height:1.28!important;
  }
  .single-post .iz-article-content ul,
  .single-post .iz-article-content ol{
    padding-left:18px!important;
  }

  /* Tablice: manje, zbijenije i sigurni horizontalni scroll bez širenja stranice. */
  .single-post .iz-article-content .wp-block-table,
  .single-post .iz-article-content .iz-table-scroll{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
    margin:14px 0 18px!important;
  }
  .single-post .iz-article-content table,
  .single-post .iz-article-content .wp-block-table table,
  .single-post .iz-article-content .iz-table-scroll table{
    width:100%!important;
    min-width:520px!important;
    display:table!important;
    table-layout:auto!important;
    font-size:11.5px!important;
    line-height:1.22!important;
  }
  .single-post .iz-article-content th,
  .single-post .iz-article-content td,
  .single-post .iz-article-content .wp-block-table th,
  .single-post .iz-article-content .wp-block-table td,
  .single-post .iz-article-content .iz-table-scroll th,
  .single-post .iz-article-content .iz-table-scroll td{
    padding:5px 6px!important;
    font-size:11.5px!important;
    line-height:1.22!important;
    white-space:normal!important;
  }

  .iz-calculator-sidebar{
    position:relative!important;
    top:auto!important;
    width:100%!important;
    max-width:100%!important;
    margin-top:0!important;
  }

  /* Lista vijesti na tabletu - 2 stupca, ne desktop 3 ako nema mjesta. */
  .iz-content-wrap{
    width:min(100% - 32px, 1040px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .iz-post-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr))!important;
    gap:18px!important;
  }
  .iz-post-body{
    padding:16px!important;
  }
  .iz-post-card h2{
    font-size:18px!important;
    line-height:1.22!important;
  }
  .iz-post-card p{
    font-size:13.6px!important;
    line-height:1.5!important;
  }
}

/* Uži tableti / veliki mobiteli: sve ide u jedan stupac i još kompaktnije. */
@media (max-width:900px){
  .iz-post-grid{
    grid-template-columns:1fr!important;
  }
  .single-post .iz-article-layout,
  .iz-article-layout,
  .iz-content-wrap,
  .iz-hero-inner{
    width:calc(100% - 24px)!important;
  }
  .single-post .iz-article-content{
    padding:18px 14px!important;
    font-size:14.1px!important;
    line-height:1.55!important;
  }
  .single-post .iz-article-content p,
  .single-post .iz-article-content li{
    font-size:14.1px!important;
    line-height:1.55!important;
  }
  .single-post .iz-article-content table,
  .single-post .iz-article-content .wp-block-table table,
  .single-post .iz-article-content .iz-table-scroll table{
    min-width:500px!important;
    font-size:11.2px!important;
  }
  .single-post .iz-article-content th,
  .single-post .iz-article-content td{
    padding:5px 6px!important;
    font-size:11.2px!important;
  }
}
