.wrapper__primary__news {
  display: block;
  overflow: hidden;
  height: 300px;
  width: 100%;
  position: relative;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.wrapper__primary__news:before {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(0, 0, 0, 0)),
    to(#000000)
  );
  background-image: linear-gradient(rgba(0, 0, 0, 0) 0%, #000000 100%);
  z-index: 1;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.wrapper__primary__news-bg {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 100%;
  width: 100%;
  position: absolute;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.wrapper__primary-bg__news:hover {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}
.article-content a:hover {
  text-decoration: none;
}
.background-header-news {
  background-repeat: no-repeat;
  background-size: cover;
  /* padding: 50px;     */
  padding-top: 70px;
  padding-bottom: 70px;
}
.header-content:before {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(0, 0, 0, 0)),
    to(#000000)
  );
  background-image: linear-gradient(rgba(0, 0, 0, 0) 0%, #000000 100%);
  z-index: 1;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.page-item.active .page-link {
    background-color: #d62828; /* warna merah seperti di gambar */
    border-color: #d62828;
    color: #fff;
}

/* Hover untuk pagination */
.page-link:hover {
    background-color: #e85d5d;
    color: white;
}

/* Jarak antar page */
.page-link {
    margin: 0 2px;
    border-radius: 0;
    color: #333;
}

.center {
  max-width: 100%;
  overflow-x: auto;
  display: flex;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box; /* penting agar padding dihitung di dalam width */
}

.center .pagination {
  flex-wrap: wrap;
  display: flex;
  gap: 4px;
  padding: 0;
  margin: 0;
}

@media (max-width: 768px) {
  .center {
    justify-content: flex-start;
  }

  .pagination {
    flex-wrap: nowrap;
  }
}
