/* Garp Team — uses the Garp WSJ theme's colour variables. */

.garp-team-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 8px 0 48px;
}

.garp-team-lede {
  font-size: 1.08rem;
  color: var(--garp-muted, #5f6775);
  max-width: 680px;
  margin: 0 0 28px;
}

.garp-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 18px;
}

.garp-team-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 20px;
  background: var(--garp-surface, #fff);
  border: 1px solid var(--garp-border, #e2e6ec);
  border-radius: 8px;
}

.garp-team-card img,
.garp-team-profile img {
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.garp-team-card img {
  width: 88px;
  height: 88px;
}

.garp-team-card h2 {
  margin: 0;
  font-size: 1.2rem;
}

.garp-team-card h2 a {
  color: var(--garp-ink, #12151c);
  text-decoration: none;
}

.garp-team-title {
  margin: 2px 0 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--garp-accent, #c41e1e);
}

.garp-team-bio {
  margin: 0 0 10px;
  color: var(--garp-muted, #5f6775);
  line-height: 1.5;
}

.garp-team-links {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.garp-team-profile {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
  margin: 8px 0 32px;
  padding: 24px;
  background: var(--garp-surface, #fff);
  border: 1px solid var(--garp-border, #e2e6ec);
  border-radius: 10px;
}

.garp-team-profile img {
  width: 140px;
  height: 140px;
}

.garp-team-profile h1 {
  margin: 0;
}

.garp-team-linkedin {
  display: inline-block;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff !important;
  background: #0a66c2;
  border-radius: 6px;
  text-decoration: none;
}

.garp-team-contact,
.garp-team-empty {
  margin-top: 28px;
  color: var(--garp-muted, #5f6775);
}

.garp-team-byline {
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--garp-muted, #5f6775);
}

.garp-view {
  padding: 14px 16px;
  background: var(--garp-surface, #fff);
  border-left: 3px solid var(--garp-accent, #c41e1e);
}

.garp-source {
  font-size: 0.9rem;
  color: var(--garp-muted, #5f6775);
}

@media (max-width: 640px) {
  .garp-team-grid {
    grid-template-columns: 1fr;
  }

  .garp-team-profile {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .garp-team-profile img {
    width: 110px;
    height: 110px;
  }
}
