/* -------- ARTICLE SECTION -------- */
.article-section {
  background: #ffffff;
}

/* -------- HEADER -------- */
.article-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #89d8f7;
}

.article-heading {
  margin: 0;
  font-size: 25px;
  font-weight: 700;
  color: #0b2e67;
}

.article-description {
  /* max-width: 700px; */
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #53627a;
}

/* -------- CATEGORY -------- */
.article-category-wrapper {
  overflow-x: auto;
  scrollbar-width: none;
}

.article-category-wrapper::-webkit-scrollbar {
  display: none;
}

.article-category {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.category-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid #e4e4e4;
  border-radius: 50px;
  background: #fff;
  color: #555;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all .25s ease;
}

.category-btn:hover {
  border-color: #1259c3;
  background: #fff4ef;
  color: #1259c3;
}

.category-btn.active {
  border-color: #0b2e67;
  background: #0b2e67;
  color: #fff;
}

/* -------- ARTICLE RESULT -------- */
.article-result {
  font-size: 14px;
  color: #53627a;
}

.article-result strong {
  color: #333;
}

/* -------- ARTICLE CARD -------- */
.article-card {
  position: relative;
  display: block;
  width: 100%;
  height: 350px;
  overflow: hidden;
  background: #222;
  color: #fff;
  transition: transform .35s ease, box-shadow .35s ease;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

/* -------- THUMBNAIL-------- */
.article-thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.article-card:hover .article-thumbnail {
  transform: scale(1.07);
}

/* -------- OVERLAY -------- */
.article-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:linear-gradient(to bottom, rgba(0, 0, 0, .48) 0%, rgba(0, 0, 0, .18) 35%, rgba(0, 0, 0, .85) 100%);
  transition: background .35s ease;
}

.article-card:hover .article-overlay {
  background: linear-gradient(to bottom,rgba(0, 0, 0, .55) 0%,rgba(0, 0, 0, .25) 35%,rgba(0, 0, 0, .90) 100%);
}

/* -------- CONTENT -------- */
.article-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* -------- TOP -------- */
.article-top {
  position: relative;
  width: 100%;
}

/* -------- META -------- */
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  padding-right: 30px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,.92);
}

.article-author {
  font-weight: 600;
}

.article-dot {
  opacity: .65;
}

/* -------- MENU -------- */
.article-menu {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color .2s ease;
}

.article-menu:hover {
  color: #89d8f7;
}

/* -------- BOTTOM -------- */
.article-bottom {
  max-width: 100%;
}

/* -------- CATEGORY BADGE -------- */
.article-category-badge {
  display: inline-block;
  margin-bottom: 13px;
  padding: 6px 12px;
  border-radius: 30px;
  background: #8cd5f5;
  color: #000;
  font-size: 12px;
  font-weight: 600;
}

/* -------- TITLE -------- */
.article-title {
  margin: 0;
  max-width: 100%;
  font-size: 22px;
  line-height: 1.27;
  font-weight: 700;
  letter-spacing: -.3px;
  color: #fff;
  transition: color .25s ease;
}

.article-card:hover .article-title {
  color: #89d8f7;
}

/* -------- EMPTY -------- */
.article-empty {
  padding: 80px 20px;
  text-align: center;
  border: 1px dashed #ddd;
  background: #fafafa;
}

.article-empty i {
  font-size: 50px;
  color: #ccc;
}

.article-empty h4 {
  margin-top: 20px;
  color: #444;
}

.article-empty p {
  color: #888;
}

/* -------- PAGINATION -------- */
.article-pagination {
  display: flex;
  justify-content: center;
}

.article-pagination .pagination {
  gap: 6px;
}

.article-pagination .page-item {
  margin: 0;
}
  
.article-pagination .page-link {
  min-width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px !important;
  border: 1px solid #e5e5e5;
  color: #555;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
}

.article-pagination .page-link:hover {
  border-color: #8cd5f5;
  background: #fff4ef;
  color: #8cd5f5;
}

.article-pagination .page-item.active .page-link {
  border-color: #8cd5f5;
  background: #8cd5f5;
  color: #fff;
}

.article-pagination .page-item.disabled .page-link {
  color: #bbb;
  background: #f8f8f8;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1199.98px) {
  .article-card {
    height: 450px;
  }

  .article-content {
    padding: 35px 30px;
  }

  .article-title {
    font-size: 25px;
  }
}

@media (max-width: 991.98px) {
  .article-heading {
    font-size: 25px;
  }

  .article-card {
    height: 440px;
  }
}

@media (max-width: 767.98px) {
  .article-heading {
    font-size: 30px;
  }

  .article-description {
    font-size: 15px;
  }

  .article-card {
    height: 430px;
  }
}

@media (max-width: 575.98px) {
  .article-section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .article-heading {
    font-size: 27px;
  }

  .article-category {
    gap: 7px;
  }

  .category-btn {
    padding: 8px 17px;
    font-size: 13px;
  }

  .article-card {
    height: 420px;
  }

  .article-content {
    padding: 30px 25px;
  }

  .article-meta {
    font-size: 12px;
  }

  .article-title {
    font-size: 23px;
    line-height: 1.3;
  }

  .article-pagination .page-link {
    min-width: 38px;
    height: 38px;
  }
}



/* =========================================================
   ARTICLE DETAIL
========================================================= */

.article-detail-section {
  padding: 90px 0 70px;
  background: #fff;
}


/* =========================================================
   HEADER
========================================================= */

.article-detail-header {
  max-width: 950px;
  margin: 0 auto 20px;
  text-align: center;
}


