.staff-hero {
  position: relative;
  background: radial-gradient(circle at top left, rgba(47, 195, 107, 0.22), transparent 60%),
    radial-gradient(circle at top right, rgba(21, 91, 56, 0.45), transparent 65%),
    #030b05;
  overflow: hidden;
}

.staff-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 11, 5, 0) 0%, rgba(3, 11, 5, 0.85) 100%);
  pointer-events: none;
}

.staff-hero .container {
  position: relative;
  z-index: 1;
}

.staff-hero .title-area {
  margin-bottom: 0;
}

.staff-hero .title-area .sec-title {
  color: #ffffff;
}

body.staff-page .staff-hero {
  padding-top: calc(var(--section-space) + var(--sticky-header-offset));
  padding-bottom: calc(var(--section-space) * 0.45);
}

@media (max-width: 991px) {
  body.staff-page .staff-hero {
    padding-top: calc(var(--section-space-mobile) + var(--sticky-header-offset));
    padding-bottom: calc(var(--section-space-mobile) * 0.6);
  }
}

.staff-section {
  position: relative;
  padding: calc(var(--section-space) * 0.8) 0 calc(var(--section-space) * 1.15);
}

@media (max-width: 991px) {
  .staff-section {
    padding: calc(var(--section-space-mobile) * 0.95) 0 calc(var(--section-space-mobile) * 1.3);
  }
}

.staff-intro {
  max-width: 720px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.7);
}

.staff-cta {
  margin-bottom: 40px;
}

.staff-cta .th-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(47, 195, 107, 0.9), rgba(159, 232, 112, 0.8));
  border: none;
  box-shadow: 0 18px 45px rgba(21, 91, 56, 0.28);
}

.staff-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.staff-filter__chip {
  border: 1px solid rgba(47, 195, 107, 0.4);
  background: rgba(3, 11, 5, 0.65);
  color: rgba(255, 255, 255, 0.72);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.staff-filter__chip:hover {
  border-color: rgba(159, 232, 112, 0.65);
  color: #fff;
}

.staff-filter__chip.is-active {
  background: rgba(47, 195, 107, 0.18);
  border-color: rgba(159, 232, 112, 0.8);
  color: #9FE870;
}

.staff-grid__item {
  display: flex;
}

.staff-card {
  position: relative;
  width: 100%;
  background: rgba(3, 11, 5, 0.8);
  border: 1px solid rgba(47, 195, 107, 0.35);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.staff-card .img-wrap {
  margin: 0;
  border: none;
  background: none;
}

.staff-card .team-card-content {
  position: static;
  transform: none;
  width: 100%;
  padding: 0;
  background: none;
  display: block;
}

.staff-card .box-title {
  background: none;
  display: block;
}

.staff-card:hover {
  transform: translateY(-6px);
  border-color: rgba(159, 232, 112, 0.6);
  box-shadow: 0 24px 50px rgba(3, 11, 5, 0.55);
}

.staff-card.is-spotlight {
  border-color: rgba(47, 195, 107, 0.55);
  box-shadow: 0 28px 60px rgba(47, 195, 107, 0.18);
}

.staff-card .team-img {
  padding: 0;
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(47, 195, 107, 0.08), rgba(3, 11, 5, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
}

.staff-card .team-img img {
  width: 100%;
  max-height: 280px;
  height: auto;
  border-radius: 20px;
  border: 2px solid rgba(159, 232, 112, 0.35);
  background: rgba(3, 11, 5, 0.85);
  object-fit: contain;
  display: block;
}

.staff-card__avatar {
  padding: 32px 32px 0;
}

.staff-card .staff-card__body {
  padding: 36px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.staff-card__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.staff-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 6px 14px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
  border: 1px solid rgba(159, 232, 112, 0.4);
  color: #9FE870;
  background: rgba(47, 195, 107, 0.18);
  font-weight: 600;
}

.staff-card__name {
  margin: 0;
  color: #fff;
  font-size: 1.3rem;
  text-transform: none;
}

.staff-card__role {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.staff-card__summary {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  min-height: 48px;
  line-height: 1.6;
}

.staff-card__summary.is-truncated {
  position: relative;
}

.staff-summary-toggle {
  align-self: flex-start;
  background: none;
  border: none;
  color: #9FE870;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0;
  transition: color 0.3s ease;
}

.staff-summary-toggle:hover,
.staff-summary-toggle:focus {
  color: #fff;
}

.staff-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 6px;
}

.staff-card__links {
  display: inline-flex;
  gap: 10px;
}

.staff-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(159, 232, 112, 0.35);
  color: rgba(255, 255, 255, 0.75);
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.staff-card__link:hover {
  color: #fff;
  border-color: rgba(159, 232, 112, 0.7);
  transform: translateY(-2px);
}

.staff-card__bio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: #9FE870;
}

.staff-card__bio i {
  transition: transform 0.3s ease;
}

.staff-card__bio:hover i {
  transform: translateX(4px);
}

.staff-empty {
  border: 1px dashed rgba(47, 195, 107, 0.4);
  border-radius: 24px;
  padding: 48px 24px;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.staff-empty i {
  font-size: 2rem;
  color: #2FC36B;
}

.staff-profile-page .staff-section {
  padding-bottom: 60px;
}

.staff-profile__sidebar {
  background: rgba(3, 11, 5, 0.75);
  border: 1px solid rgba(47, 195, 107, 0.35);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.staff-profile__avatar img {
  width: 100%;
  border-radius: 20px;
  border: 2px solid rgba(159, 232, 112, 0.45);
}

.staff-profile__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.staff-profile__tag {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(159, 232, 112, 0.4);
  color: #9FE870;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}

.staff-profile__name {
  margin: 0;
  color: #fff;
  font-size: 1.6rem;
}

.staff-profile__role {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.staff-profile__summary {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}

.staff-profile__links {
  display: grid;
  gap: 10px;
}

.staff-profile__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(159, 232, 112, 0.35);
  color: rgba(255, 255, 255, 0.75);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.staff-profile__link:hover {
  border-color: rgba(159, 232, 112, 0.7);
  color: #fff;
}

.staff-profile__back {
  align-self: flex-start;
}

.staff-profile__content {
  background: rgba(3, 11, 5, 0.7);
  border: 1px solid rgba(47, 195, 107, 0.35);
  border-radius: 24px;
  padding: 36px;
  color: rgba(255, 255, 255, 0.78);
}

.staff-profile__heading {
  font-size: 1.75rem;
  margin-bottom: 20px;
  color: #fff;
}

.staff-profile__bio h1,
.staff-profile__bio h2,
.staff-profile__bio h3,
.staff-profile__bio h4,
.staff-profile__bio h5,
.staff-profile__bio h6 {
  color: #fff;
  margin-top: 1.4em;
}

.staff-profile__bio p {
  color: rgba(255, 255, 255, 0.78);
}

.staff-profile__bio ul {
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.78);
}

.staff-profile__bio a {
  color: #9FE870;
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .staff-card .team-img img {
    max-height: 240px;
  }

  .staff-card .staff-card__body {
    padding: 30px 34px 34px;
  }

  .staff-profile__sidebar {
    padding: 28px;
  }

  .staff-profile__content {
    padding: 28px;
  }
}

@media (max-width: 575.98px) {
  .staff-cta {
    margin-bottom: 28px;
  }

  .staff-card .team-img img {
    max-height: 220px;
  }

  .staff-card .staff-card__body {
    padding: 24px 26px 28px;
  }

  .staff-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .staff-profile__links {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}
