:root {
  --bg: #ffffff;

 --font-sans: "Vazirmatn", "Vazirmatn FD", "Vazirmatn UI", sans-serif;
}


/* بکگراند سفید برای کل صفحه */
body {
  background: var(--bg);
}

html, body { font-family: var(--font-sans); }

input, select, textarea, button {
  font-family: var(--font-sans) !important; /* اجبار روی کنترل‌ها */
}

/* جهت و تراز فیلدهای جستجو مطابق فارسی */
.teacher-search-form input {
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  background: #f9f9f9;
  text-align: right;
}

.teacher-search-form input:focus {
  outline: none;
  border-color: #FFC000;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,192,0,0.25);
}

.teacher-search-form .fields-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

/* Placeholder ها با همون فونت و رنگ ملایم */
::placeholder { font-family: var(--font-sans); color: #9aa2af; opacity: 1; }
::-webkit-input-placeholder { font-family: var(--font-sans); color: #9aa2af; }
::-moz-placeholder { font-family: var(--font-sans); color: #9aa2af; }
:-ms-input-placeholder { font-family: var(--font-sans); color: #9aa2af; }


/* سکشن معرفی (نسخه مطابق طرح) */
.teacher-hero{
  background:#ffc107;
  padding:120px 0 140px; /* فاصله عمودی بزرگ شبیه طرح */
}
.hero-grid{max-width:1100px;margin:0 auto;}
.hero-text{text-align:center;margin-bottom:28px;}
.teacher-hero h1{font-size:36px;margin:0 0 10px;}
.teacher-hero p{color:#222;margin:0;}


.teacher-hero h1{margin:0 0 10px;}

 
.teacher-hero p {
  color: #222;  
          /* متن تیره روی زمینه زرد */
}


/* فرم جستجو */
/* باکس سفید جستجو – مطابق تصویر */
.teacher-search-form{
  background:#fff;
  width:100%;
  max-width:960px;         /* عرض کنترل‌شده مثل طرح */
  margin:20px auto 0;
  padding:32px 36px;       /* پدینگ بیشتر */
  border-radius:16px;
  box-shadow:0 8px 30px rgba(0,0,0,0.10);
  display:grid;
  grid-template-columns:1fr 1fr auto auto; /* دو فیلد + دو دکمه */
  column-gap:18px;
  row-gap:14px;
  min-height:160px;        /* ↑ ارتفاع کلی باکس */
  align-items:center;      /* سنتر عمودی المان‌ها */
  align-content:center;    /* سنتر عمودی ردیف‌ها */
  grid-auto-rows:min-content;
}

/* لیبل‌های بالای هر فیلد */
.teacher-search-form .form-group{
  display:flex;flex-direction:column;gap:8px;
}
.teacher-search-form label{
  font-size:16px;font-weight:700;color:#222;margin:0 2px;
}

/* خود فیلدها (قدری بلندتر) */
.teacher-search-form input{
height:18px;             /* ↑ ارتفاع فیلد */
  padding:14px 16px;
  border:1px solid #ddd;
  border-radius:10px;
  font-size:15px;
  background:#f9f9f9;
  text-align:right;
}
.teacher-search-form input:focus{
  outline:none;border-color:#FFC000;background:#fff;
  box-shadow:0 0 0 3px rgba(255,192,0,0.25);
}

/* دکمه‌ها در امتداد فیلدها */
.teacher-search-form .form-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  align-self: center;   /* ✅ وسط‌چین عمودی در ردیف */
  margin-top: 30px;
}

.teacher-search-form .btn{padding:12px 20px;border-radius:10px;font-size:14px;font-weight:700;cursor:pointer;border:none;white-space:nowrap;transition:.2s;}
.teacher-search-form .btn-search{background:#FFC000;color:#222;}
.teacher-search-form .btn-search:hover{background:#e6ad00;}
.teacher-search-form .btn-reset{background:#f0f0f0;color:#444;}
.teacher-search-form .btn-reset:hover{background:#e0e0e0;}

/* Placeholder دقیق‌تر مثل تصویر */
.teacher-search-form input::placeholder{font-size:13px;color:#888;font-family:"Vazirmatn",sans-serif;opacity:1;}



.form-field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}
.form-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* دکمه‌ها */
.btn {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  border: none;
}
.btn-black {
  background: #000;
  color: #fff;
}
.btn-black:hover { background: #333; }
.btn-gray {
  background: #e0e0e0;
  color: #222;
}
.btn-white {
  background: #fff;
  border: 1px solid #ccc;
  color: #222;
}

.teacher-search-form .btn {
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: 0.3s ease;
  white-space: nowrap; /* نذاره متن بشکنه */
}

.teacher-search-form .actions-row {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
}



.btn-search {
  background: #FFC000;
  color: #222;
}
.btn-search:hover { background: #e6ad00; }

.btn-reset {
  background: #f0f0f0;
  color: #444;
}
.btn-reset:hover { background: #e0e0e0; }



/* دکمه جستجو (زرد برند) */
.teacher-search-form .btn-search {
  background: #FFC000;
  color: #222;
}

.teacher-search-form .btn-search:hover {
  background: #e6ad00;
}

/* دکمه پاکسازی (خاکستری ملایم) */
.teacher-search-form .btn-reset {
  background: #f0f0f0;
  color: #444;
}
.teacher-search-form .btn-reset:hover {
  background: #e0e0e0;
}


/* هدر لیست معلمان */
.teacher-list-header {
  background: #fff;
  padding: 30px 0 10px;
}
.teacher-list-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.teacher-list-header h2 {
  font-size: 18px;
  color: #222;
  margin: 0;
}
.sort-buttons {
  display: flex;
  gap: 10px;
}


/* ستون‌ها */
.teacher-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ستون ۱: اطلاعات استاد */
.teacher-info img {
  width: 150px;       /* بزرگ‌تر شد */
  height: 150px;      /* بزرگ‌تر شد */
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px; /* فاصله کمتر */
}


.teacher-info .rating {
  color: #FFC000;
  font-size: 16px;
}
.teacher-info .session-time{
font-size: 14px;
  font-weight: 400;
}


.teacher-info .price {
  font-size: 16px;
    font-weight: 600;
  color: #ca9800;
  margin-top: 2px;
}


.teacher-info p,
.teacher-info .rating {
  margin: 1px 0; /* فاصله کمتر بین آیتم‌ها */
  line-height: 1.4;
  font-size: 14px;
}

.teacher-info h3 {
  margin: 2px 0;
  font-size: 16px;
  font-weight: 600;
}

.teacher-info .location {
  font-size: 13px;
  color: #666;
  margin-bottom: 2px;
}



/* ستون ۲: مشخصات کلاس */
.teacher-details .detail-box {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: #333;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* ستون ۳: ویدئو و CTA */
.teacher-media video {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 14px;
}
.btn-profile {
  display: inline-block;
  text-align: center;
  background: #FFC000;
  color: #222;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
}
.btn-profile:hover {
  background: #e6ad00;
}


.teacher-list {
  background: #fff;
  padding: 20px 0 40px;
}

.teacher-card {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  width: 100%;              /* تمام عرض container */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  padding: 20px;
  margin: 0 auto 30px;      /* وسط‌چین بشه */
}

/* استایل placeholder ها */
.teacher-search-form input::placeholder {
  font-size: 13px;
  color: #888;
  font-family: "Vazirmatn", sans-serif;
}



.teacher-filters {
background:#f2f2f2;
padding:30px 0;
display: flex;
gap:20px;
align-items: center;
justify-content: center;   /* 🔥 این باعث میشه وسط بیاد */

}


.academy-filters{
background:#ffffff;
padding:20px 0;
display: flex;
gap:20px;
}


.teacher-filters span {
  font-size: 14px;
  color: #444;
  font-weight: bold;
}

.filter-btn {
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f9f9f9;
  cursor: pointer;
  font-size: 13px;
}

.filter-btn.active,
.filter-btn:hover {
  background: #FFC000;
  color: #222;
  border-color: #FFC000;
}

.teacher-filters select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 13px;
}


/* استایل منوی پیشنهادی jQuery UI */
.ui-autocomplete {
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 14px !important;
  direction: rtl;
  text-align: right;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 4px 0;
  max-height: 250px;
  overflow-y: auto;
  z-index: 10000; /* همیشه روی همه چیز بمونه */
}

.ui-menu-item-wrapper {
  padding: 6px 10px;
  cursor: pointer;
}

.ui-menu-item-wrapper.ui-state-active {
  background: #f0f0f0;
  color: #000;
}


.highlight {
  color: #2e2e2e; /* می‌تونیم با رنگ سازمانی شما هم عوضش کنیم */
  font-weight: 600;
}


.teacher-avatar {
  display: block !important;
  margin: 0 auto 10px !important; /* وسط چین */
  width: 120px !important;
  height: 120px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}

.teacher-photo {
  display: block;
  margin: 0 auto 10px;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
}


.teacher-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: right; /* راست‌چین */
}

.subject-name {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 11px 14px;
  overflow: hidden;
  color: #17264a;
  background: linear-gradient(135deg, #fff8dc 0%, #fffdf5 100%);
  border: 1px solid #f0bd1a;
  border-right: 5px solid #ffc000;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(202, 152, 0, 0.12);
}

.subject-name::after {
  content: "";
  position: absolute;
  inset: auto auto -30px -20px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: rgba(255, 192, 0, 0.12);
}

.subject-name-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  color: #fff;
  background: #243a70;
  border-radius: 11px;
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 900;
  box-shadow: 0 5px 12px rgba(36, 58, 112, 0.2);
}

.subject-name-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.subject-name-copy small {
  color: #8a6500;
  font-size: 11px;
  font-weight: 700;
}

.subject-name-copy strong {
  color: #17264a;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.75;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* تقسیم به دو ستون */
  gap: 12px;
}

.detail-box {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.6;
}

.detail-box strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid #eee;
  padding-bottom: 4px;
}


.detail-box div {
  background: #fff;
  border-radius: 4px;
  padding: 4px 6px;
  margin-bottom: 4px;
  font-size: 13px;
  color: #444;
}

.teacher-media {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-box {
  width: 100%;
  max-width: 350px;     /* عرض ثابت */
  height: 260px;        /* ارتفاع ثابت */
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.video-box video,
.video-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* همیشه تصویر/ویدئو اندازه‌ی کادر */
}



/* تصویر جایگزین و آیکون پخش */
.video-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* دکمه پروفایل تمام عرض */
.btn-profile.full-width {
  display: block;
  width: 85%;
  text-align: center;
  background: #ffc000;
  color: #000;
  font-weight: 600;
  padding: 20px;
  border-radius: 15px;
  text-decoration: none;
  transition: 0.2s;
}

.btn-profile.full-width:hover {
  background: #e0a800;
}

.teacher-card.simple {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 18px 10px; /* پدینگ کمتر شد */
  text-align: center;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}



.teacher-card.simple img.teacher-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0px;
}

.teacher-card.simple h3 {
  font-size: 18px;
  margin: 0px 0;
}

.teacher-card.simple .location {
  font-size: 12px;
  color: #666;
  margin-bottom: 0px;
}

.teacher-card.simple .rating {
  font-size: 16px;
  color: #ffc107;
  margin-bottom: 0px;
}

.teacher-card.simple .subjects {
  font-size: 16px;
  font-weight: bold;
  margin: 0px 0;
}

.teacher-card.simple .btn-profile {
  display: inline-block;
  padding: 6px 12px;
  margin-top: auto;
  background: #ffc107;
  color: #000;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s;
}

.teacher-card.simple .btn-profile:hover {
  background: #e0a800;
}


.featured-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 40px;
  margin-top: 20px;
}

.featured-grid .teacher-card.simple {
  width: 100%;
  max-width: 200px; /* هر کارت باریک میشه */
  margin: auto;
}

/* تیترهای سکشن (نتایج جستجو و منتخب) */
.teacher-list h2 {
  font-size: 22px;
  font-weight: bold;
  text-align: right;
  margin-bottom: 25px;
  position: relative;
  padding-right: 15px;
  color: #333;
}

/* خط رنگی در کنار تیتر */
.teacher-list h2::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 60%;
  background: #ffc107; /* رنگ برند */
  border-radius: 3px;
}

/* استایل خاص برای نتایج جستجو */
.teacher-list.search-results h2 {
  color: #007bff; /* آبی برای تمایز */
}

.teacher-list.search-results h2::before {
  background: #007bff;
}

/* استایل خاص برای معلم‌های منتخب */
.teacher-list.featured-teachers h2 {
  color: #28a745; /* سبز برای تمایز */
}

/* سکشن معلم‌های منتخب */
.teacher-list.featured-teachers {
  background: #f9f9f9;   /* خاکستری روشن */
  padding: 50px 0;
  margin-top: 40px;
  border-top: 1px solid #eee;
}

.teacher-list.featured-teachers h2 {
  text-align: right;
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: bold;

}


.teacher-list.featured-teachers h2::before {
  background: #28a745;
}





/* ریسپانسیو */
@media (max-width: 992px) {
  .teacher-card {
    grid-template-columns: 1fr;
    text-align: center;
    width: 90%;          /* ✅ عرض محدود */
    max-width: 600px;    /* ✅ حداکثر عرض */
    margin: 0 auto 20px; /* ✅ وسط چین + فاصله پایین */
    box-sizing: border-box;
  }

.teacher-info img {
  display: block;
  margin: 0 auto 10px; /* وسط‌چین + فاصله پایین */
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%; /* گرد شدن عکس */
}


  .teacher-search-form{
    width:90%;                /* کمی کوچکتر از عرض کامل */
    max-width:500px;          /* محدودیت حداکثر */
    margin:0 auto;            /* همیشه وسط */
    grid-template-columns:1fr;
    row-gap:12px; 
    column-gap:0;
    padding:24px 20px;
    min-height:unset;
    box-sizing:border-box;    /* جلوگیری از بیرون‌زدگی */
  }
  .teacher-search-form .form-buttons{
    justify-content:center;
  }






/* =========================
   📱 ریسپانسیو کارت‌ها
   ========================= */


  .featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }

  .featured-grid .teacher-card.simple {
    max-width: 220px;
  }

  .teacher-card.simple img.teacher-photo {
    width: 90px;
    height: 90px;
  }

  .teacher-card.simple h3 {
    font-size: 16px;
  }

  .teacher-card.simple .subjects {
    font-size: 14px;
  }
}

/* موبایل (max-width: 576px) → تک‌ستونه */
@media (max-width: 576px) {
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .featured-grid .teacher-card.simple {
    max-width: 85%;   /* کارت‌ها کمی پهن‌تر بشن */
    width: 100%;
    padding: 15px 12px; /* کمی بیشتر از دسکتاپ */
  }

  .teacher-card.simple img.teacher-photo {
    width: 100px;
    height: 100px;
    margin-bottom: 8px;
  }

  .teacher-card.simple h3 {
    font-size: 22px;
    margin: 4px 0;
  }

  .teacher-card.simple .location {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .teacher-card.simple .rating {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .teacher-card.simple .subjects {
    font-size: 22px;
    margin: 6px 0;
  }

  .teacher-card.simple .btn-profile {
    font-size: 16px;
    padding: 8px;
    width: 80%; /* دکمه تمام عرض در موبایل */
  }
}


.teacher-filters form{
  
display:flex;
flex-wrap:wrap;
gap:12px 16px;
align-items:center;
justify-content:center;
}



/* ===== teacher-filters (فیلترهای زیر هدر) ===== */
.teacher-filters form{
  display:flex;
  flex-wrap:wrap;
  gap:12px 16px;
  align-items:flex-end;
  justify-content:center;
}



.teacher-filters input[type="text"],
.teacher-filters select{
  padding:10px 12px;
  border:1px solid #ddd;
  border-radius:8px;
  font-size:13px;
  background:#fff;
  min-width:220px;
}

/* دکمه اعمال فیلتر */
.teacher-filters .filter-btn{
  padding:10px 14px;
  border-radius:8px;
  border:1px solid #FFC000;
  background:#FFC000;
  color:#222;
  cursor:pointer;
  font-size:13px;
  font-weight:700;
}

.teacher-filters .filter-btn:hover{
  background:#e6ad00;
  border-color:#e6ad00;
}

/* دکمه پاکسازی فیلترها */
.teacher-filters .btn-reset{
  padding:10px 14px;
  border-radius:8px;
  background:#f0f0f0;
  color:#444;
  border:1px solid #e2e2e2;
  cursor:pointer;
  font-size:13px;
  font-weight:700;
}

.teacher-filters .btn-reset:hover{
  background:#e0e0e0;
  border-color:#d5d5d5;
}

/* اگر .btn هم داری */
.teacher-filters .btn{
  white-space:nowrap;
}


.teacher-pagination{
display:flex;
align-items:center;
flex-direction:column;
justify-content:center;
gap:12px;
margin-top:40px;
}

.teacher-pagination-status{
color:#6f7788;
font-size:13px;
font-weight:700;
}

.teacher-pagination-controls{
display:flex;
align-items:center;
justify-content:center;
gap:7px;
max-width:100%;
padding:7px;
border:1px solid #e1e5ec;
border-radius:14px;
background:#fff;
box-shadow:0 8px 25px rgba(30,40,65,.07);
}

.page-btn{
display:inline-flex;
align-items:center;
justify-content:center;
min-width:38px;
height:38px;
box-sizing:border-box;
padding:0 11px;
border:1px solid transparent;
border-radius:9px;
background:#f2f3f5;
text-decoration:none;
color:#333;
font-size:14px;
transition:.2s;
}

a.page-btn:hover{
border-color:#e2b530;
background:#fff8df;
}

.page-btn.active{
background:#FFC000;
color:#000;
font-weight:bold;
box-shadow:0 4px 12px rgba(255,192,0,.3);
}

.page-btn-nav{
gap:5px;
min-width:78px;
font-weight:700;
}

.page-btn-nav > span[aria-hidden="true"]{
font-family:Arial,sans-serif;
font-size:20px;
line-height:1;
}

.page-btn-nav-label{
font-family:var(--font-sans) !important;
font-size:13px;
line-height:1;
}

.page-btn.disabled{
opacity:.42;
cursor:not-allowed;
}

.page-ellipsis{
display:inline-grid;
place-items:center;
width:24px;
height:38px;
color:#8a91a0;
font-weight:800;
}

/* ===== جست‌وجوی دقیق و پیشنهادهای هوشمند ===== */
.search-autocomplete{
  position:relative;
}

.search-suggestions{
  position:absolute;
  z-index:60;
  top:calc(100% + 7px);
  right:0;
  left:0;
  overflow:auto;
  max-height:320px;
  padding:7px;
  border:1px solid #d9dfeb;
  border-radius:14px;
  background:#fff;
  box-shadow:0 18px 45px rgba(22,34,63,.18);
}

.search-suggestions[hidden]{
  display:none;
}

.search-suggestion{
  display:flex;
  width:100%;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:11px 12px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:#202a44;
  font:inherit;
  text-align:right;
  cursor:pointer;
}

.search-suggestion:hover,
.search-suggestion.is-active{
  background:#fff6d9;
  color:#7e5900;
}

.search-suggestion-title{
  font-weight:800;
}

.search-suggestion small{
  flex:none;
  color:#778096;
  font-size:11px;
}

.teacher-filters .filter-group{
  display:flex;
  flex-direction:column;
  gap:6px;
  align-items:flex-start;
}

.teacher-filters .filter-group label{
  color:#3e4659;
  font-size:13px;
  font-weight:800;
}

.teacher-search-summary{
  display:flex;
  align-items:center;
  gap:14px;
  margin:0 0 22px;
  padding:15px 18px;
  border:1px solid #f2d06f;
  border-radius:14px;
  background:#fffaf0;
  color:#465069;
}

.teacher-search-summary strong{
  flex:none;
  color:#825d00;
  font-size:16px;
}

.teacher-search-summary span{
  line-height:1.9;
}

.teacher-no-results{
  max-width:720px;
  margin:10px auto 0;
  padding:44px 25px;
  border:1px solid #e1e5ee;
  border-radius:22px;
  background:#fff;
  box-shadow:0 14px 35px rgba(28,39,70,.08);
  text-align:center;
}

.teacher-no-results-icon{
  width:64px;
  height:64px;
  margin:0 auto 14px;
  border-radius:50%;
  background:#fff3c7;
  color:#956b00;
  font-size:42px;
  line-height:64px;
}

.teacher-no-results h2{
  margin:0 0 8px;
  color:#202a44;
  font-size:22px;
}

.teacher-no-results p{
  margin:0 0 22px;
  color:#697187;
  line-height:1.9;
}

.teacher-no-results .btn-profile{
  display:inline-block;
  width:auto;
  min-width:180px;
  padding:11px 20px;
}

@media (max-width: 700px){
  html,
  body{
    max-width:100%;
    overflow-x:hidden;
  }

  .teacher-hero{
    overflow:hidden;
    padding:75px 0 90px;
  }

  .teacher-hero .hero-grid,
  .teacher-list > .container{
    width:auto !important;
    max-width:none;
    margin-right:16px;
    margin-left:16px;
  }

  .teacher-hero h1{
    font-size:28px;
    line-height:1.45;
    white-space:normal;
  }

  .teacher-hero .hero-text,
  .teacher-hero .hero-form{
    box-sizing:border-box;
    width:100%;
    max-width:calc(100vw - 24px);
    margin-right:auto;
    margin-left:auto;
  }

  .teacher-hero p{
    font-size:14px;
    line-height:2;
  }

  .teacher-search-form{
    width:100% !important;
    max-width:calc(100vw - 24px);
    margin-right:auto;
    margin-left:auto;
    padding:24px 18px;
  }

  .teacher-search-form input{
    box-sizing:border-box;
    width:100%;
  }

  .teacher-filters{
    padding-right:16px;
    padding-left:16px;
  }

  .teacher-filters form{
    align-items:stretch;
    flex-direction:column;
  }

  .teacher-filters input[type="text"],
  .teacher-filters select,
  .teacher-filters .filter-btn,
  .teacher-filters .btn-reset{
    box-sizing:border-box;
    width:100%;
    min-width:0;
  }

  .teacher-search-summary{
    align-items:flex-start;
    flex-direction:column;
    gap:4px;
  }

  .search-suggestions{
    max-height:250px;
  }

  .teacher-pagination-controls{
    gap:5px;
    max-width:calc(100vw - 32px);
  }

  .teacher-pagination .page-btn-nav-label{
    display:none;
  }

  .teacher-pagination .page-neighbor{
    display:none;
  }

  .teacher-pagination .page-btn-nav{
    min-width:38px;
    padding:0;
  }
}

@media (max-width: 380px){
  .teacher-pagination-controls{
    gap:2px;
    padding:4px;
  }

  .teacher-pagination .page-btn{
    min-width:30px;
    height:34px;
    padding:0 5px;
    font-size:12px;
  }

  .teacher-pagination .page-btn-nav{
    min-width:30px;
    padding:0;
  }

  .teacher-pagination .page-ellipsis{
    width:18px;
    height:34px;
  }
}

