/* ═════════════════════════════════════════════════════════════════════
 * Blog Stolmar (10.11.2026) — ładowany tylko na /blog/, kategoriach i wpisach.
 * Układ jak blog infology.pl, kolory i karty jak w sklepie Stolmar.
 * Kolory bazują na zmiennych motywu (--color-*); ciemniejsza zieleń do tekstu
 * jest liczona z --color-primary i --color-text (kontrast WCAG AA na bieli).
 * ═════════════════════════════════════════════════════════════════════ */

.stlm-blog {
	--b-ziel: var(--color-primary, #0fb32a);
	--b-ziel-txt: color-mix(in srgb, var(--color-primary, #0fb32a) 60%, var(--color-text, #2A2622));
	--b-ziel-mocny: color-mix(in srgb, var(--color-primary, #0fb32a) 50%, var(--color-text, #2A2622));
	--b-ziel-tlo: color-mix(in srgb, var(--color-primary, #0fb32a) 7%, var(--color-bg, #fff));
	--b-ziel-tlo2: color-mix(in srgb, var(--color-primary, #0fb32a) 14%, var(--color-bg, #fff));
	--b-drewno: color-mix(in srgb, #c9a27a 22%, var(--color-bg, #fff));
	--b-drewno2: color-mix(in srgb, #c9a27a 38%, var(--color-bg, #fff));
	--b-tekst: var(--color-text, #2A2622);
	--b-nagl: var(--color-heading, #2A2622);
	--b-szary: color-mix(in srgb, var(--color-text, #2A2622) 74%, var(--color-bg, #fff));
	--b-linia: color-mix(in srgb, var(--color-text, #2A2622) 11%, var(--color-bg, #fff));
	--b-linia2: color-mix(in srgb, var(--color-text, #2A2622) 20%, var(--color-bg, #fff));
	--b-bialy: var(--color-bg, #fff);
	--b-r: 12px;
	--b-r-btn: var(--radius-button, 8px);
	--b-cien: 0 4px 24px rgba(0, 0, 0, .10);
	--b-focus: 0 0 0 3px color-mix(in srgb, var(--color-primary, #0fb32a) 45%, transparent);
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	color: var(--b-tekst);
	overflow-x: clip;
}
.stlm-blog *, .stlm-blog *::before, .stlm-blog *::after { box-sizing: border-box; }
.stlm-blog a:focus-visible, .stlm-blog summary:focus-visible { outline: none; box-shadow: var(--b-focus); border-radius: 6px; }
.stlm-blog .stlm-ik { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -0.18em; }

.stlm-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.stlm-wrap--sredni { max-width: 1100px; }
.stlm-wrap--waski { max-width: 800px; }
@media (min-width: 768px) { .stlm-wrap { padding: 0 24px; } }

/* ── Typografia wspólna ─────────────────────────────────────────────── */
.stlm-h1 { font-family: var(--font-headings, inherit); font-weight: 800; color: var(--b-nagl); font-size: clamp(30px, 7.4vw, 50px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 18px; text-wrap: balance; }
.stlm-h1--wpis { font-size: clamp(28px, 6.6vw, 44px); }
.stlm-h1__str { font-weight: 600; color: var(--b-szary); font-size: .6em; }
.stlm-h2 { font-family: var(--font-headings, inherit); font-weight: 800; color: var(--b-nagl); font-size: clamp(26px, 5.4vw, 38px); line-height: 1.15; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
.stlm-lead { font-size: 17px; line-height: 1.65; color: var(--b-tekst); max-width: 640px; margin: 0; }
.stlm-lead p { margin: 0 0 .6em; }
.stlm-lead p:last-child { margin-bottom: 0; }
@media (min-width: 768px) { .stlm-lead { font-size: 18px; } }
.stlm-akcent { display: block; width: 64px; height: 6px; border-radius: 99px; background: var(--b-ziel); margin: 0 0 20px; }
.stlm-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--b-ziel-txt); background: var(--b-bialy); border: 1px solid var(--b-ziel-tlo2); border-radius: 99px; padding: 7px 14px; margin-bottom: 14px; }
.stlm-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--b-ziel); }
.stlm-plak { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--b-ziel-txt); background: var(--b-bialy); border: 1px solid var(--b-ziel-tlo2); border-radius: 99px; padding: 8px 14px; margin-bottom: 22px; text-decoration: none; min-height: 36px; }
a.stlm-plak:hover { border-color: var(--b-ziel); }
.stlm-plak__kropka { width: 8px; height: 8px; border-radius: 50%; background: var(--b-ziel); box-shadow: 0 0 0 4px var(--b-ziel-tlo2); }

/* ── Przyciski (jak w sklepie) ──────────────────────────────────────── */
.stlm-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stlm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--b-r-btn); font-family: var(--font-ui, inherit); font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none !important; border: 2px solid transparent; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.stlm-btn .stlm-ik { transition: transform .2s ease; }
.stlm-btn:hover .stlm-ik { transform: translateX(3px); }
.stlm-btn[href^="#"]:hover .stlm-ik { transform: translateY(3px); }
.stlm-btn--glowny { background: var(--b-ziel-txt); color: #fff !important; }
.stlm-btn--glowny:hover { background: var(--b-ziel-mocny); }
.stlm-btn--obrys { background: var(--b-bialy); color: var(--b-ziel-txt) !important; border-color: var(--b-ziel-txt); }
.stlm-btn--obrys:hover { background: var(--b-ziel-txt); color: #fff !important; }
.stlm-btn--jasny { background: #fff; color: var(--b-nagl) !important; }
.stlm-btn--jasny:hover { background: var(--b-ziel-tlo2); }
.stlm-btn--ciemny-obrys { color: #fff !important; border-color: rgba(255, 255, 255, .55); }
.stlm-btn--ciemny-obrys:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ── Okruszki ───────────────────────────────────────────────────────── */
.stlm-okruszki ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; list-style: none; margin: 0 0 26px; padding: 0; font-size: 14px; color: var(--b-szary); }
.stlm-okruszki li { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.stlm-okruszki li + li::before { content: "›"; opacity: .6; }
.stlm-okruszki a { color: var(--b-szary); text-decoration: none; padding: 6px 0; }
.stlm-okruszki a:hover { color: var(--b-ziel-txt); text-decoration: underline; }
.stlm-okruszki [aria-current] { color: var(--b-nagl); font-weight: 600; max-width: 70vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 768px) { .stlm-okruszki [aria-current] { max-width: 520px; } }

/* ── Hero ───────────────────────────────────────────────────────────── */
.stlm-hero { position: relative; padding: 28px 0 44px; background: linear-gradient(160deg, var(--b-ziel-tlo2) 0%, var(--b-ziel-tlo) 45%, var(--b-drewno) 100%); border-bottom: 1px solid var(--b-linia); overflow: hidden; }
.stlm-hero::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--b-ziel) 16%, transparent), transparent 70%); pointer-events: none; }
.stlm-hero .stlm-wrap { position: relative; }
.stlm-hero__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) {
	.stlm-hero { padding: 36px 0 72px; }
	.stlm-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
}
.stlm-hero__foto { display: none; }
@media (min-width: 1024px) {
	.stlm-hero__foto { display: block; position: relative; }
	.stlm-hero__foto-ramka { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 13; border-radius: 24px; background: var(--b-bialy); border: 1px solid var(--b-linia); box-shadow: 0 30px 60px -30px rgba(42, 38, 34, .35); overflow: hidden; padding: 24px; }
	.stlm-hero__foto-ramka img { width: 100%; height: 100%; object-fit: contain; }
	.stlm-hero__foto-podpis { position: absolute; left: -18px; bottom: 26px; background: var(--b-bialy); border: 1px solid var(--b-linia); border-radius: 12px; padding: 12px 16px; font-size: 14px; font-weight: 700; color: var(--b-nagl); box-shadow: var(--b-cien); max-width: 240px; }
}
.stlm-hero--kat { padding-bottom: 40px; }
.stlm-hero__kat { display: flex; gap: 22px; align-items: flex-start; }
.stlm-hero__kat-ikona { display: none; }
@media (min-width: 768px) {
	.stlm-hero__kat-ikona { display: flex; align-items: center; justify-content: center; flex: none; width: 96px; height: 96px; border-radius: 24px; color: var(--b-ziel-txt); box-shadow: 0 14px 30px -18px rgba(42, 38, 34, .45); }
	.stlm-hero__kat-ikona .stlm-ik { width: 46px; height: 46px; }
}

/* Hero wpisu: okładka + kafle */
.stlm-meta-linia { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 20px 0 0; font-size: 15px; font-weight: 600; color: var(--b-nagl); }
.stlm-meta-linia > span { display: inline-flex; align-items: center; gap: 7px; }
.stlm-meta-linia .stlm-ik { color: var(--b-ziel-txt); }
@media (min-width: 1024px) { .stlm-meta-linia { display: none; } }
.stlm-hero__bok--zapas { display: none; }
.stlm-hero__bok .stlm-kafle { display: none; }
@media (min-width: 1024px) {
	.stlm-hero__bok--zapas { display: block; }
	.stlm-hero__bok .stlm-kafle { display: grid; }
}
.stlm-hero__bok .stlm-okl { border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(42, 38, 34, .4); }
.stlm-kafle { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 16px 0 0; padding: 0; }
.stlm-kafle li { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--b-bialy); border: 1px solid var(--b-linia); border-radius: var(--b-r); padding: 14px 8px; }
.stlm-kafle__ik { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--b-ziel-tlo2); color: var(--b-ziel-txt); margin-bottom: 10px; }
.stlm-kafle__ik .stlm-ik { width: 22px; height: 22px; }
.stlm-kafle__et { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--b-szary); margin-bottom: 3px; }
.stlm-kafle__w { font-size: 13px; font-weight: 700; color: var(--b-nagl); line-height: 1.3; overflow-wrap: anywhere; }

/* ── Okładka (zdjęcie albo zapas) ───────────────────────────────────── */
.stlm-okl { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--b-ziel-tlo); }
.stlm-okl__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.stlm-okl__wzor { position: absolute; inset: 0; background:
	radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .75) 0, rgba(255, 255, 255, 0) 38%),
	repeating-linear-gradient(115deg, rgba(255, 255, 255, 0) 0 22px, rgba(255, 255, 255, .22) 22px 24px); }
.stlm-okl__wzor::after { content: ""; position: absolute; width: 58%; aspect-ratio: 1; right: -12%; bottom: -30%; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); }
.stlm-okl__ikona { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 255, 255, .78); color: var(--b-ziel-txt); box-shadow: 0 10px 24px -14px rgba(42, 38, 34, .45); }
.stlm-okl__ikona .stlm-ik { width: 32px; height: 32px; }
.stlm-hero__bok .stlm-okl__ikona { width: 92px; height: 92px; border-radius: 24px; left: 28px; bottom: 28px; }
.stlm-hero__bok .stlm-okl__ikona .stlm-ik { width: 46px; height: 46px; }
.stlm-okl__plak { position: absolute; left: 16px; top: 16px; max-width: calc(100% - 32px); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--b-nagl); background: rgba(255, 255, 255, .92); border-radius: 99px; padding: 6px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Odcienie zapasu (ciepłe, jasne, w kolorach marki) */
.stlm-okl--zielen { background: linear-gradient(135deg, var(--b-ziel-tlo2), var(--b-ziel-tlo) 55%, var(--b-drewno)); }
.stlm-okl--drewno { background: linear-gradient(135deg, var(--b-drewno2), var(--b-drewno) 55%, var(--b-ziel-tlo)); }
.stlm-okl--swieta { background: linear-gradient(135deg, color-mix(in srgb, var(--b-ziel) 24%, #fff), var(--b-ziel-tlo) 50%, color-mix(in srgb, #c0392b 12%, #fff)); }
.stlm-okl--ogrod { background: linear-gradient(135deg, color-mix(in srgb, var(--b-ziel) 20%, #fff), color-mix(in srgb, #e9d66b 18%, #fff)); }
.stlm-okl--dzieci { background: linear-gradient(135deg, color-mix(in srgb, #f2b950 24%, #fff), var(--b-drewno) 50%, var(--b-ziel-tlo2)); }

/* ── Sekcje ─────────────────────────────────────────────────────────── */
.stlm-sekcja { padding: 56px 0; }
.stlm-sekcja--jasna { background: var(--b-ziel-tlo); border-top: 1px solid var(--b-linia); border-bottom: 1px solid var(--b-linia); }
.stlm-sekcja + .stlm-sekcja--jasna, .stlm-sekcja--jasna + .stlm-sekcja { border-top: 0; }
@media (min-width: 1024px) { .stlm-sekcja { padding: 88px 0; } }
.stlm-sekcja__head { text-align: center; margin-bottom: 36px; }
.stlm-sekcja__head--lewo { text-align: left; margin-bottom: 28px; }
.stlm-sekcja__dalej { text-align: center; margin: 32px 0 0; }
.stlm-wstep p { font-size: 17px; line-height: 1.75; margin: 0 0 1.1em; }
.stlm-wstep a { color: var(--b-ziel-txt); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.stlm-wstep a:hover { text-decoration-thickness: 2px; }

/* Kafelki tematów */
.stlm-tematy { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .stlm-tematy { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .stlm-tematy { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stlm-temat { position: relative; display: flex; flex-direction: column; background: var(--b-bialy); border: 1px solid var(--b-linia); border-radius: 16px; padding: 24px; overflow: hidden; transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease; }
.stlm-temat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--b-ziel); opacity: 0; transition: opacity .25s ease; }
.stlm-temat:hover { border-color: var(--b-linia2); box-shadow: var(--b-cien); transform: translateY(-3px); }
.stlm-temat:hover::before { opacity: 1; }
.stlm-temat__ikona { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; color: var(--b-ziel-txt); margin-bottom: 18px; }
.stlm-temat__ikona .stlm-ik { width: 28px; height: 28px; }
.stlm-temat--sklep { background: var(--b-ziel-txt); border-color: var(--b-ziel-txt); color: #fff; }
.stlm-temat--sklep .stlm-temat__ikona { background: rgba(255, 255, 255, .16); color: #fff; }
.stlm-temat--sklep .stlm-temat__h, .stlm-temat--sklep .stlm-temat__p, .stlm-temat--sklep .stlm-temat__link { color: #fff; }
.stlm-temat__h { font-family: var(--font-headings, inherit); font-size: 19px; font-weight: 800; line-height: 1.3; color: var(--b-nagl); margin: 0 0 10px; }
.stlm-temat__p { font-size: 15px; line-height: 1.6; margin: 0 0 18px; }
.stlm-temat__link { margin-top: auto; display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 700; color: var(--b-ziel-txt); text-decoration: none; }
.stlm-temat__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.stlm-temat__link::after { content: ""; position: absolute; inset: 0; }

/* ── Siatka kart artykułów ──────────────────────────────────────────── */
.stlm-siatka { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .stlm-siatka--2, .stlm-siatka--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
@media (min-width: 1100px) { .stlm-siatka--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stlm-karta { display: flex; min-width: 0; }
.stlm-karta__link { display: flex; flex-direction: column; width: 100%; background: var(--b-bialy); border: 1px solid #e5e5e5; border-radius: var(--b-r); overflow: hidden; text-decoration: none !important; color: inherit; transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease; }
.stlm-karta__link:hover { border-color: #ccc; box-shadow: var(--b-cien); transform: translateY(-4px); }
.stlm-karta__link:hover .stlm-okl__img { transform: scale(1.04); }
.stlm-karta__link:focus-visible { box-shadow: var(--b-focus) !important; border-radius: var(--b-r) !important; }
.stlm-karta__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
@media (min-width: 768px) { .stlm-karta__body { padding: 26px 28px 28px; } }
.stlm-karta__meta { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 13px; color: var(--b-szary); margin-bottom: 10px; }
.stlm-karta__tytul { font-family: var(--font-headings, inherit); font-size: 20px; font-weight: 800; line-height: 1.3; color: var(--b-nagl); margin: 0 0 10px; transition: color .2s ease; }
.stlm-karta__link:hover .stlm-karta__tytul { color: var(--b-ziel-txt); }
.stlm-karta__zajawka { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.6; color: var(--b-szary); margin-bottom: 18px; }
.stlm-karta__wiecej { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--b-ziel-txt); }
.stlm-karta__wiecej .stlm-ik { transition: transform .2s ease; }
.stlm-karta__link:hover .stlm-karta__wiecej .stlm-ik { transform: translateX(4px); }

/* Paginacja */
.stlm-paginacja { margin-top: 44px; }
.stlm-paginacja .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.stlm-paginacja .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--b-linia2); border-radius: var(--b-r-btn); background: var(--b-bialy); color: var(--b-nagl); font-weight: 700; text-decoration: none; }
.stlm-paginacja a.page-numbers:hover { border-color: var(--b-ziel-txt); color: var(--b-ziel-txt); }
.stlm-paginacja .page-numbers.current { background: var(--b-ziel-txt); border-color: var(--b-ziel-txt); color: #fff; }
.stlm-paginacja .page-numbers.dots { border: 0; background: none; }

/* Pusto */
.stlm-pusto { max-width: 560px; margin: 0 auto; padding: 40px 24px; text-align: center; background: var(--b-bialy); border: 1px dashed var(--b-linia2); border-radius: 16px; }
.stlm-pusto__ikona { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 18px; background: var(--b-ziel-tlo2); color: var(--b-ziel-txt); margin-bottom: 14px; }
.stlm-pusto__ikona .stlm-ik { width: 30px; height: 30px; }
.stlm-pusto p { margin: 0 0 6px; line-height: 1.6; }
.stlm-pusto a { color: var(--b-ziel-txt); font-weight: 700; }

/* ── Powiązane produkty (karta jak w sklepie) ───────────────────────── */
.stlm-prod-siatka { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .stlm-prod-siatka { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.stlm-prod { display: flex; min-width: 0; }
.stlm-prod__link { display: flex; flex-direction: column; width: 100%; background: #fff; border: 1px solid #e5e5e5; border-radius: 12px; overflow: hidden; text-decoration: none !important; color: inherit; transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease; }
.stlm-prod__link:hover { border-color: #ccc; box-shadow: var(--b-cien); transform: translateY(-4px); }
.stlm-prod__img { display: block; background: #f8f8f8; border-bottom: 1px solid #f0f0f0; }
.stlm-prod__img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; padding: 16px; transition: transform .35s ease; }
.stlm-prod__link:hover .stlm-prod__img img { transform: scale(1.03); }
.stlm-prod__tytul { font-family: var(--font-headings, inherit); font-size: 14px; font-weight: 600; line-height: 1.45; color: #1a1a1a; margin: 0; padding: 12px 14px 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(2 * 1.45em + 16px); }
.stlm-prod__link:hover .stlm-prod__tytul { color: var(--b-ziel-txt); }
.stlm-prod__cena { display: block; padding: 6px 14px 4px; margin-top: auto; font-family: var(--font-ui, inherit); }
.stlm-prod__cena .woocommerce-Price-amount { font-size: 19px; font-weight: 800; color: #1a1a1a; white-space: nowrap; }
.stlm-prod__cena del { margin-right: 6px; }
.stlm-prod__cena del .woocommerce-Price-amount { font-size: 13px; font-weight: 400; color: #b3261e; }
.stlm-prod__cena ins { text-decoration: none; }
.stlm-prod__cena ins .woocommerce-Price-amount { color: var(--b-ziel-mocny); }
.stlm-prod__cena .wc-price-history { display: none; }
.stlm-prod__btn { display: flex; align-items: center; justify-content: center; min-height: 44px; margin: 10px 12px 12px; padding: 8px 10px; border: 2px solid var(--b-ziel-txt); border-radius: var(--b-r-btn); color: var(--b-ziel-txt); font-size: 14px; font-weight: 700; text-align: center; transition: background-color .2s ease, color .2s ease; }
.stlm-prod__link:hover .stlm-prod__btn { background: var(--b-ziel-txt); color: #fff; }

/* ── CTA ────────────────────────────────────────────────────────────── */
.stlm-cta { padding: 48px 0 64px; }
.stlm-cta__box { display: grid; gap: 22px; align-items: center; background: var(--color-footer-bg, #2A2622); color: var(--color-footer-text, #F2F7EA); border-radius: 20px; padding: 32px 24px; position: relative; overflow: hidden; }
.stlm-cta__box::after { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--b-ziel) 35%, transparent), transparent 70%); pointer-events: none; }
@media (min-width: 900px) { .stlm-cta__box { grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; padding: 44px 48px; } }
.stlm-cta__ikona { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 18px; background: var(--b-ziel); color: #fff; }
.stlm-cta__ikona .stlm-ik { width: 32px; height: 32px; }
.stlm-cta__h { font-family: var(--font-headings, inherit); font-size: clamp(22px, 4.6vw, 30px); font-weight: 800; line-height: 1.2; color: #fff; margin: 0 0 8px; }
.stlm-cta__txt p { margin: 0; font-size: 16px; line-height: 1.6; opacity: .92; }
.stlm-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }

/* ── Wpis: układ z lepkim spisem treści ─────────────────────────────── */
.stlm-artykul { padding: 40px 0 56px; scroll-margin-top: 16px; }
@media (min-width: 1024px) { .stlm-artykul { padding: 72px 0 80px; } }
.stlm-artykul__grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) { .stlm-artykul__grid { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; } }
.stlm-artykul__grid--bez-spisu { grid-template-columns: minmax(0, 1fr) !important; }
.stlm-artykul__grid--bez-spisu .stlm-artykul__kol { margin: 0 auto; }
.stlm-artykul__kol { min-width: 0; max-width: 760px; width: 100%; }
.stlm-spis-bok { display: none; }
@media (min-width: 1024px) { .stlm-spis-bok { display: block; position: sticky; top: calc(var(--header-height, 80px) + 24px); } .stlm-spis-mob { display: none; } }
.stlm-spis { background: var(--b-bialy); border: 1px solid var(--b-linia); border-radius: 16px; box-shadow: 0 10px 30px -18px rgba(42, 38, 34, .25); padding: 20px; max-height: calc(100vh - var(--header-height, 80px) - 48px); overflow: auto; }
.stlm-spis__gora { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.stlm-spis__tytul, .stlm-spis__proc { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--b-ziel-txt); }
.stlm-spis__proc { color: var(--b-szary); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.stlm-spis__pasek { height: 4px; border-radius: 99px; background: var(--b-ziel-tlo2); overflow: hidden; margin-bottom: 10px; }
.stlm-spis__pasek span { display: block; height: 100%; width: 0; background: var(--b-ziel); border-radius: 99px; transition: width .15s linear; }
.stlm-spis__lista { list-style: none; margin: 0; padding: 0; }
.stlm-spis__lista li + li { border-top: 1px solid var(--b-linia); }
.stlm-spis__lista a { display: flex; gap: 10px; align-items: flex-start; padding: 9px 8px; margin: 0 -8px; border-radius: 8px; font-size: 14px; line-height: 1.4; color: var(--b-tekst); text-decoration: none; min-height: 44px; }
.stlm-spis__lista a:hover { color: var(--b-ziel-txt); }
.stlm-spis__lista a.is-aktywny { background: var(--b-ziel-tlo); color: var(--b-nagl); font-weight: 700; }
.stlm-spis__nr { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--b-ziel-tlo2); color: var(--b-ziel-txt); font-size: 11px; font-weight: 800; transition: background-color .2s ease, color .2s ease; }
.stlm-spis__lista a.is-aktywny .stlm-spis__nr { background: var(--b-ziel-txt); color: #fff; }
.stlm-spis-mob { margin: 0 0 32px; background: var(--b-bialy); border: 1px solid var(--b-linia); border-radius: 14px; }
.stlm-spis-mob summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 16px; font-weight: 800; color: var(--b-nagl); cursor: pointer; list-style: none; }
.stlm-spis-mob summary::-webkit-details-marker { display: none; }
.stlm-spis-mob summary::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
.stlm-spis-mob[open] summary::after { transform: rotate(-135deg); }
.stlm-spis-mob summary .stlm-ik { color: var(--b-ziel-txt); }
.stlm-spis-mob__ile { color: var(--b-szary); font-weight: 600; }
.stlm-spis-mob nav { padding: 0 16px 10px; }

/* Tagi i „Podobało się?” */
.stlm-tagi { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 0; }
.stlm-tagi a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 99px; background: var(--b-ziel-tlo); color: var(--b-ziel-txt); font-size: 14px; font-weight: 600; text-decoration: none; }
.stlm-tagi a::before { content: "#"; opacity: .7; }
.stlm-tagi a:hover { background: var(--b-ziel-tlo2); }
.stlm-dalej { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--b-linia); }
.stlm-dalej__p { font-size: 17px; line-height: 1.75; margin: 0 0 22px; }
.stlm-dalej__p strong { color: var(--b-nagl); }
.stlm-dalej__p a { color: var(--b-ziel-txt); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.stlm-dalej__siatka { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .stlm-dalej__siatka { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stlm-mini { display: flex; gap: 14px; align-items: center; padding: 14px; background: var(--b-bialy); border: 1px solid var(--b-linia); border-radius: 16px; text-decoration: none !important; box-shadow: 0 10px 30px -18px rgba(42, 38, 34, .2); transition: border-color .2s ease; }
.stlm-mini:hover { border-color: var(--b-ziel); }
.stlm-mini__img { flex: none; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; color: var(--b-ziel-txt); }
.stlm-mini__img img { width: 100%; height: 100%; object-fit: cover; }
.stlm-mini__img .stlm-ik { width: 26px; height: 26px; }
.stlm-mini__txt { min-width: 0; }
.stlm-mini__kat { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--b-szary); margin-bottom: 2px; }
.stlm-mini__tytul { display: block; font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--b-nagl); }
.stlm-mini:hover .stlm-mini__tytul { color: var(--b-ziel-txt); }

/* ═════ Treść artykułu (.post-content) — według post-content.css Infology ═════ */
.post-content { font-size: 17px; line-height: 1.75; color: var(--b-tekst); overflow-wrap: break-word; }
.post-content > * { margin-top: 0; margin-bottom: 1.25em; }
.post-content > *:last-child { margin-bottom: 0; }
.post-content p { margin: 0 0 1.25em; }
.post-content a { color: var(--b-ziel-txt); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-content a:hover { text-decoration-thickness: 2px; color: var(--b-ziel-mocny); }
.post-content strong { color: var(--b-nagl); font-weight: 700; }
.post-content h2 { position: relative; font-family: var(--font-headings, inherit); font-size: clamp(23px, 4.6vw, 28px); font-weight: 800; line-height: 1.25; color: var(--b-nagl); margin: 2.2em 0 .8em; padding-left: 18px; scroll-margin-top: calc(var(--header-height, 80px) + 24px); }
.post-content h2::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 5px; border-radius: 99px; background: var(--b-ziel); }
.post-content > h2:first-child { margin-top: 0; }
.post-content h3 { font-family: var(--font-headings, inherit); font-size: 20px; font-weight: 800; line-height: 1.35; color: var(--b-nagl); margin: 1.8em 0 .6em; scroll-margin-top: calc(var(--header-height, 80px) + 24px); }
.post-content h4 { font-size: 18px; font-weight: 700; color: var(--b-nagl); margin: 1.5em 0 .5em; }
.post-content ul, .post-content ol { list-style: none; margin: 0 0 1.5em; padding: 18px 20px; background: var(--b-bialy); border: 1px solid var(--b-linia); border-radius: 16px; box-shadow: 0 10px 30px -22px rgba(42, 38, 34, .3); }
.post-content li { position: relative; padding-left: 34px; margin: 0; }
.post-content li + li { margin-top: .65em; }
.post-content ul > li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--b-ziel-tlo2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b7a2d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.post-content ol { counter-reset: stlm-ol; }
.post-content ol > li { counter-increment: stlm-ol; }
.post-content ol > li::before { content: counter(stlm-ol); position: absolute; left: 0; top: .15em; width: 24px; height: 24px; border-radius: 50%; background: var(--b-ziel-txt); color: #fff; font-size: 12px; font-weight: 800; line-height: 24px; text-align: center; }
.post-content li > ul, .post-content li > ol { margin: .6em 0 0; padding: 0; border: 0; box-shadow: none; background: none; }
.post-content blockquote, .post-content .wp-block-quote { position: relative; margin: 2em 0; padding: 24px 24px 24px 60px; background: var(--b-ziel-tlo); border: 0; border-left: 5px solid var(--b-ziel); border-radius: 0 16px 16px 0; font-size: 18px; line-height: 1.65; color: var(--b-nagl); }
.post-content blockquote::before { content: "\201E"; position: absolute; left: 18px; top: 8px; font-family: Georgia, serif; font-size: 56px; line-height: 1; color: var(--b-ziel); }
.post-content blockquote p:last-child { margin-bottom: 0; }
.post-content blockquote cite { display: block; margin-top: 10px; font-size: 14px; font-style: normal; font-weight: 700; color: var(--b-szary); }
.post-content .callout, .post-content .ramka { margin: 2em 0; padding: 20px 22px; background: var(--b-drewno); border: 1px solid var(--b-drewno2); border-radius: 16px; }
.post-content .callout > :last-child, .post-content .ramka > :last-child { margin-bottom: 0; }
.post-content .stlm-tabela, .post-content .wp-block-table { margin: 0 0 1.6em; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--b-linia); border-radius: 14px; background: var(--b-bialy); }
.post-content table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.5; margin: 0; }
.post-content th, .post-content td { padding: 12px 14px; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid var(--b-linia); }
.post-content thead th, .post-content tr:first-child th { background: var(--b-ziel-tlo); color: var(--b-nagl); font-weight: 800; }
.post-content tbody tr:last-child td { border-bottom: 0; }
.post-content .wp-block-table figcaption { padding: 8px 14px; font-size: 13px; color: var(--b-szary); }
.post-content img { max-width: 100%; height: auto; border-radius: 14px; }
.post-content figure { margin: 2em 0; }
.post-content figcaption { font-size: 14px; color: var(--b-szary); text-align: center; margin-top: 8px; }
.post-content hr { border: 0; border-top: 1px solid var(--b-linia); margin: 2.5em 0; }
.post-content code { font-size: .9em; background: var(--b-ziel-tlo); padding: 2px 6px; border-radius: 6px; }
.post-content .page-links { margin-top: 2em; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
	.stlm-blog *, .stlm-blog *::before, .stlm-blog *::after { transition: none !important; }
	.stlm-karta__link:hover, .stlm-prod__link:hover, .stlm-temat:hover { transform: none; }
}
