/* ==========================================================================
   Zwiedzaj Świat - motyw potomny Extra
   Tokeny, baza, nagłówek, sekcje, karty, widoki.
   ========================================================================== */

:root {
	--zs-ink: #0f2436;
	--zs-ink-2: #16344d;
	--zs-ink-3: #22506f;
	--zs-text: #1c2833;
	--zs-muted: #5a6875;
	--zs-line: #e5e1d7;
	--zs-line-2: #d4cebf;
	--zs-paper: #f5f2eb;
	--zs-bg: #fcfbf8;
	--zs-card: #ffffff;
	--zs-teal: #07758f;
	--zs-teal-bright: #1ab3d9;
	--zs-green: #5f8a17;
	--zs-green-bg: #eef4e1;
	--zs-orange: #f5a623;
	--zs-orange-2: #e8940c;
	--zs-radius: 14px;
	--zs-radius-sm: 10px;
	--zs-shadow: 0 1px 2px rgba(15, 36, 54, .06), 0 10px 30px rgba(15, 36, 54, .08);
	--zs-shadow-lg: 0 2px 4px rgba(15, 36, 54, .08), 0 24px 48px rgba(15, 36, 54, .16);
	--zs-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--zs-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--zs-wrap: 1200px;
	--zs-gutter: clamp(16px, 4vw, 32px);
	--zs-header-h: 72px;
}

/* ---------- Baza ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--zs-header-h) + 16px); }

body.zs {
	margin: 0;
	background: var(--zs-bg);
	color: var(--zs-text);
	font: 400 16px/1.6 var(--zs-font);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

:where(.zs) img { max-width: 100%; height: auto; }
:where(.zs) a { color: var(--zs-teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:where(.zs) a:hover { color: var(--zs-ink); }
.zs :focus-visible { outline: 3px solid var(--zs-teal-bright); outline-offset: 2px; border-radius: 4px; }
:where(.zs) :where(h1, h2, h3, h4) { color: var(--zs-ink); margin: 0; }
:where(.zs) p { margin: 0; }
:where(.zs) :where(ul, ol) { margin: 0; padding: 0; }
:where(.zs) button { font: inherit; cursor: pointer; }
.zs [hidden] { display: none !important; }

.zs-wrap { width: 100%; max-width: calc(var(--zs-wrap) + 2 * var(--zs-gutter)); margin: 0 auto; padding: 0 var(--zs-gutter); }
.zs-narrow { max-width: calc(760px + 2 * var(--zs-gutter)); }

.zs-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.zs-skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--zs-orange); color: var(--zs-ink) !important; font-weight: 600; border-radius: 8px; }
.zs-skip:focus { top: 12px; }

.zs-icon { flex: none; }

.zs-eyebrow {
	display: inline-flex; align-items: center; gap: 6px;
	margin-bottom: 10px;
	color: var(--zs-teal);
	font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
}
.zs-eyebrow--light { color: #9fe3f4; }

.zs-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 22px;
	border: 0; border-radius: 999px;
	font-size: 15px; font-weight: 650; line-height: 1; text-decoration: none !important;
	transition: background-color .15s, transform .15s;
}
.zs-btn:active { transform: translateY(1px); }
.zs-btn--accent { background: var(--zs-orange); color: var(--zs-ink) !important; }
.zs-btn--accent:hover { background: var(--zs-orange-2); }
.zs-btn--ink { background: var(--zs-ink); color: #fff !important; }
.zs-btn--ink:hover { background: var(--zs-ink-3); }

.zs-link-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-weight: 650; text-decoration: none; }
.zs-link-arrow .zs-icon { width: 18px; height: 18px; transition: transform .15s; }
.zs-link-arrow:hover .zs-icon { transform: translateX(3px); }

/* ---------- Nagłówek ---------- */

.zs-header { position: sticky; top: 0; z-index: 60; background: var(--zs-ink); color: #fff; }
.admin-bar .zs-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .zs-header { top: 0; } }

.zs-header__bar { display: flex; align-items: center; gap: 24px; height: var(--zs-header-h); }

.zs-logo { display: block; flex: none; line-height: 0; }
.zs-logo img { width: auto; height: 46px; }

