/* ==============================
   RESET + BAZA
============================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body, h1, h2, h3, p, ul {
  margin: 0;
  padding: 0;
}

/* ==============================
   DODANO: THEME / ZMIENNE
============================== */
:root{
  --bg: #f6f3ed;
  --surface: #ffffff;
  --surface-2: #fbf7f1;

  --text: #1f2937;
  --muted: #6b7280;

  --brand: #0b1220;
  --brand-2: #1f2a44;

  /* EDYTOWANO: zielony zostawiam jako opcję, ale nie jako główny CTA */
  --green: #2e7d32;

  --gold: #d4b870;       /* złoty detal */

  /* EDYTOWANO: spójne CTA z granatem (menu/stopka) */
  --accent: rgba(5, 49, 110, 0.94);   /* domyślny kolor przycisków */
  --cta: rgba(5, 49, 110, 0.94);      /* "Czytaj dalej" */

  --border: #e7ddcc;
  --shadow: 0 10px 24px rgba(17,24,39,.08);
  --shadow-soft: 0 6px 16px rgba(17,24,39,.06);

  --radius: 14px;
  --radius-sm: 10px;

  --gutter: 20px;
}

/* ==============================
   OGÓLNE
============================== */
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif; /* EDYTOWANO */
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

/* DODANO: linki */
a { color: inherit; }
a:hover { opacity: .92; }

/* DODANO: focus dla klawiatury */
:focus-visible{
  outline: 3px solid rgba(212,184,112,.45);
  outline-offset: 2px;
}

/* ==============================
   BANER
============================== */
.banner-spichlerz {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background-color: #f8f4ec;
}

.banner-spichlerz img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate(-50%, -50%);
}

/* LOGO NA BANERZE – LEWA STRONA */
.banner-logo {
  position: absolute;
  top: 48%;
  left: 6%;
  transform: translateY(-50%);
  z-index: 5;
  background-color: rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  padding: 18px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
}

.banner-logo img {
  height: 260px;
  width: auto;
}

header,
.banner-spichlerz {
  margin-bottom: 0;
  padding-bottom: 0;
}

.main-container {
  margin-top: 0;
}

/* ==============================
   MENU (sticky) — ODCHUDZONE
============================== */
.main-nav-spichlerz {
  max-width: 1200px;
  margin: 0 auto;

  /* EDYTOWANO: mniej "piguły", bardziej belka */
  background: rgba(5, 49, 110, 0.94);
  border-top: 1px solid rgba(254, 22, 22, 0.08);
  box-shadow: 0 10px 18px rgba(0,0,0,.12);

  /* EDYTOWANO: mniejsze zaokrąglenie (pączek na diecie) */
  border-radius: 0 0 14px 14px;

  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}

.main-nav-spichlerz > ul {
  list-style: none;
  margin: 0;

  /* EDYTOWANO: mniej wysokie, ciaśniej */
  padding: 6px 14px;

  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.main-nav-spichlerz li { margin: 0; }

.main-nav-spichlerz a {
  display: inline-block;

  /* EDYTOWANO: link jako tekst, nie kapsułka */
  padding: 10px 4px;

  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;

  border-radius: 0;

  /* DODANO: elegancki underline */
  position: relative;

  transition: opacity .15s ease, transform .15s ease;
}

.main-nav-spichlerz a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* DODANO: underline na hover */
.main-nav-spichlerz a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: rgba(212,184,112,.65);
}

/* aktywny link */
.main-nav-spichlerz a.active {
  color: #fff;
  opacity: 1;
}

/* DODANO: aktywny underline mocniejszy */
.main-nav-spichlerz a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: rgba(212,184,112,.95);
}

/* DODANO: mobile – przewijanie */
@media (max-width: 700px) {
  .main-nav-spichlerz > ul {
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
  }
}

/* ==============================
   DROPDOWN
============================== */
.dropdown { position: relative; }

/* EDYTOWANO: dopasowane do menu (koniec kapsułek) */
.dropbtn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,.92);
  font-weight: 700;
  font-size: 15px;

  /* EDYTOWANO: tak samo jak linki */
  padding: 10px 4px;

  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  border-radius: 0;

  position: relative;
  transition: opacity .15s ease, transform .15s ease;
}

