/* ============================================================
   KOLSKI PORTAL INFORMACYJNY — CSS v1.0
   Bazuje na Twoim szablonie HTML/CSS 1:1
   Bootstrap 5 grid + Barlow Condensed + Inter
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Variables (Twój kod) ── */
:root {
  --red: #dc2626;
  --red-dark: #b91c1c;
  --yellow: #facc15;
  --yellow-dark: #eab308;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-soft: 0 10px 30px rgba(15,23,42,.08);
  --shadow-card: 0 8px 18px rgba(15,23,42,.07);
  --radius-xl: 16px;
  --radius-lg: 12px;
  --container: 1280px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--gray-50);
  color: var(--gray-900);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Container ── */
.kp-container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* ============================================================
   HEADER (Twój kod 1:1)
   ============================================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-main { background: var(--white); }

.header-main-inner {
  height: 82px;
  display: grid;
  grid-template-columns: 220px minmax(260px, 420px) auto;
  align-items: center;
  column-gap: 64px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.logo-mark {
  width: 39px; height: 46px;
  border-radius: 6px;
  background: linear-gradient(180deg, #ef4444, #b91c1c);
  padding: 4px;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.25);
  flex-shrink: 0;
}
.logo-shield {
  width: 27px; height: 34px;
  border-radius: 4px 4px 10px 10px;
  background: var(--yellow);
  color: var(--red-dark);
  display: grid; place-items: center;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 21px; font-weight: 800; line-height: 1;
}
.logo-img-custom { height: 46px; width: auto; display: block; }
.logo-text {
  display: flex; flex-direction: column;
  line-height: .96;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase; letter-spacing: -.02em;
}
.logo-text strong { font-size: 20px; font-weight: 800; color: var(--gray-900); }
.logo-text span   { font-size: 18px; font-weight: 700; color: var(--gray-900); }
.logo-tagline { font-size: 10px; color: var(--gray-500); font-weight: 400; font-family: "Inter",sans-serif; text-transform: none; letter-spacing: 0; margin-top: 2px; display: block; }

/* Search */
.search-box {
  height: 42px;
  border: 1px solid var(--gray-200);
  background: #fafafa;
  border-radius: 999px;
  display: grid;
  grid-template-columns: 1fr 44px;
  align-items: center;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(15,23,42,.03);
}
.search-box input {
  border: 0; background: transparent;
  padding: 0 0 0 22px; outline: none;
  color: var(--gray-700); font-size: 13px; font-family: "Inter",sans-serif;
}
.search-box input::placeholder { color: var(--gray-500); }
.search-box button {
  border: 0; background: transparent; color: var(--gray-500);
  height: 100%; display: grid; place-items: center; cursor: pointer;
}
.search-box button:hover { color: var(--red); }

/* Social icons */
.header-socials { justify-self: end; display: flex; align-items: center; gap: 13px; }
.header-socials a,
.mobile-socials a,
.footer-socials a {
  width: 28px; height: 28px; border-radius: 999px;
  background: #020617; color: var(--white);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800;
  transition: .2s ease;
}
.header-socials a:hover, .mobile-socials a:hover, .footer-socials a:hover {
  background: var(--red); transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
  display: none; justify-self: end;
  width: 42px; height: 42px;
  border: 0; background: transparent; padding: 8px; cursor: pointer;
}
.hamburger span {
  display: block; width: 25px; height: 3px;
  background: var(--gray-900); border-radius: 99px; margin: 5px auto;
  transition: .25s ease;
}

/* ── NAVIGATION (Twój styl: Barlow Condensed, uppercase, skewX active) ── */
.main-nav {
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}
.nav-inner {
  height: 58px;
  display: flex; align-items: center; gap: 35px;
  overflow-x: auto; scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }
.nav-inner a {
  position: relative; flex: 0 0 auto;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 16px; font-weight: 700;
  color: #111827; text-transform: uppercase; letter-spacing: .01em;
  transition: .2s ease; white-space: nowrap;
}
.nav-inner a:hover { color: var(--red); }
.nav-inner a.active {
  background: var(--yellow); color: #111827;
  padding: 9px 18px 8px;
  transform: skewX(-8deg);
}
.nav-inner a.active::after {
  content: ""; position: absolute; right: -11px; top: 0;
  width: 16px; height: 100%;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* ── INFO STRIP ── */
.info-strip { background: var(--gray-100); border-top: 1px solid var(--gray-200); }
.info-strip-inner {
  height: 43px; display: flex;
  justify-content: space-between; align-items: center;
  color: var(--gray-500); font-size: 12px;
}
.info-left  { display: flex; gap: 40px; }
.info-right { display: flex; align-items: center; gap: 10px; }
.info-right strong { color: var(--gray-900); font-weight: 700; }

/* ── MOBILE DRAWER ── */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15,23,42,.48);
  opacity: 0; pointer-events: none;
  transition: .25s ease;
}
.mobile-drawer.is-open { opacity: 1; pointer-events: auto; }
.mobile-drawer-panel {
  width: min(360px, 88vw); height: 100%;
  background: var(--white); padding: 18px;
  transform: translateX(-100%); transition: .25s ease;
  overflow-y: auto;
}
.mobile-drawer.is-open .mobile-drawer-panel { transform: translateX(0); }
.mobile-drawer-top { display: flex; justify-content: space-between; align-items: center; }
.mobile-close {
  width: 38px; height: 38px; border: 0; border-radius: 999px;
  background: var(--gray-100); font-size: 28px; line-height: 1; cursor: pointer;
}
.mobile-search {
  margin-top: 22px; height: 42px;
  border: 1px solid var(--gray-200); border-radius: 999px;
  display: grid; grid-template-columns: 1fr 42px; overflow: hidden;
}
.mobile-search input,
.mobile-search button { border: 0; background: transparent; outline: none; }
.mobile-search input { padding-left: 16px; font-family: "Inter",sans-serif; font-size: 13px; }
.mobile-search button { cursor: pointer; }
.mobile-socials { display: flex; gap: 12px; margin: 20px 0; }
.mobile-menu { display: flex; flex-direction: column; border-top: 1px solid var(--gray-200); }
.mobile-menu a {
  padding: 15px 0; border-bottom: 1px solid var(--gray-200);
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase; font-size: 18px; font-weight: 700;
}
.mobile-menu a:hover { color: var(--red); }

