/* ==========================================================================
   Team (Over ons → "Maak kennis met ons bestuur")
   Structure:
   div.team
     div.member
       div.member__photo
         img                     (or, without a photo: span "foto Patrick")
       div.member__info
         span.member__role       "Voorzitter"
         span.member__name       "Patrick Vandenhecke"
         a.member__email         href="mailto:…"

   Closing box:
   div.team-quote
     p.team-quote__intro
     p.team-quote__text          (+ span.title__accent for the yellow part)
   ========================================================================== */

body .elementor .team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 24px;
}

body .elementor .member {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body .elementor .member__photo {
  aspect-ratio: 1;
  border-radius: var(--radius-l);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Striped placeholder while there's no photo */
  background: repeating-linear-gradient(
    135deg,
    #e8e2d5 0 10px,
    #e1dacb 10px 20px
  );
  font-family: ui-monospace, Menlo, monospace;
  font-size: 13px;
  color: #7a7365;
}
body .elementor .member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body .elementor .member__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-inline: 4px;
}

body .elementor .member__role {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-text);
}

body .elementor .member__name,
body .elementor .member__email {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body .elementor .member__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.05;
  text-transform: uppercase;
}

body .elementor .member__email {
  font-size: 15px;
}

/* Closing box */
body .elementor .team-quote {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-xl);
  background: var(--navy);
  color: var(--cream);
}

body .elementor .team-quote__intro {
  font-size: 19px;
  color: var(--muted);
}

body .elementor .team-quote__text {
  max-width: 28ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1;
}
body .elementor .team-quote .title__accent {
  color: var(--yellow);
}

/* Bold text in the quote = yellow accent (same idea as in titles) */
body .elementor .team-quote__text strong {
  font-weight: inherit;
  color: var(--yellow);
}

/* Contact button at the end of the quote box */
body .elementor .team-quote .btn {
  align-self: flex-start;
  margin-top: 10px;
}

/* Mobile: compact rows (photo left, info right) instead of huge square cards */
@media (max-width: 600px) {
  body .elementor .team {
    gap: 16px;
  }
  body .elementor .member {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  body .elementor .member__photo {
    flex: 0 0 96px;
    width: 96px;
    border-radius: 16px;
    font-size: 11px;
    text-align: center;
    padding: 6px;
  }
  body .elementor .member__photo img {
    border-radius: 0;
  }
  body .elementor .member__info {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
  }
  body .elementor .member__name {
    font-size: 24px;
  }
  body .elementor .member__email {
    font-size: 14px;
  }
}
