#eighteen_logo {
  width: 100%;
  max-width: 150px;
}
.blog-item a.title {
  font-size: 23px;
  line-height: 25px;
}

.blog-item p {
  font-size: 17px;
  line-height: 21px;
}
.page-img img {
  max-height: 550px;
  object-fit: contain;
}

.news-pagination {
  margin-top: 40px;
  margin-bottom: 40px;
}
.news-pagination .pagination {
  justify-content: center;
}
.news-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.news-pagination .nav-links .page-numbers {
  min-width: 40px;
  margin: 0;
  padding: 8px 12px;
  text-align: center;
  transition: background-color 0.2s, color 0.2s;
}
.news-pagination .nav-links a.page-numbers:hover {
  background-color: #000;
  color: #fff;
}
.news-pagination .nav-links .dots {
  border: 0;
  background: none;
}
.news-pagination .nav-links .prev,
.news-pagination .nav-links .next {
  color: #222b02;
  font-weight: 500;
}
.news-pagination .nav-links .prev:hover,
.news-pagination .nav-links .next:hover {
  background: none;
  color: #222b02;
  text-decoration: underline;
}

.home-results .blog-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* .page-content a (złoty) nadpisywał biały tekst kafelków wydarzeń */
.page-content a.event-item,
.page-content a.event-item:hover,
.page-content a.event-item:focus {
  color: #fff;
}

/* Mocniejszy overlay na kafelkach wydarzeń: lekkie przyciemnienie całości + ciemny dół */
.event-item::before {
  background: linear-gradient(
    180deg,
    rgba(34, 43, 2, 0.15) 0%,
    rgba(34, 43, 2, 0.3) 40%,
    rgba(34, 43, 2, 0.8) 72%,
    rgb(34, 43, 2) 100%
  );
}

/* Data i miejsce na kafelkach wydarzeń: ikona, tekst, ikona, tekst obok siebie */
.event-item .event-meta {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 50px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 30px;
}
.event-item .event-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}
.event-item .event-meta-icon {
  flex-shrink: 0;
  width: auto;
  height: 22px;
  color: #9f894d;
}
.item-slider .event-item .event-meta {
  left: 20px;
  right: 20px;
}

/* Strona główna: mniejszy h1 w sliderze na mobile */
@media (max-width: 768px) {
  #home-slider h1 {
    font-size: 34px;
    line-height: 1.15;
  }
}

.catalog h3 {
  max-width: 300px;
}
