/* ===== TEAM CARD BASE ===== */
.jifu-team-card {
  position: relative;
  width: 100%;
  background: #0b0b0b;
  color: #fff;
  text-align: center;
  border-radius: 16px;
  overflow: hidden;
  margin: 0px;
}

/* ===== IMAGE ===== */
.jifu-team-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.4s ease;   /* smooth blur */
}

/* ✅ BLUR ONLY IMAGE ON HOVER */
.jifu-team-card:hover .jifu-team-img img {
  filter: blur(6px);
}

/* ===== TEXT INFO (ALWAYS CLEAR) ===== */
.jifu-team-info {
  padding: 16px;
  position: relative;
  z-index: 2;  /* keep above blur */
}

.jifu-team-info h3 {
  margin: 0;
  font-size: 18px;
  filter: none !important;
}

.jifu-team-info p {
  margin: 4px 0 0;
  font-size: 14px;
  opacity: 0.8;
  filter: none !important;
}

/* ===== HOVER OVERLAY ===== */
.jifu-team-hover {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;    align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
height: calc(100% - 120px);
    top: 0px;
    font-size: 14px;
  overflow-y: auto;          /* enable scroll */
  scrollbar-width: thin;     /* Firefox */
  scrollbar-color: #d4af37 transparent; /* Firefox (gold thumb) */
}

/* ===== Chrome, Edge, Safari Scrollbar ===== */
.jifu-team-hover::-webkit-scrollbar {
  width: 4px;      /* ✅ VERY SMALL SCROLLBAR */
}

.jifu-team-hover::-webkit-scrollbar-track {
  background: transparent;
}

.jifu-team-hover::-webkit-scrollbar-thumb {
  background: #d4af37;       /* ✅ Gold color (JIFU style) */
  border-radius: 10px;
}

.jifu-team-hover::-webkit-scrollbar-thumb:hover {
  background: #f1c84b;
}

/* ✅ SHOW HOVER CONTENT */
.jifu-team-card:hover .jifu-team-hover {
  opacity: 1;
}
