/* ============================================================
 * sections.css — generyczny szkielet sekcji: paddingi, nagłówki
 * (eyebrow/tytuł/opis), kształty dekoracyjne, wzorce dwukolumnowe
 * (O nas), blok CTA. Współdzielone między stronami.
 * ============================================================ */

.section { padding: clamp(80px, 10vw, 128px) 0; position: relative; }

.sec-label {
  font-size: .67rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--text-mid);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Litery szare, kreska pomarańczowa. Pomarańcz przy 10,7 px daje na kremowym
   tle 2,23:1 - nie da się go użyć na tekst. Sekcje na granacie nadpisują
   kolor z powrotem na pomarańczowy i tam próg jest spełniony (5,09:1). */
.sec-label::before { content: ''; width: 20px; height: 2px; background: var(--leaf-orange); }
.sec-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--teal);
  margin-bottom: 16px;
}
.sec-desc {
  font-size: .95rem;
  color: var(--text-light);
  max-width: 520px;
  font-weight: 300;
  line-height: 1.8;
}

/* Kształty dekoracyjne (krzywizny liścia) */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco svg { display: block; }

/* Generyczny układ dwukolumnowy */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

/* ═══ O NAS (wzorzec dwukolumnowy obraz + tekst) ═══════════ */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(48px, 6vw, 88px);
  align-items: start;
  margin-top: 48px;
}
.about-img-wrap { position: relative; }
.about-img {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 24px 64px rgba(0, 52, 103, .1);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: var(--teal);
  border-radius: var(--r-md);
  padding: 20px 24px;
  box-shadow: 0 8px 28px rgba(0, 52, 103, .2);
}
.about-badge-num { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--white); line-height: 1; }
.about-badge-label { font-size: .68rem; color: rgba(255, 255, 255, .6); margin-top: 2px; }
.about-text { padding-top: 12px; }
.about-text p { color: var(--text-mid); font-weight: 300; line-height: 1.9; margin-bottom: 18px; font-size: .95rem; }
.about-text p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 3.4rem;
  font-weight: 700;
  float: left;
  line-height: .78;
  margin: 6px 12px 0 0;
  color: var(--teal);
}
.about-line {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--leaf-orange), var(--leaf-green));
  margin: 28px 0;
  border-radius: 1px;
}
.about-certs { display: flex; gap: 8px; flex-wrap: wrap; }
.about-cert {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: all .2s;
}
.about-cert:hover { border-color: var(--teal); color: var(--teal); }
/* Gdy certyfikat ma wgrane logo, zastępuje ono kolorową kropkę. */
.about-cert-logo { height: 16px; width: auto; max-width: 40px; object-fit: contain; flex-shrink: 0; }
.cd { width: 6px; height: 6px; border-radius: 1px; flex-shrink: 0; }

/* ═══ CTA (blok wezwania do działania) ═════════════════════ */
.cta { background: var(--white); padding: clamp(80px, 10vw, 128px) 0; }
.cta-box {
  background: var(--teal);
  border-radius: var(--r-md);
  padding: clamp(56px, 6vw, 88px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 146, 46, .08), transparent 70%);
}
.cta-box::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 176, 80, .06), transparent 70%);
}
.cta-label {
  font-size: .67rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--leaf-orange);
  margin-bottom: 16px;
  position: relative;
}
.cta-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
  position: relative;
}
.cta-sub {
  font-size: .95rem;
  color: rgba(255, 255, 255, .55);
  max-width: 500px;
  margin: 0 auto 36px;
  font-weight: 300;
  line-height: 1.8;
  position: relative;
}
.cta-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ═══ RESPONSIVE (sekcje współdzielone) ════════════════════ */
@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { max-width: 400px; }
}
@media (max-width: 768px) {
  .about-text p:first-of-type::first-letter { font-size: 2.8rem; }
}

