/* Naslovna v2 (PA Designer 2026-10-18): utisci (TheGem carouFredSel, style2) + forma->footer. Samo is_front_page. */

/* ---------- UTISCI ---------- */
html body #testimonials .gem-testimonials{margin-bottom:0}
html body #testimonials .testimonials_svg{display:none}
html body #testimonials .gem-testimonials-carousel-wrap{overflow:visible}
html body #testimonials .caroufredsel_wrapper{background:#fff!important;border:0!important;border-radius:6px;box-shadow:inset 4px 0 0 #f28900,0 1px 2px rgba(60,57,80,.06),0 28px 60px -30px rgba(60,57,80,.28)}
html body #testimonials .caroufredsel_wrapper::after{content:"\201D";position:absolute;z-index:0;right:clamp(250px,27vw,390px);bottom:-.62em;font:700 clamp(240px,26vw,400px)/1 "Montserrat",sans-serif;color:#f28900;opacity:.08;pointer-events:none}
/* prevlačenje mišem / prstom (home-v2.js) */
html body #testimonials .caroufredsel_wrapper{touch-action:pan-y;cursor:grab!important}
html body #testimonials.itl-drag .caroufredsel_wrapper{cursor:grabbing!important;user-select:none;-webkit-user-select:none}
html body #testimonials .gem-testimonials-carousel img{-webkit-user-drag:none}
html body #testimonials .gem-testimonials-carousel{z-index:1}

/* kartica = visina najduzeg utiska; sadrzaj vertikalno centriran (min-height se skida dok carouFredSel meri) */
html body #testimonials .gem-testimonial-item{padding:0!important;display:grid;align-items:center;min-height:100%;box-sizing:border-box}
html body #testimonials.itl-measure .gem-testimonial-item{min-height:0}
html body #testimonials .gem-testimonial-item>a{display:block;color:inherit;text-decoration:none}

html body #testimonials .gem-testimonial-wrapper{display:grid!important;grid-template-columns:minmax(0,1fr) clamp(170px,17vw,230px);grid-template-rows:1fr auto auto auto 1fr;grid-template-areas:"t ." "t i" "t n" "t c" "t p" "t .";column-gap:clamp(40px,5vw,80px);padding:clamp(26px,2.8vw,40px) clamp(28px,4vw,60px) clamp(26px,2.8vw,40px) clamp(32px,4.4vw,64px)!important;box-sizing:border-box}
html body #testimonials .gem-testimonial-wrapper::after{content:"";grid-column:2;grid-row:1/-1;align-self:stretch;margin-left:calc(clamp(40px,5vw,80px) / -2);border-left:1px solid #ececec}
html body #testimonials .gem-testimonial-content{display:contents}

html body #testimonials .gem-testimonial-image{grid-area:i;float:none!important;display:block!important;width:96px!important;height:96px!important;margin:0 0 18px!important;border-radius:50%;overflow:hidden;background:#fff;box-shadow:0 0 0 1px #ececec,0 8px 20px -10px rgba(60,57,80,.35)}
html body #testimonials .gem-testimonial-image img{width:100%!important;height:100%!important;object-fit:cover;border-radius:50%}
html body #testimonials .gem-testimonial-image img[src$=".png"]{object-fit:contain}

html body #testimonials .gem-testimonial-name{grid-area:n;padding:0!important;font:700 15px/1.3 "Montserrat",sans-serif!important;letter-spacing:.06em;text-transform:uppercase;color:#3c3950!important;text-align:left!important}
html body #testimonials .gem-testimonial-company{grid-area:c;margin-top:5px;font:600 15px/1.35 "Source Sans 3","Source Sans Pro",sans-serif;color:#f28900!important;text-align:left!important}
html body #testimonials .gem-testimonial-position{grid-area:p;margin-top:2px;font:400 14px/1.35 "Source Sans 3","Source Sans Pro",sans-serif;color:#8a97a0!important;text-align:left!important}

html body #testimonials .gem-testimonial-text{grid-area:t;align-self:center;margin:0!important;padding:0!important;font:400 19px/1.6 "Source Sans 3","Source Sans Pro",sans-serif!important;color:#3c3950!important;text-align:left!important}
html body #testimonials .gem-testimonial-text::before{content:"\201C";display:block;height:52px;margin:0 0 14px -4px;font:700 120px/1 "Montserrat",sans-serif;color:#f28900}
html body #testimonials .gem-testimonial-text p{display:block!important;margin:0!important;color:inherit!important;text-align:left!important;font:inherit!important}
html body #testimonials .gem-testimonial-wrapper p:after{content:none!important;display:none!important}

/* tipografija po duzini teksta (klase iz home-v2.js) */
html body #testimonials .itl-q-s .gem-testimonial-text{font:300 clamp(26px,2.6vw,38px)/1.3 "Montserrat",sans-serif!important;letter-spacing:-.01em}
html body #testimonials .itl-q-s .gem-testimonial-text::before{font-size:150px;height:64px}
html body #testimonials .itl-q-m .gem-testimonial-text{font-size:21px!important;line-height:1.55!important}
html body #testimonials .itl-q-l .gem-testimonial-text{font-size:18px!important}

