/* ---------------- RESET ---------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* ---------------- BODY ---------------- */
body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #bdc9f0, #9fd660);
  background-attachment: fixed;
  user-select: none;
}

/* ---------------- WRAPPER ---------------- */
.wrapper {
    width: 90%;
    margin: 0 auto;
    max-width: 1400px;
}

/* ---------------- HEADER ---------------- */
header {
  background: #dcf5af;
  color: #ff0e0e;
  padding: 20px;
  margin-bottom: 20px;
  position: relative; /* potrzebne do pasków gradientowych */
  font-weight: 600;
  width: 100%;
  max-width: 1400px;
}

/* Gradientowe linie u góry i dołu nagłówka */
header::before,
header::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #fbff07 0%, #319603 50%, #fbff07 100%);
  background-size: 200% 100%;
  animation: pulseGradient 5s linear infinite;
}

header::before { top: 0; }
header::after { bottom: 0; }

/* Kontener dwóch boxów obok siebie */
.header-content {
  font-family: "Bebas Neue", sans-serif;
  display: flex;
  justify-content: center;
  gap: 5%;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
}

/* Lewy box – tekst */
.left-box h1 {
  font-size: 24px;
  margin-bottom: 5px;
}
.left-box p {
  font-family: "Poppins", sans-serif;
  font-size: 26px;
  margin: 2px 0;
}

/* Prawy box logo */
.right-box img,
.right-right-box img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
}

/* Menu poniżej nagłówka */
nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
  position: sticky;
  top: 0;
  z-index: 3000; /* ponad resztą */
}

nav.faded {
  opacity: 0.7;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(3px);
}

