/* Sowa-Med – main.css
   Jasny, medyczny układ: biel, błękit, mięta. Kolor bursztynowy zarezerwowany wyłącznie dla żółtej gorączki
   i ostrzeżeń o terminie – dzięki temu zawsze coś znaczy. */

:root {
	--ink: #11284a;
	--ink-2: #4a5b76;
	--blue: #1a6ad6;
	--blue-d: #1253ad;
	--blue-50: #f3f8fe;
	--blue-100: #e2edfb;
	--line: #e1e8f1;
	--mint: #0f9f8c;
	--mint-d: #0a7a6b;
	--mint-50: #e9f7f4;
	--amber: #f2b200;
	--amber-50: #fff6dc;
	--amber-ink: #6b4d00;
	--violet: #8467d4;
	--map-sea: #f4f8fd;
	--map-none: #e2e9f2;
	--map-zal: #5b9be6;
	--map-rut: #b9d5f5;
	--white: #fff;
	--shadow: 0 1px 2px rgba(17, 40, 74, .04), 0 10px 30px rgba(17, 40, 74, .07);
	--font: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--r: 10px;
	--r-lg: 16px;
	--wrap: 1180px;
	--gap: clamp(1rem, 2.5vw, 2rem);
	--s-band: clamp(3rem, 7vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
	margin: 0;
	font: 400 1.0625rem/1.6 var(--font);
	color: var(--ink);
	background: var(--white);
	text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.012em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.75rem); font-weight: 650; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
small { font-size: .85em; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--blue); color: var(--white); padding: .6rem 1rem; z-index: 100; font-weight: 700; }
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }

/* ---------- Przyciski i pola ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 48px; padding: .7rem 1.3rem;
	border: 1px solid var(--blue); border-radius: var(--r);
	background: var(--blue); color: var(--white);
	font: 700 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--blue-d); border-color: var(--blue-d); color: var(--white); }
.btn--yellow { background: var(--mint); border-color: var(--mint); color: var(--white); }
.btn--yellow:hover { background: var(--mint-d); border-color: var(--mint-d); color: var(--white); }
.btn--ghost { background: var(--white); color: var(--blue-d); border-color: var(--blue-100); }
.btn--ghost:hover { background: var(--blue-50); color: var(--blue-d); border-color: var(--blue); }
.field { display: grid; gap: .3rem; font-weight: 700; font-size: .9rem; }
.field small { font-weight: 400; }
.field input, .field select, .nav-search input {
	min-height: 48px; width: 100%;
	padding: .6rem .8rem;
	border: 1px solid #c7d4e5; border-radius: var(--r);
	background: var(--white); color: var(--ink);
	font: 400 1.0625rem/1.3 var(--font);
}
.field input:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-100); outline: none; }

/* ---------- Nagłówek ---------- */
.site-head { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.site-head__in { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; }
.brand__name { font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; }
.sowa-mark { flex: none; color: var(--blue); }
.nav-main { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.nav-main ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.nav-main a { display: block; padding: .5rem .75rem; color: var(--ink-2); font-weight: 600; text-decoration: none; border-radius: var(--r); }
.nav-main a:hover, .nav-main .current-menu-item > a, .nav-main [aria-current] { background: var(--blue-50); color: var(--blue-d); }
.nav-search input { min-height: 40px; width: 14rem; font-size: .95rem; border-width: 1px; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
	.nav-toggle {
		display: inline-flex; align-items: center; gap: .5rem; margin-left: auto;
		min-height: 44px; padding: .4rem .8rem; border: 1px solid var(--line); border-radius: var(--r);
		background: var(--white); color: var(--ink); font: 700 .95rem var(--font);
	}
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bars::before { top: -6px; }
	.nav-toggle__bars::after { top: 6px; }
	.nav-main { display: none; position: absolute; inset: 100% 0 auto; background: var(--white); border-bottom: 1px solid var(--line); padding: 1rem var(--gap) 1.5rem; flex-direction: column; align-items: stretch; }
	.nav-main.is-open { display: flex; }
	.nav-main ul { flex-direction: column; }
	.nav-main a { padding: .8rem .6rem; font-size: 1.1rem; }
	.nav-search input { width: 100%; }
}

/* ---------- Finder (hero z mapą) ---------- */
.finder { padding-block: clamp(2rem, 5vw, 3.5rem) var(--s-band); background: linear-gradient(var(--white), var(--white) 40%, var(--blue-50)); }
.finder__h1 { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; margin-bottom: .35em; }
.finder__lede { font-size: 1.15rem; max-width: 46ch; color: var(--ink-2); }
.finder__form { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; margin-top: 1.5rem; max-width: 820px; }
.field--grow { flex: 1 1 260px; }
.finder__stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); margin-top: 2rem; align-items: start; }
.map, .finder__panel { min-width: 0; }
@media (min-width: 1000px) { .finder__stage { grid-template-columns: minmax(0, 1fr) 380px; } }

