/* ============================================================
   Ślady Historii — motyw „Archiwum ekspedycji"
   Wdrożony 2026-07-21 (spójny z nową stroną główną /index.html)
   ============================================================ */

:root {
  --paper: #efe6d2;
  --card: #f7f0df;
  --card-deep: #efe3c8;
  --ink: #33291c;
  --ink-soft: #5a4c38;
  --faded: #8a7a62;
  --stamp: #a3271f;
  --seal: #7e1f2b;
  --line: #c9b998;
  --line-soft: rgba(201, 185, 152, .55);
  --shadow: 0 24px 60px -30px rgba(51, 41, 28, .45);
  --font-mono: "Courier Prime", "Courier New", monospace;
  --font-type: "Special Elite", "Courier Prime", monospace;
  --font-serif: "Libre Caslon Text", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background:
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(51, 41, 28, .035) 34px 35px),
    radial-gradient(1100px 500px at 50% -5%, #f6efdd 0%, transparent 70%),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  line-height: 1.6;
  overflow-x: hidden;
}
body::before { content: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
h1, h2, h3 { font-family: var(--font-type); font-weight: 400; line-height: 1.15; }
p { line-height: 1.7; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--seal); color: #fff; padding: .6rem 1rem; font-size: .8rem;
}
.skip-link:focus { left: 0; }

:where(a, button, input, [tabindex]):focus-visible {
  outline: 3px solid var(--stamp);
  outline-offset: 3px;
}

/* ---------- nagłówek ---------- */
.site-header {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .9rem 4vw;
  border-bottom: 1px solid var(--line);
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faded);
  position: sticky; top: 0; z-index: 40;
  background: rgba(239, 230, 210, .94);
  backdrop-filter: blur(4px);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 14px 30px -22px rgba(51, 41, 28, .55); }

.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); }
.brand-mark { display: inline-flex; gap: 3px; align-items: flex-end; }
.brand-mark i {
  display: block; width: 4px; background: var(--seal); border-radius: 1px;
  height: 14px;
}
.brand-mark i:nth-child(2) { height: 19px; background: var(--stamp); }
.brand-mark i:nth-child(3) { height: 10px; }
.brand > span:last-child {
  font-family: var(--font-type); font-size: .95rem; letter-spacing: .2em; text-transform: uppercase;
}
.brand strong { font-weight: 400; }
.brand em { font-style: normal; color: var(--seal); }

.main-nav { display: flex; gap: 1.5rem; }
.main-nav a { position: relative; padding-bottom: 2px; transition: color .2s; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: var(--seal); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav a:hover { color: var(--seal); }
.main-nav a:hover::after { transform: scaleX(1); }

.search-trigger {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font-size: .72rem; text-transform: uppercase; letter-spacing: .18em;
  padding: .45rem 1rem; border-radius: 2px; transition: .2s;
}
.search-trigger:hover { border-color: var(--seal); color: var(--seal); }
.search-trigger svg, .search-field svg {
  width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; flex: none;
}

/* ---------- wspólne ---------- */
main { display: block; }
.section { max-width: 1080px; margin: 4.2rem auto 0; padding: 0 4vw; }

.eyebrow {
  display: block; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--faded); margin-bottom: .6rem;
}
.eyebrow::before { content: "— "; color: var(--seal); }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section-heading h2, .country-intro h2, .about-panel h2, .place-story h1 {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
}
.section-heading p { max-width: 420px; font-size: .84rem; color: var(--ink-soft); }

.button {
  display: inline-flex; align-items: center; gap: .6rem;
  border: 1px solid var(--ink); background: var(--card); color: var(--ink);
  padding: .7rem 1.3rem; font-size: .74rem; text-transform: uppercase; letter-spacing: .18em;
  border-radius: 2px; box-shadow: 3px 3px 0 rgba(51, 41, 28, .25); transition: .2s;
}
.button:hover { background: var(--seal); border-color: var(--seal); color: #fff; box-shadow: 1px 1px 0 rgba(51, 41, 28, .3); }
.button-light, .button-ghost { background: transparent; box-shadow: none; }
.text-link { border-bottom: 1px dotted var(--seal); color: var(--seal); font-size: .82rem; }

.breadcrumbs { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faded); margin-bottom: 1.6rem; }
.breadcrumbs a { border-bottom: 1px dotted var(--line); }
.breadcrumbs a:hover { color: var(--seal); border-color: var(--seal); }

