.about-team {
  background: linear-gradient(180deg, #f5ede2 0%, rgba(245, 237, 226, 0) 100%);
  border-radius: 30px;
}
.about-team__header {
  max-width: 680px;
}

/* ── Team card ── */
.team-card {
  position: relative;
  border-radius: 20px;
  aspect-ratio: 1/1.3;
  overflow: hidden;
  margin-bottom: 24px;
}
.team-card__image {
  position: absolute;
  inset: 0;
}
.team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* ── Content overlay box ── */
.team-card__content {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(255, 252, 244, 0.8);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 24px;
  height: 185px;
  overflow: hidden;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.team-card.is-expanded .team-card__content {
  height: calc(100% - 20px);
  overflow-y: auto;
}
.team-card__role {
  color: #1a3046;
  font-size: 14px;
  font-style: normal;
  display: inline-block;
  opacity: 0.8;
  margin-bottom: 10px;
  font-weight: 400;
  line-height: 17.5px;
}
.team-card__name {
  margin-bottom: 8px;
}
.team-card__desc {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 10px;
}

.team-card__desc p {
  color: #0f1138;
  padding-bottom: 10px;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}
.team-card.is-expanded .team-card__desc {
  -webkit-line-clamp: unset;
  line-clamp: unset;
  display: block;
  overflow: visible;
  margin-bottom: 12px;
}

/* ── Toggle button ── */
.team-card__toggle {
  display: flex;
  justify-content: flex-start;
  margin-top: auto;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #1a3046;
  position: relative;
  width: max-content;
  font-size: 14px;
  padding-right: 15px;
  font-weight: 600;
  flex-shrink: 0;
}
.team-card__toggle::after {
  content: "";
  position: absolute;
  right: 0;
  width: 12px;
  height: 12px;
  top: 50%;
  transform: translateY(-50%);
  background-image: url("../../../assets/icons/arrow.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* ── TABLET (≤ 991px) ── */
@media only screen and (max-width: 991px) {
  .team-card {
    margin-bottom: 16px;
  }
}

/* ── MOBILE (≤ 575px) ── */
@media only screen and (max-width: 575px) {
}
