/* Czechia — The Heart of Europe / clean premium redesign */

:root {
  --navy: #071d3d;
  --blue: #0b2d5c;
  --blue2: #123f7a;
  --red: #c8102e;
  --paper: #f5f7fb;
  --white: #fff;
  --ink: #0a1f44;
  --muted: #647089;
  --line: rgba(10,31,68,.12);
  --shadow: 0 24px 70px rgba(7,29,61,.14);
  --soft: 0 12px 34px rgba(7,29,61,.10);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.skip-link {
  position: absolute; top: 12px; left: -999px; z-index: 999;
  background: #fff; color: var(--blue); padding: .7rem 1rem; border-radius: 999px;
}
.skip-link:focus { left: 12px; }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.section { padding: 72px 0; }
.compact-section { padding-top: 58px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-shell {
  width: min(100% - 28px, var(--max));
  min-height: 72px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}
.brand-mark {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 16px;
  color: #fff; font-weight: 950; letter-spacing: -.06em;
  background: linear-gradient(135deg, var(--blue) 0 54%, var(--red) 54% 100%);
  box-shadow: var(--soft);
}
.brand strong { display: block; line-height: 1; color: var(--navy); font-size: 1rem; }
.brand small { display: block; color: var(--muted); font-size: .78rem; }

.main-nav {
  justify-self: end;
  display: flex;
  gap: 2px;
  flex-wrap: nowrap;
  align-items: center;
}
.main-nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: .48rem .72rem;
  border-radius: 999px;
  color: var(--blue);
  font-weight: 850;
  font-size: 1.3rem;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a:focus { background: rgba(11,45,92,.08); }
.menu-button {
  display: none;
  justify-self: end;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  padding: .62rem .9rem;
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  display: grid;
  align-items: center;
  background: var(--navy);
}
.hero > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7,29,61,.86), rgba(7,29,61,.54) 48%, rgba(7,29,61,.18)),
    linear-gradient(180deg, rgba(7,29,61,.10), rgba(7,29,61,.20));
}
.hero-panel {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
  color: white;
  padding: 90px 0;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 950;
  font-size: .73rem;
}
.hero .eyebrow { 
  color: #ead8b8;
  text-shadow: 0 2px 14px rgba(7, 29, 61, .35);
}

h1, h2, h3, p { margin-top: 0; }
.hero h1 {
  margin-bottom: 20px;
  max-width: 820px;
  color: #fff;
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  line-height: .92;
  letter-spacing: -.08em;
  text-transform: uppercase;
}
.hero h1 span {
  display: block;
  margin-top: .25rem;
  font-size: clamp(1.45rem, 3.3vw, 2.9rem);
  letter-spacing: -.045em;
  text-transform: none;
}
.hero p {
  max-width: 720px;
  color: rgba(255,255,255,.84);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Hero text links: all non-button links inside hero areas */
.hero a:not(.button),
.hero-content a:not(.button),
.hero-copy a:not(.button),
.page-hero-content a:not(.button),
.landing-hero a:not(.button),
.home-hero a:not(.button) {
  color: #ffffff !important;
  font-weight: 850;
  text-decoration-line: underline !important;
  text-decoration-color: var(--red) !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 5px;
}

.hero a:not(.button):hover,
.hero-content a:not(.button):hover,
.hero-copy a:not(.button):hover,
.page-hero-content a:not(.button):hover,
.landing-hero a:not(.button):hover,
.home-hero a:not(.button):hover,
.hero a:not(.button):focus-visible,
.hero-content a:not(.button):focus-visible,
.hero-copy a:not(.button):focus-visible,
.page-hero-content a:not(.button):focus-visible,
.landing-hero a:not(.button):focus-visible,
.home-hero a:not(.button):focus-visible {
  color: #ffffff !important;
  background: rgba(255,255,255,.12);
  border-radius: 6px;
}

/* External hero links: visual new-tab indication */
.hero a[target="_blank"]:not(.button)::after,
.hero-content a[target="_blank"]:not(.button)::after,
.hero-copy a[target="_blank"]:not(.button)::after,
.page-hero-content a[target="_blank"]:not(.button)::after,
.landing-hero a[target="_blank"]:not(.button)::after,
.home-hero a[target="_blank"]:not(.button)::after {
  content: " ↗";
  font-weight: 950;
  color: #ffffff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .78rem 1.12rem;
  border-radius: 999px;
  font-weight: 950;
  border: 1px solid transparent;
  line-height: 1;
}
.button.primary { background: var(--red); color: #fff; box-shadow: 0 18px 36px rgba(200,16,46,.24); }
.button.light { color: var(--navy) !important; background: #fff !important; border-color: rgba(255,255,255,.34) !important; }
.button.outline { background: #fff; color: var(--blue); border-color: var(--line); box-shadow: var(--soft); }

.section-title {
  max-width: 760px;
  margin-bottom: 28px;
}
.section-title h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -.065em;
}
.section-title p { color: var(--muted); font-size: 1.03rem; }
.row-title {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}
.row-title > div { max-width: 780px; }

.section-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.section-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: var(--soft);
  isolation: isolate;
}
.section-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.section-card:hover img { transform: scale(1.04); }
.section-card-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,29,61,.16), rgba(7,29,61,.92)),
    linear-gradient(135deg, rgba(200,16,46,.25), transparent 45%);
}
.section-card-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px;
  color: #fff;
}
.section-card-body small {
  display: block;
  margin-bottom: 8px;
  color: #ead8b8;
  text-shadow: 0 2px 14px rgba(7, 29, 61, .35);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 900;
  font-size: .68rem;
}
.section-card-body strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.42rem;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.section-card-body em {
  display: block;
  font-style: normal;
  color: rgba(255,255,255,.80);
  font-size: .94rem;
}

.topics-section { background: #fff; }
.topic-search {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}
.topic-search label {
  color: var(--blue);
  font-weight: 950;
}
.topic-search input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8faff;
  padding: 0 1rem;
  font: inherit;
  outline: none;
}
.topic-search input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11,45,92,.08); }

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.topic-card {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 112px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f9fbff);
  box-shadow: 0 6px 20px rgba(7,29,61,.06);
}
.topic-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(7,29,61,.12);
}
.topic-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--red));
  font-size: .86rem;
  font-weight: 950;
}
.topic-copy strong {
  display: block;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.15;
  margin-bottom: 4px;
}
.topic-copy small {
  color: var(--muted);
  font-size: .93rem;
}
.topic-arrow {
  color: var(--red);
  font-weight: 950;
  font-size: 1.2rem;
}

.move-section {
  background:
    radial-gradient(circle at top left, rgba(200,16,46,.08), transparent 28%),
    linear-gradient(135deg, #fff, #edf2fa);
}
.move-card {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.move-card h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -.06em;
  color: var(--navy);
}
.move-card p { color: var(--muted); }
.move-steps {
  display: grid;
  gap: 12px;
}
.move-steps span {
  display: block;
  padding: 14px 16px;
  border-radius: 18px;
  color: var(--blue);
  font-weight: 950;
  background: #f3f6fb;
  border: 1px solid var(--line);
}

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.78);
  padding: 34px 0;
}
.footer-layout {
  display: grid;
  grid-template-columns: 1.15fr 1.25fr .75fr;
  gap: 28px;
  align-items: start;
}
.footer-brand strong { color: #fff; }
.footer-brand p, .footer-contact p { margin: 8px 0 0; }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 8px 18px;
}
.footer-nav a, .footer-contact a { color: #fff; }
.footer-nav a { font-weight: 800; font-size: .92rem; }
.footer-contact { text-align: right; }

.footer-credit {
  max-width: 340px;
  margin: 4px 0 0;
  color: rgba(255,255,255,.62);
  font-size: .82rem;
  line-height: 1.48;
}

.footer-credit a {
  color: #ffffff !important;
  font-weight: 900;
  text-decoration: none !important;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  text-decoration: underline !important;
  text-decoration-color: var(--red) !important;
  text-underline-offset: 4px !important;
}

.footer-email-link {
  display: inline-block;
  color: rgba(255,255,255,.86) !important;
  font-weight: 850;
  text-decoration-line: underline !important;
  text-decoration-color: var(--red) !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 6px;
}

.footer-email-link:hover,
.footer-email-link:focus-visible {
  color: #ffffff !important;
  text-decoration-color: #ffffff !important;
}

.page-hero {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy);
}
.page-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,29,61,.86), rgba(7,29,61,.48) 55%, rgba(7,29,61,.18));
}
.page-hero-content {
  position: relative; z-index: 1;
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
  padding: 76px 0 58px;
  color: #fff;
}
.page-hero h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: .98;
  letter-spacing: -.03em;
}
.page-hero p {
  max-width: 720px;
  color: rgba(255,255,255,.84);
  font-size: 1.08rem;
}
.page-body-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
}
.content-box, .side-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--soft);
}
.content-box h2, .side-box h2 {
  margin: 0 0 12px;
  font-size: 1.7rem;
  letter-spacing: -.04em;
}
.content-box p, .side-box li { color: var(--muted); }
.side-box ul { margin: 0; padding-left: 1.1rem; }
.side-box li + li { margin-top: 10px; }

@media (max-width: 1100px) {
  .nav-shell { grid-template-columns: auto auto; }
  .menu-button { display: inline-flex; }
  .main-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    display: none;
    padding: 12px 0 18px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
  }
  .main-nav.open { display: flex; }
  .main-nav a { background: #f4f7fc; }
  .section-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-layout { grid-template-columns: 1fr; }
  .footer-contact { text-align: left; }
}
@media (max-width: 760px) {
  .container, .hero-panel, .page-hero-content { width: min(100% - 22px, var(--max)); }
  .section { padding: 56px 0; }
  .hero { min-height: 760px; }
  .brand { min-width: unset; }
  .brand-copy small { display: none; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .section-grid, .topic-grid, .move-card, .page-body-grid { grid-template-columns: 1fr; }
  .section-card { min-height: 250px; }
  .topic-card { grid-template-columns: 46px 1fr; }
  .topic-arrow { display: none; }
  .topic-icon { width: 46px; height: 46px; border-radius: 15px; }
  .row-title { display: block; }
  .footer-nav { grid-template-columns: repeat(2, auto); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .section-card img, .section-card:hover img { transition: none; transform: none; }
}

/* styles.css — move header logo slightly left */
@media (min-width: 900px) {
  .brand {
    transform: translateX(-48px);
  }
}

@media (min-width: 1400px) {
  .brand {
    transform: translateX(-70px);
  }
}

/* ==========================================================
   Shared component and page-shell additions
   ========================================================== */

.main-nav a[aria-current="page"],
.footer-nav a[aria-current="page"] {
  background: rgba(200,16,46,.10);
  color: var(--red);
}

.content-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.content-main {
  min-width: 0;
}

.side-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}

.side-panel-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--soft);
}

.side-panel h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1rem;
  letter-spacing: -.02em;
}

.side-main-links {
  display: grid;
  gap: 8px;
}

.side-main-links a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--blue);
  background: #f6f8fc;
  font-weight: 850;
}

.side-main-links a.active,
.side-group a.active {
  background: rgba(200,16,46,.10);
  color: var(--red);
}

.side-main-links small {
  color: var(--muted);
  font-weight: 700;
}

.side-group {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.side-group + .side-group {
  margin-top: 10px;
}

.side-group summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 950;
  list-style: none;
  margin-bottom: 8px;
}

.side-group summary::-webkit-details-marker {
  display: none;
}

.side-group div {
  display: grid;
  gap: 6px;
}

.side-group a {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 13px;
  color: var(--ink);
}