.zs-nav { margin-left: auto; }
.zs-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.zs-nav__link {
	display: inline-flex; align-items: center; gap: 4px;
	height: 40px; padding: 0 14px;
	border: 0; border-radius: 999px; background: none;
	color: #e7eef4 !important; font-size: 15px; font-weight: 600; text-decoration: none;
}
.zs-nav__link:hover, .zs-nav__link[aria-expanded="true"] { background: rgba(255, 255, 255, .1); color: #fff !important; }
.zs-nav__link .zs-icon { width: 16px; height: 16px; transition: transform .2s; }
.zs-nav__link[aria-expanded="true"] .zs-icon { transform: rotate(180deg); }

.zs-header__actions { display: flex; align-items: center; gap: 4px; }
.zs-iconbtn {
	display: inline-grid; place-items: center;
	width: 42px; height: 42px;
	border: 0; border-radius: 50%; background: none; color: #e7eef4;
}
.zs-iconbtn:hover, .zs-iconbtn[aria-expanded="true"] { background: rgba(255, 255, 255, .1); color: #fff; }
.zs-iconbtn--menu { display: none; }
.zs-iconbtn .zs-when-open { display: none; }
.zs-iconbtn[aria-expanded="true"] .zs-when-open { display: block; }
.zs-iconbtn[aria-expanded="true"] .zs-when-closed { display: none; }

@media (max-width: 899px) {
	.zs-nav { display: none; }
	.zs-header__actions { margin-left: auto; }
	.zs-iconbtn--menu { display: inline-grid; }
	.zs-logo img { height: 38px; }
}

/* Mega menu */
.zs-mega {
	position: absolute; left: 0; right: 0; top: 100%;
	background: var(--zs-card); color: var(--zs-text);
	border-top: 1px solid var(--zs-line);
	box-shadow: var(--zs-shadow-lg);
	max-height: calc(100vh - var(--zs-header-h)); overflow: auto;
}
.zs-mega__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 40px; padding-top: 32px; padding-bottom: 36px; }
.zs-mega__head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; color: var(--zs-ink) !important; font: 600 20px/1.2 var(--zs-serif); text-decoration: none; }
.zs-mega__head span { color: var(--zs-muted); font: 500 13px/1.4 var(--zs-font); }
a.zs-mega__head:hover { color: var(--zs-teal) !important; }
.zs-mega__col ul { list-style: none; }
.zs-mega__col li a { display: block; padding: 4px 0; color: var(--zs-text); font-size: 15px; text-decoration: none; }
.zs-mega__col li a:hover { color: var(--zs-teal); text-decoration: underline; }
.zs-mega__all { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 14px; font-weight: 650; text-decoration: none; }
.zs-mega__all .zs-icon { width: 16px; height: 16px; }
.zs-mega__col--search { padding: 20px; border-radius: var(--zs-radius); background: var(--zs-paper); align-self: start; }
.zs-mega__col--search .zs-mega__head { font-size: 18px; }

/* Pasek wyszukiwania */
.zs-searchbar { position: absolute; left: 0; right: 0; top: 100%; padding: 16px 0; background: var(--zs-card); box-shadow: var(--zs-shadow-lg); }

