/* ================================================================
   JURNAL GIZI DAN KULINER (JNC) - OJS 3.x
   Navigasi, sidebar, Custom Block, header, dan tampilan responsif
   Palet: hijau #03601C | hijau gelap #024616 | oranye #F59E0B
   ================================================================ */

:root {
  --jnc-primary: #03601c;
  --jnc-primary-dark: #024616;
  --jnc-primary-light: #e9f6ed;
  --jnc-accent: #f59e0b;
  --jnc-accent-dark: #c96f00;
  --jnc-white: #ffffff;
  --jnc-text: #20352a;
  --jnc-muted: #66756d;
  --jnc-border: #d8e8dd;
  --jnc-shadow: 0 8px 24px rgba(2, 70, 22, 0.12);
  --jnc-radius: 10px;
}

/* ===== 1. DASAR HALAMAN ===== */
html { scroll-behavior: smooth; }

body {
  margin-top: 0 !important;
  color: var(--jnc-text);
  background: #f7faf8;
}

a { transition: color .2s ease, background-color .2s ease; }

/* ===== 2. HEADER / PAGE HEADER LOGO =====
   Unggah banner melalui Appearance > Page Header Logo.
   Jangan menulis nama file lokal pada background-image CSS. */
.pkp_site_name_wrapper {
  margin-top: 0 !important;
  padding: 0;
  background: var(--jnc-primary);
}

.pkp_site_name {
  width: 100%;
  padding: 0;
  margin: 0;
}

.pkp_site_name .is_img,
.pkp_site_name .is_img img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  margin: 0;
  object-fit: contain;
}

/* ===== 3. NAVIGASI UTAMA ===== */
.pkp_navigation_primary_wrapper {
  position: relative;
  z-index: 100;
  padding: 0 18px;
  background: linear-gradient(100deg, var(--jnc-primary-dark), var(--jnc-primary));
  border-bottom: 4px solid var(--jnc-accent);
  box-shadow: 0 5px 16px rgba(0, 0, 0, .13);
}

.pkp_navigation_primary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}

.pkp_navigation_primary > li { position: relative; }

