/* ==========================================================================
   ZACHODNIAK.PL – Bałtycki System Redakcyjny (Snippety #5, #6, #7, #8, #10)
   Czysty CSS bez frameworków – tryb dzienny i nocny (html[data-theme="dark"])
   ========================================================================== */

:root {
  --zn-baltic: #1B3F6E;
  --zn-baltic-mid: #16345C;
  --zn-baltic-deep: #12294A;
  --zn-baltic-top: #102440;
  --zn-navy: #1B3F6E;
  --zn-navy-deep: #12294A;
  --zn-slate-blue: #254E82;
  --zn-crimson: #B91C1C;
  --zn-crimson-soft: #DC2626;
  --zn-ink: #0F172A;
  --zn-body: #334155;
  --zn-muted: #5B6B82;
  --zn-paper: #EAEFF4;
  --zn-desk-bg: #E1E8F0;
  --zn-white: #FFFFFF;
  --zn-surface: #FFFFFF;
  --zn-surface-soft: #F4F7FA;
  --zn-border: #D8E0EA;
  --zn-border-strong: #BCC8D8;
  --zn-cat-bg: #FEF2F2;
  --zn-cat-text: #B91C1C;
  --zn-cat-border: #B91C1C;
  --zn-footer-bg: #F8FAFC;
  --zn-footer-bar: #EEF2F7;
  --zn-input-bg: #FFFFFF;
  --zn-shadow: 0 2px 12px rgba(15, 23, 42, 0.045);
  --zn-shadow-hover: 0 10px 26px rgba(27, 63, 110, 0.11);
  --zn-radius: 14px;
  --zn-font-serif: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --zn-font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --zn-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --zn-max-width: 1280px;
}

html[data-theme="dark"] {
  --zn-baltic: #15345C;
  --zn-baltic-mid: #102847;
  --zn-baltic-deep: #0B1D36;
  --zn-baltic-top: #081426;
  --zn-navy: #1E477A;
  --zn-navy-deep: #0B1D36;
  --zn-slate-blue: #2E5F9E;
  --zn-crimson: #DC2626;
  --zn-crimson-soft: #EF4444;
  --zn-ink: #F1F5F9;
  --zn-body: #CBD5E1;
  --zn-muted: #94A3B8;
  --zn-paper: #0B121D;
  --zn-desk-bg: #111C2C;
  --zn-white: #131E2E;
  --zn-surface: #131E2E;
  --zn-surface-soft: #18263A;
  --zn-border: #22324A;
  --zn-border-strong: #32496B;
  --zn-cat-bg: rgba(220, 38, 38, 0.22);
  --zn-cat-text: #FCA5A5;
  --zn-cat-border: #EF4444;
  --zn-footer-bg: #0E1725;
  --zn-footer-bar: #09101B;
  --zn-input-bg: #0F1A2A;
  --zn-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  --zn-shadow-hover: 0 10px 26px rgba(0, 0, 0, 0.48);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--zn-paper);
  color: var(--zn-body);
  font-family: var(--zn-font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s ease, color 0.2s ease;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--zn-baltic);
  text-decoration: none;
  transition: color 0.16s ease;
}

html[data-theme="dark"] a {
  color: #93C5FD;
}

a:hover {
  color: var(--zn-crimson-soft);
}

.zn-container {
  width: 100%;
  max-width: var(--zn-max-width);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Zaślepka obrazka SVG (gdy brak pliku na dysku) */
.zn-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #132C4E 0%, #1B3F6E 65%, #254E82 100%);
  overflow: hidden;
}
.zn-img-placeholder svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ==========================================================================
   NAGŁÓWEK BAŁTYCKI + BANER msDJ.pl (SNIPPETY #5 i #7)
   ========================================================================== */
.zn-header {
  background-color: var(--zn-baltic);
  position: relative;
  z-index: 40;
}

.zn-topbar {
  background-color: var(--zn-baltic-top);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
  font-size: 12px;
  padding: 6px 0;
}
.zn-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.zn-topbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.zn-topbar-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: #CBD5E1;
}
.zn-topbar-links {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.zn-topbar-links a {
  color: #E2E8F0;
  font-weight: 500;
}
.zn-topbar-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}
.zn-topbar-social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.zn-topbar-social a {
  color: #CBD5E1;
  display: inline-flex;
  align-items: center;
}
.zn-topbar-social a:hover {
  color: #FFFFFF;
}

/* Główny pas nagłówka: 7 + 102 + 7 = 116px na desktopie (Snippet #7) */
.zn-header-main {
  background-color: var(--zn-baltic);
  background-image: linear-gradient(180deg, #1E477A 0%, #183B68 100%);
  padding: 14px 0;
}
html[data-theme="dark"] .zn-header-main {
  background-image: linear-gradient(180deg, #15355E 0%, #0F2747 100%);
}
.zn-header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.zn-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.zn-brand-link {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.18s ease;
}
.zn-brand-link:hover {
  opacity: 0.92;
}
.zn-brand-logo {
  height: 74px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}
.zn-brand-tagline {
  font-family: var(--zn-font-display);
  font-style: normal;
  font-size: 13.5px;
  line-height: 1.4;
  font-weight: 600;
  color: rgba(235, 244, 255, 0.92);
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  padding-left: 18px;
  letter-spacing: 0.005em;
}

/* Baner msDJ.pl do osi środkowej (Snippet #7) */
.zn-header-banner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.zn-header-banner a {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
  line-height: 0;
}
.zn-header-banner img {
  display: block;
  max-height: 78px;
  width: auto;
}

@media (min-width: 992px) {
  .zn-header-main {
    padding: 7px 0;
  }
  .zn-header-main-inner {
    min-height: 102px;
  }
  .zn-header-banner {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
  }
  .zn-header-banner a {
    width: 100%;
    max-width: 622px;
  }
  .zn-header-banner img {
    width: 100%;
    height: auto;
    max-height: none;
  }
}

/* Pasek nawigacji głównej */
.zn-nav-bar {
  background-color: var(--zn-baltic-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 3px solid var(--zn-crimson);
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.14);
  position: sticky;
  top: 0;
  z-index: 45;
}
.zn-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  gap: 12px;
}

.zn-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
}
.zn-nav-list > li {
  position: relative;
}
.zn-nav-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.025em;
  color: #E2E8F0;
  padding: 14px 14px;
  white-space: nowrap;
}
.zn-nav-list > li > a:hover,
.zn-nav-list > li.is-active > a {
  color: #FFFFFF;
}
.zn-nav-list > li > a:hover {
  color: #93C5FD;
}
.zn-nav-caret {
  font-size: 10px;
  color: #93C5FD;
}

/* Dropdown menu (lista miast w kolumnach gdy > 8 pozycji) */
.zn-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--zn-surface);
  border: 1px solid var(--zn-border);
  border-top: 2px solid var(--zn-crimson);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  z-index: 60;
}
.zn-submenu.zn-submenu-wide {
  min-width: 440px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 8px;
  gap: 2px 10px;
}
.zn-nav-list > li:hover > .zn-submenu,
.zn-nav-list > li:focus-within > .zn-submenu {
  display: block;
}
.zn-nav-list > li:hover > .zn-submenu.zn-submenu-wide,
.zn-nav-list > li:focus-within > .zn-submenu.zn-submenu-wide {
  display: grid;
}
.zn-submenu li a {
  display: block;
  padding: 7px 14px;
  color: var(--zn-body);
  font-size: 13px;
  font-weight: 500;
  border-radius: 3px;
}
.zn-submenu li a:hover {
  color: var(--zn-crimson-soft);
  background: var(--zn-surface-soft);
}

