/* ==============================
   RESET
============================== */
body, h1, h2, h3, p, ul {
    margin: 0;
    padding: 0;
}

/* ==============================
   OGÓLNE
============================== */
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f4f4;
    color: #222;
    line-height: 1.6;
}

/* ==============================
   BANER DOMOWY SPICHLERZ
============================== */
.banner-spichlerz {
    position: relative;

    /* DODANO: baner ma taką samą maksymalną szerokość jak reszta strony */
    width: 100%;
    max-width: 1200px;

    /* DODANO: wyśrodkowanie banera na szerokich monitorach */
    margin: 0 auto;

    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: 10%;
    transform: translateY(-50%);
    z-index: 5;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    padding: 20px;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.25);
}

.banner-logo img {
    height: 260px;
    width: auto;
}

/* ==============================
   MENU
============================== */
.main-nav-spichlerz {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #a67c52;
    border-top: 2px solid #8b633a;
    border-bottom: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    border-radius: 0 0 8px 8px;
    position: relative;
    z-index: 10;
}

.main-nav-spichlerz > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}


.main-nav-spichlerz li {
    margin: 0;
}

.main-nav-spichlerz a {
    display: inline-block;
    padding: 14px 22px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 17px;
    transition: background 0.3s;
}

.main-nav-spichlerz a:hover {
    background-color: #8b633a;
}

/* USUNIĘCIE SZPARY POD MENU */
header,
.banner-spichlerz {
    margin-bottom: 0;
    padding-bottom: 0;
}

.main-container {
    margin-top: 0;
}

/* ==============================
   GŁÓWNA ZAWARTOŚĆ
============================== */
.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

/* === POPRAWIONY UKŁAD TRZECH KOLUMN === */
.layout {
    display: grid;
    grid-template-columns: 260px 1fr 260px; /* lewa – środek – prawa */
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto; /* środek strony */
    padding: 0 10px;
    box-sizing: border-box;
}

/* Lewa kolumna */
.left-column {
    background-color: #f2e4cf;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #d2b48c;
}