.dropbtn:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.dropbtn:focus { outline: none; }

.dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  min-width: 240px;
  box-shadow: var(--shadow);
  z-index: 9999;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.dropdown-content li { border-bottom: 1px solid rgba(231,221,204,.6); }
.dropdown-content li:last-child { border-bottom: none; }

.dropdown-content li a {
  color: var(--text);
  padding: 12px 14px;
  display: block;
  text-decoration: none;
  background: var(--surface);
  transition: background 0.2s;
}

.dropdown-content li a:hover { background: var(--surface-2); }

.dropdown-content.show { display: block; }

/* ==============================
   GŁÓWNA ZAWARTOŚĆ
============================== */
.container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 15px;
}

/* UKŁAD 3 KOLUMN */
.layout {
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  gap: var(--gutter);
  max-width: 1200px;
  margin: 22px auto;
  padding: 0 12px;
}

/* Boczne kolumny */
.left-column,
.right-column {
  background: transparent;
  padding: 0;
  border: none;
}

/* Środek – “papier” */
.center-column {
  background: var(--surface);
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

/* ===============================
   SIDEBAR (lewa + prawa ta sama logika)
=============================== */
.sidebar,
.sidebar.left {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

/* box */
.sidebar-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 14px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 16px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.sidebar-box:hover {
  box-shadow: var(--shadow);
  border-color: rgba(212,184,112,.55);
  transform: translateY(-1px);
}

.sidebar-box h3,
.sidebar-title {
  /* EDYTOWANO: ujednolicenie typografii (koniec „dwa światy naraz”) */
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  color: var(--brand);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: none;
}

.sidebar-box h3::before {
  content: "▸";
  color: var(--gold);
  font-size: 18px;
  opacity: .9;
}

/* Listy */
.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  padding: 6px 0;
}

.sidebar-list li a {
  text-decoration: none;
  color: #2f2a25;
  transition: color 0.2s ease;
}

.sidebar-list li a:hover {
  color: var(--brand-2);
}

/* ===============================
   Formularz wyszukiwania
=============================== */
.search-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-form input[type="text"] {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 15px;
  background: var(--surface);
}

.search-form input[type="text"]:focus {
  border-color: rgba(212,184,112,.85);
  outline: none;
  box-shadow: 0 0 0 3px rgba(212,184,112,0.22);
}

/* EDYTOWANO: koniec zielonego CTA */
.search-form button {
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  padding: 10px 0;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, background .18s ease;
}

.search-form button:hover {
  transform: translateY(-1px);
  filter: none;
  background: rgba(212,184,112,.22);
}

/* ===============================
   Najpopularniejsze – miniaturki
=============================== */
.popular-mini {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mini-article {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: var(--surface);
  border-radius: 12px;
  padding: 10px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.mini-article:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  border-color: rgba(212,184,112,.55);
}

.mini-article img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.mini-title {
  font-size: 15px;
  color: #2f2a25;
  font-weight: 800;
  line-height: 1.3;
}

.mini-article:hover .mini-title {
  color: var(--brand-2);
}

/* ===============================
   Losowy wpis
=============================== */
.random-article {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  text-align: center;
}

.random-article img {
  width: 100%;
  height: 160px; /* EDYTOWANO: odrobinę mniejsze, mniej „pocztówkowe” */
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 10px;
  transition: transform .25s ease;
  box-shadow: 0 10px 18px rgba(0,0,0,.10);
}

.random-article:hover img {
  transform: scale(1.02);
}

.random-article p,
.random-article span {
  margin: 0;
  padding: 6px 0 0;
  font-weight: 900;
  color: #2f2a25;
}

/* ===============================
   Cytat dnia
=============================== */
.quote-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 14px;
  box-shadow: var(--shadow-soft);
  position: relative;
  margin-top: 14px;
}

.quote-box::before {
  content: "“";
  position: absolute;
  top: -12px;
  left: 12px;
  font-size: 44px;
  color: rgba(212,184,112,0.25);
}

.quote-box h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--brand);
}