.side-group a:hover,
.side-main-links a:hover {
  background: rgba(11,45,92,.08);
}

.side-topic-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--red));
  font-size: .72rem;
  font-weight: 950;
}

.page-inner-grid {
  display: grid;
  gap: 22px;
}

.page-content-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--soft);
}

.page-content-card h2,
.page-content-card h3 {
  color: var(--navy);
  letter-spacing: -.04em;
}

.page-content-card p,
.page-content-card li {
  color: var(--muted);
}

@media (max-width: 1080px) {
  .content-shell {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
    order: -1;
  }

  .side-panel-block:nth-child(2) {
    display: none;
  }
}


.social-link {
  display: inline-flex;
  margin-top: 10px;
  padding: .58rem .82rem;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-weight: 900;
}

.social-link:hover {
  background: rgba(255,255,255,.18);
}
/* ==========================================================
   Coherent tree / legal footer / Czech lion design layer
   ========================================================== */

.brand-mark::after {
  content: "♔";
  position: absolute;
  opacity: .16;
}

.brand-mark {
  position: relative;
  overflow: hidden;
}

.main-nav a span,
.footer-links a span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-right: 6px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--red));
  font-size: .68rem;
  font-weight: 950;
}

.main-nav a[aria-current="page"],
.footer-links a[aria-current="page"] {
  background: rgba(200,16,46,.10);
  color: var(--red);
}

.hero::before {
  content: "♔";
  position: absolute;
  z-index: 1;
  right: clamp(22px, 6vw, 90px);
  bottom: clamp(20px, 6vw, 80px);
  font-size: clamp(5rem, 16vw, 14rem);
  line-height: 1;
  color: rgba(255,255,255,.10);
  pointer-events: none;
}

.czech-lion-note {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  max-width: 780px;
  padding: 18px;
  border-radius: 24px;
  color: #fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  backdrop-filter: blur(12px);
}

.czech-lion-note span {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, rgba(11,45,92,.88), rgba(200,16,46,.88));
  font-size: 2rem;
}

.czech-lion-note strong {
  display: block;
}

.czech-lion-note small {
  display: block;
  color: rgba(255,255,255,.76);
  margin-top: 3px;
}

.tree-section {
  background:
    radial-gradient(circle at top left, rgba(200,16,46,.055), transparent 30%),
    linear-gradient(180deg, #fff, #f4f7fc);
}

.tree-browser {
  display: grid;
  gap: 24px;
}

.tree-group-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--soft);
}

.tree-group-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.tree-group-head h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.45rem;
  letter-spacing: -.04em;
}

.tree-group-head small {
  color: var(--muted);
}

.tree-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tree-link {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 92px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(10,31,68,.10);
  background: linear-gradient(180deg, #fff, #f8faff);
}

.tree-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--soft);
}

.tree-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--red));
  font-size: .78rem;
  font-weight: 950;
}

.tree-link strong {
  display: block;
  color: var(--navy);
  line-height: 1.15;
}

.tree-link small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
  font-size: .88rem;
}

.content-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}

.content-main {
  min-width: 0;
}

.side-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}

.side-panel-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--soft);
}

.side-panel h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1rem;
  letter-spacing: -.02em;
}

.side-main-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.side-main-link {
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 14px;
  color: var(--blue);
  background: #f6f8fc;
  font-weight: 850;
}

.side-main-link span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--red));
}

.side-group {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.side-group + .side-group {
  margin-top: 10px;
}

.side-group summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 950;
  list-style: none;
  margin-bottom: 8px;
}

.side-group summary::-webkit-details-marker {
  display: none;
}

.side-group-links {
  display: grid;
  gap: 6px;
}

.side-group-links a {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 13px;
  color: var(--ink);
}

.side-group-links a.active,
.side-group-links a:hover,
.side-main-link:hover {
  background: rgba(11,45,92,.08);
}

.side-topic-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--red));
  font-size: .72rem;
  font-weight: 950;
}

.page-inner-grid {
  display: grid;
  gap: 22px;
}

.page-content-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--soft);
}

.page-content-card h2,
.page-content-card h3 {
  color: var(--navy);
  letter-spacing: -.04em;
}

.page-content-card p,
.page-content-card li {
  color: var(--muted);
}

.footer-supergrid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr .95fr;
  gap: 28px;
  align-items: start;
}

.footer-identity strong {
  display: block;
  color: #fff;
  font-size: 1.08rem;
}

.footer-identity p,
.footer-contact p {
  color: rgba(255,255,255,.72);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: rgba(255,255,255,.82);
  font-weight: 780;
}

.footer-links a:hover {
  color: #fff;
}

.footer-social {
  display: inline-flex;
  margin-top: 8px;
  padding: .56rem .78rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 900;
}

.legal-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.legal-mini-grid a {
  padding: 14px;
  border-radius: 18px;
  background: #f7f9fd;
  border: 1px solid var(--line);
  color: var(--blue);
  font-weight: 900;
}

@media (max-width: 1080px) {
  .content-shell {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
    order: -1;
  }

  .side-panel-block:nth-child(2) {
    max-height: 460px;
    overflow: auto;
  }

  .footer-supergrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tree-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .czech-lion-note {
    grid-template-columns: 1fr;
  }

  .footer-supergrid {
    grid-template-columns: 1fr;
  }

  .side-main-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .side-main-link {
    font-size: .82rem;
  }

  .legal-mini-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .side-main-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ==========================================================
   Correct icons, two-tailed lion identity, unified pointer
   Version: 20260611-lion-icons-v6
   ========================================================== */

/* No extra identity object next to brand or menu */
.identity-pointer {
  display: none !important;
}

.nav-shell {
  grid-template-columns: auto 1fr auto !important;
}

/* Clean main menu: no icon badges */
.main-nav a span,
.footer-links a span {
  display: none !important;
}

.main-nav a {
  background: transparent !important;
  position: relative;
}

.main-nav a[aria-current="page"] {
  background: transparent !important;
  color: var(--red) !important;
}

.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), #fff, var(--red));
}

/* Use the same Czech flag arrow cursor everywhere */
html,
body,
a,
button,
.button,
.topic-card,
.tree-link,
.section-card,
.side-main-link,
.side-group-links a,
summary,
input,
label {
  cursor: url("/assets/icons/czechia-pointer.svg") 4 4, auto !important;
}

/* Real SVG icons for tree and side panels */
.tree-icon,
.side-topic-icon,
.side-main-link span {
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--red));
}

.tree-icon svg,
.side-topic-icon svg,
.side-main-link span svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tree-icon svg path,
.tree-icon svg circle,
.side-topic-icon svg path,
.side-topic-icon svg circle,
.side-main-link span svg path,
.side-main-link span svg circle {
  vector-effect: non-scaling-stroke;
}

/* Remove the astrological lion sign completely */
.hero::before {
  content: "";
  width: clamp(110px, 14vw, 220px);
  height: clamp(110px, 14vw, 220px);
  background: url("/assets/images/cz-logo-small.svg") center / contain no-repeat;
  opacity: .12;
  right: clamp(22px, 6vw, 90px);
  bottom: clamp(20px, 6vw, 80px);
}

.czech-lion-note span {
  color: inherit !important;
  font-size: inherit !important;
  position: static !important;
}

.czech-lion-note span::before {
  content: none !important;
}

.czech-lion-note img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 18px;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  color: transparent;
  background: transparent url("/assets/icons/top.png") center / contain no-repeat !important;
  box-shadow: none;
  overflow: visible;
}

.back-to-top svg {
  display: none;
}

.back-to-top::after {
  content: attr(aria-label);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(10, 31, 68, .14);
  box-shadow: 0 12px 26px rgba(10, 31, 68, .14);
  color: var(--navy);
  font-size: .78rem;
  font-weight: 900;
  line-height: 1;
  transition: opacity .18s ease, transform .18s ease;
}

.back-to-top:hover {
  transform: translateY(-2px);
}

.back-to-top:hover::after,
.back-to-top:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 1100px) {
  .nav-shell {
    grid-template-columns: auto auto !important;
  }
}

@media (max-width: 640px) {
  .back-to-top {
    width: 50px;
    height: 50px;
    right: 12px;
    bottom: 12px;
  }

  .back-to-top::after {
    display: none;
  }
}

/* ==========================================================
   Czech flag colors + visible clickable states
   Version: 20260611-flag-hover-v7
   ========================================================== */

:root {
  --blue: #11457e;
  --blue2: #0b3a70;
  --navy: #0a1f44;
  --red: #d7141a;
  --paper: #f7f9fc;
  --muted: #586783;
  --line: rgba(10, 31, 68, .14);
}

/* Same Czech flag arrow cursor everywhere, no switching/zooming */
html,
body,
a,
button,
.button,
.topic-card,
.tree-link,
.section-card,
.side-main-link,
.side-group-links a,
summary,
input,
label {
  cursor: url("/assets/icons/czechia-pointer.svg") 6 6, pointer !important;
}

input,
textarea {
  cursor: text !important;
}

/* Clean header: no additional object beside identity */
.identity-pointer {
  display: none !important;
}

.nav-shell {
  grid-template-columns: auto 1fr auto !important;
}

/* Main menu: text only, visible tricolor underline on hover and current page */
.main-nav a span,
.footer-links a span {
  display: none !important;
}

.main-nav {
  gap: 8px;
}

.main-nav a {
  min-height: 42px;
  padding: .58rem .74rem .66rem;
  color: var(--navy) !important;
  background: transparent !important;
  border-radius: 0 !important;
  position: relative;
  transition: color .18s ease, transform .18s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 5px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #11457e 0 33%, #ffffff 33% 66%, #d7141a 66% 100%);
  opacity: 0;
  transform: scaleX(.55);
  transform-origin: center;
  transition: opacity .18s ease, transform .18s ease;
  box-shadow: 0 4px 12px rgba(215,20,26,.18);
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  color: var(--red) !important;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a[aria-current="page"]::after {
  opacity: 1 !important;
  transform: scaleX(1);
}

/* More Czech-flag palette, less burgundy/purple */
.brand-mark,
.tree-icon,
.side-topic-icon,
.side-main-link span,
.topic-icon {
  background: linear-gradient(135deg, #11457e 0 52%, #ffffff 52% 55%, #d7141a 55% 100%) !important;
  color: #fff;
}

.tree-icon svg,
.side-topic-icon svg,
.side-main-link span svg {
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.25));
}

.button.primary {
  background: #d7141a !important;
  color: #fff !important;
  box-shadow: 0 18px 36px rgba(215,20,26,.24) !important;
}

.button.outline {
  color: var(--blue) !important;
  border-color: rgba(17,69,126,.20) !important;
}

/* Visible clickable feedback on tree cards */
.tree-link {
  position: relative;
  border: 1px solid rgba(17,69,126,.16) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.tree-link::after {
  content: "Open →";
  position: absolute;
  right: 16px;
  bottom: 12px;
  color: var(--red);
  font-weight: 950;
  font-size: .78rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .18s ease, transform .18s ease;
}

.tree-link:hover,
.tree-link:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(215,20,26,.42) !important;
  box-shadow: 0 18px 42px rgba(10,31,68,.14) !important;
  background: linear-gradient(180deg, #fff, #f5f8fd) !important;
}

.tree-link:hover::after,
.tree-link:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

.tree-link:hover .tree-icon,
.tree-link:focus-visible .tree-icon {
  transform: scale(1.08);
}

.tree-icon {
  transition: transform .18s ease;
}

/* Visible feedback on main image cards */
.section-card {
  outline: 0 solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, outline-color .18s ease;
}

.section-card::after {
  content: "Open section →";
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 4;
  padding: .46rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--red);
  font-weight: 950;
  font-size: .76rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
}

