/* ============================================================
   FajnyPrzemyśl — Main Stylesheet
   Colors: navy #1a1a2e | crimson #c0392b | gold #f39c12
   ============================================================ */

/* ── VARIABLES & RESET ────────────────────────────────────── */
:root {
  --navy:      #1a1a2e;
  --navy-mid:  #16213e;
  --navy-dark: #0f0f23;
  --crimson:   #c0392b;
  --crimson-d: #a93226;
  --gold:      #f39c12;
  --gold-d:    #d68910;
  --white:     #ffffff;
  --off-white: #f8f9fa;
  --gray-100:  #f1f3f5;
  --gray-200:  #e9ecef;
  --gray-400:  #ced4da;
  --gray-600:  #6c757d;
  --gray-800:  #343a40;
  --text:      #1a1a2e;
  --text-muted:#6c757d;
  --border:    #dee2e6;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow:    0 4px 20px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.18);
  --radius:    8px;
  --radius-sm: 4px;
  --radius-lg: 16px;
  --font:      'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-serif:'Georgia', 'Times New Roman', serif;
  --transition:.2s ease;
  --container: 1280px;
  --header-h:  64px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--crimson); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--crimson-d); }

ul { list-style: none; }

/* ── CONTAINER ────────────────────────────────────────────── */
.fp-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.fp-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.fp-btn--primary {
  background: var(--crimson);
  color: var(--white);
  border-color: var(--crimson);
}
.fp-btn--primary:hover {
  background: var(--crimson-d);
  border-color: var(--crimson-d);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(192,57,43,.35);
}
.fp-btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.fp-btn--ghost:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  color: var(--white);
}
.fp-btn--gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.fp-btn--gold:hover {
  background: var(--gold-d);
  color: var(--navy);
  transform: translateY(-1px);
}
.fp-btn--sm {
  padding: 6px 14px;
  font-size: .82rem;
  border-radius: var(--radius-sm);
}
.fp-btn--outline {
  background: transparent;
  color: var(--crimson);
  border-color: var(--crimson);
}
.fp-btn--outline:hover {
  background: var(--crimson);
  color: var(--white);
}

/* ── BREAKING NEWS TICKER ─────────────────────────────────── */
.fp-ticker {
  background: var(--crimson);
  color: var(--white);
  display: flex;
  align-items: center;
  height: 36px;
  overflow: hidden;
  font-size: .8rem;
  position: relative;
  z-index: 1001;
}
.fp-ticker__label {
  flex-shrink: 0;
  background: var(--navy-dark);
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .04em;
  white-space: nowrap;
}
.fp-ticker__track {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.fp-ticker__inner {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: fp-ticker-scroll 40s linear infinite;
  will-change: transform;
}
.fp-ticker__inner:hover { animation-play-state: paused; }
.fp-ticker__item {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  padding: 0 28px;
  gap: 8px;
  border-right: 1px solid rgba(255,255,255,.25);
  font-size: .8rem;
  transition: opacity var(--transition);
}
.fp-ticker__item:hover { opacity: .85; }
.fp-ticker__time {
  opacity: .7;
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
}
@keyframes fp-ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── TOP BAR ──────────────────────────────────────────────── */
.fp-topbar {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.fp-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  gap: 20px;
}
.fp-topbar__left { display: flex; align-items: center; gap: 16px; }
.fp-topbar__date, .fp-topbar__weather { color: rgba(255,255,255,.8); }
.fp-topbar__weather { display: flex; align-items: center; gap: 4px; }
.fp-topbar__right {
  display: flex;
  align-items: center;
  gap: 4px;
}
.fp-topbar__right a {
  color: rgba(255,255,255,.75);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: .78rem;
  transition: all var(--transition);
}
.fp-topbar__right a:hover {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

/* Language Switcher */
.fp-lang-switcher {
  position: relative;
  margin-left: 8px;
}
.fp-lang-current {
  cursor: pointer;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition);
}
.fp-lang-current:hover { border-color: rgba(255,255,255,.5); }
.fp-lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 140px;
  box-shadow: var(--shadow-lg);
  z-index: 1002;
}
.fp-lang-switcher:hover .fp-lang-dropdown,
.fp-lang-dropdown.active { display: block; }
.fp-lang-dropdown a {
  display: block;
  padding: 8px 14px;
  color: rgba(255,255,255,.8);
  font-size: .8rem;
  transition: background var(--transition);
}
.fp-lang-dropdown a:hover { background: rgba(255,255,255,.1); color: var(--white); }

