/* ==========================================================================
   Tukanet: stránky obcí, oblastí a rozcestník (doplněk k tukanet.css, předpona tkm-)
   ========================================================================== */

/* přehled obce vedle úvodu */
.tkm-prehled { background: var(--tk-krem-svetla, #fff8ee); border: var(--tk-obrys, 2px) solid var(--tk-tmava, #231f20); border-radius: var(--tk-radius, 16px); padding: .5rem 1.25rem; }
.tkm-rucni > :last-child { margin-bottom: 1rem; }

/* místní čísla */
.tkm-cisla { margin-top: 2.5rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--tk-krem, #fdf1dc); border: var(--tk-obrys, 2px) solid var(--tk-tmava, #231f20); border-radius: var(--tk-radius-l, 24px); }
.tkm-cisla h3 { margin-top: 0; }
.tkm-cisla__rada { display: flex; flex-wrap: wrap; gap: .75rem 2.5rem; margin-bottom: 1rem; }
.tkm-cisla__polozka { margin: 0; font-weight: 700; }
.tkm-cisla__polozka strong { display: block; font: 700 3.25rem/1 var(--tk-pismo-nadpis, inherit); letter-spacing: .02em; }

/* chystané obce v seznamech */
.tk-mista a.tkm-chystana { border-style: dashed; background: transparent; }
.tk-mista a small { font-weight: 600; opacity: .7; }
.tkm-obce__casti a.tkm-chystana { text-decoration-style: dashed; }

/* seznam obcí oblasti s místními částmi */
.tkm-obce { list-style: none; margin: 0; padding: 0; columns: 3 240px; column-gap: 2.5rem; }
.tkm-obce li { break-inside: avoid; padding: .45rem 0; border-bottom: 1px dashed var(--tk-linka-svetla, rgba(35,31,32,.25)); }
.tkm-obce__obec { font-weight: 800; }
.tkm-obce__casti { display: block; font-size: .9375rem; }
.tkm-oblast h3 small { font: 700 1rem/1 var(--tk-pismo, inherit); letter-spacing: 0; }

/* lehká mapka: tečky obcí v inline SVG, bez obrázku a bez externího API */
.tkm-mapa { max-width: 560px; margin-inline: auto; }
.tkm-mapa__svg { display: block; width: 100%; height: auto; overflow: visible; }
.tkm-mapa__praha { fill: var(--tk-krem, #fdf1dc); stroke: var(--tk-tmava, #231f20); stroke-width: 3; stroke-dasharray: 10 8; }
.tkm-mapa__popis { font: 700 44px/1 var(--tk-pismo-nadpis, sans-serif); fill: var(--tk-tmava, #231f20); }
.tkm-mapa__bod { fill: var(--tk-oranzova, #f89c1c); stroke: var(--tk-tmava, #231f20); stroke-width: 3; transition: r .15s; }
.tkm-mapa__bod.je-chystana { fill: var(--tk-bila, #fff); stroke-dasharray: 5 4; }
.tkm-mapa__bod.je-jinde { fill: var(--tk-bila, #fff); stroke: rgba(35,31,32,.35); stroke-width: 2; }
.tkm-mapa a:hover .tkm-mapa__bod, .tkm-mapa a:focus .tkm-mapa__bod { r: 16; fill: var(--tk-tmava, #231f20); }
.tkm-mapa__legenda { margin: .75rem 0 0; font-size: .875rem; text-align: center; }
.tkm-mapa__klic { display: inline-block; width: .8rem; height: .8rem; margin: 0 .3rem 0 .9rem; border-radius: 50%; background: var(--tk-oranzova, #f89c1c); border: 2px solid var(--tk-tmava, #231f20); vertical-align: -1px; }
.tkm-mapa__klic.je-chystana { background: var(--tk-bila, #fff); border-style: dashed; }
@media (prefers-reduced-motion: reduce) { .tkm-mapa__bod { transition: none; } }

/* video obce v úvodu stránky (záběry z původního webu) */
.tkm-video { margin: 0 0 1.5rem; position: relative; }
.tkm-video__film { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--tk-oranzova) url("/images/hlavicka_mesta.jpg") center / cover no-repeat; border: var(--tk-obrys, 3px) solid var(--tk-tmava); border-radius: 22px 26px 20px 28px / 26px 20px 28px 22px; box-shadow: 6px 6px 0 var(--tk-tmava); }
.tkm-video__tlacitko { position: absolute; left: .75rem; top: .75rem; display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .8rem; font-weight: 800; font-size: .875rem; color: var(--tk-tmava); background: var(--tk-bila); border: 2px solid var(--tk-tmava); border-radius: 999px; cursor: pointer; }
.tkm-video__tlacitko:hover, .tkm-video__tlacitko:focus-visible { background: var(--tk-oranzova); }
.tkm-video__tlacitko--hraje { opacity: .75; }
.tkm-video__tlacitko--hraje:hover, .tkm-video__tlacitko--hraje:focus-visible { opacity: 1; }
.tkm-video figcaption { margin-top: .9rem; font-size: .9375rem; font-weight: 700; text-align: center; }
