/* Raspored stranica teme (mobitel i desktop). Boje, fontovi i komponente dolaze iz app.css (skinovi A/B/C). */

body.tzr-site { background: var(--bg); color: var(--ink); }
.tzr-site .wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 18px; }
.tzr-site .wrap.narrow { max-width: 760px; }
.tzr-site .site-main { padding-bottom: 96px; min-height: 60vh; }
.tzr-site .center { text-align: center; }

/* pristupačnost */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 2000; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }
.tzr-site :focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* zaglavlje */
.site-head { position: sticky; top: 0; z-index: 800; background: var(--tab-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.site-head .brand img { height: 38px; width: auto; display: block; }
.site-head .mainnav { display: none; margin-left: auto; }
.site-head .mainnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-head .mainnav a { display: block; padding: 10px 12px; border-radius: 99px; font: 600 14px var(--body); color: var(--ink); text-decoration: none; }
.site-head .mainnav a:hover, .site-head .mainnav .current-menu-item a { background: var(--surface); }
.site-head .lang { margin-left: auto; display: flex; gap: 2px; font: 600 12px var(--body); }
.site-head .lang a { padding: 6px 8px; border-radius: 99px; color: var(--ink2); text-decoration: none; }
.site-head .lang a.on { background: var(--ink); color: var(--bg); }
.home .site-head.over, .site-head.over { position: absolute; left: 0; right: 0; background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-head.over .brand img { filter: brightness(0) invert(1); }
.site-head.over .mainnav a, .site-head.over .lang a { color: #fff; }
.site-head.over .lang a.on { background: rgba(255, 255, 255, .25); color: #fff; }
.site-head.over .mainnav a:hover { background: rgba(255, 255, 255, .18); }
[data-skin="b"] .site-head.over { position: sticky; background: var(--tab-bg); border-bottom: 1px solid var(--line); }
[data-skin="b"] .site-head.over .brand img { filter: none; }
[data-skin="b"] .site-head.over .mainnav a, [data-skin="b"] .site-head.over .lang a { color: var(--ink); }

/* naslovnica */
.tzr-site .hero-media video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.tzr-site .sec { padding-top: 40px; }
.tzr-site .cta-guide, .tzr-site .band, .tzr-site .fact { margin-left: 0; margin-right: 0; }
.tzr-site .band { margin-top: 34px; }

/* kartice */
.card-grid { display: grid; gap: 16px; }
.pl-card { position: relative; }
.pl-card .ph { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.pl-card .ph img, .pl-card .ph .ph-empty { width: 100%; height: 100%; object-fit: cover; }
.pl-card h3 a { color: inherit; text-decoration: none; }
.pl-card .sum { font-size: 14px; line-height: 1.45; color: var(--ink2); margin-top: 6px; }
.pl-card > .save { position: absolute; top: 10px; right: 10px; background: rgba(255, 255, 255, .92); }
.news-grid { display: grid; gap: 18px; }
.news-card .ph { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r); }
.news-card .ph img, .news-card .ph .ph-empty { width: 100%; height: 100%; object-fit: cover; }
.news-card time { display: block; font: 600 12px var(--body); color: var(--accent); margin: 10px 0 4px; text-transform: uppercase; letter-spacing: .08em; }
.news-card h3 { font-size: 20px; }
.news-card h3 a { color: inherit; text-decoration: none; }
.news-card p { font-size: 14px; color: var(--ink2); line-height: 1.5; margin-top: 6px; }

/* pojedinačni sadržaj */
.tzr-single .dt-hero { height: 52vh; min-height: 320px; max-height: 620px; position: relative; }
.tzr-single .dt-hero img, .tzr-single .dt-hero .ph-empty { width: 100%; height: 100%; object-fit: cover; display: block; }
.single-grid { display: grid; gap: 20px; }
.single-main.dt-body { margin-top: -26px; }
.single-aside .aside-box { background: var(--surface); border-radius: var(--r-lg); padding: 18px; }
.single-aside .dt-meta { list-style: none; display: grid; gap: 10px; margin: 0 0 16px; padding: 0; font-size: 15px; color: var(--ink2); }
.single-aside .dt-meta li { display: flex; gap: 8px; align-items: center; }
.aside-actions { display: grid; gap: 10px; }
.save-big.on { background: var(--ink); }
.gal { margin-left: 0; margin-right: 0; padding: 0; }
.gal figure { flex: none; width: 78%; margin: 0; }
.gal figure img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: var(--r); scroll-snap-align: start; }
.entry { font-size: 17px; line-height: 1.65; }
.entry p { margin: 0 0 14px; }
.entry a { color: var(--accent); }
.entry img { max-width: 100%; height: auto; border-radius: var(--r); }
.entry .wp-block-gallery, .entry .gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }

/* stranice */
.page-head { padding-top: 28px; }
.page-head h1, .page-body h1 { font-size: 34px; margin: 6px 0 14px; }
.page-body { padding-top: 28px; }
.page-hero { position: relative; min-height: 300px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(6, 24, 40, .8)); }
.page-hero-tx { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 26px; }
.page-hero-tx h1 { font-size: 40px; }
.page-hero-tx .lead { color: rgba(255, 255, 255, .9); font-size: 17px; margin-top: 8px; }
.page-hero-tx .eyebrow { color: var(--sun); }
.tzr-site .mod > svg { width: 96px; height: 96px; padding: 26px; border-radius: calc(var(--r) - 6px); background: var(--bg); color: var(--accent); }
.search-form { display: flex; gap: 8px; margin: 10px 0 0; }
.search-form input[type="search"] { flex: 1; height: 44px; border-radius: 99px; border: 1.5px solid var(--line); padding: 0 16px; font: 15px var(--body); background: var(--card); color: var(--ink); }
.search-form button, .search-form input[type="submit"] { height: 44px; border-radius: 99px; border: 0; padding: 0 18px; background: var(--accent); color: var(--accent-ink); font: 600 14px var(--body); }
.nav-links { display: flex; gap: 8px; margin-top: 24px; }
.nav-links a, .nav-links span { padding: 8px 14px; border-radius: 99px; background: var(--surface); color: var(--ink); text-decoration: none; }

/* obrasci (Contact Form 7) */
.wpcf7 label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="date"], .wpcf7 textarea, .wpcf7 select { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--card); font: 16px var(--body); color: var(--ink); }
.wpcf7 input[type="submit"] { height: 48px; padding: 0 24px; border: 0; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font: 600 15px var(--body); cursor: pointer; }
.wpcf7 .wpcf7-acceptance label { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }

