/* Izgled općih dijelova slajda: zaglavlje, tekst, tablice, kartice, fotografije */
.nadnaslov { margin: 0 0 18px; font-size: 20px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--label); }
.nadnaslov::before { content: ""; display: inline-block; width: 44px; height: 4px; margin: 0 16px 6px 0; border-radius: 2px; background: var(--accent); vertical-align: middle; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: 62px; line-height: 1.06; font-weight: 800; color: var(--green); letter-spacing: -.01em; max-width: 1500px; }
.zaglavlje { margin-bottom: 34px; }
.uvod, .tekst p { font-size: 28px; line-height: 1.42; color: var(--body); max-width: 1380px; }
.tekst p + p { margin-top: 16px; }
.uvod { margin-bottom: 34px; }

.dva-stupca { display: grid; gap: 64px; height: 100%; align-items: start; }

/* fotografije i karte */
.foto, .karta { position: relative; margin: 0; overflow: hidden; border-radius: 10px; background: var(--tint); cursor: zoom-in; }
.foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.foto figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 16px 12px; font-size: 18px; line-height: 1.25; font-weight: 500; color: #fff; background: linear-gradient(transparent, rgba(20,32,26,.82)); }
.karta { border: 1px solid var(--line); }
.karta img { display: block; width: 100%; }

/* ocjena iz semafora i broj rute */
.ocjena { display: inline-block; padding: 6px 18px; border-radius: 999px; font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.ocjena-zelena { background: var(--zelena); color: var(--zelena-tekst); }
.ocjena-zuta { background: var(--zuta); color: var(--zuta-tekst); }
.ocjena-crvena { background: var(--crvena); color: var(--crvena-tekst); }
.broj-rute { display: inline-block; width: 1.3em; height: 1.3em; margin-right: .45em; border-radius: 50%; color: #fff; font-size: .78em; font-weight: 800; line-height: 1.3em; text-align: center; vertical-align: .08em; }

/* naslovnica */
.tip-naslov { padding: 0; }
.naslovna-tekst { position: absolute; left: 0; top: 0; bottom: 0; width: 860px; box-sizing: border-box; padding: 96px 80px 96px 96px; display: flex; flex-direction: column; justify-content: center; background: var(--paper); }
.naslovna-tekst .logo { position: absolute; left: 96px; top: 80px; width: 250px; }
.naslovna-tekst h1 { font-size: 104px; line-height: .98; font-weight: 800; color: var(--green); letter-spacing: -.02em; }
.naslovna-tekst .podnaslov { margin-top: 30px; font-size: 36px; line-height: 1.3; color: var(--body); }
.naslovna-tekst .potpis { position: absolute; left: 96px; bottom: 80px; font-size: 22px; color: var(--label); letter-spacing: .04em; }
.naslovna-slika { position: absolute; left: 860px; right: 0; top: 0; bottom: 0; background-size: cover; background-position: center; }
.naslovna-slika::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: var(--accent); }

/* brojke i pregledna karta */
.stupci-brojke { grid-template-columns: 1fr 880px; }
.karta-kvadrat { align-self: center; }
.brojke { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 44px; }
.brojke div { padding: 22px 0; border-top: 2px solid var(--line); }
.brojke b { display: block; font-size: 92px; line-height: 1; font-weight: 800; color: var(--green); font-variant-numeric: tabular-nums; }
.brojke span { display: block; margin-top: 8px; font-size: 24px; color: var(--soft); }

/* tablice */
.tablica { width: 100%; border-collapse: collapse; font-size: 27px; line-height: 1.3; }
.tablica thead th { padding: 0 20px 14px; text-align: left; font-size: 19px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--label); border-bottom: 3px solid var(--ink); }
.tablica tbody th, .tablica td { padding: 20px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.tablica tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; }
.tablica td { color: var(--body); }
.tablica tr.razlika td, .tablica tr.razlika th { background: #fdf5e6; }
.tablica tr.razlika td { font-weight: 700; color: var(--ink); }
.napomene { margin-top: 30px; }
.napomene p { font-size: 24px; line-height: 1.4; color: var(--soft); max-width: 1500px; }
.napomene p + p { margin-top: 8px; }
.napomene .jako { font-size: 30px; font-weight: 700; color: var(--green); }

.tablica-visina td { font-variant-numeric: tabular-nums; }
.tablica-visina .uspon b { display: inline-block; width: 110px; color: var(--ink); }
.tablica-visina .uspon i { display: inline-block; height: 16px; border-radius: 8px; background: var(--green); vertical-align: middle; }
.tablica-visina tr.razlika .uspon i { background: var(--accent); }
.tablica-visina tbody th, .tablica-visina td { padding-top: 16px; padding-bottom: 16px; }
.tablica-semafor { font-size: 25px; }
.tablica-semafor tbody th, .tablica-semafor td { padding-top: 21px; padding-bottom: 21px; }
.tablica-semafor td:nth-child(4), .tablica-semafor thead th { white-space: nowrap; }
.tip-semafor h2 { font-size: 50px; }

/* kartice s primjerima */
.kartice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.kartice article { padding: 28px 30px 30px; border-radius: 12px; background: var(--tint); border-top: 5px solid var(--accent); min-height: 230px; }
.kartice .izvor { margin-bottom: 14px; font-size: 18px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--label); }
.kartice p { font-size: 29px; line-height: 1.34; color: var(--ink); }
.istaknuto { margin-top: 36px; font-size: 38px; font-weight: 800; color: var(--green); }