nav a {
  display: inline-block;
  padding: 10px 15px;
  background: linear-gradient(135deg, #a8d8aa, #4fd44a);
  color: #141fb9;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
}

nav a:hover {
  background: linear-gradient(135deg, #66BB6A, #228B22);
  color: #fff;
}

h3.center-title {
    margin: 20px 0;
    text-align: center;
}

/* Efekt do napisu */
h3 {
    font-family: "Poppins", sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    background: linear-gradient(
      90deg,
      #0ec507 0%,
      #079b01 40%,
      #22cc1c 60%,
      #066d03 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    opacity: 0;
    animation: fadeIn 1.2s ease-out forwards, slideAccent 4s ease-in-out infinite;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideAccent {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}

h4 {
  padding: 15px 0 15px 0;
  text-align: center;
  font-size: 1.5rem;
  color: #066d03;
}

/* ---------------- INFORMAJCIJNY PASEK ---------------- */

.info-bar {
  position: relative;
  overflow: hidden;
  height: 40px;
  max-width: 90%;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 0 0 3px #141fb9;
  font-size: 34px;
  font-weight: bold;
  color: #244d02;
  white-space: nowrap;
}

/* --- WRAPPER DO CENTROWANIA Y --- */
.marquee-y {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
}

/* --- RUCH X --- */
.marquee-x {
  display: inline-block;
  will-change: transform;
}

/* ---------------- TREŚĆ ---------------- */

.slide-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.slide-list li {
  opacity: 0;
  transform: translateX(-150px);
  transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  margin: 5px 0;
}

.slide-list li.visible {
  opacity: 1;
  transform: translateX(0);
}


.container { 
  display: flex; 
  gap: 20px;
  margin-top: 20px; 
}

.articles { 
  flex: 3; 
  text-align: center;
  display: flex; 
  flex-direction: column; 
  gap: 20px; 
}

.info-card > p {
  text-align: center;
}

.info-card, .article-card, .contact-card {
  background: #fcfffa;
  padding: 20px;
  border-radius: 12px;
  border-left: 5px solid #fbff03;
  position: relative;
  text-align: justify;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease, padding-bottom 0.4s ease, border 0.4s ease;
  will-change: transform, box-shadow, padding-bottom, border;
  border: 2px solid transparent;
}

.article-card:hover {
  padding-bottom: 35px;
  transform: translateY(10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  border: 4px solid #fbff03;
}

.article-card::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: calc(100% - 20px);
  height: 20px;
  background: rgba(0,0,0,0.08);
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: -1;
}

.article-card:hover::after {
  opacity: 1;
  transform: translateY(5px);
}

.notifications {
  flex: 1;
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-left: 5px solid #fbff03;
}

.download-section {
  text-align: center;
  margin-top: 20px;
}

.download-link {
  display: inline-block;
  padding: 12px 25px;
  background: #4CAF50;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s;
  margin: 10px;
}

.download-link:hover {
  background: #45a049;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
  margin-top: 24px;
  justify-items: center;
}

.gallery img {
  width: 100%;
  height: 100%;           
  object-fit: contain;     
  border-radius: 14px;
  background: #f3f3f3;     
  padding: 6px;   

  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery img:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 14px 28px rgba(0,0,0,0.25);
}

/* Dotyczy zakładki aktualności */

.article-card {
  text-align: center;
}

.article-card .oppen_article {
  display: inline-block;
  padding: 14px 36px;
  margin: 0 auto;

  background: linear-gradient(135deg, #66BB6A, #228B22);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;

  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);

  transition: background 0.25s ease,
              transform 0.25s ease,
              box-shadow 0.25s ease;
}

/* MOBILE */
@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
    justify-items: center;
  }

  .gallery img {
    padding: 4px;
    border-radius: 10px;
  }
}

/* ---------------- Accordion ---------------- */
.accordion {
  width: 100%;
  flex: 3;
  max-width: 990px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.acc-item {
  background: #ffffff;
  border-radius: 12px;
  border-left: 5px solid #fbff03;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: box-shadow .4s ease, transform .4s ease;
}

.acc-item:hover {
  transform: scale(1.01);
  box-shadow: 0 16px 30px rgba(0,0,0,0.18);
}

.acc-title {
  background: white;
  color: #030200;
  padding: 16px 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background .3s ease;
}

.acc-title:hover {
  background: linear-gradient(135deg, #66BB6A, #228B22);
  color: #fff;
}

.acc-arrow {
  transition: transform .3s ease;
  font-size: 1.2rem;
}

.acc-item.active .acc-arrow {
  transform: rotate(90deg);
}

.acc-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: #fff;
  transition: max-height .4s ease, padding .4s ease;
}

.acc-item.active .acc-content {
  max-height: 300px;
  padding: 20px;
}

.acc-content p {
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

/* ---------------- Kontakt ---------------- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.map iframe {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    border: 0;
}

.form-box input,
.form-box textarea {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    border-radius: 8px;
    border: 2px solid #c7e3c7;
    background: #fff;
    font-size: 16px;
}

.form-box input:focus,
.form-box textarea:focus {
    border-color: #4fd44a;
    outline: none;
}

.form-box button {
    margin-top: 18px;
    padding: 12px 22px;
    background: linear-gradient(135deg, #66BB6A, #228B22);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
}

.form-box button:hover {
    background: linear-gradient(135deg, #4CAF50, #1e7e1e);
}

#errorMsg {
    color: red;
    margin-top: 10px;
    font-weight: bold;
    display: none;
}

.switch {
    display: flex;
    align-items: center;
    margin-top: 15px;
    font-size: 14px;
    cursor: pointer;
}

.switch input { display: none; }

.slider {
    position: relative;
    width: 54px;
    height: 26px;
    background-color: #ccc;
    border-radius: 34px;
    margin-right: 10px;
    transition: 0.4s;
}

.slider::before {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    left: 2px;
    top: 2px;
    background-color: white;
    border-radius: 50%;
    transition: 0.4s;
}

input:checked + .slider {
    background-color: #4CAF50;
}

input:checked + .slider::before {
    transform: translateX(28px);
}

/* ---------------- Stopka ---------------- */
footer {
  width: 100%;
  padding: 40px 0;
  display: flex;
  justify-content: center;
}

.footer-box.full-footer {
  width: 100%;
  max-width: 1400px;
  padding: 30px 20px;
  margin: 0 auto;
  background: #dcf5af;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.footer-box.full-footer::before,
.footer-box.full-footer::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #fbff07 0%, #319603 50%, #fbff07 100%);
  background-size: 200% 100%;
  animation: pulseGradient 5s linear infinite;
}

.footer-box.full-footer::before { top: 0; }
.footer-box.full-footer::after { bottom: 0; }

.footer-box.full-footer p,
.footer-box.full-footer span {
  background: linear-gradient(
    90deg,
    #0ec507 0%,
    #079b01 40%,
    #22cc1c 60%,
    #066d03 100%
  );
  -webkit-background-clip: text;
  color: transparent;
  font-size: 16px;
  z-index: 2;
  margin: 6px 0;
  font-weight: 700;
  transition: color 0.3s ease;
}

.footer-box.full-footer p:hover,
.footer-box.full-footer span:hover {
  color: #fd0202;
}

/* ---------------- MOBILE MENU ---------------- */
.menu-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  margin-top: 10px;
  padding: 10px 15px;
  background: #4CAF50;
  border-radius: 5px;
  z-index: 1002;
  position: relative;
}
.menu-text { color: white; font-size: 18px; font-weight: bold; }
.arrow { font-size: 24px; color: white; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  background: rgba(0,100,0,0.35);
  backdrop-filter: blur(10px);
  position: absolute;
  top: auto;
  left: 0;
  z-index: 1001;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  margin-top: 5px;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: white;
  font-size: 18px;
  text-decoration: none;
  padding: 10px 0;
  border-radius: 8px;
}

.mobile-menu a:hover {
  background: linear-gradient(135deg, rgba(0,100,0,0.3), rgba(255,193,7,0.2));
  color: #ffffff;
}

/* ---------------- RESPONSYWNOŚĆ ---------------- */

@media (max-width: 768px) {

  /* ---------------- HEADER ---------------- */
  .header-content { 
      flex-direction: column;       /* elementy jeden pod drugim */
      align-items: center;          /* wyśrodkowanie elementów */
      justify-content: flex-start;  /* usuwa rozciąganie */
      text-align: center;           /* tekst wyśrodkowany */
      gap: 10px;                    /* odstęp między elementami */
      word-spacing: normal;         /* resetuje odstępy między słowami */
  }

  /* ---------------- NAVIGATION ---------------- */
  nav { 
      display: none;                /* ukrycie standardowego menu */
  }
  .menu-toggle { 
      display: flex;               
      width: 100%;                 
  }

  /* ---------------- CONTAINER ---------------- */
  .container { 
      flex-direction: column;      
  }

  /* ---------------- NOTIFICATIONS ---------------- */
  .notifications { 
      margin-top: 20px;            
  }

  /* ---------------- FOOTER ---------------- */
  .footer-box.full-footer { 
      display: flex;               
      flex-direction: column;       /* elementy jeden pod drugim */
      flex-wrap: wrap;              /* pozwala zawijać elementy */
      justify-content: flex-start;  /* usuwa duże odstępy */
      align-items: center;         
      padding: 30px 20px;          
      text-align: center;           /* wyśrodkowanie tekstu */
      word-spacing: 0%;         /* resetuje odstępy między słowami */
  }

  .footer-box.full-footer p,
  .footer-box.full-footer span { 
      font-size: 14px;             
      margin: 5px 0;               /* mniejsze odstępy między wierszami */
      text-align: center;           /* wyśrodkowanie dla poszczególnych elementów */
      word-spacing: normal;         /* resetuje odstępy między słowami */
  }

  /* ---------------- MOBILE MENU ---------------- */
  .mobile-menu { 
      position: static;            
      display: none;               
      top: auto;
      flex-direction: column;
      align-items: center;
  }
  .menu-toggle.active + .mobile-menu { 
      display: flex;               
  }

  /* ---------------- CONTACT / MAP ---------------- */
  .contact-container { 
      grid-template-columns: 1fr; 
  }
  .map iframe { 
      height: 250px; 
  }

}

/* ---------------- Przewijanie strony do poczatku i facebook ---------------- */

.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.button-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Strzałka */
.scroll-to-top {
    display: none;
    width: 56px;
    height: 56px;
    background-color: #333;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    box-shadow: 0 5px 8px rgba(0,0,0,0.15);
    transition: background-color 0.2s, transform 0.2s;
}

.scroll-to-top:hover {
    background-color: #555;
    transform: translateY(-3px);
}

.scroll-to-top::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;   /* grubość boku */
    border-right: 12px solid transparent;  /* grubość boku */
    border-bottom: 18px solid white;       /* wysokość strzałki i kolor */
}

/* Facebook */
.facebook-btn {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background-color: #1877f2;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.facebook-btn:hover {
    background-color: #145dbf;
    transform: translateY(-2px);
}

.facebook-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #ffffff;
    border-radius: 50%;
    font-weight: bold;
    font-size: 20px;
    margin-right: 1px;
}

.facebook-text {
    display: inline-block;
}

/* Responsywność */
@media (max-width: 480px) {
    .facebook-btn {
        padding: 0;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        justify-content: center;
    }

    .facebook-text {
        display: none;
    }
}

/* ---------------- Kalendarz ---------------- */

/* Główne style dla kontenera kalendarza */
.calendar-container {
  width: 100%;
  max-width: 350px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  padding: 15px;
  margin: 20px auto;
  font-family: "Poppins", sans-serif;
}

/* Nagłówek kalendarza z przyciskami */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

/* Styl dla przycisków nawigacji (poprzedni/ następny miesiąc) */
.calendar-header button {
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

/* Efekt na hover dla przycisków nawigacji */
.calendar-header button:hover {
  background-color: #45a049;
}

/* Nagłówki dni tygodnia */
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: bold;
  margin-bottom: 5px;
  color: #066d03;
}

/* Siatka dni w miesiącu */
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  position: relative; /* Pozwoli to na odpowiednie pozycjonowanie tooltipa */
}

