/*
Theme Name: Koralowe Archiwum
Theme URI: https://fax.org.pl
Author: AA
Version: 1.0.0
Text Domain: aa-faxorg-archiwum
*/
/* =========================================================
   fax.org.pl — Katalog przydatnych stron internetowych
   Arkusz wspólny. Paleta: biel + morski teal + koral.
   Mobile-first, samowystarczalny (fonty systemowe, SVG inline).
   ========================================================= */

:root {
  /* --- Kolory bazowe --- */
  --teal-900: #073E3D;
  --teal-800: #0A5150;
  --teal-700: #0C6B69;
  --teal-600: #0E8483;
  --teal-500: #14A6A2;
  --teal-100: #D6F0EE;
  --teal-050: #EEF9F8;

  --coral-700: #C5422F; /* WCAG AA: na tle --coral-050 odcien #C7432F dawal 4.46 przy wymaganych 4.5 */
  --coral-600: #E0553F;
  --coral-500: #FF6B54;
  --coral-200: #FFD3C8;
  --coral-050: #FFF1ED;

  --ink: #12302E;
  --muted: #4E6B69;
  --line: #DDE9E7;

  --bg: #FFFFFF;
  --surface: #F4FAF9;
  --surface-2: #EAF4F3;
  --white: #FFFFFF;

  /* --- Role --- */
  --brand: var(--teal-700);
  --brand-strong: var(--teal-900);
  --accent: var(--coral-500);
  --accent-strong: var(--coral-700);
  --link: var(--teal-800);

  /* --- Skala / promienie / cienie --- */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(7, 62, 61, .06), 0 2px 6px rgba(7, 62, 61, .05);
  --shadow: 0 6px 18px rgba(7, 62, 61, .09), 0 2px 6px rgba(7, 62, 61, .05);
  --shadow-lg: 0 18px 46px rgba(7, 62, 61, .16);

  --maxw: 1200px;
  --gap: clamp(1rem, 2.5vw, 1.75rem);
  --ease: cubic-bezier(.4, .12, .16, 1);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
}

/* =========================================================
   Reset lekki
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 520px at 82% -8%, var(--teal-050), transparent 60%),
    radial-gradient(900px 480px at -10% 4%, var(--coral-050), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--link); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
a:hover { color: var(--accent-strong); }
h1, h2, h3, h4 { line-height: 1.18; color: var(--brand-strong); font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }

/* =========================================================
   Dostępność
   ========================================================= */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  background: var(--brand-strong);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* =========================================================
   Layout pomocniczy
   ========================================================= */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

/* =========================================================
   Nagłówek + nawigacja
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  font-weight: 800; font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem);
  color: var(--brand-strong); text-decoration: none;
  letter-spacing: -.02em;
}
.brand:hover { color: var(--brand); }
.brand__mark {
  flex: 0 0 auto; width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-800));
  box-shadow: var(--shadow-sm);
}
.brand__mark svg { width: 22px; height: 22px; }
.brand small { display: block; font-weight: 600; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-600); }

/* Nawigacja */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: inline-flex; align-items: center; gap: .5rem;
  cursor: pointer; user-select: none;
  padding: .55rem .8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-weight: 700; color: var(--brand-strong);
  box-shadow: var(--shadow-sm);
}
.nav-toggle-label .bars { position: relative; width: 20px; height: 14px; }
.nav-toggle-label .bars span,
.nav-toggle-label .bars::before,
.nav-toggle-label .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2.4px;
  background: var(--brand-strong); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle-label .bars::before { top: 0; }
.nav-toggle-label .bars span { top: 50%; transform: translateY(-50%); }
.nav-toggle-label .bars::after { bottom: 0; }

.primary-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: .25rem;
}
.primary-nav a {
  display: inline-block;
  padding: .5rem .85rem;
  border-radius: 999px;
  font-weight: 700; font-size: .95rem;
  color: var(--ink); text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: var(--teal-050);
  color: var(--brand);
}
.primary-nav a[aria-current="page"] { box-shadow: inset 0 0 0 1.5px var(--teal-100); }

