
/* NAVIGACE & OBSAH (SEZNAM STRÁNEK) */

.top-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--brand-teal);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nav-brand {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.nav-desktop-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: #38bdf8;
}

/* HAMBURGER TLAČÍTKO PRO MOBIL */
.nav-hamburger {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 38px;
  box-sizing: border-box;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-hamburger:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* MOBILNÍ OFF-CANVAS DRAWER MENU */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background-color: #0f172a;
  color: #ffffff;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.25rem;
  box-shadow: -6px 0 24px rgba(0, 0, 0, 0.4);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  box-sizing: border-box;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.25rem;
}

.mobile-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
}

.mobile-nav-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: color 0.2s, background-color 0.2s;
}

.mobile-nav-close:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  transition: background-color 0.2s, color 0.2s;
}

.mobile-nav-links a:hover, .mobile-nav-links a:focus {
  background-color: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-footer .btn-download {
  width: 100%;
  justify-content: center;
}

@media (max-width: 860px) {
  .top-navbar {
    padding: 0.6rem 1rem;
  }
  .nav-desktop-actions {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
}

.toc-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid var(--slate-border);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.toc-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-intro {
  font-size: 0.92rem;
  color: var(--slate-muted);
  margin-bottom: 1.25rem;
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.toc-module-box {
  background-color: #ffffff;
  border: 1px solid var(--slate-border);
  border-radius: 8px;
  padding: 1.1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.toc-module-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
  border-color: var(--brand-teal);
}

.toc-module-header {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toc-module-num {
  display: inline-block;
  background-color: var(--brand-sky-light);
  color: var(--brand-sky);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 0.45rem;
}

.toc-list a {
  color: #334155;
  text-decoration: none;
  font-size: 0.88rem;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  transition: color 0.15s ease;
}

.toc-list a:hover {
  color: var(--brand-teal);
  text-decoration: underline;
}

.toc-dot {
  color: var(--brand-teal);
  font-weight: bold;
}

.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: var(--brand-navy);
  color: #ffffff;
  padding: 0.6rem 1rem;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 99;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.back-to-top:hover {
  background-color: var(--brand-teal);
  transform: translateY(-2px);
}

/* Skripta jógy: Responzivní CSS stylopis pro HTML export */

:root {
  --brand-navy: #0f172a;
  --brand-teal: #0d9488;
  --brand-teal-light: #ccfbf1;
  --brand-teal-dark: #0f766e;
  --brand-sky: #0284c7;
  --brand-sky-light: #e0f2fe;
  --brand-coral: #e11d48;
  --brand-coral-light: #fff1f2;
  --brand-coral-dark: #be123c;
  --brand-amber: #d97706;
  --brand-amber-light: #fffbeb;
  --brand-amber-dark: #b45309;
  --slate-text: #1e293b;
  --slate-muted: #64748b;
  --slate-light: #f8fafc;
  --slate-border: #e2e8f0;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--slate-text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.document-container {
  max-width: 940px;
  margin: 2rem auto;
  padding: 2.5rem 2rem;
  background-color: var(--bg-card);
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  border: 1px solid var(--slate-border);
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
    background-color: var(--bg-card);
  }
  .document-container {
    margin: 0;
    padding: 1.25rem 1rem;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }
}

/* TYPOGRAFIE & ZÁHLAVÍ */

.doc-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--slate-border);
}

.doc-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.doc-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brand-teal);
  margin-bottom: 0.25rem;
}

.doc-meta {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-sky);
}

.doc-divider {
  width: 120px;
  height: 3px;
  background-color: var(--brand-teal);
  margin: 1rem auto 0 auto;
  border-radius: 2px;
}

h1.section-title {
  display: inline-block;
  background-color: var(--brand-navy);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  margin: 2rem 0 1rem 0;
}

h2.sub-title {
  color: var(--brand-teal);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem 0;
  border-bottom: 2px solid var(--brand-teal);
  padding-bottom: 0.25rem;
  display: inline-block;
}

p {
  margin-bottom: 1rem;
}

/* CALLOUT BOXY */

