
/* =========================================================
   Al-Zahraa CMS V7.3 — Academic profile page
   ========================================================= */

.faculty-profile-v73{
  padding:44px 0 78px;
  background:#f6f9fd;
}

.faculty-profile-v73__layout{
  display:grid;
  grid-template-columns:330px minmax(0,1fr);
  gap:26px;
  align-items:start;
}

.faculty-profile-v73__sidebar{
  position:sticky;
  top:22px;
  overflow:hidden;
  border:1px solid #dfe7f0;
  border-radius:22px;
  background:#fff;
  box-shadow:0 16px 38px rgba(5,37,81,.08);
}

.faculty-profile-v73__portrait{
  height:330px;
  overflow:hidden;
  background:#e8f1fb;
}

.faculty-profile-v73__portrait img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 18%;
}

.faculty-profile-v73__identity{
  padding:22px 23px 16px;
  text-align:center;
}

.faculty-profile-v73__rank{
  min-height:28px;
  display:inline-flex;
  align-items:center;
  padding:0 10px;
  border-radius:999px;
  font-size:9.5px;
  font-weight:900;
}

.faculty-profile-v73__rank.rank-professor{
  background:#efe9ff;
  color:#6b36b4;
}

.faculty-profile-v73__rank.rank-associate{
  background:#e7f1ff;
  color:#145ca8;
}

.faculty-profile-v73__rank.rank-assistant{
  background:#e8f8ef;
  color:#187647;
}

.faculty-profile-v73__rank.rank-lecturer{
  background:#fff4df;
  color:#a15c00;
}

.faculty-profile-v73__rank.rank-teaching-assistant{
  background:#fdecef;
  color:#b13b53;
}

.faculty-profile-v73__rank.rank-default{
  background:#edf5ff;
  color:#126fd6;
}

.faculty-profile-v73__identity h2{
  margin:9px 0 4px;
  color:#082f68;
  font-size:24px;
  line-height:1.45;
}

.faculty-profile-v73__identity p{
  margin:0;
  color:#66778c;
  font-size:10px;
}

.faculty-profile-v73__facts{
  display:grid;
  gap:9px;
  padding:0 22px 20px;
}

.faculty-profile-v73__facts>div{
  display:grid;
  grid-template-columns:39px minmax(0,1fr);
  gap:10px;
  align-items:center;
  padding:10px;
  border-radius:12px;
  background:#f7faff;
}

.faculty-profile-v73__fact-icon{
  width:39px;
  height:39px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#eaf3ff;
  color:#0a55ab;
  font-size:16px;
}

.faculty-profile-v73__facts small,
.faculty-profile-v73__facts strong,
.faculty-profile-v73__facts a{
  display:block;
}

.faculty-profile-v73__facts small{
  margin-bottom:2px;
  color:#8a97a8;
  font-size:8px;
}

.faculty-profile-v73__facts strong,
.faculty-profile-v73__facts a{
  overflow:hidden;
  color:#2d4560;
  font-size:9.5px;
  text-decoration:none;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.faculty-profile-v73__actions{
  display:grid;
  gap:8px;
  padding:0 22px 22px;
}

.faculty-profile-v73__actions a{
  min-height:43px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:#0a4f9f;
  color:#fff;
  font-size:10px;
  font-weight:900;
  text-decoration:none;
}

.faculty-profile-v73__actions a.is-secondary{
  border:1px solid #cfe0f4;
  background:#f7fbff;
  color:#0a55ab;
}

.faculty-profile-v73__content{
  display:grid;
  gap:18px;
}

.faculty-profile-v73__tabs{
  position:sticky;
  top:12px;
  z-index:5;
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  padding:10px;
  border:1px solid #dfe7f0;
  border-radius:15px;
  background:rgba(255,255,255,.94);
  box-shadow:0 10px 25px rgba(5,37,81,.07);
  backdrop-filter:blur(12px);
}

.faculty-profile-v73__tabs a{
  min-height:35px;
  display:inline-flex;
  align-items:center;
  padding:0 12px;
  border-radius:9px;
  color:#66778c;
  font-size:9.5px;
  font-weight:800;
  text-decoration:none;
}

.faculty-profile-v73__tabs a.is-active,
.faculty-profile-v73__tabs a:hover{
  background:#0a4f9f;
  color:#fff;
}

.faculty-profile-v73__section{
  scroll-margin-top:90px;
  padding:28px;
  border:1px solid #dfe7f0;
  border-radius:20px;
  background:#fff;
  box-shadow:0 14px 34px rgba(5,37,81,.065);
}

.faculty-profile-v73__eyebrow{
  color:#126fd6;
  font-size:9px;
  font-weight:900;
}

.faculty-profile-v73__section h2{
  margin:6px 0 14px;
  color:#082f68;
  font-size:23px;
}

.faculty-profile-v73__section>p{
  margin:0;
  color:#65768a;
  font-size:12.5px;
  line-height:2;
}

.faculty-profile-v73__stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}

