/* ===========================================================
   FACULTY INDEX PAGE — faculty/index.html
   Clean editorial white, consistent with main site.
   =========================================================== */


/* ─── Hero ─── */

.faculty-hero {
  padding: 60px 0 48px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.faculty-hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--iugb-blue);
  margin-top: 8px;
  margin-bottom: 10px;
  margin-left: 28%;
}

.faculty-hero p {
  font-size: 1.5rem;
  color: #101216;
  max-width: 800px;
  line-height: 1.5;
  font-weight: 400;
  margin-left: 10%;
}


/* ─── Stats bar ─── */

.faculty-stats {
  background: var(--bg-light);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-light);
}

.faculty-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

.faculty-stats__number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--iugb-blue);
  line-height: 1;
  display: block;
  margin-bottom: 5px;
}

.faculty-stats__label {
  font-size: 0.83rem;
  color: var(--text-gray);
  font-weight: 600;
}


/* ─── Shared section label ─── */

.fac-section-label {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--iugb-gold-dark);
  display: block;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-light);
}

/* ─── LEADERSHIP — 2 larger cards, centered ─── */

.faculty-leadership {
  padding: 64px 0 0;
}

.faculty-leadership__grid {
  display: grid;
  grid-template-columns: repeat(2, 190px);
  gap: 100px;
  justify-content: center;
  margin-bottom: 56px;
}

/* Leadership card — slightly taller than standard but same ratio */
.fac-card--leader .fac-card__photo {
  aspect-ratio: 3 / 4;
}

.fac-card--leader .fac-card__body {
  border-top-color: var(--iugb-blue);
}

.fac-card--leader .fac-card__role {
  color: var(--iugb-blue);
}


/* ─── ALL FACULTY — compact portrait grid ─── */

.faculty-listing {
  padding: 0 0 80px;
}

.faculty-listing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}


/* ─── Portrait card (shared with homepage via .fac-card) ─── */

.fac-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-white);
  transition: box-shadow 0.22s, transform 0.18s;
}

.fac-card:hover {
  box-shadow: 0 10px 32px rgba(26, 54, 93, 0.13);
  transform: translateY(-4px);
}

.fac-card__photo {
  width: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: var(--bg-light);
}

.fac-card__body {
  padding: 11px 13px 14px;
  border-top: 3px solid var(--iugb-gold);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.fac-card__role {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--iugb-gold-dark);
  margin-bottom: 4px;
}

.fac-card__name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--iugb-blue);
  line-height: 1.25;
  margin-bottom: 3px;
}

.fac-card__dept {
  font-size: 0.76rem;
  color: var(--text-gray);
  line-height: 1.35;
  flex-grow: 1;
  margin-bottom: 10px;
}

/* "View profile" — always visible on index page */
.fac-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--iugb-blue);
  border-bottom: 1.5px solid var(--iugb-gold);
  padding-bottom: 1px;
  width: fit-content;
  transition: color 0.18s, border-color 0.18s;
}

.fac-card__link svg {
  width: 11px; height: 11px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.18s;
}

.fac-card:hover .fac-card__link { color: var(--iugb-gold-dark); border-color: var(--iugb-gold-dark); }
.fac-card:hover .fac-card__link svg { transform: translateX(3px); }


/* ─── Responsive ─── */

@media (max-width: 768px) {
  .faculty-hero h1 { font-size: 1.9rem; }
  .faculty-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .faculty-leadership__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .faculty-leadership__grid { grid-template-columns: 1fr; }
  .faculty-listing__grid { grid-template-columns: 1fr 1fr; }
}