.callout {
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  background-color: #f0f9ff;
  border-left: 4.5px solid var(--brand-sky);
  border-top: 1px solid var(--slate-border);
  border-right: 1px solid var(--slate-border);
  border-bottom: 1px solid var(--slate-border);
}

.callout-anatomy {
  border-left-color: var(--brand-teal);
  background-color: #f0fdfa;
}

.callout-warning {
  border-left-color: var(--brand-coral);
  background-color: #fff1f2;
}

.callout-breath {
  border-left-color: var(--brand-amber);
  background-color: #fffbeb;
}

.callout-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.callout-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.callout-anatomy .callout-badge { color: var(--brand-teal-dark); }
.callout-warning .callout-badge { color: var(--brand-coral-dark); }
.callout-breath .callout-badge { color: var(--brand-amber-dark); }
.callout-note .callout-badge { color: var(--brand-sky); }

.callout-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.callout-body {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.55;
}

/* SROVNÁVACÍ GRID PŘEDMĚTŮ */

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1rem 0;
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.comp-box {
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid var(--slate-border);
}

.comp-beginner {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

.comp-power {
  background-color: #f0fdfa;
  border-color: #99f6e4;
}

.comp-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.comp-beginner .comp-badge {
  background-color: #e2e8f0;
  color: var(--brand-navy);
}

.comp-power .comp-badge {
  background-color: #ccfbf1;
  color: var(--brand-teal-dark);
}

.comp-text {
  font-size: 0.88rem;
  line-height: 1.5;
}

.comp-beginner .comp-text { color: #334155; }
.comp-power .comp-text { color: #134e4a; }

/* RESPONZIVNÍ TABULKA */

.table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 8px;
  border: 1px solid var(--slate-border);
}

table.doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

table.doc-table th {
  background-color: var(--brand-navy);
  color: #ffffff;
  font-weight: 700;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--slate-border);
}

table.doc-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--slate-border);
  vertical-align: top;
}

table.doc-table tr:nth-child(even) td {
  background-color: #f8fafc;
}

table.doc-table tr:hover td {
  background-color: #f1f5f9;
}

/* KARTA ÁSANY */

.asana-card {
  background-color: #ffffff;
  border: 1.5px solid var(--slate-border);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: 0 4px 15px -3px rgba(15, 23, 42, 0.05);
}

.asana-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--slate-border);
  margin-bottom: 1rem;
}

.asana-title-group {
  flex: 1;
  min-width: 250px;
}

.asana-sanskrit {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-right: 0.5rem;
}

.asana-czech {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand-teal);
}

.asana-etymology {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--slate-muted);
  margin-top: 0.2rem;
}

.asana-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  display: inline-block;
}

.badge-category {
  background-color: var(--brand-navy);
  color: #ffffff;
}

.badge-difficulty {
  background-color: var(--brand-sky-light);
  color: var(--brand-sky);
}

/* OBRÁZEK ÁSANY */

.asana-image-container {
  position: relative;
  background-color: #fafbfc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.asana-image {
  max-width: 100%;
  width: auto;
  height: auto;
  min-height: 280px;
  max-height: 480px;
  display: inline-block;
  object-fit: contain;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  border-radius: 6px;
}

/* PŘEKRYVNÁ ČAKROVÁ LIŠTA V PRAVO DOLE PŘES OBRÁZEK */
.chakra-overlay {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
  padding: 4px 8px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(6px);
  z-index: 5;
}

.chakra-overlay .chakra-symbol-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease;
  object-fit: contain;
}

.chakra-overlay .chakra-symbol-icon:hover {
  transform: scale(1.22);
}

/* ROZPAD ANATOMIE & ZAROVNÁNÍ */

.asana-details-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
  .asana-details-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.details-column h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.col-alignment h3 { color: var(--brand-teal); }
.col-anatomy h3 { color: var(--brand-sky); }
.col-breath h3 { color: var(--brand-amber); margin-top: 1rem; }

.alignment-list {
  padding-left: 1.2rem;
  font-size: 0.88rem;
  color: #334155;
}

.alignment-list li {
  margin-bottom: 0.4rem;
}

.anatomy-meta {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.55;
}

