/* Grzejniki Online – arkusz stylów */
:root {
	--red: #e30613;
	--red-dark: #b8050f;
	--red-soft: #fdecee;
	--ink: #1a1a1a;
	--text: #333;
	--muted: #6b6b6b;
	--muted-2: #4a4a4a;
	--line: #e4e4e4;
	--grey: #f5f5f5;
	--grey-2: #fafafa;
	--white: #fff;
	--radius: 4px;
	--wrap: 1240px;
	--font-head: "Avenir Next", "Avenir", "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--shadow: 0 10px 30px rgba(26, 26, 26, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 16px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
.mark { color: var(--red); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 820px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.gi { flex: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ---------- Nagłówek ---------- */
.topline { background: var(--red); color: #fff; font-size: .8rem; letter-spacing: .02em; text-align: center; }
.topline .wrap { padding-top: 6px; padding-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.masthead { background: var(--white); border-bottom: 1px solid var(--line); }
.masthead__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 88px; }
.brand img { width: auto; height: 50px; }
@media (min-width: 700px) { .brand img { height: 64px; } }
.mainnav { display: flex; gap: 6px; }
.mainnav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); border-radius: var(--radius); }
.mainnav a:hover, .mainnav a[aria-current] { color: var(--red); background: var(--red-soft); }
.mainnav a:first-child { display: none; }
@media (min-width: 700px) { .mainnav a:first-child { display: inline-flex; } }
@media (max-width: 420px) { .mainnav__x { display: none; } .mainnav a .gi { display: none; } .mainnav a { padding: 8px 10px; font-size: .9rem; } }

.catbar { background: var(--grey-2); border-top: 1px solid var(--line); }
.catbar__list { list-style: none; margin: 0 auto; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.catbar__list::-webkit-scrollbar { display: none; }
.catbar__list a { display: flex; align-items: center; gap: 8px; padding: 13px 14px; white-space: nowrap; text-decoration: none; font-size: .92rem; font-weight: 600; color: var(--muted-2); border-bottom: 2px solid transparent; }
.catbar__list a .gi { color: var(--red); }
.catbar__list a:hover { color: var(--ink); }
.catbar__list a[aria-current] { color: var(--ink); border-bottom-color: var(--red); }
@media (min-width: 1100px) { .catbar__list { justify-content: space-between; } }

/* Telefon i tablet: kategorie pod przyciskiem zamiast przewijanego paska */
.navtoggle { display: none; }
@media (max-width: 1099px) {
	.navtoggle { display: inline-flex; align-items: center; gap: 9px; padding: 9px 12px; background: var(--ink); color: #fff; border: 0; border-radius: var(--radius); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; }
	.navtoggle__bars, .navtoggle__bars::before, .navtoggle__bars::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 1px; transition: transform .2s, background-color .2s; }
	.navtoggle__bars { position: relative; }
	.navtoggle__bars::before, .navtoggle__bars::after { content: ""; position: absolute; left: 0; }
	.navtoggle__bars::before { top: -5px; }
	.navtoggle__bars::after { top: 5px; }
	.navtoggle[aria-expanded="true"] .navtoggle__bars { background: transparent; }
	.navtoggle[aria-expanded="true"] .navtoggle__bars::before { transform: translateY(5px) rotate(45deg); }
	.navtoggle[aria-expanded="true"] .navtoggle__bars::after { transform: translateY(-5px) rotate(-45deg); }
	.js .catbar { display: none; }
	.js .catbar.is-open { display: block; }
	.catbar__list { flex-direction: column; gap: 0; padding: 6px 16px 10px; overflow: visible; }
	.catbar__list li + li { border-top: 1px solid var(--line); }
	.catbar__list a { padding: 14px 4px; border-bottom: 0; font-size: 1rem; white-space: normal; }
	.catbar__list a[aria-current] { color: var(--red); }
	.mainnav { gap: 4px; align-items: center; }
	.mainnav a:first-child { display: none; }
}
@media (max-width: 699px) {
	.masthead__row { min-height: 72px; gap: 10px; }
	.brand img { height: 46px; }
}

/* ---------- Przyciski i drobne ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: var(--radius); font-weight: 700; font-size: .98rem; text-decoration: none; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.textlink { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 700; text-decoration: none; white-space: nowrap; }
.textlink:hover { text-decoration: underline; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 22px; padding: 0; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 9px; color: #bbb; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- Sekcje ---------- */
.section { padding: 56px 0; }
@media (min-width: 960px) { .section { padding: 84px 0; } }
.section--grey { background: var(--grey); }
.section__head { margin-bottom: 30px; max-width: 720px; }
.section__head h2 { position: relative; padding-top: 18px; }
.section__head h2::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 4px; background: var(--red); }
.section__head p { color: var(--muted); margin: 0; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section__head--row h2 { margin: 0; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--white) 0%, var(--grey-2) 100%); padding: 40px 0 48px; }
.hero__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 72px 0 80px; } .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.hero h1 { margin-bottom: 18px; }
.hero__lead { font-size: 1.12rem; color: var(--muted-2); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 28px; }
.hero__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; font-weight: 600; color: var(--muted-2); }
.hero__facts li { display: flex; align-items: center; gap: 7px; }
.hero__facts .gi { color: var(--red); }
.hero__media { background: var(--grey); border-radius: var(--radius); position: relative; overflow: hidden; }
.hero__media::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 5px; background: var(--red); }
.hero__media img { width: 100%; mix-blend-mode: multiply; }