.empty-state { padding: 1.2rem .4rem; color: var(--faded); font-size: .85rem; }

.image-placeholder {
  display: grid; place-items: center; width: 100%; height: 100%; min-height: 120px;
  background: #e5dac2; color: #b3a27f; border: 1px dashed var(--line);
}
.image-placeholder svg { width: 44px; height: 36px; fill: none; stroke: currentColor; stroke-width: 4; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- strona „Odkrywaj" (dawny widok główny w aplikacji) ---------- */
.home-hero {
  position: relative; max-width: 1080px; margin: 3.2rem auto 0; padding: 0 4vw;
}
.hero-copy {
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: clamp(1.6rem, 4vw, 3rem); position: relative;
}
.hero-copy::before {
  content: ""; position: absolute; top: -14px; left: 36px; width: 180px; height: 15px;
  background: var(--card); border: 1px solid var(--line); border-bottom: none; border-radius: 8px 8px 0 0;
}
.hero-copy h1 { font-size: clamp(2rem, 5.6vw, 3.6rem); margin-bottom: 1rem; }
.hero-copy h1 span { display: block; font-style: italic; color: var(--seal); }
.hero-lead { font-family: var(--font-serif); font-size: .96rem; color: var(--ink-soft); max-width: 560px; }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; margin-top: 1.8rem; flex-wrap: wrap; }

/* wybrane historie */
.featured-section { margin-top: 5rem; }
.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.8rem; }
.story-card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  padding: .85rem .85rem 0; box-shadow: 0 14px 30px -18px rgba(51, 41, 28, .5);
  transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column;
}
.story-grid .story-card:nth-child(3n+1) { transform: rotate(-1.1deg); }
.story-grid .story-card:nth-child(3n+2) { transform: rotate(.8deg); }
.story-grid .story-card:nth-child(3n+3) { transform: rotate(-.3deg); }
.story-card:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 26px 48px -20px rgba(51, 41, 28, .55); z-index: 2; }
.story-card::before {
  content: ""; position: absolute; top: -9px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  width: 86px; height: 20px; background: rgba(214, 196, 153, .8); border: 1px solid rgba(159, 138, 98, .4);
}
.story-card::after { content: none; }
.story-card:first-child { grid-row: auto; grid-column: auto; }
.story-card img, .story-card .image-placeholder { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.story-card img { filter: sepia(.42) contrast(.98); transition: filter .45s; }
.story-card:hover img { filter: sepia(.05); }
.story-card-content { padding: .8rem .2rem 1.1rem; }
.story-card-content span { display: block; font-size: .7rem; color: var(--faded); letter-spacing: .08em; }
.story-card-content h3 { font-size: 1rem; margin-top: .35rem; }

/* atlas krajów */
.countries-section { margin-top: 5rem; }
.countries-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.2rem; }
.country-card {
  position: relative; display: flex; flex-direction: column; gap: .8rem;
  background: var(--card); border: 1px solid var(--line); padding: 1.1rem 1.2rem 1rem;
  transition: transform .2s, border-color .2s, background .2s;
}
.country-card::before { content: none; }
.country-card:hover { transform: translateY(-4px); border-color: var(--seal); background: var(--card-deep); }
.country-card > div { display: block; }
.country-number { position: absolute; top: .9rem; right: 1rem; font-size: .7rem; color: var(--faded); }
.country-code {
  align-self: flex-start; font-family: var(--font-type); font-size: .8rem; color: var(--stamp);
  border: 2px solid var(--stamp); padding: .1rem .45rem; transform: rotate(-3deg); opacity: .85; border-radius: 3px;
}
.country-card small { display: block; font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--faded); }
.country-card h3 { font-size: 1.2rem; margin: .25rem 0 .35rem; }
.country-card p { font-size: .8rem; color: var(--ink-soft); line-height: 1.6; }
.country-card footer {
  display: flex; gap: 1rem; align-items: baseline; margin-top: auto; padding-top: .8rem;
  border-top: 1px dotted var(--line); font-size: .72rem; color: var(--faded);
}
.country-card footer b { margin-left: auto; color: var(--seal); font-weight: 400; }