.pkp_navigation_primary > li > a {
  position: relative;
  display: block;
  padding: 13px 16px;
  border-radius: 7px 7px 0 0;
  color: var(--jnc-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .35px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, color .2s ease, background-color .2s ease,
              box-shadow .2s ease;
}

/* Garis animasi di bawah menu */
.pkp_navigation_primary > li > a::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 7px;
  left: 16px;
  height: 3px;
  border-radius: 999px;
  background: var(--jnc-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus-visible {
  color: var(--jnc-white);
  background: rgba(255, 255, 255, .13);
  box-shadow: 0 5px 12px rgba(0, 0, 0, .10);
  transform: translateY(-2px);
  outline: none;
}

.pkp_navigation_primary > li > a:hover::after,
.pkp_navigation_primary > li > a:focus-visible::after {
  transform: scaleX(1);
}

/* Efek ketika mouse sedang ditekan */
.pkp_navigation_primary > li > a:active {
  color: var(--jnc-primary-dark);
  background: var(--jnc-accent);
  transform: scale(.96);
}

/* Penanda halaman/menu aktif - mencakup beberapa variasi tema OJS */
.pkp_navigation_primary > li.current > a,
.pkp_navigation_primary > li.active > a,
.pkp_navigation_primary a[aria-current="page"] {
  color: var(--jnc-primary-dark);
  background: var(--jnc-accent);
}

/* Dropdown */
.pkp_navigation_primary ul {
  min-width: 230px;
  padding: 7px;
  overflow: hidden;
  background: var(--jnc-white);
  border: 1px solid var(--jnc-border);
  border-top: 4px solid var(--jnc-accent);
  border-radius: 0 0 var(--jnc-radius) var(--jnc-radius);
  box-shadow: var(--jnc-shadow);
}

.pkp_navigation_primary ul li { border-bottom: 1px solid var(--jnc-border); }
.pkp_navigation_primary ul li:last-child { border-bottom: 0; }

.pkp_navigation_primary ul a {
  display: block;
  padding: 11px 13px;
  border-radius: 6px;
  color: var(--jnc-primary-dark);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-transform: none;
  transition: transform .18s ease, color .18s ease, background-color .18s ease;
}

.pkp_navigation_primary ul a:hover,
.pkp_navigation_primary ul a:focus-visible {
  color: var(--jnc-white);
  background: var(--jnc-primary);
  transform: translateX(4px);
  outline: none;
}

.pkp_navigation_primary ul a:active {
  color: var(--jnc-primary-dark);
  background: var(--jnc-accent);
  transform: scale(.98);
}

/* ===== 4. SIDEBAR OJS DAN CUSTOM BLOCK ===== */
.pkp_structure_sidebar .pkp_block {
  padding: 0;
  margin: 0 0 18px;
  overflow: hidden;
  background: var(--jnc-white);
  border: 1px solid var(--jnc-border);
  border-radius: var(--jnc-radius);
  box-shadow: var(--jnc-shadow);
}

.pkp_structure_sidebar .pkp_block .title,
.pkp_structure_sidebar .pkp_block > h2,
.pkp_structure_sidebar .pkp_block > h3,
.jnc-sidebar-menu .kepala {
  position: relative;
  display: block;
  padding: 13px 16px 13px 46px;
  margin: 0;
  color: var(--jnc-white);
  background: linear-gradient(100deg, var(--jnc-primary-dark), var(--jnc-primary));
  border-bottom: 4px solid var(--jnc-accent);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .5px;
  text-align: left;
  text-transform: uppercase;
}

/* Ikon menu berbentuk daftar - tanpa gambar/font eksternal */
.pkp_structure_sidebar .pkp_block .title::before,
.pkp_structure_sidebar .pkp_block > h2::before,
.pkp_structure_sidebar .pkp_block > h3::before,
.jnc-sidebar-menu .kepala::before {
  content: "☰";
  position: absolute;
  top: 50%;
  left: 16px;
  color: var(--jnc-accent);
  font-size: 18px;
  line-height: 1;
  transform: translateY(-50%);
}

.pkp_structure_sidebar .pkp_block ul,
.jnc-sidebar-menu .badan {
  padding: 6px;
  margin: 0;
  list-style: none;
}

.pkp_structure_sidebar .pkp_block ul li {
  padding: 0;
  margin: 0;
  border: 0;
  list-style: none;
}

.pkp_structure_sidebar .pkp_block ul li + li {
  border-top: 1px solid var(--jnc-border);
}

.pkp_structure_sidebar .pkp_block ul li a,
.jnc-sidebar-menu .badan a {
  position: relative;
  display: block;
  padding: 12px 34px 12px 14px;
  color: var(--jnc-primary-dark);
  background: transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
  transition: transform .2s ease, color .2s ease, background-color .2s ease,
              box-shadow .2s ease, padding-left .2s ease;
}

/* Ikon panah untuk setiap tautan sidebar */
.pkp_structure_sidebar .pkp_block ul li a::after,
.jnc-sidebar-menu .badan a::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--jnc-accent-dark);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform .2s ease, color .2s ease;
}

.pkp_structure_sidebar .pkp_block ul li a:hover,
.pkp_structure_sidebar .pkp_block ul li a:focus-visible,
.jnc-sidebar-menu .badan a:hover,
.jnc-sidebar-menu .badan a:focus-visible {
  padding-left: 20px;
  color: var(--jnc-white);
  background: linear-gradient(100deg, var(--jnc-primary-dark), var(--jnc-primary));
  box-shadow: inset 5px 0 var(--jnc-accent);
  transform: translateX(2px) scale(1.01);
  outline: none;
}

.pkp_structure_sidebar .pkp_block ul li a:hover::after,
.pkp_structure_sidebar .pkp_block ul li a:focus-visible::after,
.jnc-sidebar-menu .badan a:hover::after,
.jnc-sidebar-menu .badan a:focus-visible::after {
  color: var(--jnc-accent);
  transform: translate(3px, -50%);
}

.pkp_structure_sidebar .pkp_block ul li a:active,
.jnc-sidebar-menu .badan a:active {
  color: var(--jnc-primary-dark);
  background: var(--jnc-accent);
  transform: scale(.97);
}