/* ============================================================
 * STANDARDOWE SZABLONY WP (page / single / archive / search / 404)
 * ------------------------------------------------------------
 * Blok globalny (sections.css ładuje się na KAŻDEJ stronie), więc
 * page.php, single.php, archive.php, search.php i 404.php mają tu
 * komplet stylów: hero + okruszki + typografia treści (.entry-content)
 * + lista/siatka kart wpisów + formularz wyszukiwania + paginacja
 * + nawigacja prev/next + blok 404.
 *
 * Klasy .page-hero/.breadcrumb/.page-title/.page-desc celowo pokrywają
 * się nazwami z projekty.css/strony.css — ale tamte CSS są ładowane
 * warunkowo, więc na stronach standardowych obowiązuje wyłącznie ta
 * wersja. Kolory wyłącznie granatowe (--primary*). Mobile-first.
 * ============================================================ */

/* Hero leży tuż pod stałym nagłówkiem; .site-main ma już padding-top var(--header-h)
   (components.css), więc hero nie dostaje własnego marginesu (bez podwójnego
   odstępu). */
.site-main > .page-hero { margin-top: 0; }

/* ── Hero (granat, jasny tekst) ───────────────────────────── */
.page-hero {
  background: var(--primary);
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 80px) 0 clamp(40px, 5vw, 64px);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(76, 176, 80, .08), transparent 50%, rgba(232, 146, 46, .06));
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 146, 46, .08), transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }

/* ── Okruszki na granatowym tle ───────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: .76rem;
  color: rgba(255, 255, 255, .75);
  font-weight: 300;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255, 255, 255, .85); transition: color .2s; }
.breadcrumb a:hover { color: var(--leaf-orange); }
.breadcrumb svg { width: 12px; height: 12px; stroke: rgba(255, 255, 255, .6); fill: none; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
.breadcrumb [aria-current="page"] { color: rgba(255, 255, 255, .9); }

.page-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -.01em;
}
.page-desc {
  font-size: .92rem;
  color: rgba(255, 255, 255, .7);
  max-width: 620px;
  font-weight: 300;
  line-height: 1.8;
}
/* Meta wpisu (single): data, autor, kategoria — w hero pod tytułem. */
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 16px;
  font-size: .8rem;
  color: rgba(255, 255, 255, .7);
  font-weight: 300;
}
.entry-meta .meta-item { display: inline-flex; align-items: center; gap: 6px; }
.entry-meta svg { width: 14px; height: 14px; stroke: rgba(255, 255, 255, .55); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.entry-meta a { color: rgba(255, 255, 255, .85); text-decoration: none; transition: color .2s; }
.entry-meta a:hover { color: var(--leaf-orange); }

/* ── Sekcja treści (wspólny wrapper podstron standardowych) ── */
.page-section { padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 8vw, 96px); }
/* Ta sama szerokosc co --max-w. Przez token, zeby przy zmianie layoutu
   nie zostala w tyle jedna reguła ladowana na kazdej podstronie. */
.page-section .container { max-width: var(--max-w); }
/* Wąska kolumna czytelnicza dla treści tekstowej (page/single). */
.content-narrow { max-width: 820px; margin: 0 auto; }

/* Obrazek wyróżniający (single, pod hero). */
.entry-featured {
  max-width: 980px;
  margin: 0 auto clamp(32px, 4vw, 48px);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.entry-featured img { width: 100%; height: auto; display: block; }

/* ── Typografia treści WordPress (.entry-content) ─────────── */
.entry-content { color: var(--text-mid); font-size: .98rem; line-height: 1.85; font-weight: 300; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  font-family: var(--serif);
  color: var(--primary);
  font-weight: 600;
  line-height: 1.25;
  margin: 1.8em 0 .6em;
}
.entry-content h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); }
.entry-content h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.entry-content h4 { font-size: 1.15rem; }
.entry-content p { margin-bottom: 1.25em; }
.entry-content strong { font-weight: 600; color: var(--text); }
.entry-content em { font-style: italic; }
.entry-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s;
}
.entry-content a:hover { color: var(--primary-mid); }

.entry-content ul,
.entry-content ol { margin: 0 0 1.25em; padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: .5em; line-height: 1.8; }
.entry-content li::marker { color: var(--leaf-orange); }
.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul { margin: .5em 0 .5em; }