/* o projekcie */
.about-panel {
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: clamp(1.6rem, 4vw, 3rem); display: grid; grid-template-columns: .8fr 1.2fr; gap: 2.5rem;
}
.about-copy { display: grid; gap: 1rem; font-family: var(--font-serif); font-size: .93rem; color: var(--ink-soft); }
.about-copy p:first-child::first-letter {
  font-family: var(--font-type); font-size: 3rem; float: left; line-height: .9;
  padding: .1rem .6rem 0 0; color: var(--seal);
}

/* ---------- podstrona kraju ---------- */
.country-hero { max-width: 1080px; margin: 3rem auto 0; padding: 0 4vw; }
.country-title-row {
  display: grid; grid-template-columns: 1.4fr .6fr; gap: 2.5rem; align-items: start;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: clamp(1.6rem, 4vw, 2.6rem); position: relative;
}
.country-title-row::before {
  content: ""; position: absolute; top: -14px; left: 36px; width: 150px; height: 15px;
  background: var(--card); border: 1px solid var(--line); border-bottom: none; border-radius: 8px 8px 0 0;
}
.country-title h1 { font-size: clamp(2rem, 5.4vw, 3.4rem); margin-bottom: .9rem; }
.country-title p { font-family: var(--font-serif); font-size: .92rem; color: var(--ink-soft); max-width: 560px; }
.country-meta { display: grid; gap: .9rem; border-left: 1px dashed var(--line); padding-left: 1.6rem; }
.country-meta div { display: flex; align-items: baseline; gap: .7rem; }
.country-meta strong { font-family: var(--font-type); font-size: 1.7rem; color: var(--seal); }
.country-meta span { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--faded); }

.country-board {
  max-width: 1080px; margin: 2.6rem auto 0; padding: 0 4vw;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: start;
}

.country-map {
  aspect-ratio: 3 / 4; border: 1px dashed var(--line);
  background:
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(51, 41, 28, .03) 39px 40px),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(51, 41, 28, .03) 39px 40px),
    rgba(247, 240, 223, .6);
  position: sticky; top: 5.2rem;
}
.country-map::before { content: none; }
.country-map-shape { position: absolute; inset: 0; display: grid; place-items: center; padding: 12%; }
.country-map { position: sticky; }
.country-map, .country-map-shape { overflow: visible; }
.country-map-shape svg { width: 70%; max-height: 82%; }
.country-map-shape path { fill: var(--card-deep); stroke: var(--seal); stroke-width: 3; }
.country-map-shape .coast-line { fill: none; stroke: var(--stamp); stroke-width: 2; stroke-dasharray: 6 6; }
.country-map-monogram { text-align: center; opacity: .75; }
.country-map-monogram span {
  display: inline-block; font-family: var(--font-type); font-size: 2.2rem; color: var(--stamp);
  border: 3px solid var(--stamp); padding: .2rem 1rem; transform: rotate(-6deg); border-radius: 4px; opacity: .8;
}
.country-map-monogram strong { display: block; margin-top: 1rem; font-family: var(--font-type); font-weight: 400; font-size: 1.1rem; color: var(--faded); letter-spacing: .12em; }
.map-dot {
  position: absolute; width: 15px; height: 15px; border-radius: 50%; z-index: 2;
  background: var(--stamp); border: 2px solid var(--card);
  box-shadow: 0 0 0 3px rgba(163, 39, 31, .22); transform: translate(-50%, -50%); transition: .2s;
}
.map-dot::after {
  content: attr(data-label); position: absolute; left: 50%; bottom: 140%; transform: translateX(-50%);
  background: var(--ink); color: var(--paper); font-size: .64rem; letter-spacing: .1em;
  padding: .22rem .55rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: .2s;
}
.map-dot:hover, .map-dot.active { background: var(--seal); transform: translate(-50%, -50%) scale(1.35); }
.map-dot:hover::after, .map-dot.active::after { opacity: 1; }
.map-legend {
  position: absolute; left: .9rem; bottom: .8rem; right: .9rem; display: flex; gap: 1rem; flex-wrap: wrap;
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faded);
}