/* Kompatibilitas bila Additional Menu memakai tautan langsung tanpa <ul>.
   Selector dibatasi pada blok yang ID-nya memuat customblock-additional. */
.pkp_structure_sidebar [id*="customblock-additional" i] .content > a {
  position: relative;
  display: block;
  padding: 12px 34px 12px 14px;
  color: var(--jnc-primary-dark);
  border-bottom: 1px solid var(--jnc-border);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: transform .2s ease, color .2s ease, background-color .2s ease,
              box-shadow .2s ease, padding-left .2s ease;
}

.pkp_structure_sidebar [id*="customblock-additional" i] .content > a::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--jnc-accent-dark);
  font-size: 22px;
  font-weight: 800;
  transform: translateY(-50%);
}

.pkp_structure_sidebar [id*="customblock-additional" i] .content > a:hover,
.pkp_structure_sidebar [id*="customblock-additional" i] .content > a:focus-visible {
  padding-left: 20px;
  color: var(--jnc-white);
  background: linear-gradient(100deg, var(--jnc-primary-dark), var(--jnc-primary));
  box-shadow: inset 5px 0 var(--jnc-accent);
  transform: translateX(2px) scale(1.01);
  outline: none;
}

.pkp_structure_sidebar [id*="customblock-additional" i] .content > a:active {
  color: var(--jnc-primary-dark);
  background: var(--jnc-accent);
  transform: scale(.97);
}

/* Gambar/tombol pada sidebar */
.pkp_structure_sidebar .pkp_block img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 7px;
}

/* ===== 5. HOMEPAGE IMAGE ===== */
.pkp_page_index .homepage_image {
  max-height: none;
  overflow: hidden;
  border-radius: var(--jnc-radius);
  box-shadow: var(--jnc-shadow);
}

.pkp_page_index .homepage_image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* ===== 6. FOKUS KEYBOARD ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--jnc-accent);
  outline-offset: 3px;
}

/* ===== 7. RESPONSIVE ===== */
@media (max-width: 991px) {
  .pkp_navigation_primary_wrapper { padding: 0 10px; }
  .pkp_navigation_primary > li > a { padding: 12px 11px; font-size: 13px; }
}

