/*! EMPATI stylesheet (fixed & aligned to cover) */
@charset "UTF-8";
@import "https://fonts.googleapis.com/css2?family=Baloo+Tamma+2&display=swap";
@import "https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css";

/* ================= EMPATI COLOR PALETTE ================= */
:root{
  --empati-primary: #0C7DBE;        /* biru utama UI */
  --empati-primary-dark: #0A5E8E;   /* biru tua (header/gradient) */
  --empati-primary-light: #1BA3E3;  /* hover/outline */
  --empati-accent: #63B3ED;         /* aksen terang */
  --empati-text: #23313F;           /* teks */
}
/* ======================================================= */

/* ====== TYPOGRAPHY & LINKS ====== */
.obj_article_summary .title,
.obj_article_summary .title a,
.page_issue .obj_article_summary .title a,
.obj_article_details .page_title,
.obj_article_details h1,
.obj_article_details h1 a,
.current_issue_title,
.current_issue_title a {
  color: var(--empati-primary) !important;
  text-decoration: none;
}

a { color: var(--empati-primary); }
a:hover, a:focus { color: var(--empati-primary-light); }

/* Justify body content */
.pkp_structure_main p,
.pkp_structure_main div,
.pkp_structure_main span,
.pkp_structure_main li,
.pkp_structure_main td,
.pkp_structure_main th,
.obj_article_details .main_entry,
.page_article .article_details,
.page_issue .issue_description {
  text-align: justify !important;
}

/* ====== ARTICLE CARDS ====== */
/* SINGLE COLUMN: selalu 1 baris per artikel */
.cmp_article_list.articles {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
}
/* jaga-jaga kalau tema pakai float/flex */
.cmp_article_list.articles .obj_article_summary {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 16px 0 !important;
  float: none !important;
  clear: both !important;
  box-sizing: border-box;
}
/* hapus pengubah sebelumnya di breakpoint agar tetap 1 kolom */
@media (max-width: 992px) {
  .cmp_article_list.articles { grid-template-columns: 1fr !important; }
}

/* single card */
.obj_article_summary {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--empati-primary);
  padding: 16px;
  border-radius: 8px;
  background-color: #FAFAFA;
  box-shadow: 0 1px 4px rgba(12,125,190,0.08);
  transition: box-shadow .3s ease, transform .2s ease;
}
.obj_article_summary:hover {
  box-shadow: 0 6px 16px rgba(12,125,190,0.16);
  transform: translateY(-2px);
}
.obj_article_summary > .title {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  font-size: 15px;
  text-transform: none;
}
.obj_article_summary > .title a {
  display: block;
  text-decoration: none;
  font-size: 16px;
  color: #333;
}

/* Tombol & galley */
.cmp_button_wire,
.obj_galley_link {
  background: var(--empati-primary);
  border: 1px solid var(--empati-primary);
  color: #fff;
}
.cmp_button_wire:hover,
.obj_galley_link:hover { filter: brightness(1.08); }

/* ====== COLLAB LOGOS ====== */
.collab-logos { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 8px; }
.collab-logos img { max-width: 60px; height: auto; display: block; }

