/* Team Page Specific Styles - Full Width with Image */

/* Hero */
.team-hero {
  background: var(--soft-orange);
  color: #1a1a1a;
  text-align: center;
  padding: 3.5rem 1.5rem;
}

.team-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.team-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Team member layout */
.team-member {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 3rem auto;
  padding: 2rem;
  background: var(--card-bg);
  border-left: 5px solid var(--soft-brown);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  gap: 2rem;
  flex-wrap: wrap;
}

.member-text {
  flex: 1 1 60%;
  min-width: 260px;
}

.member-text h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--main-orange);
}

.member-text .role {
  font-weight: 600;
  color: var(--soft-orange);
  margin-bottom: 0.8rem;
}

.member-text .desc {
  line-height: 1.6;
  font-size: 1rem;
  color: var(--text-color);
}

.member-photo {
  flex: 1 1 35%;
  min-width: 200px;
  text-align: center;
}

.member-photo img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive: stack on small screens */
@media (max-width: 768px) {
  .team-member {
    flex-direction: column;
    text-align: center;
  }

  .member-text, .member-photo {
    flex: 1 1 100%;
  }

  .member-photo img {
    max-width: 200px;
    margin-top: 1rem;
  }

  .team-hero h1 {
    font-size: 2rem;
  }

  .team-hero p {
    font-size: 1rem;
  }
}