.quote-box blockquote {
  font-style: italic;
  color: #3f3b37;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* ==============================
   ARTYKUŁY (karta wpisu)
============================== */
.articles-container { padding: 10px; }

.article-card,
.article-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--surface);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 14px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.article-card:hover,
.article-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(212,184,112,.55);
}

/* Miniatury */
.article-card img.thumbnail {
  width: 220px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 16px rgba(0,0,0,.12);
}

.article-thumb {
  flex: 0 0 220px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Uniwersalne miniatury */
.article-item .article-thumb img,
.article-item img.thumb {
  width: 220px !important;
  height: 150px !important;
  object-fit: cover !important;
  border-radius: var(--radius-sm);
  display: block;
  box-shadow: 0 8px 16px rgba(0,0,0,.12);
}

.article-content,
.article-info {
  flex: 1;
  padding: 4px 2px;
}

.article-content h2,
.article-item h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  color: var(--brand);
}

.article-content .meta {
  font-size: 13px;
  color: var(--muted);
  margin: 6px 0 10px;
}

.article-item p,
.article-content p {
  margin-top: 8px;
  color: #3b3f46;
  line-height: 1.6;
}

/* CTA: “Czytaj dalej” */
.read-more,
.article-item a.read-more,
.article-item a.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  color: #fff;

  /* EDYTOWANO: spójne CTA */
  background: var(--cta);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 18px rgba(0,0,0,.10);

  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.read-more:hover,
.article-item a.read-more:hover,
.article-item a.read-more-link:hover {
  transform: translateY(-1px);

  /* DODANO: złoty hover */
  background: rgba(212,184,112,.22);
  border-color: rgba(212,184,112,.40);
}

/* ==============================
   PAGINACJA
============================== */
.pagination {
  text-align: center;
  margin-top: 18px;
}

.pagination .page-link {
  display: inline-block;
  margin: 0 4px;
  padding: 8px 12px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform .15s ease, background .15s ease;
}

.pagination .page-link:hover {
  transform: translateY(-1px);
  background: var(--surface-2);
}

.pagination .page-link.active {
  background: rgba(212,184,112,.22);
  border-color: rgba(212,184,112,.55);
  font-weight: 900;
}

/* ===============================
   STRONA TAGÓW
=============================== */
.tag-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 15px;
}

.tag-article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.tag-article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(212,184,112,.55);
}

.tag-article-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.tag-article-card h2 {
  font-size: 16px;
  color: var(--brand);
  padding: 12px;
  line-height: 1.4;
}

/* ==============================
   STOPKA (główna) – .site-footer
============================== */
.site-footer {
  background: rgba(5, 49, 110, 0.94);
  color: rgba(255,255,255,.90);
  padding: 48px 28px 22px;
  font-size: 15px;
  line-height: 1.7;
  border-radius: var(--radius);

  /* EDYTOWANO: border nie-zielony */
  border: 1px solid rgba(255,255,255,.10);

  box-shadow: 0 16px 30px rgba(0,0,0,.18);
  max-width: 1200px;
  margin: 40px auto 20px;
}

.footer-container {
  display: flex !important;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.footer-column {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-column h3,
.footer-column h4 {
  color: #fff;
  margin-bottom: 10px;
  font-weight: 800;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li { margin-bottom: 6px; }

.footer-column a {
  color: rgba(255,255,255,.88);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all .2s ease-in-out;
}

.footer-column a:hover {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.55);
}

.footer-bottom {
  margin-top: 28px;
  font-size: 14px;
  letter-spacing: 0.3px;
  opacity: .9;
}

footer {
  background: transparent;
  color: inherit;
  text-align: center;
  padding: 0;
  border: none;
  box-shadow: none;
}

/* ==============================
   COOKIE POPUP
============================== */
.cookie-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  z-index: 9998;
}

.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
  max-width: 520px;
  width: 92%;
  padding: 24px 26px;
  text-align: center;
  display: none;
  z-index: 9999;
  font-family: inherit;
}

.cookie-content label {
  display: block;
  text-align: left;
  margin: 6px 0;
}

