/* ==========================================================================
   theme-noclegi · v2.0.0 — Portal noclegowy magazine-style
   Fonty: Inter + Playfair Display (lokalne, latin + latin-ext)
   Bez kursyw. Bez Powerkit. Pełne dropdown menu, hero mosaic, page templates.
   ========================================================================== */

/* ---------- 1. Fonts ---------- */
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('../fonts/inter-400-lat.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: 'Inter'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('../fonts/inter-400-lext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap;
  src: url('../fonts/inter-500-lat.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: 'Inter'; font-weight: 500; font-style: normal; font-display: swap;
  src: url('../fonts/inter-500-lext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap;
  src: url('../fonts/inter-600-lat.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: 'Inter'; font-weight: 600; font-style: normal; font-display: swap;
  src: url('../fonts/inter-600-lext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('../fonts/inter-700-lat.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: 'Inter'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('../fonts/inter-700-lext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face { font-family: 'Playfair Display'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('../fonts/playfair-400-lat.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: 'Playfair Display'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('../fonts/playfair-400-lext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face { font-family: 'Playfair Display'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('../fonts/playfair-700-lat.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: 'Playfair Display'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('../fonts/playfair-700-lext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face { font-family: 'Playfair Display'; font-weight: 900; font-style: normal; font-display: swap;
  src: url('../fonts/playfair-900-lat.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: 'Playfair Display'; font-weight: 900; font-style: normal; font-display: swap;
  src: url('../fonts/playfair-900-lext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- 2. Tokens ---------- */
:root {
  --c-ink: #111418;
  --c-ink-soft: #2a2f36;
  --c-paper: #ffffff;
  --c-cream: #f8f6f2;
  --c-cream-deep: #ede8de;
  --c-muted: #6b7280;
  --c-muted-2: #9ca3af;
  --c-rule: #e5e7eb;
  --c-rule-soft: #f0eee9;
  --c-accent: #1d3a2c;
  --c-accent-soft: #2c5644;
  --c-gold: #b08740;
  --c-error: #b3261e;

  --f-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --f-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --content-w: 1020px;
  --toc-w: 200px;
  --sidebar-w: 280px;
  --gap: 56px;
  --header-h: 76px;
  --container-pad: 32px;

  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 12px;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px; --s-9: 96px; --s-10: 128px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 6px 18px rgba(0,0,0,.06);
  --shadow-lg: 0 20px 48px rgba(0,0,0,.10);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 3. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; tab-size: 4; scroll-behavior: smooth; }
body { margin: 0; }
img, picture, video, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid var(--c-accent); outline-offset: 2px;
}
::selection { background: var(--c-accent); color: var(--c-paper); }

html, body {
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--f-sans);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* żadnej kursywy w treściach — wymuś normal */
em, i, blockquote, cite, address, dfn, var { font-style: normal !important; }

a { color: var(--c-accent); text-decoration: underline; text-decoration-color: rgba(29,58,44,.25); text-underline-offset: 3px; transition: text-decoration-color .2s var(--ease), color .2s var(--ease); }
a:hover { text-decoration-color: currentColor; }

p { margin: 0 0 1.1em; }
strong, b { font-weight: 600; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 1.6em 0 .55em;
  letter-spacing: -.012em;
  color: var(--c-ink);
}
h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -.022em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.18; }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); }
h4 { font-size: 1.18rem; }
h5, h6 { font-family: var(--f-sans); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }

blockquote {
  margin: 2em 0;
  padding: 0 0 0 24px;
  border-left: 3px solid var(--c-gold);
  font-family: var(--f-display);
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--c-accent);
  font-style: normal !important;
}
blockquote cite { display: block; margin-top: 14px; font-family: var(--f-sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); font-style: normal !important; }

code, pre, kbd { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
code { background: var(--c-cream); padding: 2px 6px; border-radius: 3px; }
pre { background: var(--c-cream); padding: 16px 20px; border-radius: var(--r-md); overflow-x: auto; }
pre code { background: transparent; padding: 0; }

hr { border: 0; border-top: 1px solid var(--c-rule); margin: var(--s-7) 0; }

ul, ol { padding-left: 1.4em; margin: 0 0 1.2em; }
li { margin-bottom: .35em; }

table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .95em; }
th, td { padding: 12px 16px; border-bottom: 1px solid var(--c-rule); text-align: left; }
th { background: var(--c-cream); font-weight: 600; font-size: .82em; letter-spacing: .04em; }

figure { margin: 1.8em 0; }
figcaption { margin-top: 10px; font-size: .82rem; color: var(--c-muted); line-height: 1.5; font-style: normal !important; }

/* ---------- 4. Containers ---------- */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--container-pad); }
.container-wide { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--container-pad); }
.container-narrow { width: 100%; max-width: 920px; margin: 0 auto; padding: 0 var(--container-pad); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -40px; left: 0; background: var(--c-accent); color: var(--c-paper); padding: 8px 14px; z-index: 1000; }
.skip-link:focus { top: 0; }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-rule);
  height: var(--header-h);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; height: 100%;
}
.site-header__brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.custom-logo { max-height: 40px; width: auto; }
.site-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.55rem;
  letter-spacing: -.02em;
  color: var(--c-ink);
  text-decoration: none;
  line-height: 1;
}
.site-tagline {
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 500;
  padding-left: 14px;
  border-left: 1px solid var(--c-rule);
}