/* Mobilne menu */
@media (max-width: 860px) {
  .nav-toggle-label { display: inline-flex; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: 0; overflow: hidden;
    transition: max-height .3s var(--ease);
  }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem clamp(1rem, 4vw, 2rem) 1.1rem; }
  .primary-nav a { padding: .8rem .9rem; border-radius: var(--radius-sm); font-size: 1.05rem; }
  .primary-nav li + li { border-top: 1px solid var(--surface-2); }
  .nav-toggle:checked ~ .primary-nav { max-height: 60vh; }
  .nav-toggle:checked ~ .nav-toggle-label .bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label .bars span { opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-label .bars::after { transform: translateY(-5px) rotate(-45deg); }
  .site-header__inner { position: relative; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  color: #EAFBF9;
  background:
    radial-gradient(700px 340px at 88% 12%, rgba(255,107,84,.30), transparent 62%),
    linear-gradient(150deg, var(--teal-800) 0%, var(--teal-900) 62%, #052E2D 100%);
}
.hero__inner {
  display: grid; gap: clamp(1.5rem, 4vw, 2.5rem);
  grid-template-columns: 1fr;
  align-items: center;
  padding-block: clamp(2.75rem, 7vw, 5rem);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: #BFF3EE;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  padding: .45rem .85rem; border-radius: 999px;
  width: fit-content;
}
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral-500); box-shadow: 0 0 0 4px rgba(255,107,84,.3); }
.hero h1 {
  color: #FFFFFF;
  font-size: clamp(2rem, 1.3rem + 3.6vw, 3.4rem);
  margin: 1rem 0 0;
  letter-spacing: -.02em; line-height: 1.08;
}
.hero h1 .accent { color: var(--coral-500); }
.hero__lead {
  margin: 1.1rem 0 0; max-width: 46ch;
  font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem);
  color: #CCEEEA;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.25rem; margin-top: 2rem;
  padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.14);
}
.hero__stat b { display: block; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); color: #fff; letter-spacing: -.02em; }
.hero__stat span { font-size: .85rem; color: #A8DDD8; font-weight: 600; }

/* =========================================================
   Przyciski
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font: inherit; font-weight: 800;
  padding: .8rem 1.35rem;
  border-radius: 999px;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .18s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral-500); color: #33110B; box-shadow: 0 8px 20px rgba(255,107,84,.35); }
.btn-primary:hover { background: #FF7C67; color: #33110B; }
.btn-ghost { background: rgba(255,255,255,.06); color: #EAFBF9; border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-outline { background: var(--white); color: var(--brand); border-color: var(--teal-100); box-shadow: var(--shadow-sm); }
.btn-outline:hover { color: var(--accent-strong); border-color: var(--coral-200); }

/* =========================================================
   Nagłówki sekcji
   ========================================================= */
.section-head { margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.section-head .kicker {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-strong);
  margin-bottom: .5rem;
}
.section-head h2 { font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.25rem); margin: 0; }
.section-head p { color: var(--muted); margin: .6rem 0 0; max-width: 60ch; }

/* =========================================================
   Główny układ: treść + sidebar
   ========================================================= */
.layout {
  display: grid; gap: clamp(1.75rem, 4vw, 2.75rem);
  grid-template-columns: 1fr;
}
@media (min-width: 1000px) {
  .layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
  .layout__aside { position: sticky; top: 88px; }
}

/* =========================================================
   Karty wpisów
   ========================================================= */
.card-grid {
  display: grid; gap: var(--gap);
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) and (max-width: 1219px) { .card-grid { grid-template-columns: 1fr; } }
@media (min-width: 1220px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }

.card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal-100); }
.card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.card__media svg { width: 100%; height: 100%; }
.card__media .media-caption {
  position: absolute; left: 10px; bottom: 10px;
  font-size: .68rem; font-weight: 700; letter-spacing: .02em;
  color: #063a39; background: rgba(255,255,255,.86);
  padding: .25rem .55rem; border-radius: 999px;
  backdrop-filter: blur(2px);
}
.card__body { display: flex; flex-direction: column; gap: .65rem; padding: 1.15rem 1.25rem 1.35rem; flex: 1; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .8rem; color: var(--muted); }
.card__title { font-size: 1.2rem; margin: 0; line-height: 1.25; }
.card__title a { color: var(--brand-strong); text-decoration: none; }
.card__title a:hover { color: var(--accent-strong); }
.card__excerpt { margin: 0; color: var(--muted); font-size: .96rem; }
.card__foot { margin-top: auto; padding-top: .35rem; display: flex; align-items: center; justify-content: space-between; }

/* Chip kategorii */
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .76rem; font-weight: 800; letter-spacing: .02em;
  padding: .32rem .7rem; border-radius: 999px;
  text-decoration: none;
}
.chip--cat { background: var(--teal-050); color: var(--teal-800); border: 1px solid var(--teal-100); }
.chip--cat:hover { background: var(--teal-100); color: var(--teal-900); }
.chip--coral { background: var(--coral-050); color: var(--coral-700); border: 1px solid var(--coral-200); }
.chip .ico { width: 12px; height: 12px; }

