/* ====== 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, 140, 0, 0.5);
}

/* ====== Sidebar Soft Orange Gradient Fill ====== */

/* Base */
#sidebar .pkp_block .content a,
.pkp_structure_sidebar .pkp_block .content a {
  position: relative;
  overflow: hidden;
  border-radius: 6px;

  transition: 
    transform 0.35s ease,
    color 0.3s ease;

  z-index: 1;
}

/* SOFT ORANGE GRADIENT */
#sidebar .pkp_block .content a::before,
.pkp_structure_sidebar .pkp_block .content a::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    #FFD8A8 0%,   /* cream orange */
    #FFB347 40%,  /* soft orange */
    #FF8C00 70%,  /* deep orange */
    #FFB347 90%,  /* balik soft */
    #FFD8A8 100%  /* cream */
  );

  transform: scaleX(0);
  transform-origin: left;

  transition: transform 0.7s ease;

  z-index: -1;
}

/* Hover trigger */
#sidebar .pkp_block .content a:hover::before,
.pkp_structure_sidebar .pkp_block .content a:hover::before {
  transform: scaleX(1);
}

/* TEXT */
#sidebar .pkp_block .content a:hover,
.pkp_structure_sidebar .pkp_block .content a:hover {
  color: #fff !important;
  transform: translateY(-4px) scale(1.03);
}

/* Image */
#sidebar .pkp_block .content a img,
.pkp_structure_sidebar .pkp_block .content a img {
  transition: transform 0.45s ease, filter 0.35s ease;
}

#sidebar .pkp_block .content a:hover img,
.pkp_structure_sidebar .pkp_block .content a:hover img {
  transform: scale(1.08);
  filter: drop-shadow(0 4px 10px rgba(255, 140, 0, 0.4));
}

/* ====== About Image Hover ====== */
.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, 140, 0, 0.5));
}

.about_section img:active {
  transform: perspective(800px) rotateY(-8deg) scale(1.05);
  filter: drop-shadow(0 0 15px rgba(255, 140, 0, 0.7));
}

/* ===== Responsive ===== */

@media (max-width:900px){

  .ijei-grid{
    flex-wrap:wrap;
  }

  .ijei-grid > div{
    flex:50%;
    margin-bottom:8px;
    border-right:none;
  }

  .ijei-flags{
    flex-wrap:wrap;
    gap:12px;
  }

}