/* Primary nav z dropdown */
.site-nav { flex: 1; display: flex; justify-content: center; }
.site-menu {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 6px;
  font-size: .92rem; font-weight: 500;
}
.site-menu > li { position: relative; }
.site-menu > li > a {
  display: flex; align-items: center; gap: 6px;
  color: var(--c-ink); text-decoration: none;
  padding: 26px 14px;
  position: relative;
  transition: color .2s var(--ease);
}
.site-menu > li > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 18px;
  height: 2px; background: var(--c-gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.site-menu > li:hover > a, .site-menu > li:focus-within > a { color: var(--c-accent); }
.site-menu > li:hover > a::after, .site-menu > li.current-menu-item > a::after, .site-menu > li.current-menu-parent > a::after { transform: scaleX(1); }
.site-menu > li.menu-item-has-children > a::before {
  content: ""; display: inline-block;
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 6px;
  order: 2;
  transition: transform .2s var(--ease);
}
.site-menu > li.menu-item-has-children:hover > a::before { transform: rotate(225deg) translateY(2px); }

/* mega-menu / dropdown */
.site-menu .sub-menu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--c-paper);
  min-width: 280px;
  list-style: none; margin: 0; padding: 14px 0;
  border: 1px solid var(--c-rule);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  z-index: 60;
  columns: 1;
}
.site-menu li:hover > .sub-menu, .site-menu li:focus-within > .sub-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.site-menu .sub-menu li { margin: 0; }
.site-menu .sub-menu a {
  display: block; padding: 8px 22px;
  color: var(--c-ink); text-decoration: none;
  font-weight: 500;
  transition: background .15s var(--ease), color .15s var(--ease), padding .25s var(--ease);
}
.site-menu .sub-menu a:hover { background: var(--c-cream); color: var(--c-accent); padding-left: 28px; }

/* dropdown szeroki dla "Regiony" — wykrywa przez ilość elementów */
.site-menu .sub-menu.has-many-items {
  columns: 2;
  column-gap: 20px;
  min-width: 460px;
}

.site-header__actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.search-toggle, .menu-toggle {
  background: none; border: 0;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  color: var(--c-ink);
  transition: background .2s var(--ease);
}
.search-toggle:hover, .menu-toggle:hover { background: var(--c-cream); }
.cta-button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--c-accent); color: var(--c-paper);
  font-size: .85rem; font-weight: 600;
  text-decoration: none;
  border-radius: var(--r-md);
  letter-spacing: .02em;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.cta-button:hover { background: var(--c-accent-soft); transform: translateY(-1px); }
.menu-toggle { display: none; flex-direction: column; gap: 4px; }
.menu-toggle span { width: 20px; height: 1.8px; background: currentColor; transition: transform .25s var(--ease); }

/* search modal */
.search-modal { position: fixed; top: 0; left: 0; right: 0; background: var(--c-paper); border-bottom: 1px solid var(--c-rule); z-index: 100; padding: 28px 0; box-shadow: var(--shadow-md); animation: search-slide .35s var(--ease); }
.search-modal[hidden] { display: none; }
.search-modal__inner { display: flex; gap: 16px; align-items: center; }
.search-modal__close { background: none; border: 0; font-size: 32px; line-height: 1; color: var(--c-muted); width: 44px; height: 44px; display: grid; place-items: center; }
@keyframes search-slide { from { transform: translateY(-12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.search-form { display: flex; flex: 1; align-items: center; border-bottom: 2px solid var(--c-ink); padding-bottom: 8px; }
.search-form__input { flex: 1; border: 0; background: transparent; font-family: var(--f-display); font-size: 1.5rem; font-weight: 400; color: var(--c-ink); outline: none; padding: 8px 0; }
.search-form__input::placeholder { color: var(--c-muted-2); font-family: var(--f-sans); font-size: 1.1rem; }
.search-form__submit { background: var(--c-accent); color: var(--c-paper); border: 0; width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r-md); }

/* ---------- 6. Buttons ---------- */
.button, button.button, a.button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  background: var(--c-accent);
  color: var(--c-paper);
  text-decoration: none;
  font-family: var(--f-sans);
  font-size: .9rem; font-weight: 600;
  letter-spacing: .02em;
  border: 0;
  border-radius: var(--r-md);
  transition: background .2s var(--ease), transform .2s var(--ease);
  cursor: pointer;
}
.button:hover { background: var(--c-accent-soft); transform: translateY(-1px); }
.button--ghost { background: transparent; color: var(--c-ink); border: 1.5px solid var(--c-ink); }
.button--ghost:hover { background: var(--c-ink); color: var(--c-paper); }
.button--gold { background: var(--c-gold); }
.button--gold:hover { background: #9c763a; }

/* ---------- 7. HOMEPAGE — Hero mosaic ---------- */
.home-hero {
  padding: var(--s-7) 0 var(--s-8);
  background: var(--c-paper);
}
.home-hero__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-7);
  align-items: end;
  margin-bottom: var(--s-7);
}
.home-hero__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.025em;
  margin: 0;
  max-width: 17ch;
}
.home-hero__title .accent { color: var(--c-accent); }
.home-hero__intro {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--c-muted);
  max-width: 380px;
}
.home-hero__intro p { margin-bottom: 16px; }
.home-hero__intro a { font-weight: 600; }