.faculty-profile-v73__stats div{
  padding:18px;
  border:1px solid #dfe7f0;
  border-radius:15px;
  background:#fff;
  text-align:center;
  box-shadow:0 10px 26px rgba(5,37,81,.05);
}

.faculty-profile-v73__stats strong,
.faculty-profile-v73__stats span{
  display:block;
}

.faculty-profile-v73__stats strong{
  color:#126fd6;
  font-size:25px;
}

.faculty-profile-v73__stats span{
  margin-top:3px;
  color:#708096;
  font-size:9px;
}

.faculty-profile-v73__timeline{
  display:grid;
  gap:13px;
}

.faculty-profile-v73__timeline article{
  display:grid;
  grid-template-columns:14px minmax(0,1fr);
  gap:12px;
}

.faculty-profile-v73__timeline article>span{
  width:12px;
  height:12px;
  margin-top:5px;
  border:3px solid #b9d6f5;
  border-radius:50%;
  background:#126fd6;
}

.faculty-profile-v73__timeline strong{
  color:#243d58;
  font-size:11.5px;
}

.faculty-profile-v73__timeline p{
  margin:4px 0 0;
  color:#68798e;
  font-size:10px;
}

.faculty-profile-v73__timeline small{
  color:#8a97a8;
  font-size:8.5px;
}

.faculty-profile-v73__chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.faculty-profile-v73__chips span{
  min-height:35px;
  display:inline-flex;
  align-items:center;
  padding:0 11px;
  border-radius:999px;
  background:#edf5ff;
  color:#0a55ab;
  font-size:9.5px;
  font-weight:800;
}

.faculty-profile-v73__publications{
  display:grid;
  gap:10px;
}

.faculty-profile-v73__publications article{
  display:grid;
  grid-template-columns:44px minmax(0,1fr);
  gap:12px;
  align-items:start;
  padding:13px;
  border-radius:13px;
  background:#f7faff;
}

.faculty-profile-v73__publications article>span{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#eaf3ff;
  color:#126fd6;
  font-size:9px;
  font-weight:900;
}

.faculty-profile-v73__publications strong{
  color:#29415d;
  font-size:11px;
}

.faculty-profile-v73__publications p{
  margin:4px 0 0;
  color:#6b7b90;
  font-size:9.5px;
}

.faculty-profile-v73__publications small{
  color:#8a97a8;
  font-size:8.5px;
}

.faculty-profile-v73__empty{
  padding:15px !important;
  border:1px dashed #ccdae9;
  border-radius:12px;
  background:#f9fbfe;
  text-align:center;
}

@media(max-width:980px){
  .faculty-profile-v73__layout{
    grid-template-columns:1fr;
  }

  .faculty-profile-v73__sidebar{
    position:static;
    width:min(100%,440px);
    margin:auto;
  }
}

@media(max-width:650px){
  .faculty-profile-v73{
    padding:30px 0 55px;
  }

  .faculty-profile-v73__portrait{
    height:320px;
  }

  .faculty-profile-v73__stats{
    grid-template-columns:1fr;
  }

  .faculty-profile-v73__tabs{
    position:static;
  }
}
