/* ================================================
   CUSTOM MATERIAL THEME STYLE (JOSTEN - AKSANESIA)
   ================================================ */

/* === GOOGLE FONTS: Roboto (sans) & Cardo (serif) === */
@import url("https://fonts.googleapis.com/css2?family=Cardo:ital,wght@0,400;0,700;1,400&family=Roboto:wght@400;500;700;900&display=swap");

/* Variabel font global */
:root {
  --font-sans: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial,
    "Noto Sans", "Helvetica Neue", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji";
  --font-serif: "Cardo", Georgia, "Times New Roman", serif;
}

/* Default tipografi */
html,
body {
  font-family: var(--font-serif);
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Heading pakai Cardo untuk nuansa editorial */
h1,
h2,
h3,
h4,
h5,
h6,
.hero-journal h1,
.sidebar-title,
.josten-tools-title {
  font-family: var(--font-serif);
  font-weight: 700;
}

/* =========================
   HERO CONTENT (2 KOLOM)
   ========================= */
.page_index_journal .josten-container {
  max-width: 1200px;
  margin: 40px auto 24px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* ≥1024px: jadikan dua kolom */
@media (min-width: 1024px) {
  .page_index_journal .josten-container {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

/* Gambar sampul kiri */
.page_index_journal .josten-left {
  display: flex;
  justify-content: center;
}
.page_index_journal .josten-left img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* Tabel info kanan */
.page_index_journal .josten-right {
  width: 100%;
}
.page_index_journal .josten-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin: 0;
}
.page_index_journal .josten-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  line-height: 1.6;
  vertical-align: top;
  color: #1f2937;
}
.page_index_journal .josten-table tr:last-child td {
  border-bottom: 0;
}
.page_index_journal .josten-table td:first-child {
  width: 34%;
  color: #6b7280;
}
.page_index_journal .josten-table td:nth-child(2) {
  width: 4%;
  text-align: center;
  color: #6b7280;
}
.page_index_journal .josten-table td:nth-child(3) {
  width: 62%;
  font-weight: 600;
}

/* Deskripsi bawah */
.page_index_journal .josten-description {
  max-width: 1200px;
  margin: 8px auto 40px;
  padding: 0 16px;
  font-size: 15.5px;
  line-height: 1.9;
  text-align: justify;
  color: #334155;
}
.page_index_journal .josten-description p + p {
  margin-top: 10px;
}

/* Dark mode */
.dark .page_index_journal .josten-table {
  background: #0f172a;
  box-shadow: none;
}
.dark .page_index_journal .josten-table td {
  border-bottom: 1px solid #334155;
  color: #e2e8f0;
}
.dark .page_index_journal .josten-table td:first-child,
.dark .page_index_journal .josten-table td:nth-child(2) {
  color: #94a3b8;
}
.dark .page_index_journal .josten-left img {
  background: #111827;
  /* box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.15); */
}
.dark .page_index_journal .josten-description {
  color: #cbd5e1;
}

/* Responsif kecil */
@media (max-width: 640px) {
  .page_index_journal .josten-table td {
    padding: 10px 12px;
    font-size: 13.5px;
  }
  .page_index_journal .josten-left img {
    max-width: 300px;
  }
}

/* Reset spacing bawaan footer OJS */
footer .pkp_brand_footer {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}
footer .pkp_brand_footer img {
  max-width: 110px;
  height: auto;
  display: block;
}

/* Flex layout brand footer */
@media (min-width: 992px) {
  footer .pkp_brand_footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 120px;
  }
}
@media (max-width: 991px) {
  footer .pkp_brand_footer {
    text-align: center;
  }
}

/* --------------------------------------------
   SECTION: COVER & TABLE LAYOUT
   -------------------------------------------- */
.cover-layout {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 1024px) {
  .cover-layout {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
  }
}

.cover-layout table {
  width: 100%;
  border-collapse: collapse;
  background: var(--tbl-bg, #fff);
  overflow: hidden;
}
.cover-layout th,
.cover-layout td {
  padding: 10px 12px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
}
.cover-layout th {
  text-align: left;
  color: #6b7280;
  background-color: #f9fafb;
}
.cover-layout td {
  color: #1f2937;
}
.cover-layout tr:last-child td {
  border-bottom: none;
}

/* COVER IMAGE tengah */
.cover-layout .cover-box {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  text-align: center;
}
.cover-layout .cover-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.cover-layout .cover-box .btn-group {
  margin: 15px 0;
}
.cover-layout .cover-box a.button {
  background: #0b3d91;
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  margin: 0 5px;
  transition: all 0.3s;
}
.cover-layout .cover-box a.button:hover {
  background: #002b5b;
}

/* --------------------------------------------
   HERO SECTION
   -------------------------------------------- */
.hero-journal {
  background: linear-gradient(135deg, #0b3d91 0%, #1e3a8a 100%);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 0 0 50px 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.hero-journal h1 {
  font-size: 2.2rem;
  font-weight: 700;
}
.hero-journal p {
  margin-top: 10px;
  font-size: 1.1rem;
  color: #e0e7ff;
}
/* ===== JOSTEN FOOTER – RESPONSIVE & NO-OVERFLOW (FINAL) ===== */

/* Struktur dasar */
.footer-modern {
  width: 100%;
  padding: 32px 0;
}
.footer-modern * {
  box-sizing: border-box;
}
.footer-modern .wrap {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

/* Logo */
.footer-modern .footer-logo img {
  max-width: 260px;
  height: auto;
  display: block;
  margin: 0 auto 16px;
}

/* --- Paksa tabel jadi patuh container --- */
.footer-modern table,
.footer-modern table[style] {
  width: 100% !important;
  margin: 0 !important;
  border-collapse: collapse;
  table-layout: auto;
}
.footer-modern td[style],
.footer-modern th[style] {
  width: auto !important;
} /* abaikan width inline */
.footer-modern td {
  padding: 8px 12px;
  vertical-align: top;
}

/* Tipografi & link */
.footer-modern p,
.footer-modern li {
  margin: 0 0 8px;
  line-height: 1.7;
}
.footer-modern ul {
  margin: 0;
  padding-left: 16px;
}
.footer-modern strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}
.footer-modern a {
  color: #0ea5e9;
  text-decoration: none;
}
.footer-modern a:hover {
  text-decoration: underline;
}
.footer-modern td,
.footer-modern a,
.footer-modern p,
.footer-modern li {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ===== Desktop (≥900px): 3 kolom sejajar ===== */
@media (min-width: 900px) {
  .footer-modern tr {
    display: table-row;
  }
  .footer-modern td {
    display: table-cell;
  }

  /* proporsi kolom */
  .footer-modern td:nth-child(1) {
    width: 33%;
  }
  .footer-modern td:nth-child(2) {
    width: 37%;
  }
  .footer-modern td:nth-child(3) {
    width: 30%;
  }
}

/* ===== Mobile & tablet (<900px): 1 kolom penuh ===== */
@media (max-width: 899px) {
  .footer-modern tbody,
  .footer-modern tr,
  .footer-modern td {
    display: block !important;
    width: 100% !important;
  }
  .footer-modern td {
    padding: 12px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  }
  .footer-modern td:last-child {
    border-bottom: 0;
  }

  /* logo di kiri saat HP */
  .footer-modern .footer-logo img {
    margin-left: 0 !important;
    margin-right: auto !important;
  }
}

/* ===== Dark mode border mobile ===== */
@media (max-width: 899px) {
  .dark .footer-modern td {
    border-bottom: 1px solid #1e293b;
  }
}

/* ===== Netralisir parent .text-center agar konten footer tetap rata kiri ===== */
.w-full .footer-modern,
.w-full .footer-modern * {
  text-align: left;
}

/* ===== FOOTER: PATCH v2 – sejajar desktop, rapi mobile ===== */

/* Kontainer utama */
.footer-modern {
  width: 100%;
  padding: 32px 0;
}
.footer-modern * {
  box-sizing: border-box;
}
.footer-modern .wrap {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo: desktop tengah, mobile kiri */
.footer-modern .footer-logo img {
  max-width: 260px;
  height: auto;
  display: block;
  margin: 0 auto 16px;
}
@media (max-width: 899px) {
  .footer-modern .footer-logo img {
    margin-left: 0;
    margin-right: auto;
  }
}

/* Tabel bawaan dipaksa patuh container */
.footer-modern table,
.footer-modern table[style] {
  width: 100% !important;
  margin: 0 !important;
  border-collapse: collapse;
  table-layout: auto;
}
.footer-modern td[style],
.footer-modern th[style] {
  width: auto !important;
}

/* ===== Layout isi: Grid di desktop, 1 kolom di mobile ===== */
.footer-modern tbody {
  width: 100%;
}

/* Mobile & tablet: 1 kolom */
@media (max-width: 899px) {
  .footer-modern tbody,
  .footer-modern tr,
  .footer-modern td {
    display: block !important;
    width: 100% !important;
  }
  .footer-modern td {
    padding: 12px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  }
  .footer-modern td:last-child {
    border-bottom: 0;
  }
  .dark .footer-modern td {
    border-bottom-color: #1e293b;
  }
}

/* Desktop: 3 kolom grid yang sejajar */
@media (min-width: 900px) {
  .footer-modern tbody {
    display: grid !important;
    grid-template-columns: 1.6fr 1.2fr 0.9fr; /* proporsi: OpenAccess | Contact | Info */
    column-gap: 48px;
    align-items: start;
  }
  .footer-modern tr {
    display: contents !important;
  } /* biar <td> jadi item grid */
  .footer-modern td {
    padding: 8px 0;
  }
}

/* Tipografi & link */
.footer-modern p,
.footer-modern li {
  margin: 0 0 8px;
  line-height: 1.7;
}
.footer-modern ul {
  margin: 0;
  padding-left: 16px;
}
.footer-modern strong {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}
.footer-modern a {
  color: #0ea5e9;
  text-decoration: none;
}
.footer-modern a:hover {
  text-decoration: underline;
}
/* cegah teks “meledak” */
.footer-modern td,
.footer-modern a,
.footer-modern p,
.footer-modern li {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Copyright/credits selalu center dan tidak ketarik left dari parent */
.footer .text-sm {
  text-align: center;
  margin-top: 12px;
}
.footer .text-sm a {
  color: inherit;
  text-decoration: underline;
}

/* Kalau ada parent yang memaksakan text-center ke seluruh footer, netralisir hanya di area konten grid */
.w-full .footer-modern tbody,
.w-full .footer-modern td,
.w-full .footer-modern p,
.w-full .footer-modern li,
.w-full .footer-modern strong {
  text-align: left;
}

/* --------------------------------------------
   RESPONSIVE TWEAKS
   -------------------------------------------- */
@media (max-width: 768px) {
  .hero-journal h1 {
    font-size: 1.8rem;
  }
  .cover-layout {
    margin: 30px auto;
  }
  .footer-modern {
    text-align: center;
  }
}

/* ===================================================
   JOSTEN SIDEBAR MODERN (Material/Slate Style)
   =================================================== */

.sidebar-modern {
  background: transparent;
  color: #1e293b;
  font-family: "Palatino Linotype", serif;
  width: 100%;
}

/* Setiap section */
.sidebar-section {
  background: #f8fafc;
  padding: 16px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sidebar-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* Judul */
.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  border-left: 4px solid #0ea5e9;
  padding-left: 10px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* List */
.sidebar-modern ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-modern li {
  position: relative;
  margin: 6px 0;
}
.sidebar-modern li a {
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  color: #334155;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: all 0.25s ease;
  border-left: 3px solid transparent;
}
.sidebar-modern li a:hover {
  background: #e0f2fe;
  border-left-color: #0ea5e9;
  color: #075985;
}

/* Template box */
.template-box {
  text-align: center;
}
.template-box img {
  width: 100%;
  max-width: 280px;
  border-radius: 12px;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.template-box img:hover {
  transform: scale(1.05);
}
.template-box p a {
  color: #0369a1;
  font-weight: 600;
}

/* Flag counter */
.flag-box {
  text-align: center;
}
.flag-box img {
  border-radius: 10px;
  width: 100%;
  max-width: 220px;
}

/* Dark mode */
.dark .sidebar-section {
  background: #0f172a;
  box-shadow: 0 1px 8px rgba(255, 255, 255, 0.05);
}
.dark .sidebar-title {
  color: #f8fafc;
  border-left-color: #38bdf8;
}
.dark .sidebar-modern li a {
  color: #cbd5e1;
}
.dark .sidebar-modern li a:hover {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

/* Responsif */
@media (max-width: 768px) {
  .sidebar-section {
    padding: 14px 16px;
  }
  .sidebar-title {
    font-size: 15px;
  }
}

/* ====== JOSTEN: Tools Carousel ====== */
.josten-tools {
  margin-top: 2rem;
  margin-bottom: 1.25rem;
}

.josten-tools-title {
  margin: 0 0 0.75rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: #0f172a; /* slate-900 */
}

html.dark .josten-tools-title,
body.dark .josten-tools-title {
  color: #e2e8f0; /* slate-200 */
}

.josten-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 10px 0;
  /* fade mask di kiri-kanan biar halus */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
}

html.dark .josten-carousel,
body.dark .josten-carousel {
  background: #0b1220; /* gelap */
  border-color: rgba(226, 232, 240, 0.08);
}

.josten-track {
  display: flex;
  width: max-content;
  column-gap: 2.5rem; /* spasi antar logo */
  align-items: center;
  animation: josten-scroll 28s linear infinite;
  will-change: transform;
}

.josten-carousel:hover .josten-track {
  animation-play-state: paused; /* pause saat hover */
}

.josten-group {
  display: inline-flex;
  align-items: center;
  column-gap: 2.5rem;
}

.josten-group img {
  height: 48px;
  width: auto;
  display: block;
  filter: grayscale(100%) opacity(0.9);
  transition: transform 0.2s ease, filter 0.2s ease;
}

@media (min-width: 1024px) {
  .josten-group img {
    height: 56px;
  }
}

.josten-group img:hover {
  filter: grayscale(0%) opacity(1);
  transform: translateY(-2px) scale(1.03);
}

/* Animasi: geser sepanjang 50% track karena ada 2 group duplikat */
@keyframes josten-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Aksesibilitas: nonaktif animasi untuk prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .josten-track {
    animation: none;
  }
}

/* Responsif kecil: rapatkan sedikit spasi */
@media (max-width: 480px) {
  .josten-group {
    column-gap: 1.5rem;
  }
  .josten-group img {
    height: 40px;
  }
}
/* ====== /JOSTEN: Tools Carousel ====== */

/* ==== JOSTEN: Author Guidelines – Justify Text ==== */
#authorGuidelines p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.7;
  margin: 0 0 0.8rem;
}

/* List tetap rapi & ikut justify */
#authorGuidelines ul,
#authorGuidelines ol {
  padding-left: 1.25rem; /* jarak bullet/angka */
  margin: 0.25rem 0 0.9rem; /* spasi blok list */
}

#authorGuidelines li {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: anywhere;
  line-height: 1.6;
  margin-bottom: 0.25rem; /* spasi antar butir */
}

/* Heading tetap rapi (boleh justify juga) */
#authorGuidelines h1,
#authorGuidelines h2,
#authorGuidelines h3 {
  text-align: justify; /* atau 'left' jika tidak ingin diratakan */
  line-height: 1.35;
  margin: 0.75rem 0 0.5rem;
}

/* Pastikan gambar/tabel tidak overflow */
#authorGuidelines img,
#authorGuidelines table {
  max-width: 100%;
  height: auto;
}

/* ---------------------------------------------------------------------------------------- */

/* Scope */
.josten-r-cardo {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px;
  font-family: Cardo, serif; /* sesuai permintaan */
  --fg: #0f172a; /* teks utama */
  --muted: #475569; /* teks sekunder */
  --line: rgba(15, 23, 42, 0.12);
  --card: #ffffff;
  --shadow: 0 1px 6px rgba(2, 6, 23, 0.06);
  --radius: 14px;
  --link: #1f4db8; /* biru elegan untuk tautan */
  --chip-fg: #334155; /* warna badge SCOPUS */
  --chip-line: rgba(15, 23, 42, 0.2);
  --chip-bg: rgba(15, 23, 42, 0.03);
  --icon: #64748b; /* ikon halus */
}
html.dark .josten-r-cardo,
body.dark .josten-r-cardo {
  --fg: #e2e8f0;
  --muted: #9aa8bb;
  --line: rgba(226, 232, 240, 0.14);
  --card: #0b1220;
  --shadow: 0 8px 24px rgba(2, 6, 23, 0.45);
  --link: #9dbaf9;
  --chip-fg: #cbd5e1;
  --chip-line: rgba(226, 232, 240, 0.24);
  --chip-bg: rgba(148, 163, 184, 0.1);
  --icon: #94a3b8;
}

/* Title */
.josten-r-cardo h2 {
  margin: 8px 0 16px;
  font-size: clamp(1.2rem, 1.1vw + 1rem, 1.55rem);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: 0.2px;
}

/* Grid: 1 → 2 kolom (tetap 2 di desktop) */
.josten-r-cardo ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .josten-r-cardo ul {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .josten-r-cardo ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Card */
.josten-r-cardo li {
  background: var(--card);
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px 14px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease;
}
.josten-r-cardo li:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.1);
  border-color: rgba(15, 23, 42, 0.18);
}
html.dark .josten-r-cardo li:hover,
body.dark .josten-r-cardo li:hover {
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.55);
  border-color: rgba(226, 232, 240, 0.2);
}