.map { margin: 0; position: relative; }
.map__canvas { background: var(--map-sea); border: 1px solid var(--line); border-radius: var(--r-lg); aspect-ratio: 1000 / 480; overflow: hidden; position: relative; touch-action: manipulation; }
.map__canvas svg { display: block; width: 100%; height: 100%; }
.map__loading { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--ink-2); }
.map path { fill: var(--map-none); stroke: var(--white); stroke-width: .5; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill .15s; }
.map path[data-cat="zg"] { fill: var(--amber); }
.map path[data-cat="malaria"] { fill: var(--violet); }
.map path[data-cat="zalecane"] { fill: var(--map-zal); }
.map path[data-cat="zg"], .map path[data-cat="malaria"], .map path[data-cat="zalecane"], .map path[data-cat="rutynowe"] { stroke: var(--white); }
.map path[data-cat="rutynowe"] { fill: var(--map-rut); }
.map path:hover { stroke: var(--blue-d); stroke-width: 1.2; }
.map path.is-active { stroke: var(--blue-d); stroke-width: 2.2; filter: drop-shadow(0 0 4px rgba(26, 106, 214, .45)); }
.map .dot-marker { fill: var(--map-none); stroke: var(--blue-d); stroke-width: 1; vector-effect: non-scaling-stroke; cursor: pointer; }
.map .dot-marker[data-cat="zg"] { fill: var(--amber); }
.map .dot-marker[data-cat="malaria"] { fill: var(--violet); }
.map .dot-marker[data-cat="zalecane"] { fill: var(--map-zal); }
.map .dot-marker[data-cat="rutynowe"] { fill: var(--map-rut); }
@media (max-width: 700px) {
	.map__canvas { aspect-ratio: auto; height: 300px; overflow-x: auto; overscroll-behavior-x: contain; }
	.map__canvas svg { width: 640px; max-width: none; height: 300px; }
	.map__hint { display: block !important; }
}
.map__hint { display: none; margin: .5rem 0 0; font-size: .85rem; color: var(--ink-2); }
.finder__col { display: grid; gap: 1.5rem; min-width: 0; }
.finder__col .points { margin-top: 0; }
.map__tip { position: absolute; pointer-events: none; margin: 0; padding: .3rem .6rem; background: var(--ink); color: var(--white); font-size: .85rem; font-weight: 700; border-radius: 4px; transform: translate(-50%, calc(-100% - 10px)); white-space: nowrap; z-index: 2; }

