/* ═══════════════════════════════════════════════════════
   DEPARTMENT PAGE STYLES
   Prefix: dept-
   Reusable across all department inner pages.
   Change only content — structure stays identical.
═══════════════════════════════════════════════════════ */
/* ── Page Hero ── */
.dept-hero {
  background: var(--navy);
  padding: 52px 0 44px;
  border-bottom: 3px solid var(--sky);
}
.dept-hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 32px;
}
.dept-hero-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 700; letter-spacing: .06em;
  color: rgba(255,255,255,.4); margin-bottom: 16px;
  text-transform: uppercase;
}
.dept-hero-breadcrumb a { color: var(--sky); transition: opacity .2s; }
.dept-hero-breadcrumb a:hover { opacity: .75; }
.dept-hero-breadcrumb span { color: rgba(255,255,255,.25); }
.dept-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.dept-hero-tag-bar { width: 22px; height: 3px; background: var(--gold); border-radius: 2px; }
.dept-hero-tag-text {
  font-size: .72rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
}
.dept-hero h1 {
  font-family: 'Sora', serif;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 700; color: #fff; line-height: 1.15;
  margin-bottom: 14px;
}
.dept-hero-desc {
  font-size: .98rem; color: rgba(255,255,255,.6);
  line-height: 1.8; max-width: 620px;
}
.dept-hero-badge {
  flex-shrink: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 22px 28px;
  text-align: center; white-space: nowrap;
}
.dept-hero-badge .badge-label {
  font-size: .68rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.38); margin-bottom: 6px;
}
.dept-hero-badge .badge-val {
  font-family: 'Sora', serif;
  font-size: 1.55rem; font-weight: 700; color: var(--sky); line-height: 1;
}
.dept-hero-badge .badge-sub {
  font-size: .75rem; color: rgba(255,255,255,.38); margin-top: 4px;
}
/* ── Page Layout ── */
.dept-layout {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 300px;
  gap: 52px; align-items: start;
  padding-top: 60px; padding-bottom: 72px;
}
/* ── Sidebar ── */
.dept-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 90px; }
.dept-nav-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 10px; overflow: hidden;
}
.dept-nav-card-title {
  background: var(--navy); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; padding: 12px 18px;
}
.dept-nav-card ul { padding: 8px 0; }
.dept-nav-card ul li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 18px; font-size: .88rem; font-weight: 600; color: var(--mid);
  border-left: 3px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.dept-nav-card ul li a:hover,
