/* =========================================================
   Poradniki SEO (/link-w-bio, /sprzedaz-online, /jak-zarabiac-w-internecie,
   /rezerwacje-online). Ładowany po home-lt.css: kolorowy hero jak na stronie
   głównej + czytelny artykuł. Prefiks gd-*.
   ========================================================= */
html:has(body.gd-page) { overflow-x: hidden; }
body.gd-page *, body.gd-page *::before, body.gd-page *::after { box-sizing: border-box; }
body.gd-page {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--lt-ink);
  font-family: var(--font-family);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.gd-page img { max-width: 100%; }
body.gd-page a { color: inherit; text-decoration: none; }
.gd-article a { text-decoration: underline; text-underline-offset: 3px; }
body.gd-page .dz-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }

.gd-hero { padding: 222px 0 clamp(64px, 8vw, 104px); }
.gd-hero .lt-wrap { max-width: 900px; }
.gd-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.85;
}
.gd-crumbs li + li::before { content: "›"; margin-right: 6px; opacity: 0.7; }
.gd-crumbs a { color: inherit; text-decoration: none; }
.gd-crumbs a:hover { text-decoration: underline; }
.gd-hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 5.4vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.gd-hero h1 em { font-style: normal; color: var(--lt-gold); }
.gd-lead {
  max-width: 40em;
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}
.gd-hero .lt-claim { margin-top: 34px; }
.gd-hero-note { margin: 14px 0 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); }

/* ---------- Artykuł ---------- */
.gd-body { padding: clamp(56px, 8vw, 96px) 0; }
.gd-article { max-width: 760px; margin-inline: auto; padding-inline: 20px; }
.gd-article h2 {
  margin: 56px 0 16px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.gd-article h2:first-child { margin-top: 0; }
.gd-article h3 { margin: 32px 0 10px; font-size: 1.2rem; font-weight: 800; letter-spacing: -0.01em; }
.gd-article p, .gd-article li { font-size: 1.06rem; line-height: 1.75; color: #2a2447; }
.gd-article p { margin: 0 0 16px; }
.gd-article ul, .gd-article ol { margin: 0 0 20px; padding-left: 1.3em; }
.gd-article li { margin-bottom: 8px; }
.gd-article a { color: var(--lt-violet); font-weight: 600; }
.gd-article strong { color: var(--lt-ink); }

.gd-toc {
  margin: 0 0 44px;
  padding: 22px 26px;
  border-radius: 22px;
  background: var(--lt-mist);
}
.gd-toc strong { display: block; margin-bottom: 8px; font-size: 0.95rem; }
.gd-toc ol { margin: 0; }
.gd-toc li { margin-bottom: 4px; font-size: 1rem; }

.gd-box {
  margin: 28px 0;
  padding: 24px 26px;
  border-radius: 22px;
  background: var(--lt-cream);
  border: 1px solid #ece6fb;
}
.gd-box--gold { background: #fff6dc; border-color: #ffe7a3; }
.gd-box p:last-child, .gd-box ul:last-child { margin-bottom: 0; }

.gd-table-wrap { margin: 24px 0; overflow-x: auto; border-radius: 18px; border: 1px solid #ece6fb; }
.gd-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.98rem; }
.gd-table th, .gd-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid #ece6fb; vertical-align: top; }
.gd-table th { background: var(--lt-mist); font-weight: 800; }
.gd-table tr:last-child td { border-bottom: 0; }

.gd-steps { counter-reset: gd; list-style: none; padding: 0 !important; }
.gd-steps li {
  position: relative;
  padding: 2px 0 6px 52px;
  counter-increment: gd;
}
.gd-steps li::before {
  content: counter(gd);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lt-violet);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
}

/* ---------- FAQ (natywne <details>, działa bez JS) ---------- */
.gd-faq { margin-top: 12px; }
.gd-faq details {
  border-bottom: 1px solid #ece6fb;
  padding: 4px 0;
}
.gd-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.gd-faq summary::-webkit-details-marker { display: none; }
.gd-faq summary::after { content: "+"; flex: 0 0 auto; font-size: 1.4rem; line-height: 1; color: var(--lt-violet); }
.gd-faq details[open] summary::after { content: "–"; }
.gd-faq details p { margin: 0 0 16px; }

/* ---------- Powiązane poradniki ---------- */
.gd-related { padding: 0 0 clamp(64px, 8vw, 100px); }
.gd-related h2 { margin: 0 0 22px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; text-align: center; }
.gd-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin-inline: auto;
}
.gd-card {
  display: block;
  padding: 24px;
  border-radius: 22px;
  background: var(--lt-mist);
  color: var(--lt-ink);
  text-decoration: none;
  transition: transform 0.2s var(--lt-ease);
}
.gd-card:hover { transform: translateY(-3px); }
.gd-card strong { display: block; font-size: 1.1rem; margin-bottom: 6px; }
.gd-card span { font-size: 0.95rem; line-height: 1.5; color: #4b4670; }

@media (max-width: 860px) {
  .gd-related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .gd-hero { padding-top: 160px; }
  .gd-hero .lt-claim { flex-direction: column; align-items: stretch; }
  .gd-article p, .gd-article li { font-size: 1rem; }
  .gd-toc, .gd-box { padding: 18px 18px; }
}