.legend { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin-top: .9rem; font-size: .88rem; }
.legend__i { display: inline-flex; align-items: center; gap: .45rem; }
.legend__i::before, .dot::before { content: ""; width: .9rem; height: .9rem; border-radius: 3px; background: var(--map-none); flex: none; }
[data-cat="zg"].legend__i::before, .dot[data-cat="zg"]::before { background: var(--amber); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
[data-cat="malaria"].legend__i::before, .dot[data-cat="malaria"]::before { background: var(--violet); }
[data-cat="zalecane"].legend__i::before, .dot[data-cat="zalecane"]::before { background: var(--map-zal); }
[data-cat="rutynowe"].legend__i::before, .dot[data-cat="rutynowe"]::before { background: var(--map-rut); }

.finder__panel:focus { outline: none; }
@media (min-width: 1000px) { .finder__panel { position: sticky; top: 84px; } }

/* ---------- Żółta karta ---------- */
.ycard { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); overflow: hidden; box-shadow: var(--shadow); }
.ycard__head { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; background: var(--blue-50); color: var(--ink); border-bottom: 1px solid var(--line); }
.ycard[data-cat="zg"] .ycard__head { box-shadow: inset 0 4px 0 var(--amber); }
.ycard[data-cat="malaria"] .ycard__head { box-shadow: inset 0 4px 0 var(--violet); }
.ycard[data-cat="zalecane"] .ycard__head, .ycard[data-cat="rutynowe"] .ycard__head { box-shadow: inset 0 4px 0 var(--blue); }
.ycard__head > div { min-width: 0; }
.ycard__kicker { margin: 0; font-size: .8rem; font-weight: 700; color: var(--blue-d); }
.ycard__title { margin: 0; font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; }
.ycard__date { margin: .15rem 0 0; font-size: .82rem; color: var(--ink-2); }
.ycard__body { padding: .4rem 1.2rem 1.2rem; }
.ycard__tier { padding-top: .9rem; }
.ycard__tier h3 { display: inline-block; margin: 0 0 .2rem; padding: .2rem .7rem; font-size: .82rem; font-weight: 700; border-radius: 999px; background: var(--blue-100); color: var(--blue-d); }
.ycard__tier--wymagane h3 { background: var(--amber-50); color: var(--amber-ink); box-shadow: inset 0 0 0 1px var(--amber); }
.ycard__tier--rozwaz h3 { background: var(--mint-50); color: var(--mint-d); }
.ycard__tdesc { margin: 0 0 .3rem; font-size: .82rem; color: var(--ink-2); line-height: 1.4; }
.ycard__note { display: block; margin: .15rem 0; padding-left: .55rem; border-left: 2px solid var(--mint); font-size: .88rem; font-weight: 600; color: var(--mint-d); }
.ycard__tier ul { list-style: none; margin: 0; padding: 0; }
.ycard__tier li { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.ycard__tier li:last-child { border-bottom: 0; }
.ycard__v { display: block; font-weight: 700; }
.ycard__v a { color: var(--ink); }
.ycard__when { display: block; font-size: .88rem; color: var(--ink-2); line-height: 1.45; }
.ycard__late { display: inline-block; margin-top: .3rem; padding: .1rem .5rem; font-size: .8rem; font-weight: 700; background: var(--amber-50); color: var(--amber-ink); border-radius: 999px; }
.ycard__facts { margin: 1rem 0 0; display: grid; gap: .6rem; }
.ycard__facts div { padding: .65rem .8rem; background: var(--blue-50); border-radius: var(--r); }
.ycard__facts dt { font-weight: 800; font-size: .85rem; }
.ycard__facts dd { margin: .15rem 0 0; font-size: .92rem; }
.ycard__plain { margin: 0 0 .5rem; padding-left: 1.1rem; }
.ycard__actions { display: grid; gap: .6rem; margin-top: 1.1rem; }
.ycard__actions .btn { width: 100%; }
.ycard--empty .ycard__body p { margin-top: .9rem; }
.ycard__missing { margin-top: 1rem; }
.ycard__countdown { margin: .9rem 0 0; padding: .65rem .8rem; font-weight: 700; border-radius: var(--r); background: var(--blue-50); color: var(--blue-d); }
.ycard__countdown span { display: block; margin-top: .2rem; font-weight: 400; font-size: .9rem; }

/* ---------- Pasy sekcji ---------- */
.band { padding-block: var(--s-band); }
.band--mist { background: var(--blue-50); }
.band--ink { background: var(--mint-50); color: var(--ink); }
.band--ink a { color: var(--mint-d); }
.band__lede { max-width: 62ch; font-size: 1.1rem; }
.band__note { max-width: 62ch; margin-top: 1.5rem; font-weight: 600; }
.band__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.split { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; align-items: start; } }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1rem; }
.chips a, .chips--static li { display: inline-block; padding: .5rem .95rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; background: var(--white); }
.chips a:hover { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-d); }
.chips a[aria-current] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.chips--soft li { background: var(--mint-50); border-color: transparent; font-weight: 500; }
.chips__all { border-style: dashed !important; }

