/* ══════════════════════════════════════
   personnel.css — pages/personnel.php
   ══════════════════════════════════════ */
body,
.inner-page-body { background: #fff !important; }
.pers-wrap { max-width: 1400px; margin: 0 auto; padding: 3rem 2rem 4rem; background: #fff; }

/* ── Dept tabs (underline style, 2 rows) ── */
.pers-tabs {
  display: flex;
  flex-wrap: nowrap;
  margin-bottom: 0;
  border-bottom: 2px solid #e5e5e5;
}
.pers-tabs-r2 { margin-bottom: 2rem; }
.pers-tab {
  padding: .75rem 1.25rem;
  font-size: .88rem; font-weight: 400;
  color: #999;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .2s, border-color .2s;
}
.pers-tab:hover { color: #444; border-bottom-color: #bbb; }
.pers-tab.active { color: #1a1a2e; font-weight: 600; border-bottom: 2px solid #1a1a2e; }

/* ── Card grid ── */
.pers-grid { display: grid; grid-template-columns: repeat(3, 350px); gap: 2rem; margin-bottom: 3rem; justify-content: center; }
.pers-card {
  background: transparent;
  border-radius: 10px; overflow: hidden;
  text-align: center; cursor: pointer;
  box-shadow: none;
  transition: transform .22s;
  width: 350px;
  height: 600px;
}
.pers-card:hover { transform: translateY(-5px); }
.pers-card-img { position: relative; width: 100%; height: 100%; overflow: hidden; }
.pers-card-img .pers-arc { display: none; }
.pers-card-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  display: block;
}
.pers-card-img .pers-placeholder {
  width: 100%; height: 100%;
  background: #f0f0f0; display: flex; align-items: center; justify-content: center;
  color: #bbb; font-size: 3rem;
}
.pers-card-body { display: none; }

.dept-title {
  font-size: 1.1rem; font-weight: 700; color: var(--g-700);
  margin-bottom: 1.25rem; padding-bottom: .5rem; border-bottom: 2px solid var(--g-200);
}
.pers-empty { text-align: center; padding: 4rem 1rem; color: #aaa; }
.pers-empty i { font-size: 3rem; display: block; margin-bottom: 1rem; }

@media (max-width: 1150px) {
  .pers-grid { grid-template-columns: repeat(3, 1fr); }
  .pers-card { width: 100%; height: auto; aspect-ratio: 350 / 600; }
}
@media (max-width: 700px) {
  .pers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .pers-grid { grid-template-columns: 1fr; }
}