@media (max-width: 767px) {
  .pkp_site_name_wrapper { min-height: 0; }

  .pkp_navigation_primary_wrapper {
    padding: 0;
    border-bottom-width: 3px;
  }

  .pkp_navigation_primary {
    display: block;
    width: 100%;
  }

  .pkp_navigation_primary > li > a {
    padding: 13px 16px;
    border-radius: 0;
  }

  .pkp_navigation_primary > li > a:hover,
  .pkp_navigation_primary > li > a:focus-visible {
    transform: none;
  }

  .pkp_navigation_primary ul {
    width: 100%;
    min-width: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .pkp_structure_sidebar .pkp_block ul li a,
  .jnc-sidebar-menu .badan a {
    min-height: 44px;
    padding-top: 13px;
    padding-bottom: 13px;
  }
}

/* Hormati pengaturan aksesibilitas pengguna */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ================================================================
   8. KOREKSI KHUSUS CUSTOM BLOCK "MAIN MENU"
   Mengganti tampilan biru lama dan menimpa inline style sederhana.
   Cocok untuk ID customblock-mainmenu / customblock-main-menu.
   ================================================================ */
.pkp_structure_sidebar [id*="customblock-main" i] {
  padding: 0 !important;
  overflow: hidden;
  background: var(--jnc-white) !important;
  border: 1px solid var(--jnc-border) !important;
  border-radius: 12px !important;
  box-shadow: var(--jnc-shadow) !important;
}

/* Hilangkan format tabel lama bila menu dibuat menggunakan table */
.pkp_structure_sidebar [id*="customblock-main" i] table,
.pkp_structure_sidebar [id*="customblock-main" i] tbody,
.pkp_structure_sidebar [id*="customblock-main" i] tr,
.pkp_structure_sidebar [id*="customblock-main" i] td {
  display: block;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

/* Judul blok, termasuk judul yang dibuat dengan p atau baris pertama tabel */
.pkp_structure_sidebar [id*="customblock-main" i] .title,
.pkp_structure_sidebar [id*="customblock-main" i] .kepala,
.pkp_structure_sidebar [id*="customblock-main" i] .content > p:first-child,
.pkp_structure_sidebar [id*="customblock-main" i] tr:first-child td {
  position: relative;
  display: block;
  padding: 15px 18px 15px 48px !important;
  margin: 0 !important;
  color: var(--jnc-white) !important;
  background: linear-gradient(105deg, var(--jnc-primary-dark), var(--jnc-primary)) !important;
  border: 0 !important;
  border-bottom: 4px solid var(--jnc-accent) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: .6px;
  text-align: left !important;
  text-transform: uppercase;
}

.pkp_structure_sidebar [id*="customblock-main" i] .title::before,
.pkp_structure_sidebar [id*="customblock-main" i] .kepala::before,
.pkp_structure_sidebar [id*="customblock-main" i] .content > p:first-child::before,
.pkp_structure_sidebar [id*="customblock-main" i] tr:first-child td::before {
  content: "☰";
  position: absolute;
  top: 50%;
  left: 17px;
  color: var(--jnc-accent);
  font-size: 19px;
  line-height: 1;
  transform: translateY(-50%);
}

/* Tautan menu: berlaku untuk struktur div, paragraf, list, maupun tabel */
.pkp_structure_sidebar [id*="customblock-main" i] .content a,
.pkp_structure_sidebar [id*="customblock-main" i] .badan a,
.pkp_structure_sidebar [id*="customblock-main" i] td a {
  position: relative;
  display: block !important;
  width: auto !important;
  min-height: 46px;
  padding: 13px 42px 13px 18px !important;
  margin: 0 !important;
  color: var(--jnc-primary-dark) !important;
  background: var(--jnc-white) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--jnc-border) !important;
  border-radius: 0 !important;
  box-sizing: border-box;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
  text-align: left !important;
  text-decoration: none !important;
  text-transform: none !important;
  transition: padding-left .2s ease, color .2s ease,
              background-color .2s ease, transform .2s ease,
              box-shadow .2s ease !important;
}

.pkp_structure_sidebar [id*="customblock-main" i] .content a::after,
.pkp_structure_sidebar [id*="customblock-main" i] .badan a::after,
.pkp_structure_sidebar [id*="customblock-main" i] td a::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 17px;
  color: var(--jnc-accent-dark);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform .2s ease, color .2s ease;
}

.pkp_structure_sidebar [id*="customblock-main" i] .content a:hover,
.pkp_structure_sidebar [id*="customblock-main" i] .content a:focus-visible,
.pkp_structure_sidebar [id*="customblock-main" i] .badan a:hover,
.pkp_structure_sidebar [id*="customblock-main" i] .badan a:focus-visible,
.pkp_structure_sidebar [id*="customblock-main" i] td a:hover,
.pkp_structure_sidebar [id*="customblock-main" i] td a:focus-visible {
  padding-left: 25px !important;
  color: var(--jnc-white) !important;
  background: linear-gradient(105deg, var(--jnc-primary-dark), var(--jnc-primary)) !important;
  box-shadow: inset 6px 0 var(--jnc-accent) !important;
  transform: translateX(2px) scale(1.015);
  outline: none !important;
}

.pkp_structure_sidebar [id*="customblock-main" i] .content a:hover::after,
.pkp_structure_sidebar [id*="customblock-main" i] .content a:focus-visible::after,
.pkp_structure_sidebar [id*="customblock-main" i] .badan a:hover::after,
.pkp_structure_sidebar [id*="customblock-main" i] .badan a:focus-visible::after,
.pkp_structure_sidebar [id*="customblock-main" i] td a:hover::after,
.pkp_structure_sidebar [id*="customblock-main" i] td a:focus-visible::after {
  color: var(--jnc-accent);
  transform: translate(4px, -50%);
}

