/* =========================================================
   Kartica geometra (gcard) · velika mapa · tačkice karusela
   ========================================================= */

/* ---------- Kartica geometra ---------- */
.gcard {
  position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 18px; align-items: center;
  padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.gcard:hover { border-color: var(--bordo); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.gcard.is-featured { border-left: 4px solid var(--red); padding-left: 17px; }
.gcard-logo {
  width: 72px; height: 72px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(145deg, #fff, var(--brand-50)); border: 1px solid var(--line);
  font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--bordo); letter-spacing: -.03em;
}
.gcard-logo.sm { width: 52px; height: 52px; font-size: 14px; border-radius: 10px; }
.gcard-logo.xs { width: 40px; height: 40px; font-size: 12px; border-radius: 8px; }
.gcard-main { min-width: 0; }
.gcard-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.gcard h4 { margin: 0; font-size: 16.5px; line-height: 1.3; display: flex; align-items: center; gap: 6px; min-width: 0; }
.gcard h4 .verified svg.lucide { width: 18px; height: 18px; }
.gcard-link { color: var(--ink); }
.gcard-link:hover { color: var(--red); }
.gcard-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; } /* cela kartica je klikabilna */
.gcard-flag { display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; height: 24px; padding: 0 9px; border-radius: 30px; background: var(--accent-50); color: var(--red-2); font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.gcard-flag svg.lucide { width: 13px; height: 13px; }
.gcard-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 6px 0 12px; font-size: 13px; color: var(--muted); }
.gcard-meta > span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.gcard-meta > span + span::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); margin: 0 10px; }
.gcard-meta svg.lucide { width: 14px; height: 14px; color: var(--muted); }
.gcard-rating svg.lucide { color: #f5a623 !important; fill: #f5a623; }
.gcard-rating b { color: var(--ink); font-weight: 800; }
.gcard-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.gcard-tags span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 30px; background: var(--brand-50); color: var(--bordo); white-space: nowrap; }
.gcard-tags span.more { background: transparent; border: 1px dashed var(--line-2); color: var(--muted); }
.gcard-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 12px; align-self: stretch; padding-left: 20px; border-left: 1px solid var(--line); }
.gcard-open { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 30px; white-space: nowrap; }
.gcard-open i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.gcard-open.is-open { background: var(--ok-50); color: var(--ok); }
.gcard-open.is-soon { background: #fff4e0; color: #9a5b00; }
.gcard-open.is-closed { background: #eef1f6; color: var(--muted); }
.gcard-acts { display: flex; gap: 6px; align-items: center; position: relative; z-index: 2; }
.gcard-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--ink-2); transition: .2s; }
.gcard-btn svg.lucide { width: 17px; height: 17px; }
.gcard-btn:hover { background: var(--bordo); border-color: var(--bordo); color: #fff; }
.gcard-go { height: 40px; padding: 0 16px; border-radius: 30px; background: var(--bordo); color: #fff; font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: background .2s; }
.gcard-go:hover { background: var(--red); color: #fff; }
.gcard-go svg.lucide { width: 16px; height: 16px; transition: transform .2s; }
.gcard-go:hover svg.lucide { transform: translateX(3px); }
#geoList { gap: 14px; }

/* tablet: akcije prelaze u donji red kartice */
@media (max-width: 1280px) {
  .with-side .gcard { grid-template-columns: 64px minmax(0, 1fr); }
  .with-side .gcard .gcard-logo { width: 64px; height: 64px; font-size: 16px; }
  .with-side .gcard-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}
/* telefon: logo levo · naziv pored · ispod mesto/ocena/licence · usluge · donji red sa akcijama */
@media (max-width: 860px) {
  .gcard { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 16px; align-items: start; border-radius: 12px; }
  .gcard.is-featured { padding-left: 13px; }
  .gcard-logo { width: 56px; height: 56px; font-size: 15px; border-radius: 10px; }
  .gcard h4 { font-size: 15.5px; }
  .gcard-meta { margin: 4px 0 10px; font-size: 12.5px; }
  .gcard-meta > span + span::before { margin: 0 8px; }
  .gcard-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .gcard:hover { transform: none; }
}
@media (max-width: 540px) {
  .gcard-flag span { display: none; }
  .gcard-flag { width: 26px; height: 26px; padding: 0; justify-content: center; }
  .gcard-tags span { font-size: 11.5px; padding: 4px 9px; }
}
@media (max-width: 380px) {
  .gcard { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .gcard-logo { width: 48px; height: 48px; font-size: 13px; }
  .gcard-meta > span:nth-child(3) { display: none; }
  .gcard-btn { width: 38px; height: 38px; }
  .gcard-go { padding: 0 12px; }
}

/* ---------- Velika mapa ---------- */
.map-cities { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px; margin-bottom: 4px; scrollbar-width: none; scroll-snap-type: x proximity; }
.map-cities::-webkit-scrollbar { display: none; }
.mc-chip { flex-shrink: 0; scroll-snap-align: start; height: 42px; padding: 0 16px; border-radius: 30px; border: 1px solid var(--line-2); background: #fff; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; transition: .2s; }
.mc-chip b { font-family: var(--mono); font-size: 11.5px; font-weight: 600; background: var(--brand-50); color: var(--bordo); padding: 2px 7px; border-radius: 20px; }
.mc-chip:hover { border-color: var(--bordo); color: var(--bordo); }
.mc-chip.active { background: var(--bordo); border-color: var(--bordo); color: #fff; }
.mc-chip.active b { background: rgba(255,255,255,.16); color: #fff; }

.map-big { border-radius: 14px; }
.map-big .map { height: 640px; }
.map-big .map.map-list { height: 480px; }
.map-big .map-side { top: 16px; right: 16px; bottom: 16px; width: 320px; border-radius: 12px; }
.map-side-list a { gap: 12px; }
.map-side-list a svg.lucide { margin-left: auto; width: 16px; height: 16px; color: var(--line-2); flex-shrink: 0; }
.map-side-list a.active { background: var(--brand-50); box-shadow: inset 3px 0 0 var(--red); }
.map-side-list a.active svg.lucide { color: var(--red); }
.map-big .map-legend { bottom: 16px; left: 16px; border-radius: 30px; padding: 8px 14px; }
.leaflet-control-attribution { font-size: 10.5px; background: rgba(255,255,255,.85) !important; border-radius: 6px 0 0 0; }
.leaflet-control-zoom { border: 0 !important; box-shadow: var(--shadow-lg) !important; border-radius: 10px !important; overflow: hidden; }
.leaflet-control-zoom a { width: 38px !important; height: 38px !important; line-height: 38px !important; color: var(--ink) !important; font-size: 18px !important; }
.leaflet-control-zoom a:hover { background: var(--bordo) !important; color: #fff !important; }
.map-big .leaflet-bottom.leaflet-right { right: 0; }
@media (min-width: 1141px) { .map-big .leaflet-bottom.leaflet-right { right: 340px; } }

/* pin sa inicijalima firme */
.pin2-wrap { background: none; border: 0; }
.pin2 { width: 44px; height: 44px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--bordo); border: 3px solid #fff; box-shadow: 0 6px 14px rgba(13,21,38,.35); display: grid; place-items: center; transition: transform .2s, background .2s; cursor: pointer; }
.pin2 span { transform: rotate(45deg); color: #fff; font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: -.02em; }
.pin2.featured { background: var(--red); }
.pin2:hover { transform: rotate(-45deg) scale(1.1); }
.pin2.active { background: #fff; border-color: var(--red); transform: rotate(-45deg) scale(1.2); box-shadow: 0 0 0 6px rgba(230,57,70,.25), 0 8px 18px rgba(13,21,38,.35); }
.pin2.active span { color: var(--red); }

/* kartica firme unutar mape */
.map-card { position: absolute; left: 16px; bottom: 60px; z-index: 600; width: 360px; max-width: calc(100% - 32px); background: #fff; border-radius: 14px; box-shadow: 0 24px 60px -10px rgba(13,21,38,.4); padding: 16px; animation: mcIn .25s cubic-bezier(.2,.8,.2,1); }
.map-card[hidden] { display: none; }
@keyframes mcIn { from { opacity: 0; transform: translateY(12px); } }
.mapc-close { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #eef1f6; display: grid; place-items: center; cursor: pointer; color: var(--ink-2); }
.mapc-close:hover { background: var(--bordo); color: #fff; }
.mapc-close svg.lucide { width: 16px; height: 16px; }
.mapc-head { display: flex; gap: 12px; align-items: center; padding-right: 36px; margin-bottom: 10px; }
.mapc-head > div > b { display: flex; align-items: center; gap: 5px; font-size: 15px; line-height: 1.25; }
.mapc-head .gcard-meta { margin: 4px 0 0; }
.mapc-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }

/* telefon: zaključavanje mape */
.map-lock { position: absolute; inset: 0; z-index: 550; border: 0; background: linear-gradient(180deg, transparent 55%, rgba(13,21,38,.35)); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 70px; gap: 8px; font: inherit; font-weight: 700; font-size: 14px; color: #fff; cursor: pointer; }
.map-lock svg.lucide { width: 18px; height: 18px; }
.map-lock[hidden], .map-unlock[hidden] { display: none; }
.map-unlock { position: absolute; top: 12px; right: 12px; z-index: 560; height: 38px; padding: 0 14px; border-radius: 30px; border: 0; background: #fff; box-shadow: var(--shadow-lg); font: inherit; font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.map-unlock svg.lucide { width: 15px; height: 15px; }

@media (max-width: 1140px) {
  .map-big .map { height: 560px; }
  .map-big .map.map-list { height: 460px; }
}
@media (max-width: 860px) {
  .map-big { border-radius: 12px; margin-inline: -2px; }
  .map-big .map, .map-big .map.map-list { height: 72vh; height: 72svh; min-height: 440px; max-height: 620px; }
  .map-big .map-legend { display: none; }
  .map-card { left: 10px; right: 10px; bottom: 10px; width: auto; max-width: none; padding: 14px; border-radius: 14px; }
  .mc-chip { height: 40px; padding: 0 14px; font-size: 13.5px; }
}

/* ---------- Tačkice karusela: mala tačka, velika zona za prst ---------- */
.fcar-dots { display: flex; justify-content: center; align-items: center; gap: 0; margin-top: 16px; }
.fcar-dots button,
.fcar-dots button.active { width: 28px !important; height: 28px !important; padding: 0 !important; border: 0; border-radius: 0; background: transparent !important; display: grid; place-items: center; cursor: pointer; }
.fcar-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 7px; background: var(--line-2); transition: width .25s, background .25s; }
.fcar-dots button.active { width: 40px !important; }
.fcar-dots button.active::before { width: 22px; background: var(--red); }

/* meta kartice: bez tačke na početku prelomljenog reda */
.gcard-meta { gap: 4px 14px; }
.gcard-meta > span + span::before { display: none; }

/* =========================================================
   Stranica „Geometri”: traka, filteri, lista/mapa
   ========================================================= */
.geo-total { font-family: var(--mono); font-size: 13px; color: #c3cde0; }
.geo-bar-wrap { position: sticky; top: 79px; z-index: 900; background: rgba(245,247,251,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.geo-bar { display: flex; gap: 10px; align-items: center; padding: 12px 0; }
.geo-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 8px 0 16px; background: #fff; border: 1px solid var(--line-2); border-radius: 30px; color: var(--muted); transition: border-color .15s, box-shadow .15s; }
.geo-search:focus-within { border-color: var(--bordo); box-shadow: 0 0 0 3px var(--brand-50); }
.geo-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); }
.geo-search input::-webkit-search-cancel-button { display: none; }
.geo-clear { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #eef1f6; display: grid; place-items: center; cursor: pointer; color: var(--ink-2); }
.geo-clear[hidden] { display: none; }
.geo-clear svg.lucide { width: 15px; height: 15px; }
.geo-fbtn { display: none; height: 48px; padding: 0 16px; border-radius: 30px; border: 1px solid var(--line-2); background: #fff; font: inherit; font-weight: 700; font-size: 14px; align-items: center; gap: 8px; cursor: pointer; color: var(--ink); flex-shrink: 0; }
.geo-fbtn b { min-width: 22px; height: 22px; border-radius: 22px; background: var(--red); color: #fff; font-size: 12px; display: grid; place-items: center; padding: 0 6px; }
.geo-fbtn b[hidden] { display: none; }
.geo-sort { height: 48px; border-radius: 30px; border: 1px solid var(--line-2); background: #fff; padding: 0 16px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; flex-shrink: 0; }
.geo-view { display: none; background: #e6eaf2; border-radius: 30px; padding: 4px; flex-shrink: 0; }
.geo-view button { height: 40px; padding: 0 14px; border: 0; border-radius: 30px; background: transparent; font: inherit; font-weight: 700; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--muted); }
.geo-view button.active { background: #fff; color: var(--bordo); box-shadow: var(--shadow); }
.geo-view svg.lucide { width: 16px; height: 16px; }

.geo-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; padding: 24px 0 64px; }
.geo-filters { position: sticky; top: 160px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); max-height: calc(100vh - 180px); display: flex; flex-direction: column; }
.gf-head { display: none; }
.gf-body { overflow-y: auto; padding: 4px 20px; }
.gf-group { padding: 16px 0; border-bottom: 1px solid var(--line); }
.gf-group:last-child { border-bottom: 0; }
.gf-group h5 { margin: 0 0 12px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.gf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gf-chip { height: 34px; padding: 0 12px; border-radius: 30px; border: 1px solid var(--line-2); background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: .15s; }
.gf-chip:hover { border-color: var(--bordo); }
.gf-chip.active { background: var(--bordo); border-color: var(--bordo); color: #fff; }
#gfLic .check { font-size: 13.5px; }
.gf-n { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.gf-seg { display: grid; grid-template-columns: repeat(4, 1fr); background: #eef1f6; border-radius: 10px; padding: 3px; }
.gf-seg button { height: 34px; border: 0; background: transparent; border-radius: 8px; font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.gf-seg button.active { background: #fff; color: var(--bordo); box-shadow: var(--shadow); }
.gf-switch { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; cursor: pointer; }
.gf-switch b { display: block; font-size: 14px; }
.gf-switch small { font-size: 12px; color: var(--muted); }
.gf-foot { display: none; }
.geo-fbg { display: none; }

.geo-results { min-width: 0; }
.geo-map-pane { margin-bottom: 24px; }
.geo-meta-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
#geoCount { font-weight: 800; font-size: 15px; margin-right: 6px; }
.geo-active { display: flex; flex-wrap: wrap; gap: 6px; }
.ga-chip { height: 32px; padding: 0 8px 0 12px; border-radius: 30px; border: 0; background: var(--bordo); color: #fff; font: inherit; font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.ga-chip svg.lucide { width: 14px; height: 14px; opacity: .8; }
.ga-clear { height: 32px; padding: 0 10px; border: 0; background: transparent; color: var(--red); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.geo-empty { text-align: center; padding: 56px 20px; background: #fff; border: 1px dashed var(--line-2); border-radius: 12px; }
.geo-empty[hidden] { display: none; }
.geo-empty .tile-ic { margin: 0 auto 14px; }

/* tablet i telefon: filteri u donjem panelu, prekidač Lista/Mapa */
@media (max-width: 1140px) {
  .geo-layout { grid-template-columns: minmax(0, 1fr); padding-top: 16px; }
  .geo-fbtn, .geo-view { display: inline-flex; }
  [data-view="geometri"][data-gmode="list"] .geo-map-pane { display: none; }
  [data-view="geometri"][data-gmode="map"] .geo-list-pane { display: none; }
  .geo-filters { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 2700; max-height: 86vh; max-height: 86dvh; border-radius: 18px 18px 0 0; border: 0; transform: translateY(105%); transition: transform .3s cubic-bezier(.2,.8,.2,1); box-shadow: 0 -20px 60px rgba(13,21,38,.25); }
  .gf-open .geo-filters { transform: none; }
  .geo-fbg { display: block; position: fixed; inset: 0; z-index: 2650; background: rgba(8,14,30,.5); opacity: 0; visibility: hidden; transition: .25s; }
  .gf-open .geo-fbg { opacity: 1; visibility: visible; }
  .gf-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 12px; border-bottom: 1px solid var(--line); position: relative; }
  .gf-head::before { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 40px; height: 4px; border-radius: 4px; background: var(--line-2); }
  .gf-head b { font-size: 18px; font-family: var(--display); }
  .gf-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #eef1f6; display: grid; place-items: center; cursor: pointer; }
  .gf-foot { display: flex; gap: 10px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
  .gf-foot .btn-primary { flex: 1; height: 50px; }
  .gf-chip { height: 40px; padding: 0 14px; font-size: 14px; }
  .gf-seg button { height: 40px; }
}
@media (max-width: 860px) {
  .geo-bar-wrap { top: 64px; }
  .geo-bar { flex-wrap: wrap; gap: 8px; padding: 10px 0; }
  .geo-search { flex: 1 1 100%; height: 46px; }
  .geo-search input { font-size: 16px; }
  .geo-fbtn, .geo-sort { height: 42px; flex: 1 1 0; justify-content: center; }
  .geo-sort { padding: 0 10px; font-size: 13.5px; min-width: 0; }
  .geo-view { flex: 0 0 auto; }
  .geo-view button { height: 34px; padding: 0 12px; }
  .geo-view button span { display: none; }
  .geo-meta-row { margin-bottom: 12px; }
  .page-head .geo-total { display: block; margin-top: 4px; }
}
@media (max-width: 340px) {
  .geo-fbtn span { display: none; }
}

/* =========================================================
   Početna — telefon: CTA, baner traka, kalkulatori, partneri
   ========================================================= */
@media (max-width: 860px) {
  /* CTA: fotografija preko cele kartice + gradijent da se tekst čita */
  .cta { display: block; position: relative; min-height: 0; isolation: isolate; border-radius: 14px; }
  .cta-photo { position: absolute; inset: 0; z-index: -2; min-height: 0; }
  .cta-photo::before { background: linear-gradient(180deg, rgba(20,33,61,.55) 0%, rgba(20,33,61,.86) 45%, rgba(11,20,38,.97) 100%); }
  .cta.user-only .cta-photo { background: url("https://upload.wikimedia.org/wikipedia/commons/thumb/4/48/Total_station_construction_set-out_at_sunset.jpg/960px-Total_station_construction_set-out_at_sunset.jpg") center 30%/cover; }
  .cta-card { display: none; }
  .cta-body { padding: 36px 22px 26px; }
  .cta h2 { font-size: 24px; }
  .cta p { font-size: 15.5px; color: #dbe2ee; }
  .cta-list { grid-template-columns: 1fr; gap: 8px; margin-bottom: 22px; }
  .cta .row { flex-direction: column; gap: 10px; }
  .cta .row .btn { width: 100%; }

  /* baner traka (seminar): ikonica · naslov · kada · dugme preko cele širine */
  .ad-strip { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px 14px; align-items: center; padding: 18px; border-left-width: 4px; border-radius: 12px; }
  .ad-strip > svg.lucide { width: 48px; height: 48px; padding: 11px; border-radius: 12px; background: var(--accent-50); }
  .ad-strip > div b { display: block; font-size: 15.5px; line-height: 1.3; }
  .ad-strip .strip-when { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; }
  .ad-strip .strip-when svg.lucide { width: 14px; height: 14px; color: var(--red); }
  .ad-strip > .btn { grid-column: 1 / -1; width: 100%; height: 46px; }

  /* partneri: beskonačna traka koja se pomera */
  .partner-track { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
  .partner-logos { flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content; animation: marquee 22s linear infinite; }
  .partner-logos span { padding: 0 22px; white-space: nowrap; }
}
.strip-when svg.lucide { width: 15px; height: 15px; vertical-align: -2px; }
@media (min-width: 861px) { .strip-when::before { content: " · "; } .strip-when svg.lucide { display: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
.partner-logos:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .partner-logos { animation: none; } }

/* kalkulatori 2×2 na telefonu */
@media (max-width: 860px) {
  .calc-tiles { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .calc-tiles .tile { padding: 16px 14px; }
  .calc-tiles .tile-ic { width: 40px; height: 40px; margin-bottom: 12px; }
  .calc-tiles .tile-ic svg.lucide { width: 20px; height: 20px; }
  .calc-tiles h3 { font-size: 14.5px; line-height: 1.3; margin-bottom: 4px; }
  .calc-tiles p { font-size: 12.5px; line-height: 1.45; }
  .calc-tiles .num { top: 14px; right: 14px; font-size: 11px; }
}
.partner-track { flex: 1; min-width: 0; }
@media (min-width: 861px) { .partner-logos [aria-hidden="true"] { display: none; } }
.ad-strip > .btn, .ad-strip > .btn span { color: #fff; }
/* Leaflet natpis i zastavica se ne prikazuju; ostaje samo obavezni izvor podloge */
.leaflet-control-attribution a[href*="leafletjs"], .leaflet-control-attribution svg, .leaflet-attribution-flag { display: none !important; }
.leaflet-control-attribution { font-size: 10px !important; color: var(--muted); padding: 0 6px !important; }
.leaflet-container { background: #e8edf3; font-family: var(--font); }

/* Istaknuti geometri + jedan baner iste visine kao kartice */
.with-ads .wa-main { display: contents; }
.with-ads .fcar-head { grid-column: 1 / -1; }
.with-ads aside { padding-top: 0 !important; }
.with-ads .ad-house { min-height: 340px; height: 100%; }
@media (min-width: 1141px) {
  .with-ads { grid-template-columns: minmax(0, 1fr) 300px; row-gap: 0; }
  .with-ads .fcar-track { grid-column: 1; grid-row: 2; }
  .with-ads aside { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; }
  .with-ads aside .ad-slot { flex: 1; display: flex; flex-direction: column; }
  .with-ads aside .ad-slot::before { top: -20px; }
  .with-ads .fcar-dots { grid-column: 1; grid-row: 3; }
}
@media (max-width: 1140px) {
  .with-ads aside { display: block; margin-top: 28px; }
  .with-ads .ad-house { min-height: 240px; }
}
