/*
Theme Name: KVZ Jenišovice
Description: Šablona webu Klubu vojáků v záloze Jenišovice. Kalendář soutěží, stav střelnice a rozpis správců poskytuje plugin KVZ Jenišovice – klub.
Version: 1.0.0
Requires PHP: 8.1
Text Domain: kvz
*/

/* Layout: tmavá hlavička v barvách klubu, úvod s fotkou přes celou šířku, obsah v kontejneru 1180 px; na mobilu vše v jednom sloupci. */
:root {
	--paper: #F2F3EF;
	--surface: #FFFFFF;
	--soft: #E9ECE6;
	--ink: #17212B;
	--muted: #535E68;
	--line: #D5DAD2;
	--signal: #F2B705;
	--signal-ink: #1C1700;
	--navy: #17212B;
	--navy-2: #22303D;
	--navy-ink: #F2F3EF;
	--navy-muted: #B7C1CA;
	--ok: #1B6E43;
	--ok-bg: #DFF0E6;
	--bad: #A3262A;
	--bad-bg: #F8E1E1;
	--wait: #8A5300;
	--wait-bg: #FCEFD2;
	--link: #8A5300;
	--display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
	--body: "Barlow", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--radius: 10px;
	--wrap: 1180px;
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; text-wrap: balance; margin: 0; letter-spacing: .005em; }
h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); font-weight: 700; text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 700; text-transform: uppercase; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0; }
.ico { width: 18px; height: 18px; flex: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--signal); color: var(--signal-ink); padding: 10px 14px; z-index: 100; border-radius: 6px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
@media (max-width: 480px) { .wrap { padding-inline: 16px; } }
.label { font-family: var(--display); font-weight: 600; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.note { color: var(--muted); font-size: .95rem; }
.stack { display: flex; flex-direction: column; gap: 14px; }

/* ===== Hlavička ===== */
.site-head { background: var(--navy); color: var(--navy-ink); position: relative; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy-ink); text-decoration: none; }
.brand:hover { color: var(--navy-ink); }
.brand-logo { width: 42px; height: 48px; flex: none; }
.brand .custom-logo { max-height: 58px; width: auto; display: block; }
.brand-t { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.brand-t small { display: block; font-family: var(--body); font-weight: 500; font-size: .76rem; letter-spacing: .03em; text-transform: none; color: var(--navy-muted); margin-top: 4px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; flex-wrap: wrap; }
.nav a { display: block; font-family: var(--display); font-weight: 600; font-size: 1.1rem; letter-spacing: .05em; text-transform: uppercase; padding: 10px 13px; border-radius: 6px; color: var(--navy-ink); text-decoration: none; }
.nav a:hover { background: var(--navy-2); color: var(--navy-ink); }
.nav .current-menu-item > a, .nav .current-menu-ancestor > a, .nav .current_page_parent > a, .nav .is-active > a { background: var(--signal); color: var(--signal-ink); }
.menu-toggle { display: none; align-items: center; gap: 8px; font: inherit; font-family: var(--display); font-weight: 600; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .05em; color: var(--navy-ink); background: none; border: 1px solid var(--navy-muted); border-radius: 6px; min-height: 44px; padding: 8px 14px; cursor: pointer; }
@media (max-width: 1000px) {
	.menu-toggle { display: inline-flex; }
	.nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-top: 1px solid var(--navy-2); padding: 8px 16px 16px; display: none; }
	.nav.is-open { display: block; }
	.nav ul { flex-direction: column; }
	.nav a { padding: 12px; font-size: 1.2rem; }
	.brand-t small { display: none; }
}

.alert-bar { background: var(--signal); color: var(--signal-ink); }
.alert-bar .wrap { display: flex; gap: 10px; align-items: center; padding-block: 10px; font-weight: 600; }
.alert-bar .ico { width: 22px; height: 22px; }