/* Środkowa kolumna */
.center-column {
    background-color: #fff9f0;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Prawa kolumna */
.right-column {
    background-color: #f2e4cf;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #d2b48c;
}

/* ===============================
   BOCZNA KOLUMNA (SIDEBAR)
=============================== */
.sidebar {
  background: linear-gradient(180deg, #f8f4ec 0%, #f4efe5 100%);
  border: 1px solid #e4dac5;
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

/* ===============================
   NAGŁÓWKI SEKCJI
=============================== */
.sidebar-box h3,
.sidebar-title {
  font-family: "Merriweather", serif;
  font-size: 17px;
  font-weight: 700;
  color: #5a402a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: none; /* ✅ usuwa ewentualne wymuszone uppercase */
}

/* 🧩 Ikona przed tytułem */
.sidebar-box h3::before {
  content: "🍞"; /* ✅ możesz zmienić np. na 📦 lub 💡 w zależności od sekcji */
  font-size: 17px;
  opacity: 0.8;
  flex-shrink: 0;
}

/* ===============================
   LISTA ARTYKUŁÓW POPULARNYCH
=============================== */
.sidebar-list.popular-list {
  background: #fff;
  border-radius: 10px;
  padding: 8px 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  margin: 0; /* ✅ dodane – zapobiega nadmiarowym odstępom */
}

.sidebar-list.popular-list li {
  border-bottom: 1px dashed #eee;
  padding: 8px 14px;
  list-style: none; /* ✅ usuwa kropki listy */
}

.sidebar-list.popular-list li:last-child {
  border-bottom: none;
}

/* ===============================
   LINKI DO ARTYKUŁÓW
=============================== */
.sidebar-list.popular-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #3a332a;
  font-size: 15px;
  line-height: 1.4;
  transition: all 0.25s ease;
  border-radius: 6px;
  padding: 4px 6px; /* ✅ lepsze wyrównanie klikowalnego obszaru */
}

.sidebar-list.popular-list a:hover {
  background: #faf5ee;
  color: #a78b5a;
  transform: translateX(3px);
}

/* ✅ Ikonka strzałki */
.sidebar-list.popular-list .arrow {
  font-size: 16px;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.sidebar-list.popular-list a:hover .arrow {
  opacity: 1;
}

/* ===============================
   DODATKOWE POPRAWKI
=============================== */

/* 🧾 Spójne odstępy między sekcjami */
.sidebar-box {
  margin-bottom: 22px;
  border-left: 4px solid #a78b5a; /* złoty pasek po lewej */
  background: #fffaf3;
  border-radius: 10px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
  padding: 14px 16px;
  transition: box-shadow 0.2s ease;
}

.sidebar-box:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

/* 🧠 Responsywność – lepszy wygląd na telefonach */
@media (max-width: 768px) {
  .sidebar {
    padding: 12px;
    border-radius: 10px;
  }

  .sidebar-box h3 {
    font-size: 16px;
  }

  .sidebar-list.popular-list a {
    font-size: 14px;
  }
}

/* Cytat dnia */
.quote-box {
  background: #fffaf3;
  border-left: 4px solid #a78b5a;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.08);
  position: relative;
  margin-top: 14px;
}
.quote-box::before {
  position: absolute;
  top: -8px;
  left: 10px;
  font-size: 40px;
  color: rgba(167,139,90,0.2);
}
.quote-box h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #6a563c;
}
.quote-box blockquote {
  font-style: italic;
  color: #3f3b37;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* Marginesy pomiędzy sekcjami */
.sidebar-box {
  margin-bottom: 22px;
}



/* ===============================
   Losowy przepis
=============================== */

.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;
  object-fit: cover;
  border-radius: 10px;
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}


.random-article:hover img {
  transform: scale(1.03);
}

.random-article span {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
}

.random-article img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
  border-radius: 10px 10px 0 0;
}
.random-article p {
  margin: 0;
  padding: 10px;
  font-weight: 600;
  color: #3a332a;
}

/* ===============================
   NAJPOPULARNIEJSZE ARTYKUŁY – MINIATURKI
=============================== */
.popular-mini {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mini-article {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  border: 1px solid #eee;
  transition: all 0.25s ease;
}

.mini-article:hover {
  background: #faf5ee;
  transform: translateX(3px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.mini-article img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.mini-title {
  font-size: 15px;
  color: #2f2a25;
  font-weight: 600;
  line-height: 1.3;
}

.mini-article:hover .mini-title {
  color: #a78b5a; /* złoty akcent */
}

/* ===============================
   LEWA KOLUMNA – Sidebar Left
================================ */
.sidebar.left {
    background: linear-gradient(180deg, #f9f6ee 0%, #f3efe5 100%);
    border: 1px solid #e4dac5;
    border-radius: 14px;

    padding: 18px 16px;

    box-shadow: 0 3px 8px rgba(0,0,0,0.06);

    /* DODANO:
       sidebar ma kończyć się razem ze swoją zawartością,
       zamiast rozciągać się do wysokości całego układu */
    height: auto;
    min-height: 0;

    /* DODANO:
       blokujemy automatyczne rozciąganie elementu przez grid/flex */
    align-self: start;

    /* DODANO:
       kalendarz może normalnie mieścić się wewnątrz */
    overflow: visible;
}

/* Tytuły sekcji (takie same jak po prawej) */
.sidebar.left .sidebar-title {
  font-family: "Merriweather", serif;
  font-size: 17px;
  font-weight: 700;
  color: #3b352c;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Boczne boxy – spójne z prawą stroną */
.sidebar.left .sidebar-box {
  background: #fffaf3;
  border-left: 4px solid #a78b5a;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.08);
  margin-bottom: 22px;
  transition: box-shadow 0.2s ease;
}

.sidebar.left .sidebar-box:hover {
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

.calendar-articles {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* DODANO: elegancki pasek informacji o przepisie */
.recipe-info-box {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 10px 0 18px;
  padding: 0 0 12px;
  background: transparent;
  border: none;
  border-bottom: 1px solid #e4dac5;
}

.recipe-info-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #6f4726;
  font-size: 15px;
}

.recipe-info-item span {
  font-size: 17px;
  opacity: 0.9;
}

.recipe-info-item strong {
  font-weight: 700;
}

/* ==========================================
   Kafelki z informacjami o przepisie
========================================== */

.recipe-info {
    display: grid; /* DODANO: grid pewniej trzyma 3 kafelki obok siebie */
    grid-template-columns: repeat(3, 1fr); /* DODANO: zawsze 3 kolumny na desktopie */
    gap: 14px;
    margin: 18px 0 24px;
}

.recipe-card {
    background: #fff;
    border: 1px solid #e6d5bc;
    border-radius: 12px;
    padding: 14px 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: .25s;
}

.recipe-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
}

.recipe-icon {
    font-size: 24px;
    margin-bottom: 6px;
}

.recipe-value {
    font-size: 22px;
    font-weight: 700;
    color: #8b633a;
    margin-bottom: 3px;
}

.recipe-label {
    font-size: 12px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: .4px;
}

/* DODANO: na telefonie kafelki mogą zejść pod siebie */
@media (max-width: 600px) {
    .recipe-info {
        grid-template-columns: 1fr;
    }
}

.calendar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #3a332a;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  padding: 6px;
  transition: transform 0.2s ease;
}

.calendar-item:hover {
  transform: translateX(4px);
  color: #a78b5a;
}

.calendar-item img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
}

.calendar-item span {
  font-weight: 600;
  font-size: 14px;
}

.calendar-info {
  font-size: 15px;
  font-weight: 600;
  color: #6a563c;
  margin-bottom: 8px;
}


/* ===============================
   Paginacja w chmurze tagów
=============================== */
.tag-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;        /* 🧩 Większy odstęp od tagów */
  padding-top: 8px;
  border-top: 1px dashed #e4dac5;  /* delikatny separator */
}

.tag-pagination a {
  background: #fff;
  border: 1px solid #e4dac5;
  color: #5a402a;
  font-size: 13px;
  padding: 4px 9px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s ease;
  min-width: 26px;
  text-align: center;
}

.tag-pagination a:hover {
  background: #a78b5a;
  color: #fff;
}

.tag-pagination a.active {
  background: #a78b5a;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}



/* Newsletter */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.newsletter-form input[type="email"] {
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.newsletter-form button {
  border: none;
  background: #a78b5a;
  color: #fff;
  font-weight: 600;
  padding: 8px 0;
  border-radius: 8px;
  cursor: pointer;
}
.newsletter-form button:hover {
  background: #8d744e;
}


/* ===============================
   Formularz wyszukiwania
=============================== */
.search-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-form input[type="text"] {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 15px;
}

.search-form input[type="text"]:focus {
  border-color: #a78b5a;
  outline: none;
  box-shadow: 0 0 0 3px rgba(167,139,90,0.2);
}

.search-form button {
  border: none;
  background: #6d3b09;
  color: #fff;
  font-weight: 600;
  padding: 8px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-form button:hover {
  background: #a8611a;
}

/* ===============================
   Listy (kategorie, archiwum)
=============================== */
.sidebar.left .sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar.left .sidebar-list li {
  padding: 6px 0;
}

.sidebar.left .sidebar-list li a {
  text-decoration: none;
  color: #2f2a25;
  transition: color 0.2s ease;
}

.sidebar.left .sidebar-list li a:hover {
  color: #a78b5a;
}



/* ==============================
   STOPKA
============================== */
footer {
    background-color: #a67c52;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    border-top: 3px solid #8b633a;
    max-width: 1200px;
    margin: 40px auto 20px auto;
    border-radius: 8px;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.15);
}

/* ==============================
   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: #fffdf8;
  border: 3px solid #c2a165;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  max-width: 500px;
  width: 90%;
  padding: 25px 30px;
  text-align: center;
  display: none;
  z-index: 9999;
  font-family: "Poppins", sans-serif;
}

.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: 8px 16px;
  border: none;
  border-radius: 5px;
  background-color: #c2a165;
  color: #fff;
  cursor: pointer;
}

.cookie-buttons .reject { background-color: #b84c4c; }
.cookie-buttons .manage { background-color: #6c757d; }
.cookie-buttons button:hover { opacity: 0.9; }

/* ===============================
   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: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tag-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.tag-article-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.tag-article-card h2 {
  font-size: 16px;
  color: #3a332a;
  padding: 10px;
  line-height: 1.4;
}

/* ==============================
   ARTYKUŁY I PAGINACJA
============================== */
.articles-container {
    padding: 10px;
}

.article-card {
    display: flex;
    background: #fff;
    border-radius: 6px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #d2b48c;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.article-card img.thumbnail {
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-right: 1px solid #d2b48c;
}

.article-content {
    padding: 10px 15px;
    flex: 1;
}

.article-content h2 {
    margin-top: 0;
    color: #8b633a;
}

.article-content .meta {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 6px;
}

.read-more {
    color: #004466;
    font-weight: bold;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination .page-link {
    display: inline-block;
    margin: 0 4px;
    padding: 6px 10px;
    background: #a67c52;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}

.pagination .page-link.active {
    background: #8b633a;
}

.main-nav-spichlerz a.active {
  font-weight: bold;
  color: #ffcc33;
  text-decoration: underline;
}

/* === Styl listy artykułów w kategoriach === */
/* ==============================
   DODANO: NOWE MENU GŁÓWNE
   Równe, spokojne i bez rozjeżdżania
============================== */
.main-nav-spichlerz {
  max-width: 1200px;
  margin: 0 auto;
  background: #6d3b09; /* brąz spójny z banerem i stopką */
  border-radius: 0 0 16px 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* DODANO: główna lista menu */
.main-nav-list {
  list-style: none;
  margin: 0;
  padding: 0 18px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  min-height: 64px;
}

/* DODANO: każdy element menu ma tę samą logikę wysokości */
.main-nav-list > .nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

/* DODANO: wspólny wygląd linków i buttonów */
.main-nav-spichlerz .nav-link,
.main-nav-spichlerz .dropbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 64px;
  padding: 0 18px;
  margin: 0; /* DODANO: zerowanie globalnego margin-top z button */
  width: auto; /* DODANO: zerowanie globalnego width:100% */
  border: none;
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 0;
  position: relative;
  appearance: none; /* DODANO: wyrównanie wyglądu buttona */
  -webkit-appearance: none; /* DODANO: dla przeglądarek webkit */
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.main-nav-spichlerz .dropbtn {
  flex: 0 0 auto; /* DODANO: brak rozciągania przycisku */
}

/* DODANO: hover bez cyrku i bez skakania jak pchła po patelni */
.main-nav-spichlerz .nav-link:hover,
.main-nav-spichlerz .dropbtn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* DODANO: aktywna pozycja */
.main-nav-spichlerz .nav-link.active {
  background: rgba(255, 255, 255, 0.10);
}

/* DODANO: dolna kreska dla aktywnego i hover */
.main-nav-spichlerz .nav-link::after,
.main-nav-spichlerz .dropbtn::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  height: 3px;
  border-radius: 999px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.main-nav-spichlerz .nav-link:hover::after,
.main-nav-spichlerz .dropbtn:hover::after,
.main-nav-spichlerz .nav-link.active::after,
.main-nav-spichlerz .dropdown.open .dropbtn::after {
  transform: scaleX(1);
}

/* DODANO: strzałka dropdownu */
.main-nav-spichlerz .nav-arrow {
  font-size: 12px;
  line-height: 1;
  opacity: 0.9;
  transition: transform 0.2s ease;
}

.main-nav-spichlerz .dropdown:hover .nav-arrow,
.main-nav-spichlerz .dropdown.open .nav-arrow {
  transform: rotate(180deg);
}

/* ==============================
   DODANO: DROPDOWN
============================== */
.main-nav-spichlerz .dropdown-content {
  list-style: none;
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  max-width: 320px;
  max-height: 380px;
  overflow-y: auto;
  margin: 0;
  padding: 8px 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
  z-index: 1100;
}

/* DODANO: scrollbar trochę bardziej ludzki */
.main-nav-spichlerz .dropdown-content::-webkit-scrollbar {
  width: 8px;
}

.main-nav-spichlerz .dropdown-content::-webkit-scrollbar-thumb {
  background: #6d3b09;
  border-radius: 999px;
}

.main-nav-spichlerz .dropdown-content li {
  margin: 0;
  padding: 0;
}

.main-nav-spichlerz .dropdown-content a {
  display: block;
  padding: 12px 16px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  white-space: normal;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    padding-left 0.2s ease;
}

.main-nav-spichlerz .dropdown-content a:hover {
  background: var(--surface-2);
  color: var(--brand);
  padding-left: 20px;
}

/* DODANO: desktop hover */
@media (min-width: 993px) {
  .main-nav-spichlerz .dropdown:hover .dropdown-content {
    display: block;
  }
}

/* DODANO: mobile/tablet klik */
.main-nav-spichlerz .dropdown.open .dropdown-content {
  display: block;
}

/* ==============================
   DODANO: TABLET / MOBILE
============================== */
@media (max-width: 992px) {
  .main-nav-spichlerz {
    border-radius: 0 0 14px 14px;
    margin: 0 12px;
  }

  .main-nav-list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 10px;
    min-height: auto;
  }

  .main-nav-list > .nav-item {
    width: 100%;
    display: block;
  }

  .main-nav-spichlerz .nav-link,
  .main-nav-spichlerz .dropbtn {
    width: 100%;
    min-height: 52px;
    justify-content: space-between;
    padding: 0 14px;
    border-radius: 12px;
    text-align: left;
  }

  .main-nav-spichlerz .nav-link::after,
  .main-nav-spichlerz .dropbtn::after {
    left: 14px;
    right: 14px;
    bottom: 7px;
  }

  .main-nav-spichlerz .dropdown-content {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    min-width: 100%;
    max-width: 100%;
    max-height: 260px;
    margin-top: 6px;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  }
}

/* DODANO: bardzo małe ekrany */
@media (max-width: 600px) {
  .main-nav-spichlerz {
    margin: 0 8px;
  }

  .main-nav-list {
    padding: 8px;
  }

  .main-nav-spichlerz .nav-link,
  .main-nav-spichlerz .dropbtn {
    font-size: 14px;
    min-height: 50px;
  }
}


/* ==============================
   WYGLĄD ARTYKUŁÓW W KATEGORIACH
============================== */
/* ==============================
   WYGLĄD LISTY ARTYKUŁÓW
============================== */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Karta artykułu */
.article-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border: 1px solid #d2b48c;
  border-radius: 6px;
  padding: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* --- Fix: wygląd miniatur w wynikach wyszukiwania --- */
.article-thumb {
  flex: 0 0 220px;         /* stała szerokość dla kolumny miniatury */
  overflow: hidden;        /* ukryj nadmiar obrazu */
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ✅ Uniwersalne miniatury – działa zarówno na stronie głównej, jak i w wyszukiwarce */
/* --- Fix: miniatury w wynikach wyszukiwania i listach --- */
.article-item .article-thumb img,
.article-item img.thumb {
  width: 220px !important;
  height: 150px !important;
  object-fit: cover !important;
  border-radius: 6px;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  display: block;
}

/* Tekst obok miniatury */
.article-item .article-content {
  flex: 1;
}


/* Treść artykułu (obok miniatury) */
.article-item .article-content,
.article-info {
  flex: 1;
}

/* Tytuł artykułu */
.article-item h2 {
  margin: 0;
  font-size: 20px;
  color: #8b633a;
}

/* Krótki opis / fragment */
.article-item p {
  margin-top: 8px;
  color: #444;
  line-height: 1.5;
}

/* Link "Czytaj dalej" */
.article-item a.read-more-link,
.article-item a.read-more {
  display: inline-block;
  margin-top: 10px;
  color: #004466;
  text-decoration: none;
  font-weight: bold;
}

.article-item a.read-more-link:hover,
.article-item a.read-more:hover {
  text-decoration: underline;
}


/* ==============================
   STOPKA STRONY — KOMPAKTOWA
============================== */

.site-footer {
    background: #d2b48c;
    color: #2f1e0e;

    /* DODANO: stopka ma taką samą szerokość jak reszta strony */
    max-width: 1200px;
    margin: 40px auto 20px;

    padding: 28px 24px 16px;

    font-size: 14px;
    line-height: 1.5;

    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.footer-container {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
   
    /* DODANO: mniejsze odstępy między kolumnami */
    gap: 24px;
}

.footer-column {
    /* DODANO: kolumny nadal są elastyczne,
       ale zajmują mniej miejsca */
    flex: 1 1 180px;
    min-width: 180px;
}

.footer-column h3,
.footer-column h4 {
    color: #3b2a1a;

    /* DODANO: ciaśniejsze nagłówki */
    margin: 0 0 6px;

    font-size: 16px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    /* DODANO: mniejsze odstępy między linkami */
    margin-bottom: 3px;
}

.footer-column p {
    /* DODANO: usunięcie dużych domyślnych odstępów */
    margin: 3px 0;
}

.footer-column a {
    color: #3b2a1a;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease-in-out;
}

.footer-column a:hover {
    color: #000;
    border-bottom: 1px solid #3b2a1a;
}

.footer-bottom {
    /* DODANO: niższa sekcja praw autorskich */
    margin-top: 18px;
    font-size: 13px;
    letter-spacing: 0.2px;
}
/* 📱 RWD – mniejsze ekrany */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
.article-meta-boxes {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-meta-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 15px;
}

.article-meta-box h4 {
  margin: 0 0 5px 0;
  color: #333;
  font-size: 16px;
}

.ingredients-filter {
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin-top: 20px;
}

.ingredients-filter h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #333;
}

.ingredients-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
}

.ingredient-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.ingredient-item:hover {
  background: #f3f3f3;
}

.ingredient-item input {
  pointer-events: none;
}

.ingredient-item a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
}

.ingredient-item .count {
  color: #666;
  font-size: 13px;
}

.hidden {
  display: none !important;
}

.show-more-container {
  margin-top: 10px;
  text-align: center;
}

.show-more-container button {
  background: none;
  border: none;
  color: #0077cc;
  cursor: pointer;
  font-weight: bold;
}
.show-more-container button:hover {
  text-decoration: underline;
}

/* ===============================
   📜 Polityka prywatności
=============================== */
.privacy-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #f8f4ec;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.7;
    color: #222;
}

.privacy-container h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    color: #1f2937;
    border-bottom: 2px solid #d4b870;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.privacy-container h2 {
    font-size: 1.3rem;
    color: #1f2937;
    margin-top: 35px;
    margin-bottom: 10px;
    border-bottom: 1px solid #d4b870;
    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: #8b5e34;
    text-decoration: none;
}
.privacy-container a:hover {
    text-decoration: underline;
}

.privacy-container .email {
    font-weight: bold;
    color: #1f2937;
}
/* ===============================
   🍪 Sekcja Polityka Cookies
   =============================== */
.cookie-policy-container {
  max-width: 800px;
  margin: 40px auto;
  font-family: Poppins, sans-serif;
  color: #222;
  line-height: 1.6;
}

.cookie-policy-container h1 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 25px;
  color: #1f2937;
}

.cookie-info-box {
  margin-top: 40px;
  padding: 20px;
  background: #f9fafb;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-align: center;
  font-size: 15px;
  color: #333;
}

.cookie-info-box strong {
  color: #1f2937;
}

.cookie-btn {
  margin-top: 10px;
  padding: 8px 14px;
  background: #1f2937;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cookie-btn:hover {
  background: #374151;
}

.cookie-noinfo {
  text-align: center;
  color: #777;
  font-size: 14px;
  margin-top: 20px;
}

/* ===== KOMENTARZE — nowoczesny wygląd ===== */

#comments { margin-top: 28px; }

#comments h3 {
  font-size: 1.25rem;
  margin: 0 0 12px 0;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 8px;
}

#commentsTree { margin-top: 8px; }

/* Karta komentarza */
#comments .comment {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 14px;
  margin: 14px 0;
}

/* nagłówek: avatar + autor + meta */
#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:700;font-size:14px;flex:0 0 auto;
}
#comments .cmt-author { font-weight:700; color:#2b2f33; }
#comments .cmt-meta   { font-size:12px; color:#8a8f94; margin-top:2px; }