.article-detail-category {
  display: inline-block;
  margin-bottom: 20px;
  padding: 7px 16px;
  border-radius: 50px;
  background: #fff1ec;
  color: #1259c3;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s ease;
}


.article-detail-category:hover {
  background: #1259c3;
  color: #fff;
}


.article-detail-title {
  margin: 0;
  color: #0b2e67;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.8px;
}


.article-detail-meta {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #888;
  font-size: 14px;
}


.article-detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}


.article-detail-meta i {
  color: #1259c3;
}


.meta-dot {
  color: #ccc;
}


/* =========================================================
   THUMBNAIL
========================================================= */

.article-detail-thumbnail {
  width: 100%;
  max-width: 1200px;
  height: 580px;
  margin: 0 auto 60px;
  overflow: hidden;
}


.article-detail-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* =========================================================
   SUMMERNOTE CONTENT
========================================================= */

.article-detail-content {
  color: #64748b;
  font-size: 14px;
  line-height: 1.9;
}

/* Paragraph */
.article-detail-content p {
  margin-bottom: 4px;
}

/* Heading */
.article-detail-content h1,
.article-detail-content h2,
.article-detail-content h3,
.article-detail-content h4,
.article-detail-content h5,
.article-detail-content h6 {
  margin-top: 30px;
  margin-bottom: 10px;
  color: #222;
  font-weight: 700;
  line-height: 1.35;
}


.article-detail-content h2 {
  font-size: 30px;
}


.article-detail-content h3 {
  font-size: 25px;
}


/* Image dari Summernote */

.article-detail-content img {
  display: block;
  max-width: 100% !important;
  height: auto !important;
  margin: 35px auto;
}


/* List */

.article-detail-content ul,
.article-detail-content ol {
  margin-bottom: 25px;
  padding-left: 25px;
}


.article-detail-content li {
  margin-bottom: 8px;
}


/* Link */

.article-detail-content a {
  color: #8cd5f5;
  text-decoration: underline;
}


.article-detail-content a:hover {
  color: #8cd5f5;
}


/* Blockquote */

.article-detail-content blockquote {
  margin: 35px 0;
  padding: 25px 30px;
  border-left: 4px solid #8cd5f5;
  background: #fafafa;
  color: #555;
  font-size: 18px;
  font-style: italic;
}


/* Table dari Summernote */

.article-detail-content table {
  width: 100% !important;
  margin: 30px 0;
  border-collapse: collapse;
}


.article-detail-content table th,
.article-detail-content table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
}


.article-detail-content table th {
  background: #f5f5f5;
  color: #333;
}


/* iframe / video */

.article-detail-content iframe {
  max-width: 100%;
}


/* =========================================================
   ARTICLE FOOTER
========================================================= */

.article-detail-footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.footer-label {
  margin-right: 10px;
  color: #999;
  font-size: 14px;
}


.footer-category {
  color: #8cd5f5;
  font-weight: 600;
  text-decoration: none;
}


.back-article {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #444;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s ease;
}


.back-article:hover {
  color: #8cd5f5;
}


.back-article i {
  transition: transform .25s ease;
}


.back-article:hover i {
  transform: translateX(-4px);
}


/* =========================================================
   RELATED ARTICLE
========================================================= */

.related-article-section {
  padding: 80px 0;
  background: #f8f9fa;
}


.related-header {
  margin-bottom: 40px;
  text-align: center;
}


.related-header h2 {
  margin-bottom: 10px;
  color: #222;
  font-size: 34px;
  font-weight: 700;
}


.related-header p {
  margin: 0;
  color: #888;
}


/* =========================================================
   RELATED CARD
========================================================= */

.related-card {
  display: block;
  height: 100%;
  overflow: hidden;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: all .3s ease;
}


.related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,.10);
}


.related-thumbnail {
  position: relative;
  height: 230px;
  overflow: hidden;
}


.related-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}


.related-card:hover .related-thumbnail img {
  transform: scale(1.06);
}


.related-category {
  position: absolute;
  left: 20px;
  bottom: 18px;
  padding: 6px 12px;
  border-radius: 30px;
  background: #8cd5f5;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}


.related-content {
  padding: 25px;
}


.related-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  color: #999;
  font-size: 13px;
}


.related-content h3 {
  margin-bottom: 20px;
  color: #222;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  transition: color .25s ease;
}


.related-card:hover h3 {
  color: #8cd5f5;
}


.read-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8cd5f5;
  font-size: 14px;
  font-weight: 600;
}


.read-more i {
  transition: transform .25s ease;
}


.related-card:hover .read-more i {
  transform: translateX(5px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

  .article-detail-title {
    font-size: 48px;
  }

  .article-detail-thumbnail {
    height: 480px;
  }

}


@media (max-width: 767.98px) {

  .article-detail-section {
    padding: 60px 0 50px;
  }

  .article-detail-header {
    margin-bottom: 35px;
  }

  .article-detail-title {
    font-size: 32px;
  }

  .article-detail-thumbnail {
    height: 350px;
    margin-bottom: 40px;
  }

  .article-detail-content {
    font-size: 16px;
    line-height: 1.8;
  }

  .article-detail-content h2 {
    font-size: 26px;
  }

  .article-detail-content h3 {
    font-size: 22px;
  }

  .article-detail-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

}


@media (max-width: 575.98px) {

  .article-detail-title {
    font-size: 28px;
  }

  .article-detail-meta {
    gap: 7px;
  }

  .article-detail-thumbnail {
    height: 270px;
  }

  .article-detail-content blockquote {
    padding: 20px;
  }

  .related-article-section {
    padding: 60px 0;
  }

  .related-header h2 {
    font-size: 28px;
  }

}