/* ============================================================
   SECTION LABEL & HEADING
   ============================================================ */
.section-label {
  display: inline-flex; align-items: center; gap: 12px;
  height: 42px; margin-bottom: 12px; padding: 0 16px;
  border-radius: 3px 14px 14px 3px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 23px; font-weight: 800; text-transform: uppercase;
}
.yellow-label { background: var(--yellow); color: #111827; }
.section-label b { font-size: 30px; line-height: 1; }

.section-heading {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 22px; border-bottom: 1px solid var(--gray-200);
}
.section-heading h2 {
  position: relative; margin: 0 0 -1px; padding-bottom: 10px;
  font-family: "Barlow Condensed", sans-serif;
  color: var(--red); font-size: 27px; line-height: 1; font-weight: 800; text-transform: uppercase;
}
.section-heading h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 112px; height: 2px; background: var(--red);
}
.section-heading a { margin-bottom: 10px; font-size: 11px; color: var(--gray-500); transition: .2s; }
.section-heading a:hover { color: var(--red); }

/* ============================================================
   HERO SECTION (Twój kod 1:1)
   ============================================================ */
.hero-section { padding-top: 36px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.07fr .93fr;
  gap: 17px;
}
.hero-card {
  position: relative; display: block;
  border-radius: 13px; overflow: hidden;
  background: #111827; box-shadow: var(--shadow-card);
}
.hero-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.hero-card:hover img { transform: scale(1.04); }
.hero-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top,rgba(0,0,0,.78) 0%,rgba(0,0,0,.44) 38%,rgba(0,0,0,.04) 75%);
  z-index: 1;
}
.hero-card-large { min-height: 460px; }

