/* Sport na Vysočině — vzhled webu (2026). Čerstvý, sportovní, světlý. Barvy z grafiky webu a loga SK TRI. Bez knihoven. */
:root {
  --blue: #0d66b3; --blue-d: #084b86; --navy: #0a2540; --green: #6dbb3f; --red: #e8505b; --orange: #f28c2a; --cyan: #00b4ee;
  --bg: #eef3f8; --card: #fff; --ink: #0e1b2c; --muted: #5b6b7e; --line: #dce5ef; --soft: #f4f8fc;
  --font: 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --display: 'Segoe UI Variable Display', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --wrap: 1200px; --r: 22px; --shadow: 0 1px 2px rgba(10, 37, 64, .08), 0 10px 30px rgba(10, 37, 64, .1);
  --header-h: 80px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; font: 17px/1.65 var(--font); color: var(--ink); background: var(--bg); display: flex; flex-direction: column; min-height: 100vh; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; } a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: #fff; padding: 10px 16px; border-radius: 10px; } .skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
svg.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -.015em; margin: 1.5em 0 .5em; color: var(--navy); }
h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 850; font-style: italic; } h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; font-style: italic; } h3 { font-size: 21px; font-weight: 750; } h4 { font-size: 18px; }
main { flex: 1; }

/* ── hlavička ────────────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 90; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.logo { flex: none; display: block; line-height: 0; } .logo img { height: 52px; width: auto; transition: transform .25s; } .logo:hover img { transform: skewX(-4deg) scale(1.03); }
.nav { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 16px; min-width: 0; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.nav li { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; padding: 10px 15px; border: 0; background: none; font: 700 16px/1 var(--font); color: var(--navy); text-decoration: none; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s; }
.nav-link:hover, .has-sub:hover > .nav-link, .nav-link[aria-expanded="true"] { background: var(--soft); color: var(--blue); }
.nav-link.is-on { background: var(--navy); color: #fff; } .nav-link .ic { width: 1em; height: 1em; opacity: .7; }
.sub { position: absolute; left: 0; top: calc(100% + 8px); min-width: 240px; margin: 0; padding: 8px; list-style: none; background: #fff; border-radius: 18px; box-shadow: 0 18px 44px rgba(10, 37, 64, .22); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .16s; z-index: 5; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 14px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15.5px; } .sub a:hover, .sub a[aria-current] { background: var(--soft); color: var(--blue); }
.sub .d1 a { padding-left: 30px; font-weight: 500; color: var(--muted); font-size: 15px; }
.cta { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 14px; border-radius: 16px; background: linear-gradient(135deg, var(--red), var(--orange)); color: #fff; text-decoration: none; box-shadow: 0 6px 16px rgba(232, 80, 91, .35); transition: transform .15s, box-shadow .15s; }
.cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(232, 80, 91, .45); } .cta .ic { width: 22px; height: 22px; } .cta span { display: grid; line-height: 1.15; } .cta small { font-size: 11px; letter-spacing: .09em; text-transform: uppercase; opacity: .9; font-weight: 700; } .cta b { font-size: 15px; font-weight: 800; white-space: nowrap; }
.burger { display: none; width: 48px; height: 48px; border: 0; border-radius: 14px; background: var(--soft); color: var(--navy); cursor: pointer; place-items: center; margin-left: auto; } .burger .ic { width: 24px; height: 24px; } .burger .ic:nth-child(2) { display: none; }

/* ── tlačítka, čipy ──────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 14px; border: 2px solid transparent; background: var(--blue); color: #fff; font: 800 16.5px/1.1 var(--font); text-decoration: none; cursor: pointer; box-shadow: 0 8px 18px rgba(13, 102, 179, .3); transition: transform .12s, box-shadow .12s, background .15s; }
.btn:hover { color: #fff; background: var(--blue-d); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(13, 102, 179, .38); }
.btn.sm { padding: 9px 16px; font-size: 14.5px; } .btn.ghost { background: transparent; color: var(--blue); border-color: var(--blue); box-shadow: none; } .btn.ghost:hover { background: var(--blue); color: #fff; }
.btn.ghost-dark { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: none; } .btn.ghost-dark:hover { border-color: var(--blue); color: var(--blue); background: #fff; }
.chip { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font: 800 12px/1 var(--font); letter-spacing: .07em; text-transform: uppercase; background: var(--soft); color: var(--muted); }
.chip.is-done { background: #e8edf3; color: #5b6b7e; } .chip.is-soon { background: #fff1d6; color: #a85a00; }

/* ── úvod ────────────────────────────────────────────────────────────────── */
.hero { padding: 26px 0 8px; }
.banner { margin: 0; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); line-height: 0; background: var(--blue); } .banner img { width: 100%; height: auto; display: block; }
.next { position: relative; z-index: 2; margin: -54px 28px 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; padding: 26px 32px; background: #fff; border-radius: 26px; box-shadow: 0 18px 50px rgba(10, 37, 64, .22); border-left: 8px solid var(--red); }
.next .label { display: inline-flex; align-items: center; gap: 8px; font: 800 12.5px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.next h2 { margin: 8px 0 6px; font-size: clamp(26px, 3.4vw, 40px); } .next .meta { margin: 0; color: var(--muted); font-weight: 600; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; } .next .sep { opacity: .4; }
.next-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.stavy-cd { display: inline-flex; flex-direction: column; gap: 8px; } .stavy-cd-title { display: none; }
.stavy-cd-cells { display: flex; gap: 10px; }
.stavy-cd-cell { min-width: 78px; padding: 12px 8px 10px; text-align: center; border-radius: 16px; background: linear-gradient(160deg, var(--blue), var(--navy)); color: #fff; box-shadow: 0 8px 18px rgba(10, 37, 64, .25); }
.stavy-cd-cell b { display: block; font: 850 clamp(28px, 3.4vw, 40px)/1 var(--display); font-style: italic; font-variant-numeric: tabular-nums; } .stavy-cd-cell i { display: block; margin-top: 5px; font: normal 11px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: #a6c9ea; }
.stavy-cd-after { font: 850 28px/1.2 var(--display); font-style: italic; color: var(--red); }

.block { margin: 46px auto 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 18px; } .sec-head h2 { margin: 0; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; color: var(--blue); } .more:hover { color: var(--red); } .more .ic { transition: transform .15s; } .more:hover .ic { transform: translateX(4px); }
.events { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 18px; }
.ev { --c: var(--red); display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px 20px 18px; background: #fff; border-radius: var(--r); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); border-top: 6px solid var(--c); position: relative; overflow: hidden; transition: transform .18s, box-shadow .18s; }
.ev::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--c); opacity: .08; }
.ev:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(10, 37, 64, .2); color: var(--ink); }
.ev-blue { --c: var(--blue); } .ev-green { --c: var(--green); } .ev-orange { --c: var(--orange); } .ev-red { --c: var(--red); }
.ev-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; } .ev-ic { width: 38px; height: 38px; color: var(--c); stroke-width: 1.6; }
.ev b { font: 800 21px/1.2 var(--display); font-style: italic; color: var(--navy); } .ev-meta { color: var(--muted); font-size: 15px; line-height: 1.5; } .ev-meta .ic { margin-right: 6px; color: var(--c); } .ev-meta.muted { font-style: italic; }
.ev-go { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--c); } .ev:hover .ev-go .ic { transform: translateX(4px); } .ev-go .ic { transition: transform .15s; }
.two { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 34px; align-items: start; }
.posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.post { display: grid; gap: 4px; padding: 18px 22px; background: #fff; border-radius: 20px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); border-left: 6px solid var(--cyan); transition: transform .16s, border-color .16s; } .post:hover { transform: translateX(5px); border-color: var(--red); color: var(--ink); }
.post time { font: 800 12.5px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); } .post b { font: 800 20px/1.25 var(--display); color: var(--navy); } .post span { color: var(--muted); font-size: 15.5px; } .post .more { font-style: normal; margin-top: 4px; }
.posts.big { margin-top: 26px; }
.dates { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dates a { display: flex; gap: 14px; align-items: center; padding: 12px 16px; background: #fff; border-radius: 18px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s; } .dates a:hover { transform: translateX(5px); color: var(--ink); }
.dates time { flex: none; width: 54px; padding: 6px 0 5px; border-radius: 14px; background: var(--navy); color: #fff; text-align: center; line-height: 1; } .dates time b { display: block; font: 850 24px/1 var(--display); } .dates time small { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #9fc3e6; }
.dates span b { display: block; line-height: 1.25; } .dates span small { color: var(--muted); font-size: 14px; }
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; justify-content: center; }
.logos a { display: grid; place-items: center; height: 108px; min-width: 150px; padding: 14px 24px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); transition: transform .16s; } .logos a:hover { transform: translateY(-5px); }
.logos img { max-height: 76px; max-width: 200px; width: auto; filter: grayscale(.2); transition: filter .2s; } .logos a:hover img { filter: none; }
.club-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 34px; align-items: center; padding: 30px 36px; background: linear-gradient(135deg, #fff, var(--soft)); border-radius: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.club-card img { grid-row: span 2; width: 220px; height: auto; } .club-card p { margin: 0; } .club-card p:last-child { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── stránky ─────────────────────────────────────────────────────────────── */
.phead { padding: 38px 0 44px; background: linear-gradient(120deg, var(--blue-d), var(--blue) 55%, #1d86d2); color: #fff; position: relative; overflow: hidden; }
.phead::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 180, 238, .5), transparent 70%); }
.phead .wrap { position: relative; z-index: 1; } .phead h1 { color: #fff; margin: 8px 0 0; font-size: clamp(30px, 4.6vw, 52px); text-shadow: 0 2px 16px rgba(5, 25, 50, .35); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14.5px; color: #cfe3f7; } .crumbs a { color: #fff; text-decoration: none; opacity: .92; } .crumbs a:hover { color: #ffd9a0; } .crumbs span { opacity: .55; }
.when { display: inline-flex; align-items: center; gap: 8px; margin: 12px 18px 0 0; font-weight: 700; color: #e4f0fc; }
.ev-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 4px; } .ev-head .chip { margin-top: 12px; background: #fff; }
.ev-count { margin-top: 20px; }
.page-wrap { margin-top: -26px; position: relative; z-index: 2; padding-bottom: 20px; }
.card { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 36px); margin: 0 0 26px; }
.prose > :first-child { margin-top: 0; } .prose > :last-child { margin-bottom: 0; }
.prose { font-size: 17.5px; } .prose p { margin: 0 0 1.05em; } .prose a { font-weight: 700; } .prose img { border-radius: 14px; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li { margin: .35em 0; } .prose ul li::marker { color: var(--red); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 16.5px; }
.prose td, .prose th { padding: 12px 14px; border: 1px solid var(--line); vertical-align: top; } .prose th { text-align: left; background: var(--soft); }
.is-event .prose table td:first-child, .p-klub-sk-tri table th { width: 230px; background: var(--soft); font-weight: 700; color: var(--blue-d); }
.prose tr:nth-child(even) td:not(:first-child) { background: #fafcfe; }
.prose hr { border: 0; height: 2px; background: var(--line); margin: 1.8em 0; }
.form-embed { margin: 1.6em 0 0; padding: 20px; border-radius: 22px; background: var(--soft); border: 2px dashed var(--cyan); } .form-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; } .form-head h2 { margin: 0; font-size: 26px; }
.form-embed iframe { display: block; width: 100%; max-width: 760px; margin: 0 auto; min-height: 900px; border: 0; border-radius: 14px; background: #fff; }
.p-kontakty table, .p-kontakty tbody { display: block; } .p-kontakty tbody { display: grid; gap: 16px; } .p-kontakty table { margin: 0; }
.p-kontakty tr { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: center; padding: 20px 24px; border-radius: 20px; background: var(--soft); border-left: 6px solid var(--cyan); } .p-kontakty td { display: block; border: 0; padding: 0; background: none !important; width: auto !important; } .p-kontakty h3 { margin: 0 0 4px; } .p-kontakty p { margin: 0; color: var(--muted); } .p-kontakty td:last-child p { color: var(--ink); font-weight: 700; font-size: 18px; }
.p-clenove table { max-width: 640px; } .p-clenove td { width: 50% !important; }
.docs-tools { margin: 6px 0 22px; } .search { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); max-width: 560px; } .search input { flex: 1; border: 0; outline: 0; font: 17px/1.3 var(--font); background: transparent; min-width: 0; }
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; align-items: start; } .docs-year { margin: 0; padding: 22px 24px; } .docs-year h2 { margin: 0 0 12px; font-size: 30px; } .docs-year h2 small { font-size: 14px; font-style: normal; color: var(--muted); font-weight: 600; }
.docs-year ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; } .docs-year a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; text-decoration: none; color: var(--ink); } .docs-year a:hover { background: var(--soft); color: var(--blue); } .docs-year .t { flex: 1; min-width: 0; font-weight: 600; font-size: 15.5px; } .docs-year small { color: var(--muted); font-size: 13px; white-space: nowrap; } .docs-year .ic { color: var(--muted); }
.ext { flex: none; width: 42px; padding: 5px 0; text-align: center; border-radius: 8px; background: var(--red); color: #fff; font: 800 11px/1 var(--font); letter-spacing: .05em; } .ext-xls, .ext-xlsx { background: var(--green); } .ext-zip, .ext-gpx { background: var(--orange); } .ext-doc, .ext-docx { background: var(--blue); }
.empty { text-align: center; color: var(--muted); padding: 30px 0; }

/* ── patička ─────────────────────────────────────────────────────────────── */
.foot { margin-top: 56px; padding: 46px 0 22px; background: var(--navy); color: #a9bfd6; }
.foot-in { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 30px 36px; align-items: start; }
.plate { display: inline-block; padding: 14px 20px; background: #fff; border-radius: 18px; line-height: 0; } .plate img { height: 46px; width: auto; } .foot-brand p { margin: 14px 0 0; font-size: 15px; line-height: 1.6; }
.foot-col { display: grid; gap: 9px; align-content: start; } .foot-col b { color: #fff; font: 800 17px/1.2 var(--display); margin-bottom: 4px; }
.foot a { color: #d3e3f4; text-decoration: none; font-size: 15.5px; display: inline-flex; gap: 9px; align-items: flex-start; } .foot a:hover { color: #fff; text-decoration: underline; } .foot a .ic { margin-top: .22em; color: var(--cyan); }
.copy { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: #7f98b3; }

/* ── mobil ───────────────────────────────────────────────────────────────── */
@media (max-width: 1060px) {
  .burger { display: grid; } html.nav-open .burger .ic:nth-child(1) { display: none; } html.nav-open .burger .ic:nth-child(2) { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 20px 16px 40px; display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 18px; overflow: auto; } html.nav-open .nav { display: flex; } html.nav-open body { overflow: hidden; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 6px; } .nav-link { width: 100%; justify-content: space-between; padding: 16px 20px; font-size: 19px; border-radius: 16px; background: var(--soft); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 12px; display: none; min-width: 0; } .has-sub.open > .sub { display: block; } .sub a { font-size: 17px; padding: 12px 14px; }
  .cta { justify-content: center; padding: 14px 20px; }
  .two { grid-template-columns: 1fr; } .next { grid-template-columns: 1fr; margin: -40px 12px 0; padding: 22px 22px 24px; } .docs { grid-template-columns: 1fr; } .foot-in { grid-template-columns: 1fr 1fr; }
  .club-card { grid-template-columns: 1fr; padding: 26px; } .club-card img { grid-row: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; } :root { --header-h: 68px; } .logo img { height: 44px; }
  .banner { border-radius: 22px; } .hero { padding-top: 14px; }
  .stavy-cd-cells { gap: 7px; } .stavy-cd-cell { min-width: 62px; padding: 10px 4px 8px; }
  .p-kontakty tr { grid-template-columns: 1fr; } .foot-in { grid-template-columns: 1fr; }
  .events { grid-template-columns: 1fr 1fr; gap: 12px; } .ev { padding: 16px 14px; } .ev b { font-size: 18px; } .ev-meta { font-size: 14px; }
  .is-event .prose table td:first-child { width: 120px; } .prose td, .prose th { padding: 10px; font-size: 15.5px; }
  .form-embed { padding: 12px; } .form-embed iframe { min-height: 820px; }
}
@media (max-width: 420px) { .events { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