.pkp_structure_sidebar [id*="customblock-main" i] .content a:active,
.pkp_structure_sidebar [id*="customblock-main" i] .badan a:active,
.pkp_structure_sidebar [id*="customblock-main" i] td a:active {
  color: var(--jnc-primary-dark) !important;
  background: var(--jnc-accent) !important;
  transform: scale(.97);
}

.pkp_structure_sidebar [id*="customblock-main" i] .content a:last-child,
.pkp_structure_sidebar [id*="customblock-main" i] .badan a:last-child,
.pkp_structure_sidebar [id*="customblock-main" i] tr:last-child td a {
  border-bottom: 0 !important;
}

/* ==================================================
   UBAH CUSTOM BLOCK MAIN MENU: BIRU MENJADI HIJAU
   Tidak perlu mengubah HTML Custom Block
   ================================================== */

/* Area tabel MAIN MENU */
.pkp_structure_sidebar .pkp_block table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: 0 !important;
}

/* Semua sel/baris biru menjadi hijau */
.pkp_structure_sidebar .pkp_block table td,
.pkp_structure_sidebar .pkp_block table th {
    background: #075f36 !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    padding: 7px 12px !important;
    vertical-align: middle !important;
}

/* Tulisan menu */
.pkp_structure_sidebar .pkp_block table a,
.pkp_structure_sidebar .pkp_block table td,
.pkp_structure_sidebar .pkp_block table th {
    color: #ffffff !important;
    font-family: Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    text-align: left !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

/* Judul MAIN MENU */
.pkp_structure_sidebar .pkp_block table tr:first-child td,
.pkp_structure_sidebar .pkp_block table tr:first-child th {
    background: #034525 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-bottom: 3px solid #f59e0b !important;
}

/* Animasi ketika disentuh */
.pkp_structure_sidebar .pkp_block table td {
    transition:
        background-color 0.25s ease,
        transform 0.2s ease,
        padding-left 0.2s ease !important;
}

/* Hover dan fokus keyboard */
.pkp_structure_sidebar .pkp_block table tr:not(:first-child):hover td,
.pkp_structure_sidebar .pkp_block table a:hover,
.pkp_structure_sidebar .pkp_block table a:focus {
    background: #0b7a48 !important;
    color: #ffffff !important;
}

/* Efek saat diklik */
.pkp_structure_sidebar .pkp_block table tr:not(:first-child):active td,
.pkp_structure_sidebar .pkp_block table a:active {
    background: #f59e0b !important;
    color: #063d25 !important;
    transform: scale(0.98);
}

/* Tampilan pada ponsel */
@media (max-width: 768px) {
    .pkp_structure_sidebar .pkp_block table a,
    .pkp_structure_sidebar .pkp_block table td {
        font-size: 13px !important;
    }
}

/* ==========================================================
   JURNAL ANDALIMAN — EDITORIAL TEAM CARDS (OJS 3.x)
   Pasangan HTML menggunakan class: .andaliman-editorial-team
   ========================================================== */

:root {
  --editorial-primary: #1e6292;
  --editorial-accent: #0394a3;
  --editorial-orcid: #a6ce39;
  --editorial-scopus: #087e8b;
  --editorial-text: #172330;
  --editorial-muted: #516270;
  --editorial-border: #d9e3e8;
  --editorial-photo-bg: #f3f7f9;
}

.andaliman-editorial-team {
  width: 100%;
  margin: 0 auto;
  color: var(--editorial-text);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

.andaliman-editorial-team,
.andaliman-editorial-team * {
  box-sizing: border-box;
}

.andaliman-editorial-team .editorial-heading {
  margin: 0 0 24px;
  color: var(--editorial-text);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

/* Kartu utama */
.andaliman-editorial-team .editor-card {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 250px;
  margin: 0 0 22px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--editorial-border);
  border-left: 6px solid var(--editorial-primary);
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(20, 55, 75, 0.07);
  transition: transform 220ms ease,
              box-shadow 220ms ease,
              border-left-color 220ms ease;
}

.andaliman-editorial-team .editor-card:hover {
  transform: translateY(-4px);
  border-left-color: var(--editorial-accent);
  box-shadow: 0 12px 28px rgba(20, 55, 75, 0.14);
}

/* Area foto */
.andaliman-editorial-team .editor-photo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background: var(--editorial-photo-bg);
}

.andaliman-editorial-team .editor-photo {
  display: block;
  width: 164px;
  height: 202px;
  object-fit: cover;
  object-position: center top;
  background: #ffffff;
  border: 4px solid #ffffff;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(16, 45, 64, 0.20);
  transition: transform 240ms ease;
}

.andaliman-editorial-team .editor-card:hover .editor-photo {
  transform: scale(1.025);
}

/* Area informasi */
.andaliman-editorial-team .editor-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 28px 30px;
}