.cookie-buttons {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-buttons button {
  padding: 10px 14px;
  border: none;
  border-radius: 10px;
  background-color: var(--brand-2);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}
.cookie-buttons .reject { background-color: #b84c4c; }
.cookie-buttons .manage { background-color: #6c757d; }
.cookie-buttons button:hover { opacity: 0.92; }

/* ==============================
   KOMENTARZE – (zostaje)
============================== */
#comments { margin-top: 28px; }

#comments h3 {
  font-size: 1.25rem;
  margin: 0 0 12px 0;
  border-bottom: 2px solid rgba(231,221,204,.7);
  padding-bottom: 8px;
}

#commentsTree { margin-top: 8px; }

#comments .comment {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin: 14px 0;
  box-shadow: var(--shadow-soft);
}

#comments .cmt-header { display:flex; gap:12px; align-items:flex-start; }
#comments .cmt-avatar {
  width:40px;height:40px;border-radius:50%;
  background:#f1f3f5;color:#9aa0a6;
  display:flex;align-items:center;justify-content:center;
  font-weight:800;font-size:14px;flex:0 0 auto;
}
#comments .cmt-author { font-weight:900; color:#2b2f33; }
#comments .cmt-meta   { font-size:12px; color: var(--muted); margin-top:2px; }

#comments .cmt-content {
  margin-top:8px; color:#2f3438; line-height:1.55; white-space:pre-wrap;
}

#comments .comment-actions { display:flex; gap:18px; align-items:center; margin-top:10px; }
#comments .btn-like,
#comments .btn-reply-toggle{
  background:transparent; border:none; padding:0; cursor:pointer;
  color: var(--muted); font-weight:900; display:inline-flex; align-items:center; gap:6px;
}
#comments .btn-like:hover,
#comments .btn-reply-toggle:hover { color:#374151; }
#comments .btn-like .like-count{ font-weight:900; }
#comments .btn-like.liked{ color:#2563eb; }

#comments .comment-children{
  margin-left:48px; border-left:2px solid rgba(231,221,204,.8); padding-left:16px; margin-top:10px;
}

#comments .reply-form{ margin-top:10px; display:none; }
#comments .reply-form input[type="text"],
#comments .reply-form textarea{
  width:100%; border:1px solid var(--border); border-radius:12px; padding:10px 12px; font:inherit;
}
#comments .reply-form textarea{ resize:vertical; }
#comments .reply-form button{
  margin-top:8px; border:none; border-radius:9999px; background: var(--surface-2); padding:10px 14px; cursor:pointer; font-weight:900;
  box-shadow: var(--shadow-soft);
}
#comments .reply-form button:hover{ background:#fff; }

#comments .comment-form {
  display: grid;
  gap: 10px;
  max-width: 700px;
}

#comments .comment-form input[type="text"],
#comments .comment-form textarea{
  width:100%; border:1px solid var(--border); border-radius:12px; padding:10px 12px; font:inherit;
}
#comments .comment-form textarea{ resize:vertical; min-height: 160px; }

#comments .comment-form button {
  border: none;
  border-radius: 9999px;
  background: var(--brand-2);
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 12px 22px rgba(0,0,0,.12);
}
#comments .comment-form button:hover { filter: brightness(1.04); }

#comments .comment-form .hint{ font-size:12px; color: var(--muted); margin:0; }

/* ==============================
   FLASH POPUP
============================== */
.flash-popup {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translate(-50%, 40px);
  background: #e8f5e9;
  color: #166534;
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.18);
  font-size: 16px;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 9999;
  text-align: center;
  max-width: 90%;
}
.flash-popup.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==============================
   ARTYKUŁ – obrazki w treści
============================== */
.article-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 15px auto;
  border-radius: 12px;
  box-shadow: 0 10px 18px rgba(0,0,0,0.12);
}

/* ==============================
   KONTAKT
============================== */
.contact-box {
  max-width: 640px;
  background: var(--surface);
  margin: 60px auto;
  padding: 26px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-box h1 {
  text-align: center;
  color: var(--brand);
  margin-bottom: 18px;
}

label {
  display: block;
  margin-top: 10px;
  font-weight: 900;
  color: #333;
}

input[type=text],
input[type=email],
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow .2s ease;
}