.section-card:hover,
.section-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(10,31,68,.22) !important;
}

.section-card:hover::after,
.section-card:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

/* Visible feedback on side links */
.side-group-links a,
.side-main-link {
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.side-group-links a:hover,
.side-group-links a:focus-visible,
.side-main-link:hover,
.side-main-link:focus-visible {
  background: rgba(17,69,126,.10) !important;
  color: var(--blue) !important;
  transform: translateX(3px);
}

/* Footer legal links: coherent and understated */
.footer-social {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,.20) !important;
  color: #fff !important;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #fff !important;
  text-decoration: underline;
  text-decoration-color: #d7141a;
  text-underline-offset: 5px;
}

/* ==================================================
   Hero identity watermark — project logo
   ================================================== */

.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  right: clamp(34px, 7vw, 110px);
  bottom: clamp(70px, 10vw, 150px);
  width: clamp(130px, 16vw, 250px);
  height: clamp(130px, 16vw, 250px);
  background: url("/assets/images/cz-logo-small.png") center / contain no-repeat;
  opacity: .34;
  pointer-events: none;
  filter:
    drop-shadow(0 18px 36px rgba(0, 0, 0, .32))
    saturate(1.05);
}

.czech-lion-note img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}


/* ==================================================
   Custom audio player — shared site-wide
   ================================================== */

.custom-audio audio {
  display: none;
}

.custom-audio-controls {
  display: grid;
  grid-template-columns: 52px minmax(120px, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.custom-audio-play {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #071d3d;
  font-weight: 900;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
}

.custom-audio-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .28);
  overflow: hidden;
  cursor: pointer;
}

.custom-audio-progress {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffffff, #d7141a);
}

.custom-audio-time {
  color: rgba(255, 255, 255, .82);
  font-weight: 800;
  font-size: .88rem;
  white-space: nowrap;
}

.custom-audio-download {
  display: inline-flex;
  width: fit-content;
  max-width: max-content;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #ffffff;
  font-weight: 850;
  font-size: .84rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.custom-audio-download:hover,
.custom-audio-download:focus-visible {
  background: rgba(255, 255, 255, .24);
  border-color: rgba(255, 255, 255, .46);
}

/* ==================================================
   Footer — final coherent structure
   Structure expected from components.js:
   1 Identity | 2 Site | 3 LinkedIn/newsletters | 4 Contact
   Legal row above separator, then copyright.
   ================================================== */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 42px 0 24px !important;
  background:
    radial-gradient(circle at 16% 18%, rgba(255,255,255,.055), transparent 26%),
    radial-gradient(circle at 88% 16%, rgba(215,20,26,.085), transparent 23%),
    linear-gradient(135deg, #071d3d 0%, #08244d 100%) !important;
  color: rgba(255,255,255,.74);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #11457e 0 33%, #ffffff 33% 66%, #d7141a 66% 100%);
  opacity: .95;
}

.footer-supergrid {
  position: relative;
  display: grid !important;
  grid-template-columns:
    minmax(220px, 1.08fr)
    minmax(210px, .88fr)
    minmax(300px, 1.12fr)
    minmax(250px, .92fr) !important;
  gap: 24px 34px !important;
  align-items: start !important;
}

.footer-column {
  min-width: 0 !important;
}

.footer-column h2 {
  margin: 0 0 14px !important;
  color: rgba(255,255,255,.50) !important;
  font-size: 1rem !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
}

.footer-identity strong {
  display: block;
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1.2;
  letter-spacing: -.015em;
}

.footer-identity p,
.footer-contact p {
  color: rgba(255,255,255,.66);
  font-size: .94rem;
  line-height: 1.56;
}

.footer-identity p {
  max-width: 340px;
  margin: 10px 0 0;
}

.footer-site .footer-links {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 9px 24px !important;
}

.footer-links a {
  position: relative;
  width: fit-content;
  color: rgba(255,255,255,.72);
  font-size: .94rem;
  font-weight: 820;
  line-height: 1.22;
  text-decoration: none !important;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #11457e, #ffffff, #d7141a);
  opacity: 0;
  transform: scaleX(.55);
  transform-origin: left;
  transition: opacity .18s ease, transform .18s ease;
}

.footer-links a[aria-current="page"] {
  color: #ff3340 !important;
  font-weight: 950;
}

.footer-links a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
  background: rgba(215,20,26,.55);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff !important;
}

.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Public update links sit in the third footer column. */
.footer-social-column .footer-social-stack {
  display: grid;
  gap: 10px;
  max-width: 320px;
  margin-top: 0;
}

.footer-social {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 0;
  padding: 0 17px;
  border-radius: 999px;
  background: rgba(255,255,255,.09) !important;
  border: 1px solid rgba(255,255,255,.20) !important;
  color: #ffffff !important;
  font-weight: 900;
  text-decoration: none !important;
}

.footer-social[target="_blank"]::after {
  margin-left: .22em;
}

.footer-newsletter {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  padding: 10px 12px;
  border-radius: 17px;
  background: rgba(255,255,255,.065);
  border: 1px solid rgba(255,255,255,.13);
  color: #ffffff;
  text-decoration: none !important;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.footer-newsletter::after,
.footer-newsletter[target="_blank"]::after {
  content: none !important;
}

.footer-newsletter img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

.footer-newsletter-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.footer-newsletter-copy strong,
.footer-newsletter-copy span {
  text-decoration: none !important;
}

.footer-newsletter-copy strong {
  color: #ffffff;
  font-size: .9rem;
  line-height: 1.12;
}

.footer-newsletter-copy span {
  color: rgba(255,255,255,.62);
  font-size: .76rem;
  line-height: 1.25;
}

.footer-newsletter:hover,
.footer-newsletter:focus-visible {
  transform: translateY(-2px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.26);
}

/* Contact column stays fourth, aligned with the other three. */
.footer-contact {
  max-width: 280px !important;
  text-align: left !important;
}

.footer-contact p {
  margin: 0 0 12px !important;
}

.footer-contact a {
  display: inline-block;
  color: #ffffff !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: #ffffff !important;
  text-decoration: underline !important;
  text-decoration-color: #d7141a !important;
  text-underline-offset: 5px !important;
}

/* Legal pages above separator. */
.footer-legal-row {
  grid-column: 1 / -1 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px 26px !important;
  align-items: center !important;
  margin-top: 18px !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

.footer-legal-row a {
  color: rgba(255,255,255,.66) !important;
  font-size: .82rem !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}

.footer-legal-row a:hover,
.footer-legal-row a:focus-visible {
  color: #ffffff !important;
  text-decoration: underline !important;
  text-decoration-color: #d7141a !important;
  text-underline-offset: 5px !important;
}

.footer-legal-row a::after {
  content: none !important;
}

/* Separator between legal row and copyright. */
.footer-bottom {
  grid-column: 1 / -1 !important;
  display: block !important;
  margin-top: 16px !important;
  padding-top: 16px !important;
  border-top: 1px solid rgba(255,255,255,.14) !important;
}

.footer-bottom p {
  margin: 0 !important;
  color: rgba(255,255,255,.48) !important;
  font-size: .78rem !important;
  line-height: 1.4 !important;
}

/* Avoid global external-link clutter inside the footer. */
.site-footer a[target="_blank"] {
  text-decoration: none !important;
}

/* Responsive: keep four columns as long as width allows. */
@media (max-width: 1120px) {
  .footer-supergrid {
    grid-template-columns: 1fr 1fr !important;
  }

  .footer-contact,
  .footer-social-column .footer-social-stack,
  .footer-social-column .footer-newsletter {
    max-width: none !important;
  }
}

@media (max-width: 680px) {
  .site-footer {
    padding: 38px 0 24px !important;
  }

  .footer-supergrid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .footer-site .footer-links {
    grid-template-columns: 1fr 1fr !important;
  }

  .footer-legal-row {
    gap: 10px 18px !important;
  }

  .custom-audio-controls {
    grid-template-columns: 52px 1fr auto;
    gap: 10px;
  }
}

/* ==================================================
   Footer LinkedIn/newsletter cards — same width + new-tab signal
   ================================================== */

.footer-social-column .footer-social,
.footer-social-column .footer-newsletter {
  width: 100% !important;
  max-width: 320px !important;
  min-height: 82px;
  position: relative;
  display: grid !important;
  grid-template-columns: 46px 1fr;
  align-items: center;
  justify-content: start;
  gap: 12px;
  padding: 10px 38px 10px 12px !important;
  border-radius: 17px !important;
  background: rgba(255,255,255,.065) !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  text-align: left;
}

.footer-social-column .footer-social::before {
  content: "in";
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #ffffff;
  color: #11457e;
  font-weight: 950;
  font-size: 1.05rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

.footer-social-column .footer-social:hover,
.footer-social-column .footer-social:focus-visible,
.footer-social-column .footer-newsletter:hover,
.footer-social-column .footer-newsletter:focus-visible {
  transform: translateY(-2px);
  background: rgba(255,255,255,.10) !important;
  border-color: rgba(255,255,255,.26) !important;
}

.footer-social-column .footer-social-stack {
  max-width: 320px !important;
}

/* ==================================================
   Footer project logo — title above logo
   ================================================== */

.footer-identity {
  display: block !important;
}

.footer-identity > strong {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0 0 14px !important;
  color: #ffffff !important;
  font-size: 1.1rem !important;
  line-height: 1.2 !important;
  letter-spacing: -.015em !important;
}

.footer-project-logo {
  display: block !important;
  width: min(100%, 330px) !important;
  margin: 0 0 14px !important;
  text-decoration: none !important;
}

.footer-project-logo::after {
  content: none !important;
}

.footer-project-logo img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 86px !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter:
    drop-shadow(0 14px 28px rgba(0, 0, 0, .22))
    brightness(1.02);
}

.footer-identity p {
  max-width: 340px !important;
  margin-top: 10px !important;
}

@media (max-width: 680px) {
  .footer-project-logo {
    width: min(100%, 300px) !important;
  }

  .footer-project-logo img {
    max-height: 80px !important;
  }
}
/* ==================================================
   Footer identity alignment refinement
   ================================================== */

.footer-identity {
  display: grid !important;
  align-content: start;
  gap: 12px;
}

.footer-identity > strong {
  margin: 0 !important;
  padding-top: 2px;
  max-width: 340px;
  color: #ffffff !important;
  font-size: 1.08rem !important;
  line-height: 1.2 !important;
  letter-spacing: -.015em !important;
}

.footer-project-logo {
  width: min(100%, 310px) !important;
  margin: 2px 0 0 !important;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 14px 32px rgba(0,0,0,.18);
}

.footer-project-logo img {
  width: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: none !important;
}

.footer-identity p {
  max-width: 340px !important;
  margin: 0 !important;
  color: rgba(255,255,255,.66) !important;
  font-size: .94rem;
  line-height: 1.56;
}

.nav-item {
  position: relative;
}

.has-submenu > a::after {
  content: "▾";
  margin-left: .35rem;
  font-size: .75em;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  display: none;
  padding: 10px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(10,31,68,.12);
  box-shadow: 0 18px 42px rgba(10,31,68,.14);
  z-index: 50;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  display: grid;
  gap: 6px;
}

.submenu a {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: #071d3d;
}

.submenu a:hover,
.submenu a:focus-visible {
  background: #f3f6fb;
}

.submenu strong {
  font-size: .96rem;
}

.submenu span {
  color: #586783;
  font-size: .84rem;
  line-height: 1.35;
}

.side-main-link.active {
  background: rgba(200,16,46,.10);
  color: var(--red);
}

.side-main-link.active span {
  background: linear-gradient(135deg, var(--red), var(--blue));
}


.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: clamp(210px, 18vw, 300px);
}

.brand-logo {
  display: block;
  width: clamp(190px, 18vw, 280px);
  max-height: 54px;
  height: auto;
  object-fit: contain;
}

.brand-mark {
  display: none !important;
}

@media (max-width: 760px) {
  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: min(60vw, 230px);
    max-height: 48px;
  }
}

