/* ═══════════════════════════════════════════════════════════════════════
   ŽPCG — stilovi sajta preko Landkit / Bootstrap 5 baze. Prefiks: zp-
   Boje: crvena i narandžasta su očitane sa uzorka klijenta (približno).
   Teget je osnovna boja novog dizajna.
   Narandžasta ide samo na teget/tamnu podlogu: na bijeloj i crvenoj
   nema dovoljan kontrast. Sitan crveni tekst na rozoj podlozi: --zp-red-dark.
   Tekst na crvenoj podlozi je pun bijeli: providna bijela pada ispod 4,5:1.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
    --zp-red:        #E00000;
    --zp-red-rgb:    224, 0, 0;     /* isti broj kao --zp-red, za rgba(var(--zp-red-rgb), .5) */
    --zp-red-dark:   #B80000;
    --zp-red-soft:   #FDECEC;
    --zp-orange:     #F68C00;
    --zp-orange-rgb: 246, 140, 0;   /* isti broj kao --zp-orange */
    --zp-navy:       #0F1F3D;
    --zp-navy-2:     #1A2E55;
    --zp-navy-3:     #24396A;
    --zp-ink:        #1B2333;
    --zp-gray:       #5D6B82;
    --zp-line:       #E6E9EF;
    --zp-light:      #F4F6F9;
    --zp-radius:     1.25rem;
    --zp-radius-sm:  .75rem;
    --zp-shadow:     0 20px 40px -20px rgba(15, 31, 61, .25);
    --zp-shadow-lg:  0 30px 60px -20px rgba(15, 31, 61, .45);
    --zp-ease:       cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; }
