/* ============================================================
   AIE.media — style artykułów blogowych
   Rozszerza style.css (te same zmienne, ta sama estetyka).
   ============================================================ */

/* ── Breadcrumbs ───────────────────────────────────────────── */
.breadcrumbs {
  max-width: 760px;
  margin: 0 auto;
  padding: 8.5rem 2rem 0;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  color: var(--muted-on-light);
}
.breadcrumbs a { text-decoration: none; color: var(--muted-on-light); border-bottom: 1px solid var(--line-on-light); transition: color 0.2s ease, border-color 0.2s ease; }
.breadcrumbs a:hover { color: var(--black); border-color: var(--black); }
.breadcrumbs span.sep { margin: 0 0.5em; opacity: 0.5; }
.breadcrumbs span.current { color: var(--black); }

/* ── Article hero ─────────────────────────────────────────── */
.article-hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.6rem 2rem 3rem;
}
.article-hero .section-label { margin-bottom: 1.2rem; }
.article-hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 1.4rem;
}
.article-hero h1 b { font-weight: 900; }
.article-hero .article-lead {
  font-family: var(--text);
  font-weight: 400;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted-on-light);
  max-width: 640px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 1.8rem;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.7rem;
  color: var(--muted-on-light);
}
.article-meta span::before { content: '// '; opacity: 0.5; }

/* ── Article body ─────────────────────────────────────────── */
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
  font-family: var(--text);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.85;
  color: rgba(10,10,10,0.78);
}
.article-body h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--black);
  margin: 3rem 0 1.1rem;
  letter-spacing: -0.01em;
}
.article-body h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--black);
  margin: 2.2rem 0 0.9rem;
}
.article-body p { margin-bottom: 1.3rem; }
.article-body p b, .article-body li b { color: var(--black); font-weight: 600; }
.article-body ul, .article-body ol { margin: 0 0 1.4rem 1.3rem; }
.article-body li { margin-bottom: 0.55rem; }
.article-body a { color: var(--black); text-decoration: none; border-bottom: 1px solid var(--line-on-light); }
.article-body a:hover { border-color: var(--black); }

.article-callout {
  border: 1px solid var(--line-on-light);
  border-left: 3px solid var(--black);
  padding: 1.5rem 1.7rem;
  margin: 2.2rem 0;
  font-size: 0.97rem;
  color: rgba(10,10,10,0.78);
}
.article-callout b { color: var(--black); }

.article-punch {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--black);
  margin: 2.6rem 0;
  padding-left: 1.2rem;
  border-left: 2px solid var(--black);
}

/* ── CTA box ──────────────────────────────────────────────── */
.article-cta {
  max-width: 760px;
  margin: 3.5rem auto 0;
  padding: 2.4rem 2.2rem;
  border: 1px solid var(--line-on-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}
.article-cta__text h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--black);
  margin-bottom: 0.4rem;
}
.article-cta__text p { font-size: 0.94rem; color: var(--muted-on-light); max-width: 420px; }

/* ── Powiązane artykuły ───────────────────────────────────── */
.related {
  max-width: 1000px;
  margin: 5rem auto 0;
  padding: 0 2rem;
}
.related__label {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  color: var(--muted-on-light);
  display: block;
  margin-bottom: 1.4rem;
}
.related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}
.related__card {
  display: block;
  border: 1px solid var(--line-on-light);
  padding: 1.5rem 1.4rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.related__card:hover { border-color: var(--black); transform: translateY(-2px); }
.related__card .related__tag {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.66rem;
  color: var(--muted-on-light);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 0.7rem;
}
.related__card h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--black);
}

@media (max-width: 640px) {
  .article-cta { flex-direction: column; align-items: flex-start; }
  .breadcrumbs { padding-top: 7rem; }
}