.anatomy-meta strong {
  color: var(--brand-navy);
}

/* VAROVÁNÍ NA KARTĚ */

.asana-warning-box {
  background-color: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #9f1239;
  line-height: 1.5;
}

.asana-warning-box strong {
  color: var(--brand-coral-dark);
}

/* ==========================================================================
   NOVÉ KOMPONENTY DLE SPECIFIKACE UŽIVATELE (2,100 ASANAS & CENTROVANÝ OBSAH)
   ========================================================================== */

/* Horní lišta s tlačítkem pro offline stažení */
.top-actions-bar {
  display: flex;
  justify-content: flex-end;
  padding: 0.75rem 0;
  margin-bottom: 1rem;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--brand-teal);
  color: #ffffff;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(13, 148, 136, 0.25);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn-download:hover {
  background-color: #0f766e;
  transform: translateY(-1px);
}

/* Klasický knižní vycentrovaný obsah (Centered Book TOC) */
.book-toc {
  max-width: 760px;
  margin: 1.5rem auto 3rem auto;
  text-align: center;
  padding: 2.25rem 2rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid var(--slate-border);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.book-toc-title {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-navy);
  margin-bottom: 0.4rem;
}

.book-toc-divider {
  width: 60px;
  height: 2.5px;
  background: var(--brand-teal);
  margin: 0.4rem auto 1.75rem auto;
  border-radius: 2px;
}

.book-toc-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.book-toc-module {
  padding-bottom: 0.8rem;
  border-bottom: 1px dashed #e2e8f0;
}

.book-toc-module:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.book-toc-module-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.35rem;
}

.book-toc-subsections {
  font-size: 0.88rem;
  color: var(--slate-muted);
  line-height: 1.5;
}

/* Asana Card Header dle nové specifikace */
.asana-czech-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0 0 0.15rem 0;
  line-height: 1.25;
}

.asana-sanskrit-sub {
  display: block;
  font-size: 1.12rem;
  font-weight: 600;
  font-style: italic;
  font-family: 'Noto Serif', Georgia, serif;
  color: var(--brand-teal);
  margin: 0.15rem 0 0.35rem 0;
}

.asana-etymology-box {
  font-size: 0.85rem;
  color: var(--slate-muted);
  margin-top: 0.15rem;
}

.asana-badges-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

/* 5 úrovní náročnosti (barevně odlišené) */
.badge-diff-zač, .badge-diff-zac, .badge-diff-beg, .badge-diff-1 {
  background-color: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}

.badge-diff-mír, .badge-diff-mir, .badge-diff-2 {
  background-color: #ccfbf1;
  color: #0f766e;
  border: 1px solid #5eead4;
}

.badge-diff-stř, .badge-diff-str, .badge-diff-int, .badge-diff-3 {
  background-color: #e0f2fe;
  color: #0369a1;
  border: 1px solid #7dd3fc;
}

.badge-diff-pok, .badge-diff-adv, .badge-diff-4 {
  background-color: #fef3c7;
  color: #b45309;
  border: 1px solid #fde047;
}

.badge-diff-mis, .badge-diff-exp, .badge-diff-5 {
  background-color: #ffe4e6;
  color: #be123c;
  border: 1px solid #fda4af;
}

/* Čakrová lišta pod obrázkem */
.chakra-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background-color: #f8fafc;
  border-top: 1px solid var(--slate-border);
  border-bottom: 1px solid var(--slate-border);
  margin: 0.75rem 0 1.25rem 0;
}

.chakra-bar-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-right: 0.25rem;
}

.chakra-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  border-width: 1px;
  border-style: solid;
}

.chakra-inline-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

/* Odrážky s anatomickými SVG ikonami */
.alignment-section {
  flex: 1.15;
}

.section-subtitle {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-teal);
  margin-bottom: 0.6rem;
}

.alignment-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  line-height: 1.45;
}

.body-part-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.alignment-row-text {
  font-size: 0.88rem;
  color: var(--slate-dark);
}

.anatomy-cz-section {
  flex: 0.85;
}

.anatomy-cz-grid {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--slate-dark);
}