/* putokazi */
.stupci-putokazi { grid-template-columns: 1fr 700px; }
.trake { margin-top: 34px; }
.traka { display: grid; grid-template-columns: 330px 1fr; align-items: center; gap: 18px; margin-bottom: 12px; font-size: 24px; }
.traka .ime { font-weight: 700; white-space: nowrap; }
.traka small { display: block; margin-left: 2.1em; font-size: 16px; font-weight: 400; color: var(--soft); }
.traka .crta { display: flex; height: 40px; border-radius: 6px; overflow: hidden; }
.traka .crta i { min-width: 30px; font-style: normal; font-size: 20px; font-weight: 800; line-height: 40px; text-align: center; color: #fff; }
.uredno { background: var(--green); }
.nema { background: var(--accent); color: var(--ink) !important; }
.ostalo { background: #8C3A2B; }
.legenda { display: flex; gap: 30px; margin-top: 20px; font-size: 20px; color: var(--soft); }
.legenda i { display: inline-block; width: 18px; height: 18px; margin-right: 9px; border-radius: 4px; vertical-align: -3px; }
.foto-slog { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 452px 452px; gap: 16px; }
.foto-slog .foto:first-child { grid-row: 1 / 3; }

/* pregled dokumenta */
.stupci-pregled { grid-template-columns: 400px 1fr 360px; gap: 48px; height: auto; }
.poglavlja { margin: 0; padding: 0; list-style: none; counter-reset: p; }
.poglavlja li { counter-increment: p; padding: 19px 0; border-bottom: 1px solid var(--line); font-size: 25px; color: var(--soft); }
.poglavlja li::before { content: counter(p); display: inline-block; width: 44px; font-weight: 800; color: var(--label); font-variant-numeric: tabular-nums; }
.poglavlja li.glavno { color: var(--green); font-weight: 800; }
.poglavlja li.glavno::before { color: var(--accent); }
.plocice { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.plocice article { padding: 32px 32px 36px; border-radius: 12px; background: var(--tint); }
.plocice h3 { margin-bottom: 14px; font-size: 30px; font-weight: 800; color: var(--green); }
.plocice p { font-size: 26px; line-height: 1.38; color: var(--body); }
.stupci-pregled .foto { height: 700px; }

/* koraci i prijedlozi tragova */
.stupci-koraci { grid-template-columns: 1fr 820px; }
.koraci { margin: 0; padding: 0; list-style: none; counter-reset: k; }
.koraci li { counter-increment: k; display: grid; grid-template-columns: 64px 1fr; align-items: center; padding: 19px 0; border-bottom: 1px solid var(--line); font-size: 29px; line-height: 1.28; color: var(--ink); }
.koraci li::before { content: counter(k); width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; font-size: 24px; font-weight: 800; line-height: 46px; text-align: center; }
.karte-mreza { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.karte-mreza p { margin-top: 8px; font-size: 21px; font-weight: 700; color: var(--ink); }
.stupci-koraci > div:last-child { padding-top: 6px; }
.zavrsna { margin-top: 40px; font-size: 30px; line-height: 1.32; font-weight: 700; color: var(--green); max-width: 860px; }
