/* ===== NEWS PAGE WRAPPER ===== */
.news {
  background: #ffffff;
  padding: 80px 0;
}

.news .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.news h1 {
  margin: 0 0 50px;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: 70px;
  color: #033215;
  text-align: center;
  letter-spacing: 1px;
  line-height: 1.1;
}

/* ===== GRID ===== */
.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

/* ===== CARD ===== */
.news-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.news-card__link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card__img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.news-card__body {
  padding: 20px;
}

.news-card__date {
  font-family: "Mulish", sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: #033215;
  margin-bottom: 10px;
}

.news-card__title {
  font-family: "Mulish", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #033215;
  line-height: 1.5;
  margin: 0 0 12px;
}

.news-card__excerpt {
  font-family: "Mulish", sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #033215;
  line-height: 1.6;
  margin: 0;
}

/* ===== CUSTOM PAGINATION (strelice uvijek vidljive) ===== */
.news-pagination {
  display: flex;
  justify-content: center;
  margin-top: 70px;
}

.news-pagination__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0;
  margin: 0;
}

.news-pagination__item a,
.news-pagination__item span {
  font-family: "Mulish", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #033215;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* aktivna stranica (box) */
.news-pagination__item .page-numbers.current {
  width: 45px;
  height: 45px;
  border: 2px solid #BDD0C4;
  border-radius: 12px;
}

/* strelice */
.news-pagination__arrow {
  font-size: 22px;
}

/* disabled stanje */
.news-pagination__item.is-disabled {
  opacity: 0.35;
}

.news-pagination__item.is-disabled a {
  pointer-events: none;
}

.news-pagination__item a:hover {
  color: #006832;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .news { padding: 60px 0; }
  .news h1 { font-size: 50px; margin-bottom: 40px; }
  .news__grid { grid-template-columns: 1fr; }
  .news-card__img img { height: 220px; }
}

@media (max-width: 600px) {
  .news { padding: 40px 0; }
  .news h1 { font-size: 42px; margin-bottom: 30px; }
  .news-card__img img { height: 200px; }

  .news-pagination__list { gap: 16px; }
  .news-pagination__item .page-numbers.current { width: 60px; height: 60px; }
}

@media (max-width: 480px) {
  .news h1 { font-size: 36px; }
  .news-card__img img { height: 180px; }
  .news-pagination__item .page-numbers.current { width: 54px; height: 54px; }
}