.readmore {
  display: inline-flex; align-items: center; gap: .35rem;
  font-weight: 800; font-size: .9rem; text-decoration: none;
  color: var(--accent-strong);
}
.readmore svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.readmore:hover svg { transform: translateX(3px); }
.dot-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--teal-100); }

/* =========================================================
   Sidebar / widgety
   ========================================================= */
.widget {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.25rem 1.4rem;
}
.widget + .widget { margin-top: 1.25rem; }
.widget__title {
  font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-800);
  margin: 0 0 .9rem; padding-bottom: .7rem;
  border-bottom: 2px solid var(--teal-050);
  display: flex; align-items: center; gap: .5rem;
}
.widget__title::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--coral-500); }

/* Wyszukiwarka */
.search { display: flex; gap: .5rem; }
.search input[type="search"] {
  flex: 1; min-width: 0; font: inherit;
  padding: .65rem .85rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink);
}
.search input::placeholder { color: #8AA5A2; }
.search input:focus-visible { border-color: var(--teal-500); outline-offset: 0; }
.search button {
  flex: 0 0 auto; border: none; cursor: pointer;
  padding: 0 .85rem; border-radius: var(--radius-sm);
  background: var(--teal-700); color: #fff;
  display: grid; place-items: center;
}
.search button:hover { background: var(--teal-800); }
.search button svg { width: 18px; height: 18px; }

/* Lista kategorii */
.cat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.cat-list a {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .55rem .7rem; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--ink); font-weight: 700;
  transition: background .2s var(--ease);
}
.cat-list a:hover { background: var(--teal-050); color: var(--brand); }
.cat-list .count { font-size: .78rem; font-weight: 800; color: var(--teal-800); background: var(--teal-050); border: 1px solid var(--teal-100); padding: .1rem .5rem; border-radius: 999px; }

/* Reklama */
.ad {
  display: block; text-decoration: none;
  border-radius: var(--radius-sm); overflow: hidden;
  border: 1px dashed var(--teal-100);
}
.ad svg { width: 100%; height: auto; }

/* Indeks wpisów (chipy/kolumny) */
.index-block {
  background: linear-gradient(180deg, var(--surface), var(--white));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.index-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .index-list { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } }
.index-list a {
  display: flex; align-items: baseline; gap: .6rem;
  padding: .6rem .25rem; border-bottom: 1px solid var(--surface-2);
  text-decoration: none; color: var(--ink); font-weight: 600;
}
.index-list a:hover { color: var(--accent-strong); }
.index-list a .idx { flex: 0 0 auto; font-size: .78rem; font-weight: 800; color: var(--teal-500); font-variant-numeric: tabular-nums; }
.index-list a .idx-date { margin-left: auto; font-size: .78rem; color: var(--muted); font-weight: 600; white-space: nowrap; }

/* =========================================================
   Artykuł / podstrona
   ========================================================= */
.article-head {
  position: relative; overflow: hidden;
  background:
    radial-gradient(600px 260px at 90% 0%, rgba(255,107,84,.20), transparent 60%),
    linear-gradient(160deg, var(--teal-800), var(--teal-900));
  color: #EAFBF9;
}
.article-head__inner { padding-block: clamp(2rem, 5vw, 3.25rem); }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; font-size: .82rem; }
.breadcrumb li { display: flex; align-items: center; gap: .4rem; color: #A8DDD8; }
.breadcrumb a { color: #CFF1EE; text-decoration: none; font-weight: 700; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: #5C918D; }
.article-head h1 { color: #fff; font-size: clamp(1.8rem, 1.3rem + 2.4vw, 2.9rem); margin: 0; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: 1.1rem; font-size: .88rem; color: #BFE9E5; }
.article-meta .avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--coral-500), var(--coral-700));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .8rem;
}
.article-meta .item { display: inline-flex; align-items: center; gap: .4rem; }
.article-meta svg { width: 15px; height: 15px; opacity: .85; }

.prose { font-size: clamp(1.02rem, 1rem + .25vw, 1.12rem); color: #24403E; }
.prose > p:first-of-type::first-letter {
  float: left; font-size: 3.4em; line-height: .82; font-weight: 800;
  color: var(--teal-700); margin: .06em .12em 0 0;
}
.prose h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); margin: 2rem 0 .8rem; }
.prose h3 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; color: var(--teal-800); }
.prose a { color: var(--link); font-weight: 700; }
.prose strong { color: var(--brand-strong); }
.prose .lead { font-size: 1.15em; color: var(--muted); }

