/* ============================================================
   Czech Drinks — FAQ page styles
   ============================================================ */

/* ── Page hero (shared) ───────────────────────────────────── */
.page-hero { border-bottom: 1px solid var(--ink-15); padding-block: clamp(48px, 6.5vw, 88px); }
.page-hero h1 { max-width: 22ch; margin-top: 14px; }
.page-hero .lead { max-width: 52ch; margin-top: 16px; }

/* ── Layout ───────────────────────────────────────────────── */
.faq-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }

/* ── Side nav ─────────────────────────────────────────────── */
.faq-nav { position: sticky; top: 96px; }
.faq-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.faq-nav a {
  display: block; padding: 9px 14px; font-size: 14.5px; font-weight: 500;
  color: var(--ink-55); border-radius: var(--radius);
  border-left: 2px solid transparent;
  transition: color .2s, background .2s, border-color .2s;
  text-decoration: none;
}
.faq-nav a:hover { color: var(--ink); background: var(--paper-deep); border-left-color: var(--ink-15); }
.faq-nav a.active { color: var(--amber-deep); background: var(--amber-tint, rgba(200,147,46,.1)); border-left-color: var(--amber); font-weight: 600; }

/* ── Category blocks ──────────────────────────────────────── */
.faq-category + .faq-category { margin-top: clamp(40px, 5vw, 60px); }
.faq-category-label { padding-bottom: 16px; border-bottom: 1.5px solid var(--ink-15); margin-bottom: 0; }

/* ── Accordion ────────────────────────────────────────────── */
details.faq-item { border-bottom: 1px solid var(--ink-08); }
details.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 20px 0; font-weight: 600; font-size: 16.5px; color: var(--ink);
  transition: color .2s;
  user-select: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::marker { display: none; }
.faq-icon {
  width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%;
  border: 1.5px solid var(--ink-15); display: grid; place-items: center;
  transition: border-color .2s, background .2s, transform .3s;
}
.faq-icon svg { width: 10px; height: 10px; color: var(--ink-55); }
details.faq-item summary:hover { color: var(--amber-deep); }
details.faq-item summary:hover .faq-icon { border-color: var(--amber); }
details.faq-item[open] summary { color: var(--amber-deep); }
details.faq-item[open] summary .faq-icon { background: var(--amber); border-color: var(--amber); transform: rotate(45deg); }
details.faq-item[open] summary .faq-icon svg { color: #fff; }

.faq-body {
  padding: 4px 0 24px; color: var(--ink-70); font-size: 16px; line-height: 1.65; max-width: 62ch;
}
.faq-body a { color: var(--amber-deep); font-weight: 600; border-bottom: 1px solid currentColor; text-decoration: none; }
.faq-body p + p { margin-top: 12px; }

/* ── CTA block ────────────────────────────────────────────── */
.faq-cta-block {
  margin-top: clamp(44px, 5vw, 60px);
  padding: 28px 32px;
  background: var(--paper-deep);
  border: 1px solid var(--ink-08);
  border-radius: var(--radius-lg);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 820px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-nav { display: none; }
}
