/* === Import Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Poppins:wght@500;700&display=swap');

/* === PENGATURAN GLOBAL & PALET WARNA === */
body {
  background-color: #F8F9FA; /* Warna latar yang lembut */
}

.pkp_structure_content {
  padding: 30px 20px; /* Tambahkan padding untuk ruang napas */
}

a {
  transition: color 0.3s ease, background-color 0.3s ease;
}

/* === HEADER === */
.pkp_structure_head {
  background: linear-gradient(90deg, #007BFF 0%, #00C894 100%);
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

/* === FOOTER === */
.pkp_structure_footer_wrapper {
  background: linear-gradient(90deg, #00C894 0%, #007BFF 100%);
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.9);
}

.pkp_structure_footer_wrapper a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
}

.pkp_structure_footer_wrapper a:hover {
  color: #ffffff;
  text-decoration: none;
}

/* === TOMBOL GRADASI (PDF, etc.) === */
ul.links li.view a,
ul.links li.current a {
  display: inline-block;
  padding: 12px 24px;
  background-color: transparent;
  border: 2px solid transparent;
  border-image: linear-gradient(90deg, #007BFF, #00C894);
  border-image-slice: 1;
  color: transparent;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 86, 210, 0.1);
  background-image: linear-gradient(90deg, #007BFF, #00C894);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

ul.links li.view a:hover,
ul.links li.current a:hover {
  background: linear-gradient(90deg, #007BFF, #00C894);
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  box-shadow: 0 6px 15px rgba(0, 200, 148, 0.3);
  transform: scale(1.05);
}

/* === ANIMASI === */
ul.links li a {
  animation: fadeUp 0.5s ease-in-out;
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* === TIPOGRAFI DASAR === */
html, body, p, span, div, td, li,
.obj_article_details, .article_entry,
.pkp_structure_main, .pkp_structure_content {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4A4A4A;
}

/* === TIPOGRAFI HEADING & JUDUL === */
h1, h2, h3, h4, h5, h6,
.page_title,
.pkp_site_name,
.obj_issue_toc .issue-heading {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  color: #1A2B48;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === TIPOGRAFI NAVIGASI & LINK UTAMA === */
.pkp_navigation_primary ul > li > a {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 500 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

a.login, a.register,
a[href*="login"], a[href*="register"] {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 500 !important;
}

/* === TAMPILAN KARTU UNTUK DAFTAR ARTIKEL === */
.obj_article_summary {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease-in-out;
  border: 1px solid #E9ECEF;
}

.obj_article_summary:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.obj_article_summary .title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.4rem;
  color: #0056b3;
  text-decoration: none;
  margin-bottom: 10px;
}

.obj_article_summary .title:hover {
  text-decoration: underline;
}

.obj_article_summary .authors {
  font-style: italic;
  color: #555;
  font-size: 0.9rem;
}

/* Link di dalam konten utama */
.pkp_structure_content a {
    color: #007BFF;
    text-decoration: none;
    font-weight: 600;
}

.pkp_structure_content a:hover {
    color: #00C894;
    text-decoration: underline;
}


/* === PENYESUAIAN LOGO === */
.pkp_site_name.is_img img,
.pkp_site_name .is_img img {
  max-height: none !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}