:root {
  --papir: #f7f2e8; --text: #2b2520; --tlumene: #7a6e62; --akcent: #7b3f1d;
  --modra: #3d5a80; --ruzova: #9a4a63; --rameno: #e3d8c5; --bila: #fffdf8;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Georgia, "Times New Roman", serif; background: var(--papir); color: var(--text); line-height: 1.55; font-size: 17px; }
a { color: var(--akcent); }
h1, h2, h3 { font-weight: normal; line-height: 1.2; }
h1 { font-size: 1.8rem; margin: .4em 0; }
h2 { font-size: 1.25rem; margin: .2em 0 .5em; }
h2 small { color: var(--tlumene); font-size: .8rem; }

.hlavicka { position: sticky; top: 0; z-index: 1000; display: flex; align-items: center; justify-content: space-between; padding: .6rem 1rem; background: var(--text); color: var(--papir); }
.logo { color: var(--papir); text-decoration: none; font-size: 1.4rem; letter-spacing: .05em; }
.logo span { color: #d9a066; }
.menu-btn { display: none; background: none; border: 0; color: var(--papir); font-size: 1.6rem; }
.menu a { color: var(--papir); text-decoration: none; margin-left: 1rem; font-family: system-ui, sans-serif; font-size: .95rem; opacity: .8; }
.menu a.aktivni, .menu a:hover { opacity: 1; border-bottom: 2px solid #d9a066; }

main { max-width: 900px; margin: 0 auto; padding: 1rem; min-height: 70vh; }
.paticka { text-align: center; padding: 2rem 1rem; color: var(--tlumene); font-size: .85rem; font-family: system-ui, sans-serif; }

.hero h1 { font-size: 2.1rem; text-align: center; }
.perex { font-size: 1.1rem; text-align: center; max-width: 620px; margin: 0 auto 1.5rem; }
.hero-foto { position: relative; border-radius: 6px; overflow: hidden; background: #d8ccb6; aspect-ratio: 16/9; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.25); display: block; }
.foto-misto { display: none; }
.bez-fotky img { display: none; }
.bez-fotky .foto-misto { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; text-align: center; color: var(--tlumene); padding: 1rem; }

.dlazdice { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .7rem; margin: 1.5rem 0; }
.dlazdice a { background: var(--bila); border: 1px solid var(--rameno); border-radius: 8px; padding: 1rem; text-align: center; text-decoration: none; color: var(--text); }
.dlazdice span { display: block; font-size: 1.8rem; }

.box { background: var(--bila); border: 1px solid var(--rameno); border-radius: 8px; padding: 1rem 1.2rem; margin: 1rem 0; }
.napoveda { color: var(--tlumene); font-size: .95rem; }
.zpet { font-family: system-ui, sans-serif; font-size: .9rem; text-decoration: none; }
.podtitul { color: var(--tlumene); margin: -.3em 0 .3em; }

.stav { display: inline-block; font-family: system-ui, sans-serif; font-size: .72rem; padding: .1em .55em; border-radius: 1em; margin: .15em 0; }
.stav.ok { background: #d8ecd5; color: #2c5e2a; }
.stav.cast { background: #fbe7c2; color: #7a5310; }
.stav.ustni { background: #f3d6d0; color: #873a2b; }
.stav.chybi { background: #e6e2dc; color: #6b6259; }

.strom { display: flex; flex-direction: column; gap: 1.2rem; }
.generace h3 { text-align: center; color: var(--tlumene); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 .4rem; font-family: system-ui, sans-serif; }
.rada.stred { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.rada.dve { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.strana-o, .strana-m { display: flex; flex-direction: column; gap: .5rem; }
.strana-o { border-right: 2px dashed var(--rameno); padding-right: .6rem; }

.karta { display: block; background: var(--bila); border: 1px solid var(--rameno); border-left: 4px solid var(--modra); border-radius: 6px; padding: .55rem .7rem; text-decoration: none; color: var(--text); min-width: 140px; }
.karta.z { border-left-color: var(--ruzova); }
.karta strong { display: block; font-weight: normal; font-size: 1rem; }
.karta small { display: block; color: var(--tlumene); font-size: .8rem; font-family: system-ui, sans-serif; }
.karta.prazdna { color: var(--tlumene); border-style: dashed; font-size: .85rem; }
.seznam { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .5rem; }

.udaje { width: 100%; border-collapse: collapse; }
.udaje th { text-align: left; vertical-align: top; width: 35%; color: var(--tlumene); font-weight: normal; padding: .4rem .5rem .4rem 0; }
.udaje td { padding: .4rem 0; border-bottom: 1px solid var(--rameno); }

#mapa { height: 420px; border-radius: 8px; border: 1px solid var(--rameno); }
.slovnicek dt { font-weight: bold; margin-top: 1rem; }
.slovnicek dd { margin: .2rem 0 0; }

@media (max-width: 700px) {
  body { font-size: 16px; }
  .menu-btn { display: block; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--text); flex-direction: column; padding: .5rem 1rem 1rem; }
  .menu-open .menu { display: flex; }
  .menu a { margin: .5rem 0; font-size: 1.05rem; }
  .karta { min-width: 0; }
  .hero h1 { font-size: 1.6rem; }
  #mapa { height: 320px; }
}
