/* ==========================================================================
   terrariumdla.pl: arkusz główny
   Statyczny HTML, bez frameworka. Paleta: 2 akcenty (miętowy + szmaragdowy).
   ========================================================================== */

:root {
  --mint: #98FB98;
  --emerald: #50C878;
  --bg: #16181A;
  --surface: #1E2023;
  --surface-hover: #26292D;
  --border: #2E3237;
  --text: #E8EAE6;
  --text-dim: #9AA0A0;
  --radius: 10px;
  --maxw: 1720px;
}

/* --- Fonty własne (folder assets/fonts/) --- */
@font-face {
  font-family: 'Karla'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('/assets/fonts/Karla-Variable.ttf') format('truetype-variations');
}
@font-face {
  font-family: 'Karla'; font-style: italic; font-weight: 200 800; font-display: swap;
  src: url('/assets/fonts/Karla-Italic-Variable.ttf') format('truetype-variations');
}
@font-face {
  font-family: 'Fragment Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/FragmentMono-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Fragment Mono'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/FragmentMono-Italic.ttf') format('truetype');
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/Fraunces-Variable.ttf') format('truetype-variations');
}
@font-face {
  font-family: 'Fraunces'; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/Fraunces-Italic-Variable.ttf') format('truetype-variations');
}

/* --- Reset --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; zoom: .8; }
body {
  background: var(--bg);
  color: var(--text);
  font: 18px/1.65 'Karla', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--mint); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 400; font-family: 'Fraunces', Georgia, serif; }
p { margin: 0; }
.mono, .tag, .count, .callout-label, .post .meta, .btn {
  font-family: 'Fragment Mono', ui-monospace, Menlo, monospace;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- HEADER ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(22, 24, 26, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.hrow { position: relative; display: flex; align-items: center; gap: 27px; min-height: 180px; flex-wrap: wrap; padding: 17px 0; }
.logo { font-size: 54px; font-weight: 700; color: var(--text); letter-spacing: -.3px; white-space: nowrap; }
.logo span { color: var(--emerald); }
.logo:hover { text-decoration: none; }
nav ul { display: flex; gap: 29px; list-style: none; flex-wrap: wrap; }
nav a { color: var(--text-dim); font-size: 23px; font-weight: 500; padding: 8px 0; position: relative; }
nav a:hover { color: var(--mint); text-decoration: none; }
nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--emerald); transform: scaleX(0); transition: transform .15s;
}
nav a:hover::after { transform: scaleX(1); }
.search {
  /* position: absolute so expanding on hover never resizes the flex line
     (in-flow growth was pushing nav past the wrap threshold and causing
     the header, and everything below it, to flicker between layouts) */
  position: absolute; top: 50%; right: 92px; transform: translateY(-50%);
  font-family: inherit; font-size: 16px; z-index: 5;
  width: 42px; height: 42px; padding: 0;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AA0A0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat center / 18px;
  border: 1px solid var(--border); border-radius: 50%;
  color: transparent; cursor: pointer;
  transition: width .3s ease, border-radius .3s ease, background-position .3s ease, border-color .15s;
}
.search::placeholder { color: transparent; transition: color .2s ease; }
/* Rozwijanie na dotyk wiążemy wyłącznie z :focus. Samo :hover na ekranach
   dotykowych bywa "symulowane" przez przeglądarkę przy stuknięciu i potrafi
   znikać w trakcie animacji szerokości, przez co pole rozwija się i od razu
   się chowa. :focus nie ma tego problemu, bo trwa, dopóki pole faktycznie
   ma fokus. */