/* treść */
#comments .cmt-content {
  margin-top:8px; color:#2f3438; line-height:1.55; white-space:pre-wrap;
}

/* akcje (👍 i ↩ Odpowiedz) */
#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:#6b7280; font-weight:600; 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:700; }
#comments .btn-like.liked{ color:#2563eb; }

/* odpowiedzi – wcięcie */
#comments .comment-children{
  margin-left:48px; border-left:2px solid #efefef; padding-left:16px; margin-top:10px;
}

/* mini formularz odpowiedzi */
#comments .reply-form{ margin-top:10px; display:none; }
#comments .reply-form input[type="text"],
#comments .reply-form textarea{
  width:100%; border:1px solid #e5e7eb; border-radius:10px; padding:8px 10px; font:inherit;
}
#comments .reply-form textarea{ resize:vertical; }
#comments .reply-form button{
  margin-top:8px; border:1px solid #e5e7eb; border-radius:9999px; background:#fff; padding:8px 14px; cursor:pointer; font-weight:700;
}
#comments .reply-form button:hover{ background:#f9fafb; }

/* główny formularz */
#comments .comment-form input[type="text"],
#comments .comment-form textarea{
  width:100%; border:1px solid #e5e7eb; border-radius:10px; padding:10px 12px; font:inherit;
}
#comments .comment-form textarea{ resize:vertical; }
#comments .comment-form button {
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  background: #fff;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 700;
  color: #2b2f33;           /* 🧩 DODANO – ciemny kolor tekstu */
}
#comments .comment-form button:hover {
  background: #f9fafb;
  color: #111;              /* lekko ciemniejszy przy hoverze */
}

