/* Barborská cesta — štýly
   Farby: hlušina (tmavá bridlica), malachit (medená ruda), značka (žltý štvorec trasy) */
:root {
  --slate: #1d2a28;
  --slate-2: #2a3a37;
  --ink: #1b211f;
  --ink-soft: #4a5552;
  --stone: #eef0ec;
  --paper: #ffffff;
  --rule: #d3d9d3;
  --malachite: #2e6f5e;
  --malachite-dark: #1f5245;
  --marker: #f2c230;
  --marker-ink: #3a2e00;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --ui: "Barlow", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --wrap: 1180px;
  --measure: none;
  --r: 4px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--stone); color: var(--ink);
  font: 400 1.0625rem/1.7 var(--serif);
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--malachite); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--malachite-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--marker); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: var(--marker); color: var(--ink); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }

h1, h2, h3, h4, h5, h6 { font-family: var(--display); font-weight: 600; line-height: 1.1; color: var(--ink); margin: 1.6em 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }
h5, h6 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-soft); }

/* ---------- hlavička ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--slate); color: #fff; }
.bar { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font: 600 1.45rem/1 var(--display); margin-right: auto; }
.brand img { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 50%; padding: 3px; }
.brand:hover { color: var(--marker); }
.nav { font-family: var(--ui); }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; }
.nav li { position: relative; }
.nav a, .nav button.sub { display: block; color: #e8ecea; text-decoration: none; padding: .55rem .75rem; font: 500 .98rem/1.2 var(--ui); background: none; border: 0; cursor: pointer; border-radius: var(--r); }
.nav a:hover, .nav button.sub:hover, .nav a[aria-current="page"] { color: #fff; background: var(--slate-2); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--marker); }
.nav button.sub::after { content: ""; display: inline-block; margin-left: .4rem; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.nav ul ul { list-style: none; margin: 0; padding: .4rem; position: absolute; top: 100%; left: 0; min-width: 300px; background: var(--paper); border-radius: var(--r); box-shadow: 0 12px 30px rgba(15, 25, 22, .25); display: none; }
.nav ul ul a { color: var(--ink); padding: .5rem .7rem; }
.nav ul ul a:hover, .nav ul ul a[aria-current="page"] { background: var(--stone); color: var(--ink); box-shadow: none; }
.nav li.open > ul { display: block; }
@media (hover: hover) and (min-width: 961px) { .nav li:hover > ul, .nav li:focus-within > ul { display: block; } }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle i { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 64px 0 0 0; background: var(--slate); overflow-y: auto; padding: 1rem 20px 3rem; display: none; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; }
  .nav a, .nav button.sub { font-size: 1.15rem; padding: .8rem .5rem; width: 100%; text-align: left; }
  .nav ul ul { position: static; display: block; background: none; box-shadow: none; padding: 0 0 .5rem 1rem; min-width: 0; }
  .nav ul ul a { color: #c9d1ce; font-size: 1rem; padding: .5rem; }
  .nav ul ul a:hover, .nav ul ul a[aria-current="page"] { background: var(--slate-2); color: #fff; }
  .nav button.sub::after { display: none; }
}

/* ---------- úvod ---------- */
.hero { position: relative; color: #fff; background: var(--slate); min-height: min(86vh, 760px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 30, 28, .15) 0%, rgba(20, 30, 28, .35) 45%, rgba(20, 30, 28, .92) 100%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(2rem, 6vw, 4.5rem); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.hero h1 { color: #fff; margin: 0 0 .2em; font-size: clamp(3.4rem, 11vw, 8.5rem); line-height: .88; letter-spacing: -.01em; }
.hero p.lead { font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 38ch; margin: 0; color: #e6ebe9; }
.signpost { background: var(--marker); color: var(--marker-ink); padding: 1.1rem 1.3rem; border-radius: 2px; font-family: var(--display); min-width: 230px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.signpost dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .15rem 1rem; align-items: baseline; }
.signpost dt { font-size: 2.2rem; font-weight: 700; line-height: 1; text-align: right; }
.signpost dd { margin: 0; font: 500 1rem/1.2 var(--ui); }
.signpost .tower { display: flex; align-items: center; gap: .5rem; font: 600 .95rem/1 var(--ui); border-top: 1px solid rgba(58, 46, 0, .25); margin-top: .8rem; padding-top: .7rem; }
.tower-mark { width: 22px; height: 22px; background: var(--marker); border: 2px solid var(--marker-ink); display: inline-grid; place-items: center; flex: none; }
.tower-mark::before { content: ""; width: 8px; height: 12px; background: var(--marker-ink); clip-path: polygon(50% 0, 100% 25%, 100% 100%, 0 100%, 0 25%); }
@media (max-width: 760px) { .hero .wrap { grid-template-columns: 1fr; } .signpost { justify-self: start; } }

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.paper { background: var(--paper); }
.section > .wrap > h2:first-child { margin-top: 0; }
.intro { display: block; }
.intro .text::after { content: ""; display: table; clear: both; }
.intro .text p:first-of-type { font-size: 1.25rem; line-height: 1.6; }
.intro figure { float: right; width: min(46%, 560px); margin: .3rem 0 1.2rem clamp(1.5rem, 4vw, 3rem); }
.intro figure img { border-radius: var(--r); }
.intro figcaption, .caption { font: 400 .9rem/1.4 var(--ui); color: var(--ink-soft); margin-top: .5rem; }
.greeting { font: 600 1.6rem/1 var(--display); color: var(--malachite); }
@media (max-width: 860px) { .intro figure { float: none; width: auto; margin: 0 0 1.5rem; } }

/* ---------- trasa: zoznam etáp + mapa ---------- */
.route { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.route-map { position: sticky; top: 84px; height: min(78vh, 680px); border-radius: var(--r); overflow: hidden; background: #dfe4df; }
.route-map .map { height: 100%; }
.trail { list-style: none; margin: 0; padding: 0; position: relative; }
.trail::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; border-left: 3px dashed var(--malachite); opacity: .55; }
.trail li { position: relative; }
.trail a { display: grid; grid-template-columns: 38px 1fr; gap: .9rem; padding: .7rem .6rem .7rem 0; text-decoration: none; color: inherit; border-radius: var(--r); }
.trail .num { width: 38px; height: 38px; background: var(--marker); color: var(--marker-ink); border: 2px solid var(--slate); display: grid; place-items: center; font: 700 1.25rem/1 var(--display); position: relative; z-index: 1; }
.trail .t { font: 600 1.35rem/1.15 var(--display); color: var(--ink); display: block; }
.trail .m { font: 400 .92rem/1.4 var(--ui); color: var(--ink-soft); }
.trail a:hover .t, .trail a.active .t { color: var(--malachite); }
.trail a:hover .num, .trail a.active .num { background: var(--slate); color: var(--marker); }
.trail .loop { font: 500 .92rem/1.4 var(--ui); color: var(--ink-soft); padding: .4rem 0 0 52px; }
@media (max-width: 860px) { .route { grid-template-columns: 1fr; } .route-map { position: relative; top: 0; height: 60vh; order: -1; } }

/* ---------- mapa ---------- */
.map { width: 100%; height: 520px; background: #dfe4df; }
.map-note { font: 400 .92rem/1.4 var(--ui); color: var(--ink-soft); padding: .8rem 1rem; background: #fff8dc; border-left: 4px solid var(--marker); margin: 0; }
.leaflet-container { font-family: var(--ui); }
.stage-label { background: var(--marker); color: var(--marker-ink); border: 2px solid var(--slate); font: 700 13px/18px var(--display); width: 22px !important; height: 22px !important; text-align: center; margin: -11px 0 0 -11px !important; }

/* ---------- zoznam etáp (karty s fotkou) ---------- */
.stage-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.stage-card { background: var(--paper); text-decoration: none; color: inherit; border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--rule); }
.stage-card .ph { aspect-ratio: 3 / 2; background: var(--slate-2); position: relative; }
.stage-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.stage-card .ph .num { position: absolute; left: 12px; top: 12px; }
.stage-card .bd { padding: 1rem 1.1rem 1.2rem; }
.stage-card h3 { margin: 0 0 .3rem; font-size: 1.45rem; }
.stage-card:hover h3 { color: var(--malachite); }
.stage-card .m { font: 400 .95rem/1.4 var(--ui); color: var(--ink-soft); }
.num-badge { width: 40px; height: 40px; background: var(--marker); color: var(--marker-ink); border: 2px solid var(--slate); display: grid; place-items: center; font: 700 1.35rem/1 var(--display); }

/* ---------- podstránky ---------- */
.page-head { background: var(--slate); color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; }
.page-head.has-img { min-height: 380px; display: flex; align-items: flex-end; }
.page-head .bg { position: absolute; inset: 0; }
.page-head .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-head .wrap { position: relative; width: 100%; }
.page-head h1 { color: #fff; margin: .2rem 0 0; max-width: 22ch; }
.page-head .sub { font: 500 1.15rem/1.4 var(--ui); color: #d8dfdc; margin: .6rem 0 0; }
.crumbs { font: 400 .92rem/1.4 var(--ui); color: #b9c3bf; }
.crumbs a { color: #e6ebe9; }
.page-head .stage-title { display: flex; align-items: center; gap: 1rem; }

.facts { background: var(--paper); border-bottom: 1px solid var(--rule); }
.facts dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin: 0; }
.facts div { padding: 1rem 1.2rem; border-right: 1px solid var(--rule); }
.facts div:last-child { border-right: 0; }
.facts dt { font: 400 .88rem/1.2 var(--ui); color: var(--ink-soft); }
.facts dd { margin: .2rem 0 0; font: 600 1.55rem/1.1 var(--display); }

.stage-tools { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; align-items: start; }
.stage-tools .map { height: 460px; border-radius: var(--r); }
.dl-list { display: grid; gap: .6rem; }
.dl-list h3 { margin: 0 0 .2rem; font-size: 1.35rem; }
@media (max-width: 860px) { .stage-tools { grid-template-columns: 1fr; } }

.stage-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.stage-nav a { display: block; padding: 1rem 1.2rem; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); text-decoration: none; color: var(--ink); font: 600 1.25rem/1.2 var(--display); }
.stage-nav a small { display: block; font: 400 .88rem/1.3 var(--ui); color: var(--ink-soft); margin-bottom: .2rem; }
.stage-nav a.next { text-align: right; }
.stage-nav a:hover { border-color: var(--malachite); color: var(--malachite); }

/* ---------- obsah prevedený z WordPressu ---------- */
.content { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); }
.content .blk { margin: 0 0 2rem; }
.content .row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem 2rem; }
.content .col { grid-column: span 12; min-width: 0; }
@media (min-width: 861px) {
  .content .w-1-2 { grid-column: span 6; } .content .w-1-3 { grid-column: span 4; } .content .w-2-3 { grid-column: span 8; }
  .content .w-1-4 { grid-column: span 3; } .content .w-3-4 { grid-column: span 9; } .content .w-1-5 { grid-column: span 3; }
  .content .w-2-5 { grid-column: span 5; } .content .w-3-5 { grid-column: span 7; } .content .w-1-6 { grid-column: span 2; } .content .w-5-6 { grid-column: span 10; }
}
.content .row .row { gap: 1rem; }
.content .txt, .content .col > p, .content .col > ul, .content .col > ol { max-width: var(--measure); }
.content .w-1-1 > .txt { max-width: var(--measure); }
.content h2:first-child, .content h3:first-child, .content .txt > :first-child { margin-top: 0; }
.content ul, .content ol { padding-left: 1.3em; }
.content li { margin-bottom: .3em; }
.content blockquote { margin: 1.5rem 0; padding: .2rem 0 .2rem 1.2rem; border-left: 4px solid var(--marker); font-style: italic; }
.ta-center { text-align: center; } .ta-right { text-align: right; }
.content .txt.ta-center, .content h3.ta-center, .content p.ta-center { margin-left: auto; margin-right: auto; }
.fig { margin: 0 0 1.5rem; }
.fig img { border-radius: var(--r); }
.fig-center { margin-left: auto; margin-right: auto; }
.fig-right { float: right; margin: 0 0 1rem 1.5rem; max-width: 45%; }
.fig-left { float: left; margin: 0 1.5rem 1rem 0; max-width: 45%; }
.content p img { display: inline-block; vertical-align: middle; border-radius: var(--r); }
figcaption { font: 400 .9rem/1.4 var(--ui); color: var(--ink-soft); margin-top: .4rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .6rem; margin: 0 0 1.5rem; }
.gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--rule); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.video { position: relative; aspect-ratio: 16 / 9; margin: 0 0 1.5rem; background: #000; border-radius: var(--r); overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid { width: 100%; border-radius: var(--r); margin-bottom: 1.5rem; background: #000; }
.code-embed iframe, .txt iframe { width: 100%; border: 0; border-radius: var(--r); }
audio { width: 100%; margin: 0 0 1rem; }
.table-wrap { overflow-x: auto; margin: 0 0 1.5rem; }
.content table { border-collapse: collapse; width: 100%; font: 400 .98rem/1.4 var(--ui); background: var(--paper); }
.content th, .content td { padding: .6rem .8rem; border-bottom: 1px solid var(--rule); text-align: left; }
.content th { background: var(--slate); color: #fff; font-weight: 500; }

.accordion { margin: 0 0 1.5rem; border-top: 1px solid var(--rule); }
details { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; list-style: none; padding: 1rem 2.5rem 1rem 0; font: 600 1.3rem/1.25 var(--display); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .3rem; top: .75rem; font: 500 1.6rem/1 var(--ui); color: var(--malachite); }
details[open] > summary::after { content: "–"; }
summary:hover { color: var(--malachite); }
.details-body { padding: 0 0 1.2rem; max-width: var(--measure); }
.details-body::after { content: ""; display: block; clear: both; }

.tabs { margin: 0 0 2rem; }
.tab-list { display: flex; flex-wrap: wrap; gap: .3rem; border-bottom: 2px solid var(--rule); margin-bottom: 1.2rem; }
.tab-list button { background: none; border: 0; padding: .7rem 1rem; font: 600 1.15rem/1.2 var(--display); color: var(--ink-soft); cursor: pointer; margin-bottom: -2px; border-bottom: 3px solid transparent; }
.tab-list button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--marker); }
.tab-pane[hidden] { display: none; }

.btn { display: inline-flex; align-items: center; gap: .5rem; background: var(--malachite); color: #fff; text-decoration: none; padding: .7rem 1.2rem; border-radius: var(--r); font: 500 1rem/1.2 var(--ui); border: 0; cursor: pointer; }
.btn:hover { background: var(--malachite-dark); color: #fff; text-decoration: none; }
.btn.alt { background: var(--paper); color: var(--ink); border: 1px solid var(--rule); }
.btn.alt:hover { border-color: var(--malachite); color: var(--malachite); background: var(--paper); }
.btn.yellow { background: var(--marker); color: var(--marker-ink); }
.btn.yellow:hover { background: #e3b31f; color: var(--marker-ink); }
.btn-row { margin: 0 0 1rem; }
.btn-dl { background: var(--paper); color: var(--ink); border: 1px solid var(--rule); }
.btn-dl:hover { background: var(--paper); color: var(--malachite); border-color: var(--malachite); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin: 0 0 1.5rem; }
.card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); padding: 1.2rem 1.3rem; }
.card h4 { margin-top: 0; }
.checklist { list-style: none; padding: 0 !important; }
.checklist li { padding-left: 1.6rem; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--marker); border: 2px solid var(--slate); }
.stats { display: flex; flex-wrap: wrap; gap: 2rem; }
.stat b { display: block; font: 700 2.4rem/1 var(--display); }

/* ---------- novinky ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.8rem; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--paper); border-radius: var(--r); overflow: hidden; border: 1px solid var(--rule); }
.post-card .ph { aspect-ratio: 16 / 10; background: var(--slate-2); overflow: hidden; }
.post-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.post-card .ph.empty { display: grid; place-items: center; }
.post-card .ph.empty img { width: 64px; height: 64px; object-fit: contain; opacity: .5; filter: grayscale(1) brightness(3); }
.post-card .bd { padding: 1rem 1.2rem 1.3rem; }
.post-card time { font: 500 .88rem/1 var(--ui); color: var(--malachite); }
.post-card h3 { font-size: 1.4rem; margin: .4rem 0 .5rem; }
.post-card p { font-size: .97rem; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.post-card:hover h3 { color: var(--malachite); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.section-head h2 { margin: 0; }
.pager { display: flex; gap: .4rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.pager a, .pager span { padding: .5rem .85rem; border-radius: var(--r); font: 500 1rem/1 var(--ui); text-decoration: none; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); }
.pager span { background: var(--slate); color: #fff; border-color: var(--slate); }
.article { max-width: 820px; }
.article-meta { font: 500 .95rem/1.4 var(--ui); color: #d8dfdc; margin-top: .6rem; }

/* ---------- regióny, partneri ---------- */
.regions { columns: 4 180px; column-gap: 2rem; list-style: none; padding: 0; margin: 0; font: 400 1rem/1.4 var(--ui); }
.regions li { padding: .3rem 0; break-inside: avoid; }
.partners { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; }
.partners a, .partners span { display: block; }
.partners img { max-height: 64px; width: auto; max-width: 220px; object-fit: contain; }
.partners.small img { max-height: 90px; }
.support img { max-height: 90px; width: auto; }

/* ---------- pätička ---------- */
.site-footer { background: var(--slate); color: #c9d1ce; font: 400 .97rem/1.6 var(--ui); padding: 3.5rem 0 1.5rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--marker); }
.site-footer h3 { color: #fff; margin: 0 0 .7rem; font-size: 1.3rem; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.foot-grid p { margin: 0 0 .6rem; }
.social { display: flex; gap: .8rem; flex-wrap: wrap; }
.social a { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.foot-bottom { border-top: 1px solid var(--slate-2); margin-top: 2.5rem; padding-top: 1.2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .9rem; }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10, 16, 15, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; border-radius: 2px; }
.lightbox button { position: fixed; background: rgba(255, 255, 255, .1); color: #fff; border: 0; width: 52px; height: 52px; font: 400 2rem/1 var(--ui); cursor: pointer; border-radius: 50%; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

.loading { padding: 6rem 20px; text-align: center; font: 500 1.1rem var(--ui); color: var(--ink-soft); }
.error-box { max-width: 640px; margin: 4rem auto; padding: 1.5rem; background: var(--paper); border-left: 4px solid var(--marker); font-family: var(--ui); }

/* ---------- body na mapách ---------- */
.poi { border: 2px solid var(--slate); box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.poi-stop { width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: var(--malachite); color: #fff; font: 700 12px/20px var(--ui); text-align: center; }
.poi-stamp { width: 14px; height: 14px; margin: -7px 0 0 -7px; background: var(--marker); transform: rotate(45deg); }
.poi-stay { width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 3px; background: #fff; }
.leaflet-popup-content { font: 400 .95rem/1.45 var(--ui); }
.leaflet-popup-content small { color: var(--ink-soft); }
.stamp-list { list-style: none; padding: 0; margin: 0; font: 400 .95rem/1.4 var(--ui); display: grid; gap: .35rem; }
.stamp-list li { padding-left: 1.3rem; position: relative; }
.stamp-list li::before { content: ""; position: absolute; left: 2px; top: .4em; width: 9px; height: 9px; background: var(--marker); border: 2px solid var(--slate); transform: rotate(45deg); }
.notice { margin-top: 1.5rem; padding: 1rem 1.3rem; background: #fdf0ec; border-left: 4px solid #d0452f; font-family: var(--ui); max-width: 900px; }
.notice h3 { margin: 0 0 .4rem; font-size: 1.3rem; }
.notice p { margin: 0 0 .8rem; }

/* obtekanie obrazkov v texte */
.content .txt::after { content: ""; display: table; clear: both; }
@media (max-width: 600px) { .content .fig-right, .content .fig-left { float: none; max-width: 100% !important; margin: 0 0 1.2rem; } }
