.teachers-page {
  background: #f5f8fa;
}

.teachers-hero {
  min-height: 300px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(100deg, rgba(5, 95, 78, 0.96), rgba(22, 165, 141, 0.88)),
    url("/images/home/slide-growth.jpg") center 42% / cover;
  color: #fff;
}

.teachers-hero-inner {
  text-align: center;
}

.teachers-hero p {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  opacity: 0.78;
}

.teachers-hero h1 {
  margin-bottom: 12px;
  font-size: 42px;
  line-height: 1.2;
}

.teachers-hero span {
  font-size: 16px;
  opacity: 0.9;
}

.teachers-breadcrumb {
  border-bottom: 1px solid #e3eaed;
  background: #fff;
}

.teachers-breadcrumb .container {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 8px;
  color: #7b8a92;
  font-size: 14px;
}

.teachers-breadcrumb svg {
  width: 15px;
  height: 15px;
}

.teachers-breadcrumb span,
.teachers-breadcrumb a:hover {
  color: var(--home-green-dark);
}

.teachers-section {
  padding: 64px 0 76px;
}

.teachers-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 500px);
  gap: 48px;
  align-items: end;
  margin-bottom: 28px;
}

.teachers-heading p {
  margin-bottom: 8px;
  color: var(--home-green);
  font-size: 14px;
  font-weight: 700;
}

.teachers-heading h2 {
  color: #243746;
  font-size: 30px;
  line-height: 1.35;
}

.teachers-heading > span {
  color: #71818a;
  font-size: 14px;
  line-height: 1.9;
}

.teachers-service-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 36px;
  overflow: hidden;
  border: 1px solid #dfe8e7;
  border-radius: 6px;
  background: #fff;
}

.teachers-service-row > div {
  display: flex;
  min-height: 88px;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-right: 1px solid #e7eeed;
}

.teachers-service-row > div:last-child {
  border-right: 0;
}

.teachers-service-row > div > svg {
  width: 30px;
  height: 30px;
  color: var(--home-green);
}

.teachers-service-row span {
  display: flex;
  flex-direction: column;
}

.teachers-service-row strong {
  color: #2c414d;
  font-size: 15px;
}

.teachers-service-row small {
  margin-top: 3px;
  color: #829097;
  font-size: 12px;
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.teachers-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #e0e8e9;
  border-radius: 6px;
  background: #fff;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.teachers-card:hover {
  transform: translateY(-4px);
  border-color: #b7d9d1;
  box-shadow: 0 12px 30px rgba(24, 70, 62, 0.1);
  color: inherit;
}

.teachers-avatar {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eaf3f1;
}

.teachers-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.teachers-card:hover .teachers-avatar img {
  transform: scale(1.035);
}

.teachers-avatar > svg {
  width: 52px;
  height: 52px;
  margin: calc(50% - 26px) auto 0;
  color: #9bb9b2;
}

.teachers-card-body {
  padding: 18px 20px 20px;
}

.teachers-level {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  margin-bottom: 10px;
  padding: 3px 9px;
  border-radius: 4px;
  background: #eaf7f3;
  color: var(--home-green-dark);
  font-size: 12px;
}

.teachers-card h3 {
  color: #253946;
  font-size: 19px;
  line-height: 28px;
}

.teachers-card p {
  margin-top: 3px;
  color: #62747e;
  font-size: 14px;
}

.teachers-card small {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 15px;
  color: #8a989f;
  font-size: 12px;
}

.teachers-card small svg {
  width: 14px;
  height: 14px;
}

.teachers-card-arrow {
  position: absolute;
  right: 16px;
  bottom: 18px;
  width: 18px;
  height: 18px;
  color: #a8b5ba;
}

.teachers-loading {
  grid-column: 1 / -1;
  padding: 48px 0;
  color: #7b8a92;
  text-align: center;
}

.teachers-cta {
  padding: 42px 0;
  background: #0c7e6b;
  color: #fff;
}

.teachers-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.teachers-cta span {
  font-size: 13px;
  opacity: 0.78;
}

.teachers-cta h2 {
  margin-top: 6px;
  font-size: 24px;
  line-height: 1.45;
}

.teachers-cta a {
  display: inline-flex;
  min-height: 46px;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  border-radius: 4px;
  background: #fff;
  color: #0b705f;
  font-size: 14px;
  font-weight: 700;
}

.teachers-cta a:hover {
  color: #075848;
}

.teachers-cta a svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 992px) {
  .teachers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teachers-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .teachers-hero {
    min-height: 240px;
  }

  .teachers-hero h1 {
    font-size: 32px;
  }

  .teachers-hero span {
    display: block;
    font-size: 14px;
    line-height: 1.8;
  }

  .teachers-section {
    padding: 40px 0 48px;
  }

  .teachers-heading h2 {
    font-size: 24px;
  }

  .teachers-service-row {
    grid-template-columns: 1fr;
  }

  .teachers-service-row > div {
    min-height: 76px;
    border-right: 0;
    border-bottom: 1px solid #e7eeed;
  }

  .teachers-service-row > div:last-child {
    border-bottom: 0;
  }

  .teachers-grid {
    grid-template-columns: 1fr;
  }

  .teachers-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .teachers-avatar {
    aspect-ratio: auto;
    min-height: 160px;
  }

  .teachers-card-arrow {
    right: 14px;
    bottom: 16px;
  }

  .teachers-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .teachers-cta h2 {
    font-size: 20px;
  }
}