#comments .comment-form .hint{ font-size:12px; color:#8a8f94; margin:0; }

/* dostępność */
#comments button:focus-visible, #comments input:focus-visible, #comments textarea:focus-visible{
  outline:2px solid #93c5fd; outline-offset:2px;
}

/* --- Komentarze: formularz --- */
#comments .comment-form {
  display: grid;
  gap: 10px;
  max-width: 700px;
}
#comments .comment-form label {
  display: block;
  font-weight: 600;
  margin: 6px 0 4px;
}
#comments .comment-form input[type="text"],
#comments .comment-form textarea,
#comments .comment-form button {
  width: 100%;
  box-sizing: border-box;   /* ⬅️ nie wyjdzie poza kontener */
  display: block;
}
#comments .comment-form textarea { min-height: 160px; }
#comments .comment-form .row { margin: 0; }     /* na wszelki wypadek */

.flash-popup {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translate(-50%, 40px); /* środek + lekki offset */
  background: #e8f5e9;
  color: #166534;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  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);
}

.article-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 15px auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* ==============================
   Styl formularza kontaktowego
============================== */

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f7f5ef;
  margin: 0;
  padding: 0;
}

.contact-box {
  max-width: 600px;
  background: #fff;
  margin: 60px auto;
  padding: 25px 35px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.contact-box h1 {
  text-align: center;
  color: #3b3b3b;
  margin-bottom: 20px;
}

label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #333;
}