.pwa-install-prompt {
  position: fixed;
  left: max(18px, env(safe-area-inset-left));
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 520px;
  margin: 0 auto;
  padding: 14px 16px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(10,31,68,.14);
  box-shadow: 0 22px 54px rgba(10,31,68,.22);
  color: var(--navy);
}

.pwa-install-prompt.is-visible {
  display: flex;
}

.pwa-install-copy {
  display: grid;
  gap: 3px;
  line-height: 1.25;
}

.pwa-install-copy strong {
  color: var(--navy);
  font-size: .98rem;
}

.pwa-install-copy span {
  color: var(--muted);
  font-size: .86rem;
}

.pwa-install-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pwa-install-button,
.pwa-install-close {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.pwa-install-button {
  border-radius: 999px;
  background: var(--red);
  color: #ffffff;
  font-weight: 950;
  padding: .62rem .9rem;
  white-space: nowrap;
}

.pwa-install-close {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #f3f6fb;
  color: var(--blue);
  font-weight: 950;
}

/* Sidebar stays visible with the page scroll — no separate sidebar scrollbar */
.content-shell {
  align-items: start;
}

#sidePanel {
  position: sticky;
  top: 96px;
  align-self: start;
  height: max-content;
  max-height: none !important;
  overflow: visible !important;
}

/* Remove any previous internal scrollbar styling */
#sidePanel::-webkit-scrollbar {
  display: none;
}

/* ==================================================
   Final mobile menu, share and social preview system
   Version: 20260617-mobile-menu-share-full-v1
   ================================================== */

/* Header logo: real project logo, slightly left on desktop and mobile */
.site-header .brand {
  transform: translateX(-48px) !important;
}

.site-header .brand-logo {
  display: block;
  width: clamp(190px, 18vw, 280px);
  max-height: 54px;
  height: auto;
  object-fit: contain;
}

.site-header .brand-mark {
  display: none !important;
}

@media (min-width: 1400px) {
  .site-header .brand {
    transform: translateX(-70px) !important;
  }
}

@media (max-width: 1100px) {
  .site-header .brand {
    transform: translateX(-34px) !important;
    min-width: 0 !important;
  }

  .site-header .brand-logo {
    width: min(56vw, 240px);
    max-height: 50px;
  }
}

@media (max-width: 760px) {
  .site-header .brand {
    transform: translateX(-28px) !important;
    min-width: 0 !important;
  }

  .site-header .brand-logo {
    width: min(64vw, 230px);
    max-height: 48px;
  }
}

/* Mobile main menu: vertical, stable, readable */
@media (max-width: 1100px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  .site-header {
    z-index: 2000;
  }

  .nav-shell {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px !important;
  }

  .menu-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: .68rem 1rem;
    border-radius: 999px;
    background: var(--blue);
    color: #ffffff;
    font-weight: 950;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 1900;
    display: none;
    align-content: start;
    gap: 8px;
    padding: 14px;
    overflow-y: auto;
    border: 1px solid rgba(10,31,68,.14);
    border-radius: 24px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 24px 70px rgba(7,29,61,.24);
    backdrop-filter: blur(16px);
  }

  .main-nav.open {
    display: grid !important;
  }

  .nav-item {
    width: 100%;
    position: static;
  }

  .main-nav .nav-item > a {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding: .78rem .94rem !important;
    border-radius: 16px !important;
    background: #f6f8fc !important;
    color: var(--navy) !important;
    font-size: 1rem !important;
    text-decoration: none !important;
  }

  .main-nav .nav-item > a::after {
    display: none !important;
  }

  .has-submenu > .nav-parent-link::before {
    content: "Open";
    order: 2;
    margin-left: auto;
    color: var(--red);
    font-size: .72rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .06em;
  }

  .has-submenu.submenu-open > .nav-parent-link::before {
    content: "Close";
  }

  .submenu {
    position: static !important;
    display: none !important;
    min-width: 0 !important;
    width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    gap: 8px !important;
    padding: 8px 0 4px 14px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu {
    display: none !important;
  }

  .has-submenu.submenu-open .submenu {
    display: grid !important;
  }

  .submenu a {
    display: grid !important;
    gap: 3px;
    width: 100%;
    min-height: 54px;
    padding: 10px 12px !important;
    border-radius: 15px !important;
    background: #ffffff !important;
    border: 1px solid var(--line);
    color: var(--navy) !important;
    text-decoration: none !important;
  }

  .submenu a strong {
    font-size: .94rem;
    line-height: 1.15;
  }

  .submenu a span {
    display: block !important;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.28;
  }

  .submenu a:hover,
  .submenu a:focus-visible,
  .submenu a[aria-current="page"] {
    background: rgba(17,69,126,.08) !important;
    color: var(--red) !important;
  }
}

/* Sidebar stays visible with the page scroll; no internal sidebar scrollbar */
.content-shell {
  align-items: start !important;
}

#sidePanel {
  position: sticky;
  top: 96px;
  align-self: start;
  height: max-content;
  max-height: none !important;
  overflow: visible !important;
}

#sidePanel::-webkit-scrollbar {
  display: none;
}

/* External links: no automatic arrow injection site-wide */
a[target="_blank"]::after,
.footer-social-column .footer-social::after,
.footer-social-column .footer-newsletter::after,
.footer-social[target="_blank"]::after,
.source-card a[target="_blank"]::after,
.entity-card .button[target="_blank"]::after {
  content: none !important;
}

/* Floating share menu */
.floating-share-menu {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1200;
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .24);
  border: 1px solid rgba(10, 31, 68, .14);
  box-shadow: 0 18px 44px rgba(10, 31, 68, .18);
  backdrop-filter: blur(14px);
}

.floating-share-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .68rem;
  font-weight: 950;
  color: var(--blue);
  justify-self: center;
  margin: 4px 0;
}

.floating-share-button {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 69, 126, .18);
  border-radius: 999px;
  background: #f6f8fc;
  color: var(--blue);
  font: inherit;
  font-size: .78rem;
  font-weight: 950;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(10, 31, 68, .10);
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.floating-share-button::before {
  content: attr(data-share-label);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  width: max-content;
  max-width: 210px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(10, 31, 68, .14);
  box-shadow: 0 12px 26px rgba(10, 31, 68, .14);
  color: var(--navy);
  font-size: .78rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.floating-share-button:hover::before,
.floating-share-button:focus-visible::before,
.floating-share-button.copied::before {
  opacity: 1;
  transform: translateY(-50%) translateX(-2px);
}

.share-text {
  display: none;
}

.share-letter,
.share-visual {
  line-height: 1;
  font-weight: 950;
  font-size: 1rem;
}

.share-copy-text {
  font-size: .66rem;
  letter-spacing: -.03em;
}

.share-check {
  font-size: 1.25rem;
}

.floating-share-button:hover,
.floating-share-button:focus-visible {
  transform: translateY(-2px);
  background: rgba(215, 20, 26, .10);
  border-color: rgba(215, 20, 26, .24);
  color: var(--red);
}

.floating-share-button.copied {
  background: rgba(17, 69, 126, .12);
  border-color: rgba(17, 69, 126, .28);
  color: var(--blue);
}

/* Desktop: native mobile share hidden */
.mobile-native-share {
  display: none;
}

/* Mobile: text buttons, native share, and back-to-top on the same bottom level */
@media (max-width: 760px) {
  .floating-share-menu {
    top: auto;
    left: 10px;
    right: 72px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 50px;
    max-width: calc(100vw - 88px);
    padding: 7px 8px;
    border-radius: 999px;
  }

  .floating-share-label {
    display: none;
  }

  .mobile-native-share {
    display: inline-grid;
  }

  .share-desktop {
    display: none;
  }

  .floating-share-button {
    width: auto;
    min-width: 42px;
    height: 38px;
    padding: 0 8px;
    box-shadow: none;
  }

  .share-visual {
    display: none;
  }

  .share-text {
    display: inline;
    font-size: .68rem;
    line-height: 1;
    font-weight: 950;
  }

  .floating-share-button::before {
    display: none;
  }

  .back-to-top {
    right: 10px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 50px;
    height: 50px;
    border-radius: 17px;
    z-index: 1300;
  }

  body {
    padding-bottom: 82px;
  }
}

@media (max-width: 390px) {
  .floating-share-menu {
    right: 66px;
    gap: 5px;
    padding: 7px;
    max-width: calc(100vw - 78px);
  }

  .floating-share-button {
    min-width: 38px;
    padding: 0 6px;
  }

  .share-text {
    font-size: .62rem;
  }

  .back-to-top {
    width: 46px;
    height: 46px;
  }
}

/* ==================================================
   FINAL MOBILE MENU — checkbox method, no fragile JS overlay
   This block must remain at the end of styles.css.
   ================================================== */

.mobile-menu-toggle,
.mobile-menu-button,
.mobile-menu-panel {
  display: none;
}

@media (max-width: 1100px) {
  body.mobile-menu-open {
    overflow: hidden !important;
  }

  .site-header {
    z-index: 3000 !important;
  }

  .nav-shell {
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
  }

  #mainNav.main-nav {
    display: none !important;
  }

  .mobile-menu-toggle {
    position: fixed !important;
    inline-size: 1px !important;
    block-size: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .mobile-menu-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: end !important;
    min-height: 42px !important;
    min-width: 86px !important;
    padding: .68rem 1rem !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--blue) !important;
    color: #ffffff !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    z-index: 3100 !important;
    cursor: pointer !important;
  }

  .mobile-menu-button .menu-close-text {
    display: none !important;
  }

  #mobileMenuToggle:checked + .mobile-menu-button {
    background: var(--red) !important;
  }

  #mobileMenuToggle:checked + .mobile-menu-button .menu-open-text {
    display: none !important;
  }

  #mobileMenuToggle:checked + .mobile-menu-button .menu-close-text {
    display: inline !important;
  }

  .mobile-menu-panel {
    display: none !important;
  }

  #mobileMenuToggle:checked ~ #mobileMenuPanel.mobile-menu-panel {
    position: fixed !important;
    top: 76px !important;
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    z-index: 2900 !important;

    display: grid !important;
    grid-template-columns: 1fr !important;
    align-content: start !important;
    gap: 10px !important;

    padding: 14px !important;
    overflow-y: auto !important;

    border: 1px solid rgba(10,31,68,.14) !important;
    border-radius: 24px !important;
    background: rgba(255,255,255,.985) !important;
    box-shadow: 0 24px 70px rgba(7,29,61,.24) !important;
    backdrop-filter: blur(16px) !important;
  }

  .mobile-menu-group {
    border: 0 !important;
    border-radius: 18px !important;
    background: #f6f8fc !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .mobile-menu-group > summary {
    min-height: 58px !important;
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) auto !important;
    gap: 10px !important;
    align-items: center !important;
    padding: 10px 12px !important;
    color: var(--navy) !important;
    cursor: pointer !important;
    list-style: none !important;
  }

  .mobile-menu-group > summary::-webkit-details-marker {
    display: none !important;
  }

  .mobile-menu-group > summary::after {
    content: "Open";
    color: var(--red) !important;
    font-size: .72rem !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
  }

  .mobile-menu-group[open] > summary::after {
    content: "Close";
  }

  .mobile-menu-icon {
    width: 40px !important;
    height: 40px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--blue), var(--red)) !important;
  }

  .mobile-menu-icon svg {
    width: 22px !important;
    height: 22px !important;
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  .mobile-menu-summary-copy {
    display: grid !important;
    gap: 2px !important;
    min-width: 0 !important;
  }

  .mobile-menu-summary-copy strong {
    color: var(--navy) !important;
    font-size: 1rem !important;
    line-height: 1.1 !important;
  }

  .mobile-menu-summary-copy small {
    color: var(--muted) !important;
    font-size: .76rem !important;
    line-height: 1.22 !important;
  }

  .mobile-menu-links {
    display: grid !important;
    gap: 8px !important;
    padding: 0 10px 10px 62px !important;
  }

  .mobile-menu-link {
    display: grid !important;
    gap: 3px !important;
    width: 100% !important;
    min-height: 52px !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    border: 1px solid var(--line) !important;
    background: #ffffff !important;
    color: var(--navy) !important;
    text-decoration: none !important;
  }

  .mobile-menu-link strong {
    font-size: .94rem !important;
    line-height: 1.15 !important;
    color: var(--navy) !important;
  }

  .mobile-menu-link span {
    display: block !important;
    color: var(--muted) !important;
    font-size: .78rem !important;
    line-height: 1.28 !important;
  }

  .mobile-menu-link:hover,
  .mobile-menu-link:focus-visible,
  .mobile-menu-link.active {
    background: rgba(17,69,126,.08) !important;
    color: var(--red) !important;
  }
}