.home-hero__mosaic {
  display: grid;
  grid-template-columns: 7fr 5fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  height: 600px;
}
.home-hero__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--c-cream-deep);
  text-decoration: none;
  color: var(--c-paper);
  display: block;
  isolation: isolate;
}
.home-hero__card--lead { grid-row: 1 / 3; }
.home-hero__card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 1.2s var(--ease-out);
}
.home-hero__card:hover img { transform: scale(1.05); }
.home-hero__card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,20,24,0) 35%, rgba(17,20,24,.85) 100%);
  z-index: 1;
}
.home-hero__card-body {
  position: relative; z-index: 2;
  padding: var(--s-6);
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.home-hero__card-region {
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 600;
  margin-bottom: 10px;
}
.home-hero__card-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  line-height: 1.05;
  margin: 0 0 6px;
  color: var(--c-paper);
}
.home-hero__card--lead .home-hero__card-title { font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 900; }
.home-hero__card-desc {
  font-size: .92rem;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
  max-width: 36ch;
  margin: 8px 0 0;
}

/* ---------- 8. HOMEPAGE — Regions grid ---------- */
.home-regions {
  padding: var(--s-9) 0;
  background: var(--c-cream);
}
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: var(--s-7);
}
.section-eyebrow {
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 600;
  margin: 0 0 var(--s-3);
}
.section-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -.02em;
}
.section-title .accent { color: var(--c-accent); }
.section-link {
  font-size: .85rem; font-weight: 600;
  color: var(--c-ink);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1.5px solid var(--c-ink);
  padding-bottom: 4px;
  transition: gap .25s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.section-link:hover { gap: 14px; color: var(--c-accent); border-color: var(--c-accent); }

.regions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.region-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--c-paper);
  background: var(--c-accent);
  isolation: isolate;
  display: block;
}
.region-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: 0;
  transition: transform 1.2s var(--ease-out);
}
.region-card:hover img { transform: scale(1.06); }
.region-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,20,24,0) 40%, rgba(17,20,24,.85) 100%);
  z-index: 1;
}
.region-card__body {
  position: relative; z-index: 2;
  padding: var(--s-5);
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.region-card__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.05;
  margin: 0 0 4px;
  color: var(--c-paper);
}
.region-card__count {
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}

/* ---------- 9. HOMEPAGE — Featured destinations ---------- */
.home-destinations {
  padding: var(--s-9) 0;
}
.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.dest-card {
  display: flex; flex-direction: column;
  text-decoration: none;
  color: var(--c-ink);
}
.dest-card__media {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--c-cream-deep);
  margin-bottom: var(--s-4);
}
.dest-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.dest-card:hover .dest-card__media img { transform: scale(1.04); }
.dest-card__region {
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 600;
  margin: 0 0 8px;
}
.dest-card__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.1;
  margin: 0 0 var(--s-2);
}
.dest-card__title a { color: inherit; text-decoration: none; }
.dest-card:hover .dest-card__title { color: var(--c-accent); }
.dest-card__desc {
  font-size: .95rem;
  line-height: 1.55;
  color: var(--c-muted);
  margin: 0;
}

/* ---------- 10. HOMEPAGE — Latest posts (magazine) ---------- */
.home-latest {
  padding: var(--s-9) 0;
  background: var(--c-cream);
  border-top: 1px solid var(--c-rule);
}
.latest-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s-6);
}
.latest-card {
  display: flex; flex-direction: column;
  text-decoration: none;
  color: var(--c-ink);
}
.latest-card__media {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--r-md);
  margin-bottom: var(--s-4);
  background: var(--c-cream-deep);
}
.latest-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.latest-card:hover .latest-card__media img { transform: scale(1.04); }
.latest-card--feature .latest-card__media { aspect-ratio: 16/12; }
.latest-card--feature .latest-card__title { font-size: 2.1rem; }
.latest-card__cat {
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 600;
  margin-bottom: 8px;
}
.latest-card__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.18;
  margin: 0 0 var(--s-3);
}
.latest-card__title a { color: inherit; text-decoration: none; }
.latest-card:hover .latest-card__title { color: var(--c-accent); }
.latest-card__excerpt {
  font-size: .92rem;
  line-height: 1.55;
  color: var(--c-muted);
  margin: 0 0 var(--s-3);
}
.latest-card__meta {
  display: flex; gap: 10px; align-items: center;
  font-size: .78rem;
  color: var(--c-muted);
  letter-spacing: .04em;
}
.latest-card__meta .dot { color: var(--c-rule); }