.search:focus {
  width: 240px; padding: 0 18px 0 42px; border-radius: 8px;
  background-position: 14px center;
  color: var(--text); border-color: var(--emerald); cursor: text;
  outline: none;
}
.search:focus::placeholder { color: var(--text-dim); }
@media (hover: hover) and (pointer: fine) {
  /* Prawdziwy hover myszką: tylko na urządzeniach, które go faktycznie mają. */
  .search:hover {
    width: 240px; padding: 0 18px 0 42px; border-radius: 8px;
    background-position: 14px center;
    color: var(--text); border-color: var(--emerald); cursor: text;
  }
  .search:hover::placeholder { color: var(--text-dim); }
}
.logo-mark {
  margin-left: auto;
  display: flex; align-items: center; justify-content: center;
  width: 65px; height: 65px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  flex-shrink: 0; transition: border-color .15s, transform .15s;
}
.logo-mark:hover { border-color: var(--emerald); transform: scale(1.06); }
.logo-mark img { width: 36px; height: 36px; }
@media (max-width: 900px) {
  .hrow { min-height: 0; padding: 14px 0; gap: 16px; }
  .logo { font-size: 30px; }
  /* Nav i jego <ul> tracą własne pudełka: <li> stają się bezpośrednimi
     elementami .hrow i zawijają się razem z resztą (logo, lupa, avatar)
     w jednym strumieniu flex. Dzięki temu lupa nie unosi się nad tekstem
     linków, tylko płynie w tekście i ląduje obok ostatniego linku (Żaby). */
  nav, nav ul { display: contents; }
  .hrow li { list-style: none; }
  nav a { font-size: 15px; }
  .search {
    position: static; top: auto; right: auto; transform: none;
    width: 36px; height: 36px; font-size: 14px;
  }
  .search:focus { width: 170px; padding: 0 14px 0 34px; }
  .logo-mark { width: 40px; height: 40px; }
  .logo-mark img { width: 22px; height: 22px; }
}
@media (max-width: 900px) and (hover: hover) and (pointer: fine) {
  /* Wąskie okno na desktopie z myszką (nie telefon) - hover ma dalej działać. */
  .search:hover { width: 170px; padding: 0 14px 0 34px; }
}

/* ---------- BREADCRUMBS (podstrony wewnętrzne) ---------- */
.breadcrumbs {
  font-size: 13px;
  color: var(--text-dim);
  margin: 22px 0 6px;
  display: none;
}
.breadcrumbs a { color: var(--text-dim); }
.breadcrumbs a:hover { color: var(--mint); }

