/* ============================================================
   Bestuurskunde — perbaikan sementara tampilan kartu orang
   Halaman: Editorial Team & Reviewers
   Dibuat 2026-08-25. Sementara, sampai child theme siap.

   Markup sudah memakai kelas Bootstrap (.card, .col, .avatar)
   tapi CSS-nya hilang saat tema kembali ke Default Theme.
   Berkas ini mengembalikan arti kelas-kelas itu, TANPA
   memuat Bootstrap penuh.

   Semua aturan dibatasi ke .page (isi utama) supaya blok
   logo indexing di sidebar — yang juga memakai .row/.col —
   tidak ikut terpengaruh.
   ============================================================ */

:root {
  --bk-aksen:        #1b4965;  /* strip atas kartu */
  --bk-aksen-2:      #2a6f97;
  --bk-garis:        #e3e6ea;
  --bk-teks-lembut:  #5a6472;
  --bk-latar-ikon:   #f4f6f8;
}

/* ---------- 1. Grid kartu ---------- */
.page .row.row-cols-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 0 0 2.25rem;
}
@media (min-width: 768px) {
  .page .row.row-cols-md-2 { grid-template-columns: repeat(2, 1fr); }
}
/* Aktifkan baris ini kalau ingin 3 kolom di layar lebar:
@media (min-width: 1200px) {
  .page .row.row-cols-md-2 { grid-template-columns: repeat(3, 1fr); }
}
*/
.page .row.row-cols-1 > .col { display: flex; }

/* ---------- 2. Kartu ---------- */
.page .card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border: 1px solid var(--bk-garis);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
  transition: box-shadow .18s ease, transform .18s ease;
}
.page .card:hover {
  box-shadow: 0 8px 20px rgba(16, 24, 40, .10);
  transform: translateY(-2px);
}
.page .card.text-center { text-align: center; }

/* Strip aksen tipis di atas kartu (isi card-header cuma &nbsp;) */
.page .card .card-header {
  height: 6px;
  min-height: 6px;
  padding: 0;
  border: 0;
  background: linear-gradient(90deg, var(--bk-aksen), var(--bk-aksen-2));
}

/* ---------- 3. Foto ---------- */
.page .card .avatar { padding: 1.25rem 0 0; }
.page .card .avatar img.card-img-top {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--bk-garis);
}

/* ---------- 4. Isi kartu ---------- */
.page .card .card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: .85rem 1.1rem 1.2rem;
}
.page .card .card-title {
  margin: .35rem 0 .3rem;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
}
.page .card .card-body .desc {
  margin: 0;
  font-size: .86rem;
  line-height: 1.45;
  color: var(--bk-teks-lembut);
}
.page .card .card-body hr {
  width: 100%;
  margin: .8rem 0 .65rem;
  border: 0;
  border-top: 1px solid #eceef1;
}

/* ---------- 5. Profil akademik: ikon saja, ID disembunyikan ---------- */
.page .academic-profiles { margin-top: auto; }

.page .academic-profiles ul.card-text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page .academic-profiles li { margin: 0; padding: 0; }

/* font-size:0 menyembunyikan teks ID yang menempel di dalam <a>.
   Teksnya tetap ada di HTML sehingga pembaca layar masih membacanya,
   dan setiap tautan punya atribut title sebagai label. */
.page .academic-profiles a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 0;
  line-height: 0;
  border: 1px solid var(--bk-garis);
  border-radius: 8px;
  background: var(--bk-latar-ikon);
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.page .academic-profiles a:hover,
.page .academic-profiles a:focus-visible {
  background: #e9eef3;
  border-color: #c9d3dc;
}
.page .academic-profiles a:focus-visible {
  outline: 2px solid var(--bk-aksen-2);
  outline-offset: 2px;
}

/* Kembalikan ukuran gambar (font-size:0 tidak memengaruhi img,
   tapi atribut width/height di HTML perlu diseragamkan).
   width:auto menjaga rasio — ikon ResearcherID bukan persegi. */
.page .academic-profiles a img {
  width: auto;
  height: 18px;
  max-width: 22px;
  object-fit: contain;
}

/* ---------- 6. Judul kelompok (Editor-in-Chief, Editorial Board, dst.) ---------- */
.page h2 {
  margin: 2rem 0 1rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--bk-garis);
  font-size: 1.25rem;
}
.page h2:first-of-type { margin-top: 1rem; }

/* ---------- 7. Perbaikan kecil: .img-fluid juga kehilangan CSS-nya ---------- */
.img-fluid { max-width: 100%; height: auto; }