/* ── MAIN HEADER ──────────────────────────────────────────── */
.fp-header {
  background: var(--white);
  border-bottom: 2px solid var(--crimson);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.fp-header.scrolled { box-shadow: var(--shadow); }
.fp-header__inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 24px;
}

/* Logo */
.fp-header__logo a { display: flex; align-items: center; text-decoration: none; }
.fp-logo-text { line-height: 1.1; }
.fp-logo-main {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -.02em;
  display: block;
}
.fp-logo-accent { color: var(--crimson); }
.fp-logo-tagline {
  display: block;
  font-size: .68rem;
  color: var(--text-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 1px;
}

/* Navigation */
.fp-nav { flex: 1; }
.fp-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.fp-nav__list > li { position: relative; }
.fajny-nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  color: var(--navy);
  font-weight: 600;
  font-size: .88rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.fajny-nav-link:hover, .current-menu-item > .fajny-nav-link {
  color: var(--crimson);
  background: rgba(192,57,43,.06);
}
.fajny-nav-arrow { font-size: .65rem; margin-top: 1px; opacity: .7; }

/* Dropdown submenu */
.fajny-submenu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--crimson);
  border-radius: 0 0 var(--radius) var(--radius);
  min-width: 200px;
  box-shadow: var(--shadow);
  z-index: 999;
  list-style: none;
  padding: 6px 0;
}
.fp-nav__list > li:hover > .fajny-submenu { display: block; }
.fajny-sub-link {
  display: block;
  padding: 8px 18px;
  color: var(--text);
  font-size: .84rem;
  transition: all var(--transition);
}
.fajny-sub-link:hover { background: var(--gray-100); color: var(--crimson); padding-left: 22px; }

/* Header actions */
.fp-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.fp-search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  transition: all var(--transition);
}
.fp-search-toggle:hover { background: var(--gray-100); color: var(--crimson); }
.fp-chatbot-toggle {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.fp-chatbot-toggle:hover { background: var(--crimson); }
.fp-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.fp-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s ease;
}
.fp-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fp-menu-toggle.active span:nth-child(2) { opacity: 0; }
.fp-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── SEARCH OVERLAY ───────────────────────────────────────── */
.fp-search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,26,46,.95);
  backdrop-filter: blur(8px);
  z-index: 2000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.fp-search-overlay.active { display: flex; }
.fp-search-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: .7;
  transition: opacity var(--transition);
  padding: 8px;
  line-height: 1;
}
.fp-search-close:hover { opacity: 1; }
.fp-search-form {
  display: flex;
  width: 100%;
  max-width: 640px;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--gold);
}
.fp-search-form input[type="search"] {
  flex: 1;
  border: none;
  padding: 18px 24px;
  font-size: 1.1rem;
  background: var(--white);
  color: var(--text);
  outline: none;
  font-family: var(--font);
}
.fp-search-form button {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 18px 28px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.fp-search-form button:hover { background: var(--gold-d); }
.fp-search-suggestions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.fp-search-suggestions span { color: rgba(255,255,255,.5); font-size: .85rem; }
.fp-search-suggestions a {
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.3);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: .82rem;
  transition: all var(--transition);
}
.fp-search-suggestions a:hover {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}