@media (max-width: 420px) {
  #mobileMenuToggle:checked ~ #mobileMenuPanel.mobile-menu-panel {
    left: 8px !important;
    right: 8px !important;
    padding: 12px !important;
  }

  .mobile-menu-links {
    padding-left: 10px !important;
  }
}

/* ==================================================
   Full custom PNG menu icons
   Source folder: /assets/icons/menu/
   ================================================== */

.tree-icon.image-icon,
.side-topic-icon.image-icon,
.side-main-icon.image-icon,
.mobile-menu-icon.image-icon {
  background: transparent !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.tree-icon.image-icon img,
.side-topic-icon.image-icon img,
.side-main-icon.image-icon img,
.mobile-menu-icon.image-icon img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: inherit !important;
}

/* ==================================================
   Czechia unified content list markers
   GENERAL RULES ONLY — site-wide content lists
   ================================================== */

:root {
  --czechia-marker-bg: linear-gradient(135deg, var(--blue) 0 48%, #ffffff 48% 55%, var(--red) 55% 100%);
}

/* Reset only content lists, not navigation/menu/footer technical lists */
.page-content-card ul:not([class]),
.page-content-card ol:not([class]),
.content-box ul:not([class]),
.content-box ol:not([class]),
.side-box ul:not([class]),
.side-box ol:not([class]),
.move-card ul:not([class]),
.move-card ol:not([class]),
.czechia-list,
.czechia-number-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

/* Shared alignment */
.page-content-card ul:not([class]) li,
.page-content-card ol:not([class]) li,
.content-box ul:not([class]) li,
.content-box ol:not([class]) li,
.side-box ul:not([class]) li,
.side-box ol:not([class]) li,
.move-card ul:not([class]) li,
.move-card ol:not([class]) li,
.czechia-list li,
.czechia-number-list li {
  position: relative;
  min-height: 26px;
  color: var(--muted);
  line-height: 1.6;
}

/* BULLETS = round */
.page-content-card ul:not([class]) li,
.content-box ul:not([class]) li,
.side-box ul:not([class]) li,
.move-card ul:not([class]) li,
.czechia-list li {
  padding-left: 34px;
}

.page-content-card ul:not([class]) li::before,
.content-box ul:not([class]) li::before,
.side-box ul:not([class]) li::before,
.move-card ul:not([class]) li::before,
.czechia-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .34em;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--czechia-marker-bg);
  box-shadow:
    0 7px 16px rgba(7, 29, 61, .16),
    inset 0 1px 0 rgba(255, 255, 255, .55);
}

/* NUMBERS = full mini-cards, alternating blue / red */
.page-content-card ol:not([class]),
.content-box ol:not([class]),
.side-box ol:not([class]),
.move-card ol:not([class]),
.czechia-number-list {
  counter-reset: czechia-list-counter;
}

.page-content-card ol:not([class]) li,
.content-box ol:not([class]) li,
.side-box ol:not([class]) li,
.move-card ol:not([class]) li,
.czechia-number-list li {
  counter-increment: czechia-list-counter;
  position: relative;
  min-height: 46px;
  padding: 12px 16px 12px 62px;
  border-radius: 16px;
  background: #f8faff;
  border: 1px solid rgba(10, 31, 68, .12);
  box-shadow: 0 7px 18px rgba(7, 29, 61, .06);
  color: var(--muted);
  line-height: 1.55;
}

.page-content-card ol:not([class]) li::before,
.content-box ol:not([class]) li::before,
.side-box ol:not([class]) li::before,
.move-card ol:not([class]) li::before,
.czechia-number-list li::before {
  content: counter(czechia-list-counter);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  font-size: .86rem;
  font-weight: 950;
  line-height: 1;
  box-shadow:
    0 9px 18px rgba(7, 29, 61, .18),
    inset 0 1px 0 rgba(255, 255, 255, .36);
}

/* odd = blue */
.page-content-card ol:not([class]) li:nth-child(odd),
.content-box ol:not([class]) li:nth-child(odd),
.side-box ol:not([class]) li:nth-child(odd),
.move-card ol:not([class]) li:nth-child(odd),
.czechia-number-list li:nth-child(odd) {
  border-left: 4px solid var(--blue);
}

.page-content-card ol:not([class]) li:nth-child(odd)::before,
.content-box ol:not([class]) li:nth-child(odd)::before,
.side-box ol:not([class]) li:nth-child(odd)::before,
.move-card ol:not([class]) li:nth-child(odd)::before,
.czechia-number-list li:nth-child(odd)::before {
  background: linear-gradient(135deg, var(--blue), var(--navy));
}

/* even = red */
.page-content-card ol:not([class]) li:nth-child(even),
.content-box ol:not([class]) li:nth-child(even),
.side-box ol:not([class]) li:nth-child(even),
.move-card ol:not([class]) li:nth-child(even),
.czechia-number-list li:nth-child(even) {
  border-left: 4px solid var(--red);
}

.page-content-card ol:not([class]) li:nth-child(even)::before,
.content-box ol:not([class]) li:nth-child(even)::before,
.side-box ol:not([class]) li:nth-child(even)::before,
.move-card ol:not([class]) li:nth-child(even)::before,
.czechia-number-list li:nth-child(even)::before {
  background: linear-gradient(135deg, var(--red), #8f0f18);
}

/* Reusable external-link arrow, used manually in page HTML when needed */
.external-arrow {
  display: inline-block;
  margin-left: .24em;
  font-weight: 950;
  line-height: 1;
}

/* Visible external-link arrow for all hero text links */
.hero a[target="_blank"]:not(.button)::after,
.hero-content a[target="_blank"]:not(.button)::after,
.hero-copy a[target="_blank"]:not(.button)::after,
.page-hero-content a[target="_blank"]:not(.button)::after,
.landing-hero a[target="_blank"]:not(.button)::after,
.home-hero a[target="_blank"]:not(.button)::after {
  content: "↗" !important;
  display: inline-block !important;
  margin-left: .32em;
  color: #ffffff !important;
  font-size: .86em;
  font-weight: 950;
  line-height: 1;
  text-decoration: none !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.65);
  transform: translateY(-.08em);
}

/* Footer active-page state: calm contained marker, no heavy underline */
.site-footer .footer-links a[aria-current="page"],
.site-footer .footer-legal-row a[aria-current="page"] {
  position: relative;
  display: inline-flex;
  width: fit-content;
  color: #ffffff !important;
  font-weight: 950;
  text-decoration: none !important;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 2px 7px 3px;
}

/* short stable red marker */
.site-footer .footer-links a[aria-current="page"]::after,
.site-footer .footer-legal-row a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: -4px;
  height: 2px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: none;
}

* --------------------------------------------------
   Text / navigation cards: same behaviour as .tree-link
   -------------------------------------------------- */