.hero-small-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 17px;
}
.hero-card-small { min-height: 221px; }

/* Placeholder SVG */
.kp-ph {
  width: 100%; height: 100%; display: block;
}
/* Absolute tylko wewnątrz hero-card i tourism-card które mają position:relative */
.hero-card .kp-ph,
.tourism-card .kp-ph {
  position: absolute; inset: 0;
}
.kp-ph--0 { background: linear-gradient(135deg,#1E3A5F,#1E40AF); }
.kp-ph--1 { background: linear-gradient(135deg,#14532D,#166534); }
.kp-ph--2 { background: linear-gradient(135deg,#4C1D95,#5B21B6); }
.kp-ph--3 { background: linear-gradient(135deg,#7C2D12,#9A3412); }
.kp-ph--4 { background: linear-gradient(135deg,#134E4A,#0F766E); }
.kp-ph--5 { background: linear-gradient(135deg,#1E1B4B,#3730A3); }
.kp-ph--6 { background: linear-gradient(135deg,#374151,#1F2937); }
.kp-ph--7 { background: linear-gradient(135deg,#3F1F00,#78350F); }
/* Card placeholder (not absolute) */
.kp-ph-card { width: 100%; height: 154px; display: block; }

.news-badge {
  position: absolute; left: 19px; bottom: 128px; z-index: 2;
  display: inline-flex; align-items: center;
  height: 23px; padding: 0 9px; border-radius: 3px;
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px; font-weight: 800; text-transform: uppercase;
}
.hero-card-small .news-badge { left: 15px; top: 83px; }
.news-badge.red    { background: var(--red); }
.news-badge.violet { background: #6d28d9; }
.news-badge.pink   { background: #db2777; }
.news-badge.green  { background: #16a34a; }

.hero-overlay {
  position: absolute; left: 25px; right: 25px; bottom: 24px;
  z-index: 2; color: var(--white);
}
.hero-card-large h1 {
  margin: 0; max-width: 640px;
  font-size: 34px; line-height: 1.08; letter-spacing: -.035em; font-weight: 800;
}
.hero-card-small .hero-overlay { left: 15px; right: 15px; bottom: 15px; }
.hero-card-small h2 {
  margin: 0; font-size: 21px; line-height: 1.08; letter-spacing: -.025em; font-weight: 800;
}
.hero-overlay p { margin: 12px 0 0; color: rgba(255,255,255,.84); font-size: 12px; font-weight: 600; }

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.content-section { padding-top: 58px; }

.section-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 304px;
  gap: 43px; align-items: start;
}

/* Cards grid — Bootstrap-like */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

/* NEWS CARD (Twój kod 1:1) */
.news-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 13px; overflow: hidden;
  box-shadow: 0 8px 18px rgba(15,23,42,.045);
  transition: .24s ease;
  display: block; /* cała karta klikalna */
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.news-card img,
.news-card .kp-ph-card { width: 100%; height: 154px; object-fit: cover; }
.news-card-body {
  position: relative; min-height: 105px;
  padding: 16px 43px 15px 16px;
}
.news-card h3 {
  margin: 0; font-size: 16px; line-height: 1.24; font-weight: 800; letter-spacing: -.025em;
  color: var(--gray-900); transition: color .2s;
}
.news-card:hover h3 { color: var(--red); }
.news-card p { margin: 14px 0 0; color: var(--gray-500); font-size: 11px; font-weight: 600; }
.card-arrow {
  position: absolute; right: 16px; bottom: 17px;
  color: var(--red); font-size: 25px; font-weight: 700; line-height: 1;
}

/* ── LATEST BOX (Twój kod 1:1) ── */
.latest-box {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 15px; padding: 26px 24px 24px;
  box-shadow: 0 8px 18px rgba(15,23,42,.045);
}
.latest-box h3 { margin: 0 0 19px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.latest-box ul { list-style: none; padding: 0; margin: 0; }
.latest-box li + li { margin-top: 15px; }
.latest-box li a {
  display: grid; grid-template-columns: 46px 1fr;
  gap: 8px; align-items: start;
}
.latest-box time { color: var(--red); font-size: 12px; font-weight: 800; }
.latest-box span { color: var(--gray-700); font-size: 12px; line-height: 1.35; font-weight: 600; }
.latest-box a:hover span { color: var(--red); }
.latest-button {
  display: grid; place-items: center;
  margin-top: 28px; height: 48px;
  border: 1px solid var(--gray-200); border-radius: 12px;
  color: var(--gray-700); font-size: 13px; font-weight: 700;
  transition: .2s;
}
.latest-button:hover { background: var(--yellow); border-color: var(--yellow); color: #111827; }

/* ============================================================
   TURYSTYKA (Twój kod 1:1)
   ============================================================ */
.tourism-section { padding-top: 58px; padding-bottom: 14px; }
.tourism-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-rows: repeat(2,232px);
  gap: 22px;
}
.tourism-card {
  position: relative; border-radius: 15px; overflow: hidden;
  background: #111827; box-shadow: var(--shadow-card);
}
.tourism-card-large { grid-row: span 2; }
.tourism-card a,
.tourism-card img { width: 100%; height: 100%; display: block; }
.tourism-card img { object-fit: cover; transition: transform .45s ease; }
.tourism-card:hover img { transform: scale(1.05); }
.tourism-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top,rgba(0,0,0,.76),rgba(0,0,0,.05));
}
.tourism-card > a > div,
.tourism-card-inner {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  z-index: 2; color: var(--white);
}
.tourism-card span.tc-badge {
  display: inline-block; margin-bottom: 8px;
  background: var(--yellow); color: #111827;
  padding: 4px 8px; border-radius: 4px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px; font-weight: 800; text-transform: uppercase;
}
.tourism-card h3 { margin: 0; font-size: 20px; line-height: 1.13; font-weight: 800; letter-spacing: -.03em; }
.tourism-card-large h3 { font-size: 30px; }

/* ============================================================
   FOOTER (Twój kod 1:1)
   ============================================================ */
.site-footer { margin-top: 62px; }
.footer-main {
  background:
    radial-gradient(circle at 25% 30%,rgba(255,255,255,.09),transparent 30%),
    linear-gradient(115deg,#d90429 0%,#a50f22 100%);
  color: var(--white); padding: 55px 0 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr .72fr .72fr .92fr;
  gap: 70px;
}
.footer-logo .logo-text strong,
.footer-logo .logo-text span { color: var(--white); }
.footer-brand p {
  max-width: 250px; margin: 18px 0 34px;
  font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.85);
}
.footer-socials { display: flex; gap: 18px; }
.footer-socials a { background: var(--white); color: var(--red); }
.footer-grid h4 {
  margin: 6px 0 18px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px; font-weight: 800; text-transform: uppercase;
}
.footer-grid a,
.footer-grid p {
  display: block; margin: 0 0 9px;
  color: rgba(255,255,255,.86); font-size: 13px; line-height: 1.45;
}
.footer-grid a:hover { color: var(--yellow); }
.footer-bottom { background: var(--yellow); color: #7c2d12; }
.footer-bottom-inner {
  min-height: 50px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px; font-size: 12px;
}
.footer-bottom-inner p { margin: 0; }

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-wrap {
  display: grid; grid-template-columns: minmax(0,1fr) 320px;
  gap: 43px; align-items: start;
  padding: 36px 0;
}
.single-art h1 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(28px,4vw,42px); font-weight: 800; line-height: 1.1;
  letter-spacing: -.03em; margin: 10px 0 14px;
}
.single-art .post-lead {
  font-size: 17px; font-weight: 500; color: var(--gray-700); line-height: 1.65; margin-bottom: 18px;
}
.single-metabar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  padding: 12px 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200);
  margin-bottom: 22px; font-size: 12px; color: var(--gray-500);
}
.single-metabar .author { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; color: var(--gray-900); }
.single-metabar .author img { width: 30px; height: 30px; border-radius: 50%; }
.single-feat { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 26px; }
.single-feat img { width: 100%; height: auto; object-fit: cover; }
.post-content { font-size: 16px; line-height: 1.82; color: var(--gray-700); }
.post-content p { margin-bottom: 18px; }
.post-content h2 { font-family: "Barlow Condensed",sans-serif; font-size: 26px; font-weight: 800; margin: 32px 0 10px; text-transform: uppercase; border-bottom: 2px solid var(--red); padding-bottom: 6px; }
.post-content h3 { font-size: 20px; font-weight: 700; margin: 24px 0 8px; }
.post-content a { color: var(--red); text-decoration: underline; }
.post-content blockquote { margin: 24px 0; padding: 16px 20px; border-left: 5px solid var(--yellow); background: var(--gray-50); font-style: italic; font-size: 17px; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.post-content ul, .post-content ol { padding-left: 22px; margin-bottom: 16px; }
.post-content li { margin-bottom: 6px; }
.post-content img { border-radius: var(--radius-lg); margin: 20px 0; }
.post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--gray-200); }
.post-tag { padding: 4px 12px; border-radius: 6px; font-size: 11px; font-weight: 600; background: var(--gray-100); border: 1px solid var(--gray-200); color: var(--gray-500); transition: .2s; }
.post-tag:hover { background: var(--yellow); border-color: var(--yellow-dark); color: var(--gray-900); }

/* Sidebar widget */
.kp-widget { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 24px; box-shadow: var(--shadow-card); }
.kp-widget__head {
  padding: 12px 16px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px; font-weight: 800; text-transform: uppercase;
  color: var(--white); background: var(--gray-900);
  border-bottom: 3px solid var(--yellow);
}
.kp-widget-item { display: flex; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--gray-200); align-items: flex-start; transition: background .15s; }
.kp-widget-item:last-child { border-bottom: none; }
.kp-widget-item:hover { background: var(--gray-50); }
.kp-widget-item img { width: 72px; height: 50px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.kp-widget-item h4 { margin: 0; font-size: 12.5px; font-weight: 700; line-height: 1.3; color: var(--gray-900); transition: color .15s; }
.kp-widget-item:hover h4 { color: var(--red); }
.kp-widget-item .meta { font-size: 10px; color: var(--gray-500); margin-top: 3px; }

/* ============================================================
   ARCHIVE / CATEGORY
   ============================================================ */
.cat-hero { background: var(--gray-900); color: var(--white); padding: 30px 0; }
.cat-hero h1 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 36px; font-weight: 800; text-transform: uppercase; color: var(--white); margin: 8px 0 0;
}
.cat-hero .count { font-size: 12px; color: var(--yellow); font-weight: 700; margin-top: 5px; }
.archive-wrap { padding: 36px 0; }
.archive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.kp-pag { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.kp-pag a, .kp-pag span {
  width: 38px; height: 38px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gray-200); background: var(--white);
  font-size: 13px; font-weight: 700; color: var(--gray-900); transition: .2s;
}
.kp-pag a:hover, .kp-pag .current { background: var(--red); border-color: var(--red); color: var(--white); }

/* ============================================================
   PAGE / 404
   ============================================================ */
.page-art { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 32px 36px; box-shadow: var(--shadow-card); }
.page-art h1 { font-family: "Barlow Condensed",sans-serif; font-size: 32px; font-weight: 800; text-transform: uppercase; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 3px solid var(--red); }
.err404 { max-width: 540px; margin: 52px auto; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 44px 28px; text-align: center; box-shadow: var(--shadow-card); }

/* ============================================================
   SCROLL TOP
   ============================================================ */
.scroll-top {
  position: fixed; bottom: 22px; right: 22px;
  width: 42px; height: 42px; border-radius: 999px;
  background: var(--red); color: var(--white);
  border: none; cursor: pointer; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(220,38,38,.35);
  opacity: 0; pointer-events: none; transition: .2s; z-index: 90;
}
.scroll-top.show { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--red-dark); transform: translateY(-2px); }

/* ============================================================
   RESPONSIVE (Twój kod 1:1)
   ============================================================ */
@media (max-width: 1180px) {
  .header-main-inner { grid-template-columns: 210px minmax(240px,360px) auto; column-gap: 34px; }
  .nav-inner { gap: 24px; }
  .section-layout { grid-template-columns: minmax(0,1fr) 280px; gap: 28px; }
  .footer-grid { gap: 40px; }
}

@media (max-width: 980px) {
  .kp-container { width: min(100% - 32px, var(--container)); }
  .header-main-inner { height: 74px; grid-template-columns: 1fr auto; }
  .search-box, .header-socials, .main-nav { display: none; }
  .hamburger { display: block; }
  .info-left { gap: 16px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card-large { min-height: 420px; }
  .hero-card-small { min-height: 230px; }
  .section-layout { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2,1fr); }
  .tourism-grid { grid-template-columns: repeat(2,1fr); grid-template-rows: none; }
  .tourism-card, .tourism-card-large { height: 260px; grid-row: auto; }
  .footer-grid { grid-template-columns: repeat(2,1fr); gap: 36px; }
  .single-wrap { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 640px) {
  body { background: var(--white); }
  .kp-container { width: min(100% - 24px, var(--container)); }
  .header-main-inner { height: auto; padding: 13px 0 12px; }
  .info-strip-inner { height: 38px; font-size: 10px; }
  .info-left span:nth-child(2) { display: none; }
  .hero-section { padding-top: 20px; }
  .section-label { height: 36px; font-size: 19px; margin-bottom: 10px; }
  .hero-card-large { min-height: 340px; }
  .hero-card-large h1 { font-size: 27px; }
  .hero-small-grid { display: flex; flex-direction: column; gap: 12px; }
  .hero-card-small {
    min-height: 96px; display: grid; grid-template-columns: 112px 1fr;
    background: var(--white); border: 1px solid var(--gray-200); box-shadow: none;
  }
  .hero-card-small::after { display: none; }
  .hero-card-small img { height: 96px; }
  .hero-card-small .news-badge { display: none; }
  .hero-card-small .hero-overlay { position: static; color: var(--gray-900); padding: 12px; align-self: center; }
  .hero-card-small h2 { font-size: 15px; line-height: 1.25; }
  .hero-card-small .hero-overlay p { color: var(--gray-500); margin-top: 6px; font-size: 10px; }
  .content-section, .tourism-section { padding-top: 40px; }
  .section-heading { margin-bottom: 18px; }
  .section-heading h2 { font-size: 23px; }
  .cards-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .news-card { border-radius: 10px; }
  .news-card img, .news-card .kp-ph-card { height: 112px; }
  .news-card-body { min-height: 92px; padding: 10px 24px 11px 10px; }
  .news-card h3 { font-size: 12px; line-height: 1.25; }
  .news-card p { margin-top: 8px; font-size: 9px; }
  .card-arrow { right: 9px; bottom: 12px; font-size: 19px; }
  .latest-box { display: none; }
  .tourism-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .tourism-card, .tourism-card-large { height: 160px; }
  .tourism-card-large { grid-column: span 2; height: 240px; }
  .tourism-card > a > div { left: 12px; right: 12px; bottom: 12px; }
  .tourism-card h3, .tourism-card-large h3 { font-size: 15px; }
  .tourism-card-large h3 { font-size: 23px; }
  .footer-main { padding: 38px 0 42px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom-inner { min-height: 64px; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; }
  .archive-grid { grid-template-columns: 1fr; }
  .page-art { padding: 20px 16px; }
}

@media (max-width: 400px) {
  .cards-grid { grid-template-columns: 1fr; }
  .news-card img, .news-card .kp-ph-card { height: 170px; }
}

/* ── Utils ── */
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