input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
  border-color: rgba(212,184,112,.85);
  outline: none;
  box-shadow: 0 0 0 3px rgba(212,184,112,0.22);
}

textarea { resize: vertical; min-height: 120px; }

/* EDYTOWANO: globalny button – spójny kolor, ale ostrożnie nadal 100% */
button {
  display: block;
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 0;
  font-size: 16px;
  border-radius: 12px;
  margin-top: 15px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.10);
}
button:hover {
  transform: translateY(-1px);
  background: rgba(212,184,112,.22);
  border-color: rgba(212,184,112,.40);
}

.success-msg { color: var(--green); font-weight: 900; text-align: center; margin-top: 10px; }
.error-msg { color: #b30000; font-weight: 900; text-align: center; margin-top: 10px; }

.hidden-field { display: none; }

/* RODO */
.rodo-info {
  font-size: 12px;
  color: #555;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 15px;
  line-height: 1.45;
}

.rodo-info strong { color: #333; font-weight: 900; }

.rodo-info a { color: var(--brand); text-decoration: underline; }
.rodo-info a:hover { text-decoration: none; color: #000; }

/* ==============================
   POLITYKA PRYWATNOŚCI / COOKIES
============================== */
.privacy-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  line-height: 1.7;
  color: var(--text);
}

.privacy-container h1 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
  color: var(--brand);
  border-bottom: 2px solid rgba(212,184,112,.75);
  padding-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.privacy-container h2 {
  font-size: 1.3rem;
  color: var(--brand);
  margin-top: 35px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(212,184,112,.75);
  padding-bottom: 5px;
}

.privacy-container p { margin-bottom: 15px; text-align: justify; }
.privacy-container ul { margin: 10px 0 20px 25px; }
.privacy-container li { margin-bottom: 8px; }
.privacy-container a { color: var(--brand-2); text-decoration: none; }
.privacy-container a:hover { text-decoration: underline; }

.cookie-policy-container {
  max-width: 800px;
  margin: 40px auto;
  font-family: inherit;
  color: var(--text);
  line-height: 1.6;
}

.cookie-info-box {
  margin-top: 40px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  font-size: 15px;
  color: #333;
  box-shadow: var(--shadow-soft);
}

.cookie-btn {
  margin-top: 10px;
  padding: 10px 14px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: filter 0.2s ease;
  font-weight: 900;
}
.cookie-btn:hover { filter: brightness(1.07); }

/* ==============================
   TAG PAGINATION
============================== */
.tag-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  padding-top: 8px;
  border-top: 1px dashed rgba(231,221,204,.9);
}

.tag-pagination a {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--brand);
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  min-width: 26px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.tag-pagination a:hover {
  background: rgba(212,184,112,.22);
}

.tag-pagination a.active {
  background: rgba(212,184,112,.22);
  border-color: rgba(212,184,112,.55);
  font-weight: 900;
}

/* ==============================
   RESPONSYWNOŚĆ
============================== */
@media (max-width: 992px) {
  .banner-spichlerz { height: 300px; }
  .banner-logo img { height: 180px; }

  .main-nav-spichlerz ul {
    flex-direction: column;
    align-items: center;
  }

  .main-nav-spichlerz a,
  .dropbtn {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .layout { grid-template-columns: 1fr; }

  .article-card,
  .article-item {
    flex-direction: column;
  }

  .article-card img.thumbnail,
  .article-item .article-thumb img,
  .article-item img.thumb {
    width: 100% !important;
    height: 220px !important;
  }
}

@media (max-width: 600px) {
  .banner-spichlerz { height: 220px; }
  .banner-logo img { height: 120px; }
  .banner-logo { left: 5%; }
}

/* mobile komentarze */
@media (max-width: 640px){
  #comments .comment-children { margin-left: 24px; padding-left: 12px; }
}

/* stopka na mobile */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-box {
    margin: 30px 15px;
    padding: 20px;
  }
}