.warning-box {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background-color: #fff1f2;
  border-left: 4px solid var(--brand-coral);
  border-top: 1px solid #fecdd3;
  border-right: 1px solid #fecdd3;
  border-bottom: 1px solid #fecdd3;
  border-radius: 6px;
  padding: 0.6rem 0.85rem;
  margin-top: 1rem;
}

.warning-icon,
.alert-icon {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  max-width: 15px !important;
  flex-shrink: 0;
  margin-top: 3px;
  object-fit: contain;
}

.warning-text {
  font-size: 0.84rem;
  color: #9f1239;
  line-height: 1.45;
  flex: 1;
}

/* ==========================================================================
   MODULOVÝ DESIGN PRO CALLOUTY (BEZ NÁZVŮ, IKONA VLEVO) & ČAKRY POUZE JAKO IKONY
   ========================================================================== */

/* Moduly se symbolem vlevo uvnitř okrajové čáry */
.module-box {
  display: flex;
  align-items: stretch;
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid var(--slate-border);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.module-icon-stripe {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  flex-shrink: 0;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.module-icon-stripe img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.module-content {
  padding: 0.85rem 1.15rem;
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--slate-dark);
}

/* Biomechanika (modrozelená) */
.module-anatomy {
  border-left: 5px solid var(--brand-teal);
}
.module-anatomy .module-icon-stripe {
  background-color: #f0fdfa;
}

/* Bezpečnostní riziko (červená) */
.module-warning {
  border-left: 5px solid var(--brand-coral);
}
.module-warning .module-icon-stripe {
  background-color: #fff1f2;
}

/* Dech & energetika (jantarová) */
.module-breath {
  border-left: 5px solid var(--brand-amber);
}
.module-breath .module-icon-stripe {
  background-color: #fffbeb;
}

/* Filozofie (indigová) */
.module-philosophy {
  border-left: 5px solid #4f46e5;
}
.module-philosophy .module-icon-stripe {
  background-color: #eef2ff;
}

/* Historie & prameny (jantarově hnědá) */
.module-history {
  border-left: 5px solid #92400e;
}
.module-history .module-icon-stripe {
  background-color: #fefce8;
}

/* Anatomické zarovnání (teal) */
.module-alignment {
  border-left: 5px solid var(--brand-teal);
}
.module-alignment .module-icon-stripe {
  background-color: #f0fdfa;
}

/* Teoretická část - design komponent */
.theory-catalog-section {
  margin-top: 3.5rem;
}

.theory-chapter-block {
  margin-bottom: 3rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--slate-border);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.theory-chapter-header {
  background: #f8fafc;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--slate-border);
}

.theory-chapter-badge {
  display: inline-block;
  background: var(--brand-navy);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.theory-chapter-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 0.35rem;
}

.theory-chapter-sub {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-teal);
  margin-bottom: 0.6rem;
}

.theory-chapter-desc {
  font-size: 0.92rem;
  color: var(--slate-dark);
  line-height: 1.55;
  margin-bottom: 0.6rem;
}

.theory-chapter-sources {
  font-size: 0.8rem;
  color: var(--slate-muted);
  background: #ffffff;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  border: 1px solid var(--slate-border);
}

.theory-subchapters-list {
  padding: 1.5rem 1.75rem;
}

.theory-subchapter-item {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px dashed var(--slate-border);
}

.theory-subchapter-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.theory-subchapter-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.theory-perex-box {
  background-color: #f1f5f9;
  border-left: 4px solid var(--brand-teal);
  padding: 0.85rem 1.15rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.94rem;
  font-style: italic;
  color: #1e293b;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.theory-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 1.25rem 0 0.5rem 0;
}

