/* Wspólne style wyglądu v2 (ADR 0053): kroje z templates/fonts/ (SIL OFL 1.1), kolory, pasek, nagłówek, mapa, filtry, stopka.
   build_site dokleja je na początek v2.css (strony wakacji v2, ADR 0041) i home_v2.css (strona główna v2, ADR 0090). */
@font-face { font-family: "Commissioner"; font-weight: 400 700; font-display: swap; src: url("fonts/commissioner-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Commissioner"; font-weight: 400 700; font-display: swap; src: url("fonts/commissioner-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400 500; font-display: swap; src: url("fonts/jetbrains-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400 500; font-display: swap; src: url("fonts/jetbrains-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/literata-italic-greek-ext.woff2") format("woff2"); unicode-range: U+1F00-1FFF; }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/literata-italic-greek.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/literata-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/literata-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Literata"; font-weight: 400 500; font-display: swap; src: url("fonts/literata-greek-ext.woff2") format("woff2"); unicode-range: U+1F00-1FFF; }
@font-face { font-family: "Literata"; font-weight: 400 500; font-display: swap; src: url("fonts/literata-greek.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Literata"; font-weight: 400 500; font-display: swap; src: url("fonts/literata-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Literata"; font-weight: 400 500; font-display: swap; src: url("fonts/literata-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #15181b; --paper: #f5f4f0; --white: #fff; --line: #e3e1db; --line-soft: #eeece6;
  --hover: #e9e7e1; --body: #3d4247; --muted: #6b7075; --faint: #8a8f94;
  --acc: #b4502b; --acc-soft: #f7e8e0;
  --sans: "Commissioner", system-ui, sans-serif;
  --serif: "Literata", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 3vw, 32px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body.v2 { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; line-height: 1.45; }
.v2 a { color: var(--acc); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.v2 a:hover { color: var(--ink); }
.v2 ::selection { background: var(--acc-soft); }
.v2 h1, .v2 h2, .v2 h3 { font-family: var(--sans); margin: 0; }
.v2 img { max-width: 100%; }
.v2 button { font: inherit; color: inherit; }
.v2-wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.v2-sec { padding-top: clamp(56px, 7vw, 104px); }
.v2-sec > h2, .v2-split h2 { font-weight: 700; font-size: clamp(30px, 3.8vw, 46px); letter-spacing: -0.03em; line-height: 1.05; margin: 8px 0 22px; }
.v2-kicker { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--acc); margin: 0; }
.v2-mono { font-family: var(--mono); font-size: 12px; color: var(--faint); margin: 0; }
.v2-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin: 0; }
.v2-serif, .v2-serif p { font-family: var(--serif); font-size: 17px; line-height: 1.65; color: var(--body); text-wrap: pretty; }
.v2-serif p { margin: 0 0 0.6em; }
.v2-small, .v2-small p { font-size: 13px; line-height: 1.55; color: var(--muted); }
.v2-small p { margin: 0 0 0.6em; }
.v2-pill { font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; white-space: nowrap; }
.v2-pill:hover { border-color: var(--ink); }

/* pasek */
.v2-bar { position: sticky; top: 0; z-index: 1100; background: rgba(245, 244, 240, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.v2-bar-in { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); height: 60px; display: flex; align-items: center; gap: 20px; }
.v2 .v2-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.v2-brand img { display: block; }
.v2-nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.v2 .v2-nav a { padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--body); text-decoration: none; white-space: nowrap; }
.v2 .v2-nav a:hover { background: var(--hover); color: var(--ink); }
/* link do wyszukiwarki z lupą (ADR 0104); na wąskim ekranie sama lupa */
.v2 .v2-search { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--white); font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
.v2 .v2-search:hover, .v2 .v2-search[aria-current="page"] { border-color: var(--ink); }
.v2-search svg { display: block; }
@media (max-width: 560px) { .v2 .v2-search { padding: 8px 9px; } .v2-search span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.v2-seg { display: flex; gap: 4px; padding: 3px; background: var(--hover); border-radius: 10px; width: fit-content; max-width: 100%; overflow-x: auto; flex-shrink: 0; }
.v2-seg a, .v2-seg button { font-size: 13px; font-weight: 600; padding: 6px 12px; border: 0; border-radius: 8px; cursor: pointer; background: transparent; color: #5c6166; text-decoration: none; white-space: nowrap; }
.v2 .v2-seg a { color: #5c6166; }
.v2-seg a[aria-current="page"], .v2-seg button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.v2 .v2-seg a[aria-current="page"] { color: var(--ink); }
.v2-seg small { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--muted); margin-left: 8px; }

/* nagłówek strony */
.v2-hero { padding-top: clamp(28px, 5vw, 64px); }
.v2-hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(28px, 4vw, 56px); align-items: center; }
.v2-hero-text { min-width: 0; }
.v2-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.v2-chips span { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--body); }
.v2 h1 { font-weight: 700; font-size: clamp(40px, 6vw, 78px); line-height: 0.98; letter-spacing: -0.035em; margin: 20px 0 22px; text-wrap: balance; }
.v2-lead p { font-family: var(--serif); font-size: 18px; line-height: 1.65; color: var(--body); margin: 0 0 0.8em; max-width: 62ch; text-wrap: pretty; }
.v2-downloads { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.v2 .v2-downloads a { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.v2 .v2-downloads a:first-child { background: var(--ink); color: var(--white); border-color: var(--ink); }
.v2 .v2-downloads a:hover { opacity: 0.85; }
.v2-downloads span { font-family: var(--mono); font-size: 10px; font-weight: 500; opacity: 0.7; }
.v2-hero-fig { margin: 0; min-width: 0; }
.v2-hero-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; display: block; background: var(--line); }
.v2-hero-fig figcaption { font-size: 11px; color: var(--muted); margin-top: 8px; }
.v2 .v2-hero-fig figcaption a { color: var(--muted); }
.v2-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin: 0; }
/* linie między polami cieniem: puste miejsce w ostatnim rzędzie zostaje białe */
.v2-facts > div { padding: 16px 18px; box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.v2-facts dt { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.v2-facts dd { margin: 6px 0 0; font-size: 15px; line-height: 1.45; font-weight: 500; }
.v2-facts-top { margin-top: clamp(32px, 4vw, 48px); }
.v2-facts-region { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); margin-top: 24px; }
.v2-facts-region > div { padding: 14px 16px; }
.v2-facts-region dd { font-size: 14px; font-weight: 400; }


/* mapa */
.v2-mapgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.v2-mapbox { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #eceae4; height: 360px; }
.v2-map { position: absolute; inset: 0; font-family: var(--sans); background: #eceae4; }
.v2-map .leaflet-tile-pane { filter: grayscale(1) brightness(1.06) contrast(0.88); }
.v2 .leaflet-container { font-family: var(--sans); }
.v2 .leaflet-popup-content-wrapper { border-radius: 12px; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14); }
.v2 .leaflet-popup-content { margin: 14px 16px; font-size: 13px; line-height: 1.45; }
.v2 .leaflet-popup-content strong { display: block; font-size: 14px; line-height: 1.3; margin-bottom: 4px; }
.v2 .leaflet-tooltip { font-family: var(--sans); font-size: 12px; font-weight: 600; border: 0; border-radius: 6px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); padding: 3px 8px; }
.v2-pop-meta { color: var(--muted); margin-bottom: 6px; }

/* filtry nad listą */
.v2-filters { display: flex; flex-wrap: wrap; gap: 6px; position: sticky; top: 0; z-index: 2; background: var(--paper); padding-bottom: 4px; }
.v2-filters button { font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; cursor: pointer; display: flex; gap: 5px; align-items: center; white-space: nowrap; background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.v2-filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.v2-filters span { font-family: var(--mono); font-size: 11px; font-weight: 500; opacity: 0.65; }

/* stopka */
.v2-footer { margin-top: 96px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.55; color: var(--muted); }
.v2-footer .v2-wrap { padding-top: 24px; padding-bottom: 24px; }
.v2-footer p { margin: 0 0 10px; }
.v2-footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.v2 .v2-footer a { color: var(--muted); }
.v2-updated { font-size: 12px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* „Smaki po drodze” – menu wypraw (ADR 0097) w wyglądzie v2; wspólne style w v2-base.css. */
.t-hero h1 { margin-bottom: 14px; }
.t-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.v2 .t-toc a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.v2 .t-toc a:hover { border-color: var(--ink); }
.t-toc i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* karta menu: papier, podwójna ramka, tytuł pośrodku */
.t-sec { padding-top: clamp(40px, 5vw, 72px); }
.t-menu { max-width: 860px; margin: 0 auto; background: #fffdf8; border: 1px solid var(--line); border-top: 6px solid var(--trip, var(--acc)); border-radius: 6px 6px 18px 18px; padding: clamp(24px, 4vw, 48px) clamp(18px, 4vw, 56px); box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(0, 0, 0, 0.35); }
.t-menu-head { text-align: center; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 3px double var(--line); }
.t-menu-k { font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 0; }
.v2 .t-menu h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.01em; line-height: 1.1; margin: 10px 0 6px; }
.v2 .t-menu h2 a { color: var(--ink); text-decoration: none; }
.v2 .t-menu h2 a:hover { color: var(--acc); }
.t-menu-sub { font-family: var(--serif); font-style: italic; color: var(--body); margin: 0; }
.v2 .t-menu h3 { font-family: var(--sans); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--acc); text-align: center; margin: 30px 0 10px; }
.v2 .t-menu h3::before, .v2 .t-menu h3::after { content: "·"; margin: 0 10px; color: var(--faint); }

/* pozycja: miniatura, nazwa, kropki, miejsce na trasie */
.t-items { list-style: none; margin: 0; padding: 0; }
.t-items li { padding: 4px 0; }
.v2 .t-items a { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.v2 .t-items a:hover .t-name { color: var(--acc); text-decoration: underline; }
.t-thumb { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); }
.t-thumb-none { background: var(--acc-soft); display: flex; align-items: center; justify-content: center; }
.t-thumb-none svg { width: 30px; height: 30px; }
.t-name { font-family: var(--serif); font-size: 18px; line-height: 1.3; }
.t-name sup { color: var(--acc); font-family: var(--sans); font-size: 12px; margin-left: 2px; }
.t-dots { flex: 1; min-width: 24px; border-bottom: 2px dotted #cfccc4; transform: translateY(6px); }
.t-place { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: right; max-width: 45%; }
.t-off { display: block; margin: 2px 0 0 60px; font-size: 12px; font-style: italic; color: var(--muted); }
.t-foot { margin: 26px 0 0; padding-top: 14px; border-top: 1px solid var(--line-soft); font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--body); text-align: center; }

.t-end { max-width: 860px; }
.h-credits { margin-top: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.h-credits summary { padding: 14px 18px; font-weight: 600; font-size: 14px; cursor: pointer; }
.h-credits ul { margin: 0; padding: 0 18px 16px 36px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.v2 .h-credits a { color: #5c6166; }
.en-note { font-size: 13px; }
.lang-hint { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 16px; background: var(--acc-soft); border-bottom: 1px solid var(--line); font-size: 14px; }
.lang-hint button { border: 0; background: none; font-size: 20px; line-height: 1; cursor: pointer; color: var(--muted); }

@media (max-width: 600px) {
  .t-items a { flex-wrap: wrap; row-gap: 0; }
  .t-name { flex: 1; min-width: 0; font-size: 17px; }
  .t-dots { display: none; }
  .t-place { flex-basis: 100%; max-width: none; text-align: left; padding-left: 60px; margin-top: -4px; }
  .t-off { margin-left: 60px; }
}
