/* ============================================================
   legal.css
   Styly pro právní stránky (Ochrana osobních údajů, Cookies).
   Globální proměnné, reset, nav, footer, kurzor, tlačítka,
   reveal animace, ornament divider → viz /style.css
   ============================================================ */

/* ── KRATŠÍ HERO PRO PRÁVNÍ STRÁNKY ── */
.page-hero-short {
  min-height: 45vh;
  display: flex;
  align-items: center;
}
.page-hero-short .page-hero-content {
  padding-top: 6rem;
}

/* ── HLAVNÍ SEKCE ── */
.legal-section {
  padding: 6rem 3rem 8rem;
  background: var(--midnight);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

/* ── DATUM AKTUALIZACE ── */
.legal-updated {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.88rem;
  color: var(--gold);
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(200, 150, 12, 0.2);
}

/* ── NADPISY ── */
.legal-h2 {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--pale-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 3rem 0 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(200, 150, 12, 0.15);
}

.legal-h3 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.82rem;
  color: var(--ghost);
  letter-spacing: 0.06em;
  margin: 1.8rem 0 0.8rem;
}

/* ── BLOK OBSAHU ── */
.legal-block {
  margin-bottom: 1rem;
}

.legal-block p {
  font-family: 'Lora', serif;
  color: var(--mist);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 0.6rem;
}

.legal-block p strong {
  color: var(--ghost);
}

.legal-block a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(200, 150, 12, 0.4);
  transition: color 0.3s, text-decoration-color 0.3s;
}
.legal-block a:hover {
  color: var(--pale-gold);
  text-decoration-color: var(--pale-gold);
}

/* ── SEZNAMY ── */
.legal-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 1.2rem;
}

.legal-list li {
  font-family: 'Lora', serif;
  color: var(--mist);
  font-size: 0.93rem;
  line-height: 1.8;
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
}

.legal-list li::before {
  content: '\25C6';
  color: var(--gold);
  font-size: 0.5rem;
  position: absolute;
  left: 0;
  top: 0.75rem;
}

.legal-list li strong {
  color: var(--ghost);
}

.legal-list li a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(200, 150, 12, 0.4);
  transition: color 0.3s, text-decoration-color 0.3s;
}
.legal-list li a:hover {
  color: var(--pale-gold);
  text-decoration-color: var(--pale-gold);
}

/* ── TABULKY ── */
.legal-table-wrap {
  overflow-x: auto;
  margin: 1.2rem 0 1.8rem;
  border: 1px solid rgba(200, 150, 12, 0.2);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Lora', serif;
  font-size: 0.88rem;
}

.legal-table thead {
  background: rgba(200, 150, 12, 0.08);
}

.legal-table th {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pale-gold);
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid rgba(200, 150, 12, 0.25);
  white-space: nowrap;
}

.legal-table td {
  color: var(--mist);
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  line-height: 1.6;
}

.legal-table tbody tr:last-child td {
  border-bottom: none;
}

.legal-table tbody tr:hover {
  background: rgba(200, 150, 12, 0.03);
}

/* ── RESPONZIVITA ── */
@media (max-width: 768px) {
  .legal-section {
    padding: 4rem 1.5rem 6rem;
  }

  .page-hero-short {
    min-height: 40vh;
  }

  .legal-h2 {
    font-size: 0.85rem;
    margin: 2.5rem 0 1rem;
  }

  .legal-h3 {
    font-size: 0.78rem;
  }

  .legal-block p,
  .legal-list li {
    font-size: 0.9rem;
  }

  .legal-table th,
  .legal-table td {
    padding: 0.6rem 0.8rem;
    font-size: 0.82rem;
  }

  .legal-table th {
    font-size: 0.65rem;
  }
}