/* ===== Tlačítka a štítky ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 8px; font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-y { background: var(--signal); color: var(--signal-ink); }
.btn-y:hover { background: #FFC81F; color: var(--signal-ink); }
.btn-o { border-color: currentColor; color: inherit; background: none; }
.btn-o:hover { color: inherit; background: rgba(127, 127, 127, .1); }
.btn-ok { background: var(--ok-bg); color: var(--ok); }
.btn-ok:hover { color: var(--ok); filter: brightness(.97); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 600; letter-spacing: .03em; padding: 2px 8px; border-radius: 999px; background: var(--soft); color: var(--muted); white-space: nowrap; }
.tag.own { background: var(--signal); color: var(--signal-ink); }
.tag.soon { background: var(--ok-bg); color: var(--ok); }
.tag.done { background: var(--bad-bg); color: var(--bad); }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.more { font-weight: 600; color: var(--link); font-size: .97rem; }

/* ===== Úvodní stránka ===== */
.hero { position: relative; background: var(--navy); color: #fff; }
.hero-img { display: block; width: 100%; height: clamp(380px, 33vw, 480px); object-fit: cover; object-position: 50% 55%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 16, 22, .9) 0%, rgba(10, 16, 22, .5) 40%, rgba(10, 16, 22, 0) 68%), linear-gradient(to right, rgba(10, 16, 22, .55) 0%, rgba(10, 16, 22, .25) 38%, rgba(10, 16, 22, 0) 55%); pointer-events: none; }
.hero-text .label, .hero-text h1, .hero-text p { text-shadow: 0 1px 2px rgba(0, 0, 0, .6), 0 0 18px rgba(0, 0, 0, .45); }
.hero-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding-bottom: 120px; }
.hero-text .label { color: var(--signal); }
.hero-text h1 { color: #fff; margin-top: 6px; }
.hero-text p { color: #E3E8EC; font-size: 1.15rem; margin-top: 8px; max-width: 46ch; }
.hero-cards { position: relative; z-index: 2; margin-top: -88px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) {
	.hero-img { height: 360px; object-position: 72% 40%; }
	.hero-text { padding-bottom: 28px; }
	.hero-cards { margin-top: 16px; grid-template-columns: minmax(0, 1fr); }
}
.card-open { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 20px 40px -30px rgba(10, 16, 22, .6); }
.state { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .95rem; padding: 4px 11px; border-radius: 999px; align-self: flex-start; }
.state::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.state-open { color: var(--ok); background: var(--ok-bg); }
.state-today { color: var(--wait); background: var(--wait-bg); }
.state-closed { color: var(--muted); background: var(--soft); }
.when { font-family: var(--display); font-weight: 700; font-size: 2.4rem; line-height: 1; }
.when span { display: block; font-size: 1.55rem; font-weight: 600; color: var(--muted); margin-top: 4px; }
.kv { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .97rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.card-next { background: var(--navy); color: var(--navy-ink); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 20px 40px -30px rgba(10, 16, 22, .6); }
.card-next .label { color: var(--signal); }
.card-next h2 { font-size: 2rem; text-transform: none; color: var(--navy-ink); }
.card-next h2 a { color: inherit; text-decoration: none; }
.card-next h2 a:hover { text-decoration: underline; }
.facts-inline { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--navy-muted); }
.facts-inline b { color: var(--navy-ink); font-weight: 600; }
.card-next .note { color: var(--navy-muted); }

.home-main { display: flex; flex-direction: column; gap: 48px; padding-block: 40px 64px; }
.sec { display: flex; flex-direction: column; gap: 16px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cols-2 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; }
@media (max-width: 860px) { .cols-2 { grid-template-columns: minmax(0, 1fr); } }

.mini { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mini li { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mini .d { font-family: var(--display); font-weight: 700; font-size: 1.35rem; font-variant-numeric: tabular-nums; line-height: 1; }
.mini .d small { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.mini .n { font-weight: 600; min-width: 0; }
.mini .n a { color: var(--ink); text-decoration: none; }
.mini .n a:hover { text-decoration: underline; }
.mini .n small { display: block; color: var(--muted); font-weight: 400; font-size: .9rem; }
@media (max-width: 560px) { .mini li { grid-template-columns: 64px minmax(0, 1fr); } .mini li > .tag { grid-column: 2; justify-self: start; } }

.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .news { grid-template-columns: minmax(0, 1fr); } }
.news article { border-top: 3px solid var(--signal); padding-top: 10px; display: flex; flex-direction: column; gap: 4px; }
.news time { font-size: .86rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.news h3 { font-size: 1.3rem; line-height: 1.15; }
.news h3 a { color: var(--ink); text-decoration: none; }
.news h3 a:hover { text-decoration: underline; }
.news p { font-size: .95rem; color: var(--muted); }

.results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.results li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; }
.results a.t { font-weight: 600; color: var(--ink); text-decoration: none; }
.results a.t:hover { text-decoration: underline; }
.results small { color: var(--muted); grid-column: 1; }
.results .doc { grid-row: 1 / span 2; grid-column: 2; }

/* ===== Patička ===== */
.site-foot { background: var(--navy); color: var(--navy-muted); font-size: .95rem; }
.site-foot .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 32px; }
@media (max-width: 1080px) { .site-foot .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.site-foot h2 { font-size: 1.1rem; letter-spacing: .06em; color: var(--navy-ink); margin-bottom: 8px; }
.site-foot a { color: var(--navy-ink); }
.site-foot p + p { margin-top: 4px; }
.foot-bottom { border-top: 1px solid var(--navy-2); }
.foot-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-block: 14px; font-size: .85rem; grid-template-columns: none; }
@media (max-width: 760px) { .site-foot .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ===== Obecné stránky ===== */
.page-head { padding-block: 36px 8px; display: flex; flex-direction: column; gap: 10px; }
.page-head-text { display: flex; flex-direction: column; gap: 10px; }
.page-head-foto { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 15%; border-radius: var(--radius); margin-top: 8px; }
@media (min-width: 900px) {
	.page-head.has-foto { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }
	.page-head.has-foto .page-head-foto { width: 460px; flex: none; margin-top: 0; aspect-ratio: 16 / 9; }
}
/* fotka stránky vpravo vedle obsahu (O klubu, Kontakty, Novinky) */
.aside-foto { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius); margin-top: 8px; }
@media (min-width: 900px) {
	.wrap.has-aside-foto { display: grid; grid-template-columns: minmax(0, 1fr) 400px; column-gap: 48px; }
	.wrap.has-aside-foto > .page-head, .wrap.has-aside-foto > .page-body { grid-column: 1; }
	.wrap.has-aside-foto > .aside-foto { grid-column: 2; grid-row: 1 / span 2; align-self: start; margin-top: 36px; aspect-ratio: 4 / 3; }
}
.page-head .crumb { font-size: .9rem; color: var(--muted); }
.page-head .crumb a { color: var(--muted); }
.page-body { padding-block: 16px 64px; }
.entry { max-width: 72ch; }
.entry > * + * { margin-top: 1em; }
.entry h2 { margin-top: 1.6em; }
.entry > h2:first-child { margin-top: 0; }
.entry h3 { margin-top: 1.4em; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li + li { margin-top: .35em; }
.entry .alignwide, .entry .wp-block-gallery, .entry .table-wrap, .entry .map, .entry .albums { max-width: none; }
.entry-wide { max-width: none; }
.entry-wide > p, .entry-wide > ul, .entry-wide > ol { max-width: 72ch; }
.wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.wp-block-file a:first-child { font-weight: 600; }
.wp-block-file .wp-block-file__button { background: var(--signal); color: var(--signal-ink); border-radius: 8px; padding: 8px 14px; font-family: var(--display); font-weight: 600; text-transform: uppercase; text-decoration: none; letter-spacing: .03em; }
.wp-block-gallery.has-nested-images figure.wp-block-image { border-radius: 8px; overflow: hidden; }
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption { font-size: .85rem; }

.entry ul.hours, .hours { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hours li { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; }
.hours b { font-weight: 700; }
.hours span { color: var(--muted); }
.rule { display: flex; gap: 10px; align-items: flex-start; background: var(--wait-bg); color: var(--wait); border-radius: 8px; padding: 10px 14px; font-weight: 600; }
.rule .ico { margin-top: 3px; }

.table-wrap { overflow-x: auto; }
.duty { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 480px; }
.duty th { text-align: left; font-family: var(--display); font-weight: 600; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 10px 8px; border-bottom: 2px solid var(--ink); }
.duty td { padding: 10px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; vertical-align: top; }
.duty tr.month td { font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; padding-top: 20px; border-bottom: 0; }
.duty tr.next-row td { background: color-mix(in srgb, var(--signal) 16%, transparent); }
.duty tr.closed td { color: var(--muted); }
.duty .free { color: var(--wait); font-weight: 600; }

.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.map iframe { display: block; width: 100%; height: 360px; border: 0; }
.contact { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.contact dt { color: var(--muted); }
.contact dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 480px) { .contact { grid-template-columns: minmax(0, 1fr); } .contact dd { margin-bottom: 6px; } }
.people-list { list-style: none; padding: 0 !important; }
.people-list strong { display: block; font-family: var(--display); font-size: 1.2rem; }
.timeline { list-style: none; padding: 0 !important; border-left: 3px solid var(--signal); }
.timeline li { padding: 4px 0 8px 16px; }
.timeline strong { display: block; font-family: var(--display); font-size: 1.15rem; }

.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.album { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.album:hover { box-shadow: 0 6px 18px rgba(23, 33, 43, .12); transform: translateY(-2px); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .album, .album:hover { transition: none; transform: none; } }
/* mozaika: velká fotka + až 2 náhledy vpravo (na posledním „+N“) */
.album-mozaika { position: relative; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; aspect-ratio: 16 / 10; background: var(--surface); }
.album-mozaika img, .album-empty { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--soft); }
.album-mozaika .album-hl, .album-mozaika .album-empty { grid-row: 1 / span 2; }
.album-m1 { grid-template-columns: 1fr; }
.album-m2 .album-nahled { grid-row: 1 / span 2; }
.album-nahled { position: relative; overflow: hidden; min-height: 0; }
.album-vic { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(23, 33, 43, .55); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.6rem; letter-spacing: .02em; }
.album-pocet { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: rgba(23, 33, 43, .78); color: #fff; font-weight: 600; font-size: .88rem; line-height: 1.2; }
.album-pocet .ico { width: 16px; height: 16px; }
.album-text { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 0; }
.album-t { font-family: var(--display); font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
.album-n { color: var(--muted); font-size: .9rem; }
.album-cta { margin: auto 14px 14px; padding-top: 10px; font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; color: var(--link); }
.album:hover .album-cta { text-decoration: underline; }

.post-list { display: flex; flex-direction: column; gap: 22px; max-width: 72ch; }
.post-list article { border-top: 3px solid var(--signal); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.post-list time { color: var(--muted); font-size: .9rem; }
.post-list h2 { font-size: 1.6rem; text-transform: none; }
.post-list h2 a { color: var(--ink); text-decoration: none; }
/* novinky v přehledu: náhled fotky (je-li) a odkaz Číst dál */
.news-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.post-list .news-text { gap: 6px; }
.news article.has-thumb, .post-list article.has-thumb { flex-direction: row; align-items: flex-start; gap: 16px; }
.news-thumb { flex: none; width: 160px; }
.post-list .news-thumb { width: 220px; }
.news-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.read-more { align-self: flex-start; font-size: .92rem; font-weight: 600; }
@media (max-width: 560px) { .news-thumb, .post-list .news-thumb { width: 110px; } }
.pagination { margin-top: 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--ink); background: var(--surface); }
.pagination .current { background: var(--navy); color: var(--navy-ink); border-color: var(--navy); }

/* ===== Kalendář soutěží ===== */
.years { display: flex; gap: 6px; flex-wrap: wrap; }
.years a, .years span { font-family: var(--display); font-weight: 600; font-size: 1.05rem; padding: 6px 12px; border-radius: 6px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); background: var(--surface); }
.years span { background: var(--navy); color: var(--navy-ink); border-color: var(--navy); }
.cal-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { font: inherit; font-family: var(--display); font-weight: 600; font-size: 1.02rem; letter-spacing: .03em; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.filters button span { font-family: var(--body); font-size: .8rem; font-weight: 600; background: var(--soft); color: var(--muted); padding: 1px 7px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.filters button[aria-pressed="true"] { background: var(--navy); color: var(--navy-ink); border-color: var(--navy); }
.filters button[aria-pressed="true"] span { background: var(--signal); color: var(--signal-ink); }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: .97rem; color: var(--muted); min-height: 44px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--navy); }

.cal { list-style: none; margin: 0; padding: 0; }
.cal-h, .cal > li { display: grid; grid-template-columns: 90px minmax(0, 1.5fr) minmax(0, 1.2fr) minmax(0, 1fr) 180px; gap: 16px; align-items: start; }
.cal-h { font-family: var(--display); font-weight: 600; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 12px 8px; border-bottom: 2px solid var(--ink); margin-top: 16px; }
.cal > li { padding: 14px 12px; border-bottom: 1px solid var(--line); }
.cal > li[hidden] { display: none; }
.cal > li.is-own { background: color-mix(in srgb, var(--signal) 9%, transparent); }
.cal > li.is-past .c-date, .cal > li.is-past .c-name a { color: var(--muted); }
.cal > li.is-next { box-shadow: inset 4px 0 0 var(--signal); }
.c-date { font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.c-date small { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.c-name { display: flex; flex-direction: column; gap: 5px; }
.c-name a { font-weight: 600; font-size: 1.06rem; line-height: 1.25; color: var(--ink); text-decoration: none; }
.c-name a:hover { text-decoration: underline; }
.c-disc, .c-place { font-size: .96rem; }
.c-place small { display: block; color: var(--muted); font-size: .88rem; }
.c-docs { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.doc { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line); color: var(--ink); background: var(--surface); text-decoration: none; white-space: nowrap; }
.doc .ico { width: 15px; height: 15px; }
a.doc:hover { border-color: var(--ink); color: var(--ink); }
.doc.res { border-color: transparent; background: var(--ok-bg); color: var(--ok); }
a.doc.res:hover { color: var(--ok); border-color: var(--ok); }
.doc.wait { border-style: dashed; color: var(--wait); }
.doc.plain { border: 0; background: none; padding-inline: 0; color: var(--muted); font-weight: 500; }
.cal-empty { padding: 24px 12px; color: var(--muted); }
@media (max-width: 860px) {
	.cal-h { display: none; }
	.cal > li { grid-template-columns: 60px minmax(0, 1fr); gap: 6px 14px; padding: 14px 6px 14px 10px; }
	.cal > li > :not(.c-date) { grid-column: 2; }
	.cal .c-date { grid-row: span 4; }
	.c-docs { flex-direction: row; flex-wrap: wrap; margin-top: 4px; }
	.c-disc, .c-place { font-size: .93rem; }
}
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 20px; }
.legend b { color: var(--ink); font-weight: 600; }
.cal-foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; align-items: center; }

/* ===== Detail soutěže ===== */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0; }
.facts div { background: var(--surface); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.facts dt { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-family: var(--display); font-size: 1.4rem; font-weight: 600; line-height: 1.15; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; margin-top: 28px; }
@media (max-width: 860px) { .detail-grid { grid-template-columns: minmax(0, 1fr); } }
.side { display: flex; flex-direction: column; gap: 16px; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: .97rem; }
.box.pending { border-style: dashed; background: transparent; }
.box h2 { font-size: 1.2rem; letter-spacing: .04em; }
.box .doc { white-space: normal; }
.entry ol.disc { list-style: none; padding: 0; counter-reset: d; display: flex; flex-direction: column; gap: 14px; }
.entry ol.disc li { position: relative; padding-left: 54px; min-height: 40px; counter-increment: d; }
.entry ol.disc li + li { margin-top: 0; }
.entry ol.disc li::before { content: counter(d); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.3rem; box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 7px var(--signal); }
.entry ol.disc strong { display: block; font-family: var(--display); font-size: 1.2rem; }
.entry ul.prog { list-style: none; padding: 0 0 0 4px; border-left: 2px solid var(--line); }
.entry ul.prog li { position: relative; padding: 0 0 10px 18px; }
.entry ul.prog li + li { margin-top: 0; }
.entry ul.prog li::before { content: ""; position: absolute; left: -7px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 2px solid var(--muted); }
.entry ul.prog li.main { font-weight: 700; }
.entry ul.prog li.main::before { background: var(--signal); border-color: var(--signal); }
.entry ul.prog span { display: inline-block; min-width: 96px; color: var(--muted); font-variant-numeric: tabular-nums; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.photos a { display: block; border-radius: 8px; overflow: hidden; }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .2s; }
.photos a:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ===== Samoobsluha správců (/sluzby/) ===== */
.sluzby { max-width: 720px; display: flex; flex-direction: column; gap: 16px; }
.sluzby .lead { font-size: 1.1rem; }
.msg { padding: 12px 16px; border-radius: 8px; font-weight: 600; }
.msg.ok { background: var(--ok-bg); color: var(--ok); }
.msg.err { background: var(--wait-bg); color: var(--wait); }
.sluzby-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sluzby-list li { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 6px; border-bottom: 1px solid var(--line); }
.sluzby-list .sl-d { font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1.1; }
.sluzby-list .sl-d small { display: block; font-family: var(--body); font-weight: 500; font-size: .9rem; color: var(--muted); }
.sluzby-list .is-moje { background: color-mix(in srgb, var(--signal) 16%, transparent); }
.sluzby-list .is-volna .sl-kdo { color: var(--wait); font-weight: 600; }
.sluzby-list .is-zavreno { color: var(--muted); }
.sluzby-list form { margin: 0; }
@media (max-width: 560px) { .sluzby-list li { grid-template-columns: minmax(0, 1fr) auto; } .sluzby-list .sl-kdo { grid-column: 1; } .sluzby-list form { grid-row: 1 / span 2; grid-column: 2; } }

/* informační řádek rozpisu (např. Začíná zimní provoz) */
.duty tr.info td { background: var(--navy); color: var(--navy-ink); font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; text-align: center; padding: 8px 10px; }
.sluzby-list li.is-info { display: block; background: var(--navy); color: var(--navy-ink); font-family: var(--display); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; text-align: center; padding: 8px; }

/* mapa střelnice (Leaflet) */
.map-leaflet { height: 380px; width: 100%; z-index: 0; }
.map-leaflet > a { display: block; padding: 20px; }
.kvz-pin { background: none; border: 0; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .55)); }
.leaflet-tooltip.kvz-pin-label { background: var(--navy); color: #fff; border: 0; font-family: var(--display); font-weight: 600; font-size: .95rem; letter-spacing: .03em; padding: 3px 8px; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.leaflet-tooltip.kvz-pin-label::before { border-top-color: var(--navy); }

/* ===== Síň slávy ===== */
.medal { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; padding: 0 .35em; border-radius: 999px; font-family: var(--body); font-size: .8rem; font-weight: 700; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.medal.m1 { background: #F2C230; color: #3D2E00; }
.medal.m2 { background: #D3D8DD; color: #2A323A; }
.medal.m3 { background: #E2A877; color: #43230A; }
.hof-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
@media (max-width: 760px) { .hof-top { grid-template-columns: minmax(0, 1fr); } }
.hof-board { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.hof-board.is-nas { border-top: 4px solid var(--signal); }
.entry .hof-board h2 { margin: 0; font-size: 1.5rem; }
.hof-sub { color: var(--muted); font-size: .9rem; margin: 2px 0 10px; }
.hof-board ol { margin: 0; padding-left: 1.6em; }
.hof-board li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.hof-board li:last-child { border-bottom: 0; }
.hof-board li::marker { font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.hof-board li .hof-m { float: right; display: inline-flex; gap: 4px; }
.hof-n { font-weight: 600; }
.hof-n.is-nas { background: color-mix(in srgb, var(--signal) 28%, transparent); border-radius: 4px; padding: 0 4px; margin: 0 -4px; }
.hof-t small, .hof-board small { color: var(--muted); font-size: .85rem; }
.hof-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 4px; }
.hof-toc a { font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--ink); background: var(--soft); border-radius: 999px; padding: 4px 12px; }
.hof-toc a:hover { background: var(--signal); }
.hof-serial { scroll-margin-top: 16px; }
.hof-t { width: 100%; border-collapse: collapse; font-size: .96rem; }
.hof-t thead th { text-align: left; font-family: var(--display); font-weight: 600; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 10px 8px; border-bottom: 2px solid var(--ink); }
.hof-t tbody th, .hof-t td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.hof-t tbody th { font-family: var(--display); font-size: 1.15rem; white-space: nowrap; }
.hof-t tbody th a { color: var(--ink); }
.hof-t tr.hof-kat2 th, .hof-t tr.hof-kat2 td { border-top: 0; }
.hof-kat { display: block; font-family: var(--body); font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: none; letter-spacing: 0; }
@media (max-width: 760px) {
	.hof-t thead { display: none; }
	.hof-t, .hof-t tbody, .hof-t tr, .hof-t th, .hof-t td { display: block; }
	.hof-t tr { border-bottom: 1px solid var(--line); padding: 8px 0; display: grid; grid-template-columns: 5.2em minmax(0, 1fr); column-gap: 10px; }
	.hof-t .hof-kat { font-size: .74rem; line-height: 1.25; margin-top: 2px; }
	.hof-t tr.hof-kat2 { padding-top: 0; }
	.hof-t tbody th { grid-row: span 4; border: 0; padding: 0; font-size: 1.05rem; white-space: normal; }
	.hof-t td { border: 0; padding: 1px 0; font-size: .92rem; line-height: 1.35; }
	.hof-t td::before { content: attr(data-l); display: inline-block; min-width: 2.4em; color: var(--muted); font-size: .8rem; font-weight: 700; }
	.hof-t td.hof-nas { margin-top: 2px; }
}

/* ===== Počasí (předpověď Open-Meteo) ===== */
.wx { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.wx-svg { flex: none; width: 24px; height: 24px; }
.duty td .tag, .duty td .wx { vertical-align: middle; }
.wx-r { font-weight: 400; color: var(--muted); }
.card-next .wx-r { color: var(--navy-muted); }

/* ===== Plánek areálu ([kvz_planek]) ===== */
.planek { margin: 8px 0 0; }
.planek-img { position: relative; border-radius: var(--radius); overflow: hidden; line-height: 0; }
.planek-img img { display: block; width: 100%; height: auto; }
.planek-pin { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--signal); color: var(--signal-ink); border: 3px solid var(--navy); font-family: var(--body); font-weight: 800; font-size: .95rem; line-height: 1; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
@media (max-width: 560px) { .planek-pin { width: 22px; height: 22px; border-width: 2px; font-size: .72rem; } }
.planek-legenda { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; margin: 14px 0 0; padding: 0; list-style: none; counter-reset: none; }
@media (max-width: 560px) { .planek-legenda { grid-template-columns: minmax(0, 1fr); } }
.planek-legenda li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; }
.planek-legenda li::before { content: attr(value); flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--signal); color: var(--signal-ink); font-weight: 800; font-size: .8rem; }
.planek-legenda .pl-t { min-width: 0; }
.planek-legenda .pl-t span { color: var(--muted); font-size: .92rem; }

/* ===== Celý PDF na stránce (provozní řád) ===== */
.pdf-view { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1100px) { .pdf-view { width: 900px; } }
.pdf-page { background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 2px 10px rgba(23, 33, 43, .08); overflow: hidden; }
.pdf-page canvas { display: block; width: 100%; height: auto; }

/* Síň slávy – úspěchy členů na jiných soutěžích */
.hof-uspechy { margin: 8px 0 36px; }
.entry .hof-uspechy > h2 { margin-top: 0; }
.entry .hof-h2-nase { margin-top: 0; }
.hof-h3 { font-size: 1.25rem; margin: 18px 0 4px; text-transform: none; }
.hof-h3 small { color: var(--muted); font-family: var(--body); font-size: .9rem; font-weight: 400; }
.hof-rep { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 10px; }
.hof-card { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.hof-card.is-gold { border-color: #F2C230; box-shadow: inset 0 4px 0 #F2C230; }
.hof-card .medal { min-width: 2em; height: 2em; font-size: 1rem; flex: none; }
.hof-card div { display: flex; flex-direction: column; gap: 2px; }
.hof-card small { color: var(--muted); }
.hof-card span { color: var(--ink); font-size: .95rem; }
.hof-obl { max-width: 680px; margin-top: 6px; }
.hof-clen { border-bottom: 1px solid var(--line); }
.hof-clen summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; cursor: pointer; list-style: none; }
.hof-clen summary::-webkit-details-marker { display: none; }
.hof-clen summary::before { content: '›'; color: var(--muted); font-weight: 700; transition: transform .15s; }
.hof-clen[open] summary::before { transform: rotate(90deg); }
.hof-clen summary .hof-n { flex: 1; }
.hof-clen .hof-m { display: inline-flex; gap: 4px; }
.hof-clen ul { list-style: none; margin: 0 0 10px; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 5px; font-size: .94rem; }
.hof-clen li { display: flex; align-items: baseline; gap: 8px; }
.hof-rok { color: var(--muted); font-variant-numeric: tabular-nums; }

/* medaile jako ikony (kolik medailí, tolik ikon) */
.medaile { display: block; width: 15px; height: 18px; flex: none; }
.medaile-rada { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; }
.medaile-sk { display: inline-flex; align-items: center; }
.medaile-sk.m1 .medaile { width: 19px; height: 23px; }
.medaile-sk.m3 .medaile { width: 12px; height: 14px; }
.medaile-n { min-width: 2.1em; padding-left: 5px; font-size: .8rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; text-align: left; }
.medaile-sk.m1 .medaile-n { color: #9A7400; font-size: .88rem; }
.medaile-sk .medaile + .medaile { margin-left: -3px; }
.medaile-sk .medaile { filter: drop-shadow(1px 0 0 rgba(255,255,255,.9)); }
.hof-board li { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hof-board li::before { content: counter(hof) '.'; font-weight: 700; color: var(--muted); min-width: 1.6em; font-variant-numeric: tabular-nums; }
.hof-who { margin-right: auto; min-width: 0; }
.hof-board li .hof-m { float: none; display: inline-flex; }
.hof-board ol { padding-left: 0; list-style: none; counter-reset: hof; }
.hof-board li { counter-increment: hof; }
.hof-card .medaile { width: 26px; height: 32px; }
.hof-clen li .medaile { display: inline-block; vertical-align: -3px; }
.hof-misto { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 1.4em; }
.hof-tag { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: .72rem; font-weight: 600; vertical-align: 1px; }

/* ===== Tabulky v obsahu stránek (např. Klubová soutěž) ===== */
.entry .wp-block-table { margin: 12px 0 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry .wp-block-table table { border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; background: var(--surface); }
.entry .wp-block-table th { text-align: left; font-family: var(--display); font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 8px 8px; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.entry .wp-block-table td { padding: 7px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.entry .wp-block-table small { color: var(--muted); }
.entry .klubova-tab td:nth-child(n+3) { text-align: right; }
.entry .klubova-tab td strong { color: var(--ink); }
.entry .klubova-tab td:nth-child(n+3):not(:nth-last-child(-n+2)) { color: var(--muted); }
.entry .klubova-tab td:nth-last-child(2) { background: color-mix(in srgb, var(--signal) 18%, transparent); }
.entry .klubova-tab tbody tr:nth-child(-n+3) td:nth-child(2) { font-weight: 700; }
/* Síň slávy – výrazné tlačítko na Klubovou soutěž */
.page-head-side { display: flex; flex-direction: column; gap: 14px; }
.page-head-side .page-head-foto { margin-top: 0; }
.page-head-side .hof-klub-btn { margin: 0; }
@media (min-width: 900px) { .page-head.has-foto .page-head-side { width: 460px; flex: none; } .page-head.has-foto .page-head-side .page-head-foto { width: 100%; } }
.hof-klub-btn { display: flex; align-items: center; gap: 16px; margin: 4px 0 32px; padding: 16px 20px; max-width: 640px; border-radius: var(--radius); background: var(--navy); color: var(--navy-ink); text-decoration: none; border-left: 6px solid var(--signal); box-shadow: 0 6px 18px rgba(23, 33, 43, .18); transition: transform .15s, box-shadow .15s; }
.hof-klub-btn:hover { color: var(--navy-ink); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23, 33, 43, .25); }
.hof-klub-btn .medaile { width: 34px; height: 42px; flex: none; }
.hof-klub-btn span { display: flex; flex-direction: column; gap: 2px; }
.hof-klub-btn b { font-family: var(--display); font-size: 1.35rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1.1; }
.hof-klub-btn small { color: var(--navy-muted); font-size: .9rem; }
.hof-klub-btn .hof-klub-sipka { margin-left: auto; font-size: 1.6rem; color: var(--signal); }
.hof-intro-nase { color: var(--muted); max-width: 72ch; margin: 6px 0 16px; }

/* ===== Klubová soutěž – tabulky převzaté z originálních listin ===== */
.kvz-orig-wrap { margin: 8px 0 28px; }
.kvz-orig-h { margin: 0 0 4px; font-family: Calibri, "Barlow", sans-serif; font-size: 1.05rem; }
.kvz-orig-h:first-child { font-size: 1.6rem; }
.kvz-orig-h span[style*="0070C0"] { float: right; }
.kvz-orig-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 6px; }
.kvz-orig { border-collapse: collapse; background: #fff; font-family: Calibri, "Barlow", sans-serif; font-size: .9rem; font-variant-numeric: tabular-nums; }
.kvz-orig td { border: 1px solid #7f7f7f; padding: 3px 6px; text-align: center; vertical-align: middle; white-space: nowrap; line-height: 1.2; }
.kvz-orig td:nth-child(2) { text-align: left; }
.kvz-orig tr:nth-child(-n+3) td { white-space: normal; }
.kvz-klub-mesic-d { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); margin: 8px 0; padding: 0 12px; }
.kvz-klub-mesic-d > summary { cursor: pointer; padding: 10px 0; font-weight: 700; }
.kvz-klub-mesic-d[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.kvz-orig td small { font-weight: 400; color: #333; }

/* Síň slávy – filtr období */
.hof-filtr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 4px; }
.hof-filtr-l { font-weight: 700; color: var(--muted); margin-right: 2px; }
.hof-filtr button { font: inherit; font-size: .92rem; font-weight: 600; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.hof-filtr button small { font-weight: 400; color: var(--muted); font-size: .8rem; }
.hof-filtr button:hover { border-color: var(--ink); }
.hof-filtr button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.hof-filtr button[aria-pressed="true"] small { color: rgba(255, 255, 255, .75); }
.hof-v[hidden] { display: none !important; }

/* Archiv výsledků */
.archiv-roky { display: flex; flex-wrap: wrap; gap: 6px; }
.archiv-roky a { font-weight: 600; text-decoration: none; color: var(--ink); background: var(--soft); border-radius: 999px; padding: 3px 11px; font-size: .92rem; }
.archiv-roky a:hover { background: var(--signal); }
.entry .archiv-vysledku { list-style: none; padding: 0; margin: 0 0 8px; columns: 2 320px; column-gap: 32px; }
.archiv-vysledku li { break-inside: avoid; padding: 5px 0; border-bottom: 1px solid var(--line); }
.archiv-vysledku li::before { content: 'PDF'; font-size: .68rem; font-weight: 700; color: #fff; background: #B3261E; border-radius: 3px; padding: 1px 4px; margin-right: 8px; vertical-align: 2px; }
.archiv-vysledku small { color: var(--muted); margin-left: 6px; }
.entry h2[id^="rok-"] { scroll-margin-top: 16px; }
@media (max-width: 480px) { .medaile-sk .medaile + .medaile { margin-left: -7px; } }

/* Klubová soutěž – buňka vítěze Terče měsíce světle modře (sytější = zásah 20); styl je inline na buňce */
.kvz-tm-legenda { font-size: .9rem; color: var(--muted); margin: 8px 0 0; line-height: 2.2; }
.kvz-tm-legenda .kvz-tm { display: inline-block; min-width: 2.4em; padding: 1px 4px; text-align: center; color: var(--ink); background: #DDEBF7; box-shadow: inset 0 0 0 1px #9DC3E6; margin-right: 2px; line-height: 1.5; }
.kvz-tm-legenda .kvz-tm.is-20 { background: #BDD7EE; box-shadow: inset 0 0 0 2px #2E75B6; }
.kvz-tm-legenda .kvz-max { display: inline-block; min-width: 2.4em; padding: 1px 4px; text-align: center; background: #FFFF00; color: #FF0000; font-weight: 700; margin-right: 2px; line-height: 1.5; }

/* Roční tabulky klubové soutěže: všechny měsíční sloupce stejně široké */
.kvz-rocni td:nth-child(n+3):nth-child(-n+14) { width: 2.7em; min-width: 2.7em; padding-left: 2px; padding-right: 2px; box-sizing: border-box; }

/* Terče soutěže (ikony podle propozic) */
.terce { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.terce li { display: flex; line-height: 0; }
.terce .terc-svg { display: block; filter: drop-shadow(0 1px 1px rgba(0,0,0,.12)); }
.entry .terce-velke { gap: 14px; margin: 4px 0 22px; }
.terce-velke li { flex-direction: column; align-items: center; gap: 6px; width: 84px; line-height: 1.2; text-align: center; font-size: .82rem; font-weight: 600; color: var(--ink); }
.entry .terce-velke li { margin: 0; padding: 0; }
.kvz-rocni .kvz-tm, .kvz-tm-legenda .kvz-tm { font-weight: 700; }
.kvz-vitezove .kvz-orig td { padding: 5px 12px; }
.kvz-vitezove .kvz-orig td:nth-child(n+2) { text-align: left; }
.kvz-vitezove .kvz-orig td.kvz-body { text-align: right; padding-left: 4px; font-variant-numeric: tabular-nums; }
.kvz-vitezove .kvz-orig td:has(+ td.kvz-body) { padding-right: 4px; }
.kvz-terc-ikona { display: inline-block; margin: 3px 0 1px; line-height: 0; }
.kvz-terc-ikona .terc-svg { display: block; filter: drop-shadow(0 1px 1px rgba(0,0,0,.15)); }
.kvz-orig tr:nth-child(2) td { text-align: center; } /* druhý řádek záhlaví (terč č. 2 / II.) není sloupec jmen */

/* Úvod – nejbližší soutěž: stručné disciplíny a terče */
.next-disc { list-style: none; counter-reset: nd; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: .92rem; line-height: 1.35; }
.next-disc li { counter-increment: nd; display: grid; grid-template-columns: 1.6em minmax(0, 1fr); column-gap: 6px; }
.next-disc li::before { content: counter(nd) '.'; font-weight: 700; color: var(--signal); grid-row: span 2; }
.next-disc b { font-weight: 600; color: var(--navy-ink); }
.next-disc span { color: var(--navy-muted); }
.next-terce { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; font-size: .85rem; color: var(--navy-muted); }
.next-terce .terce { margin: 0; gap: 6px; }
.next-terce .terc-svg { width: 25px; height: 30px; }

/* Úvod – levé okno: další otevření a navigace */
.next-open-h { margin: 18px 0 6px; }
.next-open { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.next-open li { display: grid; grid-template-columns: minmax(7.5em, auto) minmax(6.5em, auto) minmax(0, 1fr); gap: 4px 14px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.next-open .no-d { font-weight: 600; }
.next-open .no-t { font-variant-numeric: tabular-nums; color: var(--muted); }
.next-open .no-k { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.open-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 4px; }
@media (max-width: 480px) { .next-open li { grid-template-columns: 1fr auto; } .next-open .no-k { grid-column: 1 / -1; } }

/* Úvod – levé okno: velké počasí / kalendářní list vedle data */
.open-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wx-big { display: flex; align-items: center; gap: 10px; flex: none; padding: 8px 14px 8px 10px; border-radius: 12px; background: color-mix(in srgb, #2F7FD1 7%, var(--surface)); }
.wx-big .wx-svg { display: block; width: 64px; height: 64px; }
.wx-big div { display: flex; flex-direction: column; line-height: 1.15; }
.wx-big b { font-family: var(--display); font-size: 1.9rem; font-weight: 700; }
.wx-big span { font-size: .85rem; color: var(--muted); }
.cal-list { flex: none; width: 74px; border-radius: 10px; overflow: hidden; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,.12); border: 1px solid var(--line); background: var(--surface); }
.cal-list span { display: block; background: #c0392b; color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 0; }
.cal-list b { display: block; font-family: var(--display); font-size: 2.1rem; line-height: 1.3; }
@media (max-width: 420px) { .wx-big { padding: 6px 10px 6px 6px; } .wx-big .wx-svg { width: 48px; height: 48px; } .wx-big b { font-size: 1.5rem; } }
@media (max-width: 480px) { .open-head { flex-wrap: wrap; gap: 10px; } .open-head .when { flex: 1 1 100%; } .wx-big { flex: 1 1 100%; } }
.wx-big .wx-big-h { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 1px; }
.open-spravce { display: flex; align-items: baseline; gap: 10px; margin: 12px 0 0; }
.open-spravce span { font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.open-spravce b { font-family: var(--display); font-size: 1.45rem; font-weight: 700; line-height: 1.15; }
/* pravý sloupec vedle data: fotka střeliště, pod ní počasí */
.open-head { align-items: flex-start; }
.open-side { flex: 0 0 230px; display: flex; flex-direction: column; gap: 8px; }
.open-foto { display: block; border-radius: 12px; overflow: hidden; line-height: 0; }
.open-foto img { width: 100%; height: 120px; object-fit: cover; display: block; transition: transform .3s; }
.open-foto:hover img { transform: scale(1.04); }
.open-side .wx-big { padding: 8px 12px 8px 8px; }
.open-side .wx-big .wx-svg { width: 52px; height: 52px; }
.open-side .wx-big b { font-size: 1.6rem; }
.open-side .cal-list { align-self: flex-start; }
@media (max-width: 480px) { .open-side { flex: 1 1 100%; } .open-foto img { height: 150px; } }
.open-main { flex: 1 1 auto; min-width: 0; }
.open-main .open-spravce { flex-direction: column; align-items: flex-start; gap: 2px; margin-top: 18px; }
@media (max-width: 480px) { .open-main { flex: 1 1 100%; } .open-main .open-spravce { flex-direction: row; align-items: baseline; gap: 10px; margin-top: 10px; } }
.open-main > .state { margin-bottom: 14px; }
.open-main > .label { display: block; margin: 0 0 2px; }

/* Úvod – nejbližší soutěž: malá fotka vedle názvu */
.next-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.next-head h2 { margin-top: 0; }
.next-foto { flex: 0 0 150px; border-radius: 10px; overflow: hidden; line-height: 0; box-shadow: 0 2px 10px rgba(0,0,0,.35); }
.next-foto img { width: 150px; height: 100px; object-fit: cover; display: block; transition: transform .3s; }
.next-foto:hover img { transform: scale(1.05); }
@media (max-width: 480px) { .next-foto { flex-basis: 96px; } .next-foto img { width: 96px; height: 72px; } }
/* fotka u soutěže stejně velká a stejně vysoko jako fotka střeliště vlevo */
.next-head > div { min-width: 0; }
.next-foto { flex: 0 0 230px; }
.next-foto img { width: 230px; height: 120px; }
@media (max-width: 760px) { .next-foto { flex-basis: 150px; } .next-foto img { width: 150px; height: 100px; } }
@media (max-width: 480px) { .next-head { flex-wrap: wrap; } .next-foto { flex: 1 1 100%; } .next-foto img { width: 100%; height: 150px; } }
.next-foto { margin-top: 1px; }

/* Přehled soutěží: sloupec Zbraně (pistole / revolver / puška) */
.cal-h, .cal > li { grid-template-columns: 90px minmax(0, 1.5fr) minmax(0, 1.2fr) 108px minmax(0, .9fr) 180px; }
.zbrane { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.zbrane li { display: flex; line-height: 0; padding: 3px 4px; border-radius: 6px; background: var(--soft); }
.zbrane .zbran-svg { display: block; }
.entry .zbrane-velke { gap: 14px; margin: 4px 0 22px; }
.zbrane-velke li { flex-direction: column; align-items: center; gap: 6px; width: 84px; padding: 10px 4px 8px; line-height: 1.2; text-align: center; font-size: .82rem; font-weight: 600; color: var(--ink); border-radius: 10px; }
.entry .zbrane-velke li { margin: 0; }
@media (max-width: 860px) {
	.cal-h, .cal > li { grid-template-columns: 60px minmax(0, 1fr); }
	.cal .c-date { grid-row: span 5; }
	.c-zbrane:empty { display: none; }
}
.zbrane li.zbrane-spoj { background: none; padding: 0 1px; align-items: center; line-height: 1; font-weight: 700; font-size: .95rem; color: var(--muted); }
.zbrane-velke li.zbrane-spoj { width: auto; padding: 0 2px; font-size: .9rem; font-weight: 600; align-self: center; }

/* Znak pořadatele u jeho jména */
.c-place { display: flex; align-items: center; gap: 8px; }
.znak { width: auto; flex: none; object-fit: contain; filter: drop-shadow(0 1px 1px rgba(0,0,0,.15)); }
.kv dd .znak { vertical-align: middle; margin-right: 8px; }
/* tlačítka obou oken úvodu v jedné řadě u spodního okraje */
@media (min-width: 761px) {
	.card-open, .card-next { display: flex; flex-direction: column; }
	.card-open > .btns, .card-next > .btns { margin-top: auto; padding-top: 14px; }
}
.card-next { border: 1px solid transparent; } /* stejná výška obsahu jako levé okno s rámečkem */
@media (max-width: 480px) { .jen-siroke { display: none; } .open-links { flex-wrap: nowrap; } .open-links .btn { padding-inline: 14px; } }

/* Úvod – nejbližší soutěž: tlačítko Do kalendáře s nabídkou */
.cal-menu { position: relative; }
.cal-menu summary { list-style: none; cursor: pointer; }
.cal-menu summary::-webkit-details-marker { display: none; }
.cal-menu[open] summary { background: var(--navy-ink); color: var(--navy); }
.cal-menu-list { position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 5; min-width: 250px; display: flex; flex-direction: column; background: var(--surface); border-radius: 10px; box-shadow: 0 12px 30px -8px rgba(0,0,0,.45); overflow: hidden; }
.cal-menu-list a { padding: 11px 14px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; border-bottom: 1px solid var(--line); }
.cal-menu-list a:last-child { border-bottom: 0; }
.cal-menu-list a:hover { background: var(--soft); }
.cal-menu-list small { color: var(--muted); font-weight: 400; }
@media (max-width: 480px) { .cal-menu-list { min-width: 0; width: max-content; max-width: calc(100vw - 80px); } }
.cal-odber { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 420px; }
.cal-odber p { margin: 0; font-size: .86rem; line-height: 1.4; color: var(--muted); }
.cal-odber p a { white-space: nowrap; }

/* Živý stav od správce */
.stav-ted { display: block; margin-top: 6px; font-size: .88rem; color: var(--muted); }
.stav-box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 16px 18px; margin: 0 0 22px; }
.stav-box h2 { margin: 0 0 6px; font-size: 1.3rem; }
.stav-nyni { margin: 0 0 12px; }
.stav-akce { display: flex; flex-wrap: wrap; gap: 10px; }
.stav-akce form, .stav-box > form { margin: 0; }
.stav-zavreno { margin-top: 12px; }
.stav-zavreno summary { cursor: pointer; font-weight: 600; color: var(--muted); }
.stav-zavreno form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.stav-zavreno input[type=text] { flex: 1 1 220px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.stav-box .btn-link { background: none; border: 0; padding: 8px 0 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .88rem; }
.stav-strelnice { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 14px 16px; margin: 0 0 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.stav-strelnice .stav-ted { display: inline; margin: 0; }
.stav-strelnice p { margin: 0; flex: 1 1 100%; }
.table-wrap { position: relative; } /* skryté texty pro čtečky v tabulce nesmí rozšířit stránku */

/* Online přihláška na soutěž */
.prihlaska { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal) inset; scroll-margin-top: 90px; }
.prihlaska-form { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.prihlaska-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: .95rem; }
.prihlaska-form label small { font-weight: 400; color: var(--muted); }
.prihlaska-form input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-weight: 400; background: var(--paper); color: var(--ink); }
.prihlaska-form .btn { justify-content: center; }
.prihlaska-form .note { margin: 0; font-size: .85rem; }
.prihlaska-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.prihlaska-odhlasit { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.prihlaska-odhlasit p { margin: 0; }
.doc.prihl { background: var(--signal); border-color: transparent; color: var(--signal-ink); }

/* Upozornění e-mailem (patička, stránka Soutěže) */
.odber { display: flex; flex-direction: column; gap: 8px; scroll-margin-top: 90px; }
.odber form { margin: 0; }
.odber-radek { display: flex; gap: 6px; }
.odber-radek input { flex: 1 1 auto; min-width: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: var(--surface); color: var(--ink); }
.odber-radek .btn { min-height: 42px; padding: 8px 14px; flex: none; }
.odber-pozn { margin: 0; font-size: .82rem; line-height: 1.4; }
.odber .msg { margin: 0; font-size: .88rem; padding: 8px 12px; }
.site-foot .odber-pozn { color: var(--navy-muted); }
.site-foot .odber-radek input { border-color: var(--navy-2); }
.cal-email { max-width: 420px; }
.cal-email .odber-pozn { color: var(--muted); }

/* Výsledky online (stránka soutěže) */
.vys-online { margin-top: 36px; scroll-margin-top: 80px; }
.vys-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.vys-zive { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 600; font-size: .92rem; }
.vys-tecka { width: 10px; height: 10px; border-radius: 50%; background: #2DB36B; animation: vys-puls 1.6s infinite; }
@keyframes vys-puls { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .vys-tecka { animation: none; } }
.vys-cas { color: var(--muted); font-size: .88rem; }
.vys-nastroje { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.vys-hledat { flex: 1 1 240px; max-width: 360px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: var(--surface); color: var(--ink); }
.vys-kat { margin: 18px 0 6px; font-size: 1.25rem; }
.vys-tab { border-collapse: collapse; width: 100%; background: var(--surface); font-variant-numeric: tabular-nums; font-size: .95rem; }
.vys-tab th { text-align: left; font-family: var(--display); font-weight: 600; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 8px; border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.vys-tab td { padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.vys-tab .c { text-align: center; width: 48px; }
.vys-tab .n { text-align: right; white-space: nowrap; }
.vys-tab th.n { max-width: 120px; white-space: normal; }
.vys-tab td small { display: block; color: var(--muted); font-size: .84rem; }
.vys-tab .vys-celkem { font-weight: 700; font-size: 1.05rem; }
.vys-tab .vys-celkem small { display: inline; margin-left: 2px; }
.vys-tab tr.nas td { background: #FFF6D6; }
.vys-tab tr.nas td:first-child { box-shadow: inset 4px 0 0 var(--signal); }
.vys-nic { color: var(--line); }
.vys-pozn { margin-top: 10px; }
.vys-tisk-info { display: none; }
@media print {
	.site-head, .site-foot, .page-head .tags, .btns, .detail-grid, .facts, #fotky, .vys-nastroje, .vys-zive, .crumb, .skip-link { display: none !important; }
	body { background: #fff; }
	.vys-online { margin: 0; }
	.vys-tisk-info { display: block; margin: 4px 0 8px; }
	.vys-tab { font-size: 10pt; }
	.vys-tab tr.nas td { background: none; }
	.vys-tab tr { break-inside: avoid; }
	.table-wrap { overflow: visible; }
}
.vys-tab .vys-rozpis { display: none; }
@media (max-width: 700px) {
	.vys-tab .d { display: none; }
	.vys-tab .vys-rozpis { display: block; font-variant-numeric: tabular-nums; }
	.vys-tab td, .vys-tab th { padding-left: 6px; padding-right: 6px; }
	.vys-tab .c { width: 34px; }
}

/* ===== Průvodce pro nováčky (shortcode kvz_pruvodce) ===== */
abbr.zkr { text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }
.pruvodce-odkaz { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.pruvodce-odkaz span { color: var(--muted); font-size: .95rem; }
.pruvodce-foto, .entry .wp-block-image.pruvodce-foto { float: right; width: min(340px, 45%); margin: 0 0 16px 24px; }
.pruvodce-foto img { display: block; width: 100%; height: auto; border-radius: 10px; }
.pruvodce-foto figcaption { margin-top: 6px; font-size: .85rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 600px) { .pruvodce-foto, .entry .wp-block-image.pruvodce-foto { float: none; width: 100%; margin: 0 0 16px; } }
.pruvodce h2 { clear: both; }
.pruvodce-obsah { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; }
.entry .pruvodce-obsah ol { margin: 0; columns: 2 220px; column-gap: 28px; }
.entry .pruvodce-obsah li { margin: 0 0 4px; break-inside: avoid; }
.pruvodce h2 { scroll-margin-top: 90px; }
.entry .pruvodce .wp-block-table td { white-space: normal; vertical-align: top; }
.entry .pruvodce .wp-block-table td:first-child { white-space: nowrap; }
.entry .pruvodce-vt td:nth-child(n+3), .entry .pruvodce-vt th:nth-child(n+3) { text-align: right; }
.entry .pruvodce-vt td:nth-child(3) { font-weight: 700; }
.entry ul.pruvodce-terce { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px 20px; }
.entry ul.pruvodce-terce li { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-content: start; font-size: .92rem; color: var(--muted); }
.pruvodce-terce .terc-svg { grid-row: 1 / span 2; filter: drop-shadow(0 1px 1px rgba(0,0,0,.12)); }
.pruvodce-terce strong { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--ink); }
.pruvodce-vic { border-top: 1px solid var(--line); padding-top: 10px; }
.pruvodce-vic summary { cursor: pointer; font-weight: 600; }
.pruvodce-zdroj { margin-top: 2em; }
.terce img.terc-obr, img.terc-obr { object-fit: contain; }
.pruvodce-terce .terc-svg { width: 84px; height: 84px; }
.terce-velke img.terc-obr { width: 76px; }

/* Soutěže na jiných střelnicích */
.okoli-odkaz { margin-top: 18px; }
.okoli-pocet { display: inline-block; min-width: 1.5em; margin-left: 6px; padding: 0 .4em; border-radius: 999px; background: var(--signal-ink); color: var(--signal); font-size: .85em; line-height: 1.5; text-align: center; }
.okoli-mesic { margin: 1.6em 0 .6em; }
.entry ul.okoli-seznam, .okoli-seznam { list-style: none; margin: 0; padding: 0; }
.entry .okoli-seznam li, .okoli-seznam li { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 6px 16px; align-items: start; margin: 0; padding: 14px 0; border-top: 1px solid var(--line); }
.okoli-datum { display: flex; flex-direction: column; line-height: 1.25; }
.okoli-datum b { font-family: var(--display); font-size: 1.25rem; white-space: nowrap; }
.okoli-datum span { color: var(--muted); font-size: .85rem; }
.okoli-strelnice { margin: 0; color: var(--muted); font-size: .85rem; font-weight: 600; letter-spacing: .02em; }
.okoli-text h3 { margin: 0 0 4px; font-size: 1.1rem; }
.okoli-text p:last-child { margin-bottom: 0; }
.okoli-btn { white-space: nowrap; }
.entry ul.okoli-weby, .okoli-weby { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.entry .okoli-weby li { margin: 0; padding: 0; }
@media (max-width: 640px) {
	.entry .okoli-seznam li, .okoli-seznam li { grid-template-columns: 62px minmax(0, 1fr); }
	.okoli-btn { grid-column: 2; justify-self: start; white-space: normal; }
}
.okoli-odkaz + .pruvodce-odkaz { margin-top: 10px; }
.page-head-text .okoli-odkaz { margin-bottom: 0; }
.okoli-zruseno { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #f8d9d9; color: #8a1f1f; font-size: .75rem; vertical-align: middle; }
.entry .okoli-seznam li.is-nase, .okoli-seznam li.is-nase { margin: 0 -12px; padding: 14px 12px; border-left: 4px solid var(--signal); border-radius: 6px; background: rgba(242, 183, 5, .14); }
.okoli-nase { display: inline-block; margin-right: 4px; padding: 1px 8px; border-radius: 999px; background: var(--signal); color: var(--signal-ink); font-size: .75rem; font-weight: 700; }
.okoli-kryje { display: inline-block; margin: 0 0 4px !important; padding: 1px 8px; border-radius: 999px; background: #f8d9d9; color: #8a1f1f; font-size: .78rem; font-weight: 700; }
.okoli-kal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 8px; }
.okoli-kal p { flex: 1 1 260px; margin: 0; color: var(--muted); font-size: .92rem; }