:where(
  a.transport-section-card,
  a.related-page-card,
  a.open-text-card,
  a.page-card-link,
  a.card-link
) {
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

:where(
  a.transport-section-card,
  a.related-page-card,
  a.open-text-card,
  a.page-card-link,
  a.card-link
)::after {
  content: "Open →";
  position: absolute;
  right: 16px;
  bottom: 12px;
  color: var(--red);
  font-weight: 950;
  font-size: .78rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}

:where(
  a.transport-section-card,
  a.related-page-card,
  a.open-text-card,
  a.page-card-link,
  a.card-link
)[data-open-label]::after {
  content: attr(data-open-label);
}

:where(
  a.transport-section-card,
  a.related-page-card,
  a.open-text-card,
  a.page-card-link,
  a.card-link
):is(:hover, :focus-visible) {
  transform: translateY(-4px);
  border-color: rgba(215,20,26,.42) !important;
  box-shadow: 0 18px 42px rgba(10,31,68,.14) !important;
  background: linear-gradient(180deg, #fff, #f5f8fd) !important;
}

:where(
  a.transport-section-card,
  a.related-page-card,
  a.open-text-card,
  a.page-card-link,
  a.card-link
):is(:hover, :focus-visible)::after {
  opacity: 1;
  transform: translateX(0);
}

/* --------------------------------------------------
   Image / sheet preview cards: same top-right marker family
   as .section-card, without touching .section-card itself.
   -------------------------------------------------- */
:where(
  a.name-sheet-visual-link,
  a.transport-sheet-visual-link,
  a.map-image-link,
  a.open-image-card
) {
  position: relative;
  isolation: isolate;
}

:where(
  a.name-sheet-visual-link,
  a.transport-sheet-visual-link,
  a.map-image-link,
  a.open-image-card
)::after {
  content: "Open →";
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 4;
  padding: .46rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--red);
  font-weight: 950;
  font-size: .76rem;
  line-height: 1;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}

:where(
  a.name-sheet-visual-link,
  a.transport-sheet-visual-link,
  a.map-image-link,
  a.open-image-card
)[data-open-label]::after {
  content: attr(data-open-label);
}

:where(
  a.name-sheet-visual-link,
  a.transport-sheet-visual-link,
  a.map-image-link,
  a.open-image-card
):is(:hover, :focus-visible)::after {
  opacity: 1;
  transform: translateY(0);
}

:where(
  a.name-sheet-visual-link,
  a.transport-sheet-visual-link,
  a.map-image-link,
  a.open-image-card,
  a.transport-section-card,
  a.related-page-card,
  a.open-text-card,
  a.page-card-link,
  a.card-link
):focus-visible {
  outline: 3px solid rgba(215,20,26,.42);
  outline-offset: 4px;
}

/* ==================================================
   Side panel nested groups
   Groups subpages of subpages under compact "Open →" accordions.
   ================================================== */
.side-nested-group {
  overflow: hidden;
  border: 1px solid rgba(17, 69, 126, .12);
  border-radius: 14px;
  background: #f7f9fd;
}

.side-nested-group.active {
  border-color: rgba(215, 20, 26, .30);
  background: linear-gradient(180deg, #ffffff, #f7f9fd);
}

.side-nested-summary {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  margin: 0 !important;
  padding: 8px 10px;
  color: var(--ink) !important;
  list-style: none;
}

.side-nested-summary::-webkit-details-marker {
  display: none;
}

.side-nested-summary-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.side-nested-summary-copy strong {
  color: var(--navy);
  font-size: .92rem;
  line-height: 1.15;
}

.side-nested-summary-copy small {
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.22;
}

.side-nested-arrow {
  color: var(--red);
  font-size: .72rem;
  font-weight: 950;
  white-space: nowrap;
}

.side-nested-links {
  display: grid;
  gap: 5px;
  padding: 0 8px 9px 51px;
}

.side-nested-open,
.side-nested-link {
  display: block !important;
  grid-template-columns: 1fr !important;
  min-height: 0 !important;
  padding: 7px 9px !important;
  border-radius: 11px !important;
  background: rgba(255,255,255,.82);
  color: var(--ink) !important;
  font-size: .86rem;
  line-height: 1.18;
  text-decoration: none;
}

.side-nested-open {
  color: var(--blue) !important;
  font-weight: 900;
}

.side-nested-link {
  color: var(--muted) !important;
  font-weight: 760;
}

.side-nested-open.active,
.side-nested-link.active,
.side-nested-open:hover,
.side-nested-open:focus-visible,
.side-nested-link:hover,
.side-nested-link:focus-visible {
  background: rgba(17,69,126,.10) !important;
  color: var(--blue) !important;
  transform: none !important;
}



/* ==================================================
   Minimal side panel structure
   Keep subpage branches compact; only the current main group opens by default.
   ================================================== */
.side-group:not([open]) .side-group-links {
  display: none;
}

.side-nested-group.side-nested-minimal {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.side-nested-group.side-nested-minimal.active {
  border-color: transparent;
  background: transparent;
}

.side-nested-group.side-nested-minimal + .side-nested-group.side-nested-minimal,
.side-nested-group.side-nested-minimal + a,
.side-group-links > a + .side-nested-group.side-nested-minimal {
  margin-top: 2px;
}

.side-nested-group.side-nested-minimal .side-nested-summary {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 6px 0 !important;
  margin: 0 !important;
  color: var(--ink) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  cursor: pointer;
  list-style: none;
}

.side-nested-group.side-nested-minimal .side-nested-summary::-webkit-details-marker {
  display: none;
}

.side-nested-group.side-nested-minimal .side-nested-summary-copy {
  display: block;
  min-width: 0;
}

.side-nested-group.side-nested-minimal .side-nested-summary-copy strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 760;
  white-space: normal;
}

.side-nested-group.side-nested-minimal .side-nested-summary-copy small {
  display: none !important;
}

.side-nested-group.side-nested-minimal .side-nested-arrow {
  color: var(--red);
  font-size: .74rem;
  font-weight: 950;
  white-space: nowrap;
}

.side-nested-group.side-nested-minimal[open] .side-nested-arrow {
  color: var(--blue);
}

.side-nested-group.side-nested-minimal .side-nested-links {
  display: grid;
  gap: 2px;
  margin: 0 0 6px 17px;
  padding: 2px 0 4px 27px;
  border-left: 1px solid rgba(17, 69, 126, .14);
}

.side-nested-group.side-nested-minimal .side-nested-open,
.side-nested-group.side-nested-minimal .side-nested-link {
  display: block !important;
  min-height: 0 !important;
  padding: 5px 8px !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: var(--muted) !important;
  font-size: .9rem;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none !important;
}

.side-nested-group.side-nested-minimal .side-nested-overview {
  color: var(--blue) !important;
  font-weight: 850;
}

.side-nested-group.side-nested-minimal .side-nested-link.active,
.side-nested-group.side-nested-minimal .side-nested-link:hover,
.side-nested-group.side-nested-minimal .side-nested-link:focus-visible {
  background: rgba(17,69,126,.08) !important;
  color: var(--blue) !important;
  transform: none !important;
}


/* ==================================================
   Delicate side panel arrows
   Removes the visible "Open" label and adds a quiet arrow
   to all side-panel rows that open a page or branch.
   ================================================== */
.side-group-links > a {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.side-group-links > a::after {
  content: "›";
  display: inline-block;
  color: var(--red);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  opacity: .42;
  transform: translateX(0);
  transition: opacity .18s ease, transform .18s ease, color .18s ease;
}

.side-group-links > a.active::after,
.side-group-links > a:hover::after,
.side-group-links > a:focus-visible::after {
  opacity: .88;
  transform: translateX(2px);
}

.side-nested-group.side-nested-minimal .side-nested-summary {
  grid-template-columns: 34px minmax(0, 1fr) auto;
}

.side-nested-group.side-nested-minimal .side-nested-arrow {
  width: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--red);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  opacity: .55;
  transform: translateX(0);
  transition: opacity .18s ease, transform .18s ease, color .18s ease;
}

.side-nested-group.side-nested-minimal[open] .side-nested-arrow {
  color: var(--red);
  opacity: .88;
  transform: rotate(90deg);
}

.side-nested-group.side-nested-minimal .side-nested-summary:hover .side-nested-arrow,
.side-nested-group.side-nested-minimal .side-nested-summary:focus-visible .side-nested-arrow {
  opacity: .95;
  transform: translateX(2px);
}

.side-nested-group.side-nested-minimal[open] .side-nested-summary:hover .side-nested-arrow,
.side-nested-group.side-nested-minimal[open] .side-nested-summary:focus-visible .side-nested-arrow {
  transform: rotate(90deg) translateX(2px);
}

.side-nested-group.side-nested-minimal .side-nested-link {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.side-nested-group.side-nested-minimal .side-nested-link::after {
  content: "›";
  display: inline-block;
  color: var(--red);
  font-size: .95rem;
  font-weight: 900;
  line-height: 1;
  opacity: .32;
  transform: translateX(0);
  transition: opacity .18s ease, transform .18s ease;
}

.side-nested-group.side-nested-minimal .side-nested-link.active::after,
.side-nested-group.side-nested-minimal .side-nested-link:hover::after,
.side-nested-group.side-nested-minimal .side-nested-link:focus-visible::after {
  opacity: .78;
  transform: translateX(2px);
}


/* ==================================================
   Side panel correction: arrows only on expandable nested groups
   --------------------------------------------------
   Plain side-panel links do not show arrows.
   Only branches that open subpages show a quiet down arrow.
   ================================================== */
.side-group-links > a {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: center !important;
}

.side-group-links > a::after,
.side-nested-group.side-nested-minimal .side-nested-link::after {
  content: none !important;
  display: none !important;
}

.side-nested-group.side-nested-minimal .side-nested-summary {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: center !important;
}

.side-nested-group.side-nested-minimal .side-nested-arrow {
  width: 1.1rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--red) !important;
  font-size: .92rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  opacity: .58 !important;
  transform: none !important;
  transition: opacity .18s ease, transform .18s ease, color .18s ease !important;
}

.side-nested-group.side-nested-minimal[open] .side-nested-arrow {
  color: var(--red) !important;
  opacity: .86 !important;
  transform: rotate(180deg) !important;
}

.side-nested-group.side-nested-minimal .side-nested-summary:hover .side-nested-arrow,
.side-nested-group.side-nested-minimal .side-nested-summary:focus-visible .side-nested-arrow {
  opacity: .95 !important;
  transform: translateY(1px) !important;
}

.side-nested-group.side-nested-minimal[open] .side-nested-summary:hover .side-nested-arrow,
.side-nested-group.side-nested-minimal[open] .side-nested-summary:focus-visible .side-nested-arrow {
  transform: rotate(180deg) translateY(1px) !important;
}

.side-nested-group.side-nested-minimal .side-nested-link {
  display: block !important;
  grid-template-columns: none !important;
}

/* ==================================================
   Side panel correction: section groups also show only a quiet down arrow
   --------------------------------------------------
   - Main group headings that expand/collapse show a delicate down arrow.
   - Nested expandable branches already use the same logic.
   - Plain page links remain without arrows.
   ================================================== */
.side-group > summary {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: center !important;
  cursor: pointer !important;
  color: var(--blue) !important;
  font-weight: 950 !important;
  list-style: none !important;
  margin-bottom: 8px !important;
}

.side-group > summary::after {
  content: "⌄" !important;
  width: 1.1rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--red) !important;
  font-size: .92rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  opacity: .58 !important;
  transform: none !important;
  transition: opacity .18s ease, transform .18s ease, color .18s ease !important;
}

.side-group[open] > summary::after {
  color: var(--red) !important;
  opacity: .86 !important;
  transform: rotate(180deg) !important;
}

.side-group > summary:hover::after,
.side-group > summary:focus-visible::after {
  opacity: .95 !important;
  transform: translateY(1px) !important;
}

.side-group[open] > summary:hover::after,
.side-group[open] > summary:focus-visible::after {
  transform: rotate(180deg) translateY(1px) !important;
}

/* Keep ordinary links visually clean: no arrows on non-expandable items. */
.side-group-links > a::after,
.side-nested-group.side-nested-minimal .side-nested-link::after {
  content: none !important;
  display: none !important;
}

/* ==================================================
   Side panel title: minimalist sitemap heading
   --------------------------------------------------
   Distinguishes the side navigation from page content
   without restoring the redundant section-grid block.
   ================================================== */
.side-panel-title {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin: 0 0 14px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid rgba(17,69,126,.14) !important;
  color: var(--navy) !important;
  font-size: .78rem !important;
  font-weight: 950 !important;
  letter-spacing: .14em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

.side-panel-title::before {
  content: "" !important;
  width: 8px !important;
  height: 8px !important;
  flex: 0 0 8px !important;
  border-radius: 999px !important;
  background: #c8102e !important;
  box-shadow: 0 5px 12px rgba(10,31,68,.14) !important;
}

/* ==================================================
   Mobile menu — full page lists and nested subpage groups
   ================================================== */
@media (max-width: 1100px) {
  .mobile-menu-nested {
    display: block !important;
    width: 100% !important;
    border-radius: 14px !important;
    border: 1px solid var(--line) !important;
    background: #ffffff !important;
    overflow: hidden !important;
  }

  .mobile-menu-nested > summary {
    min-height: 52px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px !important;
    align-items: center !important;
    padding: 10px 12px !important;
    color: var(--navy) !important;
    cursor: pointer !important;
    list-style: none !important;
  }

  .mobile-menu-nested > summary::-webkit-details-marker {
    display: none !important;
  }

  .mobile-menu-nested > summary::after {
    content: "⌄" !important;
    color: var(--red) !important;
    font-size: .92rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    transition: transform .18s ease !important;
  }

  .mobile-menu-nested[open] > summary::after {
    transform: rotate(180deg) !important;
  }

  .mobile-menu-nested-copy {
    display: grid !important;
    gap: 2px !important;
    min-width: 0 !important;
  }

  .mobile-menu-nested-copy strong {
    color: var(--navy) !important;
    font-size: .94rem !important;
    line-height: 1.15 !important;
  }

  .mobile-menu-nested-copy small {
    color: var(--muted) !important;
    font-size: .76rem !important;
    line-height: 1.24 !important;
  }

  .mobile-menu-nested-links {
    display: grid !important;
    gap: 6px !important;
    padding: 0 10px 10px 20px !important;
  }

  .mobile-menu-nested-link {
    display: block !important;
    width: 100% !important;
    padding: 9px 11px !important;
    border-radius: 12px !important;
    background: #f7f9fd !important;
    color: var(--navy) !important;
    font-size: .86rem !important;
    font-weight: 850 !important;
    line-height: 1.18 !important;
    text-decoration: none !important;
  }

  .mobile-menu-nested-link:hover,
  .mobile-menu-nested-link:focus-visible,
  .mobile-menu-nested-link.active {
    background: rgba(17,69,126,.08) !important;
    color: var(--red) !important;
    outline: none !important;
  }
}



/* ==================================================
   MOBILE MENU FIX — body-level fixed overlay
   The panel is appended to <body> by components.js so Android/Chrome
   does not collapse it into a thin white line under the sticky header.
   ================================================== */
@media (max-width: 1100px) {
  body.mobile-menu-open {
    overflow: hidden !important;
  }

  body.mobile-menu-open #mobileMenuPanel.mobile-menu-panel {
    position: fixed !important;
    top: var(--mobile-menu-top, 92px) !important;
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    z-index: 9999 !important;

    display: grid !important;
    grid-template-columns: 1fr !important;
    align-content: start !important;
    gap: 10px !important;

    min-height: 0 !important;
    height: auto !important;
    max-height: calc(100dvh - var(--mobile-menu-top, 92px) - 10px) !important;
    padding: 14px !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;

    border: 1px solid rgba(10,31,68,.14) !important;
    border-radius: 24px !important;
    background: rgba(255,255,255,.985) !important;
    box-shadow: 0 24px 70px rgba(7,29,61,.24) !important;
    backdrop-filter: blur(16px) !important;
  }

  body:not(.mobile-menu-open) #mobileMenuPanel.mobile-menu-panel {
    display: none !important;
  }
}