/* Style dla pojedynczego dnia w kalendarzu */
.calendar-days div {
  padding: 10px 0;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

/* Efekt hover dla dni kalendarza */
.calendar-days div:hover {
  background-color: #4fd44a;
  color: #fff;
}

/* Styl dla dzisiejszego dnia */
.today {
  background-color: #228B22;
  color: #fff;
}

/* Styl dla ważnych dat (np. świąt, wydarzeń) */
.calendar-days div.important {
  background-color: #ffcc00; /* Kolor tła dla ważnych dat */
  color: #fff; /* Kolor tekstu dla ważnych dat */
  font-weight: bold; /* Pogrubienie tekstu */
  border-radius: 8px;
  transition: background-color 0.3s, color 0.3s;
  position: relative; /* Umożliwia pozycjonowanie tooltipa */
}

/* Efekt na hover dla ważnych dat */
.calendar-days div.important:hover {
  background-color: #e6b800; /* Jaśniejszy kolor po najechaniu */
  cursor: pointer; /* Zmiana kursora na wskaźnik */
}

/* Styl dla tooltipa (komentarza) po najechaniu na ważną datę */
.calendar-days div.important:hover::after {
  content: attr(title); /* Zawartość tooltipa to tekst z atrybutu title */
  position: absolute;
  bottom: 100%; /* Ustawienie tooltipa nad dniem */
  left: 50%;
  transform: translateX(-50%); /* Wyśrodkowanie tooltipa względem dnia */
  background-color: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  white-space: nowrap;
  z-index: 10; /* Wysoki z-index, żeby tooltip był na wierzchu */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none; /* Zablokowanie interakcji z tooltipem */
}

/* Pokazanie tooltipa przy najechaniu na ważną datę */
.calendar-days div.important:hover::after {
  opacity: 1;
}

/* Opcjonalny styl dla paska z nazwami dni tygodnia (poniedziałek, wtorek, itd.) */
.calendar-weekdays div {
  padding: 5px;
  background-color: #f4f4f4;
  color: #333;
  border-radius: 8px;
}

/* ---------------- Data i czas ---------------- */
#mini-widget {
  width: 100%;             
  font-size: 16px;          
  font-family: Arial, sans-serif;
  line-height: 1.5;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 12px;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
  margin: 20px auto;
  color: #fff;
  box-shadow: 2px 2px 12px rgba(0,0,0,0.3);
  transition: background 1s linear;
  position: relative;
  font-weight: bold;
}

