/* ═══════════════════════════════════════════════════════
   page.css  –  Statické stránky (podmínky, o-projektu)
   ═══════════════════════════════════════════════════════ */

.page-wrap {
  max-width: 1100px; 
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) clamp(16px, 4vw, 32px) 56px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600; margin-bottom: 8px;
}

.page-subtitle {
  font-size: 1rem; color: var(--text-muted);
  /*margin-bottom: 40px; */padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.page-section, .section { margin-top: 36px; }

.page-section h2, .section h2 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 600;
  margin-bottom: 12px; color: var(--text);
}

.page-section p, .section p {
  margin-bottom: 10px; color: var(--text-muted);
  line-height: 1.7;
}

.page-section ul, .section ul {
  padding-left: 1.4rem; color: var(--text-muted);
}
.page-section ul li, .section ul li { margin-bottom: 8px; line-height: 1.65; }
.page-section ul li strong, .section ul li strong { color: var(--text); }

.highlight-box {
  background: var(--green-light);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px; margin: 16px 0;
  font-size: 0.95rem; color: var(--green-dark);
}

.placeholder {
  background: #fff; border: 1px dashed var(--border);
  border-radius: var(--radius); padding: 48px 32px;
  text-align: center; color: var(--text-hint);
}
.placeholder p { font-size: 1rem; margin-bottom: 8px; }

/* ── Číslovaný seznam ────────────────────────────────── */
.page-ol {
  padding-left: 1.4rem; color: var(--text-muted);
  margin-top: 10px;
}
.page-ol li {
  margin-bottom: 8px; line-height: 1.65;
}
.page-ol li::marker { color: var(--green); font-weight: 600; }

/* ── QR kód toggle ───────────────────────────────────── */
.qr-toggle {
  margin-top: 16px;
  display: inline-block;
}
.qr-toggle summary {
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer;
  font-size: 0.95rem; font-weight: 500;
  color: var(--green);
  padding: 8px 16px;
  border: 1.5px solid var(--green);
  border-radius: var(--radius-pill);
  list-style: none;
  user-select: none;
  transition: background .15s, color .15s;
}
.qr-toggle summary::-webkit-details-marker { display: none; }
.qr-toggle summary:hover { background: var(--green); color: #fff; }
.qr-toggle[open] summary { background: var(--green); color: #fff; }

.qr-box {
  margin-top: 16px;
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.qr-box img {
  width: 200px; height: auto;
  display: block;
  border-radius: 4px;
}
.qr-box small {
  font-size: 0.8rem; color: var(--text-hint); text-align: center;
}
