/* Blog sensoryczny — komponenty (mokap) */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--sage-d); text-underline-offset: 3px; }
a:hover { color: var(--terra-d); }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--ink); margin: 0; font-weight: 600; }
p { margin: 0 0 1.1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 200; border-radius: 6px; }
.skip:focus { left: 8px; }

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 .95rem/1 var(--font-body); padding: 13px 20px; border-radius: 999px;
  border: 2px solid transparent; text-decoration: none; cursor: pointer; min-height: 44px;
}
.btn--primary { background: var(--terra); color: #fff; }
.btn--primary:hover { background: var(--terra-d); color: #fff; }
.btn--ghost { background: transparent; color: var(--sage-d); border-color: var(--sage); }
.btn--ghost:hover { background: var(--sage-l); color: var(--sage-d); }
.pill {
  display: inline-block; font: 600 .75rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 11px; border-radius: 999px; background: var(--sage-l); color: var(--sage-d); text-decoration: none;
}
.eyebrow { font: 700 .78rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--terra-d); margin-bottom: 12px; display: block; }

/* ---------- nagłówek (sticky, 64 px, bez banerów) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(251, 247, 240, .96); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 34px; height: 34px; flex: none; }
.brand > span { min-width: 0; }
.brand b { font: 700 1.15rem/1 var(--font-head); letter-spacing: -.01em; }
.brand small { display: block; font: 500 .68rem/1.2 var(--font-body); color: var(--ink-3); margin-top: 3px; letter-spacing: .02em; }
.nav { display: flex; gap: 4px; margin: 0 auto 0 8px; padding: 0; list-style: none; }
.nav a {
  display: block; padding: 10px 11px; border-radius: 8px; font: 600 .9rem/1 var(--font-body);
  color: var(--ink-2); text-decoration: none; white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--sage-l); color: var(--sage-d); }
.header-tools { display: flex; align-items: center; gap: 6px; flex: none; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-2);
  display: grid; place-items: center; cursor: pointer;
}
.icon-btn:hover { background: var(--sage-l); }
.icon-btn svg { width: 22px; height: 22px; }
.menu-toggle { display: none; }
@media (max-width: 1279px) { /* marka + 7 pozycji + narzędzia potrzebują ok. 1260 px */
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h); margin: 0; padding: 12px var(--gutter) 20px;
    background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; gap: 2px; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1rem; }
  .menu-toggle { display: grid; }
  .site-header .container { gap: 12px; }
  .header-tools { margin-left: auto; }
  .header-tools .btn { display: none; }
}
@media (max-width: 399px) {
  .site-header .container { gap: 8px; }
  .brand { gap: 6px; }
  .brand b { font-size: 1rem; }
  .brand small { font-size: .6rem; }
}
@media (max-width: 360px) {
  :root { --gutter: 14px; }
  .site-header .container { gap: 6px; }
  .brand small { display: none; }
  .brand img { width: 30px; height: 30px; }
}

/* ---------- hero ---------- */
.hero { padding: 56px 0 48px; background: linear-gradient(180deg, var(--sage-l) 0%, var(--bg) 100%); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.02em; margin-bottom: 18px; }
.hero__lead { font-size: 1.2rem; color: var(--ink-2); max-width: 36em; margin-bottom: 26px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__art { aspect-ratio: 1 / 1; max-width: 420px; justify-self: end; width: 100%; border-radius: 50% 50% 46% 54% / 52% 48% 52% 48%; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; }
.hero__art img { width: 78%; height: auto; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font: 600 .88rem/1.3 var(--font-body); color: var(--ink-2); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--sage); flex: none; }
@media (max-width: 860px) {
  .hero { padding: 32px 0 32px; }
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__art { display: none; } /* ozdoba nie spycha nagłówka i przycisku poniżej zgięcia */
}

/* ---------- sekcje ---------- */
.section { padding: 56px 0; }
.section--tint { background: var(--surface-2); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section__head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.01em; }
.section__head p { margin: 8px 0 0; color: var(--ink-2); max-width: 44em; }
.link-arrow { font: 600 .95rem/1 var(--font-body); text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; }