/* ---------- 12. Page templates: DESTINATION (city) ---------- */
.dest-hero {
  position: relative;
  height: clamp(420px, 60vh, 620px);
  overflow: hidden;
  color: var(--c-paper);
  background: var(--c-accent);
  isolation: isolate;
}
.dest-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: 0;
}
.dest-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,20,24,.45) 0%, rgba(17,20,24,.15) 35%, rgba(17,20,24,.85) 100%);
  z-index: 1;
}
.dest-hero__inner {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--s-7) var(--container-pad) var(--s-7);
  max-width: 1280px; margin: 0 auto;
}
.dest-hero__breadcrumbs { margin-bottom: var(--s-5); }
.dest-hero__breadcrumbs, .dest-hero__breadcrumbs a {
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  letter-spacing: .04em;
}
.dest-hero__breadcrumbs a:hover { color: var(--c-paper); }
.dest-hero__breadcrumbs__sep { color: rgba(255,255,255,.4); }

.dest-hero__region {
  font-size: .8rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 600;
  margin: 0 0 var(--s-3);
}
.dest-hero__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: .95;
  letter-spacing: -.025em;
  margin: 0 0 var(--s-4);
  color: var(--c-paper);
}
.dest-hero__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  color: rgba(255,255,255,.92);
  max-width: 56ch;
  margin: 0;
}

/* Sticky info bar */
.dest-infobar {
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-rule);
  position: sticky; top: var(--header-h); z-index: 40;
  font-size: .85rem;
}
.dest-infobar__inner {
  max-width: 1280px; margin: 0 auto;
  padding: 16px var(--container-pad);
  display: flex; flex-wrap: wrap; gap: var(--s-6); align-items: center;
}
.dest-infobar dl { display: flex; gap: 6px; align-items: baseline; margin: 0; }
.dest-infobar dt {
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-muted); font-weight: 600;
}
.dest-infobar dd { margin: 0; font-weight: 500; color: var(--c-ink); }

/* Destination layout 2-col */
.dest-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--s-7);
  padding: var(--s-8) var(--container-pad) var(--s-9);
  max-width: 1280px; margin: 0 auto;
  align-items: start;
}
.dest-content {
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: var(--content-w);
  min-width: 0;
}
.dest-content h2 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); margin-top: 2.4em; scroll-margin-top: calc(var(--header-h) + 80px); }
.dest-content h3 { font-size: 1.4rem; margin-top: 2em; scroll-margin-top: calc(var(--header-h) + 80px); }
.dest-content > p:first-child { font-size: 1.18rem; line-height: 1.55; color: var(--c-ink-soft); }
.dest-content figure { margin: 2em 0; }
.dest-content figure img { border-radius: var(--r-md); }

/* Sidebar destination */
.dest-sidebar {
  position: sticky; top: calc(var(--header-h) + 80px);
  align-self: start;
  display: flex; flex-direction: column; gap: var(--s-5);
}
.dest-sidebar__card {
  background: var(--c-cream);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-md);
  padding: var(--s-5);
}
.dest-sidebar__card-title {
  font-family: var(--f-sans);
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 600;
  margin: 0 0 var(--s-3);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--c-rule);
}
.dest-sidebar__list { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.dest-sidebar__list li { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px dotted var(--c-rule); }
.dest-sidebar__list li:last-child { border: 0; padding: 0; margin: 0; }
.dest-sidebar__list a { color: var(--c-ink); text-decoration: none; display: flex; justify-content: space-between; gap: 8px; }
.dest-sidebar__list a:hover { color: var(--c-accent); }
.dest-sidebar__list .meta { color: var(--c-muted); font-size: .8rem; }

/* Booking cards */
.booking-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
  margin: var(--s-6) 0;
}
.booking-card {
  display: block;
  text-decoration: none;
  background: var(--c-paper);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-md);
  padding: var(--s-5);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.booking-card:hover { border-color: var(--c-accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.booking-card__provider {
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 600;
  margin-bottom: 8px;
}
.booking-card__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--c-ink);
  margin: 0 0 8px;
}
.booking-card__meta { font-size: .85rem; color: var(--c-muted); display: flex; gap: 12px; flex-wrap: wrap; }