/* ── CHATBOT WIDGET ───────────────────────────────────────── */
.fp-chatbot-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 360px;
  max-height: 500px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  z-index: 1500;
  overflow: hidden;
  transform: scale(.9) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  border: 1px solid var(--border);
}
.fp-chatbot-bubble.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}
.fp-chatbot-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: .9rem;
}
.fp-cb-online {
  font-size: .7rem;
  color: #4caf50;
  margin-left: 2px;
}
.fp-cb-close {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255,255,255,.6);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color var(--transition);
}
.fp-cb-close:hover { color: var(--white); }
.fp-chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8f9ff;
  min-height: 200px;
  max-height: 300px;
}
.fp-cb-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: .84rem;
  line-height: 1.5;
}
.fp-cb-msg--bot {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px 12px 12px 12px;
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
}
.fp-cb-msg--user {
  background: var(--navy);
  color: var(--white);
  border-radius: 12px 4px 12px 12px;
  align-self: flex-end;
}
.fp-cb-msg--loading { opacity: .6; }
.fp-cb-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.fp-cb-suggestions button {
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: .75rem;
  cursor: pointer;
  color: var(--navy);
  transition: all var(--transition);
}
.fp-cb-suggestions button:hover {
  background: var(--crimson);
  color: var(--white);
  border-color: var(--crimson);
}
.fp-chatbot-input {
  display: flex;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.fp-chatbot-input input {
  flex: 1;
  border: none;
  padding: 12px 16px;
  font-size: .85rem;
  font-family: var(--font);
  outline: none;
  color: var(--text);
}
.fp-chatbot-input button {
  background: var(--crimson);
  color: var(--white);
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 1rem;
  transition: background var(--transition);
}
.fp-chatbot-input button:hover { background: var(--crimson-d); }
.fp-chatbot-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50px;
  padding: 14px 20px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  z-index: 1499;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  transition: all var(--transition);
  border: none;
}
.fp-chatbot-fab:hover {
  background: var(--crimson);
  transform: scale(1.05);
}
.fp-chatbot-fab.hidden { display: none; }
.fp-fab-label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
}

/* ── PAGE HEADER (non-homepage) ───────────────────────────── */
.fp-page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 32px 0 28px;
  border-bottom: 3px solid var(--crimson);
}
.fp-page-title {
  color: var(--white);
  font-size: 2rem;
  font-weight: 800;
  margin-top: 10px;
  line-height: 1.2;
}
.fajny-breadcrumbs {
  font-size: .8rem;
}
.fajny-breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  flex-wrap: wrap;
}
.fajny-breadcrumbs li {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,.6);
}
.fajny-breadcrumbs li + li::before { content: '›'; margin-right: 6px; opacity: .5; }
.fajny-breadcrumbs a { color: rgba(255,255,255,.75); }
.fajny-breadcrumbs a:hover { color: var(--gold); }
.fajny-breadcrumbs li:last-child { color: rgba(255,255,255,.9); }

