.wh-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.wh-team-card {
  background: #fff;
  border: 1px solid #e6e9ef;
  transition: all .25s ease;
}

.wh-team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,.08);
}

.wh-team-card__image img {
  width: 100%;
  aspect-ratio: 3 / 2.8;
  object-fit: cover;
}

.wh-team-card__content {
  padding: 20px;
  text-align: center;
}

.wh-team-role {
  font-weight: 600;
  color: #0b3a5d;
}

.wh-team-since {
  font-size: 14px;
  color: #6b7280;
}

.wh-team-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

/* Icon Button */
.wh-icon {
  width: 44px;
  height: 44px;
  background: #0b3a5d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
}

.wh-icon:hover {
  background: #d3ff2f;
  transform: translateY(-2px);
}

.wh-icon img {
  width: 20px;
  height: 20px;
}

.wh-team-card__content h3{min-height: 70px;}

/* ===== TOOLTIP (Desktop Hover) ===== */
@media (hover: hover) and (pointer: fine) {

  .wh-icon.has-tooltip {
    position: relative;
  }

  .wh-icon.has-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: #0b3a5d;
    color: #fff;
    padding: 6px 10px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 10;
  }

  .wh-icon.has-tooltip::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #0b3a5d transparent transparent transparent;
    opacity: 0;
    transition: opacity .2s ease;
  }

  .wh-icon.has-tooltip:hover::after,
  .wh-icon.has-tooltip:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
  }
}