/* Rows: 3 baris */
.rc-row {
  display: grid;
  grid-template-columns: 128px 1fr;
  column-gap: 12px;
  align-items: start;
}
.rc-row + .rc-row {
  margin-top: 12px;
}

.rc-label {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rc-label .ico {
  width: 16px;
  height: 16px;
  color: var(--icon);
}

/* Nilai */
.rc-val {
  color: var(--fg);
}

/* Nama: link elegan */
.rc-name a {
  color: var(--link);
  font-weight: 700;
  text-decoration: none;
}
.rc-name a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* SCOPUS badge (netral, elegan) */
.scopus-id {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--chip-fg);
  background: var(--chip-bg);
  border: 1px solid var(--chip-line);
  border-radius: 999px;
  padding: 6px 12px;
  text-decoration: none;
}
.scopus-id .dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #f59e0b, #f97316); /* orange lembut */
  display: inline-block;
}

/* Universitas bullet halus */
.rc-uni {
  color: var(--muted);
}
.rc-uni::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-right: 0.5rem;
  display: inline-block;
  vertical-align: 0.02rem;
  background: var(--muted);
  border-radius: 50%;
}

/* Mobile */
@media (max-width: 480px) {
  .rc-row {
    grid-template-columns: 100px 1fr;
  }
  .josten-r-cardo li {
    padding: 14px;
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .josten-r-cardo * {
    transition: none !important;
  }
}
.josten-r-cardo .rc-row {
  /* tetap 2 kolom seperti sebelumnya */
  grid-template-columns: 128px 1fr;
  align-items: center; /* <— inti: vertikal tengah */
  min-height: 44px; /* tinggi minimum baris yg konsisten */
  margin-top: 10px; /* spasi antar baris */
}
.josten-r-cardo .rc-row:first-child {
  margin-top: 0;
}

/* label jangan dorong ke atas */
.josten-r-cardo .rc-label {
  padding-top: 0; /* sebelumnya ada sedikit padding-top */
  display: flex;
  align-items: center;
  gap: 8px;
}

/* nilai di kolom kanan ikut center */
.josten-r-cardo .rc-val {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 6px;
}

/* badge SCOPUS otomatis center */
.josten-r-cardo .scopus-id {
  display: inline-flex;
  align-items: center;
}

/* Universitas: bullet + teks sejajar */
.josten-r-cardo .rc-uni {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem; /* bullet + teks */
}
.josten-r-cardo .rc-uni::before {
  margin: 0;
  vertical-align: middle; /* hilangkan offset */
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
}

/* Mobile: sedikit lebih pendek agar pas */
@media (max-width: 480px) {
  .josten-r-cardo .rc-row {
    min-height: 40px;
  }
}

/* ---------------------------------------------------------------------------------------- */

/* Scope khusus Editorial */
.josten-ed-cardo {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px;
  font-family: Cardo, serif;
  --fg: #0f172a;
  --muted: #475569;
  --line: rgba(15, 23, 42, 0.12);
  --card: #ffffff;
  --shadow: 0 1px 6px rgba(2, 6, 23, 0.06);
  --radius: 14px;
  --link: #1f4db8;
  --chip-fg: #334155;
  --chip-line: rgba(15, 23, 42, 0.2);
  --chip-bg: rgba(15, 23, 42, 0.03);
  --icon: #64748b;
}
html.dark .josten-ed-cardo,
body.dark .josten-ed-cardo {
  --fg: #e2e8f0;
  --muted: #9aa8bb;
  --line: rgba(226, 232, 240, 0.14);
  --card: #0b1220;
  --shadow: 0 8px 24px rgba(2, 6, 23, 0.45);
  --link: #9dbaf9;
  --chip-fg: #cbd5e1;
  --chip-line: rgba(226, 232, 240, 0.24);
  --chip-bg: rgba(148, 163, 184, 0.1);
  --icon: #94a3b8;
}

/* Title */
.josten-ed-cardo h2 {
  margin: 8px 0 16px;
  font-size: clamp(1.2rem, 1.1vw + 1rem, 1.55rem);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: 0.2px;
}

/* Grid: 1 → 2 kolom (tetap 2 di desktop) */
.josten-ed-cardo ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .josten-ed-cardo ul {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .josten-ed-cardo ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Card */
.josten-ed-cardo li {
  background: var(--card);
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px 14px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease;
}
.josten-ed-cardo li:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.1);
  border-color: rgba(15, 23, 42, 0.18);
}
html.dark .josten-ed-cardo li:hover,
body.dark .josten-ed-cardo li:hover {
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.55);
  border-color: rgba(226, 232, 240, 0.2);
}