/* ── HERO ─────────────────────────────────────────────────── */
.fp-hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, #2c0e0e 50%, var(--navy) 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.fp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.fp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,46,.7) 0%, rgba(26,26,46,.85) 100%);
}
.fp-hero__content {
  position: relative;
  z-index: 1;
  padding-top: 48px;
  padding-bottom: 80px;
  text-align: center;
}
.fp-hero__badge {
  display: inline-block;
  background: rgba(192,57,43,.8);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,.2);
}
.fp-hero__title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -.03em;
}
.fp-hero__city { color: var(--gold); }
.fp-hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.fp-hero__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.fp-hero__ctas .fp-btn { font-size: 1rem; padding: 13px 28px; }
.fp-hero__stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
.fp-hero__stat {
  text-align: center;
  color: var(--white);
}
.fp-hero__stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.fp-hero__stat span { font-size: .78rem; opacity: .75; letter-spacing: .04em; text-transform: uppercase; }
.fp-hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  font-size: 1.4rem;
  animation: fp-bounce 2s infinite;
}
@keyframes fp-bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ── INFO BAR ─────────────────────────────────────────────── */
.fp-infobar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.fp-infobar__inner {
  display: flex;
  align-items: stretch;
  min-height: 64px;
  overflow-x: auto;
}
.fp-infobar__block {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-right: 1px solid var(--border);
  flex: 1;
  min-width: 180px;
  transition: background var(--transition);
}
.fp-infobar__block:last-child { border-right: none; }
.fp-infobar__block:hover { background: var(--gray-100); }
.fp-infobar__icon { font-size: 1.5rem; flex-shrink: 0; }
.fp-infobar__block > div { min-width: 0; }
.fp-infobar__block strong { font-size: 1.1rem; font-weight: 800; color: var(--navy); }
.fp-infobar__block span { font-size: .75rem; color: var(--text-muted); display: block; }
.fp-infobar__label {
  display: block;
  font-size: .7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
  margin-bottom: 2px;
}
.fp-infobar__block a {
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fp-infobar__block a:hover { color: var(--crimson); }

/* ── MAIN ─────────────────────────────────────────────────── */
.fp-main {
  padding: 40px 0 60px;
}

/* ── SECTIONS ─────────────────────────────────────────────── */
.fp-section {
  margin-bottom: 52px;
}
.fp-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 12px;
  gap: 12px;
}
.fp-section__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
}
.fp-section__more {
  font-size: .82rem;
  font-weight: 600;
  color: var(--crimson);
  white-space: nowrap;
  border: 1px solid var(--crimson);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.fp-section__more:hover { background: var(--crimson); color: var(--white); }

/* ── NEWS FEATURED LAYOUT ─────────────────────────────────── */
.fp-news-featured {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  margin-bottom: 24px;
}

/* Main news article */
.fp-news-main {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.fp-news-main:hover { box-shadow: var(--shadow); }
.fp-news-main__img {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.fp-news-main__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.fp-news-main:hover .fp-news-main__img img { transform: scale(1.04); }
.fp-news-main__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  min-height: 240px;
}
.fp-news-main__source {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--crimson);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .04em;
}
.fp-news-main__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.fp-news-main__time {
  font-size: .75rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: block;
}
.fp-news-main__body h3 {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--navy);
}
.fp-news-main__body h3 a { color: inherit; }
.fp-news-main__body h3 a:hover { color: var(--crimson); }
.fp-news-main__body p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

/* Side news */
.fp-news-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* News grid */
.fp-news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

/* ── NEWS CARD ────────────────────────────────────────────── */
.fp-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.fp-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.fp-card--side {
  flex-direction: row;
  max-height: 110px;
}
.fp-card--side .fp-card__img-wrap {
  width: 120px;
  min-width: 120px;
  height: 110px;
}
.fp-card__img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.fp-card--side .fp-card__img-wrap { aspect-ratio: unset; }
.fp-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.fp-card:hover .fp-card__img-wrap img { transform: scale(1.06); }
.fp-card__no-img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255,255,255,.4);
}
.fp-card__source {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(26,26,46,.85);
  color: var(--white);
  font-size: .68rem;
  padding: 2px 8px;
  border-radius: 10px;
}
.fp-card__body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.fp-card--side .fp-card__body { padding: 10px 12px; }
.fp-card__title {
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--navy);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fp-card--side .fp-card__title { -webkit-line-clamp: 2; font-size: .84rem; }
.fp-card__title a { color: inherit; }
.fp-card__title a:hover { color: var(--crimson); }
.fp-card__excerpt {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin-bottom: 8px;
}
.fp-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .74rem;
  color: var(--text-muted);
  margin-top: auto;
}
.fp-card__ext-badge {
  color: var(--crimson);
  font-weight: 600;
  font-size: .72rem;
}
.fp-card--ext .fp-card__img-wrap::after {
  content: '↗';
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--gold);
  color: var(--navy);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 900;
}

/* News category buttons */
.fp-news-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.fp-news-cat-btn {
  background: var(--gray-100);
  color: var(--navy);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  transition: all var(--transition);
}
.fp-news-cat-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ── TWO-COLUMN LAYOUT ────────────────────────────────────── */
.fp-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* ── BLOCK HEADER ─────────────────────────────────────────── */
.fp-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--crimson);
  padding-bottom: 10px;
}
.fp-block-header h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}
.fp-block-header a {
  font-size: .78rem;
  color: var(--crimson);
  font-weight: 600;
}

