/* ============================================================
   Civitas Consecratio (LPM-IPDN) — stylesheet jurnal
   journal_id 43 · hanya berlaku untuk /cc
   ------------------------------------------------------------
   Konten jurnal ini ditulis untuk tema "cicon" yang sudah tidak
   ada lagi di server. Berkas ini memulihkan subset UIkit yang
   benar-benar dipakai (27 class) + 4 class cicon, lalu menata
   header, sidebar dan footer mengikuti rujukan jerkin.org
   dengan warna brand Civitas Consecratio.
   ============================================================ */

:root {
  --cc-primary:      #108080;   /* teal dominan pada logo */
  --cc-primary-dark: #0c6666;
  --cc-primary-soft: #e6f2f2;
  --cc-accent:       #a0d040;   /* lime aksen pada logo */
  --cc-ink:          #2e3338;
  --cc-muted:        #6b7780;
  --cc-line:         #dde3e6;
}

/* ============================================================
   1. SUBSET UIKIT — memulihkan class yang dipakai konten
   ============================================================ */

/* -- Grid -- */
.uk-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 0 -30px;
  padding: 0;
  list-style: none;
}
.uk-grid > * {
  margin: 0;
  padding-left: 30px;
  box-sizing: border-box;
}
.uk-grid-small { margin-left: -15px; }
.uk-grid-small > * { padding-left: 15px; }
.uk-grid-collapse { margin-left: 0; }
.uk-grid-collapse > * { padding-left: 0; }
.uk-grid-margin { margin-top: 30px; }

/* -- Lebar kolom -- */
.uk-width-auto   { width: auto; flex: none; }
.uk-width-expand { flex: 1; min-width: 1px; }

@media (min-width: 640px) {
  .uk-width-1-3\@s { width: 33.333%; flex: none; }
  .uk-width-2-3\@s { width: 66.666%; flex: none; }
}
@media (min-width: 960px) {
  .uk-child-width-1-2\@m > * { width: 50%; flex: none; }
}

/* -- Flex -- */
.uk-flex-middle { align-items: center; }

/* -- Card -- */
.uk-card {
  position: relative;
  box-sizing: border-box;
  border-radius: 6px;
}
.uk-card-default {
  background: #fff;
  color: var(--cc-ink);
  border: 1px solid var(--cc-line);
  box-shadow: 0 2px 6px rgba(16, 128, 128, .07);
  transition: box-shadow .18s ease, transform .18s ease;
}
.uk-card-default:hover {
  box-shadow: 0 6px 18px rgba(16, 128, 128, .14);
  transform: translateY(-2px);
}
.uk-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--cc-line);
  background: linear-gradient(180deg, #fbfdfd 0%, #f4f9f9 100%);
  border-radius: 6px 6px 0 0;
}
.uk-card-body { padding: 16px 20px; }
/* sel kosong <div class="uk-card-body">&nbsp;</div> jangan makan tempat */
.uk-card-body:empty { padding: 0; }
.uk-card-title {
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--cc-primary-dark);
}
.uk-card-media-left { border-radius: 6px 0 0 6px; overflow: hidden; }

/* -- List -- */
.uk-list { padding: 0; list-style: none; margin: 0; }
.uk-list > li { padding: 4px 0; }
.uk-list-divider > li + li {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--cc-line);
}
.uk-list-striped > li { padding: 8px 10px; }
.uk-list-striped > li:nth-of-type(odd) { background: #f7fafa; }

/* -- Badge -- */
.uk-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 500px;
  background: var(--cc-primary);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.5;
  vertical-align: middle;
  white-space: nowrap;
}

/* -- Teks & jarak -- */
.uk-text-meta { font-size: .82rem; color: var(--cc-muted); line-height: 1.4; }
.uk-margin { margin-bottom: 20px; }
.uk-margin-remove-top    { margin-top: 0 !important; }
.uk-margin-remove-bottom { margin-bottom: 0 !important; }
.uk-padding-small { padding: 15px; }

/* -- Lain-lain -- */
.uk-border-circle { border-radius: 50%; }
.uk-cover-container { position: relative; overflow: hidden; }

/* spacer kosong yang dipakai konten sebagai pengganti <br> */
.uk-grid-small:empty,
.uk-grid-margin:empty { display: block; height: 14px; margin: 0; }

/* ============================================================
   2. CLASS cicon — peninggalan tema lama
   ============================================================ */

