/* 1. Poszerzenie otwartego artykułu oraz głównego kontenera szablonu J51 - Skylar */
.wrapper960,
.content_wrapper {
  max-width: 1240px !important;
  width: 94% !important;
}

.com-content-article,
.item-page {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.75;
  color: #2b2b2b;
}

.com-content-article p,
.item-page p {
  margin-bottom: 1.35em;
}

/* 2. Zielone ramki dla cytatów zamienionych ze starych kodów [yt_blockquote] */
blockquote.yt-quote {
  border-left: 4px solid #006400 !important;
  color: #069619 !important;
  background-color: #f4fbf5 !important;
  padding: 15px 20px !important;
  margin: 20px 0 !important;
  font-style: italic;
}

/* 3. Duże ozdobne inicjały na początku akapitu */
.dropcap {
  float: left;
  font-size: 3.2em;
  line-height: 0.85;
  padding-right: 10px;
  font-weight: bold;
}

/* 4. Podwójna linia oddzielająca wszystkie artykuły na liście (kategorie i strona główna) */
.blog-featured .blog-item,
.blog-items .blog-item,
.com-content-category-blog__item,
.com-content-featured__item,
.items-leading > div,
.items-row > div,
.items-row .item,
article {
  border-bottom: 4px double #777777 !important;
  padding-bottom: 28px !important;
  margin-bottom: 34px !important;
}

/* 5. Zabezpieczenie przed zachodzeniem wystających zdjęć na kolejny artykuł (clearfix) */
.blog-featured .blog-item::after,
.blog-items .blog-item::after,
.com-content-category-blog__item::after,
.com-content-featured__item::after,
.items-leading > div::after,
.items-row > div::after,
.items-row .item::after,
article::after {
  content: "";
  display: block;
  clear: both;
}

/* 6. Twarde wyśrodkowanie sekcji komentarzy (nawet przy niedomkniętych tagach HTML w starym artykule) */
[class*="comment"],
[id*="comment"],
#comments-form,
.comments-section {
  max-width: 780px !important;
  width: 94% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  clear: both !important;
}

/* 7. Ramka formularza komentarzy w stylu dawnego JComments */
[class*="comment"] form,
[id*="comment"] form {
  background-color: #f7f7f7 !important;
  border: 1px solid #d5d5d5 !important;
  border-radius: 4px !important;
  padding: 20px 25px !important;
  margin: 25px 0 !important;
}

/* 8. Pola Imię i E-mail jedno pod drugim z lewej strony */
[class*="comment"] .row > div,
[class*="comment"] [class*="col-"],
[id*="comment"] .row > div,
[id*="comment"] [class*="col-"] {
  width: 100% !important;
  max-width: 420px !important;
  flex: 0 0 100% !important;
  display: block !important;
  margin-bottom: 10px !important;
}

[class*="comment"] textarea,
[id*="comment"] textarea {
  min-height: 120px !important;
  width: 100% !important;
  background-color: #ffffff !important;
  border: 1px solid #cccccc !important;
}

/* 9. Przycisk wysyłania komentarza */
[class*="comment"] button[type="submit"],
[class*="comment"] input[type="submit"],
[id*="comment"] button[type="submit"] {
  background-color: #3b5998 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 8px 20px !important;
  line-height: 1.4 !important;
  height: auto !important;
  border-radius: 3px !important;
}

/* Estetyczne ramki z tytułem i linkiem (zamienione ze starych kodów [yt_tabs]) */
.yt-tab-box {
  background-color: #f7f7f7;
  border: 1px solid #d5d5d5;
  border-top: 3px solid #666666;
  border-radius: 5px;
  padding: 15px 18px;
  margin: 15px 0;
}

.yt-tab-title {
  margin: 0 0 8px 0 !important;
  font-size: 1.05rem !important;
  font-weight: bold !important;
  color: #222222 !important;
}

/* Dopasowanie szerokości tabeli z ramkami do szarego tła artykułu */
table:has(.yt-tab-box) {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
}

table:has(.yt-tab-box) td {
  width: 33.33% !important;
  padding: 6px !important;
  vertical-align: stretch !important;
  box-sizing: border-box !important;
}

/* Równe ramki mieszczące się idealnie wewnątrz szarego tła */
.yt-tab-box {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  box-sizing: border-box !important;
  background-color: #f7f7f7 !important;
  border: 1px solid #d5d5d5 !important;
  border-top: 3px solid #666666 !important;
  border-radius: 5px !important;
  padding: 12px 10px !important;
  margin: 0 !important;
  word-wrap: break-word !important;
}