/* ── TWIERDZA BLOCK ───────────────────────────────────────── */
.fp-twierdza-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.fp-twierdza-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2c0e0e 100%);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  color: var(--white);
}
.fp-twierdza-stats {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.fp-tw-stat { text-align: center; }
.fp-tw-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.fp-tw-stat span { font-size: .72rem; opacity: .75; text-transform: uppercase; letter-spacing: .04em; }
.fp-twierdza-desc {
  font-size: .85rem;
  opacity: .85;
  line-height: 1.6;
  margin-bottom: 16px;
}
.fp-fort-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--gray-100);
  border-radius: var(--radius);
  margin-bottom: 8px;
  color: var(--navy);
  font-size: .86rem;
  font-weight: 600;
  transition: all var(--transition);
  border: 1px solid var(--border);
}
.fp-fort-mini:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.fp-fort-mini__icon { font-size: 1.1rem; flex-shrink: 0; }
.fp-fort-mini__name { flex: 1; }
.fp-fort-mini__arrow { opacity: .5; font-size: .9rem; }
.fp-fort-mini:hover .fp-fort-mini__arrow { opacity: 1; }

/* ── HISTORIA BLOCK ───────────────────────────────────────── */
.fp-historia-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.fp-hist-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-200);
}
.fp-hist-item:last-child { border-bottom: none; }
.fp-hist-item__img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.fp-hist-item__body { flex: 1; min-width: 0; }
.fp-hist-item__rok {
  font-size: .75rem;
  font-weight: 800;
  color: var(--crimson);
  margin-bottom: 4px;
}
.fp-hist-item__rok small { font-weight: 400; color: var(--text-muted); }
.fp-hist-item h4 {
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
  color: var(--navy);
}
.fp-hist-item h4 a { color: inherit; }
.fp-hist-item h4 a:hover { color: var(--crimson); }
.fp-hist-item p { font-size: .78rem; color: var(--text-muted); line-height: 1.5; }
.fp-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: .9rem;
  padding: 24px;
}

/* ── OGŁOSZENIA SECTION ───────────────────────────────────── */
.fp-ogl-cats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.fp-ogl-cat-link {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 600;
  transition: all var(--transition);
}
.fp-ogl-cat-link:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.fp-ogl-cat-link--add {
  background: var(--crimson);
  color: var(--white);
  border-color: var(--crimson);
}
.fp-ogl-cat-link--add:hover { background: var(--crimson-d); border-color: var(--crimson-d); color: var(--white); }

.fp-ogl-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fp-ogl-mini {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  transition: all var(--transition);
  color: var(--text);
}
.fp-ogl-mini:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.fp-ogl-mini--wyroznione { border-color: var(--gold); }
.fp-ogl-mini--wyroznione::before {
  content: '⭐ Wyróżnione';
  display: block;
  background: var(--gold);
  color: var(--navy);
  font-size: .65rem;
  font-weight: 800;
  padding: 3px 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.fp-ogl-mini img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
.fp-ogl-mini__no-img {
  height: 100px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.fp-ogl-mini__body { padding: 12px; flex: 1; }
.fp-ogl-mini__kat {
  font-size: .7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 4px;
}
.fp-ogl-mini__title {
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 8px;
}
.fp-ogl-mini__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--text-muted);
  gap: 8px;
}
.fp-ogl-mini__meta strong { color: var(--crimson); font-size: .9rem; }
.fp-ogl-empty {
  text-align: center;
  padding: 48px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--border);
}
.fp-ogl-empty p { margin-bottom: 16px; color: var(--text-muted); }