/* Rows */
.ed-row {
  display: grid;
  grid-template-columns: 128px 1fr;
  column-gap: 12px;
  align-items: center;
  min-height: 44px;
}
.ed-row + .ed-row {
  margin-top: 12px;
}
.ed-label {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ed-label .ico {
  width: 16px;
  height: 16px;
  color: var(--icon);
}
.ed-val {
  color: var(--fg);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 6px;
}

/* Nama */
.ed-name a {
  color: var(--link);
  font-weight: 700;
  text-decoration: none;
}
.ed-name a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* SCOPUS badge */
.scopus-id {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--chip-fg);
  background: var(--chip-bg);
  border: 1px solid var(--chip-line);
  border-radius: 999px;
  padding: 6px 12px;
  text-decoration: none;
}
.scopus-id .dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #f59e0b, #f97316);
  display: inline-block;
}

/* Universitas bullet */
.ed-uni {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.ed-uni::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  background: var(--muted);
  border-radius: 50%;
}

/* Mobile */
@media (max-width: 480px) {
  .ed-row {
    grid-template-columns: 100px 1fr;
    min-height: 40px;
  }
  .josten-ed-cardo li {
    padding: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .josten-ed-cardo * {
    transition: none !important;
  }
}

/* Hapus bullet di baris Universitas */
.rc-uni::before,
.rm-uni::before,
.ed-uni::before {
  content: none !important;
}

/* (opsional) rapikan jarak jika perlu */
.rc-uni,
.rm-uni,
.ed-uni {
  gap: 0 !important;
}
