/* ==========================================
   ABOUT HERO HEADER
   ========================================== */
.about-hero {
  background-color: var(--color-primary-dark, #35295c);
  color: #ffffff;
  
  padding: clamp(4rem, 8vw, 7rem) 5vw;
  text-align: center;

  .page-header-container {
    max-width: 75rem;
    margin: 0 auto;

    h1 {
      color: #ffffff;
      font-size: clamp(2rem, 5vw, 3.2rem);
      margin: 0;
      font-weight: 700;
      line-height: 1.2;
    }
  }
}

/* ==========================================
   MAIN CONTENT AREA
   ========================================== */
.about-content-section {
  padding: clamp(3rem, 6vw, 6rem) 5vw;
  background-color: var(--color-white, #ffffff);

  .about-container {
    max-width: 50rem;
    margin: 0 auto;
  }
}

/* --- Intro Text --- */
.intro-text {
  margin-bottom: clamp(3rem, 5vw, 4rem);

  p {
    font-size: clamp(1.05rem, 2vw, 1.15rem);
    line-height: 1.8;
    color: var(--color-text-dark, #333333);
    margin-bottom: 1.5rem;

    &:last-child {
      margin-bottom: 0;
    }
  }
}

/* --- What We Teach Highlight Block --- */
.highlight-block {
  background-color: var(--color-bg-light, #f9fafb);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--border-radius, 0.5rem);
  border-left: 0.35rem solid var(--color-primary, #35295c);
  margin-bottom: clamp(3rem, 5vw, 4rem);
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.05);

  h2 {
    color: var(--color-primary-dark, #3b145e);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.75rem;
  }

  p {
    font-size: clamp(1.05rem, 2vw, 1.15rem);
    margin: 0;
  }
}

/* --- Affiliation Block (AECMF) --- */
.affiliation-block {
  text-align: center;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;

  .affiliation-logo {
    width: 100%;
    max-width: clamp(15rem, 30vw, 22rem);
    height: auto;
    object-fit: contain;
  }

  p {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.6;
    color: var(--color-text-dark, #444444);
    margin: 0;
  }
}

/* ==========================================
   TEAM SECTION
   ========================================== */

.team-section {
  background-color: var(--color-primary-dark, #3b145e);
  padding: clamp(4rem, 8vw, 6rem) 0;
  
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.team-section .team-container {
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 5vw;
}

.team-section .team-header {
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 4rem);
}

.team-section .team-header h2 {
  color: var(--color-white, #ffffff);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 0;
}


.team-section .team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem); 
  row-gap: 2rem; 
  max-width: 65rem; 
  margin: 0 auto;
}

/* Make cards layout horizontally */
.team-section .team-card {
  background-color: var(--color-white, #ffffff);
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: row;
  align-items: center; 
  padding: 1.5rem 2rem;
  text-align: left; 
  gap: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Subtle hover effect for better interactivity */
.team-section .team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.team-section .team-avatar {
  position: relative; 
  flex-shrink: 0;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background-color: var(--color-bg-light, #f9fafb);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08); 
  overflow: hidden;
}

.team-section .team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Align text to the left */
.team-section .team-content h3 {
  color: var(--color-primary-dark, #3b145e);
  font-size: 1.3rem;
  margin: 0 0 0.25rem 0; 
}

.team-section .team-content p {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #777777; 
  margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .team-section .team-grid {
    grid-template-columns: 1fr; /* Stacks to 1 column on phones */
  }
}


.team-section .team-avatar img.adjust-avatar {
  object-position: top center; 
}