/* Oś czasu – to rzeczywista sekwencja, więc numeracja ma sens */
.timeline { list-style: none; counter-reset: t; display: grid; gap: 0; margin: 2rem 0 0; padding: 0; }
@media (min-width: 860px) { .timeline { grid-template-columns: repeat(4, 1fr); } }
.timeline li { counter-increment: t; position: relative; padding: 2.6rem 1.2rem 1.2rem 0; border-top: 2px solid var(--blue-100); }
.timeline li::before { content: counter(t); position: absolute; top: -1.05rem; left: 0; width: 2rem; height: 2rem; display: grid; place-items: center; background: var(--blue); color: var(--white); font-weight: 700; border-radius: 50%; box-shadow: 0 0 0 5px var(--blue-50); }
.timeline li:nth-child(3)::before { background: var(--amber); color: var(--ink); }
.timeline strong { display: block; font-size: 1.1rem; margin-bottom: .3rem; }
.timeline span { display: block; color: var(--ink-2); }

.woj { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .5rem; }
.woj li { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.woj li:hover { border-color: var(--blue-100); background: var(--blue-50); }
.woj a { flex: 1; padding: .75rem .9rem; color: var(--ink); font-weight: 600; text-decoration: none; }
.woj a:hover { text-decoration: underline; }
.woj span { padding-right: .9rem; font-size: .85rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.woj--wide { margin-bottom: 3rem; }

.dlist { list-style: none; margin: 1rem 0 0; padding: 0; columns: 3 220px; column-gap: 2rem; }
.dlist li { break-inside: avoid; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.dlist a { font-weight: 600; }

.grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 1.25rem; }
.teaser { padding: 1.25rem 1.3rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.teaser:hover { border-color: var(--blue-100); box-shadow: var(--shadow); }
.teaser__title { font-size: 1.2rem; margin-bottom: .4rem; }
.teaser__title a { color: var(--ink); text-decoration: none; }
.teaser__title a:hover { text-decoration: underline; }
.teaser p { margin-bottom: .5rem; color: var(--ink-2); }
.teaser__meta { font-size: .85rem; }

.experts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.experts li { display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; align-items: center; }
.experts img { grid-row: span 2; border-radius: 50%; width: 64px; height: 64px; object-fit: cover; }
.experts a { font-weight: 700; }
.experts span { font-size: .9rem; opacity: .85; }

/* ---------- Strony treści ---------- */
.crumbs { padding-top: 1.25rem; font-size: .88rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: .3rem; color: var(--map-zal); }
.crumbs a { color: var(--ink-2); }
.page-head { padding-block: 1.25rem 1.5rem; }
.page-head__lede { font-size: 1.15rem; max-width: 62ch; color: var(--ink-2); }
.page-head__topic { margin-bottom: .4rem; font-weight: 700; }
.trust { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; font-size: .92rem; color: var(--ink-2); margin: 0 0 .3rem; }

.layout { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); padding-bottom: var(--s-band); }
@media (min-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr) 360px; } .layout--article .layout__side { padding-top: 7rem; } }
@media (max-width: 999px) { .single-kraj .layout__side { order: -1; } }
.sticky { display: grid; gap: 1.25rem; }
@media (min-width: 1000px) { .sticky { position: sticky; top: 88px; } }