/* ---------------------------------------------------------------------------
   Kontener techniczny obszaru tresci.
   Makieta trzyma w <article class="prose"> zarowno chrome widoku (figura, tagi,
   CTA, nawigacja miedzy wpisami), jak i sama tresc z bazy, wiec bramka
   porownania tresci nie miala jak wskazac obszaru pochodzacego z bazy. Tresc
   dostaje przezroczysty wrapper [data-aa-content-root]; ponizsza regula
   powtarza WYLACZNIE to, co makieta mowi o bezposrednich akapitach artykulu,
   zeby wrapper nie zabral inicjalu pierwszemu akapitowi.
   --------------------------------------------------------------------------- */
.prose > [data-aa-content-root] > p:first-of-type::first-letter {
  float: left; font-size: 3.4em; line-height: .82; font-weight: 800;
  color: var(--teal-700); margin: .06em .12em 0 0;
}

.figure {
  margin: 0 0 1.75rem; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--surface);
}
.figure svg { width: 100%; height: auto; display: block; }
/* ZASADA 2b-II: realny obraz wpisu ZASTEPUJE placeholder makiety, wiec musi zajac
   dokladnie to samo miejsce co rysowany placeholder — te sama szerokosc i te sama
   proporcje (viewBox 960x420), inaczej cala tresc ponizej figury przesuwa sie
   wzgledem projektu. To ta sama zasada, ktora makieta stosuje juz na kartach
   (.card__media: aspect-ratio + wypelnienie kadru). */
.figure img { width: 100%; height: auto; display: block; aspect-ratio: 960 / 420; object-fit: cover; }
.figure figcaption { padding: .7rem 1rem; font-size: .82rem; color: var(--muted); background: var(--white); border-top: 1px solid var(--line); }

.info-card {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--coral-500);
  border-radius: var(--radius); padding: 1.1rem 1.3rem; margin: 1.5rem 0;
}
.info-card p { margin: 0; }
.info-card p + p { margin-top: .3rem; }

.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.tag-row .label { font-weight: 800; color: var(--muted); font-size: .85rem; margin-right: .3rem; }

.post-cta {
  margin-top: 2rem; padding: 1.5rem; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--teal-050), var(--coral-050));
  border: 1px solid var(--teal-100);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.post-cta p { margin: 0; font-weight: 700; color: var(--brand-strong); }

/* Nawigacja między wpisami */
.post-nav { display: grid; gap: 1rem; margin-top: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav a {
  display: block; padding: 1rem 1.2rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); text-decoration: none;
  box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), border-color .2s var(--ease);
}
.post-nav a:hover { transform: translateY(-2px); border-color: var(--teal-100); }
.post-nav .dir { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-strong); }
.post-nav .ttl { font-weight: 700; color: var(--brand-strong); }
.post-nav .next { text-align: right; }

/* =========================================================
   Paginacja
   ========================================================= */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: clamp(2rem, 5vw, 3rem); }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; padding: 0 .6rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); font-weight: 800; text-decoration: none;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
}
.pagination a:hover { border-color: var(--teal-100); background: var(--teal-050); color: var(--brand); }
.pagination [aria-current="page"] { background: var(--teal-700); color: #fff; border-color: var(--teal-700); }
.pagination .disabled { opacity: .45; pointer-events: none; }

/* =========================================================
   Stopka
   ========================================================= */
.site-footer {
  margin-top: clamp(3rem, 7vw, 5rem);
  background: linear-gradient(180deg, #063A39, #04302F);
  color: #BFE9E5;
}
.site-footer__top {
  display: grid; gap: clamp(1.75rem, 4vw, 2.5rem);
  grid-template-columns: 1fr;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 720px) { .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand .brand { color: #fff; }
.footer-brand .brand small { color: #7CCFC8; }
.footer-brand p { margin-top: 1rem; max-width: 40ch; color: #A6D8D3; font-size: .95rem; }
.footer-col h3 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-col a { color: #BFE9E5; text-decoration: none; font-weight: 600; }
.footer-col a:hover { color: var(--coral-500); }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 1.4rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; align-items: center; justify-content: space-between;
  font-size: .84rem; color: #8FC7C2;
}
.site-footer__bottom a { color: #A6D8D3; text-decoration: none; }
.site-footer__bottom a:hover { color: #fff; }

/* =========================================================
   Preferencje ruchu
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