.theory-paragraph {
  font-size: 0.92rem;
  color: var(--slate-dark);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.theory-bullets {
  margin: 0 0 0.9rem 0;
  padding-left: 1.3rem;
  font-size: 0.92rem;
  color: var(--slate-dark);
  line-height: 1.55;
}

.theory-bullets li {
  margin-bottom: 0.35rem;
}

.theory-bullets li::marker {
  color: var(--brand-teal);
}

.theory-bullets strong {
  color: var(--brand-navy);
  font-weight: 700;
}

.theory-terms-box {
  margin-top: 1.25rem;
  background: #fafafa;
  border: 1px solid var(--slate-border);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
}

.theory-terms-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brand-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.theory-terms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.theory-terms-table tr:nth-child(even) {
  background: #f8fafc;
}

.theory-terms-table td {
  padding: 0.45rem 0.65rem;
  border-bottom: 1px solid #edf2f7;
  vertical-align: top;
}

.theory-term-name {
  font-weight: 700;
  color: var(--brand-teal);
  white-space: nowrap;
}

.theory-term-def {
  color: var(--slate-dark);
}

.toc-theory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.toc-theory-anchor {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  background: #ffffff;
  border: 1px solid var(--slate-border);
  border-radius: 6px;
  text-decoration: none;
  color: var(--slate-dark);
  font-size: 0.84rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.toc-theory-anchor:hover {
  border-color: var(--brand-teal);
  background: #f0fdfa;
  color: var(--brand-teal-dark);
  transform: translateX(2px);
}

.toc-theory-num {
  font-weight: 800;
  color: var(--brand-teal);
  min-width: 34px;
}

/* Čakry POUZE JAKO IKONY (bez textu, větší, lépe viditelné) */
.chakra-icons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1px solid var(--slate-border);
  border-bottom: 1px solid var(--slate-border);
  margin: 0.65rem 0 1.25rem 0;
}

.chakra-symbol-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  object-fit: contain;
}

.chakra-symbol-icon:hover {
  transform: scale(1.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* VYHLEDÁVÁNÍ A INTERAKTIVNÍ FILTRACE */
.filter-search-container {
  background: #ffffff;
  border: 1.5px solid var(--slate-border);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.search-input-group {
  position: relative;
  margin-bottom: 1.25rem;
}

.search-input-group .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-muted);
  font-size: 1.15rem;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.85rem 2.8rem 0.85rem 2.8rem;
  font-size: 1rem;
  border: 1.5px solid var(--slate-border);
  border-radius: 8px;
  background-color: #f8fafc;
  color: var(--slate-dark);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.search-input:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.search-clear-btn {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.25rem;
  display: none;
}

.search-clear-btn:hover {
  color: #475569;
}

.filter-row {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.filter-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--slate-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 110px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.filter-chip {
  background: #f1f5f9;
  border: 1px solid var(--slate-border);
  color: var(--slate-dark);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  user-select: none;
}

.filter-chip:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

.filter-chip.active {
  background: var(--brand-teal);
  color: #ffffff;
  border-color: var(--brand-teal);
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.25);
}

.filter-chip-chakra {
  padding: 0.25rem 0.6rem;
}

.filter-chip-chakra img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.filter-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-border);
  font-size: 0.88rem;
  color: var(--slate-muted);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-count-highlight {
  font-weight: 700;
  color: var(--brand-navy);
}

.btn-reset-filters {
  background: none;
  border: 1px solid var(--slate-border);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-reset-filters:hover {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fca5a5;
}

.no-results-message {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #f8fafc;
  border: 1.5px dashed var(--slate-border);
  border-radius: 12px;
  margin: 2rem 0;
  display: none;
}

.no-results-message h3 {
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
}

.no-results-message p {
  color: var(--slate-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* KARTA ASANY SKRYTÁ FILTREM */
.asana-card.hidden {
  display: none !important;
}

.module-section.all-hidden {
  display: none !important;
}

/* METODIKA: DEFINICE 5 ÚROVNÍ A 7 ČAKER */
.legend-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 2rem 0 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem 0;
}

.legend-tier-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.15rem;
  border: 1px solid var(--slate-border);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
}

.legend-tier-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.legend-tier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.legend-tier-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--brand-navy);
}

.legend-tier-desc {
  font-size: 0.83rem;
  line-height: 1.48;
  color: var(--slate-dark);
}

.legend-chakras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem 0;
}

.chakra-card {
  background: #ffffff;
  border: 1px solid var(--slate-border);
  border-radius: 10px;
  padding: 1rem 1.15rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.chakra-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.07);
}

.chakra-card-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.chakra-card-info {
  display: flex;
  flex-direction: column;
}

