/* Team Page Specific Styles */

/* Team Page Styling */
.team-page {
  width: 100%;
  min-height: 100vh;
}

/* Team Hero Section */
.team-hero {
  background-color: #d1e8e2;
  padding: 120px 0 80px;
  text-align: center;
}

.team-hero-container {
  max-width: 60%;
  margin: 0 auto;
  padding: 0 20px;
}

.team-hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.team-hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.team-hero-title {
  font-size: 4rem;
  font-weight: 600;
  color: var(--mp-color-black);
  margin-bottom: 2rem;
  font-family: 'Bauhaus Std', sans-serif;
}

.team-hero-excerpt {
  font-size: 1.8rem;
  line-height: 1.6;
  color: var(--mp-color-black);
  margin-bottom: 0;
  font-family: 'Avenir', sans-serif;
}

/* Team Story Section */
.team-story {
  background-color: #d1e8e2;
  padding: 80px 0;
}

.team-story-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.team-story-title {
  font-size: 3rem;
  font-weight: 600;
  color: var(--mp-color-black);
  margin-bottom: 3rem;
  font-family: 'Bauhaus Std', sans-serif;
  text-align: left;
}

.team-story-text {
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--mp-color-black);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-family: 'Avenir', sans-serif;
  text-align: left;
}

.team-story-text:last-child {
  margin-bottom: 0;
}

/* Team Grid Section */
.team-grid-section {
  background-color: #d1e8e2;
  padding: 80px 0 120px;
}

.team-grid-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.team-grid-title {
  font-size: var(--font-size-h3);
  font-weight: 600;
  color: var(--mp-color-black);
  margin-bottom: 4rem;
  text-align: left;
  font-family: 'Bauhaus Std', sans-serif;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 4rem;
}

/* Team Member Card Styling */
.team-member-card {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #4CAF50;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.team-member-card-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.team-member-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

.team-member-card > * {
  z-index: 3;
}

.team-member-image-container {
  margin-bottom: 2rem;
  max-width: 200px;
}

.team-member-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.3);
  transition: all 0.3s ease;
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.team-member-info {
  text-align: center;
  max-width: 88%;
}

.team-member-name {
  font-size: 2rem;
  font-weight: 600;
  color: #4CAF50;
  margin-bottom: 0.5rem;
  font-family: 'Bauhaus Std', sans-serif;
}

.team-member-title {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--mp-color-white);
  margin-bottom: 1.5rem;
  font-family: 'Avenir', sans-serif;
}

.team-member-quote {
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--mp-color-white);
  font-style: italic;
  margin: 0;
  font-family: 'Avenir', sans-serif;
  opacity: 0.9;
}

/* Mobile Responsiveness for Team Page */
@media (max-width: 768px) {
  .team-hero {
    padding: 80px 0 60px;
  }

  .team-hero-container {
    max-width: 90%;
  }

  .team-hero-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
  }

  .team-hero-excerpt {
    font-size: 1.6rem;
  }

  .team-story {
    padding: 60px 0;
  }

  .team-story-title {
    font-size: 2.4rem;
    margin-bottom: 2rem;
  }

  .team-story-text {
    font-size: var(--font-size-md);
    text-align: left;
  }

  .team-grid-section {
    padding: 60px 0 80px;
  }

  .team-grid-title {
    font-size: 2.4rem;
    margin-bottom: 3rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .team-member-card {
    padding: 25px;
  }

  .team-member-image {
    width: 100px;
    height: 100px;
  }

  .team-member-name {
    font-size: 1.8rem;
  }

  .team-member-title {
    font-size: 1.2rem;
  }

  .team-member-quote {
    font-size: 1.3rem;
  }
}
