.whello-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.whello-team-card {
  position: relative;
  overflow: hidden;
  height: 302px;
  background: #111;
  isolation: isolate;
}
.whello-team-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  transition: background 0.35s ease;
  height: 102px;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(0, 0, 0, 1) 100%
  ) !important;
}
.whello-team-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transform: scale(1);
  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}
.whello-team-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px;
  transform: translateY(calc(100% - 120px));
  transition: transform 0.38s ease;
}
.whello-team-company {
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 10px;
  font-family: "DM Sans", Sans-serif;
}
.whello-team-name {
  font-size: 22px;
  line-height: 1.15;
  margin: 0;
  font-weight: 600;
  font-family: "Clash Display" !important;
}
.whello-team-company::after {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.35);
  margin: 14px 0 14px;
}
.whello-team-description {
  font-size: 15px;
  line-height: 1.45;
  opacity: 0;
  transition: opacity 0.3s ease;
  margin-top: 8px;
  font-family: "DM Sans", Sans-serif;
  line-height: 1.4;
}
.whello-team-card:hover .whello-team-photo {
  filter: brightness(0.72);
}
.whello-team-card:hover .whello-team-content {
  transform: translateY(0);
}
.whello-team-card:hover .whello-team-description {
  opacity: 1;
}

.whello-load-more-wrap {
  text-align: center;
  margin-top: 66px;
}

.whello-load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: 0.3s ease;
}

.whello-load-more-btn:hover {
  border-color: var(--e-global-color-primary);
  background-color: transparent;
}

.whello-load-more-wrap button {
  color: #fff;
  font-weight: 500;
  font-family: "DM Sans", Sans-serif;
  padding: 0 0 10px;
  border-bottom: 2px solid #c99e66;
  border-radius: 0;
}

.slick-next:before {
  content: "" !important;
  background: url(/wp-content/uploads/2026/06/arrow-right.svg) center/contain
    no-repeat;
  width: 48px;
  height: 48px;
  display: inline-block;
}

.slick-prev:before {
  content: "" !important;
  background: url(/wp-content/uploads/2026/06/arrow-left-white.svg)
    center/contain no-repeat;
  width: 48px;
  height: 48px;
  display: inline-block;
}

@media (max-width: 767px) {
  .whello-team-grid {
    grid-template-columns: 1fr;
  }
  .whello-team-content {
    padding: 22px;
  }
  .whello-team-card {
    height: 320px;
  }
}
