/* ============================================================
   IMANI TEAM NAV — previous / all team / next member cards
   Appended below the team member's own Elementor content.
   ============================================================ */
.imani-tnav { padding: 10px 0 60px; }
.imani-tnav__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 34px 15px 0;
  border-top: 1.5px solid #ece7da;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
  box-sizing: border-box;
}
.imani-tnav__inner * { box-sizing: border-box; max-width: 100%; }
.imani-tnav__card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f7f5ef;
  border-radius: 16px;
  padding: 16px 20px;
  text-decoration: none !important;
  transition: background 0.2s;
  min-width: 0;
}
.imani-tnav__card--next { justify-content: flex-end; text-align: right; }
.imani-tnav__card:hover { background: #353a46; }
.imani-tnav__card img {
  width: 56px; height: 56px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}
.imani-tnav__card em {
  display: block;
  font-family: 'Kumbh Sans', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #c1a336 !important;
  margin-bottom: 5px;
}
.imani-tnav__card b {
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #353a46 !important;
}
.imani-tnav__card:hover b { color: #fff !important; }
.imani-tnav__card:hover em { color: #fdd329 !important; }
.imani-tnav__all {
  align-self: center;
  width: 74px; height: 74px;
  border-radius: 50%;
  background: #F9C22E;
  color: #2A3341 !important;
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.25;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none !important;
  flex-shrink: 0;
  transition: transform 0.15s, background 0.2s;
}
.imani-tnav__all:hover { transform: scale(1.07); background: #c1a336; color: #fff !important; }
.imani-tnav__spacer { display: block; }

@media (max-width: 760px) {
  .imani-tnav__inner { grid-template-columns: 1fr; padding: 28px 18px 0; }
  .imani-tnav__all { justify-self: center; order: 3; }
  .imani-tnav__card--next { justify-content: flex-start; text-align: left; flex-direction: row-reverse; }
  .imani-tnav__spacer { display: none; }
  .imani-tnav__card b { font-size: 15px; color: #353a46 !important; }
  .imani-tnav__card em { color: #c1a336 !important; }
}