input[type=text],
input[type=email],
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  box-sizing: border-box;
  background: #fff;
  transition: border-color 0.2s ease;
}

input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
  border-color: #007a48;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button {
  display: block;
  width: 100%;
  background: #007a48;
  color: #fff;
  border: none;
  padding: 12px 0;
  font-size: 16px;
  border-radius: 6px;
  margin-top: 15px;
  cursor: pointer;
  transition: background 0.2s ease;
}

button:hover {
  background: #00945b;
}

.success-msg {
  color: #007a48;
  font-weight: bold;
  text-align: center;
  margin-top: 10px;
}

.error-msg {
  color: #b30000;
  font-weight: bold;
  text-align: center;
  margin-top: 10px;
}

.hidden-field {
  display: none;
}

/* ===============================
   📜 Klauzula RODO pod formularzem kontaktowym
   =============================== */
.rodo-info {
  font-size: 12px;                /* 🔹 mniejsza czcionka */
  color: #555;                    /* 🔹 delikatniejszy kolor */
  background: #fafafa;            /* 🔹 subtelne, jasne tło */
  border: 1px solid #e0e0e0;      /* 🔹 lekka ramka */
  border-radius: 6px;
  padding: 10px 12px;
  margin-top: 15px;
  line-height: 1.45;
}