/* Kontrolki w prawym rogu paska menu: szukaj, tryb nocny, menu mobilne */
.zn-nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.zn-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #E2E8F0;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.zn-icon-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
}
.zn-icon-btn svg {
  width: 18px;
  height: 18px;
}
.zn-theme-sun { display: none; }
.zn-theme-moon { display: block; }
html[data-theme="dark"] .zn-theme-sun { display: block; }
html[data-theme="dark"] .zn-theme-moon { display: none; }

.zn-mobile-toggle {
  display: none;
}

/* Popup wyszukiwarki */
.zn-search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 38, 0.65);
  z-index: 100;
  padding: 64px 20px 24px;
  align-items: flex-start;
  justify-content: center;
}
.zn-search-overlay.is-open {
  display: flex;
}
.zn-search-modal {
  width: 100%;
  max-width: 680px;
  background: var(--zn-surface);
  border: 1px solid var(--zn-border);
  border-top: 3px solid var(--zn-crimson);
  border-radius: 6px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.zn-search-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.zn-search-modal-head h2 {
  margin: 0;
  font-family: var(--zn-font-serif);
  font-size: 18px;
  color: var(--zn-ink);
}
.zn-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--zn-baltic);
  color: #FFFFFF;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.zn-modal-close:hover {
  background: var(--zn-crimson);
}
.zn-search-form {
  display: flex;
  gap: 8px;
}
.zn-search-form input[type="search"],
.zn-search-form input[type="text"] {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  background: var(--zn-input-bg);
  color: var(--zn-ink);
  border: 1px solid var(--zn-border-strong);
  border-radius: 4px;
  font-family: var(--zn-font-sans);
  font-size: 14.5px;
}
.zn-search-form button[type="submit"] {
  padding: 12px 22px;
  background: var(--zn-baltic);
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
}
.zn-search-form button[type="submit"]:hover {
  background: var(--zn-crimson);
}

/* Mobilny drawer (offcanvas) */
.zn-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 38, 0.65);
  z-index: 95;
}
.zn-drawer-backdrop.is-open {
  display: block;
}
.zn-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 310px;
  max-width: 86vw;
  background: var(--zn-surface);
  color: var(--zn-ink);
  border-right: 1px solid var(--zn-border);
  z-index: 98;
  transform: translateX(-100%);
  transition: transform 0.24s ease;
  overflow-y: auto;
  padding: 18px;
}
.zn-drawer.is-open {
  transform: translateX(0);
}
.zn-drawer-head {
  background: linear-gradient(135deg, #1E477A 0%, #12294A 100%);
  padding: 12px 14px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.zn-drawer-head img {
  max-height: 44px;
  width: auto;
}
.zn-drawer-menu {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.zn-drawer-menu li {
  border-bottom: 1px solid var(--zn-border);
}
.zn-drawer-menu a {
  display: block;
  padding: 10px 4px;
  color: var(--zn-ink);
  font-weight: 600;
  font-size: 14px;
}
.zn-drawer-menu .zn-drawer-sub {
  list-style: none;
  margin: 0 0 8px 12px;
  padding: 0;
}
.zn-drawer-menu .zn-drawer-sub li {
  border-bottom: none;
}
.zn-drawer-menu .zn-drawer-sub a {
  padding: 6px 4px;
  font-weight: 500;
  font-size: 13px;
  color: var(--zn-body);
}

/* ==========================================================================
   DYNAMICZNY TICKER NAJNOWSZYCH WIADOMOŚCI POD MENU ("TERAZ W REGIONIE")
   ========================================================================== */
@keyframes zn-pulse-dot {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.55);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(220, 38, 38, 0);
    transform: scale(1.08);
  }
}

.zn-ticker-bar {
  background: var(--zn-surface);
  border-bottom: 1px solid var(--zn-border);
  width: 100%;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.035);
}
.zn-ticker-inner {
  max-width: var(--zn-max-width);
  margin: 0 auto;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 46px;
}
.zn-ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--zn-font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--zn-crimson);
  background: var(--zn-cat-bg);
  border: 1px solid rgba(185, 28, 28, 0.18);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
html[data-theme="dark"] .zn-ticker-badge {
  color: #FCA5A5;
  border-color: rgba(239, 68, 68, 0.35);
}
.zn-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--zn-crimson-soft);
  display: inline-block;
  flex-shrink: 0;
  animation: zn-pulse-dot 2s infinite;
}
.zn-ticker-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.zn-ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--zn-ink);
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.16s ease;
  opacity: 1;
  transform: translateY(0);
}
.zn-ticker-item.is-switching {
  opacity: 0;
  transform: translateY(5px);
}
.zn-ticker-item:hover {
  color: var(--zn-crimson-soft);
}
.zn-ticker-cat {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(27, 63, 110, 0.1);
  color: var(--zn-baltic);
  white-space: nowrap;
  flex-shrink: 0;
}
html[data-theme="dark"] .zn-ticker-cat {
  background: rgba(147, 197, 253, 0.14);
  color: #93C5FD;
}
.zn-ticker-title {
  font-family: var(--zn-font-display);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.zn-ticker-time {
  font-size: 12px;
  font-weight: 500;
  color: var(--zn-muted);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 8px;
}
.zn-ticker-nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.zn-ticker-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--zn-border-strong);
  background: var(--zn-surface-soft);
  color: var(--zn-ink);
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.zn-ticker-btn:hover {
  background: var(--zn-baltic);
  border-color: var(--zn-baltic);
  color: #FFFFFF;
}

/* ==========================================================================
   PASEK DZIAŁÓW REGIONALNYCH (.zn-desk-bar)
   ========================================================================== */
.zn-desk-bar {
  background: var(--zn-desk-bg);
  border-bottom: 1px solid var(--zn-border);
  margin-bottom: 24px;
  width: 100%;
}
.zn-desk-bar-inner {
  max-width: var(--zn-max-width);
  margin: 0 auto;
  padding: 9px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}
.zn-desk-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.zn-desk-links a {
  font-size: 12px;
  font-weight: 600;
  color: var(--zn-ink);
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--zn-surface);
  border: 1px solid var(--zn-border);
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.14s ease;
}
.zn-desk-links a:hover,
.zn-desk-links a.is-active {
  background: var(--zn-baltic);
  border-color: var(--zn-baltic);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* ==========================================================================
   KOMPONENTY REDAKCYJNE: ETYKIETY, NAGŁÓWKI SEKCJI, META
   ========================================================================== */
.zn-portal {
  width: 100%;
  max-width: var(--zn-max-width);
  margin: 0 auto;
  padding: 0 20px 56px;
}

.zn-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.zn-cat-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--zn-font-sans);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--zn-cat-text);
  background: var(--zn-cat-bg);
  border: 1px solid rgba(185, 28, 28, 0.16);
  padding: 4px 11px;
  border-radius: 999px;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.zn-cat-badge:hover {
  background: var(--zn-crimson);
  border-color: var(--zn-crimson);
  color: #FFFFFF;
}

.zn-date {
  font-size: 12px;
  font-weight: 500;
  color: var(--zn-muted);
  white-space: nowrap;
}