/* Ini perbaikan terpenting: tanpa batasan ukuran, foto editor
   tampil pada dimensi aslinya dan halaman Dewan Editor
   membengkak sampai ±20.000px. */
.cicon-foto-profil {
  width: 84px;
  height: 84px;
  object-fit: cover;
  display: block;
  border: 3px solid var(--cc-primary-soft);
  background: #fff;
}

.cicon-teks-meta { font-size: .82rem; color: var(--cc-muted); }

.cicon-badge {
  background: var(--cc-primary);
  color: #fff;
  margin-bottom: 10px;
}

.cicon-profil-akademik { margin-top: 10px; }
.cicon-profil-akademik ul { margin: 0; }
.cicon-profil-akademik li { font-size: .85rem; }
.cicon-profil-akademik a { color: var(--cc-primary-dark); }

/* Ikon profil akademik ikut tampil ukuran asli tanpa tema lama */
.cicon-profil-akademik img,
img.orcid, img.google-scholar, img.sinta,
img.scopus, img.researcherID {
  height: 18px;
  width: auto;
  vertical-align: middle;
  margin-right: 6px;
}

/* ============================================================
   3. HEADER — logo besar, mengikuti pola jerkin.org
   ============================================================ */

/* Logo Civitas Consecratio berupa teks teal gelap dengan latar transparan.
   Di atas header teal ia nyaris tak terbaca, jadi logo diberi alas putih. */
.pkp_site_name { padding: 14px 0; }
.pkp_site_name .is_img {
  display: inline-block;
  background: #fff;
  padding: 9px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .14);
}
.pkp_site_name .is_img img {
  display: block;
  max-height: 74px;
  max-width: 100%;
  width: auto;
  height: auto;
}

/* ============================================================
   4. SIDEBAR — blok berjudul, mengikuti pola jerkin.org
   ============================================================ */

.pkp_structure_sidebar .pkp_block {
  margin-bottom: 20px;
  border: 1px solid var(--cc-line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
/* Dua macam judul blok dipakai berdampingan:
   - blok bawaan OJS  : <h2 class="title">Bahasa</h2>
   - blok custom      : <div class="custom-block-title">Kebijakan Jurnal</div>
     (judul .title-nya disembunyikan dengan .pkp_screen_reader)
   Keduanya disamakan supaya sidebar tampil seragam. */
.pkp_structure_sidebar .pkp_block .title:not(.pkp_screen_reader),
.pkp_structure_sidebar .pkp_block .custom-block-title {
  display: block;
  margin: 0;
  padding: 9px 12px;
  background: var(--cc-primary);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 3px solid var(--cc-accent);
}

.pkp_structure_sidebar .pkp_block .content { padding: 0; }
.pkp_structure_sidebar .pkp_block .content img { max-width: 100%; height: auto; }
.pkp_structure_sidebar .pkp_block ul { list-style: none; margin: 0; padding: 0; }
/* blok bawaan: daftar polos perlu jarak sendiri */
.pkp_structure_sidebar .pkp_block:not(.block_custom) .content > ul { padding: 8px 12px; }
.pkp_structure_sidebar .pkp_block li { padding: 5px 0; border-bottom: 1px dotted var(--cc-line); }
.pkp_structure_sidebar .pkp_block li:last-child { border-bottom: 0; }
/* blok custom sudah memakai uk-list-striped / uk-padding-small sendiri */
.pkp_structure_sidebar .pkp_block .uk-list-striped > li { border-bottom: 0; }
.pkp_structure_sidebar .pkp_block a { color: var(--cc-primary-dark); text-decoration: none; }
.pkp_structure_sidebar .pkp_block a:hover { color: var(--cc-primary); text-decoration: underline; }

/* tombol Kirim Naskah */
.pkp_block.block_make_submission .block_make_submission_link {
  display: block;
  padding: 11px 14px;
  background: var(--cc-accent);
  color: #243300;
  font-weight: 700;
  text-align: center;
  border-radius: 5px;
  text-decoration: none;
}
.pkp_block.block_make_submission .block_make_submission_link:hover {
  background: #b4e04f;
  color: #1a2600;
}

/* ---- blok Indeksasi: logo pengindeks, tinggi diseragamkan ---- */
.cc-indeks { text-align: center; }
.cc-indeks a {
  display: block;
  padding: 9px 4px;
  border-bottom: 1px dotted var(--cc-line);
}
.cc-indeks a:last-child { border-bottom: 0; }
.cc-indeks img {
  max-height: 46px;
  max-width: 100%;
  width: auto;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  transition: transform .15s ease;
}
.cc-indeks a:hover img { transform: scale(1.04); }
/* Logo Google Scholar berbentuk persegi, sedangkan yang lain memanjang.
   Dengan batas tinggi yang sama ia tampak jauh lebih kecil, jadi diberi
   kelonggaran agar bobot visualnya setara. */
.cc-indeks img[src$="GS.png"] { max-height: 62px; }

/* ---- blok Pengunjung: angka, daftar negara, keterangan ---- */
.cc-visitor { font-size: .82rem; }
.cc-vis-sub {
  margin: 12px 0 5px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--cc-primary-dark);
  border-bottom: 1px solid var(--cc-line);
  padding-bottom: 3px;
}
.cc-vis-sub:first-child { margin-top: 0; }
.cc-vis-kecil { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--cc-muted); }

