﻿/*
Theme Name: Combo Child
Theme URI: https://combo-it.rs
Description: Child theme za Hello Elementor
Author: Combo IT
Template: hello-elementor
Version: 1.0.0
*/

/* =============================================
   CSS VARIJABLE
   ============================================= */

:root {
  --combo-blue:        #2563EB;
  --combo-blue-dark:   #1D4ED8;
  --combo-dark:        #0F172A;
  --combo-dark-2:      #1E293B;
  --combo-text:        #475569;
  --combo-text-light:  #64748B;
  --combo-border:      #E2E8F0;
  --combo-white:       #FFFFFF;
  --combo-font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* =============================================
   GLOBALNI FONT I BOJE
   ============================================= */

body,
h1, h2, h3, h4, h5, h6,
p, a, span, div, button, input, textarea, select,
.elementor-widget-container {
  font-family: var(--combo-font);
}

/* =============================================
   HEADINZI — LETTER SPACING
   ============================================= */

.elementor-widget-heading .elementor-heading-title {
  letter-spacing: -0.02em;
}

/* =============================================
   HERO SLIDER — PAGINATION BULIĆI
   ============================================= */

/* Kontejner buletića — poravnan sa boxed contentom */
.elementor-element-d5deb9e .swiper-pagination {
  left:         0 !important;
  right:        0 !important;
  width:        100% !important;
  max-width:    1140px !important;
  margin:       0 auto !important;
  padding-left: 20px !important;
  padding-bottom: 14px !important;
  box-sizing:   border-box !important;
  text-align:   left !important;
}

/* Neaktivan bulet */
.elementor-element-d5deb9e .swiper-pagination-bullet {
  width:        7px;
  height:       7px;
  border-radius: 50%;
  background:   rgba(255, 255, 255, 0.3);
  opacity:      1;
  transition:   all 0.25s;
  margin:       0 4px;
}

/* Aktivan bulet — bar */
.elementor-element-d5deb9e .swiper-pagination-bullet-active {
  width:        22px;
  border-radius: 4px;
  background:   #378ADD;
}

/* =============================================
   SLIDE COUNTER  (JS ga kreira, CSS ga stilizuje)
   ============================================= */

#combo-slide-counter {
  position:       absolute;
  bottom:         14px;
  right:          max(16px, calc((100% - 1140px) / 2 + 60px));
  color:          rgba(255, 255, 255, 0.55);
  font-size:      13px;
  font-family:    var(--combo-font);
  font-weight:    500;
  letter-spacing: 1px;
  z-index:        20;
  pointer-events: none;
  line-height:    1;
}

#combo-slide-counter .csc-sep {
  margin:  0 4px;
  opacity: 0.4;
}

/* =============================================
   SERVISNE KARTICE — HOVER
   ============================================= */