.zn-sec-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--zn-border-strong);
  padding: 6px 0 12px;
  margin-bottom: 20px;
}
.zn-sec-title {
  font-family: var(--zn-font-display);
  font-size: 21px;
  font-weight: 800;
  color: var(--zn-ink);
  margin: 0;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.zn-sec-title::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 22px;
  border-radius: 999px;
  background: var(--zn-crimson-soft);
  flex-shrink: 0;
}
.zn-sec-more {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--zn-baltic);
  white-space: nowrap;
}
html[data-theme="dark"] .zn-sec-more {
  color: #93C5FD;
}
.zn-sec-more:hover {
  color: var(--zn-crimson-soft);
  text-decoration: underline;
}

/* ==========================================================================
   STRONA GŁÓWNA: HERO, SIATKA NEWSÓW, SIDEBAR, KOLUMNY, POGODA, KATALOG
   ========================================================================== */
.zn-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 28px;
  align-items: stretch;
}

.zn-lead-card {
  background: var(--zn-surface);
  border: 1px solid var(--zn-border);
  border-radius: var(--zn-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--zn-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.zn-lead-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--zn-shadow-hover);
  border-color: var(--zn-border-strong);
}
.zn-lead-img {
  display: block;
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  background: var(--zn-surface-soft);
}
.zn-lead-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.zn-lead-card:hover .zn-lead-img img {
  transform: scale(1.03);
}
.zn-lead-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.zn-lead-title {
  font-family: var(--zn-font-display);
  font-size: 26px;
  line-height: 1.26;
  font-weight: 800;
  color: var(--zn-ink);
  margin: 4px 0 12px;
  letter-spacing: -0.025em;
}
.zn-lead-title a {
  color: var(--zn-ink);
}
.zn-lead-title a:hover {
  color: var(--zn-crimson-soft);
}
.zn-lead-excerpt {
  font-size: 15px;
  line-height: 1.62;
  color: var(--zn-body);
  margin: 0;
}

/* Ciemna bałtycka prawa kolumna HERO ("NAJWAŻNIEJSZE TERAZ") */
.zn-hero-side {
  background: linear-gradient(180deg, #193A66 0%, #122A4B 100%);
  border: 1px solid #1E4475;
  border-top: 3px solid var(--zn-crimson);
  border-radius: var(--zn-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(15, 31, 58, 0.16);
  color: #FFFFFF;
}
html[data-theme="dark"] .zn-hero-side {
  background: linear-gradient(180deg, #16335A 0%, #0F2442 100%);
  border-color: #2A5284;
}
.zn-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid var(--zn-border);
  background: var(--zn-surface-soft);
}
.zn-panel-head h2,
.zn-panel-head h3 {
  font-family: var(--zn-font-display);
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--zn-ink);
  margin: 0;
}
.zn-panel-head a {
  font-size: 12px;
  font-weight: 600;
  color: var(--zn-crimson-soft);
}
.zn-hero-side .zn-panel-head {
  background: rgba(10, 22, 42, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  padding: 14px 20px;
}
.zn-hero-side .zn-panel-head h2,
.zn-hero-side .zn-panel-head h3 {
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
}
.zn-hero-side .zn-panel-head h2::before,
.zn-hero-side .zn-panel-head h3::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
}
.zn-hero-side .zn-panel-head a {
  color: #93C5FD;
}
.zn-hero-side .zn-panel-head a:hover {
  color: #FFFFFF;
}

.zn-hero-list {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.zn-brief-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 18px;
  align-items: center;
  border-bottom: 1px solid var(--zn-border);
  transition: background 0.16s ease;
}
.zn-brief-row:last-child {
  border-bottom: none;
}
.zn-brief-row:hover {
  background: var(--zn-surface-soft);
}
.zn-hero-side .zn-brief-row {
  flex: 1;
  padding: 14px 20px;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.zn-hero-side .zn-brief-row:hover {
  background: rgba(255, 255, 255, 0.06);
}
.zn-brief-thumb {
  display: block;
  width: 120px;
  height: 80px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--zn-surface-soft);
}
.zn-hero-side .zn-brief-thumb {
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.zn-brief-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.zn-brief-row:hover .zn-brief-thumb img {
  transform: scale(1.04);
}
.zn-brief-content {
  min-width: 0;
}
.zn-brief-content .zn-meta-row {
  margin-bottom: 5px;
  gap: 8px;
}
.zn-hero-side .zn-cat-badge {
  background: rgba(220, 38, 38, 0.24);
  color: #FECACA;
  border-left-color: #EF4444;
}
.zn-hero-side .zn-cat-badge:hover {
  background: #DC2626;
  color: #FFFFFF;
}
.zn-hero-side .zn-date {
  color: #B8CCE4;
}
.zn-brief-title {
  font-family: var(--zn-font-serif);
  font-size: 14.5px;
  line-height: 1.4;
  font-weight: 700;
  margin: 0;
  color: var(--zn-ink);
}
.zn-brief-title a {
  color: var(--zn-ink);
}
.zn-brief-title a:hover {
  color: var(--zn-crimson-soft);
}
.zn-hero-side .zn-brief-title,
.zn-hero-side .zn-brief-title a {
  color: #FFFFFF;
}
.zn-hero-side .zn-brief-title a:hover {
  color: #93C5FD;
}

/* Reklama */
.zn-ad-box {
  background: var(--zn-surface-soft);
  border: 1px solid var(--zn-border);
  border-radius: 4px;
  padding: 10px 14px 14px;
  margin: 0 0 28px;
  text-align: center;
}
.zn-ad-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--zn-muted);
  margin-bottom: 8px;
}

/* Główna siatka 2/3 + sidebar */
.zn-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr);
  gap: 28px;
  margin-bottom: 36px;
  align-items: start;
}
.zn-main-col {
  min-width: 0;
}