/* podnožje */
.site-foot { border-top: 1px solid var(--line); padding: 30px 0 110px; font-size: 13px; color: var(--ink2); }
.site-foot .wrap { display: grid; gap: 18px; }
.site-foot img { height: 34px; width: auto; margin-bottom: 8px; }
.site-foot ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 0; margin: 0; }
.site-foot a { color: var(--ink2); }
[data-skin="c"] .site-foot img, [data-skin="c"] .site-head:not(.over) .brand img { filter: brightness(0) invert(1); }

/* karta na pravom webu: visina bez zaglavlja (64 px) i donje trake (65 px), da kartica atrakcije ne ostane ispod trake */
.app-main .mapwrap { height: calc(100vh - 64px - 65px - env(safe-area-inset-bottom)); height: calc(100dvh - 64px - 65px - env(safe-area-inset-bottom)); min-height: 420px; }
@media (min-width: 900px) { .app-main .mapwrap { height: calc(100vh - 64px); height: calc(100dvh - 64px); } }

/* stranice s aplikacijom: aplikacija u svom stupcu */
.app-main #app { max-width: 560px; min-height: 0; padding-bottom: 20px; box-shadow: none; }
.app-main #app .subtop { position: relative; top: auto; }

/* desktop */
@media (min-width: 900px) {
	.site-head .mainnav { display: block; }
	.site-head .lang { margin-left: 8px; }
	.tabbar { display: none !important; }
	.dev { bottom: 20px !important; }
	.tzr-site .site-main { padding-bottom: 40px; }
	.site-foot { padding-bottom: 40px; }
	.site-foot .wrap { grid-template-columns: 1fr 2fr; align-items: start; }

	.tzr-site .hero-media { height: 86vh; max-height: 820px; }
	.tzr-site .hero-copy { left: max(40px, calc(50% - 560px)); right: auto; bottom: 48px; max-width: 560px; }
	.tzr-site .hero h1 { font-size: 46px; }
	.tzr-site .hero p { font-size: 17px; }
	[data-skin="b"] .tzr-site .hero-copy, [data-skin="b"].tzr-site .hero-copy { max-width: 900px; }
	[data-skin="b"] .tzr-site .hero-collage { max-width: 1200px; margin: 30px auto 0; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto; }
	[data-skin="b"] .tzr-site .hero-collage img, [data-skin="b"] .tzr-site .hero-collage img:first-child { height: 420px; grid-row: auto; }

	.tzr-site .hscroll { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; }
	.tzr-site .hscroll .ev { width: auto; }
	.tzr-site .themes { grid-template-columns: repeat(3, 1fr); gap: 16px; }
	[data-skin="b"] .tzr-site .themes { grid-template-columns: 1fr 1fr; column-gap: 40px; }
	[data-skin="c"] .tzr-site .themes { grid-template-columns: repeat(3, 1fr); }
	[data-skin="c"] .tzr-site .theme { aspect-ratio: 3 / 4; }
	.tzr-site .band { grid-template-columns: repeat(3, 1fr); }
	.tzr-site .cta-guide { padding: 40px; }
	.tzr-site .cta-guide h2 { font-size: 40px; max-width: 18ch; }
	.tzr-site .fact .big { font-size: 80px; }

	.card-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
	.news-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; }
	.single-grid { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 48px; align-items: start; }
	.single-aside { position: sticky; top: 88px; margin-top: 28px; }
	.single-main.dt-body { margin-top: -60px; border-radius: 26px 26px 0 0; padding: 30px 30px 0; }
	.single-main h1 { font-size: 46px; }
	.gal figure { width: 46%; }
	.page-hero { min-height: 420px; }
	.page-hero-tx h1 { font-size: 56px; }
	.page-head h1, .page-body h1 { font-size: 46px; }
	.app-main #app { max-width: 760px; }
	.app-main .pl-grid { grid-template-columns: 1fr 1fr; }
	.app-main .pl-map { height: 360px; }
}
