/* =========================================================
   blog.css – styly pro blogové články Brixtonbest.cz
   Barvy: #de1b3b #000000 #606060 #c1c1c1
========================================================= */

:root {
  --red: #de1b3b;
  --black: #000000;
  --gray: #606060;
  --light-gray: #c1c1c1;
  --bg: #fff;
  --border-radius: 8px;
  --font-body: Georgia, 'Times New Roman', serif;
  --font-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--bg);
  line-height: 1.75;
  font-size: 17px;
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

/* ── Nadpisy ───────────────────────────────────────────── */

h1 {
  font-family: var(--font-sans);
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

h2 {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--black);
  margin: 44px 0 14px;
  letter-spacing: -0.3px;
  border-left: 4px solid var(--red);
  padding-left: 14px;
}

h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin: 28px 0 10px;
}

/* ── Základní prvky ────────────────────────────────────── */

p { margin-bottom: 18px; }

ul,
ol {
  margin: 14px 0 20px 22px;
}

li { margin-bottom: 7px; }

a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

a:hover { text-decoration: none; }

strong { font-weight: 700; }

/* ── Perex ─────────────────────────────────────────────── */

.perex {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 32px;
  line-height: 1.8;
  border-left: 3px solid var(--light-gray);
  padding-left: 18px;
}

/* ── Info box ──────────────────────────────────────────── */

.info-box {
  background: #f9f9f9;
  border: 1px solid var(--light-gray);
  border-left: 4px solid var(--red);
  border-radius: var(--border-radius);
  padding: 20px 24px;
  margin: 28px 0;
}

.info-box-title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--red);
  margin-bottom: 10px;
}

.info-box p { margin-bottom: 10px; }
.info-box p:last-child { margin-bottom: 0; }

/* ── Tabulka ───────────────────────────────────────────── */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
}

thead tr {
  background: var(--black);
  color: #fff;
}

thead th {
  padding: 11px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

tbody tr:nth-child(even) { background: #f7f7f7; }
tbody tr:nth-child(odd)  { background: #fff; }

tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid #e8e8e8;
  vertical-align: top;
}

/* ── Checklist box ─────────────────────────────────────── */

.checklist {
  background: #fff;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  padding: 20px 24px;
  margin: 28px 0;
}

.checklist-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--black);
}

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

.checklist li {
  padding: 5px 0 5px 28px;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.checklist li:last-child { border-bottom: none; }

.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 900;
}

/* ── CTA tlačítka ──────────────────────────────────────── */

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  transition: background 0.15s;
}

.btn:hover { background: #b5162f; color: #fff; text-decoration: none; }

.btn-outline {
  background: transparent;
  border: 2px solid var(--black);
  color: var(--black);
}

.btn-outline:hover { background: var(--black); color: #fff; }

/* ── Obrázek placeholder (pro přípravu článku) ─────────── */

.img-placeholder {
  background: #f0f0f0;
  border: 1px dashed var(--light-gray);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  margin: 28px 0;
  color: var(--gray);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
}

.img-placeholder .img-label {
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.img-placeholder .img-alt {
  font-style: italic;
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 8px;
}

/* ── FAQ ───────────────────────────────────────────────── */

.faq-section { margin: 48px 0 20px; }

.faq-item {
  border-bottom: 1px solid #e8e8e8;
  padding: 0;
  margin-bottom: 0;
}

.faq-question {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  padding: 16px 40px 16px 0;
  cursor: pointer;
  position: relative;
  color: var(--black);
  list-style: none;
  display: block;
  user-select: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--red);
  font-weight: 300;
  transition: transform 0.2s;
}

details[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--gray);
  padding: 0 0 18px 0;
  line-height: 1.75;
}

/* ── Rozcestník ────────────────────────────────────────── */

.rozcestnik {
  background: var(--black);
  color: #fff;
  border-radius: var(--border-radius);
  padding: 28px 32px;
  margin: 52px 0 0;
}

.rozcestnik-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--light-gray);
  margin-bottom: 18px;
}

.rozcestnik-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rozcestnik-links a {
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 4px;
}

.rozcestnik-links a:hover { background: #b5162f; }

/* ── Divider ───────────────────────────────────────────── */

.section-divider {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 8px 0;
}

/* ── Responsive ────────────────────────────────────────── */

@media (max-width: 600px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
  body { font-size: 16px; padding: 20px 16px 48px; }
  .rozcestnik { padding: 22px 18px; }
}
