/* ===== ROOT ===== */
:root {
  --primary: #2563eb;
  --bg: #f1f5f9;
}

/* ===== BASE ===== */
.exp-archive {
  padding: 60px 16px 100px;
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
  min-height: 100vh;
}

.archive-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 30px;
  letter-spacing: -0.3px;
}

/* ===== GRID MOBILE FIRST ===== */
.exp-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ===== CARD ===== */
.exp-card {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;

  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(255,255,255,0.5);

  box-shadow:
    0 8px 25px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.7);

  transition: all 0.3s ease;
}

/* FIX CLICK */
.exp-card * { pointer-events: none; }
.exp-card { pointer-events: auto; }

/* ===== GLOW FOLLOW CURSOR ===== */
.exp-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    500px circle at var(--x) var(--y),
    rgba(37,99,235,0.15),
    transparent 40%
  );
  opacity: 0;
  transition: 0.3s;
}

.exp-card:hover::before {
  opacity: 1;
}

/* ===== TAP EFFECT ===== */
.exp-card:active {
  transform: scale(0.96);
}

/* ===== IMAGE ===== */
.exp-thumb {
  height: 180px;
  overflow: hidden;
}

.exp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.exp-card:hover img {
  transform: scale(1.08);
}

/* ===== BODY ===== */
.exp-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.exp-card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

/* ROUTE */
.route {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

/* DESC */
.excerpt {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

/* CTA MICRO */
.exp-card::after {
  content: "Lihat Detail →";
  position: absolute;
  bottom: 14px;
  right: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  opacity: 0.8;
}

/* ===== DESKTOP UPGRADE ===== */
@media (min-width: 768px) {

  .exp-archive {
    padding: 80px 20px;
  }

  .archive-title {
    font-size: 34px;
    text-align: center;
    margin-bottom: 50px;
  }

  .exp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
  }

  .exp-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow:
      0 20px 60px rgba(0,0,0,0.12),
      0 0 0 1px rgba(37,99,235,0.2);
  }

  .exp-card::after {
    opacity: 0;
    transform: translateY(6px);
    transition: 0.3s;
  }

  .exp-card:hover::after {
    opacity: 1;
    transform: translateY(0);
  }

}

/* RIPPLE */
.ripple {
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(37,99,235,0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 0.5s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}