/* ============================================
   HOME.CSS — Shared Homepage Styles
   Untuk semua jurnal: J-BASRO, J-ROEI, dst
   ============================================ */

/* ====== HERO ====== */
.j-hero {
  background: linear-gradient(135deg, #0a2e22 0%, #2d7a5f 50%, #0f3d2e 100%) !important;
  padding: 100px 20px !important;
  color: #fff !important;
  margin-bottom: 30px !important;
  position: relative;
  overflow: hidden;
}
.j-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,169,81,0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.j-hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(45,122,95,0.4) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.j-hero-inner {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.j-logo {
  width: 180px;
  background: #fff;
  color: #0f3d2e;
  border-radius: 8px;
  padding: 15px 10px;
  text-align: center;
  font-weight: 800;
  font-size: 20px;
}
.j-badge {
  background: rgba(255,255,255,0.15);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
}
.j-btn-primary {
  background: #c8a951;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.j-btn-primary:hover {
  background: #e0bb5e;
  color: #0f3d2e;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}
.j-btn-secondary {
  border: 1px solid #fff;
  color: #fff;
  padding: 9px 18px;
  border-radius: 6px;
  text-decoration: none;
  margin-left: 8px;
  display: inline-block;
  transition: all 0.25s ease;
  background: rgba(255,255,255,0.05);
}
.j-btn-secondary:hover {
  background: #fff;
  color: #0f3d2e;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}
.j-hero-content { flex: 1; min-width: 280px; }
.j-breadcrumb { font-size: 13px; opacity: 0.8; }
.j-breadcrumb a { color: #fff; }
.j-badge-wrap { margin: 8px 0; display: flex; gap: 6px; flex-wrap: wrap; }
.j-journal-name { color: #fff; margin: 10px 0; font-size: 30px; line-height: 1.2; font-weight: 800 !important; }
.j-action-wrap {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.j-action-wrap .j-btn-primary,
.j-action-wrap .j-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: 0;
  white-space: nowrap;
  box-sizing: border-box;
}

/* ====== WRAP & GRID ====== */
.j-wrap { max-width: 1150px; margin: 0 auto; padding: 0 20px; }
.j-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin: 40px 0; }
.j-card { border: 1px solid #e5e7eb; border-radius: 10px; padding: 20px; background: #fff; }
.j-card-gray { background: #eef9f5; padding: 40px; }
.j-title { color: #0f3d2e; margin-top: 0; font-size: 28px important!;}
.j-title-sm { margin-bottom: 12px; }
.j-focus-text { font-size: 15px; line-height: 1.7; }
.j-readmore { margin-top: 10px; }
.j-readmore a { color: #0f3d2e; font-weight: bold; text-decoration: underline; }
.j-meta { margin-top: 20px; font-size: 15px; }
.j-meta-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #eee; }
.j-meta-row:last-child { border-bottom: none; }
.j-index-list { list-style: none; padding: 0; margin: 0; font-size: 15px; display: block; }
.j-index-item { padding: 8px 0 8px 14px; border-bottom: 1px solid #e5e7eb; position: relative; }
.j-index-bullet { position: absolute; left: 0; top: 8px; }
.j-current { margin: 40px 0; }
.j-issue-id { font-weight: bold; margin: 10px 0; }

/* ====== TOPICS COVERED ====== */
.j-topics { margin-top: 24px; padding-top: 20px; border-top: 1px solid #e5e7eb; }
.j-topics-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.j-topics-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.5;
  color: #374151;
}
.j-topics-list li::before {
  content: "\27A4";
  color: #1b4332;
  font-weight: bold;
  font-size: 9px;
  position: absolute;
  left: 0;
  top: 6px;
  line-height: 1;
}

/* ============================================
   ARTICLES — SLIDER
   ============================================ */
.j-art {
  max-width: 1150px;
  margin: 60px auto;
  padding: 0 20px;
}

.j-art-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e5e7eb;
}

.j-art-title {
  color: #0f3d2e;
  font-size: 28px;
  margin: 0;
}

.j-art-tabs {
  display: flex;
  gap: 24px;
}

.j-art-tab {
  color: #6b7280;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  padding-bottom: 4px;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.j-art-tab.active {
  color: #0f3d2e;
  border-bottom: 2px solid #c8a951;
  font-weight: 700;
}

.j-art-tab:hover {
  color: #0f3d2e;
  text-decoration: none !important;
}

/* ====== SLIDER ====== */
.j-art-slider {
  position: relative;
  padding: 0 50px;
}

.j-art-grid {
  display: flex !important;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 0 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.j-art-grid::-webkit-scrollbar {
  display: none;
}

/* ====== CARD ====== */
.j-art-card {
  min-width: 260px;
  max-width: 260px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.j-art-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15, 61, 46, 0.1);
  border-color: #0f3d2e;
}

.j-art-badge {
  display: inline-block;
  color: #0f3d2e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.j-art-access {
  color: #16a34a;
  font-size: 13px;
  margin-bottom: 14px;
}

.j-art-card-title {
  color: #0f3d2e;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 12px;
  min-height: 84px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.j-art-author {
  color: #374151;
  font-size: 13px;
  margin: 0 0 6px;
  line-height: 1.4;
}

.j-art-meta {
  color: #6b7280;
  font-size: 13px;
  margin: 0 0 4px;
}

.j-art-stats {
  color: #6b7280;
  font-size: 13px;
  margin: 0 0 16px;
}

.j-art-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #0f3d2e;
  color: #fff !important;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  margin-top: auto;
  transition: all 0.2s ease;
}

.j-art-btn:hover {
  background: #1a5a45;
  transform: translateY(-1px);
}

/* ====== NAV BUTTONS ====== */
.j-art-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0f3d2e;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 61, 46, 0.2);
  font-size: 14px;
  padding: 0;
  line-height: 1;
}

.j-art-nav:hover {
  background: #c8a951;
  transform: translateY(-50%) scale(1.1);
}

.j-art-nav i {
  font-size: 14px;
}

.j-art-nav-prev { left: 0; }
.j-art-nav-next { right: 0; }

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  .j-art-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .j-art-slider {
    padding: 0 40px;
  }
  .j-art-card {
    min-width: 240px;
    max-width: 240px;
  }
}

@media (max-width: 500px) {
  .j-art-title {
    font-size: 22px;
  }
  .j-art-card {
    min-width: 220px;
    max-width: 220px;
  }
  .j-art-nav {
    width: 36px;
    height: 36px;
  }
}

/* ====== EDITORIAL TEAM PREVIEW ====== */
.j-et-preview { background: #f9fafb; padding: 60px 20px; margin-bottom: 40px; }
.j-et-preview-head { text-align: center; max-width: 750px; margin: 0 auto 40px; }
.j-et-preview-title { color: #0f3d2e; font-size: 28px; font-weight: 800; margin: 0 0 8px; }
.j-et-preview-sub { color: #6b7280; font-size: 15px; margin: 0; }
.j-et-preview-grid {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.j-et-preview-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.25s ease;
}
.j-et-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(15, 61, 46, 0.12);
  border-color: #0f3d2e;
}
.j-et-preview-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  display: block;
  border: 3px solid #eef9f5;
}
.j-et-preview-name {
  color: #0f3d2e;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px;
  min-height: 40px;
}
.j-et-preview-role {
  display: inline-block;
  background: #0f3d2e;
  color: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.j-et-preview-affil { color: #6b7280; font-size: 15px; line-height: 1.4; margin: 0; }
.j-et-preview-cta { text-align: center; margin-top: 40px; }
.j-et-preview-cta .j-cta-btn-primary {
  background: #0f3d2e;
  color: #fff !important;
}
.j-et-preview-cta .j-cta-btn-primary:hover {
  background: #1a5a45;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 61, 46, 0.25);
}

/* ====== CURRENT ISSUE ====== */
.j-ci { background: #f9fafb; padding: 60px 20px; margin-bottom: 40px; }
.j-ci-head { max-width: 1150px; margin: 0 auto 30px; }
.j-ci-title { color: #0f3d2e; font-size: 28px; font-weight: 800; margin: 0 0 6px; }
.j-ci-vol { color: #6b7280; font-size: 15px; margin: 0; }
.j-ci-list {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.j-ci-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 24px;
  transition: all 0.25s ease;
}
.j-ci-item:hover { border-color: #0f3d2e; box-shadow: 0 6px 18px rgba(15, 61, 46, 0.08); }
.j-ci-item-title {
  color: #0f3d2e;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px;
}
.j-ci-item-title:hover { color: #1a5a45; }
.j-ci-item-author { color: #374151; font-size: 15px; margin: 0 0 12px; }
.j-ci-item-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f3f4f6;
}
.j-ci-doi { color: #0f3d2e; word-break: break-all; }
.j-ci-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.j-ci-item-stats { color: #6b7280; font-size: 14px; }
.j-ci-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0f3d2e;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.j-ci-btn:hover { background: #1a5a45; transform: translateY(-1px); }

/* ====== AUTHOR GUIDELINES PREVIEW ====== */
.j-ag { background: #fff; padding: 60px 20px; }
.j-ag-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.j-ag-title { color: #0f3d2e; font-size: 28px; font-weight: 800; margin: 0 0 12px; }
.j-ag-desc { color: #6b7280; font-size: 15px; line-height: 1.6; margin: 0 0 30px; }
.j-ag-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.j-ag-list li {
  padding: 10px 0 10px 24px;
  font-size: 15px;
  line-height: 1.5;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
  position: relative;
}
.j-ag-list li::before {
  content: "\2713";
  color: #c8a951;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 10px;
}
.j-ag-cta { text-align: center; }
.j-ag-cta .j-cta-btn-primary {
  background: #0f3d2e;
  color: #fff !important;
}
.j-ag-cta .j-cta-btn-primary:hover {
  background: #1a5a45;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 61, 46, 0.25);
}

/* ====== CTA — Ready to Submit ====== */
.j-cta {
  background: #1a5a45;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  margin: 0;
}
.j-cta-inner { max-width: 750px; margin: 0 auto; }
.j-cta-title { color: #fff !important; font-size: 32px; margin: 0 0 12px; font-weight: 800; line-height: 1.3; }
.j-cta-desc { color: rgba(255,255,255,0.9) !important; font-size: 15px; line-height: 1.6; margin: 0 0 24px; }
.j-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.j-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.25s ease;
}
.j-cta-btn-primary {
  background: #c8a951;
  color: #fff !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.j-cta-btn-primary:hover {
  background: #e0bb5e;
  color: #0f3d2e !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}
.j-cta-btn-secondary {
  border: 1px solid #fff;
  color: #fff !important;
  background: rgba(255,255,255,0.05);
}
.j-cta-btn-secondary:hover {
  background: #fff;
  color: #0f3d2e !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}
.j-cta-hint { font-size: 15px; color: rgba(255,255,255,0.85) !important; margin: 16px 0 0; }
.j-cta-hint a { color: #c8a951 !important; font-weight: 600; text-decoration: underline; }
.j-cta-hint a:hover { color: #e0bb5e !important; }

/* ============================================
   RESPONSIVE — SHARED HOMEPAGE
   ============================================ */
@media (max-width: 900px) {
  .j-art-head { flex-direction: column; align-items: flex-start; }
  .j-art-tabs { gap: 16px; }
  .j-et-preview-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .j-grid { grid-template-columns: 1fr; }
  .j-index-list { grid-template-columns: 1fr; }
  .j-logo-desktop { display: none !important; }
  .j-action-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }
  .j-action-wrap .j-btn-primary {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
  }
  .j-action-wrap .j-btn-secondary {
    width: 100%;
    padding: 11px 8px;
    font-size: 13px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .j-topics-list { grid-template-columns: 1fr; }
  .j-cta { padding: 40px 20px; }
  .j-cta-inner { padding: 0 8px; }
  .j-cta-title { font-size: 22px; line-height: 1.35; }
  .j-cta-desc { font-size: 14px; line-height: 1.5; padding: 0 4px; }
  .j-cta-buttons { flex-direction: column; gap: 10px; align-items: stretch; }
  .j-cta-btn { width: 100%; max-width: 100%; justify-content: center; padding: 12px 16px; box-sizing: border-box; }
  .j-cta-hint { font-size: 13px; padding: 0 4px; }
  .j-ag-list { grid-template-columns: 1fr; }
  .j-ag-title { font-size: 22px; }
  .j-ag-desc { font-size: 14px; }
}

@media (max-width: 500px) {
  .j-art-title, .j-ci-title { font-size: 22px; }
  .j-ci-item { padding: 18px; }
  .j-ci-item-meta { flex-direction: column; gap: 6px; }
  .j-ci-item-bottom { flex-direction: column; align-items: stretch; }
  .j-ci-btn { justify-content: center; }
  .j-et-preview-grid { grid-template-columns: 1fr; }
  .j-et-preview-title { font-size: 22px; }
}

/* ============================================
   EMPTY STATE — Articles & Current Issue
   ============================================ */
.j-art-empty,
.j-ci-empty {
  text-align: center;
  padding: 60px 20px;
  background: #f9fafb;
  border: 2px dashed #d1d5db;
  border-radius: 10px;
  color: #6b7280;
}
.j-art-empty i,
.j-ci-empty i {
  font-size: 48px;
  color: #c8a951;
  margin-bottom: 16px;
  display: block;
}
.j-art-empty p,
.j-ci-empty p {
  margin: 8px 0;
}
.j-ci-inner {
  max-width: 1150px;
  margin: 0 auto;
}