/* =========================================
   MEET THE TEAM PAGE STYLES
   ========================================= */

/* HERO */
.team-hero {
  background-image: url('marble-bg.webp');
  background-size: cover;
  background-position: center;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}

.team-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
  padding: 3rem 2rem;
}

.team-hero-heading {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.team-hero-line1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 4.59rem;
  font-weight: 300;
  color: hsl(44, 14%, 32%);
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.team-hero-line2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 4.59rem;
  font-weight: 300;
  font-style: italic;
  color: hsl(44, 14%, 32%);
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.team-hero-line2 em {
  font-style: italic;
}

.team-hero-btn {
  display: inline-block;
  margin-top: 1.4rem;
  background: rgba(245, 240, 235, 0.88);
  color: #3b3526;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  transition: background 0.25s ease, color 0.25s ease;
}

.team-hero-btn:hover {
  background: #f5f0eb;
  color: #2e2a1e;
}

/* BIO SECTION */
.team-bio-section {
  background-color: #f0ebe3;
  padding: 5rem 4rem 6rem;
}

.team-bio-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 5rem;
}

.team-bio-text {
  flex: 1;
}

.team-bio-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 300;
  color: hsl(23, 32%, 35%);
  margin: 0 0 1.8rem 0;
  letter-spacing: 0.01em;
}

.team-bio-body {
  font-family: 'Alegreya', Georgia, serif;
  font-size: 0.97rem;
  font-weight: 400;
  color: #4a3f30;
  line-height: 1.85;
  margin: 0 0 1.1rem 0;
}

.team-bio-body:last-child {
  margin-bottom: 0;
}

.team-bio-section--alt {
  background-color: #ede8df;
}

.team-bio-photo-wrap {
  flex: 0 0 400px;
  padding-top: 4.4rem;
}

.team-bio-photo-wrap--left {
  padding-top: 5.8rem;
}

.team-bio-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: hsl(23, 32%, 35%);
  letter-spacing: 0.04em;
  margin: -1rem 0 1.4rem 0;
}

.team-bio-photo {
  width: 380px;
  height: 380px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
}

/* TESTIMONIALS SECTION */
.team-testimonials-section {
  background-color: hsl(44, 14%, 32%);
  padding: 5rem 4rem 6rem;
}

.team-testimonials-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.team-testimonials-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: rgba(240, 235, 227, 0.85);
  text-align: center;
  margin: 0 0 4rem 0;
  letter-spacing: 0.01em;
}

.team-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem;
  align-items: start;
}

.team-testimonial-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(240, 235, 227, 0.75);
  line-height: 1.8;
  margin: 0 0 1.2rem 0;
}

.team-testimonial-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(240, 235, 227, 0.6);
  letter-spacing: 0.08em;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .team-bio-section {
    padding: 3rem 1.5rem 4rem;
  }

  .team-bio-inner {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .team-bio-photo-wrap,
  .team-bio-photo-wrap--left {
    padding-top: 0;
    flex: none;
    order: -1;
  }

  .team-bio-photo {
    width: 260px;
    height: 260px;
  }

  .team-testimonials-section {
    padding: 3rem 1.5rem 4rem;
  }

  .team-testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team-hero-line1 {
    font-size: 2.5rem;
  }

  .team-hero-line2 {
    font-size: 2.5rem;
  }
}
