/* ======== GLOBAL ======== */
body {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 15px;
  color: #333;
  background: linear-gradient(135deg, #1E3A8A, #2563EB); /* Biru gradasi modern */
  margin: 0;
  padding: 0;
}

/* Wrapper utama konten */
.pkp_structure_page {
  max-width: 1160px;
  margin: 20px auto;
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0,0,0,0.2);
  padding: 0px;
}

/* ======== HEADER ======== */
.pkp_site_name_wrapper {
  width: 100%;
  background: linear-gradient(90deg, #1E3A8A, #2563EB);
  padding: 25px 0;
  text-align: center;
  color: #FFD700;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.pkp_site_name_wrapper img {
  max-height: 80px;
}

/* Navigasi utama */
.pkp_navigation_primary_row {
  background: #1E3A8A;
  text-align: center;
  border-bottom: 3px solid #FFD700;
}

.pkp_navigation_primary_wrapper ul li a {
  color: #FFD700 !important;
  padding: 12px 18px;
  display: inline-block;
  font-weight: 600;
  transition: 0.3s;
}

.pkp_navigation_primary_wrapper ul li a:hover {
  background: #2563EB;
  color: #fff !important;
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(255,215,0,0.6);
}

/* ======== FOOTER ======== */
.pkp_structure_footer_wrapper {
  background: linear-gradient(90deg, #1E3A8A, #2563EB);
  text-align: center;
  color: #FFD700;
  padding: 20px;
  margin-top: 30px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.3);
}

.pkp_structure_footer_wrapper a {
  color: #FFD700;
  font-weight: 500;
}

.pkp_structure_footer_wrapper a:hover {
  text-decoration: underline;
}

/* ======== JUDUL ARTIKEL KOTAK KUNING + BORDER ANIMASI ======== */
.obj_article_details .page_title {
  position: relative;
  background: #FFD700; /* Kotak kuning */
  color: #FFD700; /* Font kuning */
  padding: 25px 30px;
  font-size: 28px;
  font-weight: 800;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6); /* Bayangan agar jelas */
  border-radius: 12px;
  margin-bottom: 25px;
  text-align: center;
  letter-spacing: 0.5px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Border animasi bergerak */
.obj_article_details .page_title::before {
  content: "";
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(270deg, #1E3A8A, #FFD700, #2563EB, #FFD700);
  background-size: 600% 600%;
  border-radius: 14px;
  z-index: -1;
  animation: borderMove 6s linear infinite;
}

/* Animasi border */
@keyframes borderMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hover efek 3D */
.obj_article_details .page_title:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(255,215,0,0.8), 0 0 35px rgba(30,58,138,0.5);
}

/* ======== ARTICLE SUMMARY ======== */
.obj_article_summary {
  background: linear-gradient(145deg, #ffffff, #ffffff);
  color: darkblue;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 5px 5px 20px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.obj_article_summary h3,
.obj_article_summary .author,
.obj_article_summary .title {
  color: #FFD700;
}

.obj_article_summary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px #FFD700, 0 0 30px rgba(255,215,0,0.4);
}

/* Abstrak artikel */
.main_entry .item.abstract {
  text-align: justify;
  line-height: 1.6;
  background: #FFF8DC; 
  padding: 15px;
  border-radius: 10px;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.1);
}

/* Tautan di dalam artikel */
.pkp_structure_main a {
  color: #1E3A8A;
  text-decoration: none;
  font-weight: 600;
}

.pkp_structure_main a:hover {
  color: #FFD700;
  text-decoration: underline;
}

/* ======== SIDEBAR & BLOCK ======== */
.pkp_block.block_custom {
  background: linear-gradient(145deg, #FFD700, #FACC15);
  border-radius: 10px;
  box-shadow: 5px 5px 15px rgba(0,0,0,0.3);
  margin-bottom: 20px;
  padding: 15px;
  transition: 0.3s;
}

.pkp_block.block_custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 12px #FFD700, 0 0 20px rgba(255,215,0,0.3);
}

.pkp_block.block_custom h2 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1E3A8A;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 5px;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 768px) {
  .pkp_structure_page {
    margin: 10px;
    padding: 15px;
  }

  .obj_article_details .page_title {
    font-size: 22px;
    padding: 18px;
  }

  .pkp_navigation_primary_wrapper ul li a {
    padding: 10px 14px;
    font-size: 14px;
  }
}