/* HK Grotesk Pro nema ćirilicu; tema pada na generički serif. Jost ima ćirilicu i sličan je karakter, pa je
   rezervni font za tijelo, naslove i dugmad. Latinica ostaje u HK Grotesk Pro.
   Jost je lokalno (assets/fonts/Jost, SIL OFL 1.1, varijabilni woff2 sa Google Fonts), da posjetilac ne šalje
   IP Googleu. unicode-range su iste kao kod Googlea: browser preuzima samo dio koji strana koristi.
   Latin dijelovi ostaju: HK Grotesk Pro nema npr. ‐ ‑ ‒ ′ ″ ↑ ↓, pa ih crta Jost umjesto sistemskog fonta. */
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/Jost/Jost-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/Jost/Jost-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/Jost/Jost-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('../fonts/Jost/Jost-cyrillic-italic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Jost'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('../fonts/Jost/Jost-latin-ext-italic.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('../fonts/Jost/Jost-latin-italic.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root { --bs-body-font-family: "HKGroteskPro", "Jost", system-ui, sans-serif; }
body, .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6, .btn, .btn-zp, input, select, textarea, button { font-family: "HKGroteskPro", "Jost", system-ui, sans-serif; }

/* overflow-x: clip (ne hidden) — hidden bi body pretvorio u scroll kontejner i pokvario position: sticky (bočni meni podstrana). */
body { color: var(--zp-ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body a { transition: color .2s var(--zp-ease); }
/* Landkit podvlači svaki link na hover — kartice, dugmad i navigacija to ne smiju. */
.btn-zp:hover, .zp-quick__item:hover, .zp-direct__item:hover, .zp-news__more:hover, .zp-news h3 a:hover,
.zp-promo__phone:hover, .zp-station a:hover, .zp-service__links a:hover, .zp-topbar a:hover,
.zp-lang a:hover, .zp-breadcrumb a:hover, .zp-footer a:hover, .zp-header a:hover { text-decoration: none; }

/* ─── Širi container od Bootstrap podrazumijevanog (1320px) ────────────── */
/* Počinje na 1400px, zajedno sa horizontalnim menijem: ispod toga Landkit
   container ima 1040px, a logo + sedam stavki + dugme + jezik traže ~1330px. */
@media (min-width: 1400px) { body .container { max-width: 1400px; } }

/* ─── Zajedničko ───────────────────────────────────────────────────────── */
.zp-section { padding: 5rem 0; }
.zp-section--light { background: var(--zp-light); }
.zp-section--navy { background: var(--zp-navy); color: #fff; }
@media (max-width: 767.98px) { .zp-section { padding: 3.5rem 0; } }

.zp-h2 {
    font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); font-weight: 700; line-height: 1.15;
    letter-spacing: -.02em; color: var(--zp-navy); margin-bottom: 1rem;
}
.zp-section--navy .zp-h2 { color: #fff; }
.zp-lead { font-size: 1.125rem; line-height: 1.7; color: var(--zp-gray); }
.zp-section--navy .zp-lead { color: rgba(255, 255, 255, .75); }

.zp-section__head { max-width: 42rem; margin-bottom: 3rem; }
.zp-section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.zp-section__head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.zp-section__head--split > div { max-width: 42rem; }

/* Otkrivanje na skrol */
.zp-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--zp-ease), transform .7s var(--zp-ease); }
.zp-reveal.is-visible { opacity: 1; transform: none; }
.zp-reveal[data-zp-delay="1"] { transition-delay: .1s; }
.zp-reveal[data-zp-delay="2"] { transition-delay: .2s; }
.zp-reveal[data-zp-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .zp-reveal { opacity: 1; transform: none; transition: none; } }

/* ─── Dugmad ───────────────────────────────────────────────────────────── */
.btn-zp {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid var(--zp-red);
    background: var(--zp-red); color: #fff; font-weight: 700; font-size: .95rem; line-height: 1;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform .25s var(--zp-ease), box-shadow .25s var(--zp-ease), background .2s, border-color .2s, color .2s;
}
.btn-zp:hover, .btn-zp:focus-visible { background: var(--zp-red-dark); border-color: var(--zp-red-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(var(--zp-red-rgb), .6); }
.btn-zp .fe { font-size: 1.05em; }
.btn-zp--sm { padding: .65rem 1.2rem; font-size: .875rem; }
.btn-zp--lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn-zp--block { width: 100%; }
.btn-zp--navy { background: var(--zp-navy); border-color: var(--zp-navy); }
.btn-zp--navy:hover, .btn-zp--navy:focus-visible { background: var(--zp-navy-2); border-color: var(--zp-navy-2); box-shadow: 0 12px 24px -10px rgba(15, 31, 61, .6); }
.btn-zp--ghost { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-zp--ghost:hover, .btn-zp--ghost:focus-visible { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; box-shadow: none; }
.btn-zp--outline { background: transparent; border-color: var(--zp-navy); color: var(--zp-navy); }
.btn-zp--outline:hover, .btn-zp--outline:focus-visible { background: var(--zp-navy); color: #fff; box-shadow: none; }

/* ─── Gornja traka ─────────────────────────────────────────────────────── */
.zp-topbar { background: var(--zp-navy); color: rgba(255, 255, 255, .8); font-size: .8125rem; }
.zp-topbar__inner { display: flex; align-items: center; gap: 1rem; min-height: 2.5rem; }
.zp-topbar__list { display: flex; align-items: center; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.zp-topbar__list li { display: inline-flex; align-items: center; gap: .45rem; }
.zp-topbar__list .fe { color: var(--zp-orange); }
/* Telefon i e-mail: visina dodira 44px (traka je zato 44px, ne 40px) */
.zp-topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 2.75rem; }
.zp-topbar a:hover { color: #fff; }
@media (max-width: 575.98px) { .zp-topbar__list { gap: 1rem; } .zp-topbar__list li:nth-child(2) { display: none; } }

.zp-lang { display: inline-flex; align-items: center; gap: .6rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; }
.zp-lang a { color: rgba(255, 255, 255, .6); text-decoration: none; }
.zp-lang a:hover { color: #fff; }
.zp-lang a.is-active { color: var(--zp-orange); }
.zp-lang__sep { width: 1px; height: .9rem; background: rgba(255, 255, 255, .25); }
/* Jezici u mobilnom meniju: tri jednake kolone kao dugmad, veća slova; separatori se ne prikazuju */
.zp-lang--offcanvas { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; width: 100%; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--zp-line); font-size: 1rem; letter-spacing: .06em; }
.zp-lang--offcanvas a { display: flex; align-items: center; justify-content: center; padding: .8rem .5rem; border-radius: .75rem; background: var(--zp-light); color: var(--zp-ink); }
.zp-lang--offcanvas a:hover { background: var(--zp-red-soft); color: var(--zp-red-dark); }
.zp-lang--offcanvas a.is-active { background: var(--zp-navy); color: #fff; }
.zp-lang--offcanvas .zp-lang__sep { display: none; }

/* ─── Header / navigacija ─────────────────────────────────────────────── */
.zp-header { position: sticky; top: 0; z-index: 1030; background: #fff; box-shadow: 0 1px 0 var(--zp-line); transition: box-shadow .3s; }
.zp-header.is-scrolled { box-shadow: 0 10px 30px -15px rgba(15, 31, 61, .35); }
.zp-header .navbar { padding: 0; background: transparent; }
.zp-header .navbar > .container { display: flex; align-items: center; justify-content: space-between; min-height: 4.75rem; gap: 1rem; }
.zp-header.is-scrolled .navbar > .container { min-height: 4.25rem; }
.zp-brand { display: inline-flex; align-items: center; margin: 0; padding: 0; }
.zp-brand img { height: 30px; width: auto; }
@media (max-width: 575.98px) { .zp-brand img { height: 24px; } }

.zp-burger {
    display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem;
    border: 1px solid var(--zp-line); border-radius: var(--zp-radius-sm); background: #fff; color: var(--zp-navy);
    font-size: 1.25rem; cursor: pointer; transition: background .2s, color .2s;
}
.zp-burger:hover { background: var(--zp-red-soft); color: var(--zp-red); }

.zp-nav { gap: .15rem; }
.zp-header .zp-nav .nav-link {
    color: var(--zp-navy); font-weight: 600; font-size: .95rem; padding: .6rem .85rem; border-radius: .6rem;
    display: inline-flex; align-items: center; gap: .35rem; transition: background .2s, color .2s;
}
.zp-header .zp-nav .nav-link:hover, .zp-header .zp-nav .nav-link:focus-visible, .zp-header .zp-nav .nav-link.is-active { color: var(--zp-red-dark); background: var(--zp-red-soft); }
/* Landkit daje .nav-link:focus-visible plavi prsten (box-shadow) — zamijenjen tamnocrvenim. */
.zp-header .zp-nav .nav-link:focus-visible { box-shadow: 0 0 0 2px var(--zp-red-dark); }
.zp-header .zp-nav .dropdown-toggle::after { border: 0; width: .5em; height: .5em; margin-left: .1rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.zp-header .zp-nav .dropdown-menu {
    border: 0; border-radius: 1rem; padding: .6rem; min-width: 17rem; margin-top: .35rem;
    box-shadow: var(--zp-shadow-lg);
}
/* Landkit daje .dropdown-item negativne margine (računa na svoj padding) — poništeno. */
.zp-header .zp-nav .dropdown-item { border-radius: .55rem; padding: .6rem .85rem; margin: 0; width: 100%; font-weight: 500; font-size: .9rem; color: var(--zp-ink); white-space: normal; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.zp-header .zp-nav .dropdown-item:hover, .zp-header .zp-nav .dropdown-item:focus, .zp-header .zp-nav .dropdown-item.active { background: var(--zp-red-soft); color: var(--zp-red-dark); }
.zp-header .zp-nav .dropdown-item .fe { font-size: .85em; opacity: .6; }
.zp-header .zp-nav .nav-link { white-space: nowrap; }

/* Izbor jezika (desktop, skroz desno) */
.zp-langdrop__btn {
    display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .9rem; border-radius: 999px;
    border: 1px solid var(--zp-line); background: #fff; color: var(--zp-navy); font-weight: 700; font-size: .85rem; letter-spacing: .06em;
    cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.zp-langdrop__btn:hover, .zp-langdrop__btn[aria-expanded="true"] { background: var(--zp-red-soft); color: var(--zp-red-dark); border-color: var(--zp-red-soft); }
.zp-langdrop__btn .fe-globe { font-size: 1rem; }
.zp-langdrop__btn .fe-chevron-down { font-size: .8rem; opacity: .7; }
.zp-langdrop__menu { border: 0; border-radius: 1rem; padding: .5rem; min-width: 11rem; margin-top: .5rem; box-shadow: var(--zp-shadow-lg); }
.zp-langdrop__menu .dropdown-item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 0; width: 100%; padding: .6rem .85rem; border-radius: .55rem; font-weight: 500; color: var(--zp-ink); }
.zp-langdrop__menu .dropdown-item small { font-weight: 700; font-size: .75rem; letter-spacing: .08em; color: var(--zp-gray); }
.zp-langdrop__menu .dropdown-item:hover, .zp-langdrop__menu .dropdown-item.active { background: var(--zp-red-soft); color: var(--zp-red-dark); }
.zp-langdrop__menu .dropdown-item.active small { color: var(--zp-red-dark); }

/* Desktop: logo lijevo | meni centriran | jezik desno. Offcanvas panel se
   ponaša kao obična horizontalna navigacija, padajući meniji na hover.
   Od 1400px (navbar-expand-xxl): ispod toga meni ne staje pored loga. */
@media (min-width: 1400px) {
    .zp-burger { display: none; }
    /* auto | 1fr | auto — meni je centriran u prostoru između loga i jezika (jednaki razmaci sa obje strane) */
    .zp-header .navbar > .container { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
    .zp-header .navbar > .container > .zp-brand { min-width: 0; }
    /* offcanvas zauzima srednju kolonu; Bootstrap daje .offcanvas-body flex-grow: 0, pa je centriramo ovdje */
    .zp-offcanvas { position: static; visibility: visible !important; transform: none !important; width: auto; height: auto; background: transparent; border: 0; flex-direction: row; justify-content: center; }
    .zp-offcanvas .offcanvas-header { display: none; }
    .zp-offcanvas .offcanvas-body { display: flex; align-items: center; justify-content: center; padding: 0; overflow: visible; }
    .zp-langdrop { justify-self: end; }
    /* Landkit od 992px drži .dropdown-menu na opacity: 0 i vraća ga na 1 samo sa .show (JS);
       bez opacity ovdje animacija zpDrop pokaže meni na tren pa nestane. */
    .zp-header .zp-nav .dropdown:hover > .dropdown-menu { display: block; opacity: 1; }
    /* Nevidljivi most preko razmaka između stavke i podmenija: hover se ne gubi dok miš ide nadolje */
    .zp-header .zp-nav .dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 1.25rem; }
    .zp-header .zp-nav .dropdown:hover > .dropdown-toggle::after { transform: translateY(1px) rotate(225deg); }
    .zp-header .zp-nav .dropdown-menu { animation: zpDrop .25s var(--zp-ease); }
}
@keyframes zpDrop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Mobilni i tablet: offcanvas panel */
@media (max-width: 1399.98px) {
    .zp-offcanvas { width: min(22rem, 90vw); }
    .zp-offcanvas .offcanvas-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--zp-line); }
    .zp-offcanvas .offcanvas-body { padding: 1.25rem 1.5rem 2rem; }
    .zp-header .zp-nav .nav-link { display: flex; justify-content: space-between; padding: .8rem .85rem; font-size: 1rem; }
    .zp-header .zp-nav .dropdown-menu { position: static !important; transform: none !important; box-shadow: none; border: 0; background: var(--zp-light); margin: .25rem 0 .5rem; }
}

/* ─── Hero sa pretragom ────────────────────────────────────────────────── */
/* Podijeljen raspored: lijevo svijetla pozadina sa tekstom i formom, desno
   fotografija u prirodnoj boji do ivice ekrana. Bez preliva i animacija. */
.zp-hero { position: relative; background: var(--zp-light); color: var(--zp-ink); padding: 0 0 6rem; }
.zp-hero__media { aspect-ratio: 16 / 10; position: relative; }
.zp-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; display: block; }
.zp-hero__inner { position: relative; padding-top: 2.5rem; }
@media (min-width: 992px) {
    .zp-hero { min-height: 44rem; padding: 4rem 0 8rem; display: flex; align-items: center; }
    .zp-hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; aspect-ratio: auto; }
    .zp-hero__inner { padding-top: 0; }
    .zp-hero__inner .col-lg-6 { padding-right: 3rem; }
}

.zp-hero__title { font-size: clamp(2.5rem, 1.6rem + 3.5vw, 4rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; margin-bottom: 1rem; color: var(--zp-navy); }
.zp-hero__lead { font-size: 1.1rem; line-height: 1.65; color: var(--zp-gray); max-width: 32rem; margin-bottom: 2rem; }

/* Kartica pretrage — teget da se odvoji od svijetle pozadine; polja bijela */
.zp-search {
    background: var(--zp-navy); color: #fff; border-radius: var(--zp-radius); padding: 1.75rem;
    box-shadow: 0 24px 48px -24px rgba(15, 31, 61, .55);
}

.zp-search__route { display: grid; grid-template-columns: 1fr auto 1fr; gap: .5rem; align-items: end; margin-bottom: .9rem; }
.zp-field { position: relative; }
.zp-field label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-bottom: .35rem; }
.zp-field > .fe { position: absolute; left: .95rem; bottom: .95rem; color: var(--zp-red); font-size: 1.05rem; pointer-events: none; z-index: 1; }
.zp-search .form-control, .zp-search .form-select {
    height: 3.25rem; border-radius: var(--zp-radius-sm); border: 1.5px solid #fff; background-color: #fff;
    padding-left: 2.6rem; font-weight: 600; color: var(--zp-ink); font-size: .95rem; box-shadow: none;
}
.zp-search .form-select { background-position: right .9rem center; }
/* Padajuća lista stanica (nativni select): tamniji tekst i razmak gdje browser dozvoljava (Firefox); Chrome uzima font-weight i boju */
.zp-search .form-select option { padding: .4rem .75rem; font-weight: 400; color: var(--zp-ink); }
.zp-search .form-select option.zp-stanica--glavna { font-weight: 700; color: var(--zp-navy); }
/* Sopstveni meni za stanice (zpcg.js): nativni select je skriven, dugme izgleda kao polje, panel se otvara naniže */
.zp-pick { position: relative; }
.zp-pick__native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; overflow: hidden; }
.zp-search .zp-pick__btn { width: 100%; text-align: left; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 2.4rem; }
.zp-search .zp-pick__btn.is-prazno { color: var(--zp-gray); font-weight: 500; }
.zp-search .zp-pick__btn[aria-expanded="true"] { border-color: var(--zp-orange); box-shadow: 0 0 0 4px rgba(var(--zp-orange-rgb), .25); }
.zp-pick__panel { position: absolute; left: 0; right: 0; top: calc(100% + .4rem); z-index: 40; padding: .5rem; background: #fff; color: var(--zp-ink); border: 1px solid var(--zp-line); border-radius: var(--zp-radius-sm); box-shadow: var(--zp-shadow-lg); }
.zp-pick__search { width: 100%; height: 2.5rem; margin-bottom: .4rem; padding: 0 .75rem; border: 1px solid var(--zp-line); border-radius: .6rem; background: var(--zp-light); color: var(--zp-ink); font-size: .9rem; font-weight: 500; }
.zp-pick__search:focus { outline: 0; background: #fff; border-color: var(--zp-orange); box-shadow: 0 0 0 3px rgba(var(--zp-orange-rgb), .25); }
.zp-pick__search::-webkit-search-cancel-button { cursor: pointer; }
.zp-pick__list { list-style: none; margin: 0; padding: 0; max-height: 15rem; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--zp-line) transparent; }
.zp-pick__opt { padding: .55rem .75rem; border-radius: .5rem; font-size: .95rem; font-weight: 500; color: var(--zp-ink); cursor: pointer; }
.zp-pick__opt.is-glavna { font-weight: 700; color: var(--zp-navy); }
.zp-pick__opt:hover, .zp-pick__opt.is-aktivna { background: var(--zp-red-soft); color: var(--zp-red-dark); }
.zp-pick__opt[aria-selected="true"] { background: var(--zp-navy); color: #fff; }
.zp-pick__opt.is-off { opacity: .4; cursor: not-allowed; }
.zp-pick__opt.is-off:hover { background: transparent; color: var(--zp-ink); }
.zp-pick__prazno { padding: .6rem .75rem; color: var(--zp-gray); font-size: .9rem; }
.zp-search .form-control:focus, .zp-search .form-select:focus { border-color: var(--zp-orange); background-color: #fff; box-shadow: 0 0 0 4px rgba(var(--zp-orange-rgb), .25); }
.zp-search .form-control::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .6; }
/* Polje za datum sa RentPicker kalendarom (zpcg.js): samo za čitanje, otvara kalendar */
.zp-search .form-control[readonly] { cursor: pointer; }
/* RentPicker 1.5.1 nema stil za fokus tastaturom */
/* Dvostruki prsten: bijeli se vidi na teget dugmetu "Izaberi" i zatamnjenoj pozadini, teget na svijetlom panelu */
.rp-backdrop button:focus-visible { outline: 2px solid #fff; outline-offset: 0; box-shadow: 0 0 0 4px var(--zp-navy); }

.zp-swap {
    width: 2.75rem; height: 2.75rem; margin-bottom: .25rem; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .1); color: #fff; display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background .2s, color .2s, transform .4s var(--zp-ease);
}
.zp-swap:hover { background: #fff; color: var(--zp-red); border-color: #fff; }
.zp-swap.is-spun { transform: rotate(180deg); }
.zp-search__datum { margin-bottom: 1.25rem; }
.zp-search__greska { margin: -.5rem 0 1rem; padding: .6rem .85rem; border-radius: var(--zp-radius-sm); background: #fff; color: var(--zp-red-dark); font-size: .85rem; font-weight: 600; }

@media (max-width: 575.98px) {
    .zp-search { padding: 1.4rem 1.2rem; }
}
/* Uska kartica (telefon, tablet uspravno do 767px, laptop 992–1399px gdje je
   kartica u polovini ekrana): dva polja jedno pored drugog bi bila ~200px i
   sjekla bi tekst "Odredišna stanica". Od/Do idu jedno ispod drugog, a dugme
   za zamjenu stoji u svojoj koloni desno, van polja. */
@media (max-width: 767.98px), (min-width: 992px) and (max-width: 1399.98px) {
    .zp-search__route { grid-template-columns: 1fr auto; gap: .6rem; align-items: center; }
    .zp-search__route > .zp-field:first-child { grid-column: 1; grid-row: 1; }
    .zp-search__route > .zp-field:last-child { grid-column: 1; grid-row: 2; }
    .zp-swap { grid-column: 2; grid-row: 1 / span 2; margin: 1.35rem 0 0; transform: rotate(90deg); }
    .zp-swap.is-spun { transform: rotate(270deg); }
}
/* Forma u desnoj koloni reda vožnje (28rem) je uska i preko 1400px: isti raspored Od/Do jedno ispod drugog */
@media (min-width: 1400px) {
    .zp-rv-pretraga .zp-search__route { grid-template-columns: 1fr auto; gap: .6rem; align-items: center; }
    .zp-rv-pretraga .zp-search__route > .zp-field:first-child { grid-column: 1; grid-row: 1; }
    .zp-rv-pretraga .zp-search__route > .zp-field:last-child { grid-column: 1; grid-row: 2; }
    .zp-rv-pretraga .zp-swap { grid-column: 2; grid-row: 1 / span 2; margin: 1.35rem 0 0; transform: rotate(90deg); }
    .zp-rv-pretraga .zp-swap.is-spun { transform: rotate(270deg); }
}

/* ─── Brzi linkovi (preklapaju dno hero-a) ─────────────────────────────── */
.zp-quick { position: relative; z-index: 2; margin-top: -4.5rem; }
.zp-quick__item {
    display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.35rem; height: 100%;
    background: #fff; border-radius: var(--zp-radius); box-shadow: var(--zp-shadow); text-decoration: none; color: var(--zp-ink);
    border: 1px solid rgba(15, 31, 61, .06); transition: transform .3s var(--zp-ease), box-shadow .3s var(--zp-ease);
}
.zp-quick__item:hover { transform: translateY(-4px); box-shadow: var(--zp-shadow-lg); color: var(--zp-ink); }
.zp-quick__icon { flex: 0 0 auto; width: 3rem; height: 3rem; border-radius: .9rem; background: var(--zp-red-soft); color: var(--zp-red); display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; transition: background .2s, color .2s; }
.zp-quick__item:hover .zp-quick__icon { background: var(--zp-red); color: #fff; }
.zp-quick__text { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.zp-quick__text strong { font-size: .95rem; color: var(--zp-navy); }
.zp-quick__text small { font-size: .8rem; color: var(--zp-gray); }
.zp-quick__arrow { margin-left: auto; color: var(--zp-gray); transition: transform .3s var(--zp-ease), color .2s; }
.zp-quick__item:hover .zp-quick__arrow { transform: translateX(4px); color: var(--zp-red); }
@media (max-width: 991.98px) { .zp-quick__item { padding: 1rem; } .zp-quick__arrow { display: none; } }
@media (max-width: 575.98px) { .zp-quick { margin-top: -3.5rem; } .zp-quick__icon { width: 2.5rem; height: 2.5rem; font-size: 1.1rem; } .zp-quick__text small { display: none; } }

/* ─── O nama ───────────────────────────────────────────────────────────── */
.zp-about { padding-top: 6rem; }
.zp-about__media { position: relative; }
.zp-about__img { width: 100%; height: auto; border-radius: var(--zp-radius); box-shadow: var(--zp-shadow-lg); display: block; }
.zp-about__media::before { content: ""; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem; border-radius: var(--zp-radius); background: var(--zp-red-soft); z-index: -1; }
.zp-about__badge {
    position: absolute; left: -1rem; bottom: 2rem; display: flex; align-items: center; gap: .9rem;
    background: var(--zp-navy); color: #fff; padding: 1rem 1.35rem; border-radius: 1rem; box-shadow: var(--zp-shadow-lg);
}
.zp-about__badge strong { font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--zp-orange); }
.zp-about__badge span { font-size: .8rem; line-height: 1.3; color: rgba(255, 255, 255, .8); }
@media (max-width: 991.98px) { .zp-about { padding-top: 5rem; } .zp-about__badge { left: 1rem; bottom: 1rem; } .zp-about__media { margin-bottom: 1rem; } }

.zp-checks { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .7rem; }
.zp-checks li { display: flex; align-items: flex-start; gap: .7rem; font-weight: 500; color: var(--zp-ink); }
.zp-checks .fe { color: var(--zp-red); font-size: 1.15rem; flex: 0 0 auto; margin-top: .1rem; }

/* ─── Kuda želite da putujete: fotografija + kartica sa direktnim relacijama ── */
.zp-direct { display: grid; grid-template-columns: 3fr 2fr; background: #fff; border: 1px solid var(--zp-line); border-radius: var(--zp-radius); overflow: hidden; box-shadow: var(--zp-shadow-lg); }
.zp-direct__media { position: relative; min-height: 22rem; }
.zp-direct__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.zp-direct__credit { position: absolute; left: .75rem; bottom: .6rem; padding: .2rem .55rem; border-radius: 999px; background: rgba(15, 31, 61, .55); color: rgba(255, 255, 255, .9); font-size: .7rem; line-height: 1.4; }
.zp-direct__card { display: flex; flex-direction: column; min-width: 0; padding: 2.25rem 2.5rem; }
.zp-direct__title { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--zp-navy); margin: 0 0 .35rem; }
.zp-direct__text { color: var(--zp-gray); margin: 0 0 1.25rem; }
/* Lista skroluje unutar kartice; visina panela je visina kartice, slika je prati */
.zp-direct__list { list-style: none; margin: 0; padding: 0 .5rem 0 0; max-height: 24rem; overflow-y: auto; display: grid; gap: .5rem; scrollbar-width: thin; scrollbar-color: var(--zp-line) transparent; }
.zp-direct__item {
    display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; border-radius: var(--zp-radius-sm);
    background: var(--zp-light); color: var(--zp-navy); font-weight: 700; text-decoration: none;
    transition: background .2s, color .2s, transform .25s var(--zp-ease);
}
.zp-direct__item:hover, .zp-direct__item:focus-visible { background: var(--zp-navy); color: #fff; transform: translateX(4px); }
.zp-direct__item:focus-visible { outline: 2px solid var(--zp-red-dark); outline-offset: 2px; }
.zp-direct__stations { flex: 1; min-width: 0; display: inline-flex; align-items: center; flex-wrap: wrap; gap: .4rem .5rem; }
.zp-direct__stations .fe { color: var(--zp-red); font-size: .9em; }
.zp-direct__item:hover .zp-direct__stations .fe, .zp-direct__item:focus-visible .zp-direct__stations .fe { color: var(--zp-orange); }
.zp-direct__type { flex: 0 0 auto; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; background: #fff; color: var(--zp-gray); }
.zp-direct__item--intl .zp-direct__type { background: var(--zp-red-soft); color: var(--zp-red-dark); }
.zp-direct__item:hover .zp-direct__type, .zp-direct__item:focus-visible .zp-direct__type { background: rgba(255, 255, 255, .16); color: #fff; }
.zp-direct__item > .fe-chevron-right { flex: 0 0 auto; color: var(--zp-gray); transition: transform .25s var(--zp-ease), color .2s; }
.zp-direct__item:hover > .fe-chevron-right, .zp-direct__item:focus-visible > .fe-chevron-right { color: #fff; transform: translateX(3px); }
@media (max-width: 991.98px) {
    .zp-direct { grid-template-columns: 1fr; }
    .zp-direct__media { min-height: 0; aspect-ratio: 16 / 9; }
    .zp-direct__card { padding: 1.5rem; }
    .zp-direct__list { max-height: 20rem; }
}
@media (max-width: 575.98px) {
    .zp-direct__type { display: none; }
    .zp-direct__item { padding: .75rem .85rem; }
}

/* ─── Lokalni / Međunarodni ───────────────────────────────────────────── */
.zp-service { background: #fff; border-radius: var(--zp-radius); padding: 2.25rem; height: 100%; border: 1px solid var(--zp-line); position: relative; }
.zp-service__icon { width: 3.5rem; height: 3.5rem; border-radius: 1rem; background: var(--zp-light); color: var(--zp-navy); display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.25rem; }
.zp-service--intl .zp-service__icon { color: var(--zp-red); background: var(--zp-red-soft); }
.zp-service h3 { font-size: 1.5rem; font-weight: 800; color: var(--zp-navy); letter-spacing: -.02em; }
.zp-service p { color: var(--zp-gray); line-height: 1.65; }
.zp-service__links { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .75rem; }
.zp-service__links a { display: inline-flex; align-items: center; gap: .45rem; color: var(--zp-ink); font-weight: 600; font-size: .9rem; text-decoration: none; }
.zp-service__links a .fe { color: var(--zp-red); font-size: .8rem; }
.zp-service__links a:hover { color: var(--zp-red); }
@media (max-width: 575.98px) { .zp-service { padding: 1.75rem 1.4rem; } .zp-service__links { grid-template-columns: 1fr; } }

/* ─── Kontakt centar baner ─────────────────────────────────────────────── */
.zp-promo { position: relative; overflow: hidden; background: linear-gradient(115deg, var(--zp-red) 0%, var(--zp-red-dark) 100%); color: #fff; padding: 4rem 0; }
.zp-promo::before, .zp-promo::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .12); pointer-events: none; }
.zp-promo::before { width: 28rem; height: 28rem; right: -8rem; top: -12rem; }
.zp-promo::after { width: 18rem; height: 18rem; right: 6rem; bottom: -10rem; }
.zp-promo__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; }
.zp-promo .zp-h2 { color: #fff; margin-bottom: .5rem; }
.zp-promo p { color: #fff; margin: 0; max-width: 34rem; }
.zp-promo__contact { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.zp-promo__phone { display: inline-flex; align-items: center; gap: .8rem; color: #fff; text-decoration: none; font-size: clamp(1.4rem, 1rem + 1.5vw, 2rem); font-weight: 800; letter-spacing: -.01em; }
.zp-promo__phone:hover { color: #fff; }
.zp-promo__phone .fe { width: 3rem; height: 3rem; border-radius: 50%; background: rgba(255, 255, 255, .16); display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.zp-promo .btn-zp--ghost { border-color: rgba(255, 255, 255, .7); }

/* ─── Kontakt stanice ──────────────────────────────────────────────────── */
.zp-station { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; background: #fff; border-radius: var(--zp-radius); border: 1px solid var(--zp-line); height: 100%; transition: transform .3s var(--zp-ease), box-shadow .3s var(--zp-ease); }
.zp-station:hover { transform: translateY(-4px); box-shadow: var(--zp-shadow); }
.zp-station__icon { width: 2.75rem; height: 2.75rem; border-radius: .85rem; background: var(--zp-navy); color: var(--zp-orange); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; flex: 0 0 auto; }
.zp-station strong { display: block; color: var(--zp-navy); font-size: 1rem; }
.zp-station a { color: var(--zp-gray); font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.zp-station a:hover { color: var(--zp-red); }

/* ─── Novosti ──────────────────────────────────────────────────────────── */
.zp-news { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--zp-radius); overflow: hidden; border: 1px solid var(--zp-line); transition: transform .3s var(--zp-ease), box-shadow .3s var(--zp-ease); }
.zp-news:hover { transform: translateY(-6px); box-shadow: var(--zp-shadow-lg); }
.zp-news__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--zp-light); }
.zp-news__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--zp-ease); }
.zp-news:hover .zp-news__media img { transform: scale(1.05); }
.zp-news__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; gap: .6rem; }
.zp-news__date { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700; color: var(--zp-red); letter-spacing: .06em; text-transform: uppercase; }
.zp-news h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.35; margin: 0; }
.zp-news h3 a { color: var(--zp-navy); text-decoration: none; }
.zp-news h3 a:hover { color: var(--zp-red); }
.zp-news p { color: var(--zp-gray); font-size: .93rem; line-height: 1.6; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.zp-news__more { margin-top: auto; padding-top: .75rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .875rem; color: var(--zp-navy); text-decoration: none; }
.zp-news__more .fe { transition: transform .3s var(--zp-ease); }
.zp-news__more:hover { color: var(--zp-red); }
.zp-news__more:hover .fe { transform: translateX(4px); }

/* ─── Zaglavlje podstrana ──────────────────────────────────────────────── */
.zp-phero { position: relative; background: var(--zp-navy); color: #fff; padding: 4rem 0; overflow: hidden; }
/* Visina zaglavlja raste sa ekranom: telefon 4rem, tablet 6rem, laptop 7.5rem, desktop 9rem */
@media (min-width: 768px) { .zp-phero { padding: 6rem 0; } }
@media (min-width: 992px) { .zp-phero { padding: 7.5rem 0; } }
@media (min-width: 1200px) { .zp-phero { padding: 9rem 0; } }
/* Fotografija voza (phero-voz.jpg, 1586×992) ispod teget preliva: jači lijevo gdje je tekst, slabiji desno gdje je voz. */
.zp-phero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 31, 61, .92) 0%, rgba(15, 31, 61, .78) 50%, rgba(15, 31, 61, .5) 100%), url(../img/phero-voz.jpg) center 55% / cover no-repeat; }
/* Uzak ekran: tekst ide preko cijele širine, pa je preliv ravnomjeran */
@media (max-width: 767.98px) { .zp-phero::before { background-image: linear-gradient(rgba(15, 31, 61, .86), rgba(15, 31, 61, .86)), url(../img/phero-voz.jpg); } }
/* Traka kao na vozu: narandžasta iznad crvene, dva ravna polja bez prelaza. */
.zp-phero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; border-top: 4px solid var(--zp-orange); border-bottom: 4px solid var(--zp-red); }
.zp-phero > .container { position: relative; }
.zp-phero__title { font-size: clamp(2rem, 1.4rem + 2.5vw, 3rem); font-weight: 800; letter-spacing: -.02em; color: #fff; margin: 0; }
.zp-phero__text { color: rgba(255, 255, 255, .75); font-size: 1.1rem; margin: 1rem 0 0; max-width: 36rem; }
.zp-phero__actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.zp-phero--404 { padding: 7rem 0; text-align: center; }
.zp-phero--404 .zp-phero__text { margin-left: auto; margin-right: auto; }
.zp-phero--404 .zp-phero__actions { justify-content: center; }
/* Putanja: stavke se ne lome iznutra — kad ne staje, cijela stavka (sa strelicom ispred) ide u novi red. */
.zp-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; font-size: .85rem; line-height: 1.5; color: rgba(255, 255, 255, .6); margin-bottom: 1rem; }
.zp-breadcrumb a { white-space: nowrap; }
/* strelica je dio stavke (::before), pa nikad ne ostaje sama na kraju reda; ikona iz HTML-a se sakriva */
.zp-breadcrumb > .fe { display: none; }
.zp-breadcrumb > a:not(:first-child)::before, .zp-breadcrumb > span::before { content: "›"; display: inline-block; margin-right: .5rem; opacity: .6; }
.zp-breadcrumb > span { white-space: normal; }
/* Veća površina za dodir (44px visine) bez pomjeranja reda: padding + negativna margina */
.zp-breadcrumb a { color: rgba(255, 255, 255, .8); text-decoration: none; padding: .75rem .25rem; margin: -.75rem -.25rem; }
.zp-breadcrumb a:hover { color: var(--zp-orange); }
.zp-breadcrumb .fe { font-size: .8rem; }

/* ─── Red vožnje: rezultati ────────────────────────────────────────────── */
.zp-rv__naslov { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--zp-navy); margin-bottom: 1.25rem; }
.zp-rv__napomena { margin: 1rem 0 0; color: var(--zp-gray); font-size: .9rem; }
.zp-rv__napomena--vrh { margin: 0 0 1rem; }
.zp-rv-pretraga { margin-top: 2.5rem; max-width: 40rem; }
/* Od 992px forma stoji desno od rezultata i prati skrol (header je sticky, ~4.25rem) */
@media (min-width: 992px) {
    .zp-rv { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: 3rem; align-items: start; }
    .zp-rv-pretraga { margin-top: 0; max-width: none; position: sticky; top: 5.5rem; }
    /* Kad lijevo iznad naslova stoje Prethodni/Sljedeći dan (2.75rem + 1.25rem), forma se spušta da naslovi budu u ravni */
    .zp-rv--dani .zp-rv-pretraga { padding-top: 4rem; }
}
/* Širi ekran: forma dobija širu kolonu (28rem), lista ostaje do 52rem */
@media (min-width: 1200px) { .zp-rv { grid-template-columns: minmax(0, 1fr) 28rem; } }
/* Na širokom ekranu kartice ne idu preko cijelog containera (1400px): čitljivije kao na tickets sajtu */
.zp-rv__glavno { max-width: 52rem; }
/* Jedan voz = jedna kartica: broj voza, polazak, linija sa trajanjem, dolazak | dugme */
.zp-rv-lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.zp-rv-voz { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.5rem 2rem; padding: 1.25rem 1.5rem; background: #fff; border: 1px solid var(--zp-line); border-radius: var(--zp-radius); box-shadow: var(--zp-shadow); }
.zp-rv-voz__broj { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; font-size: .85rem; font-weight: 600; color: var(--zp-gray); }
.zp-rv-voz__put { display: flex; align-items: center; gap: 1.25rem; }
.zp-rv-voz__tacka { display: flex; flex-direction: column; min-width: 4.5rem; }
.zp-rv-voz__vrijeme { font-size: 1.75rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--zp-navy); font-variant-numeric: tabular-nums; }
.zp-rv-voz__stanica { margin-top: .3rem; font-size: .9rem; color: var(--zp-gray); }
/* Crvena tačka, crta, trajanje, crta, strelica */
.zp-rv-voz__linija { flex: 1; min-width: 7rem; max-width: 16rem; display: flex; align-items: center; gap: .5rem; color: var(--zp-gray); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.zp-rv-voz__linija::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--zp-red); flex: 0 0 auto; }
.zp-rv-voz__crta { flex: 1; height: 2px; background: var(--zp-line); }
.zp-rv-voz__linija .fe { color: var(--zp-red); font-size: 1rem; }
.zp-rv-voz__akcija { display: flex; justify-content: flex-end; min-width: 9rem; }
.zp-rv-kupi-dugme { min-height: 2.75rem; }
.zp-rv-voz__status { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--zp-gray); text-align: right; }
.zp-rv-voz__prosao { display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0 1.25rem; border-radius: 999px; background: rgba(var(--zp-orange-rgb), .22); color: #7A4A00; font-size: .85rem; font-weight: 700; }
/* Voz koji je danas već krenuo: sve sivo */
.zp-rv-voz.is-otisao .zp-rv-voz__vrijeme, .zp-rv-voz.is-otisao .zp-rv-voz__linija .fe, .zp-rv-voz.is-otisao .zp-rv-voz__broj { color: var(--zp-gray); opacity: .7; }
.zp-rv-voz.is-otisao .zp-rv-voz__linija::before { background: var(--zp-gray); opacity: .7; }
/* zpcg.js: današnji vozovi koji su otišli su skriveni dok se ne klikne dugme iznad liste */
.zp-rv-lista--bez-proslih .zp-rv-voz.is-otisao { display: none; }
.zp-rv-prosli { display: flex; align-items: center; justify-content: center; gap: .4rem; width: 100%; min-height: 2.75rem; border: 0; border-radius: var(--zp-radius-sm); background: var(--zp-light); color: var(--zp-navy); font-weight: 700; font-size: .85rem; cursor: pointer; transition: background .2s, color .2s; }
.zp-rv-prosli:hover { background: var(--zp-red-soft); color: var(--zp-red-dark); }
/* Prethodni / sljedeći dan iznad liste */
.zp-rv-dani { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.zp-rv-dani__link { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.75rem; padding: 0 1rem; border: 1px solid var(--zp-line); border-radius: 999px; background: #fff; color: var(--zp-navy); font-weight: 700; font-size: .9rem; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.zp-rv-dani__link:hover { background: var(--zp-red-soft); border-color: var(--zp-red-soft); color: var(--zp-red-dark); text-decoration: none; }
.zp-rv-dani__link--sljedeci { margin-left: auto; }
.zp-rv-oznaka { display: inline-block; padding: .25rem .6rem; border-radius: 999px; background: var(--zp-red-soft); color: var(--zp-red-dark); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.zp-rv-poruka { padding: 1.25rem 1.5rem; border-radius: var(--zp-radius-sm); background: var(--zp-light); border: 1px solid var(--zp-line); color: var(--zp-ink); }
.zp-rv-poruka p { margin: 0; }
.zp-rv-poruka--greska { background: var(--zp-red-soft); border-color: rgba(var(--zp-red-rgb), .25); }
/* Tablet i telefon: dugme ide u drugi red, ispod vremena */
@media (max-width: 991.98px) {
    .zp-rv-voz { grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 1.5rem; }
    .zp-rv-voz__info { grid-column: 1 / -1; }
    .zp-rv-voz__akcija { min-width: 0; }
}
@media (max-width: 575.98px) {
    .zp-rv-voz { padding: 1rem 1.1rem; }
    .zp-rv-voz__vrijeme { font-size: 1.4rem; }
    .zp-rv-voz__put { gap: .75rem; }
    .zp-rv-voz__tacka { min-width: 3.5rem; }
    .zp-rv-voz__linija { min-width: 4.5rem; font-size: .72rem; gap: .35rem; }
    /* Dugme preko cijele širine kartice umjesto stisnuto desno; oznake Otišao / Prodaja zatvorena na sredini */
    .zp-rv-voz__akcija { grid-column: 1 / -1; justify-content: center; }
    .zp-rv-kupi-dugme { width: 100%; padding: .6rem .9rem; }
    .zp-rv-oznaka { padding: .2rem .5rem; font-size: .65rem; letter-spacing: .04em; }
}

/* ─── Sadržaj iz CMS-a (clanaktext) ────────────────────────────────────── */
.zp-content { font-size: 1.05rem; line-height: 1.75; color: var(--zp-ink); }
.zp-content p { margin-bottom: 1.1rem; }
/* !important jer clanaktext() naslovima daje .fw-bold, a u Landkit temi je to 600 !important; HKGroteskPro ima i 700 */
.zp-content h2, .zp-content h3, .zp-content h4 { color: var(--zp-navy); letter-spacing: -.01em; font-weight: 700 !important; }
.zp-content h2 { font-size: 1.6rem; margin: 2rem 0 .9rem !important; }
.zp-content h3 { font-size: 1.3rem; margin: 1.6rem 0 .7rem; }
.zp-content ul, .zp-content ol { padding-left: 1.4rem; margin-bottom: 1.1rem; }
.zp-content li { margin-bottom: .35rem; }
/* Linkovi u sadržaju iz CMS-a: podvučeni i podebljani, da se jasno vide kao linkovi ("ovdje", "here", dokumenti). */
.zp-content a { color: var(--zp-red); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; text-decoration-color: rgba(var(--zp-red-rgb), .45); }
.zp-content a:hover { color: var(--zp-red-dark); text-decoration-color: currentColor; }
.zp-content img { max-width: 100%; height: auto; border-radius: var(--zp-radius-sm); }
.zp-content .table-responsive { margin: 1.25rem 0 1.75rem; border-radius: var(--zp-radius-sm); overflow: auto; }
.zp-content table { margin: 0; font-size: .95rem; }
.zp-content table th { background: var(--zp-navy); color: #fff; font-weight: 700; white-space: nowrap; }
.zp-content table td, .zp-content table th { padding: .7rem .9rem; vertical-align: top; }
.zp-content .btn-fskl-primary { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1.1rem; border-radius: 999px; background: var(--zp-navy); color: #fff; font-weight: 700; font-size: .85rem; text-decoration: none; }
.zp-content .btn-fskl-primary:hover { background: var(--zp-red); color: #fff; }
.zp-content blockquote { border-left: 4px solid var(--zp-red); padding-left: 1.25rem; color: var(--zp-gray); }
.zp-content__slika { width: 100%; height: auto; border-radius: var(--zp-radius); margin-bottom: 1.75rem; display: block; }
/* Naslovna slika vijesti: fiksan kadar 16:9 s gornjom granicom visine, slika se kropuje umjesto da se rasteže (uspravne i male slike). */
.zp-content__slika--vijest { aspect-ratio: 16 / 9; max-height: 460px; object-fit: cover; object-position: center; background: var(--zp-light); }
@media (max-width: 767.98px) { .zp-content__slika--vijest { max-height: 260px; } }
.zp-content__galerija { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--zp-radius-sm); }
/* Slajder od uzastopnih slika iz teksta vijesti (zp_cms_galerija_html): jedna slika po slajdu, kadar 16:9, tačke u boji brenda. */
.zp-galerija { margin-top: 2rem; border-radius: var(--zp-radius); overflow: hidden; background: var(--zp-light); }
.zp-galerija__slajd { width: 100%; margin: 0; }
.zp-galerija__slika { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
.zp-galerija__opis { padding: .6rem 1rem; font-size: .85rem; color: var(--zp-gray); text-align: center; }
.zp-galerija .flickity-page-dots { bottom: .75rem; }
.zp-galerija .flickity-page-dot { background: #fff; opacity: .6; }
.zp-galerija .flickity-page-dot.is-selected { background: var(--zp-red); opacity: 1; }
.zp-galerija .flickity-button { background: rgba(255, 255, 255, .9); color: var(--zp-navy); }
.zp-galerija .flickity-button:hover { background: var(--zp-red); color: #fff; }
/* Landkit centrira strelice na ivici (vise van okvira); ovdje je okvir odsječen, pa strelice idu unutra */
.zp-galerija .flickity-prev-next-button { width: 44px; height: 44px; transform: translateY(-50%); }
.zp-galerija .flickity-prev-next-button.previous { left: 1rem; right: auto; }
.zp-galerija .flickity-prev-next-button.next { right: 1rem; left: auto; }
@media (max-width: 767.98px) { .zp-galerija .flickity-prev-next-button { width: 34px; height: 34px; } }
.zp-phero__date { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--zp-orange); margin-bottom: .75rem; }

/* Kartice podstrana na glavnoj strani */
.zp-sub {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 100%;
    padding: 1.25rem 1.4rem; background: #fff; border: 1px solid var(--zp-line); border-radius: var(--zp-radius);
    color: var(--zp-navy); font-weight: 700; text-decoration: none; transition: transform .3s var(--zp-ease), box-shadow .3s var(--zp-ease), color .2s;
}
.zp-sub:hover { transform: translateY(-4px); box-shadow: var(--zp-shadow); color: var(--zp-red); text-decoration: none; }
.zp-sub .fe { color: var(--zp-red); flex: 0 0 auto; transition: transform .3s var(--zp-ease); }
.zp-sub:hover .fe { transform: translateX(4px); }

/* Bočna navigacija podstrana */
.zp-side { position: sticky; top: 6rem; background: var(--zp-light); border-radius: var(--zp-radius); padding: 1.5rem; }
.zp-side__title { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--zp-gray); margin-bottom: 1rem; }
.zp-side__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.zp-side__list a { display: block; padding: .55rem .8rem; border-radius: .6rem; color: var(--zp-ink); font-weight: 500; font-size: .95rem; text-decoration: none; }
.zp-side__list a:hover { background: #fff; color: var(--zp-red); text-decoration: none; }
.zp-side__list a.is-active { background: var(--zp-navy); color: #fff; font-weight: 700; }

/* Bočni pregled podstrana: uvijek desno (col-md-3 + offset), lijepi se uz vrh, ne prelazi visinu ekrana.
   Sadržaj (col-md-8) mora smjeti da se skupi ispod širine tabela, inače aside pada ispod teksta. */
.zp-content { min-width: 0; }
.zp-aside { position: sticky; top: 6rem; align-self: flex-start; max-height: calc(100vh - 7rem); overflow-y: auto; }
.zp-aside .zp-side { position: static; }
/* zpcg.js dodaje kad meni + baner ne staju u ekran: kolona teče sa stranom umjesto unutrašnjeg skrola */
.zp-aside--static { position: static; max-height: none; overflow: visible; }

/* Online kupovina karata (tickets-zpcg.me): dugme u headeru, vrh mobilnog menija, linija ispod pretrage, bočna kartica. */
.zp-header__desno { display: flex; align-items: center; gap: .75rem; justify-self: end; }
.zp-header__karte { gap: .45rem; white-space: nowrap; }
.zp-header__karte .fe { font-size: 1rem; }
.zp-offcanvas__karte { margin-top: 1.25rem; justify-content: center; gap: .5rem; }
/* bočna kartica: samo ikona + dugme (bez teksta) */
.zp-karte { background: var(--zp-navy); border-radius: var(--zp-radius); padding: .9rem; margin-top: 1rem; display: flex; align-items: center; gap: .75rem; }
.zp-karte__ikona { flex: 0 0 auto; width: 2.5rem; height: 2.5rem; border-radius: .75rem; background: rgba(255, 255, 255, .12); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.zp-karte__dugme { flex: 1; justify-content: center; gap: .5rem; padding-left: .75rem; padding-right: .75rem; white-space: nowrap; }

.zp-footer__box a.zp-footer__app { display: inline-flex; align-items: center; gap: .35rem; }

/* Tabele iz CMS-a na mobilnom (zpcg.js dodaje data-label iz zaglavlja): red = kartica, ćelija = "naziv kolone: vrijednost". */
@media (max-width: 767.98px) {
    .zp-content .table-responsive { overflow: visible; }
    .zp-content table.zp-tabela, .zp-content table.zp-tabela tbody, .zp-content table.zp-tabela tr, .zp-content table.zp-tabela td { display: block; width: 100%; }
    .zp-content table.zp-tabela thead { display: none; }
    .zp-content table.zp-tabela tr { background: #fff; border: 1px solid var(--zp-line) !important; border-radius: var(--zp-radius-sm); padding: .35rem .9rem; margin-bottom: .75rem; }
    .zp-content table.zp-tabela td { display: grid; grid-template-columns: 7.5rem 1fr; gap: .5rem; align-items: start; padding: .5rem 0; border: 0 !important; border-bottom: 1px solid var(--zp-line) !important; background: transparent !important; }
    .zp-content table.zp-tabela td:last-child { border-bottom: 0 !important; }
    .zp-content table.zp-tabela td::before { content: attr(data-label); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--zp-gray); padding-top: .15rem; }
    .zp-content table.zp-tabela td:first-child { font-weight: 700; color: var(--zp-navy); }
}

/* Kontakt kartice iz liste "Mjesto: telefon" (zp_cms_kontakt_lista): mjesto gore, telefoni dolje, ikone ispred. */
.zp-content .zp-kontakti { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .9rem; margin: 1.25rem 0 1.5rem; }
.zp-content .zp-kontakt { background: #fff; border: 1px solid var(--zp-line); border-radius: var(--zp-radius-sm); padding: 1rem 1.15rem; display: grid; gap: .45rem; }
.zp-content--kratko .zp-kontakt { border-color: transparent; box-shadow: 0 1px 2px rgba(15, 23, 42, .06); }
.zp-content .zp-kontakt__mjesto { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--zp-navy); font-size: 1.05rem; }
.zp-content .zp-kontakt__mjesto .fe { color: var(--zp-red); }
.zp-content .zp-kontakt__tel { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .5rem; font-size: .95rem; color: var(--zp-gray); }
.zp-content .zp-kontakt__tel .fe { color: var(--zp-red); }
.zp-content .zp-kontakt__tel a { color: var(--zp-ink); font-weight: 600; white-space: nowrap; text-decoration: none; }
.zp-content .zp-kontakt__tel a:hover { color: var(--zp-red); }
.zp-content .zp-kontakt__sep { color: var(--zp-line); }

/* Kratak sadržaj podstrane: kutija u stilu bočnog menija, popunjava visinu reda, veća slova. */
.zp-content--kratko { flex: 1 1 auto; background: var(--zp-light); border-radius: var(--zp-radius); padding: 2rem 2.25rem; font-size: 1.15rem; }
.zp-content--kratko > :last-child { margin-bottom: 0; }
.zp-content--kratko ul, .zp-content--kratko ol { padding-left: 1.25rem; }
.zp-content--kratko li { margin-bottom: .6rem; }
@media (max-width: 767.98px) { .zp-content--kratko { padding: 1.5rem 1.25rem; font-size: 1.05rem; } }

/* Paginacija */
.zp-pager { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 3rem; }
.zp-pager a { min-width: 2.5rem; height: 2.5rem; padding: 0 .75rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--zp-line); color: var(--zp-navy); font-weight: 700; text-decoration: none; }
.zp-pager a:hover { background: var(--zp-red-soft); color: var(--zp-red-dark); text-decoration: none; }
.zp-pager a.is-active { background: var(--zp-navy); border-color: var(--zp-navy); color: #fff; }
.zp-pager__tacke { min-width: 2.5rem; height: 2.5rem; display: inline-flex; align-items: center; justify-content: center; color: var(--zp-gray); }
.zp-pager__strelica { font-size: 1.1rem; }

/* ─── Footer ───────────────────────────────────────────────────────────── */
.zp-footer { background: #0B1730; color: rgba(255, 255, 255, .72); padding: 4.5rem 0 0; font-size: .93rem; }
.zp-footer__logo { display: inline-block; margin-bottom: 1.25rem; padding: .6rem .9rem; background: #fff; border-radius: .6rem; }
.zp-footer__logo img { height: 26px; width: auto; display: block; }
.zp-footer__about { line-height: 1.7; max-width: 22rem; }
.zp-footer__heading { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1.25rem; }
.zp-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.zp-footer__list a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.zp-footer__list a:hover { color: var(--zp-orange); }
.zp-footer__list--stanice li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; white-space: nowrap; padding-bottom: .55rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.zp-footer__list--stanice li:last-child { border-bottom: 0; padding-bottom: 0; }
.zp-footer__list--stanice span { color: #fff; font-weight: 600; }
.zp-footer__contact { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .6rem; }
.zp-footer__contact li { display: flex; align-items: flex-start; gap: .65rem; }
.zp-footer__contact .fe { color: var(--zp-orange); margin-top: .15rem; }
.zp-footer__contact a { color: inherit; text-decoration: none; }
.zp-footer__contact a:hover { color: #fff; }
.zp-footer__box { display: flex; align-items: flex-start; gap: .85rem; padding: 1rem; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--zp-radius-sm); margin-bottom: .75rem; }
.zp-footer__box .fe { color: var(--zp-orange); font-size: 1.2rem; margin-top: .1rem; }
.zp-footer__box strong { display: block; color: #fff; }
/* Telefon i kupovina: visina dodira 44px */
.zp-footer__box a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 2.75rem; }
.zp-footer__box a:hover { color: #fff; }
/* Dno footera: copyright pa Minmedia M logo, oboje centrirano, jedno ispod drugog. */
.zp-footer__bottom { margin-top: 3.5rem; padding: 1.5rem 0 1.75rem; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.1rem; font-size: .85rem; }
.zp-footer__pravno { margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .6); display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.zp-footer__pravno a { color: inherit; text-decoration: underline; text-underline-offset: .18em; }
.zp-footer__pravno a:hover { color: #fff; }
.zp-footer__bottom p { margin: 0; }
.zp-footer__minmedia { display: inline-flex; border-radius: 50%; opacity: .85; transition: opacity .2s, transform .2s; }
.zp-footer__minmedia:hover { opacity: 1; transform: scale(1.06); }
.zp-footer__minmedia img { display: block; width: 36px; height: 36px; }