/* ---------- karty ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; } }

.cat-card {
  display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.cat-card__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: var(--ink); }
.cat-card__icon svg { width: 30px; height: 30px; }
.cat-card h3 { font-size: 1.3rem; }
.cat-card p { color: var(--ink-2); font-size: 1rem; line-height: 1.55; margin: 0; }
.cat-card__meta { margin-top: auto; padding-top: 10px; font: 600 .84rem/1 var(--font-body); color: var(--ink-3); }
.tint-sage { background: var(--sage-l); } .tint-terra { background: var(--terra-l); } .tint-ochre { background: var(--ochre-l); }
.tint-blue { background: var(--blue-l); } .tint-plum { background: var(--plum-l); } .tint-olive { background: var(--olive-l); }

.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); }
.post-card:hover { box-shadow: var(--shadow); color: var(--ink); }
.post-card__img { aspect-ratio: 16 / 9; display: grid; place-items: center; color: var(--ink); }
.post-card__img svg { width: 56px; height: 56px; opacity: .85; }
.post-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card h3 { font-size: 1.2rem; }
.post-card p { margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.55; }
.post-card__meta { margin-top: auto; padding-top: 6px; font: 500 .82rem/1.3 var(--font-body); color: var(--ink-3); display: flex; gap: 8px; flex-wrap: wrap; }
.post-card--wide { flex-direction: row; }
.post-card--wide .post-card__img { aspect-ratio: auto; width: 38%; flex: none; }
@media (max-width: 620px) { .post-card--wide { flex-direction: column; } .post-card--wide .post-card__img { width: 100%; aspect-ratio: 16/9; } }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } }
.guide-card { padding: 30px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); border: 1px solid transparent; }
.guide-card:hover { color: var(--ink); box-shadow: var(--shadow); }
.guide-card h3 { font-size: 1.6rem; }
.guide-card p { margin: 0; color: var(--ink-2); }
.guide-card .link-arrow { margin-top: auto; padding-top: 8px; color: var(--sage-d); }

/* ---------- materiał do pobrania ---------- */
.download-card { background: var(--sage-d); color: #fff; border-radius: var(--radius); padding: 36px; display: grid; grid-template-columns: 1.3fr auto; gap: 28px; align-items: center; }
.download-card h2, .download-card h3 { color: #fff; font-size: 1.6rem; margin-bottom: 10px; }
.download-card p { color: #e6efe9; margin: 0; }
.download-card .btn--primary { background: var(--terra); }
.download-card .btn--primary:hover { background: var(--terra-d); }
@media (max-width: 760px) { .download-card { grid-template-columns: 1fr; padding: 26px 22px; } }

/* ---------- stopka ---------- */
.site-footer { background: #232b27; color: #d6dcd8; padding: 48px 0 28px; margin-top: 40px; font-size: .95rem; }
.site-footer a { color: #e9efe9; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font: 700 .8rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-note { margin-top: 32px; padding-top: 20px; border-top: 1px solid #3a4540; font-size: .85rem; color: #aab4ae; display: grid; gap: 8px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- breadcrumb ---------- */
.breadcrumb { font: 500 .88rem/1.4 var(--font-body); color: var(--ink-3); margin: 24px 0 18px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--ink-3); }
.breadcrumb a { color: var(--ink-2); }

/* ---------- strona działu ---------- */
.cat-hero { padding: 8px 0 36px; }
.cat-hero__box { border-radius: var(--radius); padding: 40px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.cat-hero__icon { width: 96px; height: 96px; border-radius: 28px; background: rgba(255,255,255,.7); display: grid; place-items: center; }
.cat-hero__icon svg { width: 52px; height: 52px; }
.cat-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -.02em; margin-bottom: 12px; }
.cat-hero p { margin: 0; color: var(--ink-2); max-width: 46em; font-size: 1.1rem; }
@media (max-width: 620px) { .cat-hero__box { grid-template-columns: 1fr; padding: 26px 22px; } .cat-hero__icon { width: 68px; height: 68px; } }
.cat-layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--sidebar); gap: 48px; }
.cat-layout > * { min-width: 0; }
@media (max-width: 1023px) { .cat-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.guide-intro h2 { font-size: 1.6rem; margin: 0 0 12px; }
.guide-intro { max-width: var(--measure); }
.topic-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.topic-list a { display: flex; gap: 12px; align-items: baseline; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1rem; line-height: 1.4; }
.topic-list a:hover { border-color: var(--sage); }
.topic-list b { font: 700 .8rem/1 var(--font-body); color: var(--sage-d); background: var(--sage-l); border-radius: 999px; padding: 6px 9px; flex: none; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); margin-bottom: 10px; }
.faq summary { padding: 16px 18px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; min-height: 48px; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--sage-d); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--ink-2); }

