/* ===== SECTION ===== */
.teachers-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* ===== FEATURED (Head Teacher) ===== */
.teacher-feature {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid #e0e0e0;
}
.teacher-feature-photo {
  position: sticky;
  top: 80px;
}
.teacher-feature .teacher-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: #ccc;
  border-radius: 10px;
}
.teacher-feature .teacher-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 10px;
}
.teacher-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #444;
  color: #fff;
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}
.teacher-feature-info h2 {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

/* ===== SHARED DETAIL STYLES ===== */
.teacher-origin {
  font-size: 0.88rem;
  color: #888;
  margin-bottom: 1.25rem;
}
.teacher-detail {
  margin-bottom: 1rem;
}
.teacher-detail h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #999;
  margin-bottom: 0.25rem;
}
.teacher-detail p {
  color: #444;
  font-size: 0.93rem;
  line-height: 1.7;
}
.teacher-email {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: #444;
  text-decoration: underline;
}
.teacher-email:hover { color: #222; }
.teacher-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #555;
  background: #f0f0f0;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}

/* ===== TEACHERS GRID ===== */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.teacher-card {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.teacher-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.teacher-card > .teacher-photo-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: #ccc;
}
.teacher-card > .teacher-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: top;
}
.teacher-card-body {
  padding: 1.5rem;
}
.teacher-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: #222;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .teacher-feature {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .teacher-feature-photo {
    position: static;
    max-width: 280px;
  }
  .teachers-grid {
    grid-template-columns: 1fr;
  }
}