/* ── FIRMY SCROLL ─────────────────────────────────────────── */
.fp-firmy-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.fp-firma-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  flex-shrink: 0;
  min-width: 180px;
  max-width: 220px;
  transition: all var(--transition);
  color: var(--text);
}
.fp-firma-chip:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.fp-firma-chip img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.fp-firma-chip__icon {
  width: 44px;
  height: 44px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.fp-firma-chip--more .fp-firma-chip__icon {
  background: var(--crimson);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
}
.fp-firma-chip__info strong {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fp-firma-chip__info span {
  display: block;
  font-size: .74rem;
  color: var(--text-muted);
}
.fp-firma-chip__ocena {
  font-size: .75rem;
  color: var(--gold-d);
  font-weight: 700;
}

/* ── SPORT SECTION ────────────────────────────────────────── */
.fp-sport-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}
.fp-sport-clubs {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.fp-sport-clubs__title {
  font-size: .9rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--crimson);
}
.fp-sport-club-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 8px;
  color: var(--text);
  transition: all var(--transition);
  background: var(--gray-100);
}
.fp-sport-club-card:hover {
  border-color: var(--crimson);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transform: translateX(3px);
}
.fp-sport-club-card__icon { font-size: 1.6rem; flex-shrink: 0; }
.fp-sport-club-card__info { flex: 1; min-width: 0; }
.fp-sport-club-card__info strong { display: block; font-size: .86rem; font-weight: 700; color: var(--navy); }
.fp-sport-club-card__info span  { display: block; font-size: .74rem; color: var(--text-muted); }
.fp-sport-club-card__info small { font-size: .7rem; color: var(--crimson); font-weight: 600; }
.fp-sport-club-card__arrow { color: var(--text-muted); font-size: .9rem; flex-shrink: 0; }
.fp-sport-clubs__more {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: .78rem;
  color: var(--crimson);
  font-weight: 600;
  padding: 8px;
  border: 1px dashed var(--crimson);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.fp-sport-clubs__more:hover { background: var(--crimson); color: var(--white); }
.fp-sport-news { min-width: 0; }
.fp-sport-news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .fp-sport-layout { grid-template-columns: 1fr; }
  .fp-sport-news-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .fp-sport-news-grid { grid-template-columns: 1fr; }
}

/* ── UKRAINE SECTION ──────────────────────────────────────── */
.fp-section--ukraine { margin-bottom: 40px; }
.fp-ukraine-block {
  background: linear-gradient(135deg, #0057b7 0%, #003d82 100%);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  border-left: 6px solid #ffd700;
}
.fp-ukraine-text {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.fp-ukraine-flag { font-size: 3rem; flex-shrink: 0; }
.fp-ukraine-text h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.fp-ukraine-text p {
  color: rgba(255,255,255,.8);
  font-size: .88rem;
  line-height: 1.6;
  margin-bottom: 14px;
}
.fp-ukraine-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.fp-ukraine-links a {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.3);
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 600;
  transition: all var(--transition);
}
.fp-ukraine-links a:hover { background: rgba(255,255,255,.3); color: var(--white); }

/* ── FOOTER ───────────────────────────────────────────────── */
.fp-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.8);
  margin-top: 0;
}
.fp-footer__top { padding: 56px 0 40px; }
.fp-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.fp-footer__col h4 {
  color: var(--white);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.fp-footer__col ul { list-style: none; }
.fp-footer__col ul li { margin-bottom: 8px; }
.fp-footer__col a {
  color: rgba(255,255,255,.65);
  font-size: .84rem;
  transition: all var(--transition);
  display: block;
}
.fp-footer__col a:hover { color: var(--gold); padding-left: 4px; }
.fp-footer__logo .fp-logo-main { color: var(--white); font-size: 1.4rem; }
.fp-footer__col > p {
  font-size: .82rem;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  margin-bottom: 20px;
}
.fp-footer__social {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.fp-social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  transition: all var(--transition);
  text-transform: uppercase;
}
.fp-social-btn:hover { background: var(--crimson); color: var(--white); }
.fp-footer__bottom {
  background: rgba(0,0,0,.3);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
}
.fp-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.fp-footer__bottom p { font-size: .78rem; color: rgba(255,255,255,.45); }
.fp-footer__bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.fp-footer__bottom-links a { color: rgba(255,255,255,.5); font-size: .78rem; }
.fp-footer__bottom-links a:hover { color: rgba(255,255,255,.85); }
.fp-footer__ai-badge {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.5);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 600;
}