.cc-vis-tabel { width: 100%; border-collapse: collapse; }
.cc-vis-tabel td { padding: 3px 0; }
.cc-vis-tabel td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--cc-ink);
}
.cc-vis-total td {
  border-top: 1px solid var(--cc-line);
  padding-top: 5px;
  font-weight: 700;
  color: var(--cc-primary-dark);
}

.cc-vis-negara { list-style: none; margin: 0; padding: 0; }
.cc-vis-negara li {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3px 0;
  border-bottom: 0;
}
.cc-vis-bendera { font-size: 1.05rem; line-height: 1; }
.cc-vis-nama { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-vis-angka { font-variant-numeric: tabular-nums; font-weight: 600; }

.cc-vis-ket {
  margin: 9px 0 0;
  font-size: .70rem;
  line-height: 1.45;
  color: var(--cc-muted);
}
.cc-vis-ket a { color: var(--cc-primary-dark); }

/* ---- blok ISSN: barcode ---- */
.cc-issn { text-align: center; }
.cc-issn-label {
  margin: 10px 0 4px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--cc-primary-dark);
}
.cc-issn-label:first-child { margin-top: 0; }
.cc-issn img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--cc-line);
  border-radius: 4px;
  background: #fff;
}

/* ============================================================
   5. KONTEN
   ============================================================ */

.obj_article_summary > .title a { color: var(--cc-primary-dark); }
.obj_article_summary > .title a:hover { color: var(--cc-primary); }

/* sampul terbitan di beranda jangan sebesar layar */
.obj_issue_summary .cover img,
.pkp_structure_main .cover img { max-width: 260px; height: auto; }

h1, h2, h3 { color: var(--cc-primary-dark); }
.page h1 { border-bottom: 2px solid var(--cc-accent); padding-bottom: 8px; }

/* ============================================================
   6. FOOTER — tiga kolom, mengikuti pola jerkin.org
   ============================================================ */

.pkp_footer_content { float: left; width: 72%; padding: 14px 0; }
.pkp_brand_footer   { float: right; width: 28%; padding: 14px 0; }

.cc-footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: .86rem;
  line-height: 1.6;
}
.cc-footer-grid > div { flex: 1 1 210px; min-width: 0; }
.cc-footer-grid h4 {
  margin: 0 0 8px;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--cc-primary-dark);
  border-bottom: 2px solid var(--cc-accent);
  padding-bottom: 5px;
}
.cc-footer-grid ul { list-style: none; margin: 0; padding: 0; }
.cc-footer-grid li { padding: 2px 0; }
.cc-footer-grid a { color: var(--cc-primary-dark); }

/* ============================================================
   7. TABEL IDENTITAS JURNAL di beranda
   ============================================================ */

.cc-identitas {
  width: 100%;
  border-collapse: collapse;
  background: var(--cc-primary-soft);
  border: 1px solid var(--cc-line);
  border-radius: 6px;
  font-size: .88rem;
  margin-bottom: 22px;
}
.cc-identitas td { padding: 6px 12px; vertical-align: top; }
.cc-identitas td:first-child { width: 170px; font-weight: 600; color: var(--cc-primary-dark); }
.cc-identitas tr + tr td { border-top: 1px solid rgba(16,128,128,.12); }

/* ============================================================
   8. PONSEL
   ============================================================ */

@media (max-width: 960px) {
  .pkp_footer_content, .pkp_brand_footer { float: none; width: 100%; }
  .cicon-foto-profil { width: 64px; height: 64px; }
  .pkp_site_name .is_img img { max-height: 64px; }
}