.zn-news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.zn-news-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.zn-card {
  background: var(--zn-surface);
  border: 1px solid var(--zn-border);
  border-radius: var(--zn-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--zn-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.zn-card:hover {
  transform: translateY(-2px);
  border-color: var(--zn-border-strong);
  box-shadow: var(--zn-shadow-hover);
}
.zn-card-img {
  display: block;
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  background: var(--zn-surface-soft);
}
.zn-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.zn-card:hover .zn-card-img img {
  transform: scale(1.035);
}
.zn-card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.zn-card-title {
  font-family: var(--zn-font-display);
  font-size: 16.5px;
  line-height: 1.36;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--zn-ink);
  margin: 2px 0 9px;
}

/* Kompaktowe karty poziome pod główną siatką (wyrównanie lewej kolumny z sidebarem) */
.zn-compact-wrap {
  margin-top: 24px;
}
.zn-compact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--zn-border);
}
.zn-compact-head h3 {
  font-family: var(--zn-font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--zn-ink);
  margin: 0;
  letter-spacing: -0.01em;
}
.zn-compact-head a {
  font-size: 12px;
  font-weight: 700;
  color: var(--zn-baltic);
}
html[data-theme="dark"] .zn-compact-head a {
  color: #93C5FD;
}
.zn-compact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.zn-compact-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px;
  background: var(--zn-surface);
  border: 1px solid var(--zn-border);
  border-radius: var(--zn-radius);
  box-shadow: var(--zn-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.zn-compact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--zn-shadow-hover);
  border-color: var(--zn-border-strong);
}
.zn-compact-thumb {
  display: block;
  width: 168px;
  height: 108px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--zn-surface-soft);
}
.zn-compact-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.32s ease;
}
.zn-compact-card:hover .zn-compact-thumb img {
  transform: scale(1.04);
}
.zn-compact-body {
  min-width: 0;
}
.zn-compact-body .zn-meta-row {
  margin-bottom: 6px;
}
.zn-compact-title {
  font-family: var(--zn-font-display);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
  color: var(--zn-ink);
}
.zn-compact-title a {
  color: var(--zn-ink);
}
.zn-compact-title a:hover {
  color: var(--zn-crimson-soft);
}
.zn-compact-excerpt {
  font-size: 13px;
  line-height: 1.48;
  color: var(--zn-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.zn-card-title a {
  color: var(--zn-ink);
}
.zn-card-title a:hover {
  color: var(--zn-crimson-soft);
}
.zn-card-excerpt {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--zn-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.zn-card-foot {
  margin-top: auto;
  padding-top: 12px;
  margin-top: 14px;
  border-top: 1px solid var(--zn-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--zn-muted);
}

/* Pierwszy wyróżniony wpis na /blog/ */
.zn-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: stretch;
}
.zn-card-featured .zn-card-img {
  height: 100%;
  min-height: 280px;
  aspect-ratio: auto;
}
.zn-card-featured .zn-card-body {
  padding: 24px 26px;
  justify-content: center;
}
.zn-card-featured .zn-card-title {
  font-size: 22px;
  line-height: 1.32;
}

.zn-more-wrap {
  margin-top: 24px;
  text-align: center;
}
.zn-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--zn-baltic);
  color: #FFFFFF;
  font-family: var(--zn-font-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(27, 63, 110, 0.18);
  transition: background 0.2s ease, transform 0.16s ease, box-shadow 0.2s ease;
}
.zn-cta-btn:hover {
  background: var(--zn-crimson);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(185, 28, 28, 0.22);
}

/* SIDEBAR */
.zn-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}
.zn-side-card {
  background: var(--zn-surface);
  border: 1px solid var(--zn-border);
  border-radius: var(--zn-radius);
  overflow: hidden;
  box-shadow: var(--zn-shadow);
}
.zn-side-card-pad {
  padding: 16px 18px 18px;
}
.zn-side-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 16px;
  align-items: start;
  border-bottom: 1px solid var(--zn-border);
}
.zn-side-row:last-child {
  border-bottom: none;
}
.zn-side-row:hover {
  background: var(--zn-surface-soft);
}
.zn-side-thumb {
  display: block;
  width: 88px;
  height: 62px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--zn-surface-soft);
}
.zn-side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.zn-side-title {
  font-family: var(--zn-font-serif);
  font-size: 13.5px;
  line-height: 1.38;
  font-weight: 700;
  margin: 0 0 4px;
}
.zn-side-title a {
  color: var(--zn-ink);
}
.zn-side-title a:hover {
  color: var(--zn-crimson-soft);
}

/* Numerowana lista najnowszych w sidebarze */
.zn-numbered-list {
  list-style: none;
  margin: 0;
  padding: 6px 18px 16px;
  counter-reset: zn-latest;
}
.zn-numbered-list li {
  counter-increment: zn-latest;
  position: relative;
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid var(--zn-border);
  line-height: 1.4;
}
.zn-numbered-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.zn-numbered-list li::before {
  content: counter(zn-latest);
  position: absolute;
  left: 0;
  top: 10px;
  font-family: var(--zn-font-serif);
  font-size: 13px;
  font-weight: 900;
  color: var(--zn-crimson-soft);
}
.zn-numbered-list a {
  font-family: var(--zn-font-serif);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--zn-ink);
}
.zn-numbered-list a:hover {
  color: var(--zn-crimson-soft);
}

/* Kamery Windy */
.zn-webcams-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 14px 16px 16px;
}
.zn-webcam-item {
  border: 1px solid var(--zn-border);
  border-radius: 3px;
  overflow: hidden;
  background: #142B47;
}
.zn-webcam-caption {
  background: var(--zn-baltic);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.zn-cam-badge {
  color: #FCA5A5;
  font-size: 10px;
}
.zn-webcam-body {
  padding: 6px;
  background: #142B47;
  color: #E2E8F0;
  font-size: 12px;
}
.zn-webcam-body a {
  color: #93C5FD;
}

/* Social */
.zn-social-box {
  padding: 14px 16px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.zn-social-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 4px;
  color: #FFFFFF;
  transition: opacity 0.18s ease, transform 0.15s ease;
}
.zn-social-link:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  color: #FFFFFF;
}
.zn-social-fb { background: #1D4A82; }
.zn-social-ig { background: #8B2F56; }
.zn-social-name { font-size: 12px; font-weight: 600; opacity: 0.92; }
.zn-social-count { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.zn-social-sub { font-size: 11px; opacity: 0.85; }

/* Kategorie w sidebarze */
.zn-sb-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 14px 16px 16px;
}
.zn-sb-cats a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: var(--zn-surface-soft);
  border: 1px solid var(--zn-border);
  border-radius: 3px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--zn-ink);
}
.zn-sb-cats a span {
  font-size: 11px;
  font-weight: 500;
  color: var(--zn-muted);
}
.zn-sb-cats a:hover {
  background: var(--zn-baltic);
  border-color: var(--zn-baltic);
  color: #FFFFFF;
}
.zn-sb-cats a:hover span {
  color: #CBD5E1;
}

/* Widget AzuraCast Now Playing */
.zn-radio-widget {
  padding: 14px 16px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.zn-radio-cover {
  width: 64px;
  height: 64px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--zn-surface-soft);
  border: 1px solid var(--zn-border);
}
.zn-radio-info {
  min-width: 0;
  flex: 1;
}
.zn-radio-status {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--zn-crimson-soft);
  margin-bottom: 3px;
}
.zn-radio-track {
  font-family: var(--zn-font-serif);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--zn-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zn-radio-artist {
  font-size: 12px;
  color: var(--zn-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zn-radio-actions {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.zn-radio-btn {
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 3px;
  background: var(--zn-baltic);
  color: #FFFFFF;
}
.zn-radio-btn:hover {
  background: var(--zn-crimson);
  color: #FFFFFF;
}

/* KOLUMNY DZIAŁOWE (3-kolumnowe + 2-kolumnowe) */
.zn-desks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 36px;
  align-items: stretch;
}
.zn-desk-col {
  background: var(--zn-surface);
  border: 1px solid var(--zn-border);
  border-top: 3px solid var(--zn-baltic);
  border-radius: 4px;
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: var(--zn-shadow);
}
.zn-desk-col-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--zn-border);
}
.zn-desk-col-head h3 {
  font-family: var(--zn-font-serif);
  font-size: 17px;
  font-weight: 900;
  color: var(--zn-ink);
  margin: 0;
}
.zn-desk-col-head a {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--zn-crimson-soft);
  white-space: nowrap;
}
.zn-desk-item {
  padding: 11px 0;
  border-bottom: 1px solid var(--zn-border);
}
.zn-desk-item:first-child {
  padding-top: 0;
}
.zn-desk-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.zn-desk-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
  background: var(--zn-surface-soft);
}
.zn-desk-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.zn-desk-item-title {
  font-family: var(--zn-font-serif);
  font-size: 14.5px;
  line-height: 1.4;
  font-weight: 700;
  margin: 0 0 4px;
}
.zn-desk-item:first-child .zn-desk-item-title {
  font-size: 16px;
}
.zn-desk-item-title a {
  color: var(--zn-ink);
}
.zn-desk-item-title a:hover {
  color: var(--zn-crimson-soft);
}