.dept-nav-card ul li a.active {
  background: var(--sky-lt); color: var(--blue); border-color: var(--sky);
}
.dept-nav-card ul li a .nav-arrow { font-size: .65rem; opacity: .4; }
.dept-contact-card {
  background: var(--navy); border-radius: 10px; padding: 22px;
}
.dept-contact-card h4 {
  font-size: .72rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.38); margin-bottom: 14px;
}
.dept-contact-row { display: flex; flex-direction: column; gap: 12px; }
.dept-contact-item { display: flex; gap: 11px; align-items: flex-start; }
.dept-contact-icon {
  width: 32px; height: 32px; border-radius: 7px;
  background: rgba(255,255,255,.07); color: var(--sky);
  font-size: .9rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dept-contact-lbl { font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: rgba(255,255,255,.3); margin-bottom: 2px; }
.dept-contact-val { font-size: .85rem; color: rgba(255,255,255,.75); line-height: 1.5; }
.dept-contact-val a { color: var(--sky); }
.dept-contact-val a:hover { text-decoration: underline; }
.dept-other-depts {
  background: var(--offwhite); border: 1.5px solid var(--border);
  border-radius: 10px; overflow: hidden;
}
.dept-other-depts-title {
  font-size: .72rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  padding: 12px 18px; border-bottom: 1px solid var(--border);
}
.dept-other-depts ul { padding: 8px 0; }
.dept-other-depts ul li a {
  display: block; padding: 9px 18px;
  font-size: .86rem; font-weight: 600; color: var(--mid);
  transition: background .15s, color .15s;
}
.dept-other-depts ul li a:hover { background: var(--stone); color: var(--blue); }
/* ── Main Content Area ── */
.dept-content { min-width: 0; }
/* Section blocks inside dept-content */
.dept-section { margin-bottom: 52px; }
.dept-section:last-child { margin-bottom: 0; }
.dept-section-label {
  display: inline-flex; align-items: center; gap: 9px;
  margin-bottom: 12px;
}
.dept-section-label-bar { width: 20px; height: 3px; background: var(--sky); border-radius: 2px; }
.dept-section-label-text {
  font-size: .72rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue);
}
.dept-section-title {
  font-family: 'Sora', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700; color: var(--ink); line-height: 1.2;
  margin-bottom: 18px;
}
.dept-body-text {
  font-size: .98rem; color: var(--mid);
  line-height: 1.85; margin-bottom: 16px;
}
.dept-body-text:last-child { margin-bottom: 0; }
/* Divider between sections */
.dept-divider {
  height: 1px; background: var(--border);
  margin: 52px 0;
}
/* Vision / Mission cards */
.dept-vm-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 8px;
}
.dept-vm-card {
  background: var(--offwhite); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 28px 24px;
  position: relative; overflow: hidden;
}
.dept-vm-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--navy);
}
.dept-vm-card.mission::before { background: var(--sky); }
.dept-vm-card-label {
  font-size: .7rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.dept-vm-card h3 {
  font-family: 'Sora', serif;
  font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-bottom: 10px;
}
.dept-vm-card p {
  font-size: .9rem; color: var(--mid); line-height: 1.75;
}
/* Mission bullet list inside vm card */
.dept-mission-list { margin-top: 4px; display: flex; flex-direction: column; gap: 8px; }
.dept-mission-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .88rem; color: var(--mid); line-height: 1.65;
}
.dept-mission-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sky); flex-shrink: 0; margin-top: 8px;
}
/* Highlights grid */
.dept-highlights-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-top: 8px;
}
.dept-highlight-item {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 9px; padding: 18px 20px;
  display: flex; gap: 14px; align-items: flex-start;
  transition: border-color .2s, box-shadow .2s;
}
.dept-highlight-item:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.dept-highlight-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0; margin-top: 8px;
}
.dept-highlight-text { font-size: .9rem; color: var(--mid); line-height: 1.65; }
/* Facilities cards */
.dept-facilities-list { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.dept-facility-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 22px 24px;
  display: flex; gap: 20px; align-items: flex-start;
  transition: border-color .2s, transform .2s;
}
.dept-facility-card:hover { border-color: var(--sky); transform: translateX(4px); }
.dept-facility-icon {
  width: 46px; height: 46px; border-radius: 9px;
  background: var(--sky-lt); color: var(--blue);
  font-size: 1.25rem; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dept-facility-name {
  font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: 5px;
}
.dept-facility-desc { font-size: .88rem; color: var(--mid); line-height: 1.7; }
/* Teaching activities */
.dept-activities-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 8px;
}
.dept-activity-pill {
  background: var(--offwhite); border: 1.5px solid var(--border);
  border-radius: 8px; padding: 13px 16px;
  font-size: .88rem; font-weight: 600; color: var(--mid);
  display: flex; align-items: center; gap: 9px;
  transition: background .2s, border-color .2s, color .2s;
}
.dept-activity-pill:hover { background: var(--sky-lt); border-color: var(--sky); color: var(--blue); }
.dept-activity-pill-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sky); flex-shrink: 0;
}
/* Research areas */
.dept-research-list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.dept-research-item {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 8px; padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
  transition: border-color .2s;
}
.dept-research-item:hover { border-color: var(--navy); }
.dept-research-num {
  font-family: 'Sora', serif;
  font-size: 1rem; font-weight: 700; color: var(--navy);
  opacity: .3; flex-shrink: 0; width: 28px; text-align: right;
}
.dept-research-text { font-size: .92rem; font-weight: 600; color: var(--mid); }
/* Future goals */
.dept-goals-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.dept-goal-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 20px;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 9px; transition: border-color .2s, box-shadow .2s;
}
.dept-goal-item:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.dept-goal-arrow {
  color: var(--sky); font-size: 1rem; flex-shrink: 0; margin-top: 2px; font-weight: 700;
}
.dept-goal-text { font-size: .9rem; color: var(--mid); line-height: 1.7; }
/* ── Responsive ── */
@media (max-width: 1024px) {
  .dept-layout { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; }
  .dept-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .dept-contact-card { grid-column: 1 / -1; }
  .dept-other-depts  { grid-column: 1 / -1; }
  .dept-hero-inner   { grid-template-columns: 1fr; }
  .dept-hero-badge   { display: none; }
}
@media (max-width: 768px) {
  .dept-vm-grid          { grid-template-columns: 1fr; }
  .dept-highlights-grid  { grid-template-columns: 1fr; }
  .dept-activities-grid  { grid-template-columns: 1fr 1fr; }
  .dept-sidebar          { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .dept-activities-grid { grid-template-columns: 1fr; }
}
/* ════════════════════════════
   DOCTORS SECTION
════════════════════════════ */
.dept-doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.dept-doctor-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px; overflow: hidden;
  text-align: center;
  transition: box-shadow .25s, border-color .25s, transform .25s;
}
.dept-doctor-card:hover {
  border-color: var(--blue);
  box-shadow: 0 6px 24px rgba(10,31,68,.1);
  transform: translateY(-3px);
}
.dept-doctor-img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block;
}
.dept-doctor-info {
  padding: 14px 12px;
  border-top: 2px solid var(--gold);
}
.dept-doctor-name {
  font-family: 'Sora', sans-serif;
  font-size: .88rem; font-weight: 700; color: var(--ink);
  line-height: 1.35;
}
.dept-doctors-empty {
  padding: 32px 24px;
  background: var(--offwhite); border: 1.5px dashed var(--border);
  border-radius: 12px; text-align: center;
  font-size: .9rem; color: var(--muted); line-height: 1.7;
}
.dept-doctor-title{
  font-size:.8rem;
  color:var(--jmch-navy, #0f2a52);
  font-weight:600;
  margin-top:2px;
}
.dept-doctor-hod{
  border:1px solid var(--jmch-gold, #c9a227);
  box-shadow:0 4px 14px rgba(0,0,0,.06);
}
.dept-doctors-hod-row{
  display:flex;
  justify-content:center;
  margin-bottom:28px;
}
.dept-doctors-hod-row .dept-doctor-card{
  max-width:280px;
}
.dept-doctor-title{
  font-size:.8rem;
  color:var(--jmch-navy, #0f2a52);
  font-weight:600;
  margin-top:2px;
}
.dept-doctor-hod{
  border:1px solid var(--jmch-gold, #c9a227);
  box-shadow:0 4px 14px rgba(0,0,0,.06);
}
/* ════════════════════════════
   SERVICES LIST
════════════════════════════ */
.dept-services-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.dept-service-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 16px 18px;
  transition: border-color .2s, box-shadow .2s;
}
.dept-service-item:hover { border-color: var(--blue); box-shadow: 0 4px 14px rgba(10,31,68,.07); }
.dept-service-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0; margin-top: 6px;
}
.dept-service-text { font-size: .9rem; color: var(--mid); line-height: 1.6; }
/* ════════════════════════════
   COMMITMENT BOX
════════════════════════════ */
.dept-commitment-box {
  padding: 28px 32px;
  background: var(--navy); border-radius: 12px;
  border-left: 4px solid var(--gold);
  margin-top: 8px;
}
.dept-commitment-box p {
  font-size: .97rem; color: rgba(255,255,255,.85); line-height: 1.85; margin: 0;
}