.rodo-info strong {
  color: #333;
  font-weight: 600;
}

.rodo-info a {
  color: #1f2937;
  text-decoration: underline;
}

.rodo-info a:hover {
  text-decoration: none;
  color: #000;
}

/* 🔹 Styl dla checkboxa z akceptacją RODO */
.checkbox-rodo {
  display: block;
  font-size: 12px;
  color: #555;
  margin-top: 10px;
  user-select: none;
}

.checkbox-rodo input[type="checkbox"] {
  transform: scale(1.1);
  margin-right: 6px;
  cursor: pointer;
}

.rodo-checkbox {
  margin: 15px 0;
  font-size: 14px;
  line-height: 1.5;
}

.rodo-checkbox input[type="checkbox"] {
  margin-right: 8px;
}

.rodo-checkbox a {
  color: #007a48;
  text-decoration: underline;
}

.rodo-checkbox a:hover {
  color: #00945b;
}

/* === 📅 KALENDARZ DNIA === */
.calendar-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 15px;
  margin-top: 20px;
}

.calendar-box .sidebar-title {
  color: #1e3a8a;
  font-size: 16px;
  margin-bottom: 10px;
}

.calendar-box .calendar-item {
  font-size: 14px;
  margin: 6px 0;
  line-height: 1.4;
}