.zn-desks-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

/* PAS POGODY */
.zn-weather-band {
  background: linear-gradient(135deg, #132C4E 0%, #1B3F6E 60%, #224E85 100%);
  border-radius: 6px;
  padding: 26px 28px 28px;
  margin-bottom: 32px;
  color: #FFFFFF;
}
html[data-theme="dark"] .zn-weather-band {
  background: linear-gradient(135deg, #0E223D 0%, #15335B 60%, #1B4173 100%);
  border: 1px solid #264A7A;
}
.zn-weather-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.zn-weather-head h2 {
  font-family: var(--zn-font-serif);
  font-size: 20px;
  font-weight: 900;
  color: #FFFFFF;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.zn-weather-head h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--zn-crimson-soft);
}
.zn-weather-btn {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 3px;
}
.zn-weather-btn:hover {
  background: var(--zn-crimson);
  border-color: var(--zn-crimson);
  color: #FFFFFF;
}
.zn-weather-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.zn-weather-map iframe {
  width: 100%;
  height: 416px;
  border: 0;
  border-radius: 4px;
  display: block;
}
.zn-weather-cities {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.zn-weather-city {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  overflow: hidden;
}
.zn-weather-city-name {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #E2E8F0;
  padding: 7px 12px;
  background: rgba(0, 0, 0, 0.2);
}
.zn-weather-city iframe {
  width: 100%;
  height: 170px;
  border: 0;
  display: block;
}

/* KATALOG POWIATÓW */
.zn-directory {
  background: var(--zn-surface);
  border: 1px solid var(--zn-border);
  border-top: 3px solid var(--zn-baltic);
  border-radius: 4px;
  padding: 20px 22px 22px;
  box-shadow: var(--zn-shadow);
}
.zn-directory-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.zn-directory-head h2 {
  font-family: var(--zn-font-serif);
  font-size: 18px;
  font-weight: 900;
  color: var(--zn-ink);
  margin: 0;
}
.zn-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.zn-dir-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--zn-surface-soft);
  border: 1px solid var(--zn-border);
  border-radius: 3px;
  color: var(--zn-ink);
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.16s ease;
}
.zn-dir-pill span {
  font-size: 12px;
  font-weight: 500;
  color: var(--zn-muted);
}
.zn-dir-pill:hover {
  background: var(--zn-baltic);
  border-color: var(--zn-baltic);
  color: #FFFFFF;
}
.zn-dir-pill:hover span {
  color: #CBD5E1;
}

/* ==========================================================================
   NAGŁÓWEK PODSTRON / ARCHIWÓW / WYSZUKIWARKI (.zn-sub-hero) & BREADCRUMB
   ========================================================================== */
.zn-sub-hero {
  background: linear-gradient(135deg, #132C4E 0%, #1B3F6E 65%, #234E84 100%);
  border-bottom: 3px solid var(--zn-crimson);
  padding: 34px 20px 32px;
  margin-bottom: 32px;
  color: #FFFFFF;
}
html[data-theme="dark"] .zn-sub-hero {
  background: linear-gradient(135deg, #0D203B 0%, #132D52 65%, #193A68 100%);
}
.zn-sub-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.zn-sub-crumb {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.zn-sub-crumb a {
  color: #93C5FD;
}
.zn-sub-crumb a:hover {
  color: #FFFFFF;
}
.zn-sub-hero h1 {
  font-family: var(--zn-font-serif);
  font-size: 30px;
  line-height: 1.25;
  font-weight: 900;
  color: #FFFFFF;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.zn-sub-lead {
  font-size: 15.5px;
  line-height: 1.6;
  color: #DCE7F5;
  margin: 0;
  max-width: 780px;
}

.zn-crumb-single {
  background: var(--zn-desk-bg);
  border-bottom: 1px solid var(--zn-border);
  padding: 11px 0;
  margin-bottom: 24px;
  font-size: 13px;
}
.zn-crumb-single-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--zn-muted);
}
.zn-crumb-single-list a {
  color: var(--zn-baltic);
  font-weight: 600;
}
html[data-theme="dark"] .zn-crumb-single-list a {
  color: #93C5FD;
}

/* ==========================================================================
   POJEDYNCZY ARTYKUŁ (single.php) + TAGI (Snippet #8) + RATE MY POST
   ========================================================================== */
.zn-article-card {
  background: var(--zn-surface);
  border: 1px solid var(--zn-border);
  border-top: 3px solid var(--zn-baltic);
  border-radius: 4px;
  padding: 32px 36px;
  box-shadow: var(--zn-shadow);
}
.zn-article-title {
  font-family: var(--zn-font-serif);
  font-size: 30px;
  line-height: 1.28;
  font-weight: 900;
  color: var(--zn-ink);
  letter-spacing: -0.02em;
  margin: 8px 0 14px;
}
.zn-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--zn-border);
  font-size: 13px;
  color: var(--zn-muted);
}
.zn-article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.zn-article-meta a {
  color: var(--zn-ink);
  font-weight: 600;
}
.zn-bookmark-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 3px;
  border: 1px solid var(--zn-border-strong);
  background: var(--zn-surface-soft);
  color: var(--zn-ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.zn-bookmark-btn.is-saved,
.zn-bookmark-btn:hover {
  background: var(--zn-baltic);
  border-color: var(--zn-baltic);
  color: #FFFFFF;
}

.zn-article-lead {
  font-size: 17px;
  line-height: 1.68;
  font-weight: 500;
  color: var(--zn-ink);
  margin: 0 0 22px;
  padding-left: 16px;
  border-left: 3px solid var(--zn-crimson);
}

.zn-article-figure {
  margin: 0 0 24px;
}
.zn-article-figure-box {
  border-radius: 4px;
  overflow: hidden;
  background: var(--zn-surface-soft);
  border: 1px solid var(--zn-border);
  aspect-ratio: 16 / 9;
}
.zn-article-figure-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.zn-article-caption {
  font-size: 12.5px;
  color: var(--zn-muted);
  margin-top: 8px;
  font-style: italic;
}

.zn-article-content {
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--zn-body);
}
.zn-article-content p {
  margin: 0 0 18px;
}
.zn-article-content h2,
.zn-article-content h3,
.zn-article-content h4 {
  font-family: var(--zn-font-serif);
  color: var(--zn-ink);
  margin: 28px 0 12px;
  line-height: 1.35;
}
.zn-article-content a {
  color: var(--zn-baltic);
  text-decoration: underline;
}
html[data-theme="dark"] .zn-article-content a {
  color: #93C5FD;
}
.zn-article-content img {
  border-radius: 4px;
  margin: 12px 0;
}
.zn-article-content blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  background: var(--zn-surface-soft);
  border-left: 4px solid var(--zn-baltic);
  font-style: italic;
}

