/* ============================================================
   EDUMAX TEACHERS PAGE
   Extends public-styles.css / programs-styles.css tokens
   ============================================================ */

/* ---- Hero ---- */
.tp-hero {
  padding: 44px 0 34px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--w) 100%);
  text-align: center;
}
.tp-hero h1 { font-size: clamp(28px, 4.4vw, 42px); margin-bottom: 12px; }
.tp-hero p { color: var(--g5); font-size: 15.5px; max-width: 560px; margin: 0 auto 30px; line-height: 1.6; }

.tp-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
  margin-bottom: 32px;
}
.tp-stats div { display: flex; flex-direction: column; align-items: center; }
.tp-stats b { font-family: var(--f-display); font-size: 26px; font-weight: 600; color: var(--n); }
.tp-stats span { font-size: 12px; color: var(--g5); font-weight: 600; }

/* ---- Teacher grid ---- */
.teacher-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 20px;
}
.t-card {
  background: var(--w);
  border: 1px solid var(--g2);
  border-radius: var(--rxl);
  padding: 24px;
  transition: var(--tr);
  display: flex;
  flex-direction: column;
}
.t-card:hover { box-shadow: var(--sl); transform: translateY(-3px); border-color: transparent; }

.t-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.t-av {
  width: 54px; height: 54px;
  border-radius: var(--rf);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-size: 19px; font-weight: 600;
  flex-shrink: 0;
}
.t-av.c-math { background: var(--b); }
.t-av.c-sci { background: var(--g); }
.t-av.c-eng { background: var(--r); }

.t-name { font-size: 16.5px; margin-bottom: 3px; }
.t-world {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: 3px 10px;
  border-radius: var(--rf);
}
.t-world.c-math { background: var(--bl); color: var(--b); }
.t-world.c-sci { background: var(--gl); color: var(--g); }
.t-world.c-eng { background: var(--rl); color: var(--r); }

.t-bio {
  font-size: 13.5px;
  color: var(--g6);
  line-height: 1.55;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.t-stats {
  display: flex;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--g1);
  border-bottom: 1px solid var(--g1);
  margin-bottom: 16px;
}
.t-stat { display: flex; flex-direction: column; gap: 2px; }
.t-stat b { font-size: 14px; color: var(--n); font-weight: 700; }
.t-stat span { font-size: 10.5px; color: var(--g5); }

.t-programs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.t-programs span {
  font-size: 11px;
  font-weight: 600;
  color: var(--g6);
  background: var(--g1);
  padding: 4px 10px;
  border-radius: var(--rf);
}

.t-card .btn { margin-top: auto; width: 100%; }

/* ---- CTA teach band ---- */
.teach-cta {
  border-radius: var(--r2);
  padding: 46px 32px;
  text-align: center;
  background: var(--bg);
  border: 1.5px dashed var(--b);
}
.teach-cta h2 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 10px; }
.teach-cta p { color: var(--g6); font-size: 14.5px; margin-bottom: 22px; max-width: 460px; margin-left: auto; margin-right: auto; }

@media (min-width: 640px) {
  .teacher-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .teacher-grid { grid-template-columns: repeat(3, 1fr); }
}
