/* ============================================= */
/* چارت سازمانی و اشعار                        */
/* ============================================= */
.org-chart-part {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}
.poems {
  margin: 2vh;
  padding: 3vh;
  margin-top: 5vh;
  text-align: center;
  line-height: 2;
  font-family: "Noto Nastaliq Urdu", serif;
  font-size: 2vh;
  width: 37rem;
  background: linear-gradient(145deg, #fbcaff 0%, #f5e0ff 100%);
  border: #985fad solid 2px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(88, 50, 102, 0.1);
  direction: rtl;
}
.verse-1,
.verse-2 {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}
.verse-2 {
  padding-top: 15px;
}
.poet {
  padding-top: 2vh;
  text-align: left;
  font-size: 1.3vh;
  margin-left: 4vh;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.chart-part {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  padding: 5vh 0;
}

/* ============================================= */
/* رده‌بندی‌ها (موسسین، کارکنان، دبیران)        */
/* ============================================= */
.teachers-ranks,
.deputy-ranks,
.high-ranks {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: 30px;
  width: 95%;
}
.teachers-title,
.deputy-title,
.high-title {
  border-top: #77187e solid 3px;
  border-top-right-radius: 30px;
  border-top-left-radius: 30px;
  text-align: center;
  color: #000;
  font-family: "Noto Nastaliq Urdu", serif;
  font-size: 30px;
  width: 100%;
  text-shadow: 2px 2px 4px rgb(0, 0, 0, 0.3);
  padding: 2vh 0;
}

/* ============================================= */
/* کارت‌های پرسنل                              */
/* ============================================= */
.teacher-base,
.deputy-base,
.high-base {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 16px;
  box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
  width: 18vw;
  padding: 3vh;
  margin: 2vh;
  max-height: 30vh;
}
.high-base {
  border: #9faa00 solid 3px;
  background-color: #faffb3;
}
.deputy-base {
  border: #34a300 solid 3px;
  background-color: #c5ffab;
}
.teacher-base {
  border: #0099b8 solid 3px;
  background-color: #c4f5ff;
}
.high-part,
.teachers-part,
.deputy-part {
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: space-between;
  align-items: center;
  width: 100%;
}

/* ============================================= */
/* اطلاعات و تصویر پرسنل                      */
/* ============================================= */
.teacher-name,
.deputy-name,
.high-name {
  padding-top: 2vh;
  text-align: center;
  font-family: "Vazirmatn", sans-serif;
  font-weight: 700;
  font-size: 1.7vh;
  text-shadow: 0 0 8px #9b9b9b;
}
.teacher-lesson {
  padding-top: 1vh;
  text-align: center;
  font-family: "Vazirmatn", sans-serif;
  font-weight: 500;
  font-size: 1.5vh;
}
.deputy-rank,
.high-rank {
  padding-top: 1vh;
  text-align: center;
  font-family: "Vazirmatn", sans-serif;
  font-weight: 500;
  font-size: 1.5vh;
}
.teacher-info,
.deputy-info,
.high-info {
  width: max-content;
  display: flex;
  text-align: center;
  flex-direction: column;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.teacher-picture,
.deputy-picture,
.high-picture {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-content: center;
}
.teacher-img,
.deputy-img,
.high-img {
  border-radius: 100%;
  height: 17.5vh;
}

/* ============================================= */
/* ریسپانسیو صفحه پرسنل                       */
/* ============================================= */
@media only screen and (max-width: 980px) {
  .teacher-base,
  .deputy-base,
  .high-base {
    width: 55vw;
  }
  .teachers-ranks,
  .deputy-ranks,
  .high-ranks {
    width: fit-content;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .high-part,
  .teachers-part,
  .deputy-part {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .verse-1,
  .verse-2 {
    flex-direction: column;
    margin: 1vh 0;
  }
  .poems {
    width: 17rem;
  }
}.personnel-icon-fallback{display:grid;place-items:center;width:100%;height:100%;min-height:90px;background:rgba(119,24,126,.08);color:#77187e;font-size:2.2rem;border-radius:inherit}