/* ====== SIDEBAR & BLOCKS ====== */
.pkp_structure_sidebar {
  background: linear-gradient(180deg, var(--empati-primary-dark) 0%, var(--empati-primary) 100%);
  padding: 1.5rem;
  border-left: 1px solid #E0E0E0;
}
.pkp_block {
  background-color: #FFF;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  margin-bottom: 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pkp_block:hover { transform: translateY(-3px); box-shadow: 0 6px 12px rgba(0,0,0,0.08); }

/* judul block: gradient biru Empati */
.pkp_block .title {
  width: 100%;
  border-radius: 8px 8px 0 0;
  background-color: var(--empati-primary);
  background-image: linear-gradient(314deg, var(--empati-primary-dark) 0%, var(--empati-primary) 74%);
  height: 40px;
  font-size: 13px;
  color: #FFF;
  padding: .8em 10px 0;
  margin-bottom: 0;
  border: 0;
  text-align: center;
  font-family: 'Source Sans Pro', sans-serif;
}
.pkp_block .bottom {
  width: 100%;
  border-radius: 0 0 4px 4px;
  background-image: linear-gradient(314deg, var(--empati-primary-dark) 0%, var(--empati-primary) 74%);
  height: 15px;
  color: #E6F4FF;
}

/* list di dalam block */
.pkp_block .content { background-color: #FFF; }
.pkp_block .content ul li { padding: 0; background-color: #F4F4F2; }
.pkp_block li { border-radius: 0; position: relative; background-color: #F1F1F1; display: block; }
.pkp_block ul > li { border-bottom: 1px solid rgba(0,0,0,.125); }
.pkp_block ul > li a { color: #495464; padding: .75rem 1rem; display: flex; }
.pkp_block ul > li a:hover { text-decoration: none; background-color: #E7F3FB; }
.pkp_block ul > li em {
  box-sizing: border-box; display: inline-block; font: 1.09em/1 FontAwesome;
  -webkit-font-smoothing: antialiased; margin: 0 15px 0 -10px; border-right: 1px solid #E7E5E5; width: 35px;
}

/* ====== INDEX additional content (hero image) ====== */
.pkp_page_index .additional_content { padding-top: 0 !important; padding-bottom: 0 !important; }
.pkp_page_index .additional_content > p:first-child,
.pkp_page_index .additional_content > p:first-child > img { margin: 0 !important; padding: 0 !important; }
.pkp_page_index .additional_content img { display: block; margin: 0 auto !important; padding: 0 !important; width: 60%; height: auto; max-width: 60%; border: none; }
.pkp_page_index .additional_content p:first-child { margin-left: -15px; margin-right: -15px; }
.pkp_page_index .additional_content p:first-child img { width: calc(70% + 30px); max-width: unset; }

/* ====== HEAD & CONTENT WRAPPER ====== */
html, body {
  background-image: url("https://journal.uinjkt.ac.id/public/site/images/rumahjurnal/noisy-grid.png");
}
.pkp_structure_content { background: #ffffff; } /* FIX: sebelumnya #ffff */

/* ====== ARTICLE DETAILS ====== */
.obj_article_details > .page_title { font-weight: 600; }
.obj_article_details div.main_entry ul.authors{
  padding: 20px 30px 10px 15px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F9F9F9 47%, #FFFFFF 100%);
  box-shadow: 9px 10px 5px -10px rgba(224,224,224,.75);
  border: 1px solid #F3F3F3; border-right: 1px solid #EFEFEF; border-bottom: 1px solid #EAEAEA;
  width: 100%;
}
.item.authors { font-size: 14px; }
.item.authors .email:before      { content:"\f0e0"; font-family:fontawesome; margin-right:5px; font-size:14px; color: var(--empati-primary); }
.item.authors span.name:before   { content:"\f007"; font-family:fontawesome; margin-right:5px; font-size:14px; color: var(--empati-primary); }
.item.authors span.affiliation:before { content:"\f19c"; font-family:fontawesome; color: var(--empati-primary); }
.name { color: var(--empati-primary); }

/* ====== FOOTER ====== */
.pkp_footer_content {
  background: linear-gradient(to bottom, #FFFFFF 0%, #FFFFFF 33%, #FFFFFF 100%);
}
.pkp_footer_content .theme-credit { text-align: right; width: 100%; color: #BBBABA; font-size: 10px; }
.pkp_footer_content .theme-credit a { color: var(--empati-primary-dark); text-decoration: none; }
.pkp_structure_footer_wrapper { background: #F9F9F9; margin-bottom: 10px; }
.pkp_structure_footer { margin-top: 10px; background: #FFF; border: 1px solid #EFEFEF; }
.pkp_brand_footer { display: none; }
.pkp_footer_content { padding: 0; }
.pkp_footer_content .footer { padding: 30px; box-shadow: 0 1px 5px -2px rgba(0,0,0,.13); z-index: 1; }
.row.copright-container {
  font-size: 13px; text-align: justify; color: #8C8C8C;
  border-top: 1px solid #F3F3F3; padding: 30px;
  background: linear-gradient(to bottom, #F9F9F9 0%, #FFFFFF 100%);
}
.copyright-wrapper { width: 100%; }
.copyright-wrapper a.img_cc { height: 10px; width: 200px; margin: 0 85px 0 5px; }
.copyright-wrapper a.img_cc img { position: absolute; }

/* ====== UTILITY LIST ====== */
.uvp-list ul{
  font-family:'Work Sans',sans-serif;
  line-height:28px; font-size:16px;
  display:inline-block; border:1px solid #BABABA; padding:1rem 2rem; max-width:100%;
  list-style:none;
}
.uvp-list ul > li { clear:left; padding:.5rem 0; }
.uvp-list ul > li:before{
  content:""; height:1.5rem; width:1.5rem; display:block; float:left; margin-left:-1.5rem;
  background:url("https://info.openpath.com/hubfs/checkmark-round-orange.svg") center/cover no-repeat;
  padding:.15rem;
}

/* ====== GRID HELPERS ====== */
.row [class^="col"] { float:left; margin:.5rem 2%; min-height:.125rem; }
.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12 { width:96%; }
.hidden-sm { display:none; }
@media (min-width:33.75em){ .container{ width:80%; } }
@media (min-width:45em){
  .col-1{width:4.33%} .col-2{width:12.66%} .col-3{width:21%} .col-4{width:29.33%}
  .col-5{width:37.66%} .col-6{width:46%} .col-7{width:54.33%} .col-8{width:62.66%}
  .col-9{width:71%} .col-10{width:79.33%} .col-11{width:87.66%} .col-12{width:96%}
  .hidden-sm{display:block}
}
@media (min-width:60em){ .container{ width:75%; max-width:60rem; } }

/* ====== ACCESSIBILITY FOCUS ====== */
a:focus, button:focus, .cmp_button_wire:focus, .obj_galley_link:focus {
  outline: 2px solid var(--empati-primary-light);
  outline-offset: 2px;
}