/* cs-facilitators — centered heading + facilitator cards (name-overlay photo
   above a soft-blue caption box).
   All rem values follow BB Theme's html { font-size: 10px } base. */

/* Strip BB's default row chrome. */
.fl-row-content-wrap:has(.cs-facilitators) {
  padding-block: 0;
}
.fl-module-content:has(.cs-facilitators) {
  margin-block: 0;
}

.cs-facilitators {
  position: relative;
  padding-block: var(--cs-space-2xl);
  font-family: var(--cs-font-body);
  color: var(--cs-ink);
}

.cs-facilitators__inner {
  position: relative;
  z-index: 1;
  max-width: var(--cs-container);
  margin: 0 auto;
  padding-inline: var(--cs-gutter);
}

/* Doubled classes + font-style so BB Global h2 rules lose. */
.cs-facilitators .cs-facilitators__heading {
  margin: 0 0 var(--cs-space-xl);
  font-family: var(--cs-font-display);
  font-weight: 700;
  font-size: clamp(4rem, 4vw + 1rem, 6.4rem); /* → 64px */
  font-style: normal;
  line-height: 1.212;
  letter-spacing: var(--cs-tracking-tight);
  color: var(--cs-ink);
  text-align: center;
  text-wrap: balance;
}

.cs-facilitators .cs-facilitators__heading .cs-facilitators__heading-accent {
  color: var(--cs-orange);
}

/* ---------- Cards ---------- */
.cs-facilitators__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch; /* equal-height cards so captions can match */
  gap: 4rem;
}

.cs-facilitators__card {
  width: 33.1rem; /* 331px */
  max-width: 100%;
  display: flex;
  flex-direction: column;
  /* Same gap between photo and caption as between the cards themselves */
  gap: 4rem;
}

.cs-facilitators__photo {
  position: relative;
  aspect-ratio: 342 / 428;
  border-radius: 4.9rem; /* 49px */
  overflow: hidden;
}

.cs-facilitators__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cs-facilitators__nameplate {
  position: absolute;
  top: 2.4rem;
  left: 2.4rem;
  display: flex;
  flex-direction: column;
  color: var(--cs-white);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.cs-facilitators__name {
  font-family: var(--cs-font-display);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.2;
}

.cs-facilitators__credential {
  font-family: var(--cs-font-display);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.4;
  opacity: 0.9;
}

/* Soft-blue caption box — flexes to fill the card so both boxes match */
.cs-facilitators__caption {
  background: #93b4dd;
  border-radius: 2.8rem; /* 28px */
  padding: 2.4rem 2.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: var(--cs-font-display);
  font-weight: 500;
  font-size: 1.6rem; /* 16px */
  line-height: 1.4;
  color: var(--cs-white);
  text-align: center;
  text-transform: capitalize;
}

.cs-facilitators__caption p {
  margin: 0 0 1.2rem;
}
.cs-facilitators__caption p:last-child {
  margin-bottom: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .cs-facilitators {
    padding-block: var(--cs-space-xl);
  }
}