/* Map embed */
.dest-map {
  margin: var(--s-7) 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-cream);
  border: 1px solid var(--c-rule);
}
.dest-map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* Share buttons */
.share-buttons {
  display: flex; gap: 8px;
  margin: var(--s-6) 0;
  align-items: center;
}
.share-buttons__label {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-muted); font-weight: 600;
  margin-right: 8px;
}
.share-buttons a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--c-rule);
  border-radius: 50%;
  color: var(--c-ink);
  text-decoration: none;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.share-buttons a:hover { background: var(--c-accent); color: var(--c-paper); border-color: var(--c-accent); }

/* ---------- 13. Page templates: REGION (kraj związkowy) ---------- */
.region-hero {
  background: var(--c-cream);
  padding: var(--s-9) 0 var(--s-7);
  border-bottom: 1px solid var(--c-rule);
}
.region-hero__inner {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--s-7);
  align-items: center;
}
.region-hero__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -.025em;
  margin: 0 0 var(--s-5);
}
.region-hero__lede {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--c-muted);
  max-width: 56ch;
  margin: 0;
}
.region-hero__image {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--c-cream-deep);
}
.region-hero__image img { width: 100%; height: 100%; object-fit: cover; }

/* Region content layout (2-col z TOC) */
.region-content {
  padding: var(--s-8) 0;
  background: var(--c-paper);
}
.region-content__layout {
  max-width: 1280px;
  display: block;
}
.region-content__layout.has-toc {
  display: grid;
  grid-template-columns: var(--toc-w) minmax(0, 920px);
  gap: var(--gap);
  align-items: start;
  justify-content: start;
}
.region-content__layout .article-content {
  max-width: 920px;
  font-size: 1.0625rem;
  line-height: 1.7;
}
.region-content__layout:not(.has-toc) .article-content {
  margin: 0 auto;
}
.region-content__layout .article-content > h2 {
  scroll-margin-top: calc(var(--header-h) + 32px);
}
.region-content__layout .article-content > h3 {
  scroll-margin-top: calc(var(--header-h) + 32px);
}

/* Cities grid */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  padding: var(--s-9) 0;
}

/* ---------- 14. Single post (article) — 3-col ---------- */
.single-post__hero { padding: var(--s-7) var(--container-pad) var(--s-6); }
.single-post__hero-text { max-width: var(--content-w); margin: 0 auto; }
.single-post__eyebrow { font-size: .76rem; letter-spacing: .25em; text-transform: uppercase; color: var(--c-accent); font-weight: 600; margin: 0 0 var(--s-4); }
.single-post__eyebrow a { color: inherit; text-decoration: none; }
.single-post__eyebrow a:hover { color: var(--c-gold); }
.single-post__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0 0 var(--s-5);
  max-width: 22ch;
}
.single-post__lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.5;
  color: var(--c-muted);
  margin: 0 0 var(--s-5);
  max-width: 60ch;
}
.single-post__byline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .85rem; color: var(--c-muted); padding-top: var(--s-5); border-top: 1px solid var(--c-rule); }
.byline__avatar { width: 36px; height: 36px; border-radius: 50%; margin-right: 4px; }
.byline__name a { color: var(--c-ink); text-decoration: none; font-weight: 600; }
.byline__name a:hover { color: var(--c-accent); }
.byline__sep { color: var(--c-rule); }

.single-post__hero-image { margin: var(--s-7) auto 0; max-width: 1280px; }
.single-post__hero-image img { width: 100%; height: auto; border-radius: var(--r-md); }
.single-post__hero-image figcaption { text-align: center; margin-top: 14px; color: var(--c-muted); font-size: .9rem; }

/* breadcrumbs */
.breadcrumbs { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: .8rem; color: var(--c-muted); margin-bottom: var(--s-5); letter-spacing: .04em; }
.breadcrumbs a { color: var(--c-muted); text-decoration: none; transition: color .2s var(--ease); }
.breadcrumbs a:hover { color: var(--c-accent); }
.breadcrumbs__sep { color: var(--c-rule); }
.breadcrumbs [aria-current] { color: var(--c-ink); }

.single-post__layout {
  display: grid;
  grid-template-columns: var(--toc-w) minmax(0, var(--content-w)) var(--sidebar-w);
  gap: var(--gap);
  padding: var(--s-8) var(--container-pad) var(--s-9);
  align-items: start;
  justify-content: center;
}
.single-post__layout:not(:has(.sidebar-left)) {
  grid-template-columns: minmax(0, var(--content-w)) var(--sidebar-w);
}
.single-post__layout:not(:has(.sidebar-right)) {
  grid-template-columns: var(--toc-w) minmax(0, var(--content-w));
}
.single-post__layout:not(:has(.sidebar-left)):not(:has(.sidebar-right)) {
  grid-template-columns: minmax(0, var(--content-w));
}
.article-content { min-width: 0; max-width: var(--content-w); }