#mini-widget::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.12),
    rgba(255,255,255,0)
  );
  pointer-events: none;
}

#mini-widget hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 10px 0;
}

#mini-widget.night {
  box-shadow:
    0 12px 40px rgba(0,0,0,0.35),
    inset 0 0 30px rgba(0,0,0,0.25);
}

#sun {
  position: relative;
  height: 30px;
  margin: 32px 0;
}

#sun-icon {
  position: absolute;
  top: -15px;
  font-size: 20px;
  transition: left 1s linear; /* płynny ruch słońca */
}

/* ---------------- Strona powitalna ---------------- */


/* CIEMNE TŁO */
#overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* BOX Z OBRAZKIEM */
.popup {
  position: relative;
  width: 640px;
  height: 900px;
}

.popup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* KRZYŻYK */
.close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #000;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.close:hover {
  background: #222;
}

/* MOBILE */
@media (max-width: 480px) {
  .popup {
    width: 90vw;
    height: 140vw;
  }
  .popup {
  position: relative;
  width: 400px;
  height: 600px;
}
}

/* Ikony pączka i kawy */

.icon-20 {
  width: 40px;
  height: 30px;
  display: inline-block;
  image-rendering: -webkit-optimize-contrast;
  vertical-align: middle;
}
.icon-21 {
  width: 40px;
  height: 30px;
  display: inline-block;
  image-rendering: -webkit-optimize-contrast;
  vertical-align: middle;
}

/* Strony kolejno - dotyczy zakładki aktualności */

#pagination {
  grid-column: 1 / -1; /* zajmuje całą szerokość gridu */
  justify-self: center; /* wycentrowanie w grid */
  margin-top: 20px;
}

#pagination button {
    background: linear-gradient(135deg, #66BB6A, #228B22);
  color: #fff;
  padding: 8px 15px;
  margin: 5px;
  cursor: pointer;
}

#pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}