/* ==========================================================================
   Medical Experts (/medical-experts) — MOA_Final_27112026/medical-experts.html
   Port of medical-experts.css + the page's inline "compact-faculty-cards" styles +
   inner-banner-center.css and black-inner-banners.css, final cascade.
   Template: course_manage/medical_experts.html. Search: js/pages_v2.js ([data-moa-filter]).
   ========================================================================== */

.experts-page { color: #20242b; }

/* ---------- Hero (black banner, centered copy) ---------- */
.experts-hero {
  display: flex; align-items: center; justify-content: center; min-height: 390px; padding: 75px 0;
  background: #000; color: #fff; text-align: center; isolation: isolate;
}
.experts-hero > .moa-container {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.experts-eyebrow,
.experts-kicker { color: #ee343b; font-size: 12px; font-weight: 800; letter-spacing: 2px; }
.experts-hero h1 {
  max-width: 700px; margin: 18px auto; color: #fff;
  font-size: clamp(36px, 5vw, 64px); font-weight: 800; line-height: 1.1; letter-spacing: 1px;
}
.experts-hero p { max-width: 650px; margin: 17px auto; color: #fff; font-size: 17px; line-height: 1.7; }
.experts-hero-cta {
  display: inline-block; margin-top: 24px; padding: 13px 23px; border-radius: 5px;
  background: #ee343b; color: #fff; font-weight: 700;
}

/* ---------- Directory ---------- */
.experts-content { padding-top: 75px; padding-bottom: 85px; }
.experts-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 35px; align-items: end; margin-bottom: 35px; }
.experts-intro h2 { margin: 10px 0; color: #171717; font-size: clamp(27px, 3vw, 42px); font-weight: 700; line-height: 1.2; }
.experts-intro p { margin: 16px 0; color: #5e6269; line-height: 1.8; }

.experts-controls {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 28px; padding: 20px;
  border: 1px solid #e9e9e9; border-radius: 12px; background: #f8f9fb;
}
.experts-controls label { font-weight: 700; }
.experts-controls input { flex: 1; min-width: 210px; padding: 12px 15px; border: 1px solid #d9dce0; border-radius: 7px; font: inherit; }
.experts-controls input:focus { outline: 2px solid #ee343b; outline-offset: 1px; }
.experts-controls span { color: #666; font-size: 13px; }

.experts-directory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.faculty-card {
  overflow: hidden; border: 1px solid #e8e9eb; border-radius: 14px; background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .045); transition: transform .2s, box-shadow .2s;
}
.faculty-card:hover { transform: translateY(-5px); border-color: #ee343b; box-shadow: 0 15px 34px rgba(0, 0, 0, .10); }
.faculty-photo {
  display: flex; align-items: flex-end; justify-content: center; height: clamp(145px, 16vw, 210px); overflow: hidden;
  background: linear-gradient(160deg, #f8f8f8, #ebedf0);
}
.experts-page .faculty-photo img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.faculty-info { padding: 12px 14px; }
.faculty-info h3 { margin: 0 0 6px; color: #222; font-size: 19px; font-weight: 700; }
.faculty-info p { margin: 0 0 8px; color: #656a72; font-size: 14px; line-height: 1.65; }
.faculty-tag { display: inline-block; padding: 7px 12px; border-radius: 20px; background: #fff0f1; color: #d72a31; font-size: 12px; font-weight: 700; }
.experts-empty { padding: 30px; color: #777; text-align: center; }
.experts-empty a { color: #ee343b; font-weight: 700; }

/* ---------- Closing call to action ---------- */
.experts-cta { padding: 65px 0; background: #f7f7f8; text-align: center; }
.experts-cta h2 { margin: 0 0 10px; font-size: 32px; font-weight: 700; }
.experts-cta p { margin: 16px 0 28px; color: #666; }
.experts-cta a { padding: 14px 26px; border-radius: 5px; background: #ee343b; color: #fff; font-weight: 700; }

@media (max-width: 1050px) { .experts-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .experts-directory, .experts-intro { grid-template-columns: 1fr; }
  .experts-hero { min-height: 350px; padding: 55px 0; }
  .experts-content { padding-top: 45px; }
}
@media (max-width: 600px) { .faculty-photo { height: 180px; } }
@media (prefers-reduced-motion: reduce) { .faculty-card { transition: none; } .faculty-card:hover { transform: none; } }