/* Rate My Post – widget oceniania gwiazdkami 1–5 */
.zn-rating-box {
  margin-top: 28px;
  padding: 20px 22px;
  background: var(--zn-surface-soft);
  border: 1px solid var(--zn-border);
  border-radius: 4px;
  text-align: center;
}
.zn-rating-title {
  font-family: var(--zn-font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--zn-ink);
  margin: 0 0 4px;
}
.zn-rating-sub {
  font-size: 13px;
  color: var(--zn-muted);
  margin: 0 0 12px;
}
.zn-rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.zn-star-btn {
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--zn-border-strong);
  font-size: 28px;
  line-height: 1;
  transition: transform 0.14s ease, color 0.14s ease;
}
.zn-star-btn:hover,
.zn-star-btn.is-active,
.zn-star-btn.is-hover {
  color: #F59E0B;
  transform: scale(1.12);
}
.zn-rating-stars.is-locked .zn-star-btn {
  cursor: default;
  transform: none;
}
.zn-rating-meta {
  font-size: 13px;
  color: var(--zn-body);
}
.zn-rating-msg {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  min-height: 18px;
}
.zn-rating-msg.is-ok { color: #15803D; }
.zn-rating-msg.is-err { color: var(--zn-crimson-soft); }

/* Responsywne tagi pod artykułem (Snippet #8 – flex-wrap, bez przecinków) */
.zn-post-tags-wrap {
  border-top: 1px solid var(--zn-border);
  padding-top: 18px;
  margin-top: 26px;
  width: 100%;
  min-width: 0;
}
.zn-post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}
.zn-post-tags-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--zn-ink);
  margin: 0 4px 0 0;
  flex: 0 0 auto;
}
.zn-post-tags a {
  display: inline-block;
  background: var(--zn-surface-soft);
  color: var(--zn-ink);
  border: 1px solid var(--zn-border);
  border-radius: 3px;
  font-size: 12.5px;
  line-height: 1.4;
  padding: 5px 11px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zn-post-tags a:hover {
  background: var(--zn-baltic);
  border-color: var(--zn-baltic);
  color: #FFFFFF;
}

/* Nawigacja Poprzedni / Następny artykuł */
.zn-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.zn-post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--zn-surface);
  border: 1px solid var(--zn-border);
  border-radius: 4px;
  padding: 16px 18px;
  box-shadow: var(--zn-shadow);
  transition: border-color 0.2s ease;
}
.zn-post-nav-item:hover {
  border-color: var(--zn-baltic);
}
.zn-post-nav-item.is-next {
  text-align: right;
}
.zn-post-nav-kicker {
  color: var(--zn-crimson-soft);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.zn-post-nav-title {
  font-family: var(--zn-font-serif);
  color: var(--zn-ink);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.38;
}

.zn-related-section {
  margin-top: 32px;
}

/* ==========================================================================
   PAGINACJA
   ========================================================================== */
.zn-pagination {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--zn-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.zn-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 3px;
  border: 1px solid var(--zn-border-strong);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--zn-ink);
  background: var(--zn-surface);
}
.zn-page-link.is-current,
a.zn-page-link:hover {
  background: var(--zn-baltic);
  border-color: var(--zn-baltic);
  color: #FFFFFF;
}
.zn-page-dots {
  padding: 0 6px;
  color: var(--zn-muted);
}

/* ==========================================================================
   PODSTRONY REDAKCYJNE (.zn-page): KONTAKT, REDAKCJA, POGODA, KATEGORIE, POLITYKA
   ========================================================================== */
.zn-page {
  width: 100%;
  max-width: var(--zn-max-width);
  margin: 0 auto;
  padding: 0 20px 64px;
}
.zn-surface-card {
  background: var(--zn-surface);
  border: 1px solid var(--zn-border);
  border-top: 3px solid var(--zn-baltic);
  border-radius: 4px;
  padding: 30px 32px;
  box-shadow: var(--zn-shadow);
}
.zn-baltic-card {
  background: linear-gradient(180deg, #193A66 0%, #122A4B 100%);
  border: 1px solid #1E4475;
  border-top: 3px solid var(--zn-crimson);
  border-radius: 4px;
  padding: 30px 28px;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(15, 31, 58, 0.16);
}
.zn-baltic-card h2,
.zn-baltic-card h3 {
  font-family: var(--zn-font-serif);
  color: #FFFFFF;
  margin: 0 0 12px;
}
.zn-baltic-card p {
  color: #DCE7F5;
  line-height: 1.65;
}

.zn-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.zn-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 22px 0;
}
.zn-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  color: #FFFFFF;
}
.zn-contact-item:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}
.zn-contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: rgba(220, 38, 38, 0.28);
  border: 1px solid rgba(239, 68, 68, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 17px;
  color: #FFFFFF;
}
.zn-contact-meta span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #93C5FD;
  font-weight: 700;
}
.zn-contact-meta strong {
  display: block;
  font-size: 16px;
  color: #FFFFFF;
  margin-top: 2px;
}

.zn-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.zn-form-full {
  grid-column: 1 / -1;
}
.zn-form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--zn-ink);
  margin-bottom: 6px;
}
.zn-form-control {
  width: 100%;
  background: var(--zn-input-bg);
  color: var(--zn-ink);
  border: 1px solid var(--zn-border-strong);
  border-radius: 4px;
  padding: 12px 14px;
  font-family: var(--zn-font-sans);
  font-size: 14px;
}
.zn-form-control:focus {
  border-color: var(--zn-baltic);
  box-shadow: 0 0 0 3px rgba(27, 63, 110, 0.15);
  outline: none;
}
.zn-form-error {
  display: block;
  font-size: 12px;
  color: var(--zn-crimson-soft);
  margin-top: 4px;
}
.zn-alert {
  padding: 13px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 18px;
}
.zn-alert-ok {
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #86EFAC;
}
.zn-alert-err {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}
html[data-theme="dark"] .zn-alert-ok {
  background: rgba(22, 101, 52, 0.25);
  color: #86EFAC;
  border-color: #166534;
}
html[data-theme="dark"] .zn-alert-err {
  background: rgba(153, 27, 27, 0.25);
  color: #FCA5A5;
  border-color: #991B1B;
}

/* Redakcja */
.zn-about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 32px;
}
.zn-about-img-wrap {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--zn-border);
  box-shadow: var(--zn-shadow);
}
.zn-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.zn-pillar-card {
  background: var(--zn-surface);
  border: 1px solid var(--zn-border);
  border-top: 3px solid var(--zn-baltic);
  border-radius: 4px;
  padding: 22px 20px;
  box-shadow: var(--zn-shadow);
}
.zn-pillar-num {
  font-family: var(--zn-font-serif);
  font-size: 13px;
  font-weight: 900;
  color: var(--zn-crimson-soft);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.zn-pillar-card h3 {
  font-family: var(--zn-font-serif);
  font-size: 16.5px;
  font-weight: 900;
  color: var(--zn-ink);
  margin: 0 0 8px;
}
.zn-pillar-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--zn-muted);
  margin: 0;
}

/* Pogoda dedykowana */
.zn-weather-radar-box {
  background: linear-gradient(135deg, #132C4E 0%, #1B3F6E 100%);
  border: 1px solid #224B80;
  border-top: 3px solid var(--zn-crimson);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 32px;
}
.zn-weather-radar-box iframe {
  width: 100%;
  height: 460px;
  border: 0;
  border-radius: 4px;
  display: block;
  background: #0F2747;
}
.zn-weather-cities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}
.zn-weather-city-card {
  background: var(--zn-surface);
  border: 1px solid var(--zn-border);
  border-top: 3px solid var(--zn-baltic);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--zn-shadow);
}
.zn-weather-city-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--zn-surface-soft);
  border-bottom: 1px solid var(--zn-border);
}
.zn-weather-city-card-head h3 {
  font-family: var(--zn-font-serif);
  font-size: 15.5px;
  font-weight: 900;
  color: var(--zn-ink);
  margin: 0;
}
.zn-weather-city-card-head a {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--zn-crimson-soft);
}
.zn-weather-city-card iframe {
  width: 100%;
  height: 190px;
  border: 0;
  display: block;
}

