/* ════════════════════════════════════════════════════════════
   ČLÁNEK — obecná textová podstránka (blog/textový obsah).
   Staví na tokenech homepage (css/styles.css), ale je nezávislá
   na case-study.css — vlastní layout i typografie obsahu.
   ════════════════════════════════════════════════════════════ */

/* Navbar na článku vždy solidní (není pod ním tmavý hero) */
.navbar--solid { background: var(--white); }

.article { background: var(--white); color: var(--body-color); padding-top: 104px !important; }
.article .container { max-width: 1120px !important; margin-left: auto !important; margin-right: auto !important; }

/* ─── HLAVIČKA ČLÁNKU — jen štítek + nadpis + perex, bez obrázku ── */
.article-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 0 40px !important;
}
.article-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--pink);
  margin-bottom: 16px;
}
.article-header h1 {
  font-family: 'Queering', sans-serif;
  font-weight: 500;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -.5px;
  color: var(--black);
  margin: 0 0 20px;
}
.article-date {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}
.article-perex {
  font-size: 19px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}

/* ─── TĚLO ČLÁNKU — nadpisy, odstavce, seznamy, odkazy ──────────── */
.article-body { max-width: 760px; margin: 0 auto 64px; padding: 0 !important; }

.article-body h2 {
  font-family: 'Queering', sans-serif;
  font-weight: 500;
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.2;
  letter-spacing: -.3px;
  text-transform: none;
  color: var(--black);
  margin: 52px 0 18px;
}
.article-body h3 {
  font-family: 'Queering', sans-serif;
  font-weight: 500;
  font-size: clamp(21px, 2.2vw, 25px);
  line-height: 1.25;
  color: var(--black);
  margin: 40px 0 14px;
}
.article-body h4 {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.4;
  color: var(--black);
  margin: 30px 0 10px;
}
.article-body > *:first-child { margin-top: 0; }

.article-body p {
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 20px;
  color: var(--body-color);
}
.article-body strong { font-weight: 700; }
.article-body em { font-style: italic; }

/* Odrážky — vlastní puntík (globální `ul { list-style:none }` reset) */
.article-body ul {
  list-style: none;
  margin: 0 0 22px;
  padding-left: 4px;
}
.article-body ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 11px;
  line-height: 1.65;
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
}

/* Číslování — vlastní počítadlo (konzistentní s odrážkami) */
.article-body ol {
  list-style: none;
  counter-reset: article-ol;
  margin: 0 0 22px;
  padding-left: 4px;
}
.article-body ol li {
  counter-increment: article-ol;
  position: relative;
  padding-left: 30px;
  margin-bottom: 11px;
  line-height: 1.65;
}
.article-body ol li::before {
  content: counter(article-ol) '.';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--pink);
}
.article-body li > ul,
.article-body li > ol { margin-top: 10px; margin-bottom: 0; }

/* Odkazy v textu — globální `a { text-decoration:none }` reset přebit */
.article-body a {
  color: var(--pink);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: opacity .15s ease;
}
.article-body a:hover { opacity: .7; }

/* Citace uvnitř textu */
.article-body blockquote {
  margin: 8px 0 28px;
  padding: 2px 0 2px 24px;
  border-left: 3px solid var(--pink);
  font-size: 19px;
  line-height: 1.6;
  font-style: italic;
  color: var(--black);
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 8px 0 28px;
  display: block;
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 44px 0;
}

/* ─── Mobil ───────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .article-body h2 { margin: 40px 0 14px; }
  .article-body h3 { margin: 32px 0 12px; }
}
