.teachers-page{
  background:
    radial-gradient(circle at top right, rgba(240,138,44,.10), transparent 28%),
    radial-gradient(circle at bottom left, rgba(47,128,237,.08), transparent 30%),
    #fbf7f2;
}

.teachers-hero{
  padding: 60px 0 18px;
  text-align: center;
}

.teachers-hero__inner{
  max-width: 980px;
}

.teachers-hero__eyebrow{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  margin: 0 0 16px;
  border-radius: 999px;
  background: #fff0e7;
  color: #f07d4f;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.teachers-hero__title{
  margin: 0 0 10px;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.1;
  color: #15233d;
  font-weight: 900;
}

.teachers-hero__lead{
  max-width: 60ch;
  margin: 0 auto;
  color: #49566d;
  line-height: 1.9;
  font-size: 1.02rem;
}

.teachers-hero__note{
  margin-top: 10px;
  color: #66707e;
  line-height: 1.8;
  font-size: .95rem;
}

.teachers-team .container{
  max-width: 980px;
}

.teachers-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.teacher-card{
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  border-radius: 24px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.90)),
    #fff;
  border: 1px solid #edf1f6;
  box-shadow: 0 12px 26px rgba(24,39,63,.07);
}

.teacher-card__media{
  min-width: 0;
}

.teacher-card__image,
.teacher-card__placeholder{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  object-fit: cover;
  display: block;
}

.teacher-card__placeholder{
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eaf2ff, #fff0e7);
  color: #1d2945;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.teacher-card__badges{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.teacher-badge{
  display: inline-grid;
  place-items: center;
  min-height: 28px;
  padding: .18rem .65rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, #7aa7ff, #618fe6);
}

.teacher-card__badges .teacher-badge:nth-child(1){
  background: linear-gradient(180deg, #ff8f68, #f06d4f);
}

.teacher-card__name{
  margin: 0;
  color: #15233d;
  font-size: 1.14rem;
  line-height: 1.4;
  font-weight: 900;
}

.teacher-card__name small{
  font-size: .92rem;
  color: #6a7485;
  font-weight: 700;
}

.teacher-card__bio{
  margin: .45rem 0 0;
  color: #404a59;
  line-height: 1.8;
}

.teacher-card__tags{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.teacher-tag{
  padding: .2rem .55rem;
  border-radius: 999px;
  background: #f5f7fb;
  color: #3b4250;
  font-weight: 700;
  font-size: .8rem;
  border: 1px solid #e7ecf3;
}

.teacher-card__kv{
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 10px;
}

.teacher-card__kv div{
  flex: 1 1 0;
  white-space: nowrap;
  text-align: center;
  padding: .55rem .6rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #eef1f5;
  font-weight: 800;
  font-size: .88rem;
  color: #22314b;
  box-shadow: 0 4px 10px rgba(0,0,0,.04);
}

@media (max-width: 900px){
  .teachers-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .teacher-card{
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
    border-radius: 20px;
  }

  .teacher-card__media{
    max-width: 120px;
    margin: 0 auto;
  }

  .teacher-card__image,
  .teacher-card__placeholder{
    border-radius: 14px;
  }

  .teacher-card__badges{
    gap: 6px;
    margin-bottom: 8px;
    justify-content: center;
  }

  .teacher-badge{
    min-height: 24px;
    padding: .14rem .52rem;
    font-size: .7rem;
  }

  .teacher-card__name{
    font-size: 1rem;
    text-align: center;
  }

  .teacher-card__name small{
    display: block;
    font-size: .78rem;
    margin-top: 2px;
  }

  .teacher-card__bio{
    margin-top: .35rem;
    font-size: .82rem;
    line-height: 1.65;
    text-align: center;
  }

  .teacher-card__tags{
    gap: 6px;
    margin-top: 8px;
    justify-content: center;
  }

  .teacher-tag{
    padding: .16rem .46rem;
    font-size: .7rem;
  }

  .teacher-card__kv{
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
  }

  .teacher-card__kv div{
    flex: 1 1 calc(50% - 6px);
    white-space: normal;
    padding: .46rem .38rem;
    font-size: .74rem;
    border-radius: 10px;
  }
}

@media (max-width: 560px){
  .teachers-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .teachers-hero{
    padding: 46px 0 12px;
  }

  .teacher-card{
    padding: 14px;
    gap: 10px;
  }

  .teacher-card__media{
    max-width: 104px;
  }

  .teacher-badge{
    font-size: .66rem;
    min-height: 22px;
    padding: .12rem .44rem;
  }

  .teacher-card__name{
    font-size: .94rem;
  }

  .teacher-card__name small{
    font-size: .74rem;
  }

  .teacher-card__bio{
    font-size: .78rem;
    line-height: 1.6;
  }

  .teacher-tag{
    font-size: .68rem;
    padding: .14rem .4rem;
  }

  .teacher-card__kv div{
    font-size: .7rem;
    padding: .4rem .34rem;
  }
}