/* ── CONTENT AREA (single, page, archive) ─────────────────── */
.fp-content-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 40px 0 60px;
  align-items: start;
}
.fp-content-wrap--full { grid-template-columns: 1fr; }
.fp-content-main {}
.fp-sidebar {}

/* Article */
.fp-article {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.fp-article__hero {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
}
.fp-article__body { padding: 36px 40px; }
.fp-article__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: .8rem;
  color: var(--text-muted);
}
.fp-article__meta time { display: flex; align-items: center; gap: 4px; }
.fp-article__source {
  background: var(--crimson);
  color: var(--white);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
}
.fp-article h1 {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.fp-article__summary {
  background: var(--gray-100);
  border-left: 4px solid var(--crimson);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 28px;
  line-height: 1.65;
}
.fp-article__content {
  font-size: .96rem;
  line-height: 1.8;
  color: var(--text);
}
.fp-article__content p { margin-bottom: 16px; }
.fp-article__content h2, .fp-article__content h3 {
  color: var(--navy);
  margin: 28px 0 14px;
  font-weight: 800;
}
.fp-article__content h2 { font-size: 1.4rem; }
.fp-article__content h3 { font-size: 1.15rem; }
.fp-article__content ul, .fp-article__content ol { padding-left: 24px; margin-bottom: 16px; }
.fp-article__content li { margin-bottom: 6px; }
.fp-article__content blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--gray-100);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-muted);
}
.fp-article__content img { border-radius: var(--radius); margin: 16px 0; }
.fp-article__content a { color: var(--crimson); font-weight: 600; }
.fp-article__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.fp-article__tags a {
  background: var(--gray-100);
  color: var(--navy);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
  transition: all var(--transition);
}
.fp-article__tags a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ── SIDEBAR ──────────────────────────────────────────────── */
.fp-sidebar .widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.fp-sidebar .widget-title {
  font-size: .9rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--crimson);
}

/* ── ARCHIVE / LISTING ────────────────────────────────────── */
.fp-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.fp-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}
.fp-pagination a, .fp-pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  transition: all var(--transition);
}
.fp-pagination a:hover, .fp-pagination .current {
  background: var(--crimson);
  color: var(--white);
  border-color: var(--crimson);
}

/* ── SEARCH RESULTS ───────────────────────────────────────── */
.fp-search-info {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
}
.fp-no-results {
  text-align: center;
  padding: 80px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
}
.fp-no-results h2 { font-size: 1.5rem; color: var(--navy); margin-bottom: 12px; }
.fp-no-results p { color: var(--text-muted); margin-bottom: 24px; }

/* ── 404 ──────────────────────────────────────────────────── */
.fp-404 {
  text-align: center;
  padding: 100px 24px;
}
.fp-404__code {
  font-size: 8rem;
  font-weight: 900;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 8px;
}
.fp-404 h2 { font-size: 1.8rem; color: var(--navy); margin-bottom: 12px; }
.fp-404 p { color: var(--text-muted); margin-bottom: 32px; max-width: 400px; margin-left: auto; margin-right: auto; }
.fp-404__links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── GENERIC PAGE ─────────────────────────────────────────── */
.fp-page-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
}
.fp-page-content h1, .fp-page-content h2, .fp-page-content h3 {
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}
.fp-page-content h1 { font-size: 1.9rem; font-weight: 900; }
.fp-page-content h2 { font-size: 1.4rem; margin-top: 32px; }
.fp-page-content h3 { font-size: 1.15rem; }
.fp-page-content p { margin-bottom: 16px; line-height: 1.8; }
.fp-page-content ul, .fp-page-content ol { padding-left: 24px; margin-bottom: 16px; }
.fp-page-content li { margin-bottom: 6px; line-height: 1.7; }
.fp-page-content a { color: var(--crimson); font-weight: 600; }
.fp-page-content img { border-radius: var(--radius); margin: 12px 0; }

