.latest-news-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 100%;
}
.latest-news {
  padding-top: clamp(60px, 6.5104166667vw, 125px);
  padding-bottom: clamp(60px, 6.5104166667vw, 125px);
}
/* .blog-card  */
.blog-card {
  overflow: hidden;
  justify-content: space-between;
  background: white;
  display: flex !important;
  flex-direction: column;
  padding: 5px 5px 0px 5px;
}
.blog-card-inner {
  padding-left: 30px;
  padding-right: 30px;
}
.blog-card__image-wrap img {
  height: 295px;
  object-fit: cover;
  width: 100%;
}
.blog-card__meta {
  display: flex;
  margin-bottom: 17px;
  justify-content: space-between;
  align-items: center;
}
.blog-card__category {
  color: #bd9831;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1.3;
}
.blog-card__date {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}
.blog-card__title {
  margin-bottom: 30px;
}
.blog-card__read-more {
  padding-top: 22px;
  display: inline-block;
  padding-bottom: 22px;
  font-size: 12px;
  background: white;
  z-index: 9;
  position: relative;
  width: 100%;
  text-transform: uppercase;
  border-top: 1px solid rgba(25, 29, 35, 0.1);
}
.blog-card-upper {
  padding-bottom: 160px;
}
.blog-card-upper .blog-card-inner {
  padding-top: 40px;
}
.blog-card-upper {
  position: relative;
}
.blog-card__image-wrap {
  position: absolute;
  width: 100%;
}
.blog-card__image-wrap img {
  transition: 0.3s;
  transform: translateY(-300px);
}
.blog-card:hover .blog-card__image-wrap img {
  transform: translateY(-290px);
  transition: 0.3s;
}

.blog-card:hover .paragraph__16 {
  opacity: 0;
  transition: 0.5s ease-in-out;
}
.blog-card .paragraph__16 {
  transition: 0.5s ease-in-out;
}
.blog-card .blog-card-upper {
  transition: 0.5s ease-in-out;
}
.blog-card:hover .blog-card-upper {
  transform: translateY(290px);
  transition: 0.5s ease-in-out;
}
.blog-card__image-wrap a {
  position: relative;
}
.blog-card__image-wrap a::before {
  content: "";
  position: absolute;
  transform: translateY(-290px);
  z-index: 3;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.37) 44%,
    rgba(255, 255, 255, 0.6) 70%,
    rgba(255, 255, 255, 0.82) 81%,
    rgba(255, 255, 255, 0.82) 90%,
    rgba(255, 255, 255, 1) 100%
  );
}
/* blog card end  */
.news-slidder .slick-list {
  padding-right: 200px !important;
}
.news-slidder article {
  margin-left: 5px !important;
  margin-right: 5px !important;
}
.latest-news > div {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.news-slidder .slick-track {
  display: flex !important;
}
.news-slidder article {
  height: inherit;
}
@media only screen and (max-width: 1279px) {
  .news-slidder .slick-list {
    padding-right: 100px !important;
  }
}
@media only screen and (max-width: 991px) {
  .news-slidder .slick-list {
    padding-right: 80px !important;
  }
  .latest-news .col-lg-4 {
    margin-bottom: 32px;
  }

  /* Blog card — slika uvijek vidljiva, bez hover efekta */
  .blog-card__image-wrap {
    position: relative;
    width: 100%;
  }
  .blog-card__image-wrap img {
    transform: none !important;
    transition: none !important;
  }
  .blog-card__image-wrap a::before {
    transform: none !important;
    display: none;
  }
  .blog-card-upper {
    padding-bottom: 0;
    transform: none !important;
    transition: none !important;
  }
  .blog-card-upper .blog-card-inner {
    padding-top: 20px;
  }
  .blog-card:hover .blog-card-upper {
    transform: none !important;
  }
  .blog-card:hover .blog-card__image-wrap img {
    transform: none !important;
  }
  .blog-card:hover .paragraph__16 {
    opacity: 1 !important;
  }

  /* Centriran naslov i subtitle */
  .latest-news__upper {
    text-align: center;
    width: 100%;
  }

  /* Dugme premješteno ispod slidera (JS), puno širina */
  .latest-news .filled__button-green {
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 24px;
    width: max-content;
  }

  /* Sakrij original u col-lg-4 (JS premješta element) */
  .latest-news-content .filled__button-green {
    display: none;
  }
}

@media only screen and (max-width: 575px) {
  .news-slidder .slick-list {
    padding-right: 20px !important;
  }
  .blog-card-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}
