.news-container {
  width: 90%;
  margin: 0 auto;
  padding: 20px 0;
  margin-top: 50px;
}

.news-breadcrumb {
  font-family: var(--font-family-main);
  font-weight: var(--font-weight-medium);
  font-size: 0.875rem;
  background: var(--color-primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.news-breadcrumb a {
  background: var(--color-primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.news-breadcrumb a:hover {
  text-decoration: underline;
}

.news-main-title {
  font-family: var(--font-family-main);
  font-weight: var(--font-weight-semi-bold);
  font-size: 2.25rem;
  color: var(--color-black-default);
  margin-bottom: 50px;
}

.news-main {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}

.news-main img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.news-header {
  display: flex;
  align-items: center;
  font-family: var(--font-family-main);
  margin-bottom: 20px;
}

.news-header img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.news-source {
  font-weight: var(--font-weight-semi-bold);
  font-size: 1.125rem; /* 18px */
  font-weight: bold;
  color: #030303;
}

.bullet {
  font-size: 1.875rem; /* 30px */
  margin-left: 0.625rem; /* 10px */
  color: #6c757d;
}

.news-time {
  margin-left: 0.3125rem; /* 5px */
  margin-top: 0.3125rem; /* 5px */
  font-size: 0.75rem; /* 12px */
  color: #6c757d;
}

.news-main-content {
  max-width: 100%;
}

.news-main-content h2 {
  font-family: var(--font-family-main) !important;
  font-weight: var(--font-weight-semi-bold) !important;
  font-size: 1.5rem; /* 24px */
  margin: 0;
  color: var(--color-black-default) !important;
  line-height: 1.5;
}

.news-main-content p {
  font-family: var(--font-family-main);
  font-weight: var(--font-weight-regular);
  font-size: 14px !important;
  color: #6c757d !important;
  line-height: 1.5;
}

.news-main-content .news-read-more {
  font-weight: var(--font-weight-bold);
  color: var(--color-black-default) !important;
  text-decoration: none;
}

hr {
  border: 0;
  height: 1px;
  background: #d9d9d9;
  margin: 40px 0;
}

.news-item-header {
  display: flex;
  align-items: center;
  font-family: var(--font-family-main);
  margin-bottom: 20px;
}

.news-item-header img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.news-item img {
  width: 100%;
  height: 40%;
  object-fit: cover;
  border-radius: 10px;
}

.news-item-content {
  font-family: var(--font-family-main);
  padding: 15px 0 5px 0;
  display: flex; /* Tambahkan ini */
  flex-direction: column; /* Tambahkan ini */
  justify-content: space-between; /* Tambahkan ini untuk memastikan "See More" di bawah */
  height: 40%;
}

.news-item-content h3 {
  font-family: var(--font-family-main);
  font-size: 16px;
}
.news-item-content p {
  font-family: var(--font-family-main) !important;
  font-size: 14px !important;
  color: #6c757d !important;
}

.news-item-content .news-read-more {
  font-family: var(--font-family-main);
  font-weight: var(--font-weight-bold);
  background: var(--color-primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  margin-top: auto;
  font-size: 14px;
}

.news-item-content .news-read-more:hover {
  text-decoration: underline;
}

.news-pagination {
  font-family: var(--font-family-main);
  font-weight: var(--font-weight-bold);
  display: flex;
  justify-content: center;
  align-items: center;
  list-style-type: none;
  padding: 0;
  margin: 20px 0;
}

.news-pagination a,
.news-pagination span {
  text-decoration: none;
  display: inline-block;
  margin: 0 5px;
  padding: 8px 12px;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  color: #495057;
  font-size: 16px;
  transition: background-color 0.3s, color 0.3s;
}

.news-pagination a:hover {
  background-color: #e9ecef;
  color: rgb(75, 168, 222);
}

.news-pagination .active {
  background-color: white;
  color: transparent;
  border: 2px solid rgb(21, 103, 123);
  background-image: linear-gradient(
    to right,
    rgb(21, 103, 123) 0%,
    rgb(75, 168, 222) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
}

.news-pagination .disabled {
  background-color: #a5acb3af;
  color: #ffffff;
  pointer-events: none;
  border: none;
}

.news-pagination .dots {
  padding: 8px 12px;
  color: #6c757d;
  border: none;
}

@media (min-width: 768px) {
  .news-main {
    flex-direction: row;
  }

  .news-main img {
    width: 600px;
    height: 400px;
    margin-right: 10px;
    margin-bottom: 0;
  }

  .news-header img {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
  }

  .news-item-header img {
    width: 25px; /* 50px */
    height: 25px; /* 50px */
    object-fit: contain;
    margin-right: 10px;
  }

  .news-main-content {
    max-width: 600px;
  }
}

/* Buat news-item tampil satu per satu di layar mobile */
@media (max-width: 768px) {
  .news-main {
    margin: 0px;
  }

  .news-header img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 10px;
  }

  .news-item-header img {
    width: 25px; /* 50px */
    height: 25px; /* 50px */
    object-fit: contain;
    margin-right: 10px;
  }

  .news-item {
    width: 100%; /* Set full width pada layar kecil */
    margin-bottom: 20px; /* Tambahkan sedikit margin bawah */
  }
}