.yt-tab-title {
  margin: 0 0 8px 0 !important;
  font-size: 1rem !important;
  font-weight: bold !important;
  color: #222222 !important;
}

/* Na telefonach trzy ramki układają się jedna pod drugą na pełną szerokość */
@media (max-width: 768px) {
  table:has(.yt-tab-box),
  table:has(.yt-tab-box) tbody,
  table:has(.yt-tab-box) tr,
  table:has(.yt-tab-box) td {
    display: block !important;
    width: 100% !important;
  }
}

/* Globalny wygląd wszystkich ramek cytatów (.ramka-cytat) */
.ramka-cytat {
  background-color: #f4fbf5 !important;
  border: 2px solid #006400 !important;
  border-left: 6px solid #006400 !important;
  border-radius: 6px !important;
  padding: 18px 22px !important;
  margin: 10px 0 15px 20px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  box-sizing: border-box !important;
}

/* Ujednolicenie tekstu wewnątrz ramki (nadpisanie starych rozmiarów i czcionek) */
.ramka-cytat p,
.ramka-cytat span {
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
  color: #1f3a24 !important;
  margin-bottom: 10px !important;
}

/* Podpis autora (- Swoimi Słowami :) wyrównany elegancko do prawej */
.ramka-cytat cite,
.ramka-cytat cite span {
  display: block !important;
  text-align: right !important;
  font-size: 0.95rem !important;
  font-style: italic !important;
  color: #006400 !important;
  margin-top: 8px !important;
}

/* Zabezpieczenie na telefony, aby tabelka 450px nie rozpychała ekranu */
@media (max-width: 768px) {
  table:has(.ramka-cytat) {
    width: 100% !important;
    float: none !important;
    margin: 15px 0 !important;
  }
  .ramka-cytat {
    margin-left: 0 !important;
  }
}

/* Równe odstępy wokół całej tabelki z cytatem (góra, dół, lewa i prawa krawędź) */
table:has(.ramka-cytat) {
  margin: 16px 24px !important;
  max-width: calc(100% - 48px) !important;
  box-sizing: border-box !important;
}

/* Zielona ramka idealnie dopasowana do wnętrza tabelki (bez własnych marginesów) */
.ramka-cytat {
  background-color: #f4fbf5 !important;
  border: 2px solid #006400 !important;
  border-left: 6px solid #006400 !important;
  border-radius: 6px !important;
  padding: 18px 22px !important;
  margin: 0 !important;
  width: 100% !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  box-sizing: border-box !important;
}

/* Ujednolicenie czcionki i odstępów wewnątrz cytatu */
.ramka-cytat p,
.ramka-cytat span {
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
  color: #1f3a24 !important;
  margin-bottom: 10px !important;
}

/* Podpis autora wyrównany do prawej */
.ramka-cytat cite,
.ramka-cytat cite span {
  display: block !important;
  text-align: right !important;
  font-size: 0.95rem !important;
  font-style: italic !important;
  color: #006400 !important;
  margin-top: 8px !important;
}

/* Pełna szerokość na telefonach */
@media (max-width: 768px) {
  table:has(.ramka-cytat) {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 16px 0 !important;
  }
}

/* Równe kafelki 3x2 dla losowych artykułów (bottom-2 i bottom-3) */
#bottom-2 .mod-articles,
#bottom-3 .mod-articles,
#bottom-2 ul,
#bottom-3 ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#bottom-2 .mod-articles-item,
#bottom-3 .mod-articles-item,
#bottom-2 li,
#bottom-3 li {
  list-style-type: none !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 430px !important;
  background-color: #ffffff !important;
  border: 1px solid #dcdcdc !important;
  border-radius: 6px !important;
  padding: 18px !important;
  margin-top: 8px !important;
  color: #2b2b2b !important;
  text-align: left !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

/* Wyraźny, ciemny tytuł artykułu */
#bottom-2 .mod-articles-item-title,
#bottom-3 .mod-articles-item-title,
#bottom-2 .mod-articles-item h4 a,
#bottom-3 .mod-articles-item h4 a,
#bottom-2 li > a:first-of-type,
#bottom-3 li > a:first-of-type {
  color: #1f3a24 !important;
  font-size: 1.05rem !important;
  font-weight: bold !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  display: block !important;
  margin-bottom: 10px !important;
}

