/* ==========================================================================
   Stylesheet situs JEHS (Journal of Epidemiology and Health Studies)
   BAGIAN 1 — aturan asli Anda (dari styleSheet JEHS.css), dipertahankan.
   Satu perbaikan kecil: "border-bottom:@double solid;" diganti menjadi
   "border-bottom: 3px double #595959;" karena "@double" bukan sintaks CSS
   yang valid, sehingga baris itu sebelumnya tidak pernah benar-benar aktif.
   ========================================================================== */

.pkp_structure_head {
  background: #8C8DC4;
}
body {
  font-family: tahoma, geneva, sans-serif;
}
.obj_article_details .abstract {
  text-align: justify;
}
.pkp_footer_content {
  float: left;
  width: 50%;
  padding-top: 10px;
  padding-bottom: 10px;
}
.pkp_brand_footer {
  float: right;
  width: 30%;
  padding-bottom: 10px;
  padding-top: 50px;
}
.pkp_structure_footer_wrapper {
  background: #e8ebef;
  border-bottom: 3px double #595959;
}
.pkp_site_name .is_img img {
  display: inline-block;
  max-height: 1000px;
  max-width: 125%;
  width: auto;
  height: auto;
}

/* ==========================================================================
   BAGIAN 2 — BARU: redesign sidebar (Quick Menu, Login, dan block lain
   jika ada: Journal Template, Contact Us, Indexed, Collaboration).

   Palet diambil langsung dari logo JEHS: ungu-periwinkle (#8C8DC4, sudah
   dipakai di header situs Anda) dipadukan cokelat-maroon dari outline
   logo globe (#482818) sebagai aksen.
   ========================================================================== */

:root {
  --jehs-primary: #8C8DC4;
  --jehs-primary-dark: #6A6B9A;
  --jehs-tint: #F1F1FA;
  --jehs-accent: #6B3B22;
  --jehs-ink: #2B2A33;
  --jehs-border: #E3E3EF;
}

.qm-card {
  background: #fff;
  border: 1px solid var(--jehs-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(43, 42, 51, .07);
  transition: box-shadow .2s ease;
}
.qm-card:hover { box-shadow: 0 6px 18px rgba(43, 42, 51, .12); }

.qm-card__header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 16px;
  background: linear-gradient(135deg, var(--jehs-primary), var(--jehs-primary-dark));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .2px;
  border-bottom: 3px solid var(--jehs-accent);
}
.qm-card__header svg { flex: 0 0 auto; width: 18px; height: 18px; }

.qm-link-list { list-style: none; margin: 0; padding: 4px 0; }
.qm-link-list li { border-bottom: 1px solid #f1f1f6; }
.qm-link-list li:last-child { border-bottom: none; }
.qm-link-list a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 16px;
  color: var(--jehs-ink);
  text-decoration: none;
  font-size: 13.5px;
  transition: background-color .18s ease, padding-left .18s ease, color .18s ease;
}
.qm-link-list a svg {
  flex: 0 0 auto; width: 16px; height: 16px;
  color: var(--jehs-primary);
  transition: transform .18s ease, color .18s ease;
}
.qm-link-list a:hover, .qm-link-list a:focus-visible {
  background: var(--jehs-tint);
  color: var(--jehs-primary-dark);
  padding-left: 21px;
}
.qm-link-list a:hover svg, .qm-link-list a:focus-visible svg {
  transform: translateX(2px);
  color: var(--jehs-accent);
}
.qm-link-list a:focus-visible { outline: 2px solid var(--jehs-accent); outline-offset: -2px; }

.qm-banner-link { display: block; padding: 16px; text-align: center; }
.qm-banner-link img {
  max-width: 100%; height: auto; border-radius: 6px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.qm-banner-link:hover img { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(43, 42, 51, .15); }

.qm-collab-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding: 16px; }
.qm-collab-grid img { max-width: 100%; height: auto; border-radius: 6px; }

/* Form login bawaan OJS (#sidebarUser) */
#sidebarUser {
  background: #fff;
  border: 1px solid var(--jehs-border);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(43, 42, 51, .07);
}
#sidebarUser table { width: 100%; }
#sidebarUser label { font-size: 12.5px; color: var(--jehs-ink); }
#sidebarUser .textField,
#sidebarUser input[type="text"],
#sidebarUser input[type="password"] {
  width: 100%; box-sizing: border-box; padding: 8px 10px;
  border: 1px solid #dcdcec; border-radius: 6px; margin: 4px 0 10px; font-size: 13px;
}
#sidebarUser input:focus {
  outline: none; border-color: var(--jehs-primary);
  box-shadow: 0 0 0 3px var(--jehs-tint);
}
#sidebarUser .button,
#sidebarUser input[type="submit"] {
  width: 100%; padding: 10px; border: none; border-radius: 6px;
  background: linear-gradient(135deg, var(--jehs-primary), var(--jehs-primary-dark));
  color: #fff; font-weight: 700; cursor: pointer;
  transition: filter .15s ease, transform .15s ease;
}
#sidebarUser .button:hover,
#sidebarUser input[type="submit"]:hover { filter: brightness(1.08); transform: translateY(-1px); }

.pkp_block .widget_title,
h2.widget_title {
  display: flex; align-items: center; gap: 9px;
  padding: 13px 16px !important;
  background: linear-gradient(135deg, var(--jehs-primary), var(--jehs-primary-dark)) !important;
  color: #fff !important;
  font-weight: 700; font-size: 14px;
  border-radius: 12px 12px 0 0;
  border-bottom: 3px solid var(--jehs-accent);
  margin: 0 !important;
}

@media (max-width: 600px) {
  .qm-card__header { font-size: 13.5px; }
}