.prose { max-width: 72ch; }
.prose--narrow { margin-inline: auto; padding-bottom: var(--s-band); }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.5rem 0; padding: .2rem 0 .2rem 1.2rem; border-left: 4px solid var(--amber); font-size: 1.1rem; }
.prose figure { margin: 1.5rem 0; }
.prose figcaption { font-size: .88rem; color: var(--ink-2); }
.prose img { border-radius: var(--r); }
.table-wrap, .prose .wp-block-table { overflow-x: auto; }
.prose table, .facts { width: 100%; border-collapse: collapse; font-size: .97rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .6rem .7rem; border-bottom: 1px solid var(--line); }
.prose thead th { border-bottom: 2px solid var(--ink); }
.facts th { width: 38%; font-weight: 700; }

.bluf { margin: 0 0 2rem; padding: 1.1rem 1.3rem; background: var(--blue-50); border-left: 4px solid var(--blue); border-radius: 0 var(--r) var(--r) 0; }
.bluf h2 { color: var(--blue-d); }
.bluf h2 { margin: 0 0 .4rem; font-size: 1rem; }
.bluf p { font-size: 1.1rem; }
.bluf p:last-child { margin-bottom: 0; }
.toc { margin: 0 0 2rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--r); }
.toc__title { font-weight: 800; margin-bottom: .4rem; }
.toc ol { margin: 0; }
.limits { margin-top: 2.5rem; padding: 1.1rem 1.3rem; background: var(--mint-50); border-radius: var(--r); }
.limits h2 { margin-top: 0; font-size: 1.25rem; }
.limits p:last-child { margin-bottom: 0; }

.faq { margin-top: 2.5rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: .9rem 2rem .9rem 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .7rem; font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq summary h3 { display: inline; margin: 0; font-size: 1.08rem; }
.faq__a { padding-bottom: .9rem; }
.sources { margin-top: 2.5rem; font-size: .93rem; }
.sources ol { padding-left: 1.3rem; }
.reviewer { display: flex; gap: 1rem; align-items: center; margin-top: 2.5rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r); }
.reviewer__img { border-radius: 50%; width: 72px; height: 72px; object-fit: cover; }
.reviewer p { margin: 0; }
.reviewer__label { font-size: .85rem; color: var(--ink-2); }
.reviewer__name { font-weight: 800; font-size: 1.1rem; }
.reviewer__meta { font-size: .9rem; }

.cta { padding: 1.2rem 1.3rem; background: var(--mint-50); color: var(--ink); border-radius: var(--r-lg); }
.cta__lead { font-weight: 700; }
.cta .btn { width: 100%; }
.cta__note { margin: .7rem 0 0; font-size: .85rem; }
.side-box { padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r); }
.side-box__h { font-weight: 800; margin-bottom: .4rem; }
.side-box ul { margin: 0; padding-left: 1.1rem; }