/* Kategorie wizualne */
.zn-cat-visual-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}
.zn-cat-visual-card {
  background: var(--zn-surface);
  border: 1px solid var(--zn-border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--zn-shadow);
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.zn-cat-visual-card:hover {
  transform: translateY(-2px);
  border-color: var(--zn-baltic);
  box-shadow: var(--zn-shadow-hover);
}
.zn-cat-visual-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--zn-surface-soft);
}
.zn-cat-visual-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.zn-cat-visual-body {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 2px solid var(--zn-baltic);
}
.zn-cat-visual-body h3 {
  font-family: var(--zn-font-serif);
  font-size: 15.5px;
  font-weight: 900;
  color: var(--zn-ink);
  margin: 0;
}
.zn-cat-visual-arrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--zn-muted);
  white-space: nowrap;
}

/* Polityka prywatności */
.zn-legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.zn-ai-notice-box {
  background: linear-gradient(135deg, #16345C 0%, #1E477A 100%);
  border-left: 4px solid var(--zn-crimson-soft);
  border-radius: 4px;
  padding: 24px 26px;
  margin-bottom: 28px;
  color: #FFFFFF;
}
.zn-ai-notice-box h2 {
  font-family: var(--zn-font-serif);
  font-size: 19px;
  font-weight: 900;
  color: #FFFFFF;
  margin: 0 0 14px;
}
.zn-ai-notice-box p {
  color: #E2EDF9;
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 10px;
}
.zn-legal-article h2 {
  font-family: var(--zn-font-serif);
  font-size: 20px;
  font-weight: 900;
  color: var(--zn-ink);
  margin: 26px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--zn-border);
}

/* Strona 404 */
.zn-404-wrap {
  padding: 20px 20px 64px;
}
.zn-404-box {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  background: var(--zn-surface);
  border: 1px solid var(--zn-border);
  border-top: 3px solid var(--zn-crimson);
  border-radius: 4px;
  padding: 40px 32px;
  box-shadow: var(--zn-shadow);
}
.zn-404-code {
  font-family: var(--zn-font-serif);
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  color: var(--zn-baltic);
  margin-bottom: 12px;
}
html[data-theme="dark"] .zn-404-code {
  color: #93C5FD;
}
.zn-404-box h2 {
  font-family: var(--zn-font-serif);
  color: var(--zn-ink);
  font-size: 25px;
  margin: 0 0 12px;
}
.zn-404-box p {
  color: var(--zn-muted);
  margin: 0 0 22px;
}
.zn-404-links {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--zn-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.zn-404-links a {
  padding: 6px 12px;
  background: var(--zn-surface-soft);
  border: 1px solid var(--zn-border);
  border-radius: 3px;
  color: var(--zn-ink);
  font-size: 12.5px;
  font-weight: 600;
}
.zn-404-links a:hover {
  background: var(--zn-baltic);
  border-color: var(--zn-baltic);
  color: #FFFFFF;
}

/* ==========================================================================
   STOPKA (.zn-footer) I PRZYCISK POWROTU DO GÓRY
   ========================================================================== */
.zn-footer {
  border-top: 3px solid var(--zn-baltic);
  background-color: var(--zn-footer-bg);
  color: var(--zn-body);
  margin-top: 32px;
}
.zn-footer-top {
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--zn-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.zn-footer-logo img {
  height: 58px;
  width: auto;
  display: block;
}
html[data-theme="dark"] .zn-footer-logo img {
  filter: brightness(0) invert(1);
}
.zn-footer-social-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.zn-footer-social-wrap span {
  font-weight: 600;
  color: var(--zn-ink);
  font-size: 14.5px;
}
.zn-footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 4px;
  border: 1px solid var(--zn-border-strong);
  background: var(--zn-surface);
  color: var(--zn-ink);
}
.zn-footer-social-btn:hover {
  background: var(--zn-baltic);
  border-color: var(--zn-baltic);
  color: #FFFFFF;
}

.zn-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 36px 0;
}
.zn-footer-col h3 {
  font-family: var(--zn-font-serif);
  font-size: 17px;
  font-weight: 900;
  color: var(--zn-ink);
  margin: 0 0 14px;
}
.zn-footer-col p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 10px;
}
.zn-footer-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.zn-footer-cats a {
  font-size: 14px;
  color: var(--zn-ink);
  font-weight: 500;
}
.zn-footer-cats a:hover {
  color: var(--zn-crimson-soft);
}

.zn-footer-bottom {
  background: var(--zn-footer-bar);
  border-top: 1px solid var(--zn-border);
  padding: 18px 0;
}
.zn-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
}
.zn-footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.zn-footer-bottom-links a {
  color: var(--zn-ink);
  font-weight: 500;
}
.zn-footer-bottom-links a:hover {
  color: var(--zn-crimson-soft);
}

.zn-back-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 4px;
  background: var(--zn-baltic);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(18, 41, 74, 0.35);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, background 0.16s ease;
  z-index: 80;
}
.zn-back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.zn-back-top:hover {
  background: var(--zn-crimson);
}

/* ==========================================================================
   RESPONSYWNOŚĆ
   ========================================================================== */
@media (max-width: 1199px) {
  .zn-brand { gap: 14px; }
  .zn-brand-tagline { font-size: 12px; padding-left: 14px; }
}

@media (max-width: 1024px) {
  .zn-hero-grid,
  .zn-main-grid,
  .zn-weather-grid,
  .zn-contact-grid,
  .zn-about-hero-grid,
  .zn-legal-layout {
    grid-template-columns: 1fr;
  }
  .zn-desks-grid,
  .zn-pillars-grid,
  .zn-cat-visual-grid,
  .zn-news-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .zn-directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .zn-footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .zn-header-main-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
  .zn-brand {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
  .zn-brand-logo {
    height: 58px;
  }
  .zn-brand-tagline {
    border-left: none;
    padding-left: 0;
    font-size: 12px;
  }
  .zn-header-banner {
    width: 100%;
    justify-content: center;
  }
  .zn-header-banner img {
    max-width: 100%;
    max-height: none;
    height: auto;
  }
  .zn-nav-list {
    display: none;
  }
  .zn-mobile-toggle {
    display: inline-flex;
  }
  .zn-card-featured {
    grid-template-columns: 1fr;
  }
  .zn-weather-cities-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .zn-news-grid,
  .zn-news-grid-3,
  .zn-desks-grid,
  .zn-desks-2col,
  .zn-directory-grid,
  .zn-pillars-grid,
  .zn-cat-visual-grid,
  .zn-form-grid,
  .zn-post-nav,
  .zn-footer-cols {
    grid-template-columns: 1fr;
  }
  .zn-lead-title { font-size: 21px; }
  .zn-sub-hero h1 { font-size: 24px; }
  .zn-article-title { font-size: 24px; }
  .zn-article-card,
  .zn-surface-card {
    padding: 22px 18px;
  }
  .zn-brief-row {
    grid-template-columns: 92px minmax(0, 1fr);
  }
  .zn-brief-thumb {
    width: 92px;
    height: 64px;
  }
  .zn-post-tags-label {
    flex: 0 0 100%;
    margin: 0 0 2px;
  }
}

/* ==========================================================================
   ETAP 3C – NOWOCZESNE ZAOKRĄGLENIA (14px), LEKKOŚĆ KART I RESPONSYWNOŚĆ TICKERA
   ========================================================================== */
.zn-desk-col,
.zn-directory,
.zn-article-card,
.zn-surface-card,
.zn-baltic-card,
.zn-post-nav-item,
.zn-pillar-card,
.zn-weather-city-card,
.zn-cat-visual-card,
.zn-404-box,
.zn-ad-box,
.zn-rating-box {
  border-radius: var(--zn-radius);
}

.zn-desk-col,
.zn-directory,
.zn-article-card,
.zn-surface-card,
.zn-pillar-card,
.zn-weather-city-card {
  border-top-width: 1px;
  border-top-color: var(--zn-border);
}

.zn-desk-col:hover,
.zn-post-nav-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--zn-shadow-hover);
}

