/* Długie strony-huby i kalkulator (grudzień 2026). Ładowane tylko na tych stronach. */
.seo-page .article-layout { border-top: 0; padding-top: 8px; }
.seo-page .article-body h3 { font-size: 22px; line-height: 1.3; margin: 30px 0 12px; }
.seo-page .article-body h2 { margin-top: 52px; }
.seo-page .article-body h2:first-child { margin-top: 0; }
.seo-page .article-body .table-wrap { margin: 24px 0 30px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--background-secondary); }
.seo-page .article-body th, .seo-page .article-body td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); line-height: 1.55; }
.seo-page .article-body th { font-size: 13px; letter-spacing: .02em; text-transform: uppercase; color: var(--text-muted); background: var(--surface); }
.seo-page .article-body tr:last-child td { border-bottom: 0; }
.seo-page .article-body td a { font-size: inherit; }
.seo-page .article-body li { color: var(--text-primary); }
.seo-page .article-body code { font-family: var(--font-mono); font-size: 14px; background: var(--surface); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.seo-page .article-body pre { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; overflow: auto; margin: 20px 0; }
.seo-page .article-body pre code { background: none; padding: 0; }
.seo-faq { margin-top: 56px; }
.seo-faq h2 { margin-bottom: 18px; }
.seo-faq details { border-top: 1px solid var(--border); padding: 6px 0; }
.seo-faq details:last-of-type { border-bottom: 1px solid var(--border); }
.seo-faq summary { cursor: pointer; min-height: 44px; padding: 12px 0; font-weight: 600; font-size: 18px; list-style-position: outside; }
.seo-faq details p { margin: 4px 0 16px; color: var(--text-secondary); }

/* Kalkulator */
.calc { margin: 8px 0 56px; padding: clamp(20px, 4vw, 36px); background: var(--background-secondary); border: 1px solid var(--border); border-radius: var(--radius); }
.calc h2 { font-size: 28px; line-height: 1.2; margin-bottom: 6px; }
.calc > p { color: var(--text-secondary); font-size: 16px; margin-bottom: 22px; }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px 20px; }
.calc label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.calc label small { font-weight: 400; color: var(--text-muted); }
.calc input { min-height: 48px; padding: 10px 12px; font: inherit; font-size: 17px; border: 1px solid var(--border); border-radius: var(--radius-button); background: var(--background-primary); color: var(--text-primary); width: 100%; }
.calc input:focus { outline: 2px solid var(--product-accent); outline-offset: 1px; }
.calc fieldset { border: 0; padding: 0; margin: 22px 0 0; }
.calc legend { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin-bottom: 12px; }
.calc-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 26px; }
.calc-result { padding: 16px; border-radius: var(--radius-button); background: var(--surface); }
.calc-result span { display: block; font-size: 13px; color: var(--text-muted); }
.calc-result b { display: block; font-size: 28px; line-height: 1.2; margin-top: 4px; font-variant-numeric: tabular-nums; }
.calc-result small { display: block; font-size: 13px; color: var(--text-secondary); margin-top: 4px; line-height: 1.45; }
.calc-verdict { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-button); background: var(--product-lavender); font-size: 16px; line-height: 1.6; }
.calc-verdict[data-tone="good"] { background: #E5F2EB; }
.calc-verdict[data-tone="bad"] { background: #F6E7E2; }
.calc-note { margin-top: 12px; font-size: 13px; color: var(--text-muted); }
@media (max-width: 900px) {
  .seo-page .article-layout { grid-template-columns: 1fr; gap: 24px; }
  .seo-page .article-toc { display: none; }
}
@media (prefers-color-scheme: dark) { /* strona jest jasna — kalkulator zostaje w jasnym motywie jak reszta */ }
.seo-hero h1 { font-size: clamp(34px, 6.4vw, 60px); line-height: 1.08; max-width: 980px; }
@media (max-width: 760px) { .blog-nav { display: none; } }
