.therapist-page {
  max-width: 1140px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

.therapist-header {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: var(--bg-khak);
  border-radius: 20px;
  padding: 35px;
  margin-bottom: 40px;
  border-right: 6px solid var(--green);
  flex-wrap: wrap;
}

.therapist-avatar-large {
  flex: 0 0 200px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--green);
  box-shadow: 0 8px 30px rgba(50, 142, 110, 0.25);
}

.therapist-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.therapist-header-info {
  flex: 1;
}

.therapist-header-info .name {
  font-family: "iranp-b", sans-serif;
  font-size: 32px;
  color: var(--black);
  margin-bottom: 5px;
}

.therapist-header-info .specialty {
  font-family: "iranp-r", sans-serif;
  font-size: 18px;
  color: var(--green);
  margin-bottom: 12px;
}

.therapist-header-info .badge {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-family: "iranp-r", sans-serif;
  margin-left: 8px;
  margin-bottom: 8px;
}

.therapist-header-info .bio-short {
  font-size: 16px;
  color: var(--black-hover);
  line-height: 1.8;
  margin-top: 12px;
}

/* ==========================================
        بخش‌های اصلی
        ========================================== */
.therapist-section {
  border-radius: 16px;
  padding: 30px 35px;
  margin-bottom: 30px;
  border-right: 5px solid var(--bg-khak2);
  border-left: 5px solid var(--bg-khak2);
  transition: var(--transition);
}

.therapist-page > :nth-child(4) {
  background-color: var(--bg-khak);
}

.therapist-section .section-title {
  font-family: "iranp-b", sans-serif;
  font-size: 22px;
  color: var(--black);
  margin-bottom: 18px;
  padding-right: 15px;
  border-right: 4px solid var(--green);
  display: flex;
  align-items: center;
  gap: 10px;
}

.therapist-section .section-title i {
  color: var(--green);
  font-size: 20px;
}

.therapist-section p,
.therapist-section li {
  font-size: 16px;
  line-height: 2;
  color: var(--black-hover);
}

.therapist-section ul {
  list-style: none;
  padding-right: 10px;
}

.therapist-section ul li {
  padding: 6px 0;
  padding-right: 28px;
  position: relative;
}

.therapist-section ul li::before {
  content: "▸";
  position: absolute;
  right: 0;
  color: var(--green);
  font-weight: bold;
}

/* ==========================================
        گرید تخصص‌ها
        ========================================== */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 10px;
}

.expertise-item {
  background: var(--bg-khak);
  padding: 14px 18px;
  border-radius: 10px;
  font-family: "iranp-r", sans-serif;
  font-size: 15px;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.expertise-item:hover {
  background: var(--bg-khak2);
  transform: translateX(-5px);
}

.expertise-item i {
  color: var(--green);
  font-size: 16px;
}

/* ==========================================
        مقالات مرتبط
        ========================================== */
.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.related-article-card {
  background: var(--bg-khak);
  border-radius: 12px;
  padding: 18px 20px;
  transition: var(--transition);
  border-right: 3px solid var(--green);
}

.related-article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.related-article-card h3 {
  font-family: "iranp-b", sans-serif;
  font-size: 15px;
  color: var(--black);
  margin-bottom: 6px;
}

.related-article-card h3 a {
  color: var(--green);
  text-decoration: none;
  transition: var(--transition);
}

.related-article-card h3 a:hover {
  color: var(--green2);
}

.related-article-card p {
  font-size: 14px;
  color: var(--black-hover);
  line-height: 1.7;
}

/* ==========================================
        ریسپانسیو
        ========================================== */
@media (max-width: 992px) {
  .therapist-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
  }

  .therapist-header-info .badge {
    display: inline-block;
  }
}

@media (max-width: 768px) {
  .therapist-page {
    padding: 15px 12px 40px;
  }

  .therapist-header {
    padding: 20px;
  }

  .therapist-header-info .name {
    font-size: 24px;
  }

  .therapist-section {
    padding: 20px;
  }

  .therapist-section .section-title {
    font-size: 18px;
  }

  .expertise-grid {
    grid-template-columns: 1fr 1fr;
  }

  .related-articles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .therapist-avatar-large {
    flex: 0 0 150px;
    width: 150px;
    height: 150px;
  }

  .therapist-header-info .name {
    font-size: 20px;
  }
}

/* ==========================================
   CONTACT SECTION (تماس با درمانگر)
   ========================================== */

/* ==========================================
   کانتینر اصلی بخش تماس
   ========================================== */
.contact-section {
  margin-bottom: 35px;
}

.contact-box {
  background: var(--bg-khak);
  padding: 30px 35px;
  border-radius: 16px;
  border-right: 4px solid var(--green);
  transition: all 0.3s ease;
}

.contact-box:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* ==========================================
   عنوان بخش
   ========================================== */
.contact-box h3 {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--black);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-box h3 i {
  color: var(--green);
  font-size: 1.2rem;
}

/* ==========================================
   توضیحات
   ========================================== */
.contact-box > p {
  color: var(--black-hover);
  line-height: 1.8;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.contact-box > p strong {
  color: var(--black);
}

/* ==========================================
   دکمه‌های تماس
   ========================================== */
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: none;
  cursor: pointer;
}

/* ==========================================
   دکمه تماس مستقیم (سبز)
   ========================================== */
.contact-btn.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 15px rgba(50, 142, 110, 0.3);
}

.contact-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(50, 142, 110, 0.4);
}

.contact-btn.primary:active {
  transform: translateY(0);
}

/* ==========================================
   دکمه واتساپ (سبز واتساپ)
   ========================================== */
.contact-btn.whatsapp {
  background: #25d366;
  color: #fff;
}

.contact-btn.whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

/* ==========================================
   دکمه تلگرام (آبی تلگرام)
   ========================================== */
.contact-btn.telegram {
  background: #0088cc;
  color: #fff;
}

.contact-btn.telegram:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 136, 204, 0.35);
}

/* ==========================================
   محدوده فعالیت (فوتر باکس)
   ========================================== */
.contact-box .contact-location {
  font-size: 0.9rem;
  color: var(--black-hover);
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--bg-khak2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-box .contact-location i {
  color: var(--green);
}

.contact-box .contact-location strong {
  color: var(--black);
}

/* ==========================================
   RESPONSIVE
   ========================================== */

/* ==========================================
   تبلت
   ========================================== */
@media (max-width: 768px) {
  .contact-box {
    padding: 22px 20px;
  }

  .contact-box h3 {
    font-size: 1.15rem;
  }

  .contact-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .contact-btn {
    justify-content: center;
    padding: 11px 20px;
    font-size: 0.9rem;
    width: 100%;
  }

  .contact-box > p {
    font-size: 0.9rem;
  }
}

/* ==========================================
   موبایل
   ========================================== */
@media (max-width: 480px) {
  .contact-box {
    padding: 18px 14px;
    border-radius: 12px;
  }

  .contact-box h3 {
    font-size: 1rem;
  }

  .contact-box h3 i {
    font-size: 1rem;
  }

  .contact-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
    border-radius: 10px;
  }

  .contact-box .contact-location {
    font-size: 0.8rem;
    flex-wrap: wrap;
  }
}
