/* ===============================
   HERO DAN STATISTIK HOME
   Desain Elegan Akademik
================================ */

.journal-home-hero {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(135deg, #0f2f52 0%, #174d78 48%, #1f8fb0 100%);
  color: #ffffff;
  padding: 42px 38px;
  border-radius: 20px;
  margin-bottom: 32px;
  box-shadow: 0 14px 34px rgba(15, 47, 82, 0.28);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Ornamen lingkaran dekoratif */
.journal-home-hero::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -70px;
  top: -70px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 50%;
}

/* Ornamen kecil bawah */
.journal-home-hero::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  left: -45px;
  bottom: -45px;
  background: rgba(212, 160, 23, 0.18);
  border-radius: 50%;
}

.journal-home-hero h2 {
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.4px;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.20);
}

/* Menghilangkan garis horizontal di bawah judul */
.journal-home-hero h2::after {
  display: none !important;
  content: none !important;
}

.journal-home-hero p {
  color: #eef7ff;
  font-size: 16px;
  line-height: 1.85;
  max-width: 930px;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

/* ===============================
   BOX STATISTIK
================================ */

.journal-stats-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0 36px 0;
}

.journal-stat-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-radius: 18px;
  padding: 28px 18px 24px;
  text-align: center;
  border: 1px solid #dce7f3;
  border-bottom: 6px solid #d4a017;
  box-shadow: 0 10px 24px rgba(18, 56, 95, 0.10);
  transition: all 0.28s ease;
  position: relative;
  overflow: hidden;
}

/* Aksen lembut di atas card */
.journal-stat-card::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  right: -30px;
  top: -30px;
  background: rgba(42, 167, 201, 0.12);
  border-radius: 50%;
}

.journal-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(18, 56, 95, 0.18);
  border-bottom-color: #f0c040;
}

.stat-number {
  display: block;
  color: #12385f;
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1;
  position: relative;
  z-index: 2;
}

.stat-label {
  display: block;
  color: #5f6f82;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  position: relative;
  z-index: 2;
}

/* ===============================
   RESPONSIF
================================ */

@media screen and (max-width: 900px) {
  .journal-stats-box {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .journal-home-hero {
    padding: 34px 30px;
  }

  .journal-home-hero h2 {
    font-size: 27px;
  }
}

@media screen and (max-width: 520px) {
  .journal-stats-box {
    grid-template-columns: 1fr;
  }

  .journal-home-hero {
    padding: 28px 24px;
    border-radius: 16px;
  }

  .journal-home-hero h2 {
    font-size: 23px;
  }

  .journal-home-hero p {
    font-size: 15px;
    line-height: 1.75;
  }

  .stat-number {
    font-size: 30px;
  }
}