/* 1. Równe białe karty na całą wysokość kolumny (bottom-2 i bottom-3) */
[id*="bottom2"] .module_surround,
[id*="bottom3"] .module_surround {
  border-bottom: none !important;
  height: 100% !important;
}

[id*="bottom2"] .module_content,
[id*="bottom3"] .module_content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 490px !important;
  height: calc(100% - 40px) !important;
  background-color: #ffffff !important;
  border: 1px solid #dcdcdc !important;
  border-radius: 6px !important;
  padding: 18px !important;
  margin-top: 8px !important;
  color: #2b2b2b !important;
  text-align: left !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
  box-sizing: border-box !important;
}

/* Usunięcie kropki listy punktowanej przy tytule artykułu */
[id*="bottom2"] ul,
[id*="bottom3"] ul,
[id*="bottom2"] li,
[id*="bottom3"] li {
  list-style: none !important;
  list-style-type: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

[id*="bottom2"] li::marker,
[id*="bottom3"] li::marker,
[id*="bottom2"] li::before,
[id*="bottom3"] li::before {
  display: none !important;
  content: none !important;
}

/* 2. Wyraźny, ciemnozielony tytuł wylosowanego artykułu */
[id*="bottom2"] .module_content h4 a,
[id*="bottom3"] .module_content h4 a,
[id*="bottom2"] .module_content li > a:first-child,
[id*="bottom3"] .module_content li > a:first-child {
  color: #1f3a24 !important;
  font-size: 1.05rem !important;
  font-weight: bold !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  display: block !important;
  margin-bottom: 10px !important;
}

/* 3. Idealne wyśrodkowanie kontenera obrazka oraz samego zdjęcia (z odstępem 8px) */
[id*="bottom2"] .module_content figure,
[id*="bottom3"] .module_content figure,
[id*="bottom2"] .module_content .item-image,
[id*="bottom3"] .module_content .item-image,
[id*="bottom2"] .module_content a:has(img),
[id*="bottom3"] .module_content a:has(img),
[id*="bottom2"] .module_content p:has(img),
[id*="bottom3"] .module_content p:has(img) {
  float: none !important;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  margin: 8px 0 !important;
  padding: 0 !important;
}

[id*="bottom2"] .module_content img,
[id*="bottom3"] .module_content img {
  float: none !important;
  display: inline-block !important;
  width: auto !important;
  max-width: calc(100% - 16px) !important;
  height: 185px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  border-radius: 4px !important;
}

/* 4. Jednolity rozmiar czcionki opisu (nadpisuje stare 14pt i 18pt z edytora) */
[id*="bottom2"] .module_content p,
[id*="bottom3"] .module_content p,
[id*="bottom2"] .module_content span,
[id*="bottom3"] .module_content span {
  text-align: left !important;
  font-family: inherit !important;
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
  color: #2b2b2b !important;
  margin-bottom: 12px !important;
}

/* 5. Wyraźny biały napis na niebieskim przycisku Czytaj więcej */
[id*="bottom2"] .readmore a,
[id*="bottom3"] .readmore a,
[id*="bottom2"] a.btn,
[id*="bottom3"] a.btn {
  display: inline-block !important;
  width: auto !important;
  background-color: #2b6cb0 !important;
  color: #ffffff !important;
  font-weight: bold !important;
  padding: 7px 14px !important;
  border-radius: 4px !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
}

/* 6. Dopasowanie logo w lewym górnym rogu */
.logo a img,
.logo img {
  max-height: 44px !important;
  width: auto !important;
  margin-top: 4px !important;
}

/* Uzupełnienie stylu białych kart dla dolnego rzędu w pozycji base-2 */
[id*="base2"] .module_surround {
  border-bottom: none !important;
  height: 100% !important;
}

[id*="base2"] .module_header h3,
[id*="base2"] h3 {
  color: #ffffff !important;
  font-weight: bold !important;
}

[id*="base2"] .module_content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 490px !important;
  height: calc(100% - 40px) !important;
  background-color: #ffffff !important;
  border: 1px solid #dcdcdc !important;
  border-radius: 6px !important;
  padding: 18px !important;
  margin-top: 8px !important;
  color: #2b2b2b !important;
  text-align: left !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
  box-sizing: border-box !important;
}

