/* Javni sajt GB3 Timing. Mere, boje, fontovi i animacije su izmereni na starom sajtu (Elementor + EventON)
   da novi izgleda isto; brojevi u px su namerno "čudni" jer su prepisani sa originala. */
:root {
  --zuta: #F8C552;
  --crvena: #F41414;
  --plava: #2351E2;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.5 "Open Sans", sans-serif; color: #000; background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; border: 0; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; }
.centar { text-align: center; }
.preskoci { position: absolute; left: -9999px; }
.preskoci:focus { left: 8px; top: 8px; background: var(--zuta); padding: 6px 10px; z-index: 10; }

/* Ulazne animacije (kao Elementor "entrance animation": element je nevidljiv dok ne dođe na ekran) */
.anim { visibility: hidden; }
.anim.pusti { visibility: visible; animation-duration: 1.25s; animation-fill-mode: both; }
.pusti[data-anim="fadeInLeft"] { animation-name: fadeInLeft; }
.pusti[data-anim="fadeInRight"] { animation-name: fadeInRight; }
.pusti[data-anim="fadeInUp"] { animation-name: fadeInUp; }
.pusti[data-anim="fadeInDown"] { animation-name: fadeInDown; }
.pusti[data-anim="bounceInLeft"] { animation-name: bounceInLeft; }
@keyframes fadeInLeft { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInDown { from { opacity: 0; transform: translate3d(0, -100%, 0); } to { opacity: 1; transform: none; } }
@keyframes bounceInLeft {
  0%, 60%, 75%, 90%, 100% { animation-timing-function: cubic-bezier(.215, .61, .355, 1); }
  0% { opacity: 0; transform: translate3d(-3000px, 0, 0); }
  60% { opacity: 1; transform: translate3d(25px, 0, 0); }
  75% { transform: translate3d(-10px, 0, 0); }
  90% { transform: translate3d(5px, 0, 0); }
  100% { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .anim { visibility: visible; } .anim.pusti { animation: none; } }

/* Zaglavlje: 5 kolona kao na starom (logo 20%, meni 50.84%, jezici 14.14%, mreže 10%, lupa 5%) */
.zaglavlje { background: #000; display: flex; padding: 10px max(10px, calc(50% - 650px)); overflow: hidden; }
.z-kol { padding: 10px; display: flex; align-items: center; }
.z-logo { width: 20%; }
.z-logo a { display: block; line-height: 0; }
.z-logo img { width: 85%; height: auto; }
.z-meni { width: 50.84%; }
.z-jezici { width: 14.14%; align-items: flex-start; padding-top: 53px; padding-bottom: 24px; flex-wrap: wrap; align-content: flex-start; }
.z-mreze { width: 10%; }
.z-trazi { width: 5.02%; }
.meni { display: flex; flex-wrap: wrap; justify-content: center; width: 100%; }
.meni a { position: relative; color: var(--zuta); text-decoration: none; text-transform: uppercase; font-weight: 600; font-size: 16px; line-height: 20px; padding: 13px 20px; transition: color .4s; white-space: nowrap; }
.meni a::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 0; height: 3px; background: var(--zuta); opacity: 0; transition: .3s cubic-bezier(.58, .3, .005, 1); }
.meni a:hover, .meni a:focus, .meni a.aktivan { color: #fff; }
.meni a:hover::after, .meni a:focus::after, .meni a.aktivan::after { left: 0; width: 100%; opacity: 1; }
.meni-prekidac, .meni-dugme { display: none; }
.jezici button { background: none; border: 0; padding: 0; margin: 0 2px 0 0; cursor: pointer; line-height: 0; opacity: .8; transition: opacity .2s; }
.jezici button:hover, .jezici button.izabran { opacity: 1; }
.jezici img { width: 32px; height: 32px; }
.mreze { display: flex; gap: 5px; justify-content: center; width: 100%; }
.mreze a { width: 50px; height: 50px; display: inline-flex; align-items: center; justify-content: center; background: #000; border-radius: 10%; color: var(--zuta); font-size: 25px; text-decoration: none; transition: transform .3s; }
.mreze a:hover { transform: scale(1.1); }
.trazi { width: 35px; height: 35px; display: inline-flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .05); border-radius: 3px; color: var(--zuta); font-size: 21px; text-decoration: none; }

/* Google prevodilac ubacuje traku i pomera telo - sakriva se kao i na starom sajtu */
.skiptranslate iframe, .goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }

/* Crna traka sa naslovom (žuta donja ivica 10px) */
.traka-naslov { margin: 0; background: #000; border-bottom: 10px solid var(--zuta); color: #fff; text-align: center; text-transform: uppercase;
  font: 600 22.4px/1 "Montserrat", sans-serif; padding: 13px 10px 14.4px; overflow: hidden; }
.traka-naslov.prva { font-size: 19.2px; padding-top: 12px; }
.traka-naslov > span { display: block; }
.traka-naslov b, .traka-naslov strong, .traka-naslov span span { color: var(--zuta); font-weight: 600; }
.traka-naslov p { margin: 0; display: inline; }

/* Početna */
.baner { background: #E2E2E2; overflow: hidden; line-height: 0; }
.baner img { display: block; width: min(95%, 1235px); margin: 0 auto; }
.partneri { width: 75%; max-width: 950px; margin: 0 auto; padding: 30px; }
.slajdovi { position: relative; height: 96px; overflow: hidden; }
.slajd { position: absolute; inset: 0; transform: translateX(100%); transition: transform .5s; overflow: hidden; }
.slajd.aktivan { transform: none; }
.slajd.prosao { transform: translateX(-100%); }
.slajd.bez-prelaza { transition: none; }
.slajd img { width: 100%; height: 100%; object-fit: contain; display: block; }
.tacke { display: flex; justify-content: center; align-items: center; gap: 12px; height: 30px; }
.tacke button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: #000; opacity: .2; cursor: pointer; }
.tacke button.aktivan { background: var(--plava); opacity: 1; }
.pocetna-dogadjaji { max-width: 1400px; margin: 0 auto; padding: 10px 10px 98px; }
.o-nama { max-width: 1140px; margin: 0 auto; padding: 72px 0 20px; }
.o-nama .tekst { width: 50%; padding: 0 10px 0 20px; }
.tekst { font-family: "Roboto", sans-serif; }
.tekst p { margin: 0 0 14.4px; }
.tekst ul, .tekst ol { margin: 0; padding-left: 40px; }
.tekst a { color: var(--crvena); }
.tipovi { max-width: 1140px; margin: 2% auto; display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.tip { padding: 20px 10px; transition: transform .2s ease-out; }
.tip i { display: block; font-size: 100px; line-height: 1; color: #505050; }
.tip h3 { margin: 18px 0 15px; font: 800 24px/33px "Open Sans", sans-serif; color: var(--crvena); }
.tip p { margin: 0; }
.pocetna-dugme { margin: 0; padding: 20px 10px 88px; text-align: center; }
.pocetna-dugme .dugme, .zavrseni-dugme .dugme { min-width: min(533px, 100%); }
.zavrseni-dugme { margin: 0; text-align: center; }

/* Dugmad (Elementor kit) */
.dugme { display: inline-flex; align-items: center; justify-content: center; background: var(--zuta); color: #000; text-decoration: none;
  font: 500 18px/1 "Roboto", sans-serif; padding: 20px 40px; border: 1px solid #5A5A5A; border-radius: 5px; box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
  min-height: 61px; cursor: pointer; transition: all .3s; }
.dugme:hover, .dugme:focus { background: #000; color: #fff; border-color: #000; }
.dugme i { margin-right: 5px; }
.dugme span { flex: 1; text-align: center; }
.dugme.siroko { display: flex; margin: 0 0 20px; }

/* Kartice događaja ("eff-card" sa starog sajta) */
.mreza { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 16px 0 28px; }
.kartica { overflow: hidden; border-radius: 17px; background: #e7e7e7; border-left: 3px solid #fac44b; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.kartica a { text-decoration: none; color: inherit; display: block; height: 100%; }
.kartica a:hover h3 { text-decoration: underline; }
.kartica-slika { aspect-ratio: 1.65; display: block; width: 100%; object-fit: cover; background: #d4d4d4; }
.kartica-tekst { display: flex; gap: 13px; padding: 16px 18px 20px; color: #626c79; }
.kartica-datum { min-width: 42px; text-align: center; line-height: 1.1; }
.kartica-datum .dan { font-weight: 800; font-size: 27px; display: block; }
.kartica-datum .mjesec { font-size: 12px; text-transform: uppercase; display: block; margin-top: 4px; }
.kartica-info { min-width: 0; flex: 1; }
.kartica h3 { font-weight: 800; font-size: 18px; line-height: 1.25; margin: 0 0 7px; overflow-wrap: anywhere; }
.kartica-meta { font-size: 13px; line-height: 1.5; opacity: .9; }

/* Unutrašnje stranice */
.strana { max-width: 1200px; margin: 0 auto; padding: 62px 10px 13px; }
.strana.siroka { max-width: 1300px; }
.strana.kontakt { max-width: 1400px; }
.naslov-strane { font: 700 32px/38.4px "Roboto", sans-serif; text-align: center; margin: 8px 0 36px; }
.naslov-strane.drugi { margin: 57px 0 36px; }
.strana .mreza:first-of-type { margin-top: 16px; }

/* Kalendar i zaglavlje događaja: žuti red (EventON) */
.kalendar { padding-bottom: 21px; }
.kalendar .naslov-strane { margin-bottom: 42px; }
.mjesec-naslov { font: 700 24px/1 "Roboto", sans-serif; color: #737373; text-transform: uppercase; margin: 0; padding: 8px 0 5px; }
.red-omotac { border-radius: 10px; overflow: hidden; margin-bottom: 8px; }
.red { display: flex; min-height: 112px; background: #f8c652; color: #fff; padding: 20px; text-decoration: none; transition: opacity .2s; }
a.red:hover { opacity: .88; }
.red-datum { margin: 0 15px 15px 0; min-width: 34px; display: block; }
.red-datum .dan { display: block; font: 700 30px/33px "Roboto", sans-serif; }
.red-datum .mjesec { display: block; font: 400 11px/12.1px "Roboto", sans-serif; text-transform: uppercase; margin-top: 2px; }
.red-opis { display: block; flex: 1; min-width: 0; }
.red-naziv { display: block; font: 700 22px/26.4px "Roboto", sans-serif; text-transform: uppercase; padding: 0 0 3px; margin: 0; }
.red-meta { display: block; font-size: 12px; line-height: 14.4px; }
.red-meta em { display: inline-block; margin: 0 5px 6px 0; }
.red-meta i { display: inline-block; font-size: 12px; }
.red-meta .vrijeme i { width: 18px; }
.red-meta .mjesto i { width: 21px; text-align: center; }
.red-org { display: block; font-size: 11px; line-height: 12.1px; }
.red-org i { font-style: normal; }
.red-org em { margin-left: 3px; }

/* Stranica događaja */
.dogadjaj { max-width: 1020px; margin: 20px auto 0; padding: 0 10px 110px; }
.dogadjaj-kartica { border: 1px solid #efeeee; border-radius: 15px; overflow: hidden; }
.dogadjaj-tijelo { background: #fdfdfd; padding: 8px 0 0 8px; }
.kutije { display: flex; }
.kutija { background: #f3f3f3; border-radius: 15px; margin: 0 8px 10px 0; padding: 30px; display: flex; flex: 1; min-width: 0; }
.kutija > i { font-size: 18px; color: #6b6b6b; width: 31px; flex: none; }
.kutija h2 { font: 700 18px/1 "Roboto", sans-serif; color: #6b6b6b; text-transform: uppercase; margin: 0; padding: 0 0 15px; }
.kutija h2 a { text-decoration: none; }
.kutija p { margin: 0 0 5px; font-size: 14px; line-height: 1.4; color: #656565; overflow-wrap: anywhere; }
.kutija a { text-decoration: none; }
.kutija.slika { padding: 0; overflow: hidden; display: block; line-height: 0; }
.kutija.slika img { width: 100%; border-radius: 8px; }
.kutija.kal { padding: 20px 25px; }
.kutija.kal a { display: block; font: 700 16px/19.6px "Roboto", sans-serif; color: #6b6b6b; text-transform: uppercase; margin-top: 3px; }
.kutije.dvije .kutija { min-height: 200px; }
.kutija .org-ime { font-size: 16px; margin: 5px 0 0; }
.kutija .org-kontakt { font-size: 13px; line-height: 22.4px; margin: 0; }
.kutija.karta { padding: 0; overflow: hidden; }
.kutija.karta iframe { width: 100%; height: 200px; border: 0; display: block; }
.prijava-blok { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin: 50px 0 0; }
.prijava-blok > div { display: flex; flex-direction: column; }
.prijava-blok .oznaka { margin-top: auto; }
.prijava-blok.video-red { margin-top: 0; }
.majica { display: block; line-height: 0; margin: 56px 0 20px; }
.majica img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cijena { display: flex; gap: 15px; margin: 0 0 20px; }
.cijena .krug { width: 100px; height: 100px; flex: none; border-radius: 50%; background: var(--zuta); color: #fff; font-size: 50px; display: flex; align-items: center; justify-content: center; }
.cijena strong { display: block; font: 800 28.8px/34.56px "Open Sans", sans-serif; color: var(--zuta); margin-top: 13px; }
.cijena p { margin: 0; font: 600 27.2px/40.8px "Open Sans", sans-serif; }
.oznaka { font: 600 16px/24px "Roboto", sans-serif; text-align: center; margin: 0; padding-bottom: 14.4px; border-bottom: 10px double var(--zuta); }
.uplatnica { display: block; line-height: 0; margin: 2px 0 20px; }
.uplatnica img { width: 100%; }
.video { position: relative; aspect-ratio: 16 / 9; margin: 56px 0 20px; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.opis { margin-top: 22px; overflow-wrap: break-word; }
.opis img { margin: 10px 0; }
/* WordPress emoji (medalje i sl.) su sličice: veličine slova, kao na starom sajtu */
.tekst img[src*="/emoji/"] { display: inline; width: 1em; height: 1em; margin: 0 .07em; vertical-align: -.1em; }
.opis table { border-collapse: collapse; } .opis td, .opis th { border: 1px solid #e2e2e2; padding: 4px 8px; }
.dijeli { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0 -10px; }
.dijeli a { display: inline-flex; align-items: center; height: 45px; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; transition: filter .2s; }
.dijeli a:hover { filter: saturate(1.5) brightness(1.2); }
.dijeli i { width: 45px; text-align: center; font-size: 17px; }
.dijeli span { align-self: stretch; display: flex; align-items: center; padding: 0 15px 0 13.5px; background: linear-gradient(90deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, 0)); }
.dijeli-facebook { background: #3b5998; } .dijeli-twitter { background: #1da1f2; } .dijeli-linkedin { background: #0077b5; }
.dijeli-pinterest { background: #bd081c; } .dijeli-email { background: #ea4335; }

/* Pretraga događaja (otvara se lupom iz zaglavlja) i stranice */
.pretraga { display: none; gap: 10px; margin: 0 0 20px; }
.pretraga.otvorena, .pretraga:target { display: flex; }
.pretraga input { flex: 1; min-width: 0; height: 59px; padding: 7px 20px; border: 1px solid #69727d; border-radius: 5px; font: inherit; color: #2b2b2b; }
.stranice { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; list-style: none; margin: 24px 0; padding: 0; }
.stranice a, .stranice span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 8px 12px; border: 1px solid #ccc; border-radius: 6px; text-decoration: none; line-height: 1.2; background: #fff; }
.stranice .active a { background: #fac44b; border-color: #fac44b; font-weight: 700; }
.stranice .disabled { display: none; }

/* Rezultati (Ninja Tables izgled) */
.rezultati { max-width: 1140px; padding: 62px 10px 95px; }
.naslov-rezultati { font: 600 32px/1 "Montserrat", sans-serif; margin: 0 0 14.4px; }
.tabela-omotac { overflow-x: auto; margin-top: 64px; }
.tabela { width: 100%; border-collapse: separate; border-spacing: 0; background: #f6b93b; border: 1px solid rgba(34, 36, 38, .15); border-radius: 4.57px; font: 400 14px/20px "Roboto", sans-serif; }
.tabela th, .tabela td { text-align: left; padding: 11px; }
.tabela-alati th { background: #fff; padding: 13px 11px; text-align: right; border-radius: 4.57px 4.57px 0 0; }
.tabela-pretraga { display: inline-flex; }
.tabela-pretraga input { width: 186px; height: 34px; padding: 6px 12px; font: 400 14px/20px "Open Sans", sans-serif; color: #2b2b2b; background: var(--zuta); border: 1px solid #ccc; border-radius: 5px 0 0 5px; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); }
.tabela-pretraga button { width: 42px; height: 34px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 0 4px 4px 0; background: #f6b93b; color: rgba(255, 255, 255, .9); cursor: pointer; box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5); }
.tabela-zaglavlje th { background: #595959; color: #fff; font-weight: 700; padding: 13px 11px; }
.tabela-zaglavlje th:nth-child(1) { width: 54.4%; } .tabela-zaglavlje th:nth-child(2) { width: 15.8%; }
.tabela-zaglavlje a { color: #fff; text-decoration: none; }
.tabela-zaglavlje a.asc::after { content: " ▲"; } .tabela-zaglavlje a.desc::after { content: " ▼"; }
.tabela tbody td { height: 58px; border-top: 1px solid rgba(34, 36, 38, .1); }
.tabela tbody tr:first-child td { border-top: 0; }
.tabela tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .05); }
.tabela-link { display: inline-block; padding: 7px 15px; border: 1px solid transparent; border-radius: 4px; color: #000; text-decoration: none; }
.tabela-link:hover { opacity: .9; text-decoration: underline; }
.tabela tfoot td { background: #fff; text-align: right; border-top: 1px solid rgba(34, 36, 38, .15); border-radius: 0 0 4.57px 4.57px; }
.tabela-stranice { display: inline-flex; list-style: none; margin: 20px 0; padding: 0; }
.tabela-stranice a, .tabela-stranice span { display: block; padding: 6px 12px; margin-left: -1px; border: 1px solid #ddd; background: #fff; color: rgba(0, 0, 0, .5); font-weight: 500; text-decoration: none; }
.tabela-stranice .active a { background: #f6b93b; border-color: rgba(255, 255, 255, .1); }
.tabela-stranice li:first-child a, .tabela-stranice li:first-child span { border-radius: 4px 0 0 4px; }
.tabela-stranice li:last-child a, .tabela-stranice li:last-child span { border-radius: 0 4px 4px 0; }

/* Kontakt */
.kontakt { padding-bottom: 17px; }
.kontakt-kolone { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.kontakt-podaci { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 15px 10px 0; }
.kontakt-podaci li, .kontakt-podaci a { display: flex; align-items: center; text-decoration: none; }
.kontakt-podaci li { margin: 0 30px 0 0; }
.kontakt-podaci li:last-child { margin-right: 0; }
.kontakt-podaci i { font-size: 40px; color: var(--zuta); }
.kontakt-podaci span { font-weight: 600; font-size: 20.8px; line-height: 24.96px; padding-left: 5px; }
.forma { margin-top: 27px; }
.forma input, .forma textarea { display: block; width: 100%; height: 59px; margin: 0 0 15px; padding: 7px 20px; border: 1px solid #69727d; border-radius: 5px; background: #fff; font: 400 16px/1.4 "Open Sans", sans-serif; color: #2b2b2b; }
.forma textarea { height: 128px; font-family: "Roboto", sans-serif; color: #000; resize: vertical; }
.forma input:focus, .forma textarea:focus { outline: 0; box-shadow: 0 0 10px 0 rgba(248, 180, 25, .61); }
.forma .dugme { width: 100%; height: 60px; margin-top: 1px; }
.mapa { width: 100%; height: 450px; border: 0; display: block; }
.greska { color: var(--crvena); margin: -8px 0 12px; font-size: .9em; }
.poruka-ok { background: #e7f6e0; border-left: 4px solid #34BD00; padding: 10px 14px; margin: 20px 0 0; }
.zamka { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Greška (404: "4 štoperica 4") */
.greska-strana { text-align: center; padding: 88px 10px 110px; font-family: "Roboto", sans-serif; }
.veliki-broj { display: flex; justify-content: center; align-items: flex-start; gap: 25px; color: var(--zuta); margin-bottom: 24px; }
.veliki-broj span { font: 900 320px/1 "Roboto", sans-serif; min-width: 303px; }
.veliki-broj i { font-size: 300px; line-height: 1; }
.greska-strana p { margin: 0 0 14.4px; }
.greska-strana a { color: var(--crvena); }

/* Podnožje */
.podnozje-slika { height: 360px; margin-bottom: -4%; line-height: 0; }
.podnozje-slika img { width: 800px; max-width: 100%; will-change: transform; }
.podnozje-traka { position: relative; background: #000; padding: 46px 10px 25px; text-align: center; }
.kontakt-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.kontakt-lista li, .kontakt-lista a { display: flex; align-items: center; text-decoration: none; }
.kontakt-lista li { margin: 0 25px; }
.kontakt-lista i { color: var(--zuta); font-size: 25px; width: 31px; text-align: center; transition: color .3s; }
.kontakt-lista span { color: #fff; font-weight: 600; text-transform: uppercase; padding-left: 5px; transition: color .3s; }
.podnozje .mreze { margin-top: 20px; }
.autorska { margin: 20px 0 0; color: #C2C2C2; font-weight: 300; font-size: 14.4px; line-height: 17.28px; }

/* Tablet i telefon (prelomi kao na starom: meni u padajućem do 1024, kolone jedna ispod druge do 767) */
@media (max-width: 1024px) {
  .meni-dugme { display: inline-flex; align-items: center; justify-content: center; margin: 0 auto; width: 33px; height: 33px; padding: 4px; color: var(--zuta); font-size: 22px; cursor: pointer; background: rgba(0, 0, 0, .05); border-radius: 3px; }
  .meni-dugme .fa-times { display: none; }
  .meni-prekidac:checked ~ .z-meni .fa-bars { display: none; }
  .meni-prekidac:checked ~ .z-meni .fa-times { display: inline; }
  /* bez ulazne animacije: animirani element postaje okvir za padajući meni, pa bi meni bio širok kao kolona */
  .z-meni { position: static; animation: none !important; visibility: visible; }
  .meni { display: none; position: absolute; left: 0; right: 0; top: var(--visina-zaglavlja, 100%); background: #000; flex-direction: column; z-index: 20; padding: 0 0 6px; }
  .meni a { text-align: center; }
  .meni a::after { display: none; }
  .meni-prekidac:checked ~ .z-meni .meni { display: flex; }
  /* z-index: stavke zaglavlja imaju ulaznu animaciju (svoj sloj), pa bi baner inače prekrio otvoren meni */
  .zaglavlje { position: relative; overflow: visible; z-index: 20; }
}
@media (max-width: 850px) { .mreza { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  /* zaglavlje na telefonu: zastavice gore, veliki logo + meni, pa mreže i lupa u drugom redu */
  .zaglavlje { flex-wrap: wrap; }
  .z-jezici { order: 1; width: 100%; padding: 10px 10px 0; }
  .z-logo { order: 2; width: 60%; padding: 6px 10px 11px; }
  .z-logo img { width: 205px; }
  .z-meni { order: 3; width: 27%; }
  .meni-dugme { width: 50px; height: 50px; font-size: 46px; background: none; }
  .z-mreze { order: 4; width: 61%; }
  .z-mreze .mreze { justify-content: flex-end; }
  .z-trazi { order: 5; width: 39%; }
  .partneri { width: 100%; }
  .slajdovi { height: 50px; }
  .o-nama { padding-top: 40px; }
  .o-nama .tekst { width: 100%; padding: 0 20px; }
  .tipovi { grid-template-columns: 1fr; margin: 10px auto; }
  .tip { padding: 10px; }
  .pocetna-dugme { padding: 20px 20px 90px; }
  .pocetna-dugme .dugme { width: 100%; }
  .podnozje-slika { display: none; }
  .red { flex-direction: column; min-height: 164px; }
  .red-naziv { font-size: 15px; line-height: 18px; }
  .dogadjaj { padding: 0 20px 60px; }
  .prijava-blok, .kontakt-kolone { grid-template-columns: 1fr; }
  .prijava-blok > div + div { margin-top: 20px; }
  .kutije { flex-direction: column; }
  .kontakt-podaci { display: block; padding: 15px 10px 0; }
  .kontakt-podaci li, .kontakt-podaci a { display: block; }
  .kontakt-podaci li { margin: 0 0 28px; }
  .kontakt-podaci i { display: block; margin-bottom: 14px; }
  .kontakt-podaci span { padding: 0; }
  .forma { margin-top: 0; }
  .mapa { margin-top: 20px; }
  .tabela-pretraga { display: flex; }
  .tabela-pretraga input { flex: 1; width: auto; }
  .kontakt-lista { flex-direction: column; align-items: center; gap: 10px; }
  .veliki-broj { flex-direction: column; align-items: center; }
}
@media (max-width: 550px) { .mreza { grid-template-columns: 1fr; } }