/* ---------- artykuł ---------- */
.article-wrap { display: grid; grid-template-columns: minmax(0, var(--measure)) var(--sidebar); gap: 56px; justify-content: center; align-items: start; }
@media (max-width: 1099px) { .article-wrap { grid-template-columns: minmax(0, var(--measure)); } }
.article-head h1 { font-size: clamp(1.85rem, 3.4vw, 2.25rem); letter-spacing: -.015em; margin: 14px 0 14px; }
.article-head__top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font: 500 .88rem/1 var(--font-body); color: var(--ink-3); }
.lead { font-size: 1.2rem; color: var(--ink-2); line-height: 1.6; margin-bottom: 22px; }
.byline { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; padding: 18px 20px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); margin-bottom: 14px; }
.byline__who { display: flex; gap: 12px; align-items: center; font-size: .92rem; line-height: 1.35; }
.byline__who small { display: block; font: 600 .7rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.avatar { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--sage-l); border: 2px dashed var(--sage); display: grid; place-items: center; color: var(--sage-d); font: 700 .7rem/1 var(--font-body); }
.byline__dates { grid-column: 1 / -1; display: flex; gap: 8px 22px; flex-wrap: wrap; font: 500 .85rem/1.3 var(--font-body); color: var(--ink-3); padding-top: 12px; border-top: 1px solid var(--line); align-items: center; }
@media (max-width: 599px) {
  .byline { grid-template-columns: 1fr; gap: 12px; padding: 14px 16px; }
  .byline__who { font-size: .88rem; }
  .byline .avatar { width: 38px; height: 38px; font-size: .6rem; }
  .byline__dates { font-size: .82rem; gap: 6px 14px; }
  .textsize { margin-left: 0; }
  .article-head__top { gap: 8px; }
  .breadcrumb { margin: 16px 0 12px; }
  .lead { font-size: 1.1rem; }
}
.ph { background: var(--ochre-l); border-radius: 4px; padding: 0 5px; font-style: normal; } /* oznaczenie placeholderów */
.textsize { margin-left: auto; display: inline-flex; gap: 4px; align-items: center; }
.textsize button { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-family: var(--font-head); color: var(--ink-2); }
.textsize button[aria-pressed="true"] { background: var(--sage-d); color: #fff; border-color: var(--sage-d); }
.hero-fig { margin: 0 0 26px; border-radius: var(--radius); aspect-ratio: 16 / 8; display: grid; place-items: center; color: var(--ink); position: relative; }
.hero-fig svg { width: 84px; height: 84px; opacity: .8; }
.hero-fig figcaption { position: absolute; left: 14px; bottom: 10px; font: 500 .75rem/1 var(--font-body); color: var(--ink-3); }

.box { border-radius: var(--radius); padding: 20px 22px; margin: 0 0 24px; }
.box h2, .box h3 { font-size: 1.15rem; margin-bottom: 10px; }
.box ul { margin: 0; padding-left: 1.2em; }
.box li { margin-bottom: 6px; }
.box--tldr { background: var(--sage-l); border-left: 5px solid var(--sage); }
.box--flag { background: var(--terra-l); border-left: 5px solid var(--terra); }
.box--note { background: var(--surface-2); border: 1px solid var(--line); font-size: .95rem; color: var(--ink-2); }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 30px; }
.toc summary { padding: 16px 20px; font: 700 1rem/1 var(--font-body); cursor: pointer; min-height: 52px; display: flex; align-items: center; justify-content: space-between; list-style: none; }
.toc summary::after { content: "▾"; color: var(--sage-d); }
.toc[open] summary::after { content: "▴"; }
.toc ol { margin: 0; padding: 0 20px 18px 42px; font-size: .98rem; line-height: 1.5; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--ink-2); }