.zn-weather-band,
.zn-weather-radar-box,
.zn-ai-notice-box {
  border-radius: 16px;
}

.zn-brief-thumb,
.zn-side-thumb,
.zn-desk-thumb,
.zn-article-figure-box,
.zn-webcam-item {
  border-radius: 10px;
}

.zn-sb-cats a,
.zn-dir-pill,
.zn-post-tags a,
.zn-bookmark-btn,
.zn-page-link,
.zn-weather-btn {
  border-radius: 999px;
}

.zn-back-top {
  border-radius: 50%;
}

.zn-article-title,
.zn-sub-hero h1,
.zn-desk-col-head h3,
.zn-directory-head h2,
.zn-weather-head h2 {
  font-family: var(--zn-font-display);
  font-weight: 800;
}

.zn-brief-title,
.zn-side-title,
.zn-desk-item-title,
.zn-post-nav-title,
.zn-numbered-list a {
  font-family: var(--zn-font-display);
  font-weight: 700;
}

@media (max-width: 767px) {
  .zn-ticker-inner {
    flex-wrap: wrap;
    gap: 8px 10px;
    padding: 8px 14px;
  }
  .zn-ticker-badge {
    font-size: 10px;
    padding: 4px 10px;
  }
  .zn-ticker-nav {
    margin-left: auto;
  }
  .zn-ticker-viewport {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
  }
  .zn-ticker-item {
    flex-wrap: wrap;
    gap: 4px 8px;
  }
  .zn-ticker-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 13.5px;
    line-height: 1.35;
  }
  .zn-ticker-time {
    margin-left: 0;
    padding-left: 0;
    font-size: 11px;
  }
  .zn-compact-card {
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
  }
  .zn-compact-thumb {
    width: 116px;
    height: 84px;
  }
  .zn-compact-title {
    font-size: 14.5px;
  }
  .zn-compact-excerpt {
    display: none;
  }
}

/* ==========================================================================
   SZLIF PORTALOWY (INTERIA-STYLE): HOVER ZOOM, AKCENT TYTUŁÓW, CZYSTA LISTA, TICKER
   ========================================================================== */
.zn-card-img img,
.zn-lead-img img,
.zn-brief-thumb img,
.zn-side-thumb img,
.zn-desk-thumb img,
.zn-compact-thumb img,
.zn-cat-visual-thumb img {
  transition: transform 0.35s ease;
}

.zn-card:hover .zn-card-img img,
.zn-lead-card:hover .zn-lead-img img,
.zn-brief-row:hover .zn-brief-thumb img,
.zn-side-row:hover .zn-side-thumb img,
.zn-desk-item:hover .zn-desk-thumb img,
.zn-compact-card:hover .zn-compact-thumb img,
.zn-cat-visual-card:hover .zn-cat-visual-thumb img {
  transform: scale(1.03);
}

/* Subtelna zmiana koloru tytułu na akcentowy przy najechaniu na całą kartę */
.zn-card:hover .zn-card-title a,
.zn-lead-card:hover .zn-lead-title a,
.zn-compact-card:hover .zn-compact-title a,
.zn-side-row:hover .zn-side-title a,
.zn-desk-item:hover .zn-desk-item-title a,
.zn-post-nav-item:hover .zn-post-nav-title {
  color: var(--zn-crimson-soft);
}
.zn-hero-side .zn-brief-row:hover .zn-brief-title a {
  color: #93C5FD;
}
.zn-side-card .zn-brief-row:hover .zn-brief-title a {
  color: var(--zn-crimson-soft);
}

/* Bardziej przewiewne karty z wyrazistym kontrastem między tytułem a leadem */
.zn-card-body {
  padding: 18px 20px 22px;
}
.zn-card-title {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 4px 0 10px;
}
.zn-card-excerpt {
  font-size: 13.75px;
  line-height: 1.58;
  color: var(--zn-muted);
}

/* Lista kompaktowych wiadomości: jedna lekka karta z subtelnymi liniami zamiast ciężkich ramek */
.zn-compact-wrap {
  margin-top: 26px;
  background: var(--zn-surface);
  border: 1px solid var(--zn-border);
  border-radius: var(--zn-radius);
  padding: 18px 22px 10px;
  box-shadow: var(--zn-shadow);
}
.zn-compact-head {
  margin-bottom: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--zn-border);
}
.zn-compact-list {
  gap: 0;
}
.zn-compact-card {
  padding: 14px 4px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--zn-border);
  border-radius: 0;
  box-shadow: none;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 16px;
  transition: background-color 0.18s ease;
}
.zn-compact-card:last-child {
  border-bottom: none;
}
.zn-compact-card:hover {
  transform: none;
  box-shadow: none;
  background-color: transparent;
}
.zn-compact-card.is-balance-hidden {
  display: none;
}
.zn-compact-thumb {
  width: 156px;
  height: 100px;
  border-radius: 10px;
}
.zn-compact-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.018em;
  line-height: 1.34;
  margin: 2px 0 5px;
}
.zn-compact-excerpt {
  font-size: 13.5px;
  line-height: 1.5;
}

/* Precyzyjne wyśrodkowanie w pionie paska tickera pod menu */
.zn-ticker-inner {
  min-height: 46px;
  padding: 8px 20px;
  align-items: center;
}
.zn-ticker-badge {
  line-height: 1;
  padding: 6px 12px;
}
.zn-ticker-viewport {
  display: flex;
  align-items: center;
  min-height: 28px;
}
.zn-ticker-item {
  width: 100%;
  align-items: center;
  line-height: 1.3;
}
.zn-ticker-cat {
  line-height: 1.1;
  padding: 3px 10px;
}
.zn-ticker-title {
  line-height: 1.3;
}
.zn-ticker-time {
  line-height: 1.2;
}
.zn-ticker-btn {
  width: 28px;
  height: 28px;
  padding: 0;
  border-color: var(--zn-border);
  background: transparent;
  color: var(--zn-muted);
}
.zn-ticker-btn:hover {
  background: var(--zn-baltic);
  border-color: var(--zn-baltic);
  color: #FFFFFF;
}

@media (max-width: 767px) {
  .zn-compact-wrap {
    padding: 14px 16px 8px;
  }
  .zn-compact-card {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
  }
  .zn-compact-thumb {
    width: 108px;
    height: 76px;
  }
  .zn-ticker-inner {
    padding: 8px 14px;
    min-height: 44px;
  }
  .zn-ticker-viewport {
    min-height: 24px;
  }
}