/* Sidebar TOC left */
.sidebar-left { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; max-width: var(--toc-w); }
.sidebar-left__inner { max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; padding-right: 8px; scrollbar-width: thin; scrollbar-color: var(--c-rule) transparent; }
.noclegi-toc-toggle { display: none; }
.noclegi-toc__heading { font-family: var(--f-sans) !important; font-size: .7rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--c-muted); margin: 0 0 var(--s-4) !important; padding-bottom: var(--s-3); border-bottom: 1px solid var(--c-rule); }
.noclegi-toc__list { list-style: none; margin: 0; padding: 0; font-size: .88rem; line-height: 1.45; }
.noclegi-toc__sublist { list-style: none; margin: 6px 0 0 14px; padding: 0 0 0 12px; border-left: 1px solid var(--c-rule); font-size: .82rem; }
.noclegi-toc__item { margin-bottom: 10px; }
.noclegi-toc__item--h3 { margin-bottom: 6px; }
.noclegi-toc__list a { color: var(--c-muted); text-decoration: none; display: block; padding: 4px 0 4px 12px; border-left: 2px solid transparent; margin-left: -12px; transition: color .2s var(--ease), border-color .2s var(--ease); }
.noclegi-toc__list a:hover { color: var(--c-ink); }
.noclegi-toc__list a.is-active { color: var(--c-accent); border-left-color: var(--c-gold); font-weight: 600; }

/* article content */
.entry-content { font-size: 1.0625rem; line-height: 1.7; color: var(--c-ink); }
.entry-content > h2 { font-size: clamp(1.6rem, 2.2vw, 1.95rem); margin-top: 2.4em; scroll-margin-top: calc(var(--header-h) + 32px); }
.entry-content > h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); margin-top: 2em; scroll-margin-top: calc(var(--header-h) + 32px); }
.entry-content figure { margin: 2em 0; }
.entry-content .wp-block-image img { border-radius: var(--r-md); }

.entry-content .wp-block-pullquote { margin: var(--s-7) 0; padding: var(--s-6) 0; border-top: 1px solid var(--c-rule); border-bottom: 1px solid var(--c-rule); text-align: center; }
.entry-content .wp-block-pullquote p { font-family: var(--f-display); font-size: 1.6rem; line-height: 1.3; color: var(--c-accent); margin: 0; }

/* RankMath FAQ */
.entry-content .wp-block-rank-math-faq-block { margin: var(--s-7) 0; }
.entry-content .rank-math-faq-item, .entry-content .rank-math-list-item { padding: var(--s-5) 0; border-bottom: 1px solid var(--c-rule); }
.entry-content .rank-math-question { font-family: var(--f-display); font-weight: 700; font-size: 1.18rem; margin: 0 0 var(--s-3); color: var(--c-ink); }
.entry-content .rank-math-answer { font-size: 1rem; line-height: 1.65; color: var(--c-ink-soft); }

/* tags */
.entry-tags { margin: var(--s-7) 0; padding: var(--s-5) 0; border-top: 1px solid var(--c-rule); font-size: .85rem; }
.entry-tags__label { font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); font-size: .72rem; margin-right: 8px; }
.entry-tags a { display: inline-block; padding: 5px 12px; margin: 4px 4px 4px 0; background: var(--c-cream); border-radius: 100px; color: var(--c-ink); text-decoration: none; font-size: .82rem; transition: background .2s var(--ease); }
.entry-tags a:hover { background: var(--c-accent); color: var(--c-paper); }

.entry-pagination { margin: var(--s-6) 0; padding: var(--s-4) 0; border-top: 1px solid var(--c-rule); border-bottom: 1px solid var(--c-rule); display: flex; gap: 12px; align-items: baseline; font-size: .9rem; }

/* Sidebar right */
.sidebar-right { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; max-width: var(--sidebar-w); }
.sidebar-right__inner { max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; padding-right: 8px; scrollbar-width: thin; scrollbar-color: var(--c-rule) transparent; }

.widget { margin-bottom: var(--s-6); font-size: .92rem; }
.widget__title { font-family: var(--f-sans) !important; font-size: .7rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--c-muted); margin: 0 0 var(--s-4) !important; padding-bottom: var(--s-3); border-bottom: 1px solid var(--c-rule); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px dotted var(--c-rule); }
.widget li:last-child { border-bottom: 0; }
.widget a { color: var(--c-ink); text-decoration: none; transition: color .2s var(--ease); }
.widget a:hover { color: var(--c-accent); }

/* Related posts */
.related-posts { margin: var(--s-9) 0 0; padding: var(--s-7) 0 0; border-top: 1px solid var(--c-rule); }
.related-posts__title { font-family: var(--f-sans); font-size: .76rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--c-muted); margin: 0 0 var(--s-5); }
.related-posts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.related-posts__card { display: block; text-decoration: none; color: var(--c-ink); }
.related-posts__thumb { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--r-md); background: var(--c-cream-deep); }
.related-posts__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.related-posts__card:hover .related-posts__thumb img { transform: scale(1.04); }
.related-posts__meta { padding-top: var(--s-3); }
.related-posts__cat { display: block; font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: var(--c-accent); font-weight: 600; margin-bottom: 6px; }
.related-posts__h { font-family: var(--f-display); font-size: 1.1rem; font-weight: 700; line-height: 1.3; margin: 0; }
.related-posts__card:hover .related-posts__h { color: var(--c-accent); }

