.footer-news-about {
  text-align: justify;
}

.layanan-justify {
  text-align: justify;
}

/* ========================= */

.news-page {
  padding: 80px 0;
  background: #f7f9fc;
}

/* HEADER */

.news-header {
  text-align: center;
  margin-bottom: 70px;
}

.news-header .subtitle {
  color: #0d6efd;
  font-size: .9rem;
  letter-spacing: 3px;
  font-weight: 700;
}

.news-header h1 {
  font-size: 3rem;
  margin: 15px 0;
  color: #1d1d1d;
}

.news-header p {
  max-width: 700px;
  margin: auto;
  color: #666;
  line-height: 1.8;
}

/* LIST */

.news-list {
  max-width: 1100px;
  margin: auto;
}

.news-item {

  display: flex;
  gap: 35px;

  background: #fff;
  border-radius: 16px;

  overflow: hidden;

  margin-bottom: 35px;

  box-shadow: 0 8px 30px rgba(0, 0, 0, .08);

  transition: .35s;

}

.news-item:hover {

  transform: translateY(-5px);

  box-shadow: 0 18px 45px rgba(0, 0, 0, .12);

}

.news-image {

  flex: 0 0 340px;

}

.news-image img {

  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

}

.news-info {

  padding: 35px;

  display: flex;
  flex-direction: column;
  justify-content: center;

}

.news-date {

  color: #0d6efd;

  font-size: .9rem;

  font-weight: 600;

  margin-bottom: 15px;

}

.news-info h2 {

  font-size: 1.8rem;

  margin-bottom: 18px;

  color: #1b1b1b;

}

.news-info p {

  color: #666;

  line-height: 1.8;

  margin-bottom: 25px;

}

.read-more {

  color: #0d6efd;

  text-decoration: none;

  font-weight: 700;

  width: max-content;

}

.read-more:hover {

  text-decoration: underline;

}


/* RESPONSIVE */

@media(max-width:900px) {

  .news-item {

    flex-direction: column;

  }

  .news-image {

    flex: unset;

    height: 240px;

  }

  .news-info {

    padding: 25px;

  }

  .news-header h1 {

    font-size: 2.2rem;

  }

  .news-info h2 {

    font-size: 1.5rem;

  }

}

.news-detail {

  background: #f7f9fc;

  padding-bottom: 80px;

}

.news-banner {

  background: linear-gradient(135deg, #005bea, #00c6fb);

  color: #fff;

  padding: 90px 0 70px;

}

.back-news {

  color: #fff;

  text-decoration: none;

  opacity: .9;

}

.back-news:hover {

  opacity: 1;

}

.category {

  display: inline-block;

  margin-top: 25px;

  padding: 8px 18px;

  background: rgba(255, 255, 255, .15);

  border-radius: 30px;

}

.news-banner h1 {

  margin: 20px 0;

  font-size: 3rem;

  max-width: 850px;

}

.meta {

  display: flex;

  gap: 12px;

  opacity: .8;

}

.news-cover {

  margin-top: -40px;

}

.news-cover img {

  width: 100%;

  border-radius: 18px;

  box-shadow: 0 20px 50px rgba(0, 0, 0, .15);

}

.article {

  max-width: 850px;

  margin: auto;

  padding-top: 60px;

}

.article p {

  font-size: 18px;

  line-height: 2;

  color: #555;

  margin-bottom: 28px;

}

.article blockquote {

  border-left: 5px solid #0d6efd;

  padding-left: 25px;

  margin: 45px 0;

  font-size: 24px;

  font-style: italic;

  color: #0d6efd;

}

.related-news {

  margin-top: 80px;

}

.related-news h2 {

  margin-bottom: 30px;

}

.related-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 30px;

}

.related-grid a {

  background: #fff;

  text-decoration: none;

  color: #222;

  border-radius: 16px;

  overflow: hidden;

  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);

  transition: .3s;

}

.related-grid a:hover {

  transform: translateY(-8px);

}

.related-grid img {

  width: 100%;

  height: 200px;

  object-fit: cover;

}

.related-grid h3 {

  padding: 20px;


}

/* ===========================
   FULL ARTICLE MODAL
=========================== */

.news-modal {

  position: fixed;
  inset: 0;

  background: rgba(8, 15, 32, .72);
  backdrop-filter: blur(10px);

  display: flex;
  justify-content: center;
  align-items: flex-start;

  padding: 40px 20px;

  overflow-y: auto;

  opacity: 0;
  visibility: hidden;

  transition: .35s ease;

  z-index: 99999;

}

.news-modal.show {

  opacity: 1;
  visibility: visible;

}

.news-modal-content {

  width: min(100%, 1000px);

  background: #fff;

  border-radius: 22px;

  overflow: hidden;

  box-shadow:
    0 35px 80px rgba(0, 0, 0, .35);

  animation: articleOpen .35s ease;

  margin-bottom: 40px;

}

@keyframes articleOpen {

  from {

    opacity: 0;
    transform: translateY(40px) scale(.97);

  }

  to {

    opacity: 1;
    transform: translateY(0) scale(1);

  }

}

/* Tombol Close */

.close-modal {

  position: fixed;

  right: 35px;
  top: 30px;

  width: 52px;
  height: 52px;

  border: none;

  border-radius: 50%;

  background: #fff;

  font-size: 28px;

  cursor: pointer;

  z-index: 100000;

  transition: .3s;

  box-shadow: 0 12px 25px rgba(0, 0, 0, .2);

}

.close-modal:hover {

  transform: rotate(90deg);

  background: #0d6efd;
  color: #fff;

}

/* Cover */

.news-modal img {

  width: 100%;
  height: 480px;

  object-fit: cover;

  display: block;

}

/* Isi */

.modal-body {

  padding: 60px;

}

.modal-body span {

  display: inline-block;

  color: #0d6efd;

  font-weight: 700;

  margin-bottom: 20px;

}

.modal-body h2 {

  font-size: 2.8rem;

  line-height: 1.3;

  margin-bottom: 30px;

  color: #111;

}

.modal-body p {

  font-size: 18px;

  line-height: 2;

  color: #555;

  margin-bottom: 28px;

}

/* Quote */

.modal-body blockquote {

  margin: 45px 0;

  padding: 25px 35px;

  border-left: 6px solid #0d6efd;

  background: #f5f9ff;

  font-size: 22px;

  color: #0d6efd;

  font-style: italic;

  border-radius: 10px;

}

/* Responsive */

@media(max-width:768px) {

  .news-modal {

    padding: 0;

  }

  .news-modal-content {

    border-radius: 0;

    min-height: 100vh;

  }

  .news-modal img {

    height: 250px;

  }

  .modal-body {

    padding: 30px 25px;

  }

  .modal-body h2 {

    font-size: 2rem;

  }

  .close-modal {

    top: 15px;
    right: 15px;

    width: 45px;
    height: 45px;

  }

}

.load-more-wrapper {

  text-align: center;

  margin-top: 60px;

}

.load-more-btn {

  border: none;

  padding: 18px 40px;

  border-radius: 50px;

  background: #0d6efd;

  color: #fff;

  font-size: 16px;

  cursor: pointer;

  transition: .3s;

}

.load-more-btn:hover {

  transform: translateY(-4px);

  box-shadow: 0 15px 35px rgba(13, 110, 253, .35);

}