/* Hurtownia Lux — Poradnik (24.10.2026). Ładowany po main.css tylko na /poradnik/, w działach i w artykułach (inc/blog.php).
   Styl „a1”: atrament #0E1022, błękit akcentu, Inter w treści i kartach, Space Grotesk tylko w dużych tytułach, płasko, ramki var(--line).
   Spis: 1 lista (hero, zakładki, karty, numeracja) · 2 artykuł (nagłówek, układ, treść, tabele) · 3 diagramy i zdjęcia ·
   4 FAQ, źródła, powiązane, boczna kolumna · 5 telefon. */

.hlx-blog { padding-top: 14px; padding-bottom: 56px; max-width: 1440px; }
.hlx-crumbs { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.hlx-crumbs a { color: var(--muted); text-decoration: none; }
.hlx-crumbs a:hover { color: var(--acc-ink); text-decoration: underline; }
.hlx-crumbs span { color: var(--ink); }

/* --- 1. Lista --- */
.hlx-bhero { padding: 8px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.hlx-eyebrow { margin: 0 0 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--acc-ink); }
.hlx-bhero h1 { margin: 0 0 10px; font-family: var(--font-d); font-weight: 700; font-size: clamp(30px, 1.2rem + 2vw, 46px); line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
.hlx-bhero-lead { margin: 0; max-width: 72ch; font-size: 16.5px; line-height: 1.55; color: var(--muted); }

.hlx-btabs { display: flex; gap: 8px; margin: 0 0 22px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.hlx-btabs .chip { min-height: 40px; }
.hlx-btabs .chip small { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.hlx-btabs .chip.is-on small { color: rgba(255, 255, 255, .8); }

.hlx-bgrid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.hlx-bcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); overflow: hidden; transition: border-color .15s, transform .15s; }
.hlx-bcard:hover { border-color: var(--ink); transform: translateY(-2px); }
.hlx-bcard-cover { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--hdr); color: #CFD5E3; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .02em; border-bottom: 3px solid var(--acc-bright); }
.hlx-bcard-cover svg { width: 40px; height: 40px; color: var(--acc-light); stroke-width: 1.5; }
.hlx-bcard-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 16px 20px 18px; }
.hlx-bcard-t { margin: 0 0 8px; font-family: var(--font); font-size: 18px; line-height: 1.28; font-weight: 700; text-wrap: balance; }
.hlx-bcard-t a { color: var(--ink); text-decoration: none; }
.hlx-bcard-t a:hover { color: var(--acc-ink); }
.hlx-bcard-x { margin: 0 0 12px; font-size: 14.5px; line-height: 1.5; color: #3B4060; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.hlx-bcard-m { margin: auto 0 0; font-size: 12.5px; color: var(--muted); }

.hlx-bpager { margin: 28px 0 0; }
.hlx-bpager .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hlx-bpager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.hlx-bpager a.page-numbers:hover { border-color: var(--ink); }
.hlx-bpager .page-numbers.current { background: var(--acc); border-color: var(--acc); color: var(--white); }
.hlx-bpager .page-numbers.dots { border: 0; background: none; min-width: 0; padding: 0 4px; }

/* --- 2. Artykuł --- */
.hlx-post-head { max-width: 860px; margin: 0 0 22px; }
.hlx-post-cat { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 10px; padding: 5px 12px 5px 9px; border-radius: 999px; background: var(--acc-soft); color: var(--acc-ink); font-size: 13px; font-weight: 700; text-decoration: none; }
.hlx-post-cat svg { width: 18px; height: 18px; }
.hlx-post-cat:hover { background: var(--acc-soft2); }
.hlx-post-title { margin: 0 0 10px; font-family: var(--font-d); font-weight: 700; font-size: clamp(28px, 1.15rem + 1.9vw, 42px); line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
.hlx-post-meta { margin: 0; font-size: 13.5px; color: var(--muted); }

.hlx-post-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.hlx-post-main { min-width: 0; max-width: 780px; }
.hlx-short { margin: 0 0 22px; padding: 16px 18px; border-left: 4px solid var(--acc-bright); background: var(--acc-soft); border-radius: 0 var(--r) var(--r) 0; font-size: 16.5px; line-height: 1.55; }
.hlx-short strong { color: var(--acc-ink-dark); }

.hlx-prose { font-size: 17px; line-height: 1.7; color: #1B1F38; }
.hlx-prose > :first-child { margin-top: 0; }
.hlx-prose p { margin: 0 0 1.05em; }
.hlx-prose h2 { margin: 1.9em 0 .55em; padding-top: .2em; font-family: var(--font); font-size: clamp(21px, 1rem + .9vw, 27px); line-height: 1.22; font-weight: 700; letter-spacing: -.005em; color: var(--ink); text-wrap: balance; scroll-margin-top: 96px; }
.hlx-prose h3 { margin: 1.5em 0 .4em; font-size: 19px; line-height: 1.3; }
.hlx-prose ul, .hlx-prose ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.hlx-prose li { margin: 0 0 .4em; }
.hlx-prose li::marker { color: var(--acc); }
.hlx-prose a { color: var(--acc-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hlx-prose a:hover { color: var(--acc-ink-dark); text-decoration-thickness: 2px; }
.hlx-prose strong { color: var(--ink); }

.hlx-tbl { margin: 1.4em 0 1.6em; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); -webkit-overflow-scrolling: touch; }
.hlx-tbl table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.hlx-tbl caption { caption-side: top; padding: 12px 14px 10px; text-align: left; font-weight: 700; font-size: 14.5px; color: var(--ink); border-bottom: 1px solid var(--line); background: var(--white); }
.hlx-tbl th, .hlx-tbl td { padding: 9px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.hlx-tbl thead th { background: var(--soft); font-weight: 700; font-size: 13px; letter-spacing: .01em; color: #2A2F4F; white-space: nowrap; }
.hlx-tbl tbody tr:last-child td, .hlx-tbl tbody tr:last-child th { border-bottom: 0; }
.hlx-tbl tbody tr:nth-child(even) td, .hlx-tbl tbody tr:nth-child(even) th { background: #F7F9FC; }
.hlx-tbl tbody th { font-weight: 600; }

/* --- 3. Zdjęcia i diagramy --- */
.hlx-fig { margin: 1.6em 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); }
.hlx-fig-img { display: block; background: var(--white); text-align: center; padding: 8px; }
.hlx-fig img { display: block; margin: 0 auto; max-width: 100%; max-height: 380px; width: auto; height: auto; object-fit: contain; }
.hlx-fig figcaption { padding: 11px 14px; border-top: 1px solid var(--line); background: var(--soft); font-size: 13.5px; line-height: 1.45; color: #3B4060; }
.hlx-fig figcaption a { color: var(--acc-ink); white-space: nowrap; }

.hlx-dia { margin: 1.6em 0; padding: 16px 18px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--soft); }
.hlx-dia-t { margin: 0 0 14px; font-weight: 700; font-size: 14.5px; line-height: 1.4; color: var(--ink); }
.hlx-bars { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.hlx-bars li { display: grid; grid-template-columns: minmax(70px, 30%) minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 14px; }
.hlx-bars-l { line-height: 1.25; color: #2A2F4F; }
.hlx-bars-b { display: block; height: 14px; border-radius: 3px; background: #DDE4F0; overflow: hidden; }
.hlx-bars-b i { display: block; height: 100%; background: var(--acc); border-radius: 3px; }
.hlx-bars b { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 14px; }
.hlx-flow { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; grid-template-columns: 1fr; }
.hlx-flow li { position: relative; display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; align-items: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); font-size: 14px; line-height: 1.4; }
.hlx-flow li + li::before { content: ""; position: absolute; left: 28px; top: -11px; width: 2px; height: 10px; background: var(--acc-bright); }
.hlx-flow-n { grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--acc); color: var(--white); font-weight: 700; font-size: 14px; }
.hlx-flow li strong { color: var(--ink); }
.hlx-flow li > span:last-child { color: #3B4060; }
.hlx-scale { position: relative; height: 26px; margin: 8px 6px 6px; }
.hlx-scale-track { position: absolute; left: 0; right: 0; top: 11px; height: 4px; border-radius: 2px; background: #BFC9DB; }
.hlx-scale i { position: absolute; top: 4px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--acc); border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--acc); }
.hlx-scale-ends { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.hlx-scale-l { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px 18px; font-size: 14px; }
.hlx-scale-l b { color: var(--acc-ink); font-variant-numeric: tabular-nums; margin-right: 4px; }

/* --- 4. FAQ, źródła, powiązane, kolumna boczna --- */
.hlx-faq, .hlx-src { margin-top: 2.2em; }
.hlx-faq h2, .hlx-src h2, .hlx-rel h2 { margin: 0 0 14px; font-size: clamp(21px, 1rem + .9vw, 27px); line-height: 1.22; font-weight: 700; }
.hlx-faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); margin: 0 0 8px; }
.hlx-faq details[open] { border-color: var(--ink); }
.hlx-faq summary { cursor: pointer; list-style: none; position: relative; padding: 14px 44px 14px 16px; font-weight: 600; font-size: 16px; line-height: 1.4; }
.hlx-faq summary::-webkit-details-marker { display: none; }
.hlx-faq summary::after { content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .15s; }
.hlx-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.hlx-faq details p { margin: 0; padding: 0 16px 16px; font-size: 16px; line-height: 1.6; color: #1B1F38; }
.hlx-src ul { margin: 0; padding-left: 1.2em; font-size: 14.5px; line-height: 1.6; }
.hlx-src li::marker { color: var(--acc); }
.hlx-src a { color: var(--acc-ink); overflow-wrap: anywhere; }
.hlx-src li span { color: var(--muted); }
.hlx-rel { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }

.hlx-side-t { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hlx-toc { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.hlx-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.hlx-toc li { counter-increment: toc; }
.hlx-toc li a { display: grid; grid-template-columns: 22px 1fr; gap: 6px; padding: 7px 0; color: #2A2F4F; text-decoration: none; font-size: 14.5px; line-height: 1.35; }
.hlx-toc li a::before { content: counter(toc); color: var(--acc-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.hlx-toc li a:hover { color: var(--acc-ink); }
.hlx-toc--m { margin: 0 0 22px; }
.hlx-toc--m summary { cursor: pointer; padding: 13px 16px; font-weight: 700; font-size: 15px; }
.hlx-toc--m ol { padding: 0 16px 12px; }
.hlx-toc--d { display: none; padding: 16px 18px; }
.hlx-shopbox { margin-top: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--soft); }
.hlx-shopbox ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.hlx-shopbox a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.hlx-shopbox a:hover { border-color: var(--ink); }
.hlx-shopbox svg { color: var(--acc-ink); }

/* --- 5. Szerszy ekran --- */
@media (min-width: 700px) {
	.hlx-bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.hlx-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hlx-flow li + li::before { display: none; }
	.hlx-scale-l { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
	.hlx-blog { padding-top: 20px; }
	.hlx-bgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hlx-bgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hlx-btabs { flex-wrap: wrap; overflow: visible; }
	.hlx-post-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
	.hlx-toc--m { display: none; }
	.hlx-toc--d { display: block; }
	.hlx-post-side { position: sticky; top: 104px; }
}
@media (max-width: 520px) {
	.hlx-prose { font-size: 16.5px; }
	.hlx-bars li { grid-template-columns: 1fr auto; row-gap: 4px; }
	.hlx-bars-l { grid-column: 1 / -1; }
	.hlx-bars-b { grid-column: 1; }
	.hlx-tbl table { font-size: 14px; }
	.hlx-bcard-cover { padding: 14px 16px; }
	.hlx-bcard-body { padding: 14px 16px 16px; }
}