/* ---------- 15. Archive ---------- */
.archive { padding: var(--s-7) var(--container-pad) var(--s-9); max-width: 1280px; margin: 0 auto; }
.archive__header { margin-bottom: var(--s-7); padding-bottom: var(--s-5); border-bottom: 1px solid var(--c-rule); }
.archive__title { font-family: var(--f-display); font-weight: 900; font-size: clamp(2rem, 4vw, 3rem); margin: 0; line-height: 1.05; letter-spacing: -.02em; }
.archive__title .accent { color: var(--c-accent); }
.archive__desc { font-size: 1.1rem; color: var(--c-muted); max-width: 60ch; margin-top: var(--s-4); }

.post-list { display: grid; grid-template-columns: 1fr; gap: 0; }
.post-card--list { display: grid; grid-template-columns: 360px 1fr; gap: var(--s-6); padding: var(--s-6) 0; border-bottom: 1px solid var(--c-rule); align-items: center; }
.post-card--list:first-child { padding-top: 0; }
.post-card__link { display: block; }
.post-card__thumb { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--r-md); background: var(--c-cream-deep); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card--list:hover .post-card__thumb img { transform: scale(1.03); }
.post-card__body { min-width: 0; }
.post-card__eyebrow { font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--c-accent); font-weight: 600; margin: 0 0 var(--s-2); }
.post-card__eyebrow a { color: inherit; text-decoration: none; }
.post-card__title { font-family: var(--f-display); font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 700; line-height: 1.18; margin: 0 0 var(--s-3); }
.post-card__title a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
.post-card__title a:hover { color: var(--c-accent); }
.post-card__excerpt { color: var(--c-muted); margin: 0 0 var(--s-3); line-height: 1.55; font-size: .95rem; }
.post-card__meta { display: flex; gap: 8px; align-items: center; font-size: .8rem; color: var(--c-muted); }
.post-card__meta .dot { color: var(--c-rule); }

/* pagination */
.pagination, .nav-links { display: flex; gap: 8px; margin: var(--s-7) 0; font-size: .92rem; justify-content: center; }
.pagination .page-numbers, .nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--c-rule); border-radius: var(--r-md); color: var(--c-ink); text-decoration: none; transition: border-color .2s var(--ease), background .2s var(--ease); }
.pagination .page-numbers:hover, .nav-links .page-numbers:hover { border-color: var(--c-accent); }
.pagination .current, .nav-links .current { background: var(--c-accent); color: var(--c-paper); border-color: var(--c-accent); }

/* ---------- 16. Footer (rozbudowany) ---------- */
.site-footer { background: var(--c-ink); color: rgba(255,255,255,.78); margin-top: var(--s-9); }
.site-footer a { color: rgba(255,255,255,.78); transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--c-paper); }

.site-footer__top { padding: var(--s-9) 0 var(--s-7); border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer__top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-7);
}
.site-footer__brand { color: var(--c-paper); }
.site-footer__title { font-family: var(--f-display); font-weight: 900; font-size: 1.7rem; line-height: 1.05; color: var(--c-paper); text-decoration: none; display: inline-block; margin-bottom: 12px; }
.site-footer__desc { font-size: .92rem; line-height: 1.55; max-width: 320px; }
.site-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.site-footer__social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; transition: background .2s var(--ease), border-color .2s var(--ease); }
.site-footer__social a:hover { background: var(--c-paper); color: var(--c-ink); border-color: var(--c-paper); }

.site-footer__col h4 { font-family: var(--f-sans); font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--c-paper); font-weight: 600; margin: 0 0 var(--s-4); }
.site-footer__col ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col li { margin-bottom: 10px; font-size: .92rem; }

.site-footer__bottom { padding: var(--s-5) 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font-size: .8rem; color: rgba(255,255,255,.5); }

/* ---------- 17. Comments (compact) ---------- */
.comments { margin: var(--s-7) 0; padding-top: var(--s-6); border-top: 1px solid var(--c-rule); }
.comments__title { font-family: var(--f-display); font-size: 1.4rem; margin: 0 0 var(--s-5); }
.comments__list { list-style: none; padding: 0; margin: 0 0 var(--s-6); }

/* ---------- 18. Responsive ---------- */
@media (max-width: 1279px) {
  :root { --gap: 36px; --sidebar-w: 240px; --content-w: 720px; }
  .home-hero__head { grid-template-columns: 1fr; gap: var(--s-5); }
  .home-hero__intro { max-width: 580px; }
  .latest-grid { grid-template-columns: 1fr 1fr; }
  .latest-card--feature { grid-column: 1 / -1; }
  .site-footer__top-grid { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; margin-bottom: var(--s-5); }
}

