/* =========================================================
   Medites – design system
   Modrá autismu + zlatá (přijetí) + doplňkové tyrkysová a fialová
   ========================================================= */
:root {
  --navy: #0B2545;
  --blue-800: #123E6B;
  --blue-700: #17518C;
  --blue: #1E6FBF;
  --blue-400: #4A9BE0;
  --blue-200: #BBDCF7;
  --blue-soft: #E7F2FC;
  --blue-50: #F2F8FE;

  --gold: #F4B73F;
  --gold-600: #E3A21F;
  --gold-ink: #7A5300;
  --gold-soft: #FFF3D6;
  --teal: #1897A3;
  --teal-soft: #DFF4F5;
  --violet: #6A5FC8;
  --violet-soft: #EEECFC;

  --paper: #F5F9FD;
  --surface: #FFFFFF;
  --ink: #13243A;
  --muted: #5A6B81;
  --line: #DDE7F2;

  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Nunito", "Nunito Sans", system-ui, sans-serif;

  --r-sm: .75rem;
  --r-md: 1.25rem;
  --r-lg: 2rem;
  --shadow-sm: 0 2px 6px rgba(19,62,107,.06);
  --shadow: 0 4px 12px rgba(19,62,107,.06), 0 18px 40px -18px rgba(19,62,107,.28);
  --shadow-lg: 0 30px 60px -25px rgba(11,37,69,.45);

  --bs-body-bg: var(--paper);
  --bs-body-color: var(--ink);
  --bs-body-font-family: var(--font-body);
  --bs-border-color: var(--line);
  --bs-primary: var(--blue);
  --bs-primary-rgb: 30,111,191;
  --bs-link-color: var(--blue);
  --bs-link-color-rgb: 30,111,191;
  --bs-link-hover-color: var(--blue-700);
  --bs-link-hover-color-rgb: 23,81,140;
}
:root[data-bs-theme="dark"] {
  --paper: #0D1B2C;
  --surface: #13263B;
  --ink: #E8F0F9;
  --muted: #A4B5C9;
  --line: #22394F;
  --blue: #5AA9EC;
  --blue-700: #8AC3F2;
  --blue-soft: #17324D;
  --blue-50: #102338;
  --gold-ink: #FFD98A;
  --gold-soft: #3A3018;
  --teal-soft: #113A3F;
  --violet-soft: #26244A;
  --bs-body-bg: var(--paper);
  --bs-body-color: var(--ink);
  --bs-border-color: var(--line);
  --bs-primary-rgb: 90,169,236;
  --bs-link-color-rgb: 90,169,236;
  --shadow: 0 4px 12px rgba(0,0,0,.25), 0 18px 40px -18px rgba(0,0,0,.7);
}

html { font-size: 106.25%; }
html[data-fontscale="1"] { font-size: 118.75%; }
html[data-fontscale="2"] { font-size: 131.25%; }
html[data-calm="1"] *, html[data-calm="1"] *::before, html[data-calm="1"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html[data-calm="1"] .hero, html[data-calm="1"] .cta-band, html[data-calm="1"] .tone-grad, html[data-calm="1"] .feature { filter: saturate(.55); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

body { line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .h1, .h2, .h3, .h4, .h5 { font-family: var(--font-head); font-weight: 800; letter-spacing: -.01em; line-height: 1.2; color: var(--ink); }
h1, .h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem); font-weight: 900; }
h2, .h2 { font-size: clamp(1.6rem, 1.25rem + 1.2vw, 2.2rem); }
h3, .h3 { font-size: 1.25rem; }
a { text-underline-offset: .2em; }
.text-gold { color: var(--gold) !important; }
.text-muted { color: var(--muted) !important; }

:focus-visible { outline: 3px solid var(--gold) !important; outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 2000; background: var(--gold); color: var(--navy); padding: .6rem 1rem; border-radius: var(--r-sm); font-weight: 800; }
.skip-link:focus { top: 1rem; }

.section { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.section-sm { padding-block: clamp(2.5rem, 1.75rem + 2vw, 4rem); }
.section-head { margin-bottom: 2.5rem; }
.section-head h2 { margin: .35rem 0 0; }
.section-head p { margin: .75rem 0 0; color: var(--muted); max-width: 54ch; font-size: 1.05rem; }
.kicker { display: inline-flex; align-items: center; gap: .45rem; color: var(--blue); font-weight: 800; font-size: .92rem; font-family: var(--font-head); }
.kicker::before { content: ""; width: 1.4rem; height: .3rem; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--blue-400)); }
.text-center .kicker::after { content: ""; width: 1.4rem; height: .3rem; border-radius: 99px; background: linear-gradient(90deg, var(--blue-400), var(--blue)); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }

/* ---------- Tóny ---------- */
.tone-blue   { --tone: var(--blue);   --tone-2: var(--blue-400); --tone-soft: var(--blue-soft); --tone-ink: var(--blue); }
.tone-violet { --tone: var(--violet); --tone-2: #9B91EC;         --tone-soft: var(--violet-soft); --tone-ink: var(--violet); }
.tone-gold   { --tone: var(--gold-600); --tone-2: #FFD27A;       --tone-soft: var(--gold-soft); --tone-ink: var(--gold-ink); }
.tone-teal   { --tone: var(--teal);   --tone-2: #5CCAD2;         --tone-soft: var(--teal-soft); --tone-ink: var(--teal); }
[data-bs-theme="dark"] .tone-violet { --tone-ink: #B7AFF5; } [data-bs-theme="dark"] .tone-teal { --tone-ink: #6FD3DA; }
.tone-bg { background: var(--tone-soft); color: var(--tone-ink); }
.tone-grad { background: linear-gradient(135deg, var(--tone-2), var(--tone)); color: #fff; }

/* ---------- Tlačítka ---------- */
.btn { --bs-btn-font-weight: 800; --bs-btn-padding-y: .7rem; --bs-btn-padding-x: 1.4rem; border-radius: 999px; font-family: var(--font-head); display: inline-flex; align-items: center; justify-content: center; transition: transform .15s, box-shadow .15s, background-color .15s; }
.btn-sm { --bs-btn-padding-y: .45rem; --bs-btn-padding-x: 1rem; }
.btn-lg { --bs-btn-padding-y: .9rem; --bs-btn-padding-x: 1.8rem; }
.btn-primary { --bs-btn-bg: var(--blue); --bs-btn-border-color: var(--blue); --bs-btn-hover-bg: var(--blue-700); --bs-btn-hover-border-color: var(--blue-700); --bs-btn-active-bg: var(--blue-800); --bs-btn-active-border-color: var(--blue-800); box-shadow: 0 8px 20px -10px rgba(30,111,191,.8); }
.btn-primary:hover { transform: translateY(-1px); }
[data-bs-theme="dark"] .btn-primary { --bs-btn-color: #071628; --bs-btn-hover-color: #071628; --bs-btn-active-color: #071628; }
.btn-outline-primary { --bs-btn-color: var(--blue); --bs-btn-border-color: var(--blue-200); --bs-btn-bg: var(--surface); --bs-btn-hover-bg: var(--blue); --bs-btn-hover-border-color: var(--blue); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--blue); --bs-btn-active-border-color: var(--blue); border-width: 2px; }
[data-bs-theme="dark"] .btn-outline-primary { --bs-btn-border-color: var(--line); --bs-btn-hover-color: #071628; }
.btn-gold { background: var(--gold); color: var(--navy); border: 0; box-shadow: 0 10px 24px -10px rgba(244,183,63,.9); }
.btn-gold:hover, .btn-gold:focus { background: var(--gold-600); color: var(--navy); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); border: 2px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue-200); color: var(--blue); }
.btn-icon { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0; background: var(--blue-soft); color: var(--blue); display: inline-grid; place-items: center; font-size: 1.35rem; padding: 0; }
.btn-icon:hover { background: var(--blue); color: #fff; }

/* ---------- Hlavička ---------- */
.site-header { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); position: sticky; top: 0; z-index: 1030; box-shadow: 0 1px 0 var(--line); }
[data-bs-theme="dark"] .site-header { background: rgba(19,38,59,.92); }
.topline { background: var(--navy); color: #C9DCF0; font-size: .85rem; padding-block: .4rem; }
.topline strong { color: #fff; }
.site-header .navbar { padding-block: .75rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 2.75rem; height: 2.75rem; flex: none; filter: drop-shadow(0 6px 10px rgba(30,111,191,.35)); }
.brand-name { font-family: var(--font-head); font-weight: 900; font-size: 1.55rem; letter-spacing: -.02em; line-height: 1; color: var(--ink); }
.brand-tag { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; margin-top: .25rem; }
@media (max-width: 400px) { .brand-tag { display: none; } }
.site-header .nav-link { color: var(--ink); font-weight: 700; font-family: var(--font-head); padding: .55rem .95rem !important; border-radius: 999px; transition: background .15s, color .15s; }
.site-header .nav-link:hover { color: var(--blue); background: var(--blue-50); }
.site-header .nav-link.active { color: var(--blue); background: var(--blue-soft); }
.dropdown-menu { border: 0; border-radius: var(--r-md); box-shadow: var(--shadow); padding: .6rem; background: var(--surface); --bs-dropdown-link-active-bg: var(--blue-soft); }
.dropdown-item { border-radius: var(--r-sm); padding: .6rem .75rem; display: flex; gap: .8rem; align-items: flex-start; white-space: normal; color: var(--ink); font-weight: 700; }
.dropdown-item small { display: block; color: var(--muted); font-size: .83rem; font-weight: 400; line-height: 1.35; margin-top: .1rem; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--blue-50); color: var(--ink); }
.dropdown-item .di-icon { width: 2.4rem; height: 2.4rem; border-radius: .8rem; display: grid; place-items: center; flex: none; font-size: 1.1rem; }
@media (min-width: 992px) { .mega { width: 36rem; } .mega .mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .15rem; } }
.header-search { position: relative; }
.header-search .form-control { border-radius: 999px; padding-left: 2.5rem; background: var(--blue-50); border: 2px solid transparent; width: 100%; }
@media (min-width: 992px) { .header-search .form-control { width: 10.5rem; transition: width .2s; } .header-search .form-control:focus { width: 15rem; } }
.header-search .bi { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.offcanvas { background: var(--surface); }
.offcanvas .nav-link { font-size: 1.1rem; }
@media (max-width: 991.98px) { .offcanvas .dropdown-menu { box-shadow: none; padding-left: 0; } }

.a11y-menu { width: 19rem; padding: 1rem; }
.a11y-title { font-weight: 800; font-family: var(--font-head); margin-bottom: .75rem; }
.a11y-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; font-weight: 700; font-size: .93rem; }
.fontscale-group { display: inline-flex; background: var(--blue-50); border-radius: 999px; padding: .2rem; }
.fontscale-group button { border: 0; background: none; padding: .15rem .65rem; color: var(--ink); border-radius: 999px; font-weight: 800; }
.fontscale-group button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.a11y-btn { width: 100%; display: flex; gap: .8rem; align-items: center; text-align: left; border: 2px solid var(--line); background: var(--surface); color: var(--ink); border-radius: var(--r-sm); padding: .6rem .8rem; margin-top: .5rem; font-weight: 700; }
.a11y-btn .bi { font-size: 1.3rem; color: var(--blue); }
.a11y-btn small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.a11y-btn[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-soft); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) 0 clamp(7rem, 5rem + 5vw, 9rem);
  background: radial-gradient(ellipse at 80% 20%, rgba(74,155,224,.55), transparent 55%), linear-gradient(140deg, var(--navy) 0%, var(--blue-800) 45%, var(--blue) 100%); }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-blob.b1 { width: 22rem; height: 22rem; left: -8rem; top: -8rem; background: radial-gradient(circle, rgba(244,183,63,.22), transparent 70%); }
.hero-blob.b2 { width: 30rem; height: 30rem; right: -10rem; bottom: -12rem; background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%); }
.hero h1 { color: #fff; margin: 1rem 0 1rem; }
.hero-badge { display: inline-flex; gap: .5rem; align-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); padding: .4rem .95rem; border-radius: 999px; font-weight: 700; font-size: .92rem; }
.hero-badge .bi { color: var(--gold); font-size: 1.2rem; }
.hero-lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); color: #D6E6F6; max-width: 34rem; margin-bottom: 2rem; }
.hero-search { position: relative; display: flex; align-items: center; background: #fff; border-radius: 999px; padding: .4rem .4rem .4rem 1.25rem; max-width: 34rem; box-shadow: var(--shadow-lg); }
.hero-search > .bi { color: var(--muted); font-size: 1.1rem; }
.hero-search input { border: 0; background: transparent; flex: 1; padding: .6rem .8rem; color: #13243A; min-width: 0; font-size: 1.05rem; }
.hero-search input:focus { outline: none; }
.hero-search:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; }
.hero-quick { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 1.25rem; font-size: .92rem; color: #BBD3EC; }
.hero-quick a { color: #fff; text-decoration: none; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: .25rem .8rem; border-radius: 999px; transition: background .15s; }
.hero-quick a:hover { background: rgba(255,255,255,.22); }
.hero-visual { position: relative; max-width: 34rem; margin-inline: auto; }
.hero-art { width: 100%; height: auto; display: block; }
.float-a { animation: floaty 6s ease-in-out infinite; transform-origin: center; }
.float-b { animation: floaty 5s ease-in-out infinite reverse; }
.twinkle { animation: twinkle 3s ease-in-out infinite; } .twinkle.t2 { animation-delay: 1.5s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
@keyframes twinkle { 50% { opacity: .3; } }
.float-card { position: absolute; display: flex; gap: .7rem; align-items: center; background: #fff; color: #13243A; border-radius: 1rem; padding: .7rem 1rem; box-shadow: var(--shadow-lg); font-size: .88rem; line-height: 1.3; }
.float-card strong { display: block; font-family: var(--font-head); font-size: .95rem; }
.float-card small { color: #5A6B81; }
.fc-icon { width: 2.3rem; height: 2.3rem; border-radius: .7rem; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); flex: none; }
.fc-icon.gold { background: #FFF3D6; color: #E3A21F; }
.fc1 { left: -.5rem; top: 18%; } .fc2 { right: -.5rem; bottom: 16%; }
@media (max-width: 575.98px) { .float-card { display: none; } }
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 90px); display: block; }

/* Rozcestník */
.wayfinder-wrap { position: relative; z-index: 2; margin-top: clamp(-6rem, -4rem - 2vw, -4rem); }
.wayfinder { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.wf-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .5rem 2rem; margin-bottom: 1.5rem; }
.wf-head h2 { margin: 0; }
.wf-head p { margin: 0; color: var(--muted); max-width: 32rem; }
.wf-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .wf-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .wf-grid { grid-template-columns: repeat(3, 1fr); } }
.wf-tile { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--tone-soft); color: var(--ink); text-decoration: none; font-weight: 700; font-family: var(--font-head); font-size: 1.02rem; line-height: 1.35; border: 2px solid transparent; transition: transform .15s, border-color .15s, box-shadow .15s; }
.wf-tile:hover { transform: translateY(-3px); border-color: var(--tone); box-shadow: var(--shadow-sm); color: var(--ink); }
.wf-icon { width: 3rem; height: 3rem; border-radius: 1rem; display: grid; place-items: center; font-size: 1.35rem; flex: none; box-shadow: 0 8px 16px -8px var(--tone); }
.wf-go { margin-left: auto; color: var(--tone-ink); font-size: 1.1rem; transition: transform .15s; }
.wf-tile:hover .wf-go { transform: translateX(4px); }

/* ---------- Témata ---------- */
.topic-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); }
.topic { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 1.6rem; border-radius: var(--r-md); background: var(--surface); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; overflow: hidden; }
.topic::after { content: ""; position: absolute; right: -2.5rem; top: -2.5rem; width: 7rem; height: 7rem; border-radius: 50%; background: var(--tone-soft); transition: transform .3s; }
.topic:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.topic:hover::after { transform: scale(1.3); }
.t-icon { position: relative; z-index: 1; width: 3.4rem; height: 3.4rem; border-radius: 1.1rem; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: .75rem; box-shadow: 0 10px 18px -10px var(--tone); }
.t-name { position: relative; z-index: 1; font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; }
.t-desc { position: relative; z-index: 1; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.topic-all { background: var(--blue-50); border: 2px dashed var(--blue-200); box-shadow: none; }
.topic-all::after { display: none; }
.topic-all .t-icon { background: var(--surface); color: var(--blue); box-shadow: var(--shadow-sm); }

/* ---------- Články ---------- */
.a-card { position: relative; background: var(--surface); border-radius: var(--r-md); overflow: hidden; height: 100%; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.a-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.a-visual { position: relative; height: 10rem; display: grid; place-items: center; font-size: 3.4rem; overflow: hidden; }
.a-visual .bi { position: relative; z-index: 1; filter: drop-shadow(0 8px 14px rgba(0,0,0,.18)); }
.av-c1, .av-c2 { position: absolute; border-radius: 50%; background: rgba(255,255,255,.16); pointer-events: none; }
.av-c1 { width: 9rem; height: 9rem; right: -2rem; top: -3rem; }
.av-c2 { width: 6rem; height: 6rem; left: -1.5rem; bottom: -2.5rem; background: rgba(255,255,255,.12); }
.a-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.a-card h3 { font-size: 1.18rem; margin: .8rem 0 .5rem; }
.a-card h3 a { color: var(--ink); text-decoration: none; }
.a-card h3 a::after { content: ""; position: absolute; inset: 0; }
.a-card:hover h3 a { color: var(--blue); }
.a-card p { color: var(--muted); font-size: .96rem; }
.a-card .meta { margin-top: auto; }
.meta { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; color: var(--muted); font-size: .88rem; }
.meta span { display: inline-flex; gap: .4rem; align-items: center; }
.cat-chip { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 800; padding: .3rem .8rem; border-radius: 999px; text-decoration: none; font-family: var(--font-head); }
.cat-chip.light { background: rgba(255,255,255,.2); color: #fff; align-self: flex-start; }

.feature { position: relative; overflow: hidden; height: 100%; min-height: 22rem; border-radius: var(--r-md); padding: 2rem; color: #fff; display: flex; flex-direction: column; background: linear-gradient(150deg, var(--blue-400), var(--blue) 50%, var(--blue-800)); box-shadow: var(--shadow); }
.feature .av-c1 { width: 16rem; height: 16rem; right: -5rem; top: -5rem; }
.feature .av-c2 { width: 10rem; height: 10rem; left: -3rem; bottom: -4rem; }
.feature-icon { font-size: 3.5rem; margin: 1.5rem 0 1rem; color: var(--gold); position: relative; }
.feature h3 { color: #fff; font-size: 1.6rem; position: relative; }
.feature h3 a { color: #fff; text-decoration: none; }
.feature p { color: #D6E6F6; position: relative; }
.feature .meta { color: #BBD3EC; margin-top: auto; position: relative; }
.feature:hover h3 a { text-decoration: underline; }

/* ---------- Kroky ---------- */
.steps-band { background: linear-gradient(180deg, var(--paper), var(--blue-soft)); }
.step { position: relative; background: var(--surface); border-radius: var(--r-md); padding: 2rem 1.75rem; height: 100%; box-shadow: var(--shadow-sm); text-align: center; }
.step-num { position: absolute; top: 1rem; left: 1.25rem; font-family: var(--font-head); font-weight: 900; font-size: 2.6rem; line-height: 1; color: var(--blue-soft); }
[data-bs-theme="dark"] .step-num { color: var(--line); }
.step-icon { width: 4.2rem; height: 4.2rem; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.1rem; font-size: 1.8rem; color: #fff; background: linear-gradient(135deg, var(--blue-400), var(--blue)); box-shadow: 0 12px 24px -10px var(--blue); }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Kraje ---------- */
.region-card { background: var(--surface); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.region-card::before { content: ""; position: absolute; width: 18rem; height: 18rem; border-radius: 50%; background: var(--blue-50); left: -6rem; bottom: -8rem; }
.region-card > * { position: relative; }
.region-list { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; padding: 0; margin: 0; }
.region-list a { display: inline-flex; gap: .4rem; align-items: center; padding: .5rem 1rem; border-radius: 999px; text-decoration: none; color: var(--ink); background: var(--blue-50); border: 1px solid var(--line); font-weight: 700; font-size: .93rem; transition: all .15s; }
.region-list a .bi { color: var(--blue); }
.region-list a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.region-list a:hover .bi { color: var(--gold); }

/* ---------- Příběhy ---------- */
.stories-band { background: var(--blue-soft); position: relative; }
[data-bs-theme="dark"] .stories-band { background: var(--blue-50); }
.story { position: relative; background: var(--surface); border-radius: var(--r-md); padding: 1.75rem; height: 100%; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.story:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.story::before { content: "\201C"; position: absolute; right: 1.25rem; top: .25rem; font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: var(--tone-soft); }
.story-quote { position: relative; font-size: 1.08rem; line-height: 1.6; color: var(--ink); margin-bottom: 1rem; font-style: italic; }
.story h3 { font-size: 1.05rem; margin-bottom: 1.25rem; }
.story h3 a { color: var(--ink); text-decoration: none; }
.story h3 a::after { content: ""; position: absolute; inset: 0; }
.story:hover h3 a { color: var(--blue); }
.author { display: flex; gap: .8rem; align-items: center; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.page-head .author { border: 0; padding: 0; }
.avatar { width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-family: var(--font-head); flex: none; font-size: 1.1rem; }
.author strong { display: block; line-height: 1.25; font-family: var(--font-head); }
.author small { color: var(--muted); }
.helped { margin-left: auto; color: #E0475B; font-size: .9rem; font-weight: 700; display: inline-flex; gap: .3rem; align-items: center; }

/* ---------- CTA ---------- */
.cta-band { position: relative; overflow: hidden; color: #fff; border-radius: var(--r-lg); padding: clamp(2rem, 1.5rem + 3vw, 4rem); background: radial-gradient(ellipse at 10% 0%, rgba(74,155,224,.7), transparent 60%), linear-gradient(120deg, var(--navy), var(--blue-700) 60%, var(--blue)); box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band p { color: #D6E6F6; max-width: 48ch; font-size: 1.08rem; }
.cta-loop { position: absolute; right: -2rem; bottom: -3rem; width: 22rem; opacity: .15; pointer-events: none; }

/* ---------- Patička ---------- */
.site-footer { position: relative; background: var(--navy); color: #BBD0E6; padding-top: 4.5rem; margin-top: 3rem; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--blue-400), var(--gold)); }
.site-footer a { color: #BBD0E6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer h2 { font-size: 1.02rem; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-tag { color: #8FA9C6; }
.help-line { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-md); padding: 1.25rem; }
.help-line strong { color: #fff; font-family: var(--font-head); }
.help-line .num { font-family: var(--font-head); font-size: 1.9rem; color: var(--gold); font-weight: 900; letter-spacing: .03em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-block: 1.4rem; font-size: .88rem; color: #8FA9C6; }

/* ---------- Záhlaví podstránek ---------- */
.page-head { position: relative; overflow: hidden; color: #fff; padding: 2.25rem 0 clamp(4rem, 3rem + 3vw, 5.5rem); background: radial-gradient(ellipse at 85% 0%, rgba(74,155,224,.6), transparent 55%), linear-gradient(140deg, var(--navy), var(--blue-800) 55%, var(--blue)); }
.page-head h1 { color: #fff; margin-bottom: .75rem; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); max-width: 26ch; }
.page-head .lead, .page-head .article-lead { color: #D6E6F6; }
.page-head .meta { color: #BBD3EC; }
.page-head .author small { color: #BBD3EC; }
.page-head .author strong { color: #fff; }
.ph-bubble { position: absolute; border-radius: 50%; background: rgba(255,255,255,.06); pointer-events: none; }
.ph-bubble.b1 { width: 18rem; height: 18rem; right: -4rem; top: -6rem; }
.ph-bubble.b2 { width: 8rem; height: 8rem; right: 20%; bottom: -2rem; background: rgba(244,183,63,.12); }
.page-head .wave { height: clamp(28px, 4vw, 60px); }
.breadcrumb { font-size: .9rem; margin-bottom: 1.1rem; --bs-breadcrumb-divider-color: #8FB2D6; --bs-breadcrumb-item-active-color: #D6E6F6; }
.breadcrumb a { color: #fff; text-decoration: none; opacity: .85; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.page-head-icon { width: 4rem; height: 4rem; border-radius: 1.2rem; display: grid; place-items: center; font-size: 1.8rem; margin-bottom: 1rem; }
.page-head .btn-primary { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.cat-tabs { display: flex; gap: .5rem; overflow-x: auto; padding: .25rem .1rem .5rem; scrollbar-width: thin; }
.cat-tabs a { white-space: nowrap; padding: .55rem 1.1rem; border-radius: 999px; text-decoration: none; color: var(--ink); background: var(--surface); font-weight: 800; font-size: .93rem; font-family: var(--font-head); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.cat-tabs a:hover { color: var(--blue); }
.cat-tabs a.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- Článek ---------- */
.prose { max-width: 70ch; font-size: 1.1rem; }
.prose h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; scroll-margin-top: 8rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.2rem; }
.prose li { margin-bottom: .6rem; }
.prose ol { list-style: none; counter-reset: s; padding: 0; }
.prose ol li { counter-increment: s; position: relative; padding: 1rem 1.1rem 1rem 3.75rem; background: var(--surface); border-radius: var(--r-sm); box-shadow: var(--shadow-sm); }
.prose ol li::before { content: counter(s); position: absolute; left: 1rem; top: 1rem; width: 2rem; height: 2rem; border-radius: 50%; background: linear-gradient(135deg, var(--blue-400), var(--blue)); color: #fff; font-weight: 900; display: grid; place-items: center; font-family: var(--font-head); font-size: .95rem; }
.prose ul { padding-left: 1.2rem; }
.prose ul li::marker { color: var(--blue); }
.prose blockquote { position: relative; background: var(--gold-soft); padding: 1.4rem 1.5rem 1.4rem 4rem; border-radius: var(--r-md); font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; margin: 2rem 0; color: var(--ink); }
.prose blockquote::before { content: "\201C"; position: absolute; left: 1.2rem; top: .4rem; font-family: Georgia, serif; font-size: 3.6rem; color: var(--gold-600); }
.article-lead { font-size: 1.2rem; max-width: 60ch; }
.side-box { background: var(--surface); border-radius: var(--r-md); padding: 1.4rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.side-box h2 { font-size: 1.05rem; margin-bottom: .8rem; }
.side-box.highlight { background: linear-gradient(140deg, var(--blue), var(--blue-800)); color: #D6E6F6; border: 0; }
.side-box.highlight h2 { color: #fff; }
.toc { list-style: none; padding: 0; margin: 0; display: grid; gap: .15rem; font-size: .95rem; }
.toc a { display: block; padding: .4rem .75rem; border-radius: .6rem; color: var(--muted); text-decoration: none; font-weight: 600; }
.toc a:hover, .toc a.active { color: var(--blue); background: var(--blue-50); }
.sticky-side { position: sticky; top: 8.5rem; }
.disclaimer { display: flex; gap: .8rem; background: var(--blue-soft); color: var(--ink); border-radius: var(--r-md); padding: 1.1rem 1.25rem; font-size: .94rem; }
.disclaimer .bi { color: var(--blue); font-size: 1.25rem; }

/* ---------- Adresář ---------- */
.filter-panel { background: var(--surface); border-radius: var(--r-md); padding: 1.4rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.filter-panel .form-label, .filter-panel legend { font-weight: 800; font-size: .95rem; font-family: var(--font-head); }
.form-control, .form-select { border-radius: var(--r-sm); border: 2px solid var(--line); padding: .7rem 1rem; background-color: var(--surface); color: var(--ink); }
.form-control:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 .25rem rgba(30,111,191,.15); }
.form-check-input { border-width: 2px; }
.form-check-input:checked { background-color: var(--blue); border-color: var(--blue); }
.form-check-input:focus { box-shadow: 0 0 0 .25rem rgba(30,111,191,.2); }
.inst { position: relative; background: var(--surface); border-radius: var(--r-md); padding: 1.4rem 1.5rem 1.4rem 1.75rem; display: grid; gap: .5rem 1.5rem; grid-template-columns: 1fr; box-shadow: var(--shadow-sm); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s; }
.inst::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--blue-400), var(--blue)); }
.inst:hover { box-shadow: var(--shadow); }
@media (min-width: 768px) { .inst { grid-template-columns: 1fr auto; align-items: center; } }
.inst h3 { font-size: 1.15rem; margin: 0 0 .35rem; }
.inst p { margin: 0 0 .5rem; color: var(--muted); font-size: .96rem; }
.inst-type { font-size: .8rem; font-weight: 800; padding: .25rem .7rem; border-radius: 999px; background: var(--blue-soft); color: var(--blue); }
.badge-nation { font-size: .8rem; font-weight: 800; padding: .25rem .7rem; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); }
.empty-state { text-align: center; padding: 3rem 1rem; border: 2px dashed var(--blue-200); border-radius: var(--r-md); color: var(--muted); background: var(--blue-50); }
.empty-state .bi { font-size: 2.4rem; display: block; margin-bottom: .5rem; color: var(--blue); }
.demo-note { font-size: .88rem; color: var(--muted); display: flex; gap: .5rem; }

/* ---------- Tagy ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag { padding: .45rem 1rem; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 700; cursor: pointer; transition: all .15s; }
.tag:hover { border-color: var(--blue-200); color: var(--blue); }
.tag.active, .btn-check:checked + .tag { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-check:focus-visible + .tag { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Účet ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
@media (min-width: 992px) { .auth-wrap { grid-template-columns: 5fr 6fr; } }
.auth-side { position: relative; overflow: hidden; color: #D6E6F6; padding: clamp(2rem, 1.5rem + 2vw, 3.25rem); background: radial-gradient(ellipse at 0% 0%, rgba(74,155,224,.6), transparent 60%), linear-gradient(150deg, var(--navy), var(--blue-700)); }
.auth-side h2 { color: #fff; position: relative; }
.auth-side ul { list-style: none; padding: 0; display: grid; gap: 1rem; margin-top: 1.75rem; position: relative; }
.auth-side li { display: flex; gap: .8rem; align-items: flex-start; }
.auth-side .bi { color: var(--gold); font-size: 1.25rem; }
.auth-form { padding: clamp(1.75rem, 1.25rem + 2vw, 3.25rem); }
.pw-wrap { position: relative; }
.pw-wrap .pw-toggle { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); padding: .35rem .5rem; }
.form-hint { font-size: .88rem; color: var(--muted); }
.counter { font-size: .85rem; color: var(--muted); }
.counter.warn { color: #C62828; }
.privacy-tips { background: var(--gold-soft); border-radius: var(--r-md); padding: 1.4rem; }
.privacy-tips h2 { font-size: 1.05rem; }
.privacy-tips ul { padding-left: 1.1rem; margin: 0; font-size: .94rem; display: grid; gap: .45rem; }
.account-nav .nav-link { color: var(--ink); border-radius: var(--r-sm); padding: .7rem 1rem; display: flex; gap: .7rem; align-items: center; font-weight: 700; }
.account-nav .nav-link .bi { color: var(--blue); }
.account-nav .nav-link.active, .account-nav .nav-link:hover { background: var(--blue-soft); color: var(--blue); }
.status { font-size: .8rem; font-weight: 800; padding: .25rem .7rem; border-radius: 999px; white-space: nowrap; }
.status-wait { background: var(--gold-soft); color: var(--gold-ink); }
.status-ok { background: var(--teal-soft); color: var(--teal); }
.table { --bs-table-bg: transparent; --bs-table-color: var(--ink); }
.stat { position: relative; overflow: hidden; background: var(--surface); border-radius: var(--r-md); padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.stat::after { content: ""; position: absolute; right: -1.5rem; top: -1.5rem; width: 5rem; height: 5rem; border-radius: 50%; background: var(--blue-soft); }
.stat strong { font-family: var(--font-head); font-size: 2rem; font-weight: 900; display: block; line-height: 1.1; color: var(--blue); position: relative; z-index: 1; }
.stat span { color: var(--muted); font-size: .92rem; position: relative; z-index: 1; }

/* ---------- Ostatní ---------- */
.pagination { --bs-pagination-border-radius: 999px; --bs-pagination-color: var(--ink); --bs-pagination-active-bg: var(--blue); --bs-pagination-active-border-color: var(--blue); --bs-pagination-bg: var(--surface); --bs-pagination-border-color: var(--line); gap: .35rem; }
.pagination .page-link { border-radius: 999px !important; font-weight: 700; padding-inline: 1rem; }
.back-top { position: fixed; right: 1.1rem; bottom: 1.1rem; width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: var(--blue); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s; z-index: 1020; font-size: 1.2rem; }
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { transform: translateY(-3px); }
.reveal { opacity: 0; transform: translateY(14px); animation: reveal .7s ease-out forwards; }
.reveal-2 { animation-delay: .15s; }
@keyframes reveal { to { opacity: 1; transform: none; } }

/* ---------- CMS doplňky ---------- */
.flash-stack { padding-top: 1rem; }
.flash-stack .alert { border-radius: var(--r-sm); border: 0; box-shadow: var(--shadow-sm); }
.preview-bar { background: var(--gold); color: var(--navy); text-align: center; padding: .5rem 1rem; font-weight: 700; font-size: .92rem; }
.preview-bar a { color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.a-photo { padding: 0; }
.a-photo img { width: 100%; height: 100%; object-fit: cover; }
.article-cover { width: 100%; border-radius: var(--r-md); margin-bottom: 2rem; box-shadow: var(--shadow-sm); }
.list-search { position: relative; min-width: 15rem; }
.list-search .bi { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.list-search .form-control { border-radius: 999px; padding-left: 2.5rem; }
.status-draft { background: var(--blue-50); color: var(--muted); }
.status-bad { background: #FDE8E8; color: #B42318; }
.note-box { background: var(--gold-soft); color: var(--gold-ink); border-radius: .5rem; padding: .3rem .6rem; display: inline-block; }
.danger-zone { border-color: #F3C4C4; }
.account-nav form .nav-link { text-align: left; }
.page-head .hero-search { max-width: 40rem; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.2rem; font-size: .98rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .55rem .75rem; text-align: left; }
.prose th { background: var(--blue-50); }
.prose a { font-weight: 600; }
@media print {
  .site-header, .site-footer, .back-top, aside, [data-feedback], .wave, .ph-bubble { display: none !important; }
  .page-head { background: none !important; color: #000; padding: 0; }
  .page-head h1, .page-head .lead, .page-head .meta { color: #000 !important; }
}
/* hlavička na menších desktopech – položky menu se nezalamují */
.site-header .nav-link { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1599.98px) {
  .site-header .brand-tag { display: none; }
  .site-header .nav-link { padding: .5rem .7rem !important; }
  .site-header .header-search { display: none; }
}
.search-icon { display: none; }
@media (min-width: 992px) { .search-icon { display: inline-grid; } .site-header .header-search { display: none; } }
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-header .nav-link { padding: .5rem .55rem !important; font-size: .95rem; }
}

/* ---------- Adresář, recenze ---------- */
.kind-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.kind-tabs a { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.2rem; border-radius: var(--r-md); background: var(--surface); border: 2px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 800; font-family: var(--font-head); }
.kind-tabs a .bi { color: var(--blue); font-size: 1.15rem; }
.kind-tabs a.active { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
.kind-tabs .count, .region-list .count { font-size: .78rem; background: var(--blue-50); color: var(--muted); padding: .05rem .5rem; border-radius: 999px; font-weight: 700; }
.kind-tabs a.active .count { background: var(--surface); }
.inst { position: relative; }
.inst.is-spec::before { background: linear-gradient(var(--teal), #5CCAD2); }
.inst h3 a { color: var(--ink); text-decoration: none; }
.inst h3 a:hover { color: var(--blue); text-decoration: underline; }
.badge-ins { font-size: .8rem; font-weight: 800; padding: .25rem .7rem; border-radius: 999px; background: var(--teal-soft); color: var(--teal); }
.stars { position: relative; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: .05em; vertical-align: middle; }
.stars-bg { color: var(--line); }
.stars-fg { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--gold); }
.stars.lg { font-size: 1.5rem; }
.stars-count { font-size: .86rem; color: var(--muted); margin-left: .4rem; font-weight: 600; vertical-align: middle; }
.page-head .stars-count { color: #D6E6F6; }
.page-head .stars-bg { color: rgba(255,255,255,.25); }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem 1.4rem; margin-bottom: 1rem; }
.small-av { width: 2.1rem; height: 2.1rem; font-size: .95rem; }
.review-reply { margin-top: 1rem; padding: .9rem 1rem; background: var(--blue-50); border-left: 3px solid var(--blue); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: .95rem; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .2rem; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 1.9rem; color: var(--line); cursor: pointer; line-height: 1; transition: color .1s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--gold); }
.star-input input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.contact-box ul li { display: flex; gap: .7rem; align-items: flex-start; }
.contact-box ul .bi { color: var(--blue); font-size: 1.1rem; margin-top: .1rem; }
.contact-box a { word-break: break-word; }

/* ---------- Mapa ---------- */
.map-card { background: var(--surface); border-radius: var(--r-lg); padding: clamp(1rem, .5rem + 2vw, 2rem); box-shadow: var(--shadow); }
.cz-map { width: 100%; height: auto; display: block; }
.cz-map .kraj path { stroke: var(--surface); stroke-width: 2; stroke-linejoin: round; transition: fill .15s; }
.cz-map .kraj.lvl0 path { fill: var(--blue-50); }
.cz-map .kraj.lvl1 path { fill: var(--blue-200); }
.cz-map .kraj.lvl2 path { fill: #7DB8EC; }
.cz-map .kraj.lvl3 path { fill: var(--blue-400); }
[data-bs-theme="dark"] .cz-map .kraj.lvl0 path { fill: #17324D; }
[data-bs-theme="dark"] .cz-map .kraj.lvl1 path { fill: #1F4A74; }
[data-bs-theme="dark"] .cz-map .kraj.lvl2 path { fill: #2A639A; }
[data-bs-theme="dark"] .cz-map .kraj.lvl3 path { fill: #3A7CBF; }
.cz-map .kraj:hover path, .cz-map .kraj:focus path { fill: var(--blue); }
.cz-map .kraj.selected path { fill: var(--blue); }
.cz-map .kraj:focus { outline: none; }
.cz-map .kraj:focus-visible path { stroke: var(--gold); stroke-width: 4; }
.cz-map .kraj-name { font-family: var(--font-head); font-weight: 800; font-size: 15px; fill: var(--ink); text-anchor: middle; pointer-events: none; paint-order: stroke; stroke: rgba(255,255,255,.75); stroke-width: 3px; }
[data-bs-theme="dark"] .cz-map .kraj-name { stroke: rgba(0,0,0,.5); }
.cz-map .kraj:hover .kraj-name, .cz-map .kraj.selected .kraj-name { fill: #fff; stroke: rgba(11,37,69,.45); }
.region-map .kraj-name { font-size: 17px; }
.ev-badge circle { fill: var(--gold); stroke: #fff; stroke-width: 2; }
.ev-badge text { font: 800 12px var(--font-head); fill: var(--navy); text-anchor: middle; pointer-events: none; }
.pin circle { stroke: #fff; stroke-width: 2.5; transition: r .15s; }
.pin-event circle { fill: var(--gold); }
.pin-organization circle { fill: var(--navy); }
.pin-specialist circle { fill: var(--teal); }
.pin:hover circle, .pin:focus circle { r: 11; }
.pin:focus { outline: none; }
.pin:focus-visible circle { stroke: var(--gold); stroke-width: 4; }
.map-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .88rem; color: var(--muted); font-weight: 600; margin-bottom: .75rem; align-items: center; }
.lg-sw, .pin-sw { display: inline-block; width: .9rem; height: .9rem; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; }
.lg-sw.s1 { background: var(--blue-200); } .lg-sw.s3 { background: var(--blue-400); }
.pin-sw { border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.pin-sw.ev { background: var(--gold); } .pin-sw.org { background: var(--navy); } .pin-sw.spec { background: var(--teal); }
.map-attr { font-size: .75rem; color: var(--muted); margin: .75rem 0 0; }
.region-list a.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.region-list a.active .count { background: rgba(255,255,255,.2); color: #fff; }
.mini-ev { display: flex; gap: .8rem; padding: .7rem 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.mini-ev:hover strong { color: var(--blue); }
.mini-ev strong { display: block; line-height: 1.3; }
.mini-ev small { color: var(--muted); }
.mini-date { flex: none; width: 3.4rem; text-align: center; background: var(--gold-soft); color: var(--gold-ink); border-radius: .6rem; padding: .35rem 0; font-weight: 800; font-family: var(--font-head); font-size: .9rem; height: fit-content; }

/* ---------- Akce ---------- */
.ev-card { position: relative; display: flex; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem; height: 100%; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.ev-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ev-date { flex: none; width: 3.8rem; height: 4.2rem; border-radius: .9rem; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--blue-400), var(--blue)); color: #fff; font-family: var(--font-head); box-shadow: 0 8px 16px -8px var(--blue); }
.ev-date .d { font-size: 1.5rem; font-weight: 900; line-height: 1; }
.ev-date .m { font-size: .8rem; font-weight: 800; text-transform: lowercase; opacity: .9; }
.ev-body { min-width: 0; }
.ev-card h3 { font-size: 1.1rem; margin: 0 0 .4rem; }
.ev-card h3 a { color: var(--ink); text-decoration: none; }
.ev-card h3 a::after { content: ""; position: absolute; inset: 0; }
.ev-card:hover h3 a { color: var(--blue); }
.ev-type { font-size: .78rem; font-weight: 800; padding: .2rem .6rem; border-radius: 999px; background: var(--blue-soft); color: var(--blue); }
.ev-type.online { background: var(--violet-soft); color: var(--violet); }
.ev-price { font-size: .78rem; font-weight: 800; padding: .2rem .6rem; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); }
.ev-price.free { background: var(--teal-soft); color: var(--teal); }
.ev-org { font-size: .88rem; margin: .5rem 0 0; }
.ev-org .bi { color: var(--blue); margin-right: .4rem; }
.filters-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.filters-row .form-select { width: auto; min-width: 12rem; border-radius: 999px; }
.seg-pub { display: inline-flex; background: var(--surface); border: 2px solid var(--line); border-radius: 999px; padding: .2rem; }
.seg-pub a { padding: .35rem .95rem; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .92rem; }
.seg-pub a.active { background: var(--blue); color: #fff; }
.fee-note { display: flex; gap: .6rem; background: var(--blue-soft); border-radius: var(--r-sm); padding: .8rem 1rem; font-size: .93rem; }
.fee-note .bi { color: var(--blue); }
.pay-box { display: grid; grid-template-columns: 1fr; gap: 1.5rem; background: var(--surface); border-radius: var(--r-lg); padding: 1.75rem; box-shadow: var(--shadow); align-items: center; }
@media (min-width: 640px) { .pay-box { grid-template-columns: auto 1fr; } }
.pay-qr { text-align: center; }
.pay-qr svg { max-width: 220px; height: auto; }
.pay-data { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 0; }
.pay-data dt { color: var(--muted); font-weight: 600; }
.pay-data dd { margin: 0; }
.head-stars { min-height: 1.5rem; }

.cz-map a, .cz-map text { text-decoration: none; }
.cz-map .okres-label { pointer-events: none; }
.cz-map .okres-label.sel { fill: #fff; stroke: rgba(11,37,69,.45); }

.site-header .nick { max-width: 9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: bottom; }
@media (min-width: 992px) and (max-width: 1599.98px) { .site-header .nick { display: none; } }

/* ---------------------------------------------------------------- cookie lišta */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1080; padding: 0 0 1rem; pointer-events: none; }
.cookie-inner { pointer-events: auto; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-top: 4px solid var(--blue);
  border-radius: var(--r-md); box-shadow: 0 20px 50px -20px rgba(11,37,69,.45); padding: 1.1rem 1.3rem; }
.cookie-text { flex: 1 1 420px; }
.cookie-text p { margin: .3rem 0 0; font-size: .93rem; color: var(--muted); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-actions .btn { min-width: 8.5rem; justify-content: center; }
@media (max-width: 575.98px) { .cookie-actions { width: 100%; } .cookie-actions .btn { flex: 1 1 100%; } }
.consent-row { display: flex; gap: 1rem; justify-content: space-between; align-items: flex-start; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.consent-row:last-of-type { border-bottom: 0; }
.consent-row .form-switch .form-check-input { width: 2.6em; height: 1.4em; }
.link-btn { background: none; border: 0; padding: 0; color: #BBD0E6; font: inherit; cursor: pointer; }
.link-btn:hover, .link-btn:focus-visible { color: #fff; text-decoration: underline; }

/* ---------------------------------------------------------------- partneři */
.promo-card { position: relative; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); padding: 1.1rem 1.2rem 1.2rem; }
.promo-card .promo-label { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); background: var(--blue-soft); border-radius: 999px; padding: .15rem .6rem; margin-bottom: .7rem; }
.promo-card h2, .promo-card h3 { font-size: 1.05rem; margin: 0 0 .35rem; }
.promo-card p { font-size: .92rem; margin-bottom: .8rem; }
.promo-card img.promo-img { max-height: 64px; width: auto; margin-bottom: .6rem; }
.promo-card .promo-note { display: block; font-size: .78rem; color: var(--muted); margin-top: .6rem; }
.promo-strip { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; }
.promo-strip .promo-body { flex: 1 1 320px; }
.footer-partners { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.4rem; margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem; }
.footer-partners .fp-label { color: #8FA9C6; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.footer-partners img { height: 32px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .85; }
.footer-partners a:hover img { filter: none; opacity: 1; }

/* ---------------------------------------------------------------- krátká odpověď a FAQ */
.answer-box { border-left: 5px solid var(--gold); background: var(--blue-soft); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 1.1rem 1.3rem; margin-bottom: 2rem; }
.answer-box .ab-title { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); margin-bottom: .4rem; }
.answer-box p { margin: 0; font-size: 1.05rem; line-height: 1.6; }
.faq { margin-top: 2.5rem; }
.faq h2 { margin-bottom: 1rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); margin-bottom: .6rem; }
.faq summary { cursor: pointer; list-style: none; padding: .9rem 2.6rem .9rem 1.1rem; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 1.1rem 1rem; }
.updated-note { font-size: .88rem; color: var(--muted); }
@media print { .cookie-bar, .promo-card, .footer-partners { display: none !important; } }
/* 992–1399 px: víc položek v menu (O projektu) – úspornější hlavička */
@media (min-width: 992px) and (max-width: 1599.98px) {
  .site-header .nav-link { padding: .5rem .5rem !important; font-size: .95rem; }
  .site-header .navbar-nav { gap: 0 !important; }
  .site-header .brand { margin-right: .5rem; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-header .btn-primary.d-sm-inline-flex { font-size: 0; padding-inline: .8rem; }
  .site-header .btn-primary.d-sm-inline-flex i { font-size: 1.1rem; margin: 0 !important; }
  .site-header .brand > span:last-child { display: none; }
}

/* ---------------------------------------------------------------- poradna */
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border: 2px solid rgba(255,255,255,.35); }
.btn-ghost-light:hover, .btn-ghost-light:focus { background: rgba(255,255,255,.22); color: #fff; }
.seg-links { display: inline-flex; flex-wrap: wrap; gap: .25rem; background: var(--blue-soft); border-radius: 999px; padding: .25rem; }
.seg-links a { padding: .4rem .9rem; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--ink); text-decoration: none; }
.seg-links a.active { background: var(--surface); color: var(--blue); box-shadow: var(--shadow-sm); }
.qa-list { display: grid; gap: .8rem; }
.qa-item { display: flex; gap: 1.1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.1rem 1.2rem; transition: border-color .15s, box-shadow .15s; }
.qa-item:hover { border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.qa-count { flex: none; width: 4.6rem; text-align: center; border-radius: var(--r-sm); padding: .55rem .3rem; background: var(--paper); color: var(--muted); border: 1px solid var(--line); }
.qa-count strong { display: block; font-family: var(--font-head); font-size: 1.35rem; line-height: 1.1; color: var(--ink); }
.qa-count span { font-size: .72rem; }
.qa-count.has { background: var(--blue-soft); border-color: transparent; }
.qa-count.has strong { color: var(--blue); }
.qa-count.editorial { background: var(--gold-soft); }
.qa-count.editorial strong { color: var(--gold-ink); }
.qa-main { min-width: 0; flex: 1; }
.qa-main h3 { font-size: 1.08rem; margin: 0 0 .3rem; }
.qa-main h3 a { color: var(--ink); text-decoration: none; }
.qa-main h3 a:hover { color: var(--blue); text-decoration: underline; }
.qa-main p { color: var(--muted); font-size: .93rem; margin: 0 0 .55rem; }
.qa-meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; align-items: center; font-size: .82rem; color: var(--muted); }
.qa-meta .cat-chip { font-size: .75rem; padding: .15rem .55rem; }
.qa-badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .76rem; font-weight: 800; color: var(--gold-ink); background: var(--gold-soft); border-radius: 999px; padding: .15rem .6rem; }
.qa-badge.ok { color: #0F6D76; background: var(--teal-soft); }
.qa-question { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.3rem 1.4rem; }
.answer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.1rem 1.3rem; margin-bottom: 1rem; }
.answer.editorial { border: 2px solid var(--gold); background: linear-gradient(180deg, var(--gold-soft), var(--surface) 7rem); }
.answer.editorial .avatar { background: var(--gold); color: var(--navy); }
.answer.accepted { border-color: var(--teal); }
.answer-head { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; margin-bottom: .6rem; }
.answer-who strong { display: block; }
.answer-who small { color: var(--muted); }
.answer .prose p:last-child { margin-bottom: 0; }
.answer-foot { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--line); }
@media (max-width: 575.98px) { .qa-item { flex-direction: column; } .qa-count { width: auto; display: flex; gap: .4rem; align-items: baseline; padding: .3rem .7rem; } .qa-count strong { font-size: 1rem; } }