.entry-content blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--leaf-orange);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: .82rem; font-weight: 500; color: var(--text-light); }

.entry-content img,
.entry-content .wp-block-image img { max-width: 100%; height: auto; border-radius: var(--r-md); }
.entry-content figure { margin: 1.6em 0; }
.entry-content figure.alignwide { max-width: 1100px; }
.entry-content figcaption,
.entry-content .wp-element-caption { margin-top: 8px; font-size: .8rem; color: var(--text-light); text-align: center; }
.entry-content .alignleft { float: left; margin: .4em 1.6em 1em 0; }
.entry-content .alignright { float: right; margin: .4em 0 1em 1.6em; }
.entry-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }

.entry-content hr { border: 0; height: 1px; background: var(--border); margin: 2.4em 0; }

.entry-content code,
.entry-content kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .85em;
  background: var(--cream-warm);
  padding: 2px 6px;
  border-radius: var(--r);
  color: var(--primary-dark);
}
.entry-content pre {
  background: var(--dark);
  color: rgba(255, 255, 255, .9);
  padding: 18px 20px;
  border-radius: var(--r-md);
  overflow-x: auto;
  margin: 1.6em 0;
  font-size: .85rem;
  line-height: 1.6;
}
.entry-content pre code { background: none; padding: 0; color: inherit; }

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: .9rem;
}
.entry-content th,
.entry-content td { padding: 10px 14px; border: 1px solid var(--border); text-align: left; }
.entry-content th { background: var(--cream-warm); font-weight: 600; color: var(--text); }
.entry-content tbody tr:nth-child(even) td { background: var(--cream); }

.entry-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r);
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 500;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  transition: all .3s var(--ease);
}
.entry-content .wp-block-button__link:hover { background: var(--primary-mid); transform: translateY(-2px); color: var(--white); }
.entry-content .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border);
}
.entry-content .wp-block-pullquote,
.entry-content .wp-block-quote {
  margin: 1.6em 0;
  padding-left: 24px;
  border-left: 3px solid var(--leaf-orange);
  font-family: var(--serif);
  font-style: italic;
  color: var(--text);
}
.entry-content .wp-block-separator { border: 0; height: 1px; background: var(--border); margin: 2.4em 0; }
.entry-content .wp-block-table table { margin: 0; }

/* Stronicowanie treści wpisu (<!--nextpage-->) */
.page-links {
  margin: 2em 0 0;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.page-links .post-page-numbers,
.page-links > span:not(.page-links-title) {
  display: inline-flex;
  min-width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--r);
}
.page-links .post-page-numbers:hover { border-color: var(--primary); color: var(--primary); }
.page-links .post-page-numbers.current,
.page-links > span.current { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ── Lista / siatka kart wpisów (archive, search, index) ──── */
.posts-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.posts-list--list { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }

.post-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card__thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--cream-warm); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card__thumb img { transform: scale(1.04); }
.post-card__body { padding: 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.post-card__meta a { color: var(--text-mid); }
.post-card__meta a:hover { color: var(--primary); }
.post-card__title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 12px;
}
.post-card__title a { color: inherit; transition: color .2s; }
.post-card__title a:hover { color: var(--primary-mid); }
.post-card__excerpt { font-size: .88rem; color: var(--text-mid); font-weight: 300; line-height: 1.7; margin-bottom: 16px; }
.post-card__excerpt p { margin: 0; }
.post-card__more {
  margin-top: auto;
  font-size: .82rem;
  font-weight: 500;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap .2s;
}
.post-card__more svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.post-card:hover .post-card__more { gap: 9px; }

/* ── Nagłówek archiwum / wyszukiwania (gdy bez hero-tła) ──── */
.archive-intro { margin-bottom: clamp(28px, 4vw, 40px); }
.archive-intro .archive-description { font-size: .95rem; color: var(--text-light); font-weight: 300; line-height: 1.8; max-width: 680px; margin-top: 14px; }

