/* Platno 16:9 sa slajdom i onim što je pokrenuto preko njega. Sve se mjeri prema širini platna. */
.platno { position: relative; container-type: inline-size; aspect-ratio: 16/9; width: 100%; border-radius: 18px; overflow: hidden; background: #fff; color: var(--mor); font-family: var(--slova); }
.slajd { position: absolute; inset: 0; display: grid; align-content: center; gap: 2.6cqw; padding: 7cqw; background: #fff center/cover; }
.slajd > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.slajd h2 { font-size: 6.4cqw; line-height: 1.06; letter-spacing: -.02em; max-width: 13em; text-wrap: balance; }
.slajd p { font-size: 2.7cqw; line-height: 1.42; max-width: 30em; white-space: pre-line; }
.slajd.foto { align-content: end; color: #fff; }
.slajd.foto::before { content: ""; position: absolute; inset: 0; background: linear-gradient(#0d112010 20%, #0d1120ee 82%); }
.slajd.foto > * { position: relative; }
.slajd.tamni { background-color: var(--pl); color: var(--na-pl); }
.preko { position: absolute; inset: 0; display: grid; align-content: center; gap: 2.4cqw; padding: 5.5cqw; background: var(--pl) center/cover; background-image: var(--pozadina, radial-gradient(90% 120% at 20% 0, var(--sjaj), transparent)); color: var(--na-pl); animation: otkrij .4s; }
.tamno { position: absolute; inset: 0; z-index: 6; background: #000; animation: otkrij .5s; } .uzivo .tamno { opacity: .82; }
.preko h2 { font-size: 4.4cqw; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
.preko > p, .preko div > p { font-size: 2.3cqw; line-height: 1.4; white-space: pre-line; }
.preko .odg { gap: 1.1cqw; }
.preko .odg li { padding: 1.2cqw 1.8cqw; border-radius: var(--kut-platno, 1.6cqw); background: color-mix(in srgb, var(--na-pl) 9%, transparent); font-size: 2.4cqw; }
.preko .odg li::before { background: var(--stupac); } .preko .odg li.tocno::before { background: var(--zelena); }
/* Puno odgovora: zbijeno, da ispod ostane mjesta za adresu. */
.preko:has(.odg li:nth-child(5)) { gap: 1.5cqw; padding-block: 2.5cqw 6.5cqw; } .preko:has(.odg li:nth-child(5)) h2 { font-size: 3.6cqw; }
.preko .odg:has(li:nth-child(5)) { gap: .7cqw; } .preko .odg:has(li:nth-child(5)) li { padding-block: .7cqw; }
.preko .odg:has(li:nth-child(7)) { gap: .5cqw; } .preko .odg:has(li:nth-child(7)) li { padding-block: .4cqw; font-size: 2cqw; }
.preko .rijeci { font-size: 2.6cqw; max-height: 34cqw; overflow: hidden; }
.preko.sat { justify-items: center; text-align: center; }
.preko.sat b { font-size: 18cqw; font-weight: 200; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.preko.veza { grid-template-columns: 1fr 27cqw; align-items: center; gap: 4cqw; }
.preko.veza img { width: 100%; border-radius: 1.4cqw; }
.preko.dobitnik { justify-items: center; text-align: center; } .preko.dobitnik b { font-size: 9cqw; line-height: 1.1; }
.kut { position: absolute; right: 1.6cqw; top: 1.6cqw; z-index: 2; padding: .9cqw 1.7cqw; border: 0; border-radius: 3cqw; background: color-mix(in srgb, var(--pl) 85%, transparent); color: var(--na-pl); font-size: max(13px, 1.7cqw); font-weight: 600; font-variant-numeric: tabular-nums; }
.vijest, .javno-pitanje { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 1.8cqw 3cqw; background: var(--nar); color: var(--na-nar, var(--mor)); font-size: max(15px, 2.6cqw); line-height: 1.3; font-weight: 800; }
.javno-pitanje { background: var(--plava); color: var(--mor); } .javno-pitanje small { display: block; font-size: .75em; font-weight: 600; }
.ekran-dijeli { position: absolute; inset: 0; background: #000; } .ekran-dijeli:not(:has(video)) { display: none; } .ekran-dijeli video { width: 100%; height: 100%; object-fit: contain; display: block; }
.s-interneta { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }

/* Projektor */
body.projektor { background: #000; overflow: hidden; }
.projektor .platno { position: fixed; inset: 0; margin: auto; width: min(100vw, 177.78vh); border-radius: 0; }
.cekaonica { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 27cqw; gap: 5cqw; align-items: center; padding: 6cqw; background: var(--pl) center/cover; background-image: var(--pozadina, radial-gradient(90% 120% at 20% 0, var(--sjaj), transparent)); color: var(--na-pl); }
.cekaonica h1 { font-size: 6.2cqw; letter-spacing: -.03em; } .cekaonica p { font-size: 2.2cqw; } .cekaonica .kada { display: none; } .cekaonica .kod { font-size: 3cqw; font-weight: 800; }
.cekaonica > div { display: grid; gap: 2.2cqw; } .cekaonica .redom { font-size: 1.9cqw; display: grid; grid-template-columns: auto 1fr; gap: .8cqw 1.4cqw; } .cekaonica .redom li { display: contents; }
.cekaonica.s-programom { padding-block: 3cqw; } .s-programom h1 { font-size: 4.4cqw; } .s-programom > div { gap: 1.5cqw; }
.cekaonica img { width: 100%; border-radius: var(--kut-platno, 1.4cqw); }
.bez-veze { position: fixed; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 8px; background: var(--crvena); color: #fff; font-size: 15px; z-index: 9; }
@container (max-width: 520px) { .slajd { padding: 5cqw; } .slajd h2 { font-size: 7cqw; } .slajd p { font-size: 3.9cqw; } }
.kamo { position: absolute; right: 3cqw; bottom: 2cqw; font-size: 2cqw; font-weight: 700; color: var(--na-pl); opacity: .82; }
.redom b { white-space: nowrap; }
.pomoc-tipke { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 9; }