.andaliman-editorial-team .editor-role {
  margin: 0 0 16px;
  padding: 0 0 10px;
  color: var(--editorial-primary);
  border-bottom: 1px solid var(--editorial-border);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.65px;
  text-transform: uppercase;
}

.andaliman-editorial-team .editor-name,
.andaliman-editorial-team .editor-affiliation,
.andaliman-editorial-team .editor-id {
  position: relative;
  margin: 0;
  padding-left: 42px;
}

.andaliman-editorial-team .editor-name {
  margin-bottom: 12px;
  color: var(--editorial-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.andaliman-editorial-team .editor-affiliation {
  margin-bottom: 15px;
  color: var(--editorial-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

/* Ikon orang dan institusi tanpa library eksternal */
.andaliman-editorial-team .editor-name::before,
.andaliman-editorial-team .editor-affiliation::before {
  position: absolute;
  left: 0;
  top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--editorial-primary);
  font-size: 21px;
  line-height: 1;
}

.andaliman-editorial-team .editor-name::before {
  content: "\265F";
  transform: rotate(180deg);
}

.andaliman-editorial-team .editor-affiliation::before {
  content: "\2302";
  font-size: 27px;
  font-weight: 700;
}

/* ORCID dan Scopus */
.andaliman-editorial-team .editor-id {
  min-height: 28px;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.andaliman-editorial-team .editor-id:last-child {
  margin-bottom: 0;
}

.andaliman-editorial-team .editor-id::before {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  color: #ffffff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.andaliman-editorial-team .editor-id.orcid::before {
  content: "iD";
  background: var(--editorial-orcid);
}

.andaliman-editorial-team .editor-id.scopus::before {
  content: "S";
  background: var(--editorial-scopus);
  font-family: Georgia, serif;
}

.andaliman-editorial-team .editor-id a {
  color: #008fd5 !important;
  text-decoration: none !important;
  overflow-wrap: anywhere;
  transition: color 180ms ease;
}

.andaliman-editorial-team .editor-id a:hover,
.andaliman-editorial-team .editor-id a:focus-visible {
  color: var(--editorial-primary) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  outline: none;
}

/* Tablet */
@media (max-width: 850px) {
  .andaliman-editorial-team .editor-card {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .andaliman-editorial-team .editor-photo-wrap {
    padding: 22px;
  }

  .andaliman-editorial-team .editor-photo {
    width: 138px;
    height: 175px;
  }

  .andaliman-editorial-team .editor-info {
    padding: 24px;
  }
}

/* Ponsel */
@media (max-width: 600px) {
  .andaliman-editorial-team .editorial-heading {
    margin-bottom: 18px;
    font-size: 27px;
  }

  .andaliman-editorial-team .editor-card {
    grid-template-columns: 1fr;
    border-left-width: 4px;
  }

  .andaliman-editorial-team .editor-photo-wrap {
    padding: 22px 18px;
  }

  .andaliman-editorial-team .editor-photo {
    width: 140px;
    height: 174px;
  }

  .andaliman-editorial-team .editor-info {
    padding: 22px 18px 24px;
  }

  .andaliman-editorial-team .editor-role {
    font-size: 14px;
  }

  .andaliman-editorial-team .editor-name {
    font-size: 18px;
  }

  .andaliman-editorial-team .editor-affiliation,
  .andaliman-editorial-team .editor-id {
    font-size: 13.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .andaliman-editorial-team .editor-card,
  .andaliman-editorial-team .editor-photo,
  .andaliman-editorial-team .editor-id a {
    transition: none;
  }
}