/* Panel mobilny */
.zs-drawer {
	position: fixed; left: 0; right: 0; bottom: 0; top: var(--zs-header-h);
	overflow-y: auto; overscroll-behavior: contain;
	background: var(--zs-card); color: var(--zs-text);
}
.admin-bar .zs-drawer { top: calc(var(--zs-header-h) + 46px); }
.zs-drawer__inner { padding: 20px var(--zs-gutter) 48px; }
.zs-drawer__label { margin: 24px 0 8px; color: var(--zs-muted); font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.zs-drawer__group { border-bottom: 1px solid var(--zs-line); }
.zs-drawer__group summary {
	display: flex; align-items: center; gap: 8px;
	padding: 14px 0; list-style: none; cursor: pointer;
	color: var(--zs-ink); font: 600 19px/1.3 var(--zs-serif);
}
.zs-drawer__group summary::-webkit-details-marker { display: none; }
.zs-drawer__group summary span { color: var(--zs-muted); font: 500 14px var(--zs-font); }
.zs-drawer__group summary .zs-icon { margin-left: auto; transition: transform .2s; }
.zs-drawer__group[open] summary .zs-icon { transform: rotate(180deg); }
.zs-drawer__group ul { list-style: none; columns: 2; column-gap: 16px; padding: 0 0 16px; }
.zs-drawer__group li a { display: block; padding: 6px 0; color: var(--zs-text); text-decoration: none; break-inside: avoid; }
.zs-drawer__group li:first-child, .zs-drawer__group li:has(.zs-drawer__all) { column-span: all; }
.zs-drawer__all { display: inline-flex !important; align-items: center; gap: 4px; color: var(--zs-teal) !important; font-weight: 650; }
.zs-drawer__all .zs-icon { width: 16px; height: 16px; }
.zs-drawer__links { list-style: none; margin-top: 16px; }
.zs-drawer__links a { display: block; padding: 12px 0; color: var(--zs-ink); font-weight: 650; text-decoration: none; border-bottom: 1px solid var(--zs-line); }
body.zs-lock { overflow: hidden; }

/* ---------- Wyszukiwarka ---------- */

.zs-search { position: relative; display: flex; align-items: center; gap: 8px; width: 100%; }
.zs-search input[type="search"] {
	flex: 1; min-width: 0; height: 48px; padding: 0 16px 0 44px;
	border: 1px solid var(--zs-line-2); border-radius: 999px; background: #fff;
	color: var(--zs-text); font: 400 16px var(--zs-font);
	-webkit-appearance: none; appearance: none;
}
.zs-search input[type="search"]:focus { outline: none; border-color: var(--zs-teal); box-shadow: 0 0 0 3px rgba(26, 179, 217, .25); }
.zs-search__icon { position: absolute; left: 16px; color: var(--zs-muted); pointer-events: none; }
.zs-search--hero { max-width: 600px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); }
.zs-search--hero input[type="search"] { height: 52px; border: 0; font-size: 17px; padding-left: 46px; }
.zs-search--hero input[type="search"]:focus { box-shadow: none; }
.zs-search--hero .zs-search__icon { left: 22px; }
.zs-search--hero .zs-btn { min-height: 52px; padding: 0 26px; }
.zs-search--bar { max-width: 760px; margin: 0 auto; }
@media (max-width: 520px) {
	.zs-search--hero .zs-btn { padding: 0 18px; }
	.zs-search--hero input[type="search"] { font-size: 16px; }
}

/* ---------- Sekcje ---------- */