[id*="base2"] ul,
[id*="base2"] li {
  list-style: none !important;
  list-style-type: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

[id*="base2"] li::marker,
[id*="base2"] li::before {
  display: none !important;
  content: none !important;
}

[id*="base2"] .module_content h4 a,
[id*="base2"] .module_content li > a:first-child {
  color: #1f3a24 !important;
  font-size: 1.05rem !important;
  font-weight: bold !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  display: block !important;
  margin-bottom: 10px !important;
}

[id*="base2"] .module_content figure,
[id*="base2"] .module_content .item-image,
[id*="base2"] .module_content a:has(img),
[id*="base2"] .module_content p:has(img) {
  float: none !important;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  margin: 8px 0 !important;
  padding: 0 !important;
}

[id*="base2"] .module_content img {
  float: none !important;
  display: inline-block !important;
  width: auto !important;
  max-width: calc(100% - 16px) !important;
  height: 185px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  border-radius: 4px !important;
}

[id*="base2"] .module_content p,
[id*="base2"] .module_content span {
  text-align: left !important;
  font-family: inherit !important;
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
  color: #2b2b2b !important;
  margin-bottom: 12px !important;
}

[id*="base2"] .readmore a,
[id*="base2"] a.btn {
  display: inline-block !important;
  width: auto !important;
  background-color: #2b6cb0 !important;
  color: #ffffff !important;
  font-weight: bold !important;
  padding: 7px 14px !important;
  border-radius: 4px !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
}

/* Jeden poziomy wiersz (3 kolumny obok siebie) w sekcji base-1 */
[id*="base1"] .module_header h3,
[id*="base1"] h3 {
  color: #ffffff !important;
  font-weight: bold !important;
  margin-bottom: 16px !important;
}

[id*="base1"] ul,
[id*="base1"] .mod-articles-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

[id*="base1"] ul > li,
[id*="base1"] .mod-articles-grid > div {
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  background-color: #242424 !important;
  border: 1px solid #3c3c3c !important;
  border-radius: 6px !important;
  padding: 16px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

[id*="base1"] ul > li::marker,
[id*="base1"] ul > li::before {
  display: none !important;
  content: none !important;
}

[id*="base1"] ul > li h4 a,
[id*="base1"] ul > li > a:first-child {
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: bold !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  display: block !important;
  margin-bottom: 10px !important;
}

[id*="base1"] ul > li img,
[id*="base1"] .mod-articles-grid img {
  float: none !important;
  width: 100% !important;
  height: 185px !important;
  object-fit: cover !important;
  border-radius: 4px !important;
  margin: 0 0 12px 0 !important;
  display: block !important;
}

[id*="base1"] ul > li p,
[id*="base1"] ul > li span,
[id*="base1"] .mod-articles-grid p {
  color: #dddddd !important;
  font-size: 0.92rem !important;
  line-height: 1.5 !important;
  text-align: left !important;
  margin-bottom: 12px !important;
}

[id*="base1"] .readmore a,
[id*="base1"] a.btn {
  display: inline-block !important;
  width: auto !important;
  background-color: #2b6cb0 !important;
  color: #ffffff !important;
  font-weight: bold !important;
  padding: 7px 14px !important;
  border-radius: 4px !important;
  font-size: 0.88rem !important;
  text-decoration: none !important;
}

@media (max-width: 768px) {
  [id*="base1"] ul,
  [id*="base1"] .mod-articles-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Automatyczny klikalny tytuł kategorii w modułach Artykuły */
.modul-kategoria-link {
  margin: 0 0 10px 0 !important;
  font-size: 1.2rem !important;
  font-weight: bold !important;
  line-height: 1.3 !important;
}

.modul-kategoria-link a {
  text-decoration: none !important;
}

.modul-kategoria-link a:hover {
  text-decoration: underline !important;
}

[id*="bottom2"] .modul-kategoria-link a {
  color: #1f3a24 !important;
}

[id*="base1"] .modul-kategoria-link a,
[id*="base2"] .modul-kategoria-link a {
  color: #ffffff !important;
}

/* Automatyczny klikalny tytuł kategorii w modułach Artykuły */
.modul-kategoria-link {
  margin: 0 0 10px 0 !important;
  font-size: 1.25rem !important;
  font-weight: bold !important;
  line-height: 1.3 !important;
  display: block !important;
}

.modul-kategoria-link a,
h3.modul-kategoria-link a {
  text-decoration: none !important;
  color: #ffffff !important;
}

/* Ciemnozielony kolor nagłówka tylko w jasnej górnej sekcji bottom-2 */
[id*="bottom2"] .modul-kategoria-link a,
[id*="bottom-2"] .modul-kategoria-link a,
.bottom-2 .modul-kategoria-link a {
  color: #1f3a24 !important;
}

.modul-kategoria-link a:hover,
h3.modul-kategoria-link a:hover {
  text-decoration: underline !important;
  opacity: 0.9 !important;
}

/* Usunięcie jasnej kropki listy przed tytułem artykułu wewnątrz kart */
.module_content ul,
.module_content li {
  list-style: none !important;
  list-style-type: none !important;
}

/* Wyniesienie automatycznego nagłówka kategorii nad białą kartę */
[id*="bottom2"] .module_content,
[id*="base1"] .module_content,
[id*="base2"] .module_content {
  position: relative !important;
  margin-top: 38px !important;
}

.modul-kategoria-link {
  position: absolute !important;
  top: -34px !important;
  left: 0 !important;
  margin: 0 !important;
  font-size: 1.2rem !important;
  font-weight: bold !important;
}

/* Pozioma siatka 3 artykułów obok siebie na ciemnym tle dla sekcji bottom-1 (Filmowa) */
[id*="bottom1"] .module_content {
  position: relative !important;
  margin-top: 38px !important;
}

[id*="bottom1"] .modul-kategoria-link a {
  color: #ffffff !important;
  text-decoration: none !important;
}

[id*="bottom1"] ul,
[id*="bottom1"] .mod-articles-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

[id*="bottom1"] ul > li,
[id*="bottom1"] .mod-articles-grid > div {
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  background-color: #242424 !important;
  border: 1px solid #3c3c3c !important;
  border-radius: 6px !important;
  padding: 16px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

[id*="bottom1"] ul > li::marker,
[id*="bottom1"] ul > li::before {
  display: none !important;
  content: none !important;
}

[id*="bottom1"] ul > li h4 a,
[id*="bottom1"] ul > li > a:first-child {
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: bold !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  display: block !important;
  margin-bottom: 10px !important;
}

[id*="bottom1"] ul > li img,
[id*="bottom1"] .mod-articles-grid img {
  float: none !important;
  width: 100% !important;
  height: 185px !important;
  object-fit: cover !important;
  border-radius: 4px !important;
  margin: 0 0 12px 0 !important;
  display: block !important;
}

[id*="bottom1"] ul > li p,
[id*="bottom1"] ul > li span,
[id*="bottom1"] .mod-articles-grid p {
  color: #dddddd !important;
  font-size: 0.92rem !important;
  line-height: 1.5 !important;
  text-align: left !important;
  margin-bottom: 12px !important;
}

[id*="bottom1"] .readmore a,
[id*="bottom1"] a.btn {
  display: inline-block !important;
  width: auto !important;
  background-color: #2b6cb0 !important;
  color: #ffffff !important;
  font-weight: bold !important;
  padding: 7px 14px !important;
  border-radius: 4px !important;
  font-size: 0.88rem !important;
  text-decoration: none !important;
}

@media (max-width: 768px) {
  [id*="bottom1"] ul,
  [id*="bottom1"] .mod-articles-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Wymuszenie pełnej szerokości (100%) dla jedynego modułu w sekcji bottom-3a */
[id*="bottom3"] .wrapper960,
[id*="bottom3"] .module_block,
[id*="bottom3"] .bottom-3a,
[id*="bottom3"] [class*="bottom-3"] {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

/* Ukrycie pustych kolumn obok (bottom-3b..3f) */
[id*="bottom3"] .bottom-3b,
[id*="bottom3"] .bottom-3c,
[id*="bottom3"] .bottom-3d,
[id*="bottom3"] .bottom-3e,
[id*="bottom3"] .bottom-3f {
  display: none !important;
}

/* Karuzela cytatów obok siebie (3 karty w rzędzie) */
[id*="top1"] .module_content,
[id*="top2"] .module_content,
[id*="showcase"] .module_content,
[id*="contenttop"] .module_content,
[id*="bottom3"] .module_content {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 8px 0 !important;
  overflow: hidden !important;
}

[id*="top1"] ul, [id*="top2"] ul, [id*="showcase"] ul, [id*="contenttop"] ul, [id*="bottom3"] ul {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 20px !important;
  list-style: none !important;
  padding: 4px 2px !important;
  margin: 0 !important;
  transition: transform 3.2s ease-in-out;
}

/* Pojedyncza karta cytatu (3 obok siebie na komputerze) */
[id*="top1"] ul > li, [id*="top2"] ul > li, [id*="showcase"] ul > li, [id*="contenttop"] ul > li, [id*="bottom3"] ul > li {
  flex: 0 0 calc(33.333% - 14px) !important;
  max-width: calc(33.333% - 14px) !important;
  background-color: #f7f9f7 !important;
  border: 1px solid #d8e2d8 !important;
  border-top: 4px solid #2e6f40 !important;
  border-radius: 6px !important;
  padding: 12px 18px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}

[id*="top1"] li::after, [id*="top2"] li::after, [id*="showcase"] li::after, [id*="contenttop"] li::after, [id*="bottom3"] li::after,
[id*="top1"] li::before, [id*="top2"] li::before, [id*="showcase"] li::before, [id*="contenttop"] li::before, [id*="bottom3"] li::before,
[id*="top1"] li::marker, [id*="top2"] li::marker, [id*="showcase"] li::marker, [id*="contenttop"] li::marker, [id*="bottom3"] li::marker {
  display: none !important;
  content: none !important;
}

/* Zgrabna miniaturka okładki/zdjęcia na górze karty cytatu */
[id*="top1"] ul > li img, [id*="top2"] ul > li img, [id*="showcase"] ul > li img, [id*="contenttop"] ul > li img, [id*="bottom3"] ul > li img {
  max-height: 110px !important;
  width: auto !important;
  margin: 0 auto 10px auto !important;
  display: block !important;
  border-radius: 4px !important;
}

/* Treść cytatu */
[id*="top1"] ul > li p, [id*="top2"] ul > li p, [id*="showcase"] ul > li p, [id*="contenttop"] ul > li p, [id*="bottom3"] ul > li p,
[id*="top1"] ul > li span, [id*="top2"] ul > li span, [id*="showcase"] ul > li span, [id*="contenttop"] ul > li span, [id*="bottom3"] ul > li span {
  font-family: Georgia, serif !important;
  font-size: 0.98rem !important;
  font-style: italic !important;
  line-height: 1.5 !important;
  color: #222222 !important;
  text-align: center !important;
  margin-bottom: 10px !important;
}

/* Autor / tytuł książki */
[id*="top1"] ul > li h4, [id*="top2"] ul > li h4, [id*="showcase"] ul > li h4, [id*="contenttop"] ul > li h4, [id*="bottom3"] ul > li h4,
[id*="top1"] ul > li > a:first-child, [id*="top2"] ul > li > a:first-child, [id*="showcase"] ul > li > a:first-child, [id*="contenttop"] ul > li > a:first-child, [id*="bottom3"] ul > li > a:first-child {
  display: block !important;
  text-align: center !important;
  font-size: 0.88rem !important;
  font-weight: bold !important;
  color: #2e6f40 !important;
  text-decoration: none !important;
  margin-bottom: 8px !important;
}

[id*="top1"] .modul-kategoria-link, [id*="top2"] .modul-kategoria-link, [id*="showcase"] .modul-kategoria-link, [id*="contenttop"] .modul-kategoria-link, [id*="bottom3"] .modul-kategoria-link {
  display: none !important;
}

@media (max-width: 768px) {
  [id*="top1"] ul > li, [id*="top2"] ul > li, [id*="showcase"] ul > li, [id*="contenttop"] ul > li, [id*="bottom3"] ul > li {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

#moj-slider-zdjec .pionowa-tasma img {
  border: 2px solid #ffffff !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15) !important;
}


#/* Obniżenie ikon społecznościowych w header-2 na białe tło */
#header-2,
.header-2 {
  top: 32px !important;
  bottom: auto !important;
  padding-top: 24px !important;
}

/* Zwarta wysokość kart Złote Cytaty */
[id*="top1"] ul, [id*="top2"] ul, [id*="showcase"] ul, [id*="contenttop"] ul, [id*="bottom3"] ul {
  min-height: 0 !important;
  height: auto !important;
  align-items: stretch !important;
}

[id*="top1"] ul > li, [id*="top2"] ul > li, [id*="showcase"] ul > li, [id*="contenttop"] ul > li, [id*="bottom3"] ul > li {
  min-height: 0 !important;
  height: auto !important;
  justify-content: flex-start !important;
  padding: 12px 18px !important;
}