.places-panel { min-width: 0; }
.places-toolbar { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.places-toolbar h2 { font-size: 1.4rem; }
.places-toolbar h2 span { color: var(--seal); }
.filters { display: flex; gap: .4rem; flex-wrap: wrap; }
.filter-button {
  border: 1px solid var(--line); background: var(--card); padding: .34rem .8rem;
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faded);
  border-radius: 2px; transition: .18s;
}
.filter-button.active, .filter-button:hover { background: var(--seal); border-color: var(--seal); color: #fff; }

.places-list { border-top: 2px solid var(--ink); }
.place-row {
  display: grid; grid-template-columns: 86px 1fr auto; gap: 1.1rem; align-items: center;
  padding: .9rem .3rem; border-bottom: 1px dotted var(--line); transition: .18s;
}
.place-row:hover { background: var(--card-deep); padding-left: .8rem; }
.place-thumb { width: 86px; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); background: #e5dac2; }
.place-thumb img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.42); transition: filter .3s; }
.place-row:hover .place-thumb img { filter: sepia(.05); }
.place-row-meta { display: block; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faded); }
.place-row h3 { font-size: .98rem; margin: .3rem 0 .25rem; font-family: var(--font-mono); font-weight: 700; }
.place-row p { font-size: .78rem; color: var(--ink-soft); line-height: 1.55; }
.place-arrow { color: var(--seal); transition: transform .2s; }
.place-row:hover .place-arrow { transform: translateX(4px); }

/* ---------- podstrona miejsca ---------- */
.place-hero {
  max-width: 1080px; margin: 3rem auto 0; padding: 0 4vw;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: start;
}
.place-image {
  position: relative; background: var(--card); border: 1px solid var(--line);
  padding: .9rem .9rem 2.6rem; box-shadow: var(--shadow); transform: rotate(-1.2deg);
}
.place-image::before {
  content: ""; position: absolute; top: -10px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  width: 110px; height: 24px; background: rgba(214, 196, 153, .8); border: 1px solid rgba(159, 138, 98, .4); z-index: 2;
}
.place-image::after { content: none; }
.place-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: sepia(.28) contrast(.98); }
.place-image .image-placeholder { aspect-ratio: 4 / 3; min-height: 0; }
.place-image .image-placeholder svg { width: 56px; height: 46px; }
.place-image-credit {
  display: block; margin: .7rem .1rem -1.85rem;
  font-size: .64rem; color: var(--faded); text-align: center; letter-spacing: .05em;
  line-height: 1.35; overflow-wrap: anywhere;
}
a.place-image-credit { border-bottom: none; }
a.place-image-credit:hover, a.place-image-credit:focus-visible { color: var(--seal); text-decoration: underline dotted; }

.place-story .breadcrumbs { margin-bottom: 1rem; }
.place-story h1 { font-size: clamp(1.7rem, 4.4vw, 2.8rem); margin-bottom: 1rem; }
.place-deck { font-family: var(--font-serif); font-style: italic; font-size: 1rem; color: var(--ink-soft); max-width: 520px; }
.place-facts { display: grid; gap: 0; margin: 1.6rem 0 1.8rem; border-top: 2px solid var(--ink); }
.fact {
  display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; align-items: baseline;
  padding: .55rem .2rem; border-bottom: 1px dotted var(--line); font-size: .86rem;
}
.fact span { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--faded); }

.place-content {
  max-width: 1080px; margin: 3.6rem auto 0; padding: 0 4vw;
  display: grid; grid-template-columns: .72fr 1.28fr; gap: 2.4rem; align-items: start;
}
.place-aside {
  background: var(--card); border: 1px solid var(--line); padding: 1.4rem 1.5rem 1.6rem;
  box-shadow: 0 14px 30px -18px rgba(51, 41, 28, .5); position: sticky; top: 5.2rem;
}
.place-aside h2 { font-size: 1.05rem; margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 1px dashed var(--line); }
.place-aside p { font-size: .8rem; color: var(--ink-soft); margin-bottom: .9rem; overflow-wrap: break-word; }
.place-aside p strong { display: block; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--faded); font-weight: 400; }
.place-aside a { color: var(--seal); border-bottom: 1px dotted var(--seal); font-size: .8rem; }
.place-article h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 1rem; }
.place-article p { font-family: var(--font-serif); font-size: .95rem; color: var(--ink-soft); margin-bottom: 1rem; max-width: 640px; }

.more-places { max-width: 1080px; margin: 4.2rem auto 0; padding: 0 4vw; }
.more-places h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: 1.6rem; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.1rem; }
.mini-card {
  background: var(--card); border: 1px solid var(--line); padding: 1rem 1.1rem 1.2rem;
  transition: .2s;
}
.mini-card:hover { border-color: var(--seal); background: var(--card-deep); transform: translateY(-3px); }
.mini-card span { display: block; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--faded); }
.mini-card h3 { font-size: .95rem; margin-top: .4rem; font-family: var(--font-mono); font-weight: 700; }

