/* ==========================================================================
   About page styles
   ========================================================================== */

/* ---------- Wings of Health block ---------- */
.wings-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: center;
}
.wings-media img {
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
}
.wings-text h2 { margin-top: 0; }
.wings-text p { color: var(--rfa-ink-soft); }

@media (max-width: 900px) {
  .wings-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
}

/* ---------- Gallery grids (used for projects) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.gallery-grid--two {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 780px;
  margin-inline: auto;
}
.gallery-grid--four {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.gallery-item {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 26px var(--rfa-shadow-soft);
  transition: transform var(--t-med), box-shadow var(--t-med);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px var(--rfa-shadow-soft);
}
.gallery-item img {
  max-height: 260px;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

/* ---------- Wellness image ---------- */
.wellness-image {
  margin-top: 40px;
}
.wellness-image img {
  max-width: 800px;
  width: 100%;
  margin-inline: auto;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px var(--rfa-shadow-soft);
}

/* ---------- Team grid ---------- */
.section-lede {
  color: var(--rfa-ink-soft);
  max-width: 640px;
  margin: 0 auto 40px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 30px;
}
.team-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--rfa-border);
  border-radius: var(--radius);
  padding: 22px 18px;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px var(--rfa-shadow-soft);
  border-color: var(--rfa-light);
}
.team-photo {
  width: 150px;
  height: 150px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--rfa-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--rfa-mint-deep);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-name {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--rfa-deep);
  margin: 0 0 4px;
}
.team-role {
  font-size: 0.88rem;
  color: var(--rfa-ink-soft);
  margin: 0;
}

@media (max-width: 500px) {
  .team-photo { width: 130px; height: 130px; }
  .team-card { padding: 18px 12px; }
}

/* ---------- CTA strip (also used on home; duplicated here for safety) ---------- */
.cta-strip {
  background: linear-gradient(120deg, var(--rfa-deep), var(--rfa-primary));
  color: #fff;
  padding-block: 50px;
}
.cta-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.cta-strip h3 {
  color: #fff;
  font-family: var(--font-heading);
  margin: 0 0 6px;
  font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.65rem);
}
.cta-strip p {
  color: rgba(255,255,255,0.85);
  margin: 0;
  max-width: 560px;
}
@media (max-width: 600px) {
  .cta-strip-inner { flex-direction: column; text-align: center; }
}