/* ---------- Punkty ---------- */
.points { margin-top: 2.5rem; padding: 1.3rem; background: var(--blue-50); border-radius: var(--r-lg); }
.points h2 { margin-top: 0; }
.points .field { max-width: 360px; }
.points__list { margin-top: 1rem; display: grid; gap: .6rem; }
.points__gis { margin: 1rem 0 0; font-size: .88rem; }
.finder [data-finder-points] .points { background: var(--white); border: 1px solid var(--line); }
.pcard { list-style: none; padding: .95rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.pcard h3, .pcard h4 { margin: 0 0 .2rem; font-size: 1.05rem; }
.pcard p { margin: 0 0 .2rem; font-size: .93rem; }
.pcard__meta { color: var(--ink-2); }
.pcard.is-match { border-color: var(--mint); box-shadow: inset 4px 0 0 var(--mint); }
.pcard__has { font-size: .85rem; color: var(--ink-2); }
.plist { margin: 0 0 2rem; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.vfilter { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: 0 0 2rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r); }
.vfilter legend { font-weight: 800; padding: 0 .3rem; }
.vfilter label { display: inline-flex; align-items: center; gap: .35rem; min-height: 36px; }
.badge { display: inline-block; margin: .3rem 0; padding: .2rem .55rem; font-size: .85rem; font-weight: 700; border-radius: 3px; }
.badge--zg { background: var(--amber-50); color: var(--amber-ink); box-shadow: inset 0 0 0 1px var(--amber); }
.contact { display: grid; gap: .6rem; margin: 1rem 0 2rem; }
.contact div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.contact dt { font-weight: 700; }
.contact dd { margin: 0; }
.note { font-size: .92rem; color: var(--ink-2); }

/* ---------- Lista krajów ---------- */
.field--filter { max-width: 420px; margin-top: 1rem; }
.region { margin-bottom: 2.5rem; }
.region h2 { padding-bottom: .4rem; border-bottom: 1px solid var(--line); }
.clist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 2rem; }
.clist li { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.clist a { font-weight: 700; }
.dot { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; color: var(--ink-2); white-space: nowrap; }
.empty { padding: 1.2rem; background: var(--blue-50); border-radius: var(--r); max-width: 72ch; }
.search-form { display: flex; gap: .6rem; align-items: end; flex-wrap: wrap; max-width: 640px; }
.expert-head { display: flex; gap: 1.2rem; align-items: center; }
.expert-head__img { border-radius: 50%; width: 120px; height: 120px; object-fit: cover; }
.nav-links { display: flex; gap: .5rem; margin-top: 2rem; flex-wrap: wrap; }
.page-numbers { padding: .5rem .8rem; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; }
.page-numbers.current { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ---------- Stopka ---------- */
.site-foot { background: var(--blue-50); color: var(--ink-2); font-size: .95rem; border-top: 1px solid var(--line); }
.site-foot a { color: var(--blue-d); }
.site-foot__in { display: grid; gap: 2rem; padding-block: 3.5rem 2rem; }
@media (min-width: 860px) { .site-foot__in { grid-template-columns: 2fr 1fr 1.4fr; } }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-foot__h { font-weight: 700; color: var(--ink); margin-bottom: .6rem; }
.site-foot__disclaimer { margin-top: 1rem; max-width: 52ch; }
.site-foot__bottom { padding-block: 1.25rem 2rem; border-top: 1px solid var(--line); font-size: .85rem; }
.site-foot .legal { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1rem; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
	.site-head, .site-foot, .cta, .points, .nav-toggle, .finder__form, .map { display: none !important; }
	.layout { display: block; }
	.ycard { break-inside: avoid; }
}

/* Na telefonie: mapa → karta → punkty */
@media (max-width: 999px) {
	.finder__col { display: contents; }
	.finder__panel { order: 1; }
	.finder [data-finder-points] { order: 2; }
}

/* =========================================================================
   1.3 – nagłówek kraju, tabela, planer, detale i animacje
   ========================================================================= */
@view-transition { navigation: auto; }
:root { interpolate-size: allow-keywords; }
html:has(.pagenav) { scroll-padding-top: 8.5rem; }

/* Rozwijane odpowiedzi – płynne otwieranie tam, gdzie przeglądarka wspiera ::details-content */
details::details-content { block-size: 0; overflow: hidden; transition: block-size .28s ease, content-visibility .28s allow-discrete; }
details[open]::details-content { block-size: auto; }
.faq summary::after { transition: transform .2s ease; }
.faq details[open] summary::after { content: "+"; transform: rotate(45deg); }
.faq summary:hover h3 { color: var(--blue-d); }

/* Nagłówek kraju */
.khero { background: linear-gradient(180deg, var(--blue-50), var(--white) 85%); border-bottom: 1px solid var(--line); }
.khero__in { display: grid; gap: clamp(1.25rem, 3vw, 3rem); align-items: center; padding-block: .5rem clamp(1.5rem, 4vw, 2.75rem); }
@media (min-width: 1000px) { .khero__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.khero .crumbs { padding-top: 1rem; }
.khero__region { margin: .75rem 0 .25rem; font-size: .9rem; font-weight: 700; color: var(--blue-d); }
.khero__h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); margin-bottom: .6rem; }
.khero__media { position: relative; margin: 0; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--map-sea); box-shadow: var(--shadow); }
.khero__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.khero__pin { position: absolute; left: 12px; bottom: 12px; width: 34%; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; border: 3px solid var(--white); box-shadow: 0 4px 16px rgba(17, 40, 74, .18); background: var(--map-sea); }
.khero__credit { position: absolute; right: 10px; bottom: 10px; padding: .15rem .5rem; font-size: .75rem; color: var(--ink-2); background: rgba(255, 255, 255, .85); border-radius: 999px; }