/* ---------- Kafelki kategorii ---------- */
.catgrid { display: grid; gap: 16px; }
@media (min-width: 700px) { .catgrid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .catgrid { grid-template-columns: repeat(3, 1fr); } }
.cattile { display: grid; grid-template-columns: 38% 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.cattile:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-2px); }
@media (min-width: 700px) { .cattile { grid-template-columns: 1fr; } }
.cattile__media { background: var(--grey); display: flex; align-items: center; justify-content: center; padding: 14px; aspect-ratio: auto; }
@media (min-width: 700px) { .cattile__media { aspect-ratio: 4 / 3; padding: 22px; } }
.cattile__media img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
@media (min-width: 700px) { .cattile__media img { height: 100%; } }
.cattile--wide .cattile__media img { width: 100%; height: auto; }
.cattile__body { padding: 16px 16px 14px; display: flex; flex-direction: column; }
@media (min-width: 700px) { .cattile__body { padding: 22px 22px 18px; } }
.cattile__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; margin-bottom: 12px; }
.cattile h3 { margin-bottom: 6px; }
.cattile p { color: var(--muted); font-size: .93rem; margin-bottom: 14px; }
.cattile__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); font-size: .88rem; font-weight: 700; color: var(--ink); }
.cattile__foot .gi { color: var(--red); transition: transform .15s; }
.cattile:hover .cattile__foot .gi { transform: translateX(4px); }
.cattile--guide { grid-template-columns: 1fr; background: var(--ink); border-color: var(--ink); color: #fff; }
.cattile--guide h3 { color: #fff; font-size: 1.35rem; }
.cattile--guide p { color: #c9c9c9; }
.cattile--guide .cattile__body { padding: 26px; justify-content: center; }
.cattile--guide .cattile__icon { background: var(--red); color: #fff; }
.cattile--guide .cattile__foot { color: #fff; border-color: #3a3a3a; }

/* ---------- Showroom ---------- */
.showroom { padding: 0 0 8px; }
.showroom img { width: 100%; border-radius: var(--radius); aspect-ratio: 1168 / 784; object-fit: cover; }
@media (min-width: 960px) { .showroom img { aspect-ratio: 21 / 10; } }

/* ---------- Korzyści ---------- */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .benefits { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.benefit { background: var(--white); border-radius: var(--radius); padding: 26px 22px; border-top: 3px solid var(--red); }
.benefit__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--red); margin-bottom: 16px; }
.benefit p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Karty produktów ---------- */
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .pgrid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1100px) { .pgrid--4 { grid-template-columns: repeat(4, 1fr); } }
.pcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; min-width: 0; }
.pcard:hover { border-color: var(--red); box-shadow: var(--shadow); }
.pcard[hidden] { display: none; }
.pcard__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.pcard__media { background: var(--grey); aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; padding: 14px; }
.pcard__media img { height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s; }
.pcard:hover .pcard__media img { transform: scale(1.03); }
.pcard__body { padding: 14px 14px 16px; display: flex; flex-direction: column; flex: 1; }
@media (min-width: 700px) { .pcard__body { padding: 16px 18px 18px; } }
.pcard__type { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.pcard__name { font-size: 1rem; margin-bottom: 10px; }
.pcard__tags { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .78rem; color: var(--muted-2); }
.pcard__tags li { display: inline-flex; align-items: center; gap: 6px; background: var(--grey); border-radius: 99px; padding: 3px 10px; }
.pcard__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 700; color: var(--ink); }
.pcard:hover .pcard__more { color: var(--red); }
@media (max-width: 699px) { .pcard__more-x { display: none; } .pcard__more { text-transform: capitalize; } .topline__more { display: none; } }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .25); flex: none; }
.swatch--bialy { background: #fff; }
.swatch--czarny { background: #1a1a1a; }
.swatch--grafitowy { background: linear-gradient(135deg, #8d9096, #55585d); }

/* ---------- Karty porad ---------- */
.agrid { display: grid; gap: 18px; }
@media (min-width: 700px) { .agrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .agrid { grid-template-columns: repeat(3, 1fr); gap: 22px; } .agrid--2 { grid-template-columns: repeat(2, 1fr); } }
.acard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.acard:hover { border-color: var(--red); box-shadow: var(--shadow); }
.acard__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.acard__media { background: var(--grey); aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; padding: 12px; overflow: hidden; }
.acard__media img { height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.acard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.acard__meta { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
.acard__title { font-size: 1.15rem; margin-bottom: 8px; }
.acard p { color: var(--muted); font-size: .93rem; }
.acard__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--red); }

/* ---------- Kategoria ---------- */
.cathero { background: var(--grey-2); border-bottom: 1px solid var(--line); padding: 26px 0 40px; }
.cathero__grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .cathero { padding: 30px 0 56px; } .cathero__grid { grid-template-columns: 1.25fr 1fr; gap: 56px; } }
.cathero__icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--red); color: #fff; margin-bottom: 16px; }
.cathero__lead { font-size: 1.1rem; color: var(--muted-2); max-width: 36em; margin-bottom: 24px; }
.cathero__media { background: var(--grey); border-radius: var(--radius); display: flex; justify-content: center; align-items: center; padding: 20px; max-height: 420px; aspect-ratio: 4 / 3; }
.cathero__media img { height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.cathero__media--wide { padding: 0; }
.cathero__media--wide img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 959px) { .cathero__media { max-height: 300px; } }

.shop { display: grid; gap: 22px; }
@media (min-width: 960px) { .shop { grid-template-columns: 250px 1fr; gap: 36px; align-items: start; } }
.filters__box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
@media (min-width: 960px) { .filters { position: sticky; top: 20px; } }
.filters__box summary { display: flex; align-items: center; gap: 8px; padding: 14px 18px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.filters__box summary::-webkit-details-marker { display: none; }
.filters__box summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s; }
.filters__box[open] summary::after { transform: rotate(-135deg); }
.filters__box[open] summary { border-bottom: 1px solid var(--line); }
.filters fieldset { border: 0; margin: 0; padding: 16px 18px; }
.filters fieldset + fieldset { border-top: 1px solid var(--line); }
.filters legend { float: left; width: 100%; padding: 0; margin-bottom: 10px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.chip { display: inline-block; margin: 0 6px 8px 0; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 99px; font-size: .87rem; font-weight: 600; color: var(--muted-2); transition: border-color .15s, background-color .15s, color .15s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.filters__cats { list-style: none; margin: 0; padding: 0; clear: both; }
.filters__cats a { display: flex; align-items: center; gap: 9px; padding: 7px 0; font-size: .92rem; text-decoration: none; color: var(--muted-2); }
.filters__cats a .gi { color: var(--red); }
.filters__cats a:hover { color: var(--red); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.toolbar__count { margin: 0; color: var(--muted); font-size: .92rem; }
.toolbar__count strong { color: var(--ink); }
.toolbar__reset { background: none; border: 0; padding: 4px 0; color: var(--red); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; }
.toolbar__reset[hidden], .pgrid__empty[hidden] { display: none; }
.pgrid__empty { padding: 30px; text-align: center; background: var(--grey); border-radius: var(--radius); color: var(--muted); }

/* ---------- Treść SEO, opisy ---------- */
.prose-wrap { display: grid; gap: 36px; }
@media (min-width: 960px) { .prose-wrap { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; } }
.prose { max-width: 760px; min-width: 0; }
.prose h2 { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem); margin-top: 1.7em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose a { color: var(--red); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 24px; margin-bottom: 8px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 3px; background: var(--red); }
.prose strong { color: var(--ink); }
.related-guides { display: grid; gap: 16px; }
.related-guides > h2 { font-size: 1.2rem; margin: 0; }
@media (min-width: 960px) { .related-guides { position: sticky; top: 20px; } }

/* ---------- Produkt ---------- */
.product { padding: 26px 0 56px; }
.product__grid { display: grid; gap: 30px; }
@media (min-width: 960px) { .product { padding: 30px 0 80px; } .product__grid { grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; } }
.product__media { background: var(--grey); border-radius: var(--radius); display: flex; justify-content: center; padding: 28px; aspect-ratio: 1 / 1; }
.product__media img { height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
@media (min-width: 960px) { .product__media { position: sticky; top: 20px; aspect-ratio: 5 / 6; } }
.product__cat { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-weight: 700; font-size: .85rem; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.product__lead { font-size: 1.1rem; color: var(--muted-2); }
.product__benefits { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.product__benefits li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.product__benefits .gi { color: var(--red); margin-top: 2px; }
.specs { width: 100%; border-collapse: collapse; font-size: .95rem; margin-bottom: 20px; }
.specs caption { text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--ink); padding-bottom: 10px; }
.specs th, .specs td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 42%; font-weight: 600; color: var(--muted); background: var(--grey-2); }
.specs td { color: var(--ink); }
.product__also { font-size: .92rem; color: var(--muted); }
.product__also a { color: var(--red); font-weight: 600; margin-left: 4px; }

/* ---------- Nagłówek strony / wpis ---------- */
.pagehead { background: var(--grey-2); border-bottom: 1px solid var(--line); padding: 26px 0 40px; }
@media (min-width: 960px) { .pagehead { padding: 30px 0 52px; } }
.pagehead h1 { max-width: 22em; }
.pagehead__lead { font-size: 1.1rem; color: var(--muted-2); max-width: 44em; }
.pagehead--center { text-align: center; padding: 80px 0; }
.pagehead--center h1, .pagehead--center .pagehead__lead { margin-left: auto; margin-right: auto; }
.pagehead--center .hero__cta { justify-content: center; }
.post__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; font-size: .88rem; color: var(--muted); }
.post__meta span { display: inline-flex; align-items: center; gap: 6px; }
.post__grid { display: grid; gap: 30px; padding-top: 36px; padding-bottom: 60px; }
@media (min-width: 960px) { .post__grid { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; padding-top: 52px; padding-bottom: 84px; } .post__side { position: sticky; top: 20px; align-self: start; } }
.post__main { min-width: 0; }
.post__cover { margin: 0 0 32px; background: var(--grey); border-radius: var(--radius); aspect-ratio: 16 / 8; display: flex; justify-content: center; align-items: center; padding: 16px; overflow: hidden; }
.post__cover img { height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.post .prose { font-size: 1.04rem; }
.toc, .side-cats { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--white); }
.side-cats { margin-top: 16px; }
.toc h2, .side-cats h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; font-size: .9rem; }
.toc li { margin-bottom: 7px; }
.toc li::marker { color: var(--red); font-weight: 700; }
.toc a, .side-cats a { color: var(--muted-2); text-decoration: none; }
.toc a:hover, .side-cats a:hover { color: var(--red); }
.side-cats ul { list-style: none; margin: 0; padding: 0; }
.side-cats a { display: flex; align-items: center; gap: 9px; padding: 6px 0; font-size: .92rem; }
.side-cats .gi { color: var(--red); }
@media (max-width: 959px) { .side-cats { display: none; } }

/* ---------- Stopka ---------- */
.sitefoot { background: var(--grey); border-top: 4px solid var(--red); margin-top: 0; }
.sitefoot__grid { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 40px; }
@media (min-width: 800px) { .sitefoot__grid { grid-template-columns: 1.3fr 1fr 1.2fr; gap: 48px; } }
.sitefoot__about img { height: 60px; width: auto; margin-bottom: 16px; }
.sitefoot__about p { color: var(--muted); font-size: .93rem; max-width: 30em; }
.sitefoot h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink); margin-bottom: 14px; }
.sitefoot ul { list-style: none; margin: 0; padding: 0; }
.sitefoot li { margin-bottom: 8px; }
.sitefoot a { color: var(--muted-2); text-decoration: none; font-size: .93rem; }
.sitefoot a:hover { color: var(--red); }
.sitefoot__bottom { border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.sitefoot__bottom .wrap { padding-top: 16px; padding-bottom: 16px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}
