/* =========================================================
   GOLAN EVENT — TEAM IMAGE REVEAL (SOLID FADE + CHEVRON RIGHT)
   ========================================================= */

.ge-team {
  --ge-team-blue: #2872FA;
  --ge-team-navy-match: #061A3C;

  width: 100%;
  box-sizing: border-box;
}

.ge-team__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  gap: 28px;
  box-sizing: border-box;
}

.ge-team__member {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.ge-team__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 5px;
  background: #E8EDF3;
  isolation: isolate;
}

.ge-team__photo > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center;
  transform: scale(1);
  filter: saturate(.92);
  transition: opacity 400ms ease, filter 400ms ease;
}

.ge-team__number {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  color: #fff;
  font-family: var(--ge-font-body, "Inter", sans-serif);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .12em;
  opacity: .9;
  pointer-events: none;
}

/* TOGGLE BUTTON - CHEVRON RIGHT ICON */
.ge-team__toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: rgba(6, 26, 60, 0.4);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.ge-team__toggle svg {
  display: block;
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 300ms cubic-bezier(.2,.8,.2,1);
}

.ge-team__toggle:hover {
  background: var(--ge-team-blue);
  border-color: var(--ge-team-blue);
}

/* OVERLAY SOLID NAVY FOOTER MATCH - FADED ONLY */
.ge-team__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  box-sizing: border-box;

  background: var(--ge-team-navy-match);

  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 350ms ease, visibility 350ms ease;
}

.ge-team__overlay-content {
  width: 100%;
  opacity: 0;
  transition: opacity 350ms ease;
}

.ge-team__role {
  display: block;
  margin: 0 0 9px;
  color: rgba(255,255,255,.62);
  font-family: var(--ge-font-body, "Inter", sans-serif);
  font-size: 8px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ge-team__name {
  max-width: 390px;
  margin: 0 0 14px !important;
  color: #fff !important;
  font-family: var(--ge-font-body, "Inter", sans-serif) !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: -.015em;
}

.ge-team__bio {
  max-width: 390px;
  margin: 0 !important;
  color: rgba(255,255,255,.72) !important;
  font-family: var(--ge-font-body, "Inter", sans-serif) !important;
  font-size: 11.5px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
}

.ge-team__socials {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
}

.ge-team__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 4px;
  background: transparent;
  color: #fff;
  text-decoration: none !important;
  transition: background-color 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.ge-team__social svg {
  display: block;
  width: 11px;
  height: 11px;
  fill: currentColor;
}

.ge-team__social:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.45);
}

/* DESKTOP HOVER & ACTIVE */
@media (min-width: 768px) {
  .ge-team__photo:hover > img {
    filter: saturate(.72);
  }

  .ge-team__photo:hover .ge-team__overlay,
  .ge-team__photo.is-open .ge-team__overlay {
    opacity: 1;
    visibility: visible;
  }

  .ge-team__photo:hover .ge-team__overlay-content,
  .ge-team__photo.is-open .ge-team__overlay-content {
    opacity: 1;
  }

  .ge-team__photo:hover .ge-team__toggle svg {
    transform: rotate(90deg);
  }
}

.ge-team__photo.is-open .ge-team__overlay {
  opacity: 1;
  visibility: visible;
}

.ge-team__photo.is-open .ge-team__overlay-content {
  opacity: 1;
}

.ge-team__photo.is-open .ge-team__toggle {
  background: #fff;
  border-color: #fff;
  color: var(--ge-team-navy-match);
}

.ge-team__photo.is-open .ge-team__toggle svg {
  transform: rotate(90deg);
}

@media (max-width: 1024px) {
  .ge-team__grid { gap: 20px; }
  .ge-team__overlay { padding: 22px; }
  .ge-team__name { font-size: 17px !important; }
  .ge-team__bio { font-size: 10.5px !important; }
}

@media (max-width: 767px) {
  .ge-team__grid { grid-template-columns: 1fr; gap: 20px; }
}