/* TEAM MEMBER PROFILE — built on the ProvidusUnity Bank design
   system (gold #fdb813 · dark #212529 · Montserrat + Inter) */

/* HERO — large editorial portrait + name/role side by side */
.tp-hero-grid {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: stretch;
}

.tp-hero-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tp-role-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.tp-hero-body .page-h1 {
  margin-bottom: 10px;
  font-size: clamp(32px, 4.4vw, 54px);
}

.tp-role {
  font-size: 17px;
  font-weight: 600;
  color: rgba(26, 18, 0, 0.68);
  margin-bottom: 26px;
}

.tp-hero-rule {
  width: 64px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 26px;
}

/* STACKED HERO variant (text up top, avatar underneath) —
   used by speech.html instead of the side-by-side profile layout */
.tp-hero-grid.stacked {
  grid-template-columns: 1fr;
  gap: 36px;
  text-align: center;
}

.tp-hero-grid.stacked .tp-hero-body {
  order: 1;
  align-items: center;
}

.tp-hero-grid.stacked .tp-hero-rule {
  margin-left: auto;
  margin-right: auto;
}

.tp-hero-grid.stacked .page-cta-row {
  justify-content: center;
}

.tp-hero-grid.stacked .tp-avatar {
  order: 2;
  width: 100%;
  height: 260px;
  min-height: 0;
}

.tp-hero-body .page-cta-row {
  align-items: center;
}

.tp-scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(26, 18, 0, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.tp-scroll-cue:hover {
  color: var(--gold);
}

.tp-scroll-cue svg {
  animation: tpBounce 1.8s ease-in-out infinite;
}

@keyframes tpBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

/* large rectangular portrait, matches the spotlight-card treatment
   used for the Chairman/MD on the grid page — no small circle avatar */
.tp-avatar {
  position: relative;
  min-height: 380px;
  border-radius: 24px;
  background: #1a1200;
  overflow: hidden;
  border: 1px solid rgba(253, 184, 19, 0.22);
  box-shadow: 0 20px 49px rgba(0, 0, 0, 0.12);
}

.tp-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 8, 3, 0) 55%, rgba(10, 8, 3, 0.5) 100%);
  pointer-events: none;
}

.tp-avatar.no-photo {
  background:
    radial-gradient(circle, rgba(26, 18, 0, 0.07) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(135deg, #fdb813 0%, #f0a90c 100%);
}

.tp-avatar .tm-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.tp-avatar .tm-initials {
  position: absolute;
  inset: 0;
  border-radius: 0;
  width: 100%;
  height: 100%;
  font-size: 72px;
  box-shadow: none;
  background: none;
  color: #1a1200;
}

.tp-avatar .tm-badge {
  top: 18px;
  right: 18px;
  z-index: 2;
}

/* Biography */
.tp-bio-col .eyebrow {
  margin-bottom: 20px;
}

.tp-bio-body p {
  font-size: 15.5px;
  line-height: 1.9;
  color: #3a3a35;
  margin-bottom: 20px;
}

.tp-bio-body p:first-child {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.6;
  color: #1a1a1a;
}

.tp-bio-body p:last-child {
  margin-bottom: 0;
}

.tp-bio-empty {
  padding: 30px;
}

.tp-bio-empty h4 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.tp-bio-empty p {
  font-size: 13px;
  line-height: 1.6;
  color: #76766f;
}

/* SIDE CARDS (education / career) */
.tp-side-card {
  padding: 26px 28px;
}

.tp-side-card h4 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.tp-side-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tp-side-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.55;
  color: #5e5e57;
}

.tp-side-list li strong {
  color: #1a1a1a;
  font-weight: 700;
}

.tp-side-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.tp-career-list li {
  padding-left: 24px;
  padding-bottom: 12px;
  border-left: 1.5px solid rgba(0, 0, 0, 0.08);
  margin-left: 3px;
}

.tp-career-list li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.tp-career-list li::before {
  left: -3.5px;
  top: 6px;
  width: 7px;
  height: 7px;
  background: #1a1200;
}

/* MORE FROM THE TEAM (mini card row) */
.tp-more {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* nested in a sidebar (e.g. speech.html's "More Speeches" card) —
   the column is too narrow for 3-up, so stack single-file instead */
.page-side .tp-more {
  grid-template-columns: 1fr;
  gap: 10px;
}

.page-side .tp-more-card {
  padding: 12px;
  border-radius: 10px;
}

.page-side .tp-more-avatar {
  border-radius: 8px;
}

.tp-more-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  text-decoration: none;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s,
    border-color 0.3s;
}

.tp-more-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  border-color: rgba(253, 184, 19, 0.45);
}

.tp-more-avatar {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: #1a1200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tp-more-avatar.no-photo {
  background: linear-gradient(135deg, #fdb813 0%, #f0a90c 100%);
}

.tp-more-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.tp-more-avatar .tm-initials {
  width: 100%;
  height: 100%;
  border-radius: 0;
  font-size: 15px;
  box-shadow: none;
}

.tp-more-name {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #1a1a1a;
  line-height: 1.3;
}

.tp-more-role {
  font-size: 11.5px;
  color: #9a9a96;
  margin-top: 2px;
}

/* Not found state */
.tp-notfound {
  padding-top: 160px;
}

.tp-notfound-cta {
  display: flex;
  justify-content: center;
}

/* Responsive */
@media (max-width: 1100px) {
  .tp-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tp-hero-body {
    order: 2;
  }

  .tp-avatar {
    order: 1;
    min-height: 320px;
  }

  .tp-more {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .tp-hero-body {
    text-align: center;
  }

  .page-hero .page-crumb {
    justify-content: center;
  }

  .tp-avatar {
    min-height: 280px;
  }

  .tp-hero-rule {
    margin-left: auto;
    margin-right: auto;
  }

  .tp-hero-body .page-cta-row {
    justify-content: center;
  }

  .tp-more {
    grid-template-columns: 1fr;
  }
}
