/* ====== Marquee (Logo Jalan) ====== */
@keyframes scroll-left {
  50% { transform: translateX(0); }
  50% { transform: translateX(-50%); }
}

.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  margin: 15px auto;
  border-radius: 12px;
  position: relative;
  background-color: #f8f8f8;
  padding: 10px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.marquee-track {
  display: flex;
  gap: 40px;
  width: fit-content;
  animation: scroll-left 25s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-logo {
  flex: 0 0 auto;
}

.marquee-logo img {
  height: 70px;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.marquee-logo img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.7); /* Glow merah */
}

/* ====== Sidebar OJS Glow Merah (Teks & Gambar tanpa ubah posisi) ====== */
#sidebar .pkp_block .content a,
.pkp_structure_sidebar .pkp_block .content a {
  transition: all 0.25s ease-in-out;
  border-radius: 6px;
}

#sidebar .pkp_block .content a img,
.pkp_structure_sidebar .pkp_block .content a img {
  transition: transform 0.25s ease-in-out, filter 0.25s ease-in-out;
}

/* Efek Hover */
#sidebar .pkp_block .content a:hover,
#sidebar .pkp_block .content a:focus-visible,
.pkp_structure_sidebar .pkp_block .content a:hover,
.pkp_structure_sidebar .pkp_block .content a:focus-visible {
  color: #fff !important;
  background-color: #e02424 !important;
  text-shadow: 0 0 6px rgba(255,255,255,.6);
  box-shadow:
    0 0 10px rgba(224,36,36,.8),
    0 0 22px rgba(224,36,36,.55),
    0 0 38px rgba(224,36,36,.35);
  transform: scale(1.05); /* efek muncul halus */
}

/* Efek untuk gambar di sidebar */
#sidebar .pkp_block .content a:hover img,
.pkp_structure_sidebar .pkp_block .content a:hover img {
  transform: scale(1.15); /* membesar halus */
  filter: drop-shadow(0 0 6px rgba(255, 0, 0, 0.7)); /* glow merah */
}

/* ====== Efek Gambar About the Journal ====== */
.about_section img {
  transition: transform 0.4s ease-in-out, filter 0.4s ease-in-out;
}

.about_section img:hover {
  transform: perspective(800px) rotateY(8deg) scale(1.05);
  filter: drop-shadow(0 0 12px rgba(255, 0, 0, 0.6));
}

.about_section img:active {
  transform: perspective(800px) rotateY(-8deg) scale(1.05);
  filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.8));
}

/* ====== Editor's Pick Overlap Cards ====== */
.editors-pick-wrapper {
  position: relative;
  margin-top: -60px; /* overlap ke atas */
  z-index: 5;
}

.editors-pick-container {
  display: flex;
  justify-content: left;
  flex-wrap: nowrap;
  overflow: visible;
  position: relative;
}

/* Kartu overlap */
.editors-pick-card {
  position: relative;
  width: 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  margin-left: -120px; /* overlap tumpukan */
}

.editors-pick-card:first-child {
  margin-left: 0;
}

.editors-pick-card:hover {
  z-index: 10; /* muncul paling depan */
  transform: translateY(-12px) scale(1.08);
  box-shadow: 0 8px 20px rgba(224,36,36,0.45);
}

/* Judul artikel */
.editors-pick-card h3 {
  font-size: 12px;
  margin: 10px;
  line-height: 1.3em;
}

.editors-pick-card h3 a {
  color: #2c3e50;
  text-decoration: none;
}

.editors-pick-card h3 a:hover {
  color: #e02424;
  text-decoration: underline;
}

/* Responsif */
@media (max-width: 768px) {
  .editors-pick-wrapper {
    margin-top: 0; /* hp jangan overlap */
  }
  .editors-pick-container {
    flex-wrap: wrap;
    justify-content: center;
  }
  .editors-pick-card {
    margin-left: 0;
    width: 90%;
  }
}
