/* --- PROVIDERS PAGE (consistent with home.css) --- */

/* ========== Utilities ========== */
/* Make section media fill their boxes (not the circular headshots) */
.collab-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ========== Page hero ========== */
.team-hero {
  text-align: center;
  max-width: 950px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0; /* sits nicely under fixed header */
}
.team-hero h1 {
  font-size: 2.4rem;
  color: var(--section-heading-color);
  margin-bottom: 0.5rem;
}
.team-hero .lead {
  font-size: 1.125rem;
  color: var(--text-color);
  line-height: 1.8;
}

/* ========== Badges (match home.css) ========== */
.care-badges {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1rem auto 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #fff;
  border: 1px solid #e6edf0;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  box-shadow: var(--box-shadow-soft);
  font-weight: 600;
  color: var(--section-heading-color);
}
.badge img { width: 20px; height: 20px; display: block; }

/* ========== Unified buttons (match header/home) ========== */
.btn,
.btn-primary {
  --btn-bg: var(--primary-color);
  --btn-bg-hover: var(--primary-600);
  --btn-text: #fff;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;

  min-height: 44px;               /* accessible tap target */
  padding: .6rem 1rem;
  border-radius: 6px;
  border: 0;
  background-color: var(--btn-bg);
  color: var(--btn-text);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s ease, transform .06s ease;
}
.btn:hover,
.btn-primary:hover { background-color: var(--btn-bg-hover); }
.btn:active,
.btn-primary:active { transform: translateY(1px); }

/* Keep white text on all primary button states */
.btn-primary,
.btn-primary:link,
.btn-primary:visited,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:focus-visible {
  color: #fff !important;
  text-decoration: none;
}

/* Link-style button (brand colors) */
.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}
.btn-link:hover { color: var(--primary-700); text-decoration: underline; }

/* ========== Provider cards ========== */
.provider-grid {
  max-width: var(--container-max-width);
  margin: 1.25rem auto 0;
  padding: 0 1.25rem 2rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}
.provider-card {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  border: 1px solid #e6edf0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--box-shadow-soft);
}
.provider-media {
  background: var(--light-background);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.provider-media img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 6px #fff, 0 0 0 8px rgba(0,0,0,0.05);
}
.provider-body {
  padding: 1.25rem 1.25rem 1.5rem;
}
.provider-name {
  font-size: 1.75rem;
  margin: 0 0 0.25rem;
  color: var(--section-heading-color);
}
.provider-role {
  margin: 0 0 0.75rem;
  color: #5d6a6e;
  font-weight: 600;
}
.provider-points {
  margin: 0.75rem 0 0.75rem 1rem;
  list-style: disc;
  color: var(--text-color);
}
.provider-cta { margin-top: 0.5rem; }

/* ========== Collaborative section ========== */
.collab {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.25rem 2.25rem;
}
.collab h3 {
  text-align: center;
  color: var(--section-heading-color);
  margin-bottom: 1rem;
  font-size: 2rem;
}
.collab-wrap {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}
.collab-card {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid #e6edf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--box-shadow-soft);
  overflow: hidden;
}
.collab-media { background: var(--light-background); }
/* Let the image fill its area; height set here for consistent card height */
.collab-media img { height: 260px; }
.collab-body {
  padding: 1rem 1.1rem 1.25rem;
}
.collab-body h4 {
  margin: 0 0 0.35rem;
  color: var(--section-heading-color);
}
.collab-points {
  margin: 0.5rem 0 0 1rem;
  list-style: disc;
}

/* ========== Values row ========== */
.values {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.25rem 2.75rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.value-card {
  grid-column: span 12;
  background: #fff;
  border: 1px solid #e6edf0;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  box-shadow: var(--box-shadow-soft);
}
.value-card h4 {
  margin-bottom: 0.35rem;
  color: var(--section-heading-color);
}

/* ========== CTA ========== */
.team-cta {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}
.team-cta h3 {
  color: var(--section-heading-color);
  margin-bottom: 0.35rem;
}
/* Use unified .btn / .btn-primary / .btn-link above */

/* ========== Responsive ========== */
@media (min-width: 768px) {
  .provider-card { grid-template-columns: 340px 1fr; }
  .collab-card { grid-template-columns: 420px 1fr; }
  .value-card { grid-column: span 4; }
}