.kmap { display: block; width: 100%; height: 100%; }
.kmap__sea { fill: var(--map-sea); }
.kmap__land path { fill: var(--map-none); stroke: var(--white); stroke-width: .6; vector-effect: non-scaling-stroke; }
.kmap__target { fill: var(--blue); stroke: var(--blue-d); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; animation: kmap-draw 1.4s cubic-bezier(.4, 0, .2, 1) .15s backwards; }
.kmap__ring { fill: none; stroke: var(--blue-d); stroke-width: 2; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: kmap-ring 2.4s ease-out 1.2s 2 backwards; }
@keyframes kmap-draw { from { stroke-dashoffset: 1; fill-opacity: 0; } 60% { fill-opacity: 0; } to { stroke-dashoffset: 0; fill-opacity: 1; } }
@keyframes kmap-ring { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

/* Szybkie fakty */
.facts-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 1.25rem 0 0; }
@media (min-width: 640px) { .facts-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts-row__i { position: relative; padding: .7rem .8rem .7rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.facts-row__i::before { content: ""; position: absolute; left: 0; top: .7rem; bottom: .7rem; width: 3px; border-radius: 0 3px 3px 0; background: var(--blue); }
.facts-row__i--req::before { background: var(--amber); }
.facts-row__i--ok::before { background: var(--mint); }
.facts-row__i--mal::before { background: var(--violet); }
.facts-row dt { font-size: .78rem; color: var(--ink-2); }
.facts-row dd { margin: .1rem 0 0; font-weight: 700; font-size: .95rem; line-height: 1.3; }

/* Nawigacja po sekcjach */
.pagenav { position: sticky; top: 68px; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.pagenav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: .5rem 0; overflow-x: auto; scrollbar-width: none; }
.pagenav ul::-webkit-scrollbar { display: none; }
.pagenav a { display: block; white-space: nowrap; padding: .4rem .8rem; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: .92rem; text-decoration: none; transition: background .15s, color .15s; }
.pagenav a:hover { background: var(--blue-50); color: var(--blue-d); }
.pagenav a[aria-current] { background: var(--blue); color: var(--white); }
.single-kraj .layout { padding-top: 2rem; }
@media (min-width: 1000px) { .single-kraj .sticky { top: 128px; } }

/* Tabela szczepień */
.ktable table { font-size: .95rem; }
.ktable tbody tr { transition: background .15s; }
.ktable tbody tr:hover { background: var(--blue-50); }
.ktable th[scope="row"] { font-weight: 700; min-width: 11rem; }
.ktable th[scope="row"] a { color: var(--ink); }
.tier { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; background: var(--blue-100); color: var(--blue-d); }
.tier--wymagane { background: var(--amber-50); color: var(--amber-ink); box-shadow: inset 0 0 0 1px var(--amber); }
.tier--rozwaz { background: var(--mint-50); color: var(--mint-d); }
.tier--mal { background: #f1ecfb; color: #5b45a6; }

/* Planer */
.planner { margin-top: 2.5rem; padding: 1.3rem; background: var(--blue-50); border-radius: var(--r-lg); }
.planner h2 { margin-top: 0; }
.planner__field { max-width: 260px; }
.planner__left { margin: 1.1rem 0 .4rem; font-size: 1.05rem; }
.planner__left strong { font-size: 2rem; color: var(--blue-d); margin-right: .25rem; }
.planner__bar { height: 6px; border-radius: 6px; background: var(--blue-100); overflow: hidden; margin-bottom: 1rem; }
.planner__bar span { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, var(--mint), var(--blue)); border-radius: 6px; animation: bar-in .6s ease-out; }
@keyframes bar-in { from { width: 0; } }
.planner__list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .4rem; }
.planner__list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: .75rem; padding: .55rem .8rem; background: var(--white); border-radius: var(--r); border-left: 3px solid var(--mint); }
.planner__list li.is-late { border-left-color: var(--amber); background: var(--amber-50); }
.planner__v { font-weight: 700; }
.planner__when { font-size: .92rem; color: var(--ink-2); }
.planner__warn { color: var(--amber-ink); font-weight: 700; }
@media (max-width: 560px) { .planner__list li { grid-template-columns: 1fr; gap: .1rem; } }