/* ---------- HERO (zdjęcie above-the-fold + logotyp z rotatorem) ---------- */
.hero-photo {
  position: relative;
  min-height: 54.4vh;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-photo-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 38% 42%; z-index: 0;
}
.hero-photo::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(22,24,26,.15) 0%, rgba(22,24,26,.55) 65%, rgba(22,24,26,.82) 100%);
}
.hero-photo-inner {
  position: relative; z-index: 2;
  padding: 40px 24px 96px 4vw;
  width: 100%;
}
.hero-tagline {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: clamp(54px, 8.8vw, 116px);
  line-height: 1.1;
  letter-spacing: -.5px;
  color: var(--text);
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.hero-tagline .rotator {
  display: inline-block; position: relative;
  min-width: 10ch; height: 1.05em; overflow: visible; vertical-align: bottom;
  color: var(--mint); font-family: inherit; font-weight: 700;
}
.hero-tagline .rotator span {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  opacity: 0;
  animation-duration: 1.8s; animation-timing-function: ease; animation-fill-mode: both;
  animation-iteration-count: 1;
}
.hero-tagline .rotator span:nth-child(1) { animation-name: hero-word-first; animation-delay: 0s; }
.hero-tagline .rotator span:nth-child(2) { animation-name: hero-word-mid; animation-delay: 1.8s; }
.hero-tagline .rotator span:nth-child(3) { animation-name: hero-word-mid; animation-delay: 3.6s; }
.hero-tagline .rotator span:nth-child(4) { animation-name: hero-word-mid; animation-delay: 5.4s; }
.hero-tagline .rotator span:nth-child(5) { animation-name: hero-word-mid; animation-delay: 7.2s; }
.hero-tagline .rotator span:nth-child(6) { animation-name: hero-word-mid; animation-delay: 9s; }
.hero-tagline .rotator span:nth-child(7) { animation-name: hero-word-mid; animation-delay: 10.8s; }
.hero-tagline .rotator span:nth-child(8) { animation-name: hero-word-last; animation-delay: 12.6s; }
@keyframes hero-word-first {
  0% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes hero-word-mid {
  0% { opacity: 0; }
  15% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes hero-word-last {
  0% { opacity: 0; }
  15% { opacity: 1; }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-tagline .rotator span { animation: none; }
  .hero-tagline .rotator span:first-child { opacity: 0; }
  .hero-tagline .rotator span:last-child { opacity: 1; }
}
@media (max-width: 700px) {
  .hero-photo { min-height: 49.3vh; }
  .hero-photo-inner { padding-left: 20px; padding-bottom: 56px; }
}

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 650;
  font-size: 15px; border: 1px solid transparent; transition: .15s; cursor: pointer;
}
.btn-primary { background: var(--emerald); color: #0C1410; }
.btn-primary:hover { background: var(--mint); text-decoration: none; }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-ghost:hover { background: var(--surface-hover); border-color: var(--emerald); text-decoration: none; }

.tag {
  font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 20px; white-space: nowrap;
  text-transform: uppercase; letter-spacing: .4px;
}
.t-easy { background: rgba(152, 251, 152, .16); color: var(--mint); }
.t-mid { background: rgba(80, 200, 120, .16); color: var(--emerald); }
.t-hard { background: rgba(154, 160, 160, .14); color: var(--text-dim); }

/* ---------- MINI-KARTY (kompaktowe bloki tematyczne, bez linku) ---------- */
.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.mini-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.mini-card .ico { font-size: 22px; line-height: 1; margin-bottom: 9px; display: block; filter: saturate(.75); }
.mini-card h3 { font-size: 15px; font-weight: 650; margin-bottom: 5px; }
.mini-card p { color: var(--text-dim); font-size: 13.5px; line-height: 1.5; }

/* ---------- SECTION ---------- */
section { padding: 56px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 26px; gap: 20px; flex-wrap: wrap; }
.sec-head h2 { font-size: 28px; letter-spacing: -.3px; font-weight: 400; }
.sec-head p { color: var(--text-dim); font-size: 17px; margin-top: 5px; }
.sec-head a { font-size: 14px; font-weight: 600; white-space: nowrap; font-family: 'Fragment Mono', monospace; }

/* ---------- INTRO (tekst o serwisie pod zdjeciem hero) ---------- */
/* zawężone i wyśrodkowane na tle strony, żeby tekst nie ciągnął się od krawędzi do krawędzi .wrap (na życzenie Wojciecha) */
.intro-text { max-width: 1027px; margin: 0 auto; } /* 800px + 3cm z każdej strony (1cm = 37.8px przy 96dpi) */
.intro-text p {
  color: var(--text-dim);
  font-size: clamp(20px, 2.1vw, 34px);
  line-height: 1.6;
  text-align: justify;
  hyphens: auto;
}
.intro-text p.text-mint { color: var(--mint); }
.intro-text p.intro-note { text-align: center; margin-top: 28px; }
@media (max-width: 700px) {
  .intro-text p { font-size: 18px; line-height: 1.75; text-align: left; hyphens: none; }
  .intro-text p.intro-note { text-align: center; }
}

/* ---------- CATEGORY GRID ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; transition: .15s; display: block; color: var(--text);
}
.cat:hover { background: var(--surface-hover); border-color: var(--emerald); text-decoration: none; transform: translateY(-2px); }
.cat .ico { font-size: 24px; line-height: 1; margin-bottom: 12px; display: block; filter: saturate(.75); }
.cat h3 { font-size: 16.5px; font-weight: 650; margin-bottom: 5px; }
.cat p { color: var(--text-dim); font-size: 13.5px; line-height: 1.5; }
.cat .count { color: var(--emerald); font-size: 12px; font-weight: 650; margin-top: 10px; display: block; }

/* ---------- KAFELEK GATUNKU (zdjęcie + nazwa, hub rodziny) ---------- */
.species-tiles { display: flex; flex-wrap: wrap; gap: 22px; margin: 1.8rem 0; }
.species-tile { display: block; width: 200px; color: var(--text); }
.species-tile img {
  display: block; width: 100%; height: 150px; object-fit: cover;
  border: 3px solid var(--emerald); border-radius: var(--radius); transition: border-color .15s, transform .15s;
}
.species-tile:hover img { border-color: var(--mint); transform: translateY(-2px); }
.species-tile .species-tile-name {
  display: block; margin-top: 10px; font-size: 15px; font-weight: 650;
  text-align: center; color: var(--text); transition: color .15s;
}
.species-tile:hover .species-tile-name { color: var(--mint); text-decoration: none; }

/* ---------- SPECIES PHOTO (zdjęcie hero na filarze gatunku) ---------- */
.species-photo { margin: 1.6rem 0 2.4rem; text-align: center; }
.species-photo img {
  display: inline-block; max-width: 640px; width: 100%; height: auto;
  border: 3px solid var(--emerald); border-radius: var(--radius);
}
.species-photo figcaption {
  margin-top: 12px; font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; color: var(--text-dim);
}

/* ---------- PASEK TRUDNOŚCI HODOWLI (filar gatunku) ---------- */
.difficulty { margin: -1rem 0 1.8rem; }
.difficulty-label {
  display: block; font-family: 'Fragment Mono', monospace; font-size: 13.2px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .6px; color: var(--text-dim); margin-bottom: 8px;
}
.difficulty-bars { display: flex; gap: 6px; max-width: 260px; }
.difficulty-bar { flex: 1; height: 10px; border-radius: 4px; background: var(--surface); border: 1px solid var(--border); }
.difficulty-bar.filled { background: var(--emerald); border-color: var(--emerald); }

/* ---------- COMPARISON TABLE ---------- */
.table-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.compare-table thead th {
  background: #191B1E; text-align: left; padding: 13px 16px; font-size: 12px;
  text-transform: uppercase; letter-spacing: .7px; color: var(--text-dim); font-weight: 700;
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.compare-table tbody td { padding: 13px 16px; border-bottom: 1px solid rgba(46, 50, 55, .55); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr { transition: background .12s; }
.compare-table tbody tr:hover { background: var(--surface-hover); }
.compare-table tbody td:first-child { font-weight: 600; }
.compare-table tbody td:first-child a { color: var(--text); }
.compare-table tbody tr:hover td:first-child a { color: var(--mint); }
.num { color: var(--mint); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- KARTY OGÓLNE (problemy / opieka / observacje) ---------- */
.probs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.prob {
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--emerald);
  border-radius: 8px; padding: 17px 19px; transition: .15s; display: block; color: var(--text);
}
.prob:hover { background: var(--surface-hover); border-left-color: var(--mint); text-decoration: none; }
.prob h4 { font-size: 15.5px; font-weight: 650; margin-bottom: 6px; }
.prob p { color: var(--text-dim); font-size: 13.5px; line-height: 1.5; }

/* ---------- BLOG / DZIENNIK ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: .15s; display: block; color: var(--text); }
.post:hover { background: var(--surface-hover); border-color: var(--emerald); text-decoration: none; }
.thumb { height: 132px; background: linear-gradient(135deg, #1F2724, #182420); border-bottom: 1px solid var(--border); position: relative; }
.thumb::after {
  content: attr(data-ico); position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; font-size: 38px; opacity: .5;
}
/* Wariant karty dla wpisu, który nie ma jeszcze swojej podstrony. Ten sam
   kształt co .post, ale bez zachowania linku: kursor domyślny i wyłączony
   hover, żeby karta nie obiecywała kliknięcia prowadzącego do 404. */
.post.soon { cursor: default; }
.post.soon:hover { background: var(--surface); border-color: var(--border); }
.post.soon .meta { color: var(--text-dim); }
.soon-flag {
  display: inline-block; margin-top: 13px; padding: 3px 11px;
  border: 1px solid var(--border); border-radius: 999px;
  color: var(--emerald); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
}

.post .body { padding: 16px 18px 19px; }
.post .meta { color: var(--emerald); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.post h3 { font-size: 19px; font-weight: 650; margin: 8px 0 7px; line-height: 1.35; }
.post p { color: var(--text-dim); font-size: 15.5px; line-height: 1.55; }

/* ---------- PASEK / STRIP (info, nie sprzedaż) ---------- */
.strip {
  background: linear-gradient(120deg, rgba(80, 200, 120, .10), rgba(152, 251, 152, .04));
  border: 1px solid var(--border); border-radius: 12px; padding: 34px 38px;
  display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap;
}
.strip h2 { font-size: 23px; letter-spacing: -.4px; margin-bottom: 7px; }
.strip p { color: var(--text-dim); font-size: 15px; max-width: 560px; }

/* ---------- CALLOUT (dziennik/obserwacja) ---------- */
.callout {
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--mint);
  border-radius: 8px; padding: 16px 20px; margin: 1.5rem 0;
}
.callout p { color: var(--text); font-size: 14.5px; line-height: 1.6; }
.callout .callout-label { color: var(--mint); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; display: block; margin-bottom: 6px; }

/* ---------- FAQ (rozwijane pytania) ---------- */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  padding: 4px 20px;
}
.faq summary {
  cursor: pointer; padding: 16px 0; font-weight: 650; font-size: 18px; color: var(--text);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; color: var(--emerald); font-size: 22px; font-weight: 400; flex-shrink: 0;
}
.faq details[open] summary::after { content: '\2212'; }
.faq details[open] summary { color: var(--mint); }
.faq details p { color: var(--text-dim); font-size: 16.5px; line-height: 1.6; padding-bottom: 16px; margin: 0; }

/* ---------- FOOTER ---------- */
footer { border-top: 1px solid var(--border); margin-top: 20px; padding: 48px 0 34px; background: #131517; }
.fcols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 34px; }
footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .9px; color: var(--emerald); margin-bottom: 14px; font-weight: 700; }
footer ul { list-style: none; }
footer li { margin-bottom: 9px; }
footer li a { color: var(--text-dim); font-size: 15.5px; }
.fanimals { display: flex; gap: 24px; }
footer li a:hover { color: var(--mint); }
.flogo { display: inline-block; line-height: 0; }
.flogo img { display: block; width: 140px; height: auto; }
.flogo:hover { opacity: .82; }
.fbottom {
  border-top: 1px solid var(--border); margin-top: 36px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: #6E7474; font-size: 13px;
}

/* ---------- ARTYKUŁ (podstrony gatunkowe / poradniki) ---------- */
/* zawężone i wyśrodkowane na tle strony, żeby tekst nie ciągnął się od krawędzi do krawędzi .wrap (na życzenie Wojciecha) */
article { max-width: 1027px; margin: 0 auto; } /* 800px + 3cm z każdej strony (1cm = 37.8px przy 96dpi) */
article h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--mint); margin-top: 2.5rem; margin-bottom: .75rem; }
article h3 { font-size: 1.2rem; color: var(--text); margin-top: 1.75rem; margin-bottom: .5rem; }
article h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--text); margin-bottom: .75rem; }
article p { margin-bottom: 1rem; color: var(--text); line-height: 1.7; }
article ul, article ol { padding-left: 1.25rem; margin-bottom: 1rem; }
article li { margin-bottom: .4rem; }
.see-also { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin: 2.5rem 0; }
.see-also h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--emerald); margin-bottom: 10px; }
.see-also ul { display: flex; flex-direction: column; gap: 6px; }

/* ---------- RESPONSYWNOŚĆ ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .probs, .posts { grid-template-columns: 1fr 1fr; }
  .fcols { grid-template-columns: 1fr 1fr; }
  nav ul { gap: 16px; }
}
@media (max-width: 640px) {
  .hrow { height: auto; flex-wrap: wrap; padding: 12px 0; gap: 12px; }
  .cats, .probs, .posts, .fcols { grid-template-columns: 1fr; }
  .table-wrap { overflow-x: auto; }
}

/* --- Utility --- */
.text-dim { color: var(--text-dim); }
.text-mint { color: var(--mint); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
