/* SEO/content patch 2026-09-10. Celowo mały i niezależny od głównego style.css. */
.seo-home .warm-hero-copy h1 { max-width: 760px; }
.seo-intro-card { margin: 24px 0; }
.seo-intro-card h2,
.seo-docs-card h2 { margin-top: 6px; }
.seo-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.seo-topic-grid a {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 145px;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 18px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.seo-topic-grid a:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
}
.seo-topic-grid strong { font-size: 18px; line-height: 1.25; }
.seo-topic-grid span { line-height: 1.55; opacity: .78; }
.seo-docs-card { margin-top: 24px; }
.seo-two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}
.seo-article-wrap { max-width: 980px; margin: 0 auto; }
.seo-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
  font-size: 14px;
}
.seo-breadcrumbs a { text-decoration: none; }
.seo-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0 26px;
  font-size: 14px;
  opacity: .72;
}
.seo-article-content { font-size: 17px; line-height: 1.72; }
.seo-article-content h2 { margin: 34px 0 12px; font-size: clamp(24px, 3vw, 32px); }
.seo-article-content p { margin: 0 0 16px; }
.seo-legal-source {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 4px solid #173b36;
  border-radius: 12px;
  background: rgba(23, 59, 54, .06);
}
.seo-faq { margin-top: 34px; }
.seo-faq details {
  padding: 16px 0;
  border-top: 1px solid rgba(15, 23, 42, .10);
}
.seo-faq summary { cursor: pointer; font-weight: 800; }
.seo-faq p { margin: 10px 0 0; }
.seo-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.seo-related-grid a {
  padding: 16px 18px;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  font-weight: 750;
  background: #fff;
}
.seo-related-grid a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .seo-topic-grid,
  .seo-related-grid,
  .seo-two-columns { grid-template-columns: 1fr; }
  .seo-topic-grid a { min-height: 0; }
}

/* Rozbudowany poradnik SEO — 2026-09-10 */
.seo-summary-box,
.seo-toc,
.seo-checklist,
.seo-sources,
.seo-final-cta {
  margin-top: 26px;
  padding: 22px 24px;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 16px;
  background: #fff;
}
.seo-summary-box { background: rgba(23, 59, 54, .045); }
.seo-summary-box h2,
.seo-toc strong,
.seo-checklist h2,
.seo-sources h2,
.seo-final-cta h2 { margin: 0 0 12px; }
.seo-summary-box ul,
.seo-checklist ul,
.seo-sources ul { margin: 0; padding-left: 22px; }
.seo-summary-box li,
.seo-checklist li,
.seo-sources li { margin: 7px 0; }
.seo-toc ol {
  margin: 12px 0 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 34px;
}
.seo-toc li { margin: 6px 0; break-inside: avoid; }
.seo-toc a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.seo-section-anchor { scroll-margin-top: 96px; }
.seo-mid-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 30px 0;
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(23, 59, 54, .07);
}
.seo-mid-cta strong { display: block; margin-bottom: 5px; font-size: 18px; }
.seo-mid-cta .btn { white-space: nowrap; }
.seo-sources a { overflow-wrap: anywhere; }
.seo-final-cta { background: rgba(15, 23, 42, .025); }
.seo-final-cta p { margin-bottom: 18px; }
@media (max-width: 900px) {
  .seo-toc ol { columns: 1; }
  .seo-mid-cta { align-items: flex-start; flex-direction: column; }
  .seo-mid-cta .btn { width: 100%; }
}

/* FINAL SEO HUB + internal linking — 2026-09-10 */
.seo-hub { margin: 24px 0; }
.seo-hub h2 { margin: 6px 0 10px; }
.seo-hub-lead { max-width: 900px; margin-bottom: 20px; font-size: 17px; line-height: 1.65; }
.seo-hub-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 30px;
}
.seo-hub-jump a {
  padding: 9px 13px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 999px;
  background: rgba(15, 23, 42, .025);
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}
.seo-hub-jump a:hover { text-decoration: underline; }
.seo-hub-group {
  padding: 28px 0 8px;
  border-top: 1px solid rgba(15, 23, 42, .09);
  scroll-margin-top: 96px;
}
.seo-hub-group:first-of-type { border-top: 0; }
.seo-hub-group-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 18px;
}
.seo-hub-group-head h3 { margin: 5px 0 0; font-size: clamp(23px, 3vw, 31px); }
.seo-hub-group-head p { margin: 0; line-height: 1.6; opacity: .78; }
.seo-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.seo-hub-card {
  display: flex;
  flex-direction: column;
  min-height: 175px;
  padding: 19px 20px;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 17px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.seo-hub-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
}
.seo-hub-card strong { font-size: 18px; line-height: 1.3; }
.seo-hub-card span { margin-top: 8px; line-height: 1.55; opacity: .76; }
.seo-hub-card em {
  margin-top: auto;
  padding-top: 14px;
  font-style: normal;
  font-weight: 800;
}
.seo-hub-help,
.seo-cluster-return {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px solid rgba(23, 59, 54, .12);
  border-radius: 16px;
  background: rgba(23, 59, 54, .05);
}
.seo-hub-help strong,
.seo-cluster-return strong { display: block; margin-bottom: 5px; font-size: 18px; }
.seo-hub-help .btn,
.seo-cluster-return .btn { flex: 0 0 auto; }
.seo-related-section { margin-top: 34px; }
.seo-related-intro { max-width: 820px; opacity: .8; }
.seo-related-grid a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 112px;
}
.seo-related-grid a span { font-weight: 800; line-height: 1.35; }
.seo-related-grid a em { margin-top: auto; font-style: normal; font-size: 14px; opacity: .78; }

@media (max-width: 900px) {
  .seo-hub-group-head,
  .seo-hub-grid { grid-template-columns: 1fr; }
  .seo-hub-card { min-height: 0; }
  .seo-hub-help,
  .seo-cluster-return { align-items: flex-start; flex-direction: column; }
  .seo-hub-help .btn,
  .seo-cluster-return .btn { width: 100%; }
}
