/*

/* ── Reset for this section ── */
.o-people *,
.o-people *::before,
.o-people *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Kill ALL underlines inside this section ── */
.o-people a,
.o-people a:hover,
.o-people a:focus,
.o-people a:visited {
  text-decoration: none !important;
}

/* ── SECTION WRAPPER ── */
.o-people {
  width: 100%;
  background: #fff;
  padding-bottom: 60px;
  font-family: 'Inter', sans-serif;
}

.o-people > div {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

/* ── TITLE BLOCK ── */
.m-people-main__top {
  padding: 48px 0 28px;
}

.flame-mian-title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 56px;
  font-weight: 625 !important;
  /* letter-spacing: 0.06em; */
  /* text-transform: uppercase; */
  color: #1a1a1a;
  line-height: 1.1;
}

/* ── BIG CARD + THUMBS ROW ── */
.m-people-main__bottom {
  display: flex;
  width: 100%;
  height: 580px;
  overflow: hidden;
}

/* ── BIG CARD ── */
.m-person {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #0b1826;
  cursor: pointer;
}

.m-person__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.m-person__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  opacity: 0.85;
  transition: transform 0.65s ease, opacity 0.35s ease;
}

.m-person:hover .m-person__image img {
  transform: scale(1.035);
  opacity: 0.9;
}

/* Caption overlay */
.m-person__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 90px 40px 36px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.95) 0%,
    rgba(0,0,0,0.72) 38%,
    rgba(0,0,0,0.25) 60%,
    transparent      100%
  );
  color: #fff;
  z-index: 10;
}

/* Category badge */
.m-person__category { margin-bottom: 14px; }
.m-person__category span {
  display: inline-block;
  background: #b51733;
  color: #fff;
  font-family: 'Inter', sans-serif !important;
  font-weight: 500;
  font-size: 11px;
  /* letter-spacing: 0.18em; */
  text-transform: uppercase;
  padding: 6px 16px;
}

/* Person name */
.m-person__name {
  font-family: 'Poppins', sans-serif !important;
  font-size: 56px;
  font-weight: 450 !important;
  /* letter-spacing: 0.04em; */
  /* text-transform: uppercase; */
  line-height: 1;
  color: #fff;
  margin-bottom: 12px;
}

/* Major/minor lines */
.m-person__major {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  margin-bottom: 2px;
}

.m-person__major a {
  color: #b51733 !important;
  font-weight: 600;
  text-decoration: none !important;
}

/* Button row */
.m-person__button {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 22px;
  gap: 16px;
}

/* Read More / Know More button */
.l_hp__overview_btn {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.65);
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 11px;
  font-weight: 500;
  /* letter-spacing: 0.16em; */
  text-transform: uppercase;
  padding: 10px 28px;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
  text-decoration: none !important;
}
.l_hp__overview_btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  text-decoration: none !important;
}

/* ── THUMB PANEL ── */
.m-people-thumbs {
  width: 360px;
  flex-shrink: 0;
  height: 100%;
}

.m-people-thumbs__content {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(6, 1fr);
  gap: 0;
}

.m-people-thumbs__button {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 18%;
  border: none;
  cursor: pointer;
  outline: 3px solid transparent;
  outline-offset: -3px;
  filter: brightness(0.72) saturate(0.9);
  transition: filter 0.25s ease, outline-color 0.2s;
  padding: 0;
  position: relative;
}

.m-people-thumbs__button:hover {
  filter: brightness(1.05) saturate(1.1);
  z-index: 1;
}

.m-people-thumbs__button[aria-selected="true"] {
  outline: 3px solid #b51733;
  outline-offset: -3px;
  filter: brightness(1) saturate(1.1);
  z-index: 2;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

/* ════════════════════════════
   RESPONSIVE
   ════════════════════════════ */

@media (max-width: 1280px) {
  .o-people > div { padding: 0 32px; }
  .m-people-main__bottom { height: 500px; }
  .m-people-thumbs { width: 300px; }
}

@media (max-width: 960px) {
  .o-people > div { padding: 0 24px; }
  .m-people-main__bottom { flex-direction: column; height: auto; }
  .m-person { flex: none; width: 100%; height: 60vw; min-height: 300px; max-height: 480px; }
  .m-people-thumbs { width: 100%; height: auto; }
  .m-people-thumbs__content {
    height: 150px;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 1fr 1fr;
  }
  .m-person__caption { padding: 70px 28px 28px; }
  .m-people-main__top { padding: 32px 0 18px; }
}

@media (max-width: 600px) {
  .o-people > div { padding: 0 16px; }
  .m-person { height: 78vw; min-height: 260px; }
  .m-people-thumbs__content {
    height: 200px;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
  .flame-mian-title { font-size: 20px;  }
  .m-person__name { font-size: 24px; }
  .m-person__caption { padding: 60px 16px 20px; }
  .m-person__major { font-size: 13px; }
  .l_hp__overview_btn { padding: 8px 18px; font-size: 10px; }
}

@media (max-width: 380px) {
  .m-people-thumbs__content {
    height: 180px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
  }
}