.chakra-card-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.chakra-card-sub {
  font-size: 0.82rem;
  color: var(--brand-teal);
  font-style: italic;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.chakra-card-desc {
  font-size: 0.82rem;
  line-height: 1.42;
  color: var(--slate-dark);
}

/* --- SEZNAMOVÉ ZOBRAZENÍ (LIST MÍSTO GRID) PRO NÁROČNOST A ČAKRY --- */
.legend-list-5 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0 2rem 0;
}

.legend-tier-list-item {
  background: #ffffff;
  border-radius: 8px;
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--slate-border);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.legend-tier-list-item:hover {
  transform: translateX(4px);
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.06);
}

.legend-tier-list-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 250px;
  flex-shrink: 0;
}

.legend-chakras-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0 2rem 0;
}

.chakra-list-item {
  background: #ffffff;
  border: 1px solid var(--slate-border);
  border-radius: 8px;
  padding: 0.9rem 1.25rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.chakra-list-item:hover {
  transform: translateX(4px);
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.06);
}

.chakra-list-header {
  display: flex;
  flex-direction: column;
  min-width: 270px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .legend-tier-list-item,
  .chakra-list-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
  }
  .legend-tier-list-header,
  .chakra-list-header {
    min-width: 100%;
  }
}

/* ========================================================
   3-ÚROVŇOVÝ INTERAKTIVNÍ OBSAH A PODKAPITOLOVÉ PRVKY
   ======================================================== */
.book-toc {
  max-width: 1100px;
  margin: 1.5rem auto 3.5rem auto;
  text-align: left;
  padding: 2.25rem 2rem;
  background: #ffffff;
  border: 1.5px solid var(--slate-border);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.book-toc-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.book-toc-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-navy);
  margin-bottom: 0.35rem;
}

.book-toc-divider {
  width: 70px;
  height: 3px;
  background: var(--brand-teal);
  margin: 0.35rem auto 0.9rem auto;
  border-radius: 2px;
}

.book-toc-subtitle {
  font-size: 0.92rem;
  color: var(--slate-muted);
}

.book-toc-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--slate-border);
}

.book-toc-search-wrap {
  flex: 1;
  min-width: 260px;
}

.book-toc-search-input {
  width: 100%;
  padding: 0.6rem 1rem;
  border: 1px solid var(--slate-border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  background: #f8fafc;
}

.book-toc-search-input:focus {
  border-color: var(--brand-teal);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.book-toc-btn-group {
  display: flex;
  gap: 0.5rem;
}

.book-toc-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: var(--slate-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.book-toc-btn:hover {
  background: var(--brand-teal);
  color: white;
  border-color: var(--brand-teal);
}

/* Úroveň 1: Kapitola */
.toc-chapter-item {
  margin-bottom: 1rem;
  border: 1px solid var(--slate-border);
  border-radius: 10px;
  background: #f8fafc;
  overflow: hidden;
  transition: border-color 0.2s;
}

.toc-chapter-item:hover {
  border-color: #94a3b8;
}

.toc-chapter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.2rem;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-navy);
  background: #f1f5f9;
  border-bottom: 1px solid transparent;
  transition: background 0.2s;
}

.toc-chapter-summary:hover {
  background: #e2e8f0;
}

.toc-chapter-item[open] .toc-chapter-summary {
  border-bottom-color: var(--slate-border);
  background: #e2e8f0;
}

.toc-chapter-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
}

.toc-chapter-badge {
  background: #0f172a;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 10px;
}

.toc-chapter-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.toc-jump-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-teal);
  background: white;
  border: 1px solid #cbd5e1;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.15s;
}

.toc-jump-link:hover {
  background: var(--brand-teal);
  color: white;
  border-color: var(--brand-teal);
}

.toc-chapter-body {
  padding: 0.8rem 1rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Úroveň 2: Podkapitola */
.toc-subchapter-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fbfcfe;
  overflow: hidden;
}

.toc-subchapter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.85rem;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: #0f766e;
  background: #f8fafc;
  transition: background 0.15s;
}

.toc-subchapter-summary:hover {
  background: #f0fdf4;
}