@media (max-width: 420px) {
  body.mobile-menu-open #mobileMenuPanel.mobile-menu-panel {
    left: 8px !important;
    right: 8px !important;
    padding: 12px !important;
  }
}


/* ==================================================
   HARD RESET MOBILE MENU — button-controlled full-screen overlay
   This replaces the fragile checkbox/sibling mobile menu path.
   Keep this block at the very end of styles.css.
   ================================================== */
.mobile-menu-button,
.cz-mobile-menu-panel {
  display: none;
}

@media (max-width: 1100px) {
  #mainNav.main-nav {
    display: none !important;
  }

  #mobileMenuButton.mobile-menu-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: end !important;
    min-height: 42px !important;
    min-width: 88px !important;
    padding: .68rem 1.05rem !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--blue) !important;
    color: #ffffff !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    z-index: 2147483640 !important;
  }

  #mobileMenuButton .menu-close-text {
    display: none;
  }

  body.cz-mobile-menu-open #mobileMenuButton.mobile-menu-button {
    background: var(--red) !important;
  }

  body.cz-mobile-menu-open {
    overflow: hidden !important;
    touch-action: none !important;
  }

  body.cz-mobile-menu-open #siteHeader.site-header {
    z-index: 2147483641 !important;
  }

  #mobileMenuPanel.cz-mobile-menu-panel {
    display: none !important;
  }

  body.cz-mobile-menu-open #mobileMenuPanel.cz-mobile-menu-panel {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483639 !important;

    display: grid !important;
    grid-template-columns: 1fr !important;
    align-content: start !important;
    gap: 10px !important;

    width: 100vw !important;
    height: 100vh !important;
    height: 100svh !important;
    max-height: none !important;
    min-height: 100vh !important;
    min-height: 100svh !important;

    padding: var(--cz-mobile-menu-top, 128px) 14px 18px !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;

    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(255,255,255,.985) !important;
    box-shadow: none !important;
    backdrop-filter: blur(16px) !important;
  }

  body.cz-mobile-menu-open #mobileMenuPanel.cz-mobile-menu-panel::before {
    content: "Menu";
    display: block !important;
    margin: 0 0 4px !important;
    color: var(--blue) !important;
    font-weight: 950 !important;
    font-size: .86rem !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
  }

  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-group {
    display: block !important;
    width: 100% !important;
    border: 1px solid rgba(17,69,126,.12) !important;
    border-radius: 18px !important;
    background: #f6f8fc !important;
    overflow: hidden !important;
    box-shadow: none !important;
  }

  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-group > summary {
    min-height: 58px !important;
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) auto !important;
    gap: 10px !important;
    align-items: center !important;
    padding: 10px 12px !important;
    color: var(--navy) !important;
    cursor: pointer !important;
    list-style: none !important;
  }

  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-group > summary::-webkit-details-marker,
  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-nested > summary::-webkit-details-marker {
    display: none !important;
  }

  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-group > summary::after,
  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-nested > summary::after {
    content: "⌄" !important;
    color: var(--red) !important;
    font-size: .92rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    transition: transform .18s ease !important;
  }

  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-group[open] > summary::after,
  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-nested[open] > summary::after {
    transform: rotate(180deg) !important;
  }

  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-icon {
    width: 40px !important;
    height: 40px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    background: var(--blue) !important;
    overflow: hidden !important;
  }

  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-summary-copy,
  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-nested-copy {
    display: grid !important;
    gap: 2px !important;
    min-width: 0 !important;
  }

  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-summary-copy strong,
  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-nested-copy strong {
    color: var(--navy) !important;
    font-size: 1rem !important;
    line-height: 1.12 !important;
  }

  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-summary-copy small,
  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-nested-copy small {
    color: var(--muted) !important;
    font-size: .76rem !important;
    line-height: 1.24 !important;
  }

  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-links {
    display: grid !important;
    gap: 8px !important;
    padding: 0 10px 12px 62px !important;
  }

  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-link,
  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-nested-link {
    display: grid !important;
    gap: 3px !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    border: 1px solid var(--line) !important;
    background: #ffffff !important;
    color: var(--navy) !important;
    font-size: .92rem !important;
    font-weight: 850 !important;
    line-height: 1.18 !important;
    text-decoration: none !important;
  }

  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-link strong {
    color: var(--navy) !important;
    font-size: .94rem !important;
    line-height: 1.15 !important;
  }

  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-link span {
    display: block !important;
    color: var(--muted) !important;
    font-size: .78rem !important;
    line-height: 1.28 !important;
  }

  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-nested {
    display: block !important;
    width: 100% !important;
    border-radius: 14px !important;
    border: 1px solid var(--line) !important;
    background: #ffffff !important;
    overflow: hidden !important;
  }

  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-nested > summary {
    min-height: 50px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px !important;
    align-items: center !important;
    padding: 10px 12px !important;
    color: var(--navy) !important;
    cursor: pointer !important;
    list-style: none !important;
  }

  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-nested-links {
    display: grid !important;
    gap: 6px !important;
    padding: 0 10px 10px 18px !important;
  }

  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-link:hover,
  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-link:focus-visible,
  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-link.active,
  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-nested-link:hover,
  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-nested-link:focus-visible,
  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-nested-link.active {
    background: rgba(17,69,126,.08) !important;
    color: var(--red) !important;
    outline: none !important;
  }
}

@media (max-width: 420px) {
  body.cz-mobile-menu-open #mobileMenuPanel.cz-mobile-menu-panel {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-links {
    padding-left: 10px !important;
  }
}


/* ==================================================
   ABSOLUTE FINAL MOBILE MENU FIX — scroll + visible close label
   Must remain at the very end of styles.css.
   ================================================== */
@media (max-width: 1100px) {
  body.cz-mobile-menu-open {
    overflow: hidden !important;
    touch-action: auto !important;
  }

  #mobileMenuButton.mobile-menu-button .menu-open-text {
    display: inline !important;
  }

  #mobileMenuButton.mobile-menu-button .menu-close-text {
    display: none !important;
  }

  body.cz-mobile-menu-open #mobileMenuButton.mobile-menu-button {
    background: var(--red) !important;
    color: #ffffff !important;
  }

  body.cz-mobile-menu-open #mobileMenuButton.mobile-menu-button .menu-open-text {
    display: none !important;
  }

  body.cz-mobile-menu-open #mobileMenuButton.mobile-menu-button .menu-close-text {
    display: inline !important;
  }

  body.cz-mobile-menu-open #mobileMenuPanel.cz-mobile-menu-panel {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483639 !important;
    display: block !important;

    width: 100vw !important;
    height: 100dvh !important;
    min-height: 0 !important;
    max-height: none !important;

    padding: calc(var(--cz-mobile-menu-top, 116px) + env(safe-area-inset-top, 0px)) 10px calc(22px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    touch-action: pan-y !important;

    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(255,255,255,.992) !important;
    box-shadow: none !important;
    backdrop-filter: blur(16px) !important;
  }

  body.cz-mobile-menu-open #mobileMenuPanel.cz-mobile-menu-panel,
  body.cz-mobile-menu-open #mobileMenuPanel.cz-mobile-menu-panel * {
    max-height: none !important;
  }

  body.cz-mobile-menu-open #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-group,
  body.cz-mobile-menu-open #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-nested {
    height: auto !important;
    min-height: 0 !important;
  }

  body.cz-mobile-menu-open #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-links,
  body.cz-mobile-menu-open #mobileMenuPanel.cz-mobile-menu-panel .mobile-menu-nested-links {
    height: auto !important;
    overflow: visible !important;
  }
}


/* ==================================================
   Site-wide unification, search, sticky sitemap and credits
   Version: 20260704-footer-credits-v5
   ================================================== */

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Unify cards without forcing page-specific content rewrites. */
[class$="-card"],
[class*="-card "],
.page-content-card,
.content-box,
.side-box,
.tree-group-card,
.topic-card,
.move-card,
.source-mini-card,
.network-card,
.network-related-card,
.about-card,
.eu-card,
.myth-card,
.myths-rule-card,
.myths-material-card,
.myhths-related-card,
.myhts-related-card,
.myhs-related-card,
.myhts-material-card {
  border-radius: 24px;
  border: 1px solid var(--line);
}

.page-content-card,
.content-box,
.side-box,
.tree-group-card,
.source-mini-card,
.network-card,
.network-related-card,
.about-card,
.eu-card,
.myth-card,
.myths-rule-card,
.myths-material-card,
[class$="-mini-card"] {
  background: linear-gradient(180deg, #ffffff, #f8faff);
  box-shadow: var(--soft);
}

.page-content-card ul,
.page-content-card ol,
.content-box ul,
.content-box ol,
.side-box ul,
.side-box ol,
.article-body ul,
.article-body ol,
.text-block ul,
.text-block ol {
  margin: 14px 0 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-content-card li,
.content-box li,
.side-box li,
.article-body li,
.text-block li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
}

.page-content-card ul > li::before,
.content-box ul > li::before,
.side-box ul > li::before,
.article-body ul > li::before,
.text-block ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: .46rem;
  height: .46rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue) 0 52%, #ffffff 52% 56%, var(--red) 56% 100%);
  box-shadow: 0 0 0 3px rgba(17,69,126,.08);
}

.page-content-card ol,
.content-box ol,
.side-box ol,
.article-body ol,
.text-block ol {
  counter-reset: czechia-list;
}

.page-content-card ol > li,
.content-box ol > li,
.side-box ol > li,
.article-body ol > li,
.text-block ol > li {
  counter-increment: czechia-list;
  padding-left: 2.05rem;
}

.page-content-card ol > li::before,
.content-box ol > li::before,
.side-box ol > li::before,
.article-body ol > li::before,
.text-block ol > li::before {
  content: counter(czechia-list);
  position: absolute;
  left: 0;
  top: .05rem;
  width: 1.38rem;
  height: 1.38rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  font-size: .72rem;
  font-weight: 950;
}

/* Search */
.site-search {
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  align-items: center;
  gap: 6px;
}

.header-search {
  justify-self: end;
  width: clamp(190px, 18vw, 280px);
}

.site-search input {
  width: 100%;
  min-height: 42px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(17,69,126,.18);
  background: #ffffff;
  color: var(--navy);
  font: inherit;
  font-size: .9rem;
  font-weight: 760;
  outline: none;
}