.prose h2 { font-size: 1.65rem; margin: 2.1em 0 .6em; letter-spacing: -.01em; }
.prose h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.prose th { background: var(--surface-2); font-weight: 700; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--terra); font-family: var(--font-head); font-size: 1.2rem; color: var(--ink-2); }
.sources { font-size: .92rem; color: var(--ink-2); }
.sources ol { padding-left: 1.3em; }
.author-box { display: flex; gap: 16px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin: 26px 0; font-size: .95rem; line-height: 1.55; }
.author-box .avatar { width: 64px; height: 64px; }
.related h2 { font-size: 1.5rem; margin: 40px 0 18px; }

/* ---------- sidebar ---------- */
.sidebar { display: grid; gap: 26px; align-content: start; }
.widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; font-size: .95rem; line-height: 1.5; }
.widget h2, .widget h3 { font-size: 1.05rem; margin-bottom: 12px; }
.widget ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.widget a { color: var(--ink); text-decoration: none; font-weight: 600; }
.widget a:hover { color: var(--terra-d); text-decoration: underline; }
.sticky-col { position: sticky; top: calc(var(--header-h) + 20px); }
.article-wrap > .sidebar { align-self: stretch; }
@media (max-width: 1099px) { .article-wrap > .sidebar { display: none; } }

/* ============ SLOTY REKLAMOWE ============
   Domyślnie ukryte. Widoczne po włączeniu reklam (js/ads.js) albo w podglądzie ?adpreview=1.
   Stała wysokość kontenera ogranicza przesunięcia układu (CLS). */
.ad-slot { display: none; margin: 32px auto; max-width: 100%; contain: layout; }
body.ads-on .ad-slot, body.ads-preview .ad-slot { display: block; }
.ad-slot__label { display: block; font: 500 .7rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); text-align: center; margin-bottom: 6px; }
.ad-slot__box { margin: 0 auto; display: grid; place-items: center; text-align: center; }
.ad-slot--incontent .ad-slot__box { width: 336px; min-height: 280px; }
.ad-slot--sidebar .ad-slot__box { width: 300px; min-height: 250px; }
.ad-slot--tall .ad-slot__box { width: 300px; min-height: 600px; }
.ad-slot--feed .ad-slot__box { width: 100%; min-height: 250px; }
@media (max-width: 599px) {
  .ad-slot--incontent .ad-slot__box { width: 300px; min-height: 250px; }
  .ad-slot--sidebar, .ad-slot--tall { display: none !important; }
}
/* podgląd układu (tylko ?adpreview=1) */
body.ads-preview .ad-slot__box {
  background: var(--ad-bg); border: 1px dashed var(--ad-line); border-radius: 6px; padding: 10px;
  background-image: repeating-linear-gradient(45deg, transparent 0 11px, rgba(0,0,0,.025) 11px 12px);
}
.ad-slot__tag { font: 600 .78rem/1.35 var(--font-body); color: var(--ink-2); }
.ad-slot__tag em { display: block; font-style: normal; font-weight: 500; color: var(--ink-3); font-size: .72rem; margin-top: 2px; }
/* strefy bez reklam (widoczne w podglądzie ?adpreview=1&zones=1) */
.no-ads-zone { position: relative; }
body.show-zones .no-ads-zone { outline: 2px dashed var(--zone); outline-offset: 12px; border-radius: 6px; }
body.show-zones .no-ads-zone::before {
  content: "STREFA BEZ REKLAM"; position: absolute; top: -26px; left: 0; z-index: 3;
  font: 700 .66rem/1 var(--font-body); letter-spacing: .06em; color: #fff; background: var(--zone); padding: 5px 8px; border-radius: 4px;
}