@media (max-width: 1023px) {
  .site-menu, .site-tagline, .cta-button { display: none; }
  .menu-toggle { display: flex; }

  .home-hero__mosaic { grid-template-columns: 1fr; grid-template-rows: 380px repeat(2, 220px); height: auto; }
  .home-hero__card--lead { grid-row: 1; }

  .regions-grid { grid-template-columns: 1fr 1fr; }
  .dest-grid { grid-template-columns: 1fr 1fr; }
  .cities-grid { grid-template-columns: 1fr 1fr; }
  .related-posts__grid { grid-template-columns: 1fr 1fr; }

  .region-hero__inner { grid-template-columns: 1fr; gap: var(--s-5); }

  .dest-layout { grid-template-columns: 1fr; }
  .dest-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .dest-sidebar__card { flex: 1 1 280px; }

  .booking-cards { grid-template-columns: 1fr; }

  /* Single 3-col → 1-col (TOC kolapsuje) */
  :root { --toc-w: 100%; }
  .single-post__layout { grid-template-columns: 1fr !important; gap: var(--s-6); padding: var(--s-6) 24px var(--s-8); }
  .sidebar-left { position: static; max-width: 100%; border: 1px solid var(--c-rule); border-radius: var(--r-md); overflow: hidden; margin-bottom: var(--s-5); }
  .sidebar-left__inner { display: none; max-height: 50vh; padding: var(--s-4) var(--s-5); }
  .sidebar-left.is-open .sidebar-left__inner { display: block; }
  .noclegi-toc-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: var(--s-3) var(--s-5); background: var(--c-cream); border: 0; font-family: var(--f-sans); font-size: .82rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--c-ink); cursor: pointer; text-align: left; }
  .sidebar-left.is-open .noclegi-toc-toggle svg { transform: rotate(180deg); }
  .noclegi-toc-toggle svg { transition: transform .25s var(--ease); }
  .noclegi-toc__heading { display: none; }

  .sidebar-right { position: static; max-width: 100%; margin-top: var(--s-7); padding-top: var(--s-6); border-top: 1px solid var(--c-rule); }
  .sidebar-right__inner { max-height: none; overflow: visible; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }

  .single-post__hero { padding: var(--s-6) 24px var(--s-5); }

  .container, .container-wide, .archive { padding-left: 24px; padding-right: 24px; }

  /* Mobile nav drawer */
  .site-nav { position: fixed; top: var(--header-h); right: 0; bottom: 0; width: min(380px, 86vw); background: var(--c-paper); border-left: 1px solid var(--c-rule); transform: translateX(100%); transition: transform .35s var(--ease); z-index: 80; padding: var(--s-6) var(--s-5); overflow-y: auto; display: block; }
  body.menu-open .site-nav { transform: translateX(0); }
  body.menu-open .menu-toggle span:nth-child(1) { transform: rotate(45deg) translate(3px, 3px); }
  body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-toggle span:nth-child(3) { transform: rotate(-45deg) translate(3px, -3px); }
  .site-menu { display: flex; flex-direction: column; gap: 0; font-size: 1rem; }
  .site-menu li { border-bottom: 1px solid var(--c-rule); }
  .site-menu > li > a { padding: 14px 0; }
  .site-menu > li > a::after { display: none; }
  .site-menu > li.menu-item-has-children > a::before { margin-left: auto; }
  .site-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; padding: 0 0 12px 16px; border: 0; box-shadow: none; min-width: 0; columns: 1; }
  .site-menu .sub-menu a { padding: 8px 0; font-size: .92rem; }
  .site-menu .sub-menu a:hover { background: transparent; padding-left: 4px; }

  .site-footer__top-grid { grid-template-columns: 1fr 1fr; gap: var(--s-5); }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --container-pad: 20px; }
  .container, .container-wide, .archive { padding-left: 20px; padding-right: 20px; }
  .single-post__hero { padding: var(--s-5) 20px var(--s-4); }
  .single-post__layout { padding: var(--s-5) 20px var(--s-7); }
  .post-card--list { grid-template-columns: 1fr; gap: var(--s-4); }
  .post-card__thumb { aspect-ratio: 16/10; }
  .related-posts__grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .sidebar-right__inner { grid-template-columns: 1fr; }
  .regions-grid, .dest-grid, .cities-grid, .latest-grid { grid-template-columns: 1fr; }
  .home-hero__mosaic { grid-template-rows: 320px repeat(2, 200px); }
  .site-footer__top-grid { grid-template-columns: 1fr; }
  .booking-cards { grid-template-columns: 1fr; }
  .dest-infobar__inner { gap: var(--s-3); }
}

@media print {
  .site-header, .sidebar-left, .sidebar-right, .site-footer, .related-posts, .menu-toggle, .search-toggle { display: none !important; }
  .single-post__layout { grid-template-columns: 1fr !important; padding: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