.site-search input:focus {
  border-color: rgba(215,20,26,.48);
  box-shadow: 0 0 0 4px rgba(215,20,26,.08);
}

.site-search button {
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  font: inherit;
  font-size: .78rem;
  font-weight: 950;
}

.site-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 2100;
  display: grid;
  gap: 6px;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.98);
  box-shadow: 0 22px 54px rgba(10,31,68,.20);
  backdrop-filter: blur(14px);
}

.side-search {
  margin-bottom: 14px;
}

.side-search .site-search-results {
  position: static;
  margin-top: 8px;
  max-height: 330px;
  overflow: auto;
}

.site-search-result {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 13px;
  color: var(--navy);
  text-decoration: none !important;
}

.site-search-result:hover,
.site-search-result:focus-visible {
  background: rgba(17,69,126,.08);
}

.site-search-result strong {
  color: var(--navy);
  font-size: .9rem;
  line-height: 1.16;
}

.site-search-result span,
.site-search-empty {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.28;
}

.site-search-empty {
  padding: 10px 12px;
}

/* Sticky sidebar: visible beside the page, viewport-bounded, footer-safe. */
#sidePanel,
.side-panel {
  position: sticky !important;
  top: 96px !important;
  align-self: start !important;
  max-height: calc(100svh - 116px) !important;
  overflow: auto !important;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding-bottom: 2px;
}

#sidePanel::-webkit-scrollbar,
.side-panel::-webkit-scrollbar {
  width: 8px;
}

#sidePanel::-webkit-scrollbar-thumb,
.side-panel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(17,69,126,.28);
}

.side-panel-block {
  max-height: none !important;
}

/* Footer partner + people credits */
.footer-partner-card,
.footer-social-column .footer-partner-card {
  width: 100% !important;
  max-width: 320px !important;
  min-height: 82px;
  position: relative;
  display: grid !important;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 38px 10px 12px !important;
  border-radius: 17px !important;
  background: rgba(255,255,255,.075) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  text-align: left;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.footer-partner-card:hover,
.footer-partner-card:focus-visible {
  transform: translateY(-2px);
  background: rgba(255,255,255,.11) !important;
  border-color: rgba(255,255,255,.30) !important;
}

.go-czechia-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #11457e 0 52%, #ffffff 52% 56%, #d7141a 56% 100%);
  color: #ffffff;
  font-weight: 950;
  font-size: .95rem;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  text-shadow: 0 1px 2px rgba(0,0,0,.38);
}

.footer-people {
  margin-top: 14px;
  color: rgba(255,255,255,.74);
}

.footer-people summary {
  width: fit-content;
  color: #ffffff;
  font-weight: 950;
  cursor: pointer;
  list-style: none;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 5px;
}

.footer-people summary::-webkit-details-marker {
  display: none;
}

.footer-people summary::after {
  content: " +";
  color: var(--red);
}

.footer-people[open] summary::after {
  content: " –";
}

.footer-people-block {
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}

.footer-people-block strong {
  display: block;
  color: #ffffff;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.footer-people-block p {
  margin: 6px 0 0 !important;
  color: rgba(255,255,255,.70) !important;
  font-size: .84rem !important;
  line-height: 1.46 !important;
}

.footer-people-grid {
  display: grid;
  gap: 10px;
}

@media (max-width: 1180px) {
  .header-search {
    width: min(100%, 250px);
  }
}

@media (max-width: 1100px) {
  .header-search {
    display: none;
  }

  #sidePanel,
  .side-panel {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
  }
}


/* ==================================================
   Corrections: no header search, no internal sitemap scrollbars, no footer people clutter
   Version: 20260704-footer-credits-v5
   ================================================== */

.header-search {
  display: none !important;
}

.site-search-results[hidden] {
  display: none !important;
}

.side-search {
  grid-template-columns: 1fr;
  margin: 0 0 16px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
}

.side-search input {
  min-height: 38px;
  padding-inline: 14px;
  box-shadow: none;
}

.side-search button.sr-only {
  position: absolute !important;
}

#sidePanel,
.side-panel {
  position: sticky !important;
  top: 96px !important;
  align-self: start !important;
  max-height: none !important;
  overflow: visible !important;
  scrollbar-width: auto !important;
}

#sidePanel::-webkit-scrollbar,
.side-panel::-webkit-scrollbar {
  width: initial !important;
}

.side-panel-block {
  max-height: none !important;
  overflow: visible !important;
}

.footer-partner-card,
.go-czechia-card,
.footer-people,
.footer-partner-inline {
  margin-top: 10px !important;
  color: rgba(255,255,255,.72) !important;
  font-size: .9rem !important;
  line-height: 1.45 !important;
}

.footer-partner-inline a {
  color: #ffffff !important;
  font-weight: 900 !important;
  text-decoration-line: underline !important;
  text-decoration-color: var(--red) !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 5px !important;
}


/* ==================================================
   Footer/search correction pass
   Version: 20260704-footer-credits-v5
   ================================================== */

.side-search {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  margin: 0 0 18px !important;
  padding: 0 0 16px !important;
  border-bottom: 1px solid var(--line) !important;
}

.side-search-title {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: var(--navy) !important;
  font-size: .78rem !important;
  line-height: 1.1 !important;
  font-weight: 950 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.side-search-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 7px !important;
  align-items: center !important;
}

.side-search input {
  min-height: 42px !important;
  padding-inline: 14px !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

.side-search button {
  min-height: 42px !important;
  padding: 0 12px !important;
  border-radius: 16px !important;
  white-space: nowrap !important;
}

.side-search .site-search-results {
  display: none !important;
}

#sidePanel,
.side-panel {
  position: sticky !important;
  top: 96px !important;
  align-self: start !important;
  max-height: none !important;
  overflow: visible !important;
  scrollbar-width: auto !important;
}

#sidePanel::-webkit-scrollbar,
.side-panel::-webkit-scrollbar {
  width: initial !important;
}

.side-panel-block {
  max-height: none !important;
  overflow: visible !important;
}

.footer-partner-inline,
.footer-people,
.footer-legal-partner-row {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 16px 22px !important;
  align-items: center !important;
  margin-top: 18px !important;
}

.footer-legal-partner-row .footer-legal-row {
  grid-column: auto !important;
  margin-top: 0 !important;
}

.footer-go-czechia-aside {
  justify-self: end !important;
  display: inline-grid !important;
  grid-template-columns: 38px auto !important;
  gap: 10px !important;
  align-items: center !important;
  max-width: 230px !important;
  padding: 8px 12px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  background: rgba(255,255,255,.065) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.footer-go-czechia-aside .go-czechia-mark {
  width: 38px !important;
  height: 38px !important;
  border-radius: 11px !important;
  font-size: .84rem !important;
}

.footer-go-czechia-aside small {
  display: block !important;
  color: rgba(255,255,255,.58) !important;
  font-size: .68rem !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.footer-go-czechia-aside strong {
  display: block !important;
  margin-top: 3px !important;
  color: #ffffff !important;
  font-size: .9rem !important;
  line-height: 1.1 !important;
  font-weight: 950 !important;
}

.footer-go-czechia-aside:hover,
.footer-go-czechia-aside:focus-visible {
  background: rgba(255,255,255,.11) !important;
  border-color: rgba(255,255,255,.30) !important;
}

.search-page-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}

.search-page-form input {
  min-height: 48px;
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 0 15px;
  font: inherit;
  font-weight: 780;
  color: var(--navy);
}

.search-page-form button {
  min-height: 48px;
  border: 0;
  border-radius: 18px;
  padding: 0 18px;
  background: var(--blue);
  color: #ffffff;
  font: inherit;
  font-weight: 950;
}

.search-page-results {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.search-page-result {
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: inherit;
  text-decoration: none !important;
}

.search-page-result strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.search-page-result span {
  color: var(--muted);
  line-height: 1.45;
}

.search-page-result:hover,
.search-page-result:focus-visible {
  border-color: rgba(215,20,26,.38);
  outline: none;
}

.search-page-empty {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px dashed var(--line);
  color: var(--muted);
  background: rgba(255,255,255,.75);
}

@media (max-width: 760px) {
  .side-search-row,
  .search-page-form,
  .footer-legal-partner-row {
    grid-template-columns: 1fr !important;
  }

  .footer-go-czechia-aside {
    justify-self: start !important;
  }
}


/* ==================================================
   Footer credit correction — no accordion, no repeated people-heading
   Version: 20260704-footer-credits-v5
   ================================================== */

.footer-people-visible {
  display: grid !important;
  gap: 10px !important;
  margin-top: 14px !important;
}

.footer-people-visible .footer-people-block {
  margin-top: 0 !important;
}

.footer-contact .footer-people {
  display: none !important;
}

/* Search page — stronger visual hierarchy */

.search-hero-panel {
  margin: 1.4rem 0 1.2rem;
  padding: 1.35rem;
  border: 1px solid rgba(7, 29, 61, 0.14);
  border-left: 5px solid #d0102a;
  border-radius: 1.35rem;
  background:
    linear-gradient(135deg, rgba(7, 29, 61, 0.055), rgba(255, 255, 255, 0.96));
  box-shadow: 0 18px 38px rgba(7, 29, 61, 0.08);
}

.search-tip {
  margin: 0 0 1rem;
  color: #50627f;
  font-size: 1rem;
}

.search-tip strong {
  color: #071d3d;
}

.search-page-form-strong {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  margin: 0;
}

.search-page-form-strong input {
  min-height: 3.65rem;
  padding: 0 1.25rem;
  border: 1px solid rgba(7, 29, 61, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: #071d3d;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.search-page-form-strong input::placeholder {
  color: rgba(7, 29, 61, 0.45);
  font-weight: 700;
}

.search-page-form-strong button {
  min-height: 3.65rem;
  padding: 0 1.55rem;
  border: 0;
  border-radius: 999px;
  background: #0b4a86;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(11, 74, 134, 0.22);
}

.search-page-form-strong button:hover {
  background: #071d3d;
}

.search-page-status {
  margin: 1.2rem 0 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 1rem;
  background: rgba(7, 29, 61, 0.06);
  border: 1px dashed rgba(7, 29, 61, 0.18);
  color: #50627f;
  font-weight: 600;
}

.search-page-results-strong {
  display: grid;
  gap: 0.85rem;
}

.search-page-result {
  display: block;
  padding: 1.05rem 1.15rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(7, 29, 61, 0.13);
  background: #ffffff;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(7, 29, 61, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.search-page-result:hover {
  transform: translateY(-2px);
  border-color: rgba(208, 16, 42, 0.38);
  box-shadow: 0 16px 32px rgba(7, 29, 61, 0.1);
}

.search-page-result strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #071d3d;
  font-size: 1.06rem;
}

.search-page-result span {
  display: block;
  color: #5a6d8b;
  line-height: 1.45;
}

.search-page-result::after {
  content: "open";
  display: inline-block;
  margin-top: 0.7rem;
  color: #d0102a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .search-page-form-strong {
    grid-template-columns: 1fr;
  }

  .search-page-form-strong button {
    width: 100%;
  }
}

/* ==========================================================
   Responsive fix: hide sidebar sitemap when mobile menu is active
   ========================================================== */

@media (max-width: 1100px) {
  #sidePanel,
  .side-panel,
  aside.side-panel,
  .content-shell > #sidePanel,
  .content-shell > .side-panel {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .content-shell {
    display: block !important;
    grid-template-columns: 1fr !important;
  }

  .content-main,
  .page-inner-grid,
  .transport-page,
  .rail-page,
  .road-page,
  .airport-page,
  .regional-page,
  .access-page {
    width: 100% !important;
    max-width: 100% !important;
  }
}