/* ---------- wyszukiwarka ---------- */
.search-dialog {
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  width: min(640px, 92vw); padding: 0; margin: auto;
  box-shadow: 0 40px 90px -30px rgba(43, 34, 22, .6);
}
.search-dialog::backdrop { background: rgba(43, 34, 22, .55); }
.search-panel { padding: 1.5rem 1.6rem 1.7rem; }
.search-heading { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.1rem; }
.search-heading h2 { font-size: 1.35rem; }
.icon-button {
  border: 1px solid var(--line); width: 2.1rem; height: 2.1rem; color: var(--faded);
  font-size: 1rem; transition: .2s;
}
.icon-button:hover { color: var(--seal); border-color: var(--seal); }
.search-field {
  display: flex; align-items: center; gap: .7rem;
  border: 1px solid var(--line); background: rgba(255, 252, 243, .7); padding: .65rem .9rem;
}
.search-field input { flex: 1; border: none; background: none; outline: none; font-size: .95rem; }
.search-results { margin-top: 1.1rem; max-height: 46vh; overflow: auto; }
.search-result {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .7rem .3rem; border-bottom: 1px dotted var(--line); font-size: .88rem; transition: .15s;
}
.search-result:hover { background: var(--card-deep); padding-left: .7rem; }
.search-result strong { font-weight: 700; }
.search-result span { display: block; font-size: .72rem; color: var(--faded); margin-top: .25rem; }
.search-result b { color: var(--seal); font-weight: 400; }

/* ---------- stopka ---------- */
.site-footer {
  margin: 5rem 0 0; padding: 2.4rem 4vw 3rem; border-top: 1px solid var(--line);
  text-align: center; color: var(--faded); font-size: .8rem;
}
.site-footer .brand { justify-content: center; }
.brand-footer { display: inline-flex; margin-bottom: .9rem; }
.brand-footer .brand-mark { display: inline-flex; }
.brand-footer .brand-mark i { background: var(--faded); }
.brand-footer .brand-mark i:nth-child(2) { background: var(--stamp); }
.site-footer p { margin-bottom: 1.1rem; }
.site-footer small { display: block; margin-top: 1rem; }
.site-footer small a { color: var(--seal); }
.footer-links { display: flex; justify-content: center; gap: .4rem 1.4rem; flex-wrap: wrap; }
.footer-links a { border-bottom: 1px dotted var(--line); transition: .2s; }
.footer-links a:hover { color: var(--seal); border-color: var(--seal); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 1.4rem; transform: translate(-50%, 200%);
  background: var(--ink); color: var(--paper); padding: .7rem 1.2rem; font-size: .8rem;
  transition: transform .3s; z-index: 60;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- pozostałości poprzedniego motywu (sekcje nieużywane) ---------- */
.country-teaser, .country-stats { display: none; }
.country-teaser-copy, .country-teaser-map { display: none; }

/* ---------- responsywność ---------- */
@media (max-width: 960px) {
  .about-panel { grid-template-columns: 1fr; gap: 1.4rem; }
  .country-title-row { grid-template-columns: 1fr; }
  .country-meta { border-left: none; border-top: 1px dashed var(--line); padding: 1.2rem 0 0; grid-auto-flow: column; justify-content: start; gap: 1.8rem; }
  .country-board { grid-template-columns: 1fr; }
  .country-map { position: static; max-width: 460px; margin: 0 auto; width: 100%; }
  .place-hero, .place-content { grid-template-columns: 1fr; }
  .place-aside { position: static; }
}
@media (max-width: 680px) {
  .site-header { flex-wrap: wrap; gap: .55rem 1rem; }
  .main-nav { display: flex; order: 3; width: 100%; justify-content: space-between; gap: .5rem; padding-top: .45rem; border-top: 1px dotted var(--line); font-size: .68rem; }
  .search-trigger span { display: none; }
  .search-trigger { padding: .45rem .6rem; }
  .place-row { grid-template-columns: 64px 1fr auto; gap: .8rem; }
  .place-thumb { width: 64px; }
  .fact { grid-template-columns: 1fr; gap: .15rem; }
}