.elementor-element-e3a3a8e,
.elementor-element-3f7864a,
.elementor-element-19b99f7,
.elementor-element-a7804f9,
.elementor-element-cfbc41d,
.elementor-element-67d22c3,
.elementor-element-446b60a {
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.elementor-element-e3a3a8e:hover,
.elementor-element-3f7864a:hover,
.elementor-element-19b99f7:hover,
.elementor-element-a7804f9:hover,
.elementor-element-cfbc41d:hover,
.elementor-element-67d22c3:hover,
.elementor-element-446b60a:hover {
  box-shadow:    0 4px 20px rgba(0, 0, 0, 0.08) !important;
  transform:     translateY(-2px);
  border-color:  #CBD5E1 !important;
}

/* =============================================
   TABS — AKTIVNA BOJA I FONT
   ============================================= */

.elementor-widget-tabs .elementor-tab-title {
  font-weight: 600 !important;
  font-size:   15px !important;
}

.elementor-widget-tabs .elementor-tab-title.elementor-active {
  color:              var(--combo-blue) !important;
  border-bottom-color: var(--combo-blue) !important;
}

/* =============================================
   BRAND CARDS — PARTNERI I PROIZVOĐAČI
   ============================================= */

.brand-header {
  padding:         14px 18px;
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  border-bottom:   1px solid #eaeae8;
}

.brand-logo {
  font-size:   14px;
  font-weight: 600;
  display:     flex;
  align-items: center;
  gap:         8px;
  line-height: 1;
}

.brand-logo span {
  font-size:   14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.brand-badge {
  font-size:     12px;
  font-weight:   600;
  padding:       3px 8px;
  border-radius: 10px;
  white-space:   nowrap;
}

.brand-products {
  padding:     14px 18px;
  display:     flex;
  flex-wrap:   wrap;
  gap:         7px;
  background:  #fff;
}

.brand-product {
  font-size:     12px;
  padding:       4px 10px;
  border:        1px solid #eaeae8;
  border-radius: 6px;
  color:         #555;
  background:    #f7f7f5;
  display:       inline-block;
}

/* =============================================
   IZ PRAKSE — 3 slajdera
   =============================================
   NAPOMENA: Elementor generiše native CSS (boje, font-size, borderi) inline
   u <style id="loop-244/254/249"> tagovima. style.css popravlja samo što
   native CSS ne može: badge pill i avatar krug (renduju se bez unutrašnjih
   divova pa selektori u Elementor custom CSS ne matchuju ništa).
   ============================================= */

/* ── Jednake visine ── */
.elementor-element-10ae396.e-con {
  align-items: stretch !important;
}
.elementor-element-10ae396 > .elementor-widget-loop-carousel {
  height: auto !important;
}

/* ── Swiper: Elementor smanjuje na calc(100% - 60px) za outside strelice — vrati na 100% ── */
.elementor-element-652b08a .swiper,
.elementor-element-297c149 .swiper,
.elementor-element-f8a648b .swiper {
  width: 100% !important;
}

/* ── Card: bottom padding da footer ne bude ispod nav bara (22px + 46px nav) ── */
.elementor-element-652b08a .e-loop-item > .e-con,
.elementor-element-297c149 .e-loop-item > .e-con,
.elementor-element-f8a648b .e-loop-item > .e-con {
  --padding-bottom: 68px !important;
}

/* ── BADGE PILL — Case Study
   Boja dolazi iz functions.php (per-post CSS).
   Ovde samo strukturalni stilovi. ── */
.elementor-element-8b7426a {
  align-self: flex-start !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  border-width: 1px !important;
  border-style: solid !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
  line-height: 1.5 !important;
}

/* ── BADGE PILL — Blog (narandžasta) — isti DOM pattern ── */
.elementor-element-37785f1 {
  align-self: flex-start !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #F59E0B !important;
  border: 1px solid rgba(245,158,11,0.45) !important;
  background: rgba(245,158,11,0.12) !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
  line-height: 1.5 !important;
}

/* ── AVATAR krug — Testimonial
   Rendered HTML: <div class="elementor-element-3afb846">MP</div>
   .elementor-widget-container ne postoji — ciljamo element direktno ── */
.elementor-element-3afb846 {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  border-radius: 50% !important;
  background: #1E40AF !important;
  flex-shrink: 0 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #fff !important;
  line-height: 1 !important;
}

/* ── TESTIMONIAL CITAT — boja (nema Elementor native CSS za e4d581d) ── */
.elementor-element-e4d581d {
  color: rgba(255,255,255,0.85) !important;
  font-style: italic !important;
}

/* ── NAV BAR: pagination strip ── */
.elementor-element-652b08a .swiper-pagination,
.elementor-element-297c149 .swiper-pagination,
.elementor-element-f8a648b .swiper-pagination {
  position: absolute !important;
  top: auto !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 46px !important;
  padding: 0 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 5px !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  background: rgba(255,255,255,0.03) !important;
  transform: none !important;
  text-align: left !important;
  box-sizing: border-box !important;
  pointer-events: none !important;
}

/* ── NAV BAR: neaktivan dot ── */
.elementor-element-652b08a .swiper-pagination-bullet,
.elementor-element-297c149 .swiper-pagination-bullet,
.elementor-element-f8a648b .swiper-pagination-bullet {
  background: rgba(255,255,255,0.18) !important;
  opacity: 1 !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* ── NAV BAR: aktivan dot ── */
.elementor-element-652b08a .swiper-pagination-bullet-active,
.elementor-element-297c149 .swiper-pagination-bullet-active,
.elementor-element-f8a648b .swiper-pagination-bullet-active {
  background: #378ADD !important;
  width: 18px !important;
  border-radius: 3px !important;
}

/* ── NAV BAR: strelice iznad paginacije ── */
.elementor-element-652b08a .elementor-swiper-button,
.elementor-element-297c149 .elementor-swiper-button,
.elementor-element-f8a648b .elementor-swiper-button {
  z-index: 2 !important;
}

/* ── Min-visina kartica ── */
.elementor-element-b671fab.e-con,
.elementor-element-01d1be1.e-con,
.elementor-element-9a417f5.e-con {
  min-height: 220px !important;
}

/* ── Case study: sakrij excerpt (referenca nema opis, samo naslov) ── */
.elementor-element-7ae73e3 {
  display: none !important;
}

/* ── Case study naslov: levo, puna širina, bolovan ── */
.elementor-element-4bf60b0 {
  width: 100% !important;
  align-self: flex-start !important;
}
.elementor-element-4bf60b0 .elementor-heading-title {
  text-align: left !important;
  font-weight: 600 !important;
}

/* ── KPI kolone: override --row-gap (Elementor koristi var(--row-gap) var(--column-gap)) ── */
.elementor-element-53d40ac.e-con,
.elementor-element-9306541.e-con,
.elementor-element-1aea7ef.e-con {
  --row-gap: 2px !important;
  --widgets-spacing-row: 2px !important;
}

/* ── Testimonial ime/pozicija: override --row-gap ── */
.elementor-element-732171b.e-con {
  --row-gap: 2px !important;
  --widgets-spacing-row: 2px !important;
}

/* ── KPI brojevi — smanji font (Elementor ima 20px) ── */
.elementor-element-f67cf47,
.elementor-element-7b5acd9,
.elementor-element-d4de6f9 {
  font-size: 17px !important;
}

/* ── Blog badge link boja (<a> tag nasledjuje temu) ── */
.elementor-element-37785f1 a {
  color: #F59E0B !important;
  text-decoration: none !important;
}

/* ── Counter "X / Y" — injectuje combo.js ── */
.elementor-element-652b08a .combo-loop-counter,
.elementor-element-297c149 .combo-loop-counter,
.elementor-element-f8a648b .combo-loop-counter {
  position: absolute !important;
  bottom: 0 !important;
  right: 90px !important;
  height: 46px !important;
  display: flex !important;
  align-items: center !important;
  color: rgba(255,255,255,0.28) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: 0.3px !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

/* =============================================
   RESPONSIVE — TABLET  (max 1024px)
   ============================================= */

@media (max-width: 1024px) {

  /* Sekcije — horizontalni padding */
  .elementor-element-2e83b33,
  .elementor-element-962c501,
  .elementor-element-c9c148d,
  .elementor-element-d84cce0,
  .elementor-element-cf5d36b,
  .elementor-element-4850389 {
    padding-left:  32px !important;
    padding-right: 32px !important;
  }

  /* Hero slides — padding */
  .elementor-element-d5deb9e .elementor-slide-description > div {
    padding: 40px 32px !important;
    gap:     32px !important;
  }

  /* Tabs grid — 2 kolone */
  .elementor-element-2853068 .elementor-tab-content
  div[style*="grid-template-columns:1fr 1fr 1fr"] {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* =============================================
   RESPONSIVE — MOBILE  (max 767px)
   ============================================= */

@media (max-width: 767px) {

  /* Sekcije — padding */
  .elementor-element-2e83b33,
  .elementor-element-962c501,
  .elementor-element-c9c148d,
  .elementor-element-d84cce0,
  .elementor-element-cf5d36b,
  .elementor-element-4850389 {
    padding: 48px 16px !important;
  }

  /* Hero — stack na mobilnom */
  .elementor-element-d5deb9e .elementor-slide-description > div {
    flex-direction: column !important;
    padding:        40px 20px 60px !important;
    gap:            28px !important;
  }

  .elementor-element-d5deb9e .elementor-slide-description > div > div:last-child {
    min-width:             100% !important;
    width:                 100% !important;
    grid-template-columns: 1fr 1fr !important;
  }

  .elementor-element-d5deb9e .elementor-slide-description h1 {
    font-size:   28px !important;
    line-height: 1.2 !important;
  }

  .elementor-element-d5deb9e .elementor-slide-description p {
    font-size: 15px !important;
  }

  .elementor-element-d5deb9e .elementor-slide-description a[href] {
    font-size: 14px !important;
    padding:   12px 18px !important;
  }

  /* Section headinzi */
  .elementor-element-f34e7bf .elementor-heading-title,
  .elementor-element-6618476 .elementor-heading-title,
  .elementor-element-5727e5b .elementor-heading-title,
  .elementor-element-8767562 .elementor-heading-title,
  .elementor-element-8b3f07f .elementor-heading-title {
    font-size:   26px !important;
    line-height: 1.25 !important;
  }

  /* Tabs — 1 kolona */
  .elementor-element-2853068 .elementor-tab-content > div[style*="display:flex"] {
    flex-direction: column !important;
    padding:        20px 16px !important;
    gap:            20px !important;
  }

  .elementor-element-2853068 .elementor-tab-content
  div[style*="grid-template-columns:1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .elementor-element-2853068 .elementor-tab-content div[style*="min-width:160px"] {
    min-width:      100% !important;
    flex-direction: row !important;
    flex-wrap:      wrap !important;
  }

  .elementor-element-2853068 .elementor-tab-content
  div[style*="justify-content:space-between"] {
    flex-direction: column !important;
    align-items:    flex-start !important;
  }

  /* 3 slajdera — stack na mobilnom */
  .elementor-element-10ae396 {
    flex-direction: column !important;
  }

  /* ISO — row u kolonu na mobilnom */
  .elementor-element-92723c5.e-con {
    flex-direction: column !important;
    gap:            32px !important;
  }
  .elementor-element-1b24656,
  .elementor-element-0b7cff2 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }

  /* CTA — row u kolonu */
  .elementor-element-c8dbcb0 {
    flex-direction: column !important;
    gap:            24px !important;
  }

  .elementor-element-8b41d2b {
    flex-direction: row !important;
    flex-wrap:      wrap !important;
  }
}

/* =============================================
   ISO 27001 SEKCIJA — layout & boje
   ============================================= */

/* Row: leva raste (1fr), desna auto — kao referenca grid 1fr auto */
.elementor-element-92723c5.e-con {
  gap: 40px !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}

/* Leva kolona: raste da popuni prostor */
.elementor-element-1b24656 {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  gap: 16px !important;
}

/* Desna kolona (kartica): auto širina — shrinks to content */
.elementor-element-0b7cff2 {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 180px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
}

/* CTA dugme — zauzima auto-širinu (ne stretch) */
.elementor-element-c266732 {
  align-self: flex-start !important;
}

/* Badge red — puna širina leve kolone, flex-wrap */
.elementor-element-84079b0,
.elementor-element-84079b0.e-con,
.elementor-element-84079b0 > .e-con-inner {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  gap: 8px !important;
}

/* Svaki badge container — auto širina */
.elementor-element-19af160,
.elementor-element-c3ab626,
.elementor-element-1501216,
.elementor-element-ff53e98 {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
}

/* Check badge dugmici — referenca: #e1f5ee bg, #bbf7d0 border, 7px radius */
.elementor-element-a1fc182 .elementor-button,
.elementor-element-65f351a .elementor-button,
.elementor-element-21c3c44 .elementor-button,
.elementor-element-12c1795 .elementor-button {
  color: #085041 !important;
  background-color: #e1f5ee !important;
  border: 1px solid #bbf7d0 !important;
  border-radius: 7px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 9px 16px !important;
  white-space: nowrap !important;
}

/* "Sertifikacija u toku" — zelena pozadina kao na referenci */
.elementor-element-e117092 .elementor-button {
  color: #085041 !important;
  background-color: #e1f5ee !important;
  border: 1px solid #bbf7d0 !important;
  border-radius: 20px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 4px 12px !important;
}

/* 27001 heading — centrirano */
.elementor-element-8037b7d .elementor-heading-title {
  text-align: center !important;
}

/* =============================================
   CTA SEKCIJA
   ============================================= */

/* "Zakažite poziv" — bijelo dugme, tamni tekst */
.elementor-element-bfede37 .elementor-button {
  background-color: #ffffff !important;
  color: #0d1a2e !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 13px 28px !important;
}

/* "office@combo.rs" — outline, poluprovidni border */
.elementor-element-870133d .elementor-button {
  background-color: transparent !important;
  color: rgba(255,255,255,0.75) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  padding: 13px 28px !important;
}

/* Dugmad u redu jedan pored drugog */
.elementor-element-8b41d2b {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
  flex-shrink: 0 !important;
}

/* =============================================
   CTA DUGMAD — desno poravnanje (home + o-nama)
   ============================================= */

/* Home page CTA buttons — desno */
.elementor-element-8b41d2b {
  justify-content: flex-end !important;
}

/* =============================================
   O NAMA stranica — jednake visine kartica
   DOM struktura (iz curla): e-con-boxed > .e-con-inner > .elementor-widget-html > div
   .elementor-widget-container NE POSTOJI kod HTML widgeta!
   ============================================= */

/* ── Founder kartice: .e-con-inner je flex row ── */
.elementor-element-8cd2e8e > .e-con-inner {
  align-items: stretch !important;
}
.elementor-element-8cd2e8e > .e-con-inner > .elementor-widget-html {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}
.elementor-element-8cd2e8e > .e-con-inner > .elementor-widget-html > div {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

/* ── IT Tim grid: .e-con-inner je CSS grid, row stretching je auto ── */
.elementor-element-e101bcd > .e-con-inner {
  align-items: stretch !important;
}
.elementor-element-e101bcd > .e-con-inner > .elementor-widget-html {
  display: flex !important;
  flex-direction: column !important;
}
.elementor-element-e101bcd > .e-con-inner > .elementor-widget-html > div {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

/* ── Naš pristup grid: isti pattern ── */
.elementor-element-0d4dd32 > .e-con-inner {
  align-items: stretch !important;
}
.elementor-element-0d4dd32 > .e-con-inner > .elementor-widget-html {
  display: flex !important;
  flex-direction: column !important;
}
.elementor-element-0d4dd32 > .e-con-inner > .elementor-widget-html > div {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

/* =============================================
   CASE STUDIES STRANICA — template 608 (loop-item)
   ============================================= */

/* Hero stat boxovi (desna kolona) */
/* Fiksiramo širinu desne kolone da su sva 3 box-a iste širine */
.elementor-element-19231ac {
  flex: 0 0 260px;
}

.combo-hero-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 10px 16px;
  text-align: right;
  width: 100%;
}
.combo-hero-stat__num {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  font-family: var(--combo-font);
}
.combo-hero-stat__lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 3px;
  font-family: var(--combo-font);
}

/* Category badge pill — post-terms renderuje <a> direktno u widget div */
.combo-badge-cat {
  display: inline-flex !important;
  align-items: center !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border: 1px solid rgba(37,99,235,0.35) !important;
  background: rgba(37,99,235,0.08) !important;
  color: #2563EB !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
.combo-badge-cat a {
  color: inherit !important;
  text-decoration: none !important;
}

/* Gray badge pills — tekst direktno u widget div */
.combo-badge-tag,
.combo-badge-industry {
  display: inline-flex !important;
  align-items: center !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  border: 1px solid #CBD5E1 !important;
  background: #F1F5F9 !important;
  color: #64748B !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

/* Card badge row — manji razmak između badgeva */
.elementor-element-1bfa1ae {
  gap: 4px !important;
}

/* Filter bar */
.combo-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 14px 0;
}

.combo-filter-sep {
  display: none;
}

.combo-filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border: none;
  border-radius: 20px;
  background: transparent;
  color: #64748B;
  font-family: var(--combo-font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  line-height: 1;
}

.combo-filter-btn:hover {
  color: #2563EB;
  background: #F1F5F9 !important;
}
.combo-filter-cat:not(.active):hover {
  background: rgba(var(--cc), 0.22) !important;
  color: #0F172A;
}
.combo-filter-all.active:hover {
  background: #2563EB !important;
  color: #ffffff;
}

.combo-filter-all.active {
  background: #2563EB;
  color: #ffffff;
  font-weight: 600;
}

/* Colored category filter buttons — --cc: R,G,B values */
.combo-filter-cat {
  background: rgba(var(--cc), 0.12);
  border: 1px solid rgba(var(--cc), 0.4);
  border-radius: 20px;
  color: #1E293B;
}
.combo-filter-cat:hover {
  background: rgba(var(--cc), 0.22);
  color: #0F172A;
}
.combo-filter-cat.active {
  background: rgba(var(--cc), 0.3);
  border-color: rgba(var(--cc), 0.7);
  color: #0F172A;
  font-weight: 700;
}

/* Loop grid hidden items */
.elementor-element-866e934 .e-loop-item.combo-hidden {
  display: none;
}

/* =============================================
   HEADER — elementor-450 (header new)
   ============================================= */

/* Hello Elementor default header — sakriven, Elementor Theme Builder preuzima */
.site-header { display: none !important; }

/* =============================================
   FOOTER — elementor-455 (footer new)
   ============================================= */

/* Tablet (max 1024px): 4 kolone → 2 kolone (po 50%) */
@media (max-width: 1024px) {
  .elementor-element-74c0d21 > .e-con-inner > .e-con,
  .elementor-element-74c0d21 > .e-con > .e-con {
    width: calc(50% - 10px) !important;
    flex-basis: calc(50% - 10px) !important;
    flex-shrink: 0 !important;
  }
  .elementor-element-81ae884 {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
  /* Header: sakrij CTA dugmad na tabletu (hamburger meni je aktivan) */
  .elementor-element-d45b377 {
    display: none !important;
  }
}

/* Mobile (max 767px): 1 kolona */
@media (max-width: 767px) {
  .elementor-element-74c0d21 > .e-con-inner > .e-con,
  .elementor-element-74c0d21 > .e-con > .e-con {
    width: 100% !important;
    flex-basis: 100% !important;
  }
  .elementor-element-81ae884 {
    padding: 40px 16px !important;
  }
  /* Bottom bar: stack copyright i badges */
  .elementor-element-285eb12 > .e-con-inner,
  .elementor-element-285eb12 > .e-con {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  /* Header: sakrij CTA dugmad */
  .elementor-element-d45b377 {
    display: none !important;
  }
}



/* =============================================
   BLOG — PAGE TITLE HIDE (WordPress default)
   ============================================= */
.page-id-803 .entry-title,
.page-id-803 .page-header,
.page-id-803 .elementor-page-title { display: none !important; }

/* =============================================
   BLOG HOME CAROUSEL — kategorija badge pill
   Template 254, klasa combo-blog-cat, heading widget
   Styled za dark carousel pozadinu
   ============================================= */
.combo-blog-cat .elementor-heading-title {
  display: inline-flex !important;
  align-items: center !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(96,165,250,0.40) !important;
  background: rgba(96,165,250,0.15) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  color: #60A5FA !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  width: fit-content !important;
}
.combo-blog-cat .elementor-heading-title a { color: inherit !important; text-decoration: none !important; }

/* =============================================
   BLOG ARHIVA — CARD (loop template 911, klase: cbac-*)
   Samo ovdje, nema dijeljenih klasa sa home carousel-om
   ============================================= */

.cbac-card {
  position: relative !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease !important;
  border-top: 6px solid #94A3B8 !important;
  text-align: left !important;
}
.cbac-card * { text-align: left !important; }
.cbac-card:hover {
  box-shadow: 0 6px 20px rgba(15,23,42,0.08) !important;
  transform: translateY(-2px) !important;
}

/* Cela kartica klikabilna — overlay na naslov link */
.cbac-title .elementor-heading-title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* Interaktivni elementi iznad overlay-a */
.cbac-cat,
.cbac-tags,
.cbac-readmore,
.cbac-date {
  position: relative;
  z-index: 2;
}

/* Kategorija badge pill */
.cbac-cat .elementor-heading-title {
  display: inline-flex !important;
  align-items: center !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(37,99,235,0.30) !important;
  background: rgba(37,99,235,0.08) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  color: #2563EB !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  width: fit-content !important;
  max-width: fit-content !important;
}
.cbac-cat .elementor-heading-title a { color: inherit !important; text-decoration: none !important; }

/* Naslov */
.cbac-title .elementor-heading-title a { color: inherit !important; text-decoration: none !important; }
.cbac-card:hover .cbac-title .elementor-heading-title { color: #2563EB !important; }

/* Excerpt */
.cbac-excerpt .elementor-heading-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Tagovi */
.cbac-tags .elementor-heading-title a { color: #64748B !important; text-decoration: none !important; }
.cbac-tags .elementor-heading-title a:hover { color: #2563EB !important; }

/* Datum */
.cbac-date .elementor-heading-title { color: #94A3B8 !important; }

/* Čitajte — plava boja */
.cbac-readmore .elementor-heading-title { white-space: nowrap !important; color: #2563EB !important; }
.cbac-readmore .elementor-heading-title a { color: #2563EB !important; text-decoration: none !important; }
.cbac-readmore .elementor-heading-title a:hover { color: #1D4ED8 !important; }

/* Razmak između kartica */
.combo-blog-main .e-loop-item { margin-bottom: 12px !important; }

/* ── Citajte link */
.page-id-803 .combo-blog-readmore .elementor-heading-title,
.page-id-803 .elementor-element-e31ae77 .elementor-heading-title {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #2563EB !important;
  white-space: nowrap !important;
}
.page-id-803 .combo-blog-readmore .elementor-heading-title a,
.page-id-803 .elementor-element-e31ae77 .elementor-heading-title a { color: inherit !important; text-decoration: none !important; }
.page-id-803 .combo-blog-readmore .elementor-heading-title a:hover,
.page-id-803 .elementor-element-e31ae77 .elementor-heading-title a:hover { color: #1D4ED8 !important; }

/* Razmak medu karticama */
.page-id-803 .combo-blog-main .e-loop-item { margin-bottom: 12px !important; }

/* =============================================
   BLOG — HERO FILTER
   ============================================= */
.combo-blog-hero-filter {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px;
}
.combo-blog-hero-btn {
  display: inline-flex !important; align-items: center !important;
  padding: 7px 16px !important; border-radius: 20px !important;
  border: 1px solid rgba(255,255,255,0.20) !important;
  background: rgba(255,255,255,0.06) !important;
  color: #CBD5E1 !important; font-family: var(--combo-font) !important;
  font-size: 13px !important; font-weight: 500 !important;
  cursor: pointer !important; transition: all 0.15s ease !important;
  white-space: nowrap !important; outline: none !important;
  box-shadow: none !important; appearance: none !important;
  -webkit-appearance: none !important;
}
.combo-blog-hero-btn:hover,
.combo-blog-hero-btn:focus { background: rgba(255,255,255,0.12) !important; color: #fff !important; border-color: rgba(255,255,255,0.35) !important; box-shadow: none !important; outline: none !important; }
.combo-blog-hero-btn.active,
.combo-blog-hero-btn.active:hover,
.combo-blog-hero-btn.active:focus { background: #2563EB !important; border-color: #2563EB !important; color: #fff !important; font-weight: 600 !important; }

/* =============================================
   BLOG — SIDEBAR
   ============================================= */
.combo-blog-sidebar { position: sticky !important; top: 24px !important; }

.combo-blog-filter { display: flex; flex-direction: column; gap: 2px; }
.combo-blog-filter-btn {
  display: flex !important; align-items: center !important; gap: 8px !important;
  width: 100% !important; padding: 8px 10px !important;
  background: transparent !important; border: none !important; border-radius: 8px !important;
  font-family: var(--combo-font) !important; font-size: 13px !important; font-weight: 500 !important;
  color: #475569 !important; cursor: pointer !important; text-align: left !important;
  transition: all 0.15s !important; outline: none !important;
  box-shadow: none !important; appearance: none !important; -webkit-appearance: none !important;
}
.combo-blog-filter-btn:hover,
.combo-blog-filter-btn:focus { background: #F1F5F9 !important; color: #1E293B !important; font-weight: 600 !important; box-shadow: none !important; outline: none !important; }
.combo-blog-filter-btn.active,
.combo-blog-filter-btn.active:hover,
.combo-blog-filter-btn.active:focus { background: #F1F5F9 !important; color: #1E293B !important; font-weight: 600 !important; }
.combo-blog-filter-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--dot-color, #94A3B8); flex-shrink: 0; }
.combo-blog-filter-count { margin-left: auto; font-size: 12px; font-weight: 500; color: #94A3B8; }
.combo-blog-filter-btn.active .combo-blog-filter-count,
.combo-blog-filter-btn:hover .combo-blog-filter-count { color: #475569; }

.combo-blog-popular-list { list-style: none; margin: 0; padding: 0; }
.combo-blog-popular-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid #F1F5F9; }
.combo-blog-popular-item:last-child { border-bottom: none; padding-bottom: 0; }
.combo-blog-popular-item:first-child { padding-top: 0; }
.combo-blog-popular-num { font-size: 13px; font-weight: 700; color: #CBD5E1; min-width: 22px; flex-shrink: 0; line-height: 1.5; }
.combo-blog-popular-link { text-decoration: none !important; }
.combo-blog-popular-title { font-size: 13px; font-weight: 500; color: #1E293B; line-height: 1.4; transition: color 0.15s; display: block; }
.combo-blog-popular-link:hover .combo-blog-popular-title { color: #2563EB; }

.combo-blog-cta-box .elementor-button { width: 100%; justify-content: center; }

.combo-blog-keywords { display: flex; flex-wrap: wrap; gap: 6px; }
.combo-blog-keyword {
  display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 20px;
  border: 1px solid #E2E8F0; background: #F8FAFC; color: #475569;
  font-size: 12px; font-weight: 500; text-decoration: none !important; transition: all 0.15s;
}
.combo-blog-keyword:hover { border-color: rgba(37,99,235,0.30); color: #2563EB; background: rgba(37,99,235,0.05); }

.combo-blog-hidden { display: none !important; }

/* =============================================
   BLOG SINGLE — cssp-* klase (template cbsp)
   ============================================= */

/* Hero sekcija */
.cbsp-hero {
  background: #0F172A;
  padding: 64px 0 48px;
}

/* Kategorija badge */
.cbsp-cat .elementor-heading-title {
  display: inline-flex !important;
  align-items: center !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  width: fit-content !important;
}
.cbsp-cat .elementor-heading-title a { color: inherit !important; text-decoration: none !important; }

/* Naslov na tamnoj pozadini */
.cbsp-title .elementor-heading-title {
  color: #ffffff !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
}

/* Meta row: datum, vreme čitanja */
.cbsp-meta .elementor-heading-title {
  color: rgba(255,255,255,0.45) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

/* Featured image wrapper */
.cbsp-featured-img {
  border-radius: 12px;
  overflow: hidden;
}
.cbsp-featured-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Content area */
.elementor-element-bsco01 {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 0 64px;
}
.elementor-element-bsco01 .elementor-widget-theme-post-content {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
  color: #475569 !important;
}
.elementor-element-bsco01 .elementor-widget-theme-post-content h2 {
  font-family: 'Inter', sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #1E293B !important;
  margin: 40px 0 14px !important;
  letter-spacing: -0.02em !important;
  line-height: 1.3 !important;
}
.elementor-element-bsco01 .elementor-widget-theme-post-content h3 {
  font-family: 'Inter', sans-serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #1E293B !important;
  margin: 28px 0 10px !important;
  line-height: 1.4 !important;
}
.elementor-element-bsco01 .elementor-widget-theme-post-content p { margin-bottom: 18px !important; color: #475569 !important; }
.elementor-element-bsco01 .elementor-widget-theme-post-content a { color: #2563EB !important; }
.elementor-element-bsco01 .elementor-widget-theme-post-content strong { color: #1E293B !important; font-weight: 600 !important; }
.elementor-element-bsco01 .elementor-widget-theme-post-content img { border-radius: 8px; max-width: 100%; }
.elementor-element-bsco01 .elementor-widget-theme-post-content ul,
.elementor-element-bsco01 .elementor-widget-theme-post-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.elementor-element-bsco01 .elementor-widget-theme-post-content li { margin-bottom: 8px; }
.elementor-element-bsco01 .elementor-widget-theme-post-content blockquote {
  border-left: 3px solid #2563EB;
  padding: 12px 20px;
  margin: 24px 0;
  background: #F8FAFC;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #475569;
}
.elementor-element-bsco01 .elementor-widget-theme-post-content .highlight-box {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 24px 0;
}
.elementor-element-bsco01 .elementor-widget-theme-post-content .highlight-box p {
  margin: 0;
  color: #1E40AF;
  font-size: 15px;
  line-height: 1.6;
}

/* Nazad link */
.cbsp-back .elementor-heading-title a {
  color: #64748B !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}
.cbsp-back .elementor-heading-title a:hover { color: #2563EB !important; }

/* =============================================
   CASE STUDY SINGLE — cssp-* klase (template cssp)
   ============================================= */

/* Hero sekcija */
.cssp-hero {
  background: #0F172A;
  padding: 64px 0 48px;
}

/* Badge row */
.cssp-cat .elementor-heading-title {
  display: inline-flex !important;
  align-items: center !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  width: fit-content !important;
}
.cssp-cat .elementor-heading-title a { color: inherit !important; text-decoration: none !important; }

.cssp-tag .elementor-heading-title {
  display: inline-flex !important;
  align-items: center !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  width: fit-content !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  background: rgba(255,255,255,0.08) !important;
  color: rgba(255,255,255,0.70) !important;
}

/* Naslov */
.cssp-title .elementor-heading-title {
  color: #ffffff !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
}

/* Klijent */
.cssp-client .elementor-heading-title {
  color: rgba(255,255,255,0.55) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

/* Meta ikonica red (lokacija, godina, zaposleni) */
.cssp-meta-item .elementor-heading-title {
  color: rgba(255,255,255,0.55) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* KPI panel */
.cssp-kpi-panel {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 24px;
}
.cssp-kpi-val .elementor-heading-title {
  font-size: 32px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  color: #60A5FA !important;
  letter-spacing: -0.02em !important;
}
.cssp-kpi-lbl .elementor-heading-title {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,0.45) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin-top: 4px !important;
}

/* Content area */
.elementor-element-csco01 {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 0 64px;
}
.elementor-element-csco01 .elementor-widget-theme-post-content {
  font-size: 16px;
  line-height: 1.75;
  color: #334155;
}
.elementor-element-csco01 .elementor-widget-theme-post-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #0F172A;
  margin: 40px 0 16px;
  letter-spacing: -0.02em;
}
.elementor-element-csco01 .elementor-widget-theme-post-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: #0F172A;
  margin: 32px 0 12px;
}
.elementor-element-csco01 .elementor-widget-theme-post-content p { margin-bottom: 20px; }
.elementor-element-csco01 .elementor-widget-theme-post-content a { color: #2563EB; }
.elementor-element-csco01 .elementor-widget-theme-post-content img { border-radius: 8px; max-width: 100%; }
.elementor-element-csco01 .elementor-widget-theme-post-content ul,
.elementor-element-csco01 .elementor-widget-theme-post-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.elementor-element-csco01 .elementor-widget-theme-post-content li { margin-bottom: 8px; }
.elementor-element-csco01 .elementor-widget-theme-post-content blockquote {
  border-left: 3px solid #2563EB;
  padding: 12px 20px;
  margin: 24px 0;
  background: #F8FAFC;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #475569;
}

/* Nazad link */
.cssp-back .elementor-heading-title a {
  color: #64748B !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}
.cssp-back .elementor-heading-title a:hover { color: #2563EB !important; }

/* ── Blog single meta bar (shortcode output) ── */
.cbsp-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  font-weight: 400;
  font-family: var(--combo-font);
  line-height: 1.5;
}
.cbsp-sep { color: rgba(255,255,255,0.25); }

/* ── CS single client name (shortcode output) ── */
.cssp-client {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--combo-font);
}

/* ── CS single meta bar (shortcode output) ── */
.cssp-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 0;
  color: rgba(255,255,255,0.50);
  font-size: 13px;
  font-weight: 400;
  font-family: var(--combo-font);
}
.cssp-meta-icon { font-style: normal; }
.cssp-meta-sep  { color: rgba(255,255,255,0.25); margin: 0 4px; }

/* ── CS single KPI panel (shortcode output) ── */
.cssp-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  border-top: 1px solid #eaeae8;
  border-bottom: 1px solid #eaeae8;
  margin-top: 20px;
}
.cssp-kpi-item {
  padding: 20px 24px;
  border-right: 1px solid #eaeae8;
}
.cssp-kpi-item:last-child {
  border-right: none;
}
.cssp-kpi-num {
  font-size: 28px;
  font-weight: 700;
  color: #2563EB;
  line-height: 1;
  letter-spacing: -0.03em;
  font-family: var(--combo-font);
}
.cssp-kpi-desc {
  font-size: 14px;
  font-weight: 400;
  color: #aaaaaa;
  margin-top: 4px;
  line-height: 1.3;
  font-family: var(--combo-font);
}

/* ── Blog single: tag pills na dnu posta ── */
.cbsp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cbsp-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #475569;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none !important;
  font-family: var(--combo-font);
  transition: all 0.15s;
}
.cbsp-tag:hover {
  border-color: rgba(37,99,235,0.30);
  color: #2563EB;
  background: rgba(37,99,235,0.05);
}

/* ── WordPress blocks u single content ── */

/* Info/callout box (Gutenberg group sa pozadinom) */
.elementor-element-bsco01 .wp-block-group,
.elementor-element-csco01 .wp-block-group {
  padding: 16px 20px;
  border-radius: 8px;
  margin: 24px 0;
}

/* Plavi callout (info) */
.elementor-element-bsco01 .wp-block-group.is-style-info,
.elementor-element-bsco01 .has-blue-background-color,
.elementor-element-bsco01 .has-luminous-vivid-amber-background-color,
.elementor-element-csco01 .wp-block-group.is-style-info {
  background: rgba(37,99,235,0.06) !important;
  border-left: 3px solid #2563EB;
  border-radius: 0 8px 8px 0;
}

/* Zeleni callout (success/SEO) */
.elementor-element-bsco01 .has-vivid-green-cyan-background-color,
.elementor-element-csco01 .has-vivid-green-cyan-background-color {
  background: rgba(16,185,129,0.06) !important;
  border-left: 3px solid #10B981;
  border-radius: 0 8px 8px 0;
}

/* Klasični HTML callout boxovi (ako se koriste <div> blokovi) */
.elementor-element-bsco01 .wp-block-group p,
.elementor-element-csco01 .wp-block-group p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.65;
}

/* Shortcode widget output in single meta contexts ── */
.cbsp-meta .elementor-shortcode,
.cssp-meta-item .elementor-shortcode {
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  font-weight: 400;
  font-family: var(--combo-font);
}

/* ── Mobile (single templates) ── */
@media (max-width: 767px) {
  .cbsp-title .elementor-heading-title,
  .cssp-title .elementor-heading-title {
    font-size: 26px !important;
  }
  .cssp-kpi-val .elementor-heading-title {
    font-size: 24px !important;
  }
  .elementor-element-bsco01,
  .elementor-element-csco01 {
    padding: 32px 0 48px;
  }
  .cssp-kpi-row { gap: 24px; }
  .cssp-kpi-num { font-size: 26px !important; }
}