/* ============================================================
   DEPARTMENT PAGES – SHARED STYLES (enhanced)
   Scoped to the department container – no global overrides
   ============================================================ */

.department-container {
  max-width: 1100px;
  margin: 40px auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 20, 40, 0.08);
  padding: 40px 35px;
  font-family: inherit;
  color: #1a2a4a;
  line-height: 1.8;
}

/* ----- Department header ----- */
.dept-header {
  text-align: center;
  border-bottom: 3px solid #c9a227;
  padding-bottom: 22px;
  margin-bottom: 32px;
}

.dept-header h1 {
  font-size: 34px;
  font-weight: 700;
  color: #0a2a4a;
  letter-spacing: -0.5px;
  margin: 0 0 6px 0;
}

.dept-code {
  display: inline-block;
  background: #e8f0fe;
  color: #1a4b6d;
  font-size: 15px;
  font-weight: 600;
  padding: 4px 18px;
  border-radius: 30px;
  margin-top: 4px;
  letter-spacing: 0.3px;
}

/* ----- Overview box ----- */
.overview-box {
  background: #fafcff;
  border: 1px solid #e2edf7;
  border-radius: 12px;
  padding: 32px 35px;
  margin-bottom: 36px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.overview-box h2 {
  color: #003366;
  font-size: 24px;
  margin: 0 0 18px 0;
  border-left: 5px solid #c9a227;
  padding-left: 18px;
  font-weight: 600;
}

.overview-box p {
  margin: 0 0 18px 0;
  text-align: justify;
}
.overview-box p:last-child {
  margin-bottom: 0;
}

/* ----- Highlights section ----- */
.highlights-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 36px;
}

.highlights-box {
  flex: 1 1 380px;
  background: #ffffff;
  border: 1px solid #e2edf7;
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.highlights-box h3 {
  color: #0a2a4a;
  font-size: 20px;
  margin: 0 0 16px 0;
  border-bottom: 2px solid #c9a227;
  padding-bottom: 10px;
  font-weight: 600;
}

.highlights-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.highlights-box li {
  padding: 8px 0 8px 32px;
  position: relative;
  border-bottom: 1px solid #f0f4fa;
  font-size: 15px;
}

.highlights-box li:last-child {
  border-bottom: none;
}

/* Custom bullet – filled circle */
.highlights-box li::before {
  content: "●";
  color: #c9a227;
  font-size: 18px;
  position: absolute;
  left: 0;
  top: 8px;
}

/* ----- Apply button ----- */
.apply-section {
  text-align: center;
  margin: 12px 0 10px;
}

.btn-apply {
  display: inline-block;
  background: #2775c9;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding: 16px 56px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35);
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  letter-spacing: 0.8px;
}

.btn-apply:hover {
  background: #b08a1f;
  box-shadow: 0 6px 24px rgba(201, 162, 39, 0.45);
  transform: translateY(-2px);
}

.btn-apply:active {
  transform: scale(0.97);
}

/* ----- Footer / back link ----- */
.dept-footer {
  margin-top: 34px;
  text-align: center;
  font-size: 15px;
  color: #6b7f99;
  border-top: 1px solid #e2edf7;
  padding-top: 22px;
}

.dept-footer a {
  color: #2b7be4;
  text-decoration: none;
  font-weight: 500;
}
.dept-footer a:hover {
  text-decoration: underline;
}

/* ----- Extra decorative accent (optional) ----- */
.dept-accent-line {
  width: 60px;
  height: 4px;
  background: #c9a227;
  margin: 0 auto 20px;
  border-radius: 4px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .department-container {
    margin: 20px 12px;
    padding: 24px 16px;
  }
  .dept-header h1 {
    font-size: 26px;
  }
  .overview-box {
    padding: 20px 18px;
  }
  .highlights-box {
    flex: 1 1 100%;
    padding: 20px;
  }
  .btn-apply {
    padding: 14px 32px;
    font-size: 16px;
    width: 100%;
  }
  .highlights-box li {
    font-size: 14px;
  }
}