/* ==========================================================================
   SCCWS Nepal — Team page additions
   Builds on top of assets/css/style.css (shared design tokens, header,
   footer, buttons, section-heading, icon-badge, etc.). Only the
   component styles that Home/About/Donate don't already define live here.
   Source: Figma "SCCWS Nepal - Our Team & Leadership" (node 1:1522).
   ========================================================================== */

.bg-card { background-color: var(--color-bg-card); }
.icon-badge--solid-amber { background-color: var(--color-brand-amber); color: var(--color-white); }

/* ---- Page intro (eyebrow + heading + verified badge card) ---------------- */
.team-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
  margin-bottom: var(--space-16);
}

.team-intro__text { max-width: 672px; }

.team-intro__eyebrow { margin-bottom: var(--space-3); }

.team-intro__heading {
  font-size: 36px;
  font-weight: 600;
  margin: 1rem 0;
  color: var(--color-brand-forest);
}

.team-intro__lede {
  font-size: 18px;
  line-height: 28px;
  color: var(--color-text-body);
  margin-top: var(--space-1);
}

.team-verified-card {
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

.team-verified-card__title { font-size: 14px; font-weight: 700; color: var(--color-text-heading); }
.team-verified-card__sub { font-size: 14px; color: var(--color-text-body); }

@media (max-width: 767.98px) {
  .team-intro { margin-bottom: var(--space-10); }
}

/* ---- Executive spotlight (President highlight panel) --------------------- */
.exec-spotlight {
  background-color: var(--color-brand-forest-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  margin-bottom: var(--space-8);
}

@media (min-width: 992px) {
  .exec-spotlight { grid-template-columns: 5fr 7fr; align-items: stretch; }
}

.exec-spotlight__photo { min-height: 260px; }
.exec-spotlight__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (min-width: 992px) {
  .exec-spotlight__photo { min-height: 400px; }
}

.exec-spotlight__body {
  padding: var(--space-6) var(--space-6) var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 992px) {
  .exec-spotlight__body { padding: var(--space-12); }
}

.exec-spotlight__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background-color: rgba(138, 189, 169, 0.2);
  margin-bottom: var(--space-4);
  align-self: flex-start;
}
.exec-spotlight__badge svg { width: 10.667px; height: 14px; color: var(--color-white); flex-shrink: 0; }
.exec-spotlight__badge span { font-size: 12px; font-weight: 700; color: var(--color-white); white-space: nowrap; }

.exec-spotlight__name {
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.exec-spotlight__role {
  font-size: 14px;
  color: #fff;
  margin-bottom: var(--space-6);
}

.exec-spotlight__bio {
  font-size: 16px;
  line-height: 26px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin-bottom: var(--space-8);
}

.exec-spotlight__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.team-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-white);
  white-space: nowrap;
  transition: transform 0.15s ease;
}
.team-pill-btn:hover { transform: translateY(-1px); color: var(--color-white); }
.team-pill-btn svg { flex-shrink: 0; width: 14px; height: 14px; }
.team-pill-btn--amber { background-color: var(--color-brand-amber); }
.team-pill-btn--forest { background-color: var(--color-brand-forest); }

/* ---- Team grid (staff cards + join card) ---------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 576px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

.team-card {
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-card__image { height: 288px; overflow: hidden; }
.team-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.team-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.team-card__body .photo-card__eyebrow { margin-bottom: var(--space-1); }

.team-card__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-brand-forest);
  margin-bottom: var(--space-1);
}

.team-card__role {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: var(--color-text-body);
  margin-bottom: var(--space-4);
}

.team-card__desc {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-text-body);
  margin-bottom: var(--space-6);
}

.team-card__footer {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: 17px;
  border-top: 1px solid var(--color-border-soft);
  margin-top: auto;
}

.team-card__footer svg { height: 32px; width: auto; display: block; }

/* ---- Join our growing mission (CTA card within the grid) ------------------ */
.team-join-card {
  background-color: rgba(255, 220, 195, 0.55);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.team-join-card__top { margin-bottom: var(--space-6); }

.team-join-card .icon-badge { width: 48px; height: 48px; margin-bottom: var(--space-3); }
.team-join-card .icon-badge svg { width: 24px; height: 16px; }

.team-join-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #2f1500;
  margin-bottom: var(--space-3);
}

.team-join-card p {
  font-size: 16px;
  line-height: 24px;
  color: rgba(47, 21, 0, 0.9);
}

.team-join-card .btn-figma { box-shadow: var(--shadow-card); }

/* ---- Careers & Volunteering CTA banner ------------------------------------ */
.careers-cta { text-align: center; }
.careers-cta__eyebrow { display: block; margin-bottom: var(--space-4); }

.careers-cta__heading {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-brand-forest);
  max-width: 576px;
  margin: 0 auto var(--space-4);
}

.careers-cta__lede {
  font-size: 18px;
  line-height: 28px;
  color: var(--color-text-body);
  max-width: 672px;
  margin: 0 auto var(--space-8);
}

.careers-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

.btn-neutral {
  background-color: var(--color-bg-strip);
  color: var(--color-text-heading);
  padding: 14px 32px;
}
.btn-neutral:hover { background-color: var(--color-border); color: var(--color-text-heading); }
