/* /assets/css/departments.css */

.dept-header {
  border-radius: 22px;
  padding: 18px 18px;
  border: 1px solid rgba(0,0,0,.08);
  background: linear-gradient(135deg, rgba(15, 23, 42, .06), rgba(0, 0, 0, .02));
  box-shadow: 0 18px 50px rgba(0,0,0,.06);
  margin-bottom: 14px;
}

.dept-card {
  position: relative;
  overflow: hidden;
}

.dept-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 7px;
  background: linear-gradient(
    180deg,
    #3366cc 0%,
    rgba(51, 102, 204, 0.25) 55%,
    rgba(11, 15, 23, 0.10) 100%
  );
  opacity: .95;
}

.dept-jumplinks a {
  transition: transform .08s ease, box-shadow .12s ease;
}

.dept-jumplinks a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}


.dept-page { padding: 10px 0 40px; }

.dept-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 26px 18px;
}

.dept-header h1 {
  margin: 0 0 8px;
  font-size: 34px;
  letter-spacing: -0.02em;
}

.dept-header p {
  margin: 0;
  font-size: 16px;
  opacity: .8;
  line-height: 1.55;
}

.dept-jumplinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 18px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.03);
}

.dept-jumplinks a {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.80);
  color: inherit;
}

.dept-jumplinks a:hover {
  background: #fff;
}

.dept-note {
  margin: 12px 0 0;
  opacity: .8;
  line-height: 1.55;
}

/* Card sections */
.dept-card {
  border-radius: 20px;
  padding: 18px 18px;
  margin: 14px 0;
  background: rgba(0,0,0,.035);
  border: 1px solid rgba(0,0,0,.09);
  box-shadow: 0 14px 40px rgba(0,0,0,.06);
}

.dept-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.dept-card h3 {
  margin: 14px 0 8px;
  font-size: 16px;
}

.dept-card p { margin: 10px 0; line-height: 1.6; }
.dept-card ul { margin: 10px 0 0 20px; }
.dept-card li { margin: 6px 0; line-height: 1.55; }

/* Quick meta blocks inside cards */
.dept-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0 0;
}

.dept-meta .box {
  border-radius: 16px;
  padding: 12px 12px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.75);
}

.dept-meta .label {
  font-size: 12px;
  font-weight: 900;
  opacity: .75;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.dept-meta .value {
  font-size: 14px;
  font-weight: 800;
}

.dept-callout {
  margin-top: 12px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.85);
}

.dept-callout strong { font-weight: 900; }

@media (max-width: 720px) {
  .dept-header h1 { font-size: 28px; }
  .dept-meta { grid-template-columns: 1fr; }
}
