﻿.dept-section {
  padding: 50px 0 100px;
  background: var(--pu-off);
}

.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.dept {
  background: #fff;
  border: 1px solid var(--pu-line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.dept:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
  border-color: var(--pu-blue-200);
}

.dept::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 3px;
  background: var(--pu-blue-800);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s;
}

.dept:hover::before { transform: scaleX(1); }

.dept .tag {
  font: 500 11px var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pu-blue-700);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dept .tag .num {
  background: var(--pu-blue-50);
  color: var(--pu-blue-800);
  padding: 4px 9px;
  border-radius: var(--r-xs);
  font-weight: 500;
}

.dept h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--pu-blue-900);
  margin: 0;
  letter-spacing: -0.005em;
  line-height: 1.2;
}

.dept .sub {
  font-size: 13.5px;
  color: var(--pu-ink-2);
  line-height: 1.55;
  margin: 0 0 6px;
}

.dept .person {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px dashed var(--pu-line);
  margin-top: auto;
}

.dept .person .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pu-blue-800);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  letter-spacing: 0.01em;
}

.dept .person .pn b {
  display: block;
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--pu-blue-900);
  font-size: 16px;
  letter-spacing: -0.005em;
}

.dept .person .pn span {
  font: 400 12px var(--f-mono);
  color: var(--pu-ink-3);
  letter-spacing: 0.04em;
}

.dept ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dept ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--pu-ink-2);
  line-height: 1.4;
}

.dept ul li svg {
  width: 14px;
  height: 14px;
  stroke: var(--pu-blue-700);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.dept ul li a {
  color: var(--pu-blue-900);
  font-weight: 500;
  transition: color 0.15s;
  text-decoration: none;
  font-family: var(--f-mono);
}

.dept ul li a:hover { color: var(--pu-sea-600); }

@media (max-width: 900px) {
  .dept-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .dept-section { padding: 60px 0; }
}

@media (max-width: 1024px) {
  .dept-section { padding: 60px 0; }
}

@media (max-width: 1280px) {
  .dept-section { padding-top: 0; }
}