.calendar-box .calendar-item {
  display: block;              /* wymusza zawijanie tekstu */
  font-size: 14px;
  margin: 8px 0;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.calendar-box strong {
  display: block;
  color: #1f2937;
  margin-bottom: 2px;
}

.calendar-box .days-left {
  display: inline-block;
  margin-left: 5px;
  font-size: 13px;
  color: #64748b;
}



/* ==============================
   Responsywność
============================== */
@media (max-width: 768px) {
  .contact-box {
    margin: 30px 15px;
    padding: 20px;
  }
  button {
    font-size: 15px;
  }
}



/* ==============================
   RESPONSYWNOŚĆ
============================== */
@media (max-width: 992px) {
    .banner-spichlerz {
        height: 300px;
    }
    .banner-logo img {
        height: 180px;
    }
    .banner-logo {
        left: 10%;
    }
    .main-nav-spichlerz ul {
        flex-direction: column;
        align-items: center;
    }
    .main-nav-spichlerz a {
        display: block;
        text-align: center;
        width: 100%;
        padding: 12px;
    }
    .layout {
        grid-template-columns: 1fr; /* jedna kolumna na mniejszych ekranach */
    }
}

@media (max-width: 600px) {
    .banner-spichlerz {
        height: 200px;
    }
    .banner-logo img {
        height: 120px;
    }
    .banner-logo {
        left: 10%;
    }
}

/* mobile */
@media (max-width:640px){
  #comments .comment-children{ margin-left:24px; padding-left:12px; }
}
/* ===============================
   📱 Responsywność sidebaru (mobile)
=============================== */
@media (max-width: 768px) {

  /* Uproszczenie layoutu – elementy boczne pełna szerokość */
  .sidebar {
    padding: 12px;
    border-radius: 10px;
    box-shadow: none;
    background: #fff;
    border: none;
  }

  .sidebar-box {
    border-left: 3px solid #a78b5a;
    padding: 12px 14px;
    margin-bottom: 16px;
  }

  /* 🔹 Obrazki w popularnych i losowych przepisach */
  .mini-article img,
  .random-article img {
    width: 100%;
    max-width: 120px;   /* ✅ ogranicza szerokość */
    height: auto;
    border-radius: 8px;
  }

  /* 🔹 Ustawienie mini-artykułów poziomo */
  .popular-mini {
    gap: 10px;
  }
  .mini-article {
    flex-direction: row;
    align-items: center;
  }
  .mini-article span {
    font-size: 14px;
  }

  /* 🔹 Losowy przepis – zdjęcie mniejsze, treść bliżej */
  .random-article {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 10px;
  }
  .random-article img {
    width: 100px;
    height: 100px;
    margin-bottom: 0;
  }
  .random-article p,
  .random-article span {
    font-size: 14px;
    line-height: 1.4;
  }

  /* Cytat dnia – zmniejszony padding */
  .quote-box {
    padding: 10px 12px;
  }
  .quote-box blockquote {
    font-size: 13px;
  }
}


/* ===============================
   🧩 OSTATECZNA NAPRAWA MINIATUR
   =============================== */

.article-item.card,
.article-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 20px !important;
  background: #fff !important;
  border: 1px solid #d2b48c !important;
  border-radius: 6px !important;
  padding: 12px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
  margin-bottom: 15px !important;
}

.article-item .article-thumb,
.article-item.card .article-thumb {
  flex: 0 0 220px !important;
  overflow: hidden !important;
  border-radius: 6px !important;
}

.article-item .article-thumb img,
.article-item.card .article-thumb img {
  width: 220px !important;
  height: 150px !important;
  object-fit: cover !important;
  border-radius: 6px !important;
  display: block !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15) !important;
}

.article-item .article-info,
.article-item.card .article-info {
  flex: 1 !important;
}

/* =====================================================
   DEKORACJE SEZONOWE — DOMYŚLNIE UKRYTE
===================================================== */

/* DODANO: żadna dekoracja sezonowa nie pojawia się,
   dopóki aktywny motyw jej nie włączy. */
.seasonal-decorations,
.autumn-decoration,
.autumn-footer-decorations,
.autumn-footer-pumpkins {
    display: none;
}

/* =========================================================
   KALENDARZ RETRO - KALENDARZ1.WEBP
   ========================================================= */


/* DODANO: główny kontener kalendarza */
.retro-calendar {
    position: relative;

    width: 100%;
    max-width: 285px;

    /* DODANO: wysokość odpowiada wydłużonej kartce */
    height: 390px;

    margin: 18px auto 20px;

    /* DODANO: wydłużona grafika kalendarza jako tło */
    background-image: url("../img/kalendarz1.webp");
    background-repeat: no-repeat;
    background-position: center top;

    /*
     * DODANO:
     * Grafika mieści się w całości w szerokości kontenera.
     * Nie powiększamy jej jak poprzedniej wersji.
     */
    background-size: 130% 390px;

    font-family: Georgia, "Times New Roman", serif;
}


/* =========================================================
   WARSTWA TREŚCI
   ========================================================= */

/* DODANO: warstwa tekstowa na powierzchni kartki */
.retro-calendar-content {
    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 370px;

    margin: 0;
    padding: 0;

    text-align: center;

    color: #33271d;
}