/* ── Nawigacja prev/next (single) ─────────────────────────── */
.post-nav { margin-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--border); padding-top: 28px; }
.post-nav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav .nav-links .nav-next { text-align: right; }
.post-nav a {
  display: block;
  padding: 18px 22px;
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  background: var(--white);
  transition: all .3s var(--ease);
}
.post-nav a:hover { border-color: var(--primary-light); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.post-nav .nav-dir { display: block; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--leaf-orange); margin-bottom: 6px; }
.post-nav .nav-ttl { font-family: var(--serif); font-size: .98rem; font-weight: 600; color: var(--primary); line-height: 1.4; }

/* ── Paginacja (the_posts_pagination → .pagination .nav-links) ── */
.pagination { margin-top: clamp(40px, 5vw, 56px); }
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.pagination .page-numbers,
.pagination a.page-numbers {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-mid);
  background: var(--white);
  transition: all .2s;
}
.pagination a.page-numbers:hover { border-color: var(--primary); color: var(--primary); }
.pagination .page-numbers.current { background: var(--primary); border-color: var(--primary); color: var(--white); }
.pagination .page-numbers.dots { border-color: transparent; background: transparent; }

/* ── Formularz wyszukiwania (.search-form) ────────────────── */
.search-form {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 520px;
}
.search-form .search-field {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  background: var(--white);
  font-size: .9rem;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.search-form .search-field::placeholder { color: var(--text-muted); }
.search-form .search-field:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(46, 108, 168, .12);
}
/* Ramka fokusu znika tylko przy myszy; Tab zapala outline z base.css. */
.search-form .search-field:focus:not(:focus-visible) { outline: none; }
.search-form .search-submit {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border: none;
  border-radius: var(--r);
  background: var(--primary);
  color: var(--white);
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.search-form .search-submit:hover { background: var(--primary-mid); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0, 52, 103, .25); }
.search-form .search-submit svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Formularz wyszukiwania na granatowym hero (jasna obwódka). */
.page-hero .search-form { margin-top: 24px; }
.page-hero .search-form .search-field { background: rgba(255, 255, 255, .95); border-color: transparent; }
.page-hero .search-form .search-submit { background: var(--leaf-orange); }
.page-hero .search-form .search-submit:hover { background: var(--leaf-orange-dark); }

/* Stan pusty (brak wyników wyszukiwania) — spójny z empty-state katalogu. */
.no-results {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) 0;
}
.no-results .no-results-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--cream-warm);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-light);
}
.no-results .no-results-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.no-results h2 { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.8rem); color: var(--primary); margin-bottom: 12px; }
.no-results p { font-size: .95rem; color: var(--text-light); font-weight: 300; line-height: 1.8; margin-bottom: 24px; }
.no-results .search-form { margin: 0 auto; }

/* ── Strona 404 ───────────────────────────────────────────── */
.error-404 {
  padding: clamp(64px, 9vw, 120px) 0;
  text-align: center;
  background: var(--cream);
}
.error-404 .error-404-inner { max-width: 640px; margin: 0 auto; }
.error-404 .error-code {
  font-family: var(--serif);
  font-size: clamp(5rem, 16vw, 10rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.03em;
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.error-404 h1 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--primary);
  margin-bottom: 14px;
}
.error-404 p { font-size: 1rem; color: var(--text-light); font-weight: 300; line-height: 1.8; max-width: 480px; margin: 0 auto 28px; }
.error-404 .search-form { margin: 0 auto 32px; }
.error-404 .error-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── Responsywność (szablony standardowe) ─────────────────── */
@media (max-width: 1024px) {
  .posts-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .posts-list { grid-template-columns: 1fr; }
  .post-nav .nav-links { grid-template-columns: 1fr; }
  .post-nav .nav-links .nav-next { text-align: left; }
  .search-form { flex-direction: column; max-width: 100%; }
  .search-form .search-submit { justify-content: center; }
  .entry-content .alignleft,
  .entry-content .alignright { float: none; margin: 1.2em 0; }
}