/* navigacija: dva kruga + brojac ispod kartice */
html body #testimonials .gem-testimonials-navigation{position:static!important;display:flex!important;justify-content:center;align-items:center;gap:18px;margin:30px 0 0;height:auto!important;width:auto!important}
html body #testimonials .gem-testimonials-navigation a{position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;margin:0!important;display:block!important;width:52px!important;height:52px!important;border-radius:50%;background:#fff!important;border:1px solid #e2e2e2;color:#3c3950!important;transform:none!important;transition:background .2s,border-color .2s,color .2s}
html body #testimonials .gem-testimonials-navigation a:after{background:transparent!important;color:inherit!important;width:40px!important;height:40px!important;line-height:40px!important;margin:-20px 0 0 -20px!important;font-size:24px!important}
html body #testimonials .gem-testimonials-navigation a:hover,html body #testimonials .gem-testimonials-navigation a:focus-visible{background:#f28900!important;border-color:#f28900;color:#fff!important}
html body #testimonials .itl-tcount{min-width:76px;text-align:center;font:600 14px/1 "Montserrat",sans-serif;letter-spacing:.1em;color:#99a9b5}
html body #testimonials .itl-tcount b{color:#f28900;font-weight:700}

@media (max-width:767px){
  html body #testimonials .gem-testimonial-wrapper{grid-template-columns:56px minmax(0,1fr);grid-template-rows:auto auto auto auto;grid-template-areas:"t t" "i n" "i c" "i p";column-gap:14px;align-content:center;padding:22px 18px 22px 20px!important}
  html body #testimonials .gem-testimonial-wrapper::after{display:none}
  html body #testimonials .caroufredsel_wrapper::after{right:14px;font-size:220px}
  html body #testimonials .gem-testimonial-text{margin:0 0 22px!important;padding:0 0 22px!important;border-bottom:1px solid #ececec;font-size:16.5px!important}
  html body #testimonials .gem-testimonial-text::before{font-size:84px;height:38px;margin-bottom:10px}
  html body #testimonials .itl-q-s .gem-testimonial-text{font-size:26px!important}
  html body #testimonials .itl-q-s .gem-testimonial-text::before{font-size:96px;height:42px}
  html body #testimonials .itl-q-m .gem-testimonial-text{font-size:17px!important}
  html body #testimonials .itl-q-l .gem-testimonial-text{font-size:16px!important}
  html body #testimonials .gem-testimonial-image{grid-row:2/5;align-self:center;width:56px!important;height:56px!important;margin:0!important}
  html body #testimonials .gem-testimonial-name{font-size:13.5px!important;align-self:end}
  html body #testimonials .gem-testimonial-company{font-size:14px;margin-top:2px}
  html body #testimonials .gem-testimonial-position{font-size:13px}
  html body #testimonials .gem-testimonials-navigation{margin-top:22px}
  html body #testimonials .gem-testimonials-navigation a{width:46px!important;height:46px!important}
}

/* kompaktnije kartice (Ivan 18.10): visinu diktira najduži utisak - manja slova za duge, manji navodnik i autor blok */
html body #testimonials .gem-testimonial-text{line-height:1.5!important}
html body #testimonials .gem-testimonial-text::before{font-size:88px;height:36px;margin:0 0 8px -3px}
html body #testimonials .itl-q-s .gem-testimonial-text{font-size:clamp(22px,2.1vw,30px)!important;line-height:1.28!important}
html body #testimonials .itl-q-s .gem-testimonial-text::before{font-size:104px;height:44px}
html body #testimonials .itl-q-m .gem-testimonial-text{font-size:18px!important;line-height:1.5!important}
html body #testimonials .itl-q-l .gem-testimonial-text{font-size:16px!important;line-height:1.5!important}
html body #testimonials .itl-q-xl .gem-testimonial-text{font-size:15px!important;line-height:1.45!important}
html body #testimonials .gem-testimonial-image{width:72px!important;height:72px!important;margin:0 0 12px!important}
html body #testimonials .gem-testimonial-name{font-size:14px!important}
html body #testimonials .gem-testimonial-company,html body #testimonials .gem-testimonial-position{font-size:14px;margin-top:2px}
@media (max-width:767px){
  html body #testimonials .gem-testimonial-text{margin:0 0 16px!important;padding:0 0 16px!important;font-size:15px!important}
  html body #testimonials .gem-testimonial-text::before{font-size:64px;height:28px;margin-bottom:6px}
  html body #testimonials .itl-q-s .gem-testimonial-text{font-size:21px!important}
  html body #testimonials .itl-q-s .gem-testimonial-text::before{font-size:72px;height:30px}
  html body #testimonials .itl-q-m .gem-testimonial-text{font-size:15.5px!important}
  html body #testimonials .itl-q-l .gem-testimonial-text{font-size:14.5px!important}
  html body #testimonials .itl-q-xl .gem-testimonial-text{font-size:13.5px!important;line-height:1.42!important}
  html body #testimonials .gem-testimonial-image{width:46px!important;height:46px!important;margin:0!important}
  html body #testimonials .gem-testimonial-wrapper{grid-template-columns:46px minmax(0,1fr);column-gap:12px;padding:18px 16px 18px 18px!important}
  html body #testimonials .gem-testimonial-name{font-size:13px!important}
  html body #testimonials .gem-testimonial-company,html body #testimonials .gem-testimonial-position{font-size:13px}
}

/* ---------- FORMA -> FOOTER: poslednji WPBakery red je imao margin-bottom 1.1em (beli procep) ---------- */
html body #kontakt-forma{margin-bottom:0!important}