/* ---------- wyszukiwarka ---------- */
.search-box { display: flex; gap: 10px; margin: 8px 0 28px; max-width: 640px; }
.search-box input { flex: 1; min-width: 0; font: 1.05rem var(--font-body); padding: 14px 18px; border: 2px solid var(--ink-3); border-radius: 999px; background: var(--surface); min-height: 52px; color: var(--ink); }
.search-box input:focus { border-color: var(--ink); } /* kontur fokusu: globalny :focus-visible */
.search-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: var(--measure); }
.search-results a { display: block; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); text-decoration: none; color: var(--ink); }
.search-results a:hover { border-color: var(--sage); }
.search-results b { display: block; font: 600 1.15rem/1.3 var(--font-head); margin-bottom: 4px; }
.search-results span { color: var(--ink-2); font-size: .95rem; }
.search-results small { display: block; margin-top: 6px; color: var(--ink-3); font: 600 .75rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- strony tekstowe (prawne, kontakt) ---------- */
.legal { max-width: 760px; margin: 0 auto; padding-bottom: 24px; }
.legal h1 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); letter-spacing: -.015em; margin: 8px 0 12px; }
.legal .meta { color: var(--ink-3); font-size: .92rem; margin-bottom: 26px; }
.legal h2 { font-size: 1.4rem; margin: 2em 0 .5em; }
.legal ul, .legal ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.legal li { margin-bottom: .4em; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0 0 1.4em; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 700; background: var(--surface-2); white-space: nowrap; }
.todo { background: #ffe9a8; border-radius: 4px; padding: 0 5px; font-weight: 600; }
.badge-soon { display: inline-block; font: 700 .68rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-3); border: 1px solid var(--line); }
.post-card--soon { opacity: .85; }
.post-card--soon h3 { color: var(--ink-2); }
@media (max-width: 620px) { .post-card--soon .post-card__img { display: none; } .post-card--soon .post-card__body { padding: 16px 18px; } }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- karta do wydruku ---------- */
.review-pending { display: block; padding: 8px 12px; border-left: 3px solid var(--sage-d); background: var(--sage-l); color: var(--ink); font-size: .9rem; }
.sheet-tools { max-width: 820px; margin: 0 auto 18px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.sheet-tools p { width: 100%; margin: 4px 0 8px; }
.sheet .field small { display: block; color: var(--ink-3); font-size: .82rem; margin-top: 3px; }
.sheet-version { color: var(--ink-3); font-size: .85rem; }
.sheet { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; max-width: 820px; margin: 0 auto; }
.sheet h1 { font-size: 1.7rem; margin-bottom: 6px; }
.sheet .field { margin-top: 20px; }
.sheet .field b { display: block; font-size: .95rem; margin-bottom: 6px; }
.sheet .lines { border-bottom: 1px solid #9aa39e; height: 30px; }
.sheet .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sheet .checks { display: flex; gap: 18px; flex-wrap: wrap; font-size: .95rem; }
.sheet .checks span::before { content: "☐ "; }
.sheet .note { font-size: .85rem; color: var(--ink-3); margin-top: 26px; border-top: 1px solid var(--line); padding-top: 12px; }
@media (max-width: 620px) { .sheet { padding: 20px; } .sheet .grid2 { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
@media print {
  @page { size: A4; margin: 12mm; }
  .site-header, .site-footer, .ad-slot, .download-card, .no-print, .skip, .breadcrumb { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .sheet { border: 0; padding: 0; max-width: none; }
  .container { max-width: none; padding: 0; }
  .prose table { display: table; overflow: visible; table-layout: fixed; font-size: 9pt; }
  .prose th, .prose td { overflow-wrap: anywhere; }
  .prose tr { break-inside: avoid; }
  .sheet h1 { font-size: 20pt; line-height: 1.2; margin: 0 0 8px; }
  .sheet p { font-size: 9pt; line-height: 1.35; margin: 5px 0; }
  .sheet .field { margin-top: 9px; font-size: 10pt; break-inside: avoid; }
  .sheet .field small { font-size: 8pt; line-height: 1.25; }
  .sheet .lines { height: 22px; }
  .sheet .grid2 { grid-template-columns: 1fr 1fr; }
  .sheet .note { font-size: 8pt; margin-top: 10px; }
}

/* ilustracje wpisów (site-src/art/make_art.py) */
.post-card__img--art { padding: 0; overflow: hidden; }
.post-card__img--art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card--wide .post-card__img--art { aspect-ratio: auto; position: relative; min-height: 170px; }
.post-card--wide .post-card__img--art img { position: absolute; inset: 0; object-fit: contain; }  /* tło grafiki = kolor działu, więc kadr nie jest przycinany */
@media (max-width: 620px) { .post-card--wide .post-card__img--art { aspect-ratio: 16 / 9; min-height: 0; } }
.article-hero { margin: 0 0 24px; }
.article-hero img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
@media print { .article-hero, .post-card__img--art { display: none; } }