/* =========================================================
   DZIEŃ TYGODNIA
   ========================================================= */

/* DODANO: dzień tygodnia */
.retro-calendar-weekday {
    position: absolute;

    top: 68px;
    left: 35px;
    right: 35px;

    margin: 0;
    padding: 0;

    font-size: 19px;
    line-height: 1;

    font-weight: 700;
    letter-spacing: 0.5px;

    color: #33271d;
}


/* =========================================================
   NUMER DNIA
   ========================================================= */

/* DODANO: duża czerwona cyfra */
.retro-calendar-day {
    position: absolute;

    top: 79px;
    left: 0;
    right: 0;

    margin: 0;
    padding: 0;

    font-size: 62px;
    line-height: 1;

    font-weight: 700;

    color: #a6231c;
}


/* =========================================================
   MIESIĄC
   ========================================================= */

/* DODANO: miesiąc */
.retro-calendar-month {
    position: absolute;

    top: 160px;
    left: 20px;
    right: 20px;

    margin: 0;
    padding: 0;

    font-size: 19px;
    line-height: 1;

    font-weight: 700;
    letter-spacing: 0.7px;

    color: #33271d;
}


/* =========================================================
   ROK
   ========================================================= */

/* DODANO: rok */
.retro-calendar-year {
    position: absolute;

    top: 180px;
    left: 0;
    right: 0;

    margin: 0;
    padding: 0;

    font-size: 12px;
    line-height: 1;

    color: #5d4b3d;
}


/* =========================================================
   IMIENINY
   ========================================================= */

/* DODANO: imieniny w środkowo-dolnej części papieru */
.retro-calendar-namedays {
    position: absolute;

    top: 200px;
    left: 35px;
    right: 35px;

    margin: 0;
    padding-top: 7px;

    border-top: 1px solid rgba(87, 63, 43, 0.30);

    font-size: 15px;
    line-height: 1.2;

    color: #8f211a;
}


/* DODANO: napis IMIENINY */
.retro-calendar-namedays strong {
    display: block;

    margin: 0 0 4px;
    padding: 0;

    font-size: 11px;
    line-height: 1;

    font-weight: 700;

    text-transform: uppercase;

    color: #33271d;
}


/* =========================================================
   ŚWIĘTA / OKAZJE
   ========================================================= */

/* DODANO: miejsce na święto danego dnia */
.retro-calendar-holidays {
    position: absolute;

    top: 260px;
    left: 30px;
    right: 30px;

    margin: 0;
    padding: 0;

    font-size: 14px;
    line-height: 1.15;

    font-weight: 700;

    color: #8f211a;
}


/* DODANO: odstęp między kilkoma świętami */
.retro-calendar-holidays > div + div {
    margin-top: 3px;
}


/* =========================================================
   STRZAŁKI
   ========================================================= */

/* DODANO: nawigacja na dole kartki */
.retro-calendar-navigation {
    position: absolute;

    top: 320px;
    left: 35px;
    right: 35px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    margin: 0;
    padding: 0;
}

/* DODANO: wygląd strzałek kalendarza po zmianie linków na przyciski */
button.retro-calendar-arrow {
    display: flex;

    align-items: center;
    justify-content: center;

    /* DODANO: stały rozmiar strzałki */
    width: 30px;
    min-width: 30px;
    max-width: 30px;

    height: 30px;
    min-height: 30px;

    /* DODANO: nadpisuje ogólne style przycisków strony */
    margin: 0;
    padding: 0;

    /* DODANO: przycisk nie rozciąga się we flexie */
    flex: 0 0 30px;

    border: 1px solid rgba(100, 69, 42, 0.35);
    border-radius: 50%;

    background: rgba(255, 248, 225, 0.78);

    color: #8f211a;

    text-decoration: none;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;

    /* DODANO: usuwamy domyślny wygląd systemowego buttona */
    appearance: none;
    -webkit-appearance: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

/* DODANO: efekt po najechaniu na strzałkę */
button.retro-calendar-arrow:hover {
    transform: scale(1.08);

    background: rgba(255, 248, 225, 0.96);

    color: #681712;

    text-decoration: none;
}

/* DODANO: delikatny efekt podczas kliknięcia strzałki */
button.retro-calendar-arrow:active {
    transform: scale(0.95);
}

/* DODANO:
   Wygląd strzałki podczas krótkiego pobierania nowej daty przez AJAX */
button.retro-calendar-arrow:disabled {
    opacity: 0.55;
    cursor: default;
}

/* DODANO: etykieta najbliższej okazji */
.retro-calendar-next-label {
    font-size: 9px;
    text-transform: uppercase;
    color: #6d5543;
}


/* DODANO: nazwa najbliższego święta */
.retro-calendar-next-name {
    margin-top: 2px;

    font-size: 13px;
    font-weight: 700;

    color: #8f211a;
}


/* DODANO: informacja, za ile dni wypada okazja */
.retro-calendar-days-left {
    margin-top: 2px;

    font-size: 11px;
    font-weight: 400;

    color: #6d5543;
}