.zs-section { padding: 64px 0; }
.zs-section--tight { padding: 32px 0; }
.zs-section--paper { background: var(--zs-paper); }
.zs-section--ink { background: var(--zs-ink); color: #d9e4ec; }
.zs-section--ink .zs-section__title { color: #fff; }
.zs-section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.zs-section__title { font: 600 clamp(26px, 3.2vw, 34px)/1.15 var(--zs-serif); letter-spacing: -.01em; }
.zs-section__title--sm { margin-bottom: 20px; font-size: clamp(22px, 2.4vw, 26px); }
.zs-section__lead { color: var(--zs-muted); max-width: 520px; }
@media (max-width: 700px) { .zs-section { padding: 44px 0; } }

.zs-empty { max-width: 640px; color: var(--zs-muted); font-size: 17px; }

/* ---------- Hero strony głównej ---------- */

.zs-hero {
	position: relative; isolation: isolate;
	display: flex; align-items: center;
	min-height: clamp(480px, 72vh, 640px);
	padding: 56px 0 72px;
	background: var(--zs-ink-2);
	color: #fff; overflow: hidden;
}
.zs-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100% !important; object-fit: cover; }
.zs-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(9, 22, 35, .86) 0%, rgba(9, 22, 35, .62) 42%, rgba(9, 22, 35, .12) 100%),
		linear-gradient(0deg, rgba(9, 22, 35, .55) 0%, rgba(9, 22, 35, 0) 40%);
}
.zs-hero--plain::before { background: radial-gradient(1000px 500px at 80% 20%, rgba(26, 179, 217, .25), transparent 60%), radial-gradient(800px 400px at 10% 90%, rgba(245, 166, 35, .18), transparent 60%); }
.zs-hero__inner { max-width: calc(var(--zs-wrap) + 2 * var(--zs-gutter)); }
.zs-hero__title { max-width: 720px; color: #fff !important; font: 600 clamp(36px, 5.4vw, 62px)/1.05 var(--zs-serif); letter-spacing: -.02em; }
.zs-hero__lead { max-width: 560px; margin: 18px 0 28px; color: #dfe8ee; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; }
.zs-hero__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; color: #c8d6e0; font-size: 14px; }
.zs-hero__chips a { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff !important; text-decoration: none; backdrop-filter: blur(4px); }
.zs-hero__chips a:hover { background: rgba(255, 255, 255, .26); }
.zs-hero__credit { position: absolute; right: var(--zs-gutter); bottom: 16px; color: rgba(255, 255, 255, .78); font-size: 13px; }
.zs-hero__credit a { color: #fff !important; }
@media (max-width: 700px) {
	.zs-hero { align-items: flex-end; min-height: 560px; padding-bottom: 64px; }
	.zs-hero::before { background: linear-gradient(0deg, rgba(9, 22, 35, .92) 0%, rgba(9, 22, 35, .7) 55%, rgba(9, 22, 35, .25) 100%); }
	.zs-hero__credit { left: var(--zs-gutter); right: auto; }
}

/* ---------- Kafelki kontynentów ---------- */

.zs-continents { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.zs-continent {
	position: relative; isolation: isolate;
	display: flex; align-items: flex-end;
	aspect-ratio: 4 / 3; padding: 18px;
	border-radius: var(--zs-radius); overflow: hidden;
	background: var(--zs-ink-3); color: #fff !important; text-decoration: none;
	box-shadow: var(--zs-shadow);
}
.zs-continent--wide { grid-column: span 2; aspect-ratio: auto; }
.zs-continent__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100% !important; object-fit: cover; transition: transform .5s ease; }
.zs-continent::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(9, 22, 35, .85) 0%, rgba(9, 22, 35, .15) 60%); }
.zs-continent:hover .zs-continent__img { transform: scale(1.04); }
.zs-continent__body { display: flex; flex-direction: column; gap: 2px; }
.zs-continent__name { font: 600 clamp(20px, 2vw, 26px)/1.15 var(--zs-serif); }
.zs-continent--wide .zs-continent__name { font-size: clamp(26px, 3vw, 36px); }
.zs-continent__meta { color: #d5e1e9; font-size: 14px; }
@media (max-width: 900px) {
	.zs-continents { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.zs-continent--wide { aspect-ratio: 2 / 1; }
	.zs-continent { padding: 14px; }
}

/* ---------- Karty wpisów ---------- */

.zs-grid { display: grid; gap: 32px 24px; }
.zs-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.zs-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .zs-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .zs-grid--3, .zs-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } }

.zs-card { position: relative; display: flex; flex-direction: column; gap: 14px; }
.zs-card__media {
	position: relative; overflow: hidden;
	aspect-ratio: 5 / 3; border-radius: var(--zs-radius);
	background: linear-gradient(135deg, var(--zs-ink-3), var(--zs-ink));
}
.zs-card__img { display: block; width: 100%; height: 100% !important; object-fit: cover; transition: transform .45s ease; }
.zs-card:hover .zs-card__img { transform: scale(1.04); }
.zs-card__media--empty { display: grid; place-items: end start; padding: 16px; color: #fff; }
.zs-card__media--empty::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .16), transparent 55%), repeating-linear-gradient(-45deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 12px); }
.zs-card__ph { position: relative; display: flex; flex-direction: column; gap: 6px; font: 600 clamp(20px, 2vw, 26px)/1.1 var(--zs-serif); letter-spacing: -.01em; }
.zs-card__ph .zs-icon { width: 22px; height: 22px; opacity: .75; }
.zs-card--row .zs-card__ph { font-size: 13px; }
.zs-card--row .zs-card__ph .zs-icon { width: 16px; height: 16px; }
.zs-card--row .zs-card__media--empty { padding: 10px; }
.zs-card--feature .zs-card__ph { font-size: clamp(30px, 4vw, 48px); }
.zs-tone--europa { background: linear-gradient(135deg, #2b5a7e, #16344d); }
.zs-tone--azja { background: linear-gradient(135deg, #7a3f52, #3c1f2e); }
.zs-tone--afryka { background: linear-gradient(135deg, #a8612a, #5a2f14); }
.zs-tone--ameryka-polnocna { background: linear-gradient(135deg, #3f6d4e, #1d3b28); }
.zs-tone--ameryka-poludniowa { background: linear-gradient(135deg, #5d7a1f, #2f420c); }
.zs-tone--australia { background: linear-gradient(135deg, #0e7c8f, #0a3f4d); }
.zs-tone--antarktyda { background: linear-gradient(135deg, #5c7d99, #2c4459); }
.zs-tone--poradnik { background: linear-gradient(135deg, #22506f, #0f2436); }
.zs-card__eyebrow { display: flex; align-items: center; gap: 4px; margin-bottom: 6px; color: var(--zs-teal); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.zs-card__eyebrow .zs-icon { width: 14px; height: 14px; }
.zs-card__title { font: 600 19px/1.3 var(--zs-serif); letter-spacing: -.005em; }
.zs-card__title a { color: var(--zs-ink) !important; text-decoration: none; }
.zs-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--zs-radius); }
.zs-card:hover .zs-card__title a { text-decoration: underline; text-decoration-color: var(--zs-teal-bright); text-decoration-thickness: 2px; }
.zs-card__title a:focus-visible { outline: none; }
.zs-card__title a:focus-visible::after { outline: 3px solid var(--zs-teal-bright); outline-offset: 3px; }
.zs-card__summary { margin-top: 8px; color: var(--zs-muted); font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Karta pozioma */
.zs-card--row { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 16px; }
.zs-card--row .zs-card__media { aspect-ratio: 1; border-radius: var(--zs-radius-sm); }
.zs-card--row .zs-card__title { font-size: 17px; }
.zs-card--row .zs-card__eyebrow { margin-bottom: 4px; font-size: 11.5px; }

/* Karta wyróżniona */
.zs-card--feature .zs-card__media { aspect-ratio: 16 / 10; }
.zs-card--feature .zs-card__title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; }
.zs-card--feature .zs-card__summary { font-size: 16.5px; -webkit-line-clamp: 4; }

.zs-latest { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; margin-bottom: 48px; }
.zs-latest__list { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.zs-latest__list .zs-card { padding-bottom: 20px; border-bottom: 1px solid var(--zs-line); }
.zs-latest__list .zs-card:last-child { padding-bottom: 0; border-bottom: 0; }
@media (max-width: 900px) { .zs-latest { grid-template-columns: 1fr; gap: 28px; } }

/* Na ciemnym tle */
.zs-section--ink .zs-card__title a { color: #fff !important; }
.zs-section--ink .zs-card--row { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }

/* ---------- Atlas krajów ---------- */

.zs-atlas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 40px; align-items: start; }
.zs-atlas__group { padding: 4px 0 12px; border-top: 2px solid var(--zs-ink); }
.zs-atlas__group summary {
	display: flex; align-items: center; gap: 8px;
	padding: 12px 0 8px; list-style: none; cursor: pointer;
	color: var(--zs-ink); font: 600 20px/1.2 var(--zs-serif);
}
.zs-atlas__group summary::-webkit-details-marker { display: none; }
.zs-atlas__n { color: var(--zs-muted); font: 500 14px var(--zs-font); }
.zs-atlas__group summary .zs-icon { margin-left: auto; color: var(--zs-muted); transition: transform .2s; }
.zs-atlas__group[open] summary .zs-icon { transform: rotate(180deg); }
.zs-atlas__group ul { list-style: none; columns: 2; column-gap: 16px; }
.zs-atlas__group li a { display: block; padding: 3px 0; color: var(--zs-text); font-size: 15px; text-decoration: none; break-inside: avoid; }
.zs-atlas__group li a:hover { color: var(--zs-teal); text-decoration: underline; }
@media (max-width: 1100px) { .zs-atlas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) {
	.zs-atlas { grid-template-columns: 1fr; gap: 0; }
	.zs-atlas__group { border-top: 1px solid var(--zs-line); padding: 0; }
	.zs-atlas__group ul { padding-bottom: 14px; }
}

/* ---------- O serwisie ---------- */

.zs-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.zs-about__text p { margin-top: 16px; max-width: 520px; font-size: 17px; }
.zs-stats { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 32px; list-style: none; }
.zs-stats li { color: #a9bccb; font-size: 14px; }
.zs-stats strong { display: block; color: #fff; font: 600 40px/1 var(--zs-serif); }
.zs-about .zs-link-arrow { color: #9fe3f4; }
@media (max-width: 900px) { .zs-about { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Nagłówki stron (kategorie, wyszukiwanie) ---------- */

.zs-pagehead { padding: 28px 0 40px; background: var(--zs-paper); border-bottom: 1px solid var(--zs-line); }
.zs-pagehead--center { text-align: center; padding: 72px 0; }
.zs-pagehead--center .zs-search { max-width: 520px; margin: 28px auto 20px; }
.zs-pagehead__title { margin-top: 4px; font: 600 clamp(34px, 4.6vw, 54px)/1.08 var(--zs-serif); letter-spacing: -.02em; }
.zs-pagehead__lead { max-width: 680px; margin-top: 14px; color: var(--zs-muted); font-size: 18px; }
.zs-pagehead__page { margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: #fff; font-size: 14px; }
.zs-pagehead__desc { max-width: 720px; margin-top: 14px; }
.zs-pagehead .zs-search { max-width: 560px; margin-top: 24px; }

.zs-crumbs { margin-bottom: 18px; font-size: 14px; }
.zs-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; }
.zs-crumbs li { display: inline-flex; align-items: center; gap: 4px; color: var(--zs-muted); }
.zs-crumbs li + li::before { content: "/"; margin-right: 2px; color: var(--zs-line-2); }
.zs-crumbs a { color: var(--zs-muted); text-decoration: none; }
.zs-crumbs a:hover { color: var(--zs-teal); text-decoration: underline; }
.zs-crumbs [aria-current] { color: var(--zs-text); }

/* Lista krajów kontynentu */
.zs-countrylist { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 2px 24px; list-style: none; }
.zs-countrylist a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--zs-line); color: var(--zs-text); text-decoration: none; }
.zs-countrylist a:hover { color: var(--zs-teal); border-color: var(--zs-teal); }
.zs-countrylist span { color: var(--zs-muted); font-size: 14px; }

/* Chipy */
.zs-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.zs-chips--center { justify-content: center; }
.zs-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--zs-line-2); border-radius: 999px; background: #fff; color: var(--zs-ink) !important; font-size: 15px; font-weight: 600; text-decoration: none; }
.zs-chips a:hover { border-color: var(--zs-teal); color: var(--zs-teal) !important; }
.zs-chips a[aria-current] { background: var(--zs-ink); border-color: var(--zs-ink); color: #fff !important; }
.zs-chips__n { color: var(--zs-muted); font-weight: 500; font-size: 13px; }

/* Przewodnik po kraju na stronie kraju */
.zs-hub { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); overflow: hidden; border-radius: var(--zs-radius); background: var(--zs-card); box-shadow: var(--zs-shadow); }
.zs-hub__media img { display: block; width: 100%; height: 100% !important; min-height: 260px; object-fit: cover; }
.zs-hub__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(24px, 3vw, 40px); }
.zs-hub__body .zs-eyebrow { margin: 0; }
.zs-hub__title { font: 600 clamp(22px, 2.4vw, 28px)/1.2 var(--zs-serif); }
.zs-hub__title a { color: var(--zs-ink) !important; text-decoration: none; }
.zs-hub__body p { color: var(--zs-muted); }
.zs-hub .zs-btn { margin-top: 8px; }
@media (max-width: 800px) { .zs-hub { grid-template-columns: 1fr; } .zs-hub__media img { min-height: 0; aspect-ratio: 16 / 9; } }

/* Stronicowanie */
.zs-pagination { margin-top: 48px; }
.zs-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; }
.zs-pagination a, .zs-pagination span {
	display: inline-grid; place-items: center;
	min-width: 44px; height: 44px; padding: 0 12px;
	border: 1px solid var(--zs-line-2); border-radius: 999px; background: #fff;
	color: var(--zs-ink); font-weight: 600; text-decoration: none;
}
.zs-pagination .current { background: var(--zs-ink); border-color: var(--zs-ink); color: #fff; }
.zs-pagination .dots { border: 0; background: none; }
.zs-pagination a:hover { border-color: var(--zs-teal); color: var(--zs-teal); }

/* ---------- Wpis ---------- */

.zs-article__head { padding-top: 28px; padding-bottom: 28px; }
.zs-article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.zs-tag {
	display: inline-flex; align-items: center; gap: 4px;
	padding: 5px 12px; border-radius: 999px;
	background: #e3f2f6; color: var(--zs-teal) !important;
	font-size: 13px; font-weight: 700; letter-spacing: .02em; text-decoration: none;
}
.zs-tag .zs-icon { width: 14px; height: 14px; }
a.zs-tag:hover { background: #cce9f1; }
.zs-tag--ink { background: var(--zs-ink); color: #fff !important; }
.zs-tag--unesco { background: var(--zs-green-bg); color: var(--zs-green) !important; }
.zs-article__title { max-width: 920px; font: 600 clamp(32px, 4.4vw, 52px)/1.08 var(--zs-serif); letter-spacing: -.02em; }
.zs-article__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; color: var(--zs-muted); font-size: 14.5px; }
.zs-article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.zs-article__meta .zs-icon { width: 17px; height: 17px; }

.zs-article__hero { margin-top: 0; margin-bottom: 40px; }
.zs-article__credit { margin-top: 8px; color: var(--zs-muted); font-size: 13px; }
.zs-article__hero img { display: block; width: 100%; max-height: 600px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; background: var(--zs-paper); }

.zs-article__layout { display: grid; grid-template-columns: minmax(0, 740px) 300px; justify-content: space-between; gap: 64px; padding-bottom: 64px; }
.zs-article__aside { position: relative; }
.zs-sticky { position: sticky; top: calc(var(--zs-header-h) + 24px); display: flex; flex-direction: column; gap: 20px; }
.admin-bar .zs-sticky { top: calc(var(--zs-header-h) + 56px); }
@media (max-width: 1100px) {
	.zs-article__layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.zs-article__main { max-width: 740px; }
	.zs-article__aside { display: none; }
}

/* Spis treści */
.zs-toc--aside { padding: 22px; border-radius: var(--zs-radius); background: var(--zs-card); box-shadow: var(--zs-shadow); max-height: calc(100vh - 220px); overflow: auto; }
.zs-toc__title { margin-bottom: 12px; color: var(--zs-muted); font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.zs-toc ol { list-style: none; counter-reset: toc; }
.zs-toc li { counter-increment: toc; }
.zs-toc li a { display: grid; grid-template-columns: 26px 1fr; padding: 6px 0; color: var(--zs-text); font-size: 14.5px; line-height: 1.4; text-decoration: none; }
.zs-toc li a::before { content: counter(toc) "."; color: var(--zs-muted); font-variant-numeric: tabular-nums; }
.zs-toc li a:hover, .zs-toc li a.is-active { color: var(--zs-teal); }
.zs-toc li a.is-active { font-weight: 650; }
.zs-toc--inline { display: none; margin-bottom: 28px; border: 1px solid var(--zs-line-2); border-radius: var(--zs-radius); background: var(--zs-card); }
.zs-toc--inline summary { display: flex; align-items: center; gap: 10px; padding: 14px 18px; list-style: none; cursor: pointer; color: var(--zs-ink); font-weight: 650; }
.zs-toc--inline summary::-webkit-details-marker { display: none; }
.zs-toc--inline .zs-toc__chev { margin-left: auto; transition: transform .2s; }
.zs-toc--inline[open] .zs-toc__chev { transform: rotate(180deg); }
.zs-toc--inline ol { padding: 0 18px 14px; }
@media (max-width: 1100px) { .zs-toc--inline { display: block; } }

/* Karta kraju w bocznej kolumnie */
.zs-countrycard { padding: 22px; border-radius: var(--zs-radius); background: var(--zs-paper); }
.zs-countrycard .zs-eyebrow { margin-bottom: 4px; }
.zs-countrycard__name { color: var(--zs-ink); font: 600 24px/1.2 var(--zs-serif); }
.zs-countrycard ul { list-style: none; margin-top: 12px; }
.zs-countrycard a { display: inline-flex; align-items: center; gap: 4px; padding: 4px 0; font-weight: 650; text-decoration: none; }
.zs-countrycard .zs-icon { width: 16px; height: 16px; }

/* Informacje praktyczne */
.zs-facts { margin: 0 0 32px; padding: 22px 24px; border-left: 4px solid var(--zs-orange); border-radius: var(--zs-radius-sm); background: #fff8ea; }
.zs-facts__title { margin-bottom: 12px; color: var(--zs-ink); font: 600 20px var(--zs-serif); }
.zs-facts dl { display: grid; gap: 10px; margin: 0; }
.zs-facts dl div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; }
.zs-facts dt { color: var(--zs-muted); font-size: 14px; font-weight: 600; }
.zs-facts dd { margin: 0; }
.zs-facts__note { margin-top: 14px; color: var(--zs-muted); font-size: 13.5px; }
@media (max-width: 560px) { .zs-facts dl div { grid-template-columns: 1fr; gap: 0; } }

/* Treść artykułu */
.zs-prose { color: var(--zs-text); font-size: 18px; line-height: 1.72; overflow-wrap: break-word; }
.zs-prose > * + * { margin-top: 1.1em; }
.zs-prose h2 { margin-top: 2.1em; margin-bottom: -.2em; font: 600 clamp(26px, 2.8vw, 32px)/1.2 var(--zs-serif); letter-spacing: -.01em; }
.zs-prose h3 { margin-top: 1.8em; margin-bottom: -.35em; font: 650 21px/1.3 var(--zs-font); letter-spacing: -.005em; }
.zs-prose h4 { margin-top: 1.5em; font: 650 18px/1.35 var(--zs-font); }
.zs-prose > h2:first-child, .zs-prose > h3:first-child { margin-top: 0; }
.zs-prose ul, .zs-prose ol { padding-left: 1.3em; }
.zs-prose li { margin-top: .4em; padding-left: .2em; }
.zs-prose li::marker { color: var(--zs-teal); }
.zs-prose strong { color: var(--zs-ink); font-weight: 650; }
.zs-prose a { color: var(--zs-teal); text-decoration: underline; }
.zs-prose img { border-radius: var(--zs-radius-sm); }
.zs-prose figure { margin-left: 0; margin-right: 0; }
.zs-prose figcaption { margin-top: 8px; color: var(--zs-muted); font-size: 14px; text-align: left; }
.zs-prose blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--zs-teal-bright); color: var(--zs-ink); font: italic 500 20px/1.55 var(--zs-serif); }
.zs-prose hr { margin: 2.5em 0; border: 0; border-top: 1px solid var(--zs-line); }
.zs-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.zs-prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.zs-prose th, .zs-prose td { padding: 10px 12px; border-bottom: 1px solid var(--zs-line); text-align: left; vertical-align: top; }
.zs-prose th { background: var(--zs-paper); color: var(--zs-ink); font-weight: 650; }
.zs-prose h2, .zs-prose h3 { scroll-margin-top: calc(var(--zs-header-h) + 24px); }
@media (max-width: 600px) { .zs-prose { font-size: 17px; } }

.zs-sources { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--zs-line); }
.zs-sources__title { margin-bottom: 10px; font: 650 16px var(--zs-font); }
.zs-sources ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14.5px; }

.zs-article__foot { display: grid; gap: 6px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--zs-line); color: var(--zs-muted); font-size: 14.5px; }

/* Komentarze */
.zs-comments__title { margin-bottom: 16px; font: 600 24px/1.25 var(--zs-serif); }
.zs-comments__list { list-style: none; margin-bottom: 40px; }
.zs-comments__list .comment-body { padding: 16px 0; border-bottom: 1px solid var(--zs-line); }
.zs-comments__list .children { list-style: none; padding-left: 24px; }
.zs-comments__note { margin-bottom: 12px; color: var(--zs-muted); font-size: 14px; }
.zs-comments label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; }
.zs-comments input[type="text"], .zs-comments input[type="email"], .zs-comments input[type="url"], .zs-comments textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--zs-line-2); border-radius: var(--zs-radius-sm); background: #fff; font: 400 16px var(--zs-font);
}
.zs-comments p { margin-bottom: 14px; }
.zs-comments .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.zs-comments .comment-form-cookies-consent label { font-weight: 400; }

/* ---------- Stopka ---------- */

.zs-footer { background: #0b1b29; color: #a9bccb; font-size: 15px; }
.zs-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.zs-footer__brand p { max-width: 420px; margin-top: 16px; }
.zs-footer__title { margin-bottom: 12px; color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.zs-footer ul { list-style: none; }
.zs-footer li a, .zs-footer__social { display: inline-block; padding: 4px 0; color: #d9e4ec !important; text-decoration: none; }
.zs-footer li a:hover, .zs-footer__social:hover { color: #fff !important; text-decoration: underline; }
.zs-footer__bottom { padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; }
@media (max-width: 800px) { .zs-footer__grid { grid-template-columns: 1fr 1fr; } .zs-footer__brand { grid-column: 1 / -1; } }

/* ---------- Ograniczenie ruchu ---------- */

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