.toc-subchapter-item[open] .toc-subchapter-summary {
  border-bottom: 1px solid #e2e8f0;
  background: #f0fdf4;
}

.toc-subchapter-badge {
  background: #ccfbf1;
  color: #0f766e;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 8px;
  margin-left: 0.4rem;
}

/* Úroveň 3: Konkrétní ásany */
.toc-asanas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.35rem 0.65rem;
  padding: 0.75rem 0.9rem;
  background: white;
}

.toc-asana-anchor {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--slate-dark);
  font-size: 0.84rem;
  padding: 0.35rem 0.5rem;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
}

.toc-asana-anchor:hover {
  background: #f0fdfa;
  color: #0f766e;
}

.toc-asana-idx {
  font-weight: 700;
  color: var(--brand-navy);
  font-size: 0.78rem;
  min-width: 28px;
}

.toc-asana-cz {
  font-weight: 600;
}

.toc-asana-sk {
  color: var(--slate-muted);
  font-style: italic;
  font-size: 0.8rem;
}

/* Subchapter banner v katalogu */
.subchapter-banner {
  margin: 3.5rem 0 1.5rem 0;
  padding: 1.1rem 1.5rem;
  background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
  border-left: 5px solid var(--brand-teal);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.subchapter-banner-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-teal);
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.subchapter-banner-title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.subchapter-banner-meta {
  font-size: 0.85rem;
  color: var(--slate-muted);
  margin-top: 0.25rem;
}

.back-to-toc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  background: white;
  border: 1px solid #cbd5e1;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s;
}

.back-to-toc-badge:hover {
  background: var(--brand-teal);
  color: white;
  border-color: var(--brand-teal);
}

/* ==========================================================
   ÚVODNÍ STRÁNKA: volba Teorie / Praxe
   ========================================================== */
.landing-hero { padding-top: 2.5rem; }

.landing-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0 3rem 0;
}

.landing-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  padding: 2.5rem 1.75rem;
  background: #ffffff;
  border: 1.5px solid var(--slate-border);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: var(--slate-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.landing-card:hover,
.landing-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--brand-teal);
  box-shadow: 0 14px 38px rgba(15, 118, 110, 0.18);
  outline: none;
}

.landing-card-icon { font-size: 3.2rem; line-height: 1; }

.landing-card-title {
  font-family: "Noto Serif", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-navy);
  letter-spacing: 0.04em;
}

.landing-card-desc { font-size: 0.98rem; line-height: 1.6; color: var(--slate-muted); max-width: 30ch; }

.landing-card-meta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.landing-card-cta {
  margin-top: 0.75rem;
  padding: 0.7rem 1.6rem;
  background: var(--brand-teal);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
}

.landing-card-theory .landing-card-cta { background: var(--brand-navy); }

@media (max-width: 720px) {
  .landing-choices { grid-template-columns: 1fr; gap: 1rem; margin: 1.25rem 0 2rem 0; }
  .landing-card { padding: 1.75rem 1.25rem; }
  .landing-card-icon { font-size: 2.4rem; }
  .landing-card-title { font-size: 1.6rem; }
  .landing-card-cta { width: 100%; box-sizing: border-box; }
}

/* Mobilní úpravy: tabulka pojmů pod sebou, žádný vodorovný posun stránky */
body { overflow-x: clip; }

@media (max-width: 640px) {
  .theory-terms-table,
  .theory-terms-table tbody,
  .theory-terms-table tr,
  .theory-terms-table td { display: block; width: 100%; box-sizing: border-box; }
  .theory-terms-table td { border-bottom: none; padding: 0.15rem 0.5rem; }
  .theory-terms-table tr { padding: 0.4rem 0; border-bottom: 1px solid #edf2f7; }
  .theory-term-name { white-space: normal; }
  .theory-subchapter-title { flex-wrap: wrap; gap: 0.4rem; }
  .theory-chapter-title { font-size: 1.25rem; }
  .theory-bullets { padding-left: 1.1rem; }
}

/* Skok na kotvu nesmí skončit pod pevnou horní lištou */
[id] { scroll-margin-top: 84px; }
