/* Faculty highlight section — QS-style band + overlapping cards,
   recolored to UMPKU brand (gold/orange + navy). */

.faculty-highlight-area {
  position: relative;
  z-index: 1;
  padding-bottom: 80px;
  background: #f5f5f5;
  overflow: hidden;
}

.faculty-highlight-band {
  position: relative;
  background: var(--brand-accent, #EA5501);
  padding: 72px 0 140px;
  overflow: hidden;
}

.faculty-highlight-band-inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  min-height: 160px;
}

.faculty-highlight-header {
  position: relative;
  z-index: 2;
  max-width: 560px;
  color: #111111;
}

.faculty-highlight-title {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111111;
}

.faculty-highlight-subtitle {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  color: #111111;
}

.faculty-highlight-decor {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: min(420px, 42%);
  height: 180px;
  pointer-events: none;
  z-index: 1;
}

.faculty-highlight-logo {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: min(160px, 40%);
  height: auto;
  opacity: 0.18;
  filter: grayscale(1) brightness(0);
  object-fit: contain;
}

.faculty-highlight-dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
}

.faculty-highlight-dot:nth-child(2)  { width: 10px; height: 10px; top: 12%;  left: 8%;  opacity: 0.95; }
.faculty-highlight-dot:nth-child(3)  { width: 18px; height: 18px; top: 8%;   left: 28%; opacity: 0.9; }
.faculty-highlight-dot:nth-child(4)  { width: 8px;  height: 8px;  top: 28%;  left: 18%; opacity: 0.7; }
.faculty-highlight-dot:nth-child(5)  { width: 22px; height: 22px; top: 22%;  left: 48%; opacity: 0.85; }
.faculty-highlight-dot:nth-child(6)  { width: 12px; height: 12px; top: 6%;   left: 68%; opacity: 0.75; }
.faculty-highlight-dot:nth-child(7)  { width: 16px; height: 16px; top: 40%;  left: 72%; opacity: 0.9; }
.faculty-highlight-dot:nth-child(8)  { width: 9px;  height: 9px;  top: 48%;  left: 38%; opacity: 0.65; }
.faculty-highlight-dot:nth-child(9)  { width: 26px; height: 26px; top: 55%;  left: 12%; opacity: 0.8; }
.faculty-highlight-dot:nth-child(10) { width: 11px; height: 11px; top: 62%;  left: 55%; opacity: 0.7; }
.faculty-highlight-dot:nth-child(11) { width: 20px; height: 20px; top: 70%;  left: 30%; opacity: 0.85; }
.faculty-highlight-dot:nth-child(12) { width: 8px;  height: 8px;  top: 78%;  left: 70%; opacity: 0.6; }
.faculty-highlight-dot:nth-child(13) { width: 14px; height: 14px; top: 18%;  left: 86%; opacity: 0.75; }
.faculty-highlight-dot:nth-child(14) { width: 24px; height: 24px; top: 82%;  left: 48%; opacity: 0.9; }
.faculty-highlight-dot:nth-child(15) { width: 10px; height: 10px; top: 88%;  left: 18%; opacity: 0.65; }
.faculty-highlight-dot:nth-child(16) { width: 15px; height: 15px; top: 35%;  left: 92%; opacity: 0.55; }
.faculty-highlight-dot:nth-child(17) { width: 7px;  height: 7px;  top: 92%;  left: 82%; opacity: 0.5; }
.faculty-highlight-dot:nth-child(18) { width: 19px; height: 19px; top: 50%;  left: 2%;  opacity: 0.7; }
.faculty-highlight-dot:nth-child(19) { width: 12px; height: 12px; top: 4%;   left: 50%; opacity: 0.8; }

.faculty-highlight-body {
  position: relative;
  z-index: 2;
  margin-top: -110px;
}

.faculty-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.faculty-highlight-empty {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 24px;
  text-align: center;
  color: #666666;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.06);
}

.faculty-highlight-skeleton {
  min-height: 420px;
  border-radius: 16px;
  background: linear-gradient(90deg, #ececec 25%, #f7f7f7 50%, #ececec 75%);
  background-size: 200% 100%;
  animation: faculty-hl-shimmer 1.2s ease-in-out infinite;
}

@keyframes faculty-hl-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Card */
.faculty-hl-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border-radius: 1px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faculty-hl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.12);
}

.faculty-hl-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8e8e8;
}

.faculty-hl-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.faculty-hl-card:hover .faculty-hl-card-media img {
  transform: scale(1.04);
}

.faculty-hl-card-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.faculty-hl-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 26px;
}

.faculty-hl-card-meta {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 500;
  color: #888888;
}

.faculty-hl-card-title {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
}

.faculty-hl-card-title a {
  color: #111111;
  text-decoration: none;
  transition: color 0.2s ease;
}

.faculty-hl-card-title a:hover {
  color: var(--primary, #f16634);
}

.faculty-hl-card-excerpt {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #444444;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 991px) {
  .faculty-highlight-band {
    padding: 56px 0 120px;
  }

  .faculty-highlight-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .faculty-highlight-body {
    margin-top: -90px;
  }

  .faculty-highlight-decor {
    width: 38%;
    opacity: 0.85;
  }

  .faculty-highlight-logo {
    width: min(120px, 50%);
  }
}

@media (max-width: 575px) {
  .faculty-highlight-area {
    padding-bottom: 56px;
  }

  .faculty-highlight-band {
    padding: 40px 0 100px;
  }

  .faculty-highlight-title {
    font-size: 28px;
  }

  .faculty-highlight-subtitle {
    font-size: 16px;
  }

  .faculty-highlight-decor {
    display: none;
  }

  .faculty-highlight-body {
    margin-top: -72px;
  }

  .faculty-hl-card-title {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faculty-hl-card,
  .faculty-hl-card-media img,
  .faculty-hl-card-title a {
    transition: none;
  }

  .faculty-highlight-skeleton {
    animation: none;
  }
}

/* Legacy class kept so older markup / cache doesn't break layout */
.faculty-modern-area {
  background-color: #f5f5f5;
}