.checklist { list-style: none; padding: 0 !important; }
.checklist li { position: relative; padding-left: 1.8rem; margin-bottom: .55rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--mint-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230a7a6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 75% no-repeat; }

/* Źródła wiedzy – bez linków */
.sources__lead { color: var(--ink-2); font-size: .92rem; }
.sources__list { padding-left: 1.4rem; }
.sources__list li { margin-bottom: .4rem; }
.sources__name { color: var(--ink); }
.sources__host { display: inline-block; margin-left: .25rem; padding: 0 .45rem; font-size: .78rem; color: var(--ink-2); background: var(--blue-50); border-radius: 999px; }
.xref { color: inherit; }

.related { margin-top: 2.5rem; }
.related .chips a { display: inline-flex; align-items: center; gap: .4rem; }
.related .dot::before { width: .65rem; height: .65rem; border-radius: 50%; }
.side-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.side-actions .btn { min-height: 42px; padding: .5rem .6rem; font-size: .88rem; }

/* Ostatnio zaktualizowane */
.recent { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.recent a { display: grid; gap: .3rem; padding: .6rem .6rem .9rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.recent a:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.recent__map { display: block; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--map-sea); }
.recent__map .kmap__target { animation: none; }
.recent__map .kmap__ring { animation: none; opacity: 0; }
.recent__name { font-weight: 700; font-size: 1.05rem; padding: .2rem .2rem 0; }
.recent__meta { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; color: var(--ink-2); padding: 0 .2rem; }
.recent__meta .dot::before { width: .6rem; height: .6rem; border-radius: 50%; }
.faq--home { margin-top: 0; }
.faq--home details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: .5rem; padding: 0 1rem; }

/* Mapa i karta – odpowiedź na wybór kraju */
.finder__panel .ycard { animation: card-in .35s ease-out; }
@keyframes card-in { from { opacity: 0; transform: translateY(8px); } }
.map path.is-active { animation: country-pick .6s ease-out; }
@keyframes country-pick { from { stroke-width: 6; } }
.btn { transition: background .15s, border-color .15s, color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }

@media print {
	.pagenav, .side-actions, .related, .planner, .khero__media, .crumbs, .reviewer, .faq summary::after { display: none !important; }
	.khero { background: none; border: 0; }
	.faq details::details-content { block-size: auto; }
	.ktable tbody tr:hover { background: none; }
	a { color: inherit; text-decoration: none; }
}

.lead-img { margin: 0 0 1.75rem; }
.lead-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); }
.lead-img figcaption { margin-top: .4rem; font-size: .8rem; color: var(--ink-2); }

.ktable th[scope="row"] { width: 28%; min-width: 9rem; }
.ktable td:nth-child(2) { width: 1%; }
.ktable td:nth-child(3) { min-width: 14rem; }
@media (max-width: 700px) {
	.ktable thead { display: none; }
	.ktable tr { display: grid; grid-template-columns: 1fr auto; gap: .2rem .75rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
	.ktable th, .ktable td { border: 0 !important; padding: 0 !important; width: auto !important; min-width: 0 !important; }
	.ktable td:nth-child(3), .ktable td:nth-child(4) { grid-column: 1 / -1; font-size: .92rem; }
	.ktable td:nth-child(4):empty { display: none; }
	.ktable td:nth-child(4) { color: var(--mint-d); font-weight: 600; }
}

.kmap__dot { fill: var(--blue); }
.kmap__halo { fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-opacity: .5; vector-effect: non-scaling-stroke; }