/* ── MOBILE MENU ──────────────────────────────────────────── */
.fp-nav--mobile-open { display: block !important; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .fp-news-featured { grid-template-columns: 1fr; }
  .fp-news-side { flex-direction: row; }
  .fp-news-grid { grid-template-columns: repeat(2, 1fr); }
  .fp-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .fp-content-wrap { grid-template-columns: 1fr; }
  .fp-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .fp-sidebar .widget { margin-bottom: 0; }
}
@media (max-width: 900px) {
  .fp-two-col { grid-template-columns: 1fr; }
  .fp-ogl-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .fp-archive-grid { grid-template-columns: repeat(2, 1fr); }
  .fp-hero { min-height: 460px; }
  .fp-hero__stats { gap: 24px; }
}
@media (max-width: 768px) {
  :root { --header-h: 56px; }

  .fp-topbar { display: none; }

  .fp-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-top: 2px solid var(--crimson); box-shadow: var(--shadow); padding: 12px 0; z-index: 999; }
  .fp-nav.fp-nav--mobile-open { display: block; }
  .fp-nav__list { flex-direction: column; align-items: stretch; padding: 0 16px; gap: 4px; }
  .fajny-nav-link { padding: 10px 12px; }
  .fajny-submenu { position: static; box-shadow: none; border: none; background: var(--gray-100); border-radius: var(--radius); margin: 4px 0; display: none; }
  .menu-item-has-children.open > .fajny-submenu { display: block; }

  .fp-menu-toggle { display: flex; }
  .fp-chatbot-toggle { display: none; }
  .fp-header__inner { position: relative; }

  .fp-hero__title { font-size: 2.2rem; }
  .fp-hero__ctas { flex-direction: column; align-items: center; }
  .fp-hero__stats { gap: 16px; }
  .fp-hero__stat strong { font-size: 1.4rem; }

  .fp-infobar__inner { flex-direction: column; }
  .fp-infobar__block { border-right: none; border-bottom: 1px solid var(--border); width: 100%; }
  .fp-infobar__block:last-child { border-bottom: none; }

  .fp-news-featured { grid-template-columns: 1fr; }
  .fp-news-side { flex-direction: column; }
  .fp-news-grid { grid-template-columns: 1fr 1fr; }
  .fp-card--side { flex-direction: column; max-height: none; }
  .fp-card--side .fp-card__img-wrap { width: 100%; height: auto; aspect-ratio: 16/9; }

  .fp-two-col { grid-template-columns: 1fr; }
  .fp-twierdza-stats { grid-template-columns: repeat(2,1fr); }

  .fp-ogl-mini-grid { grid-template-columns: 1fr 1fr; }
  .fp-archive-grid { grid-template-columns: 1fr; }

  .fp-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .fp-footer__bottom-inner { flex-direction: column; align-items: flex-start; }

  .fp-chatbot-bubble { width: calc(100vw - 32px); right: 16px; bottom: 16px; }
  .fp-chatbot-fab { right: 16px; bottom: 16px; }

  .fp-article__body { padding: 24px 20px; }
  .fp-article h1 { font-size: 1.5rem; }

  .fp-ukraine-block { padding: 24px 20px; }
  .fp-ukraine-text { flex-direction: column; gap: 12px; }
}
@media (max-width: 480px) {
  .fp-news-grid { grid-template-columns: 1fr; }
  .fp-ogl-mini-grid { grid-template-columns: 1fr; }
  .fp-footer__grid { grid-template-columns: 1fr; }
  .fp-hero__stats { display: grid; grid-template-columns: 1fr 1fr; }
  .fp-hero__title { font-size: 1.9rem; }
  .fp-twierdza-block, .fp-historia-block { padding: 20px; }
  .fp-page-content { padding: 24px 16px; }
}
