.faculty-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 56px;
}

.faculty-intro {
  margin: 0 0 32px;
  color: #005382;
  font-weight: 700;
}

.faculty-section + .faculty-section {
  margin-top: 48px;
}

.faculty-section h2 {
  font-size: clamp(26px, 4vw, 34px);
}

.faculty-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
  line-height: 1.7;
}

.faculty-table th,
.faculty-table td {
  padding: 20px;
  border: 1px solid #cbd8e1;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.faculty-table thead th {
  color: white;
  background: #005382;
  text-align: left;
  font-size: 15px;
}

.faculty-table thead th:first-child {
  width: 23%;
}

.faculty-table thead th:last-child {
  width: 20%;
}

.faculty-person {
  text-align: center;
  color: #005382;
}

.faculty-person img {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
  margin: 0 auto 14px;
  border-radius: 6px;
}

.faculty-person span {
  display: block;
}

.faculty-details p {
  margin: 0 0 12px;
}

.faculty-details p:last-child {
  margin-bottom: 0;
}

.faculty-designation {
  font-weight: 700;
  text-align: center;
}

.faculty-table tbody tr:nth-child(even) {
  background: #f5f9fc;
}

.faculty-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 700px) {
  .faculty-content {
    padding: 28px 20px 40px;
  }

  .faculty-table,
  .faculty-table tbody,
  .faculty-table tbody tr,
  .faculty-table tbody th,
  .faculty-table td {
    display: block;
    width: 100%;
  }

  .faculty-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .faculty-table tbody tr {
    border: 1px solid #cbd8e1;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 24px;
  }

  .faculty-table tbody th,
  .faculty-table td {
    border: 0;
    padding: 20px;
  }

  .faculty-table td {
    border-top: 1px solid #cbd8e1;
    text-align: left;
  }

  .faculty-table td::before {
    content: attr(data-label);
    display: block;
    color: #005382;
    font-weight: 700;
    margin-bottom: 10px;
  }
}
