.mss-staff-page {
  background: #fafbf9;
  color: #0e1f1a;
  overflow-x: clip;
}

.mss-staff-page svg {
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.mss-staff-hero {
  padding: 46px 0 42px;
}

.mss-staff-breadcrumbs {
  align-items: center;
  color: #5a7268;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px;
  margin-bottom: 22px;
}

.mss-staff-breadcrumbs a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.mss-staff-breadcrumbs a:hover {
  color: var(--mss-brand-primary, #00a86b);
}

.mss-staff-breadcrumbs svg {
  color: #98a8a0;
  height: 13px;
  width: 13px;
}

.mss-staff-breadcrumbs span {
  color: #0e1f1a;
  font-weight: 750;
}

.mss-staff-hero__tag {
  align-items: center;
  background: var(--mss-brand-primary-light, #e8f7f0);
  border-radius: 999px;
  color: var(--mss-brand-primary-dark, #008f5b);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 16px;
}

.mss-staff-hero__tag svg {
  height: 15px;
  width: 15px;
}

.mss-staff-hero__title {
  color: #0e1f1a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.8vw, 58px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0 0 18px;
  max-width: 850px;
}

.mss-staff-hero__title em {
  color: var(--mss-brand-primary, #00a86b);
  font-style: italic;
}

.mss-staff-hero__subtitle {
  color: #5a7268;
  font-size: 17px;
  line-height: 1.62;
  margin: 0 0 32px;
  max-width: 680px;
}

.mss-staff-stats {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 930px;
}

.mss-staff-stat {
  align-items: center;
  background: #ffffff;
  border: 1px solid #e5ede9;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(14, 31, 26, 0.04);
  display: flex;
  gap: 14px;
  min-width: 0;
  padding: 18px;
}

.mss-staff-stat > span {
  align-items: center;
  background: var(--mss-brand-primary-light, #e8f7f0);
  border-radius: 13px;
  color: var(--mss-brand-primary, #00a86b);
  display: inline-flex;
  flex: 0 0 42px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.mss-staff-stat svg {
  height: 20px;
  width: 20px;
}

.mss-staff-stat strong {
  color: #0e1f1a;
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1;
}

.mss-staff-stat small {
  color: #5a7268;
  display: block;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
  margin-top: 5px;
}

.mss-staff-filters {
  padding: 0 0 36px;
}

.mss-staff-filterbar {
  align-items: center;
  background: #ffffff;
  border: 1px solid #e5ede9;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(14, 31, 26, 0.04);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 16px;
  padding: 14px;
}

.mss-staff-search {
  display: block;
  position: relative;
}

.mss-staff-search svg {
  color: #98a8a0;
  height: 18px;
  left: 18px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
}

.mss-staff-search input {
  background: #f2f6f4;
  border: 2px solid transparent;
  border-radius: 14px;
  color: #0e1f1a;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  min-height: 48px;
  outline: 0;
  padding: 0 18px 0 50px;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}

.mss-staff-search input:focus {
  background: #ffffff;
  border-color: var(--mss-brand-primary, #00a86b);
  box-shadow: 0 0 0 4px var(--mss-brand-primary-light, #e8f7f0);
}

.mss-staff-count {
  background: #f2f6f4;
  border-radius: 14px;
  color: #2d4a3f;
  font-size: 13px;
  font-weight: 800;
  padding: 13px 18px;
  white-space: nowrap;
}

.mss-staff-count strong {
  color: var(--mss-brand-primary-dark, #008f5b);
}

.mss-staff-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.mss-staff-tab {
  align-items: center;
  background: #ffffff;
  border: 1px solid #e5ede9;
  border-radius: 999px;
  color: #2d4a3f;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.mss-staff-tab svg {
  height: 14px;
  width: 14px;
}

.mss-staff-tab span {
  background: #f2f6f4;
  border-radius: 999px;
  color: #5a7268;
  font-size: 11px;
  padding: 2px 8px;
}

.mss-staff-tab:hover,
.mss-staff-tab.is-active {
  background: var(--mss-brand-primary, #00a86b);
  border-color: var(--mss-brand-primary, #00a86b);
  box-shadow: 0 6px 16px rgba(var(--mss-brand-primary-rgb, 0, 168, 107), .22);
  color: #ffffff;
}

.mss-staff-tab:hover span,
.mss-staff-tab.is-active span {
  background: rgba(255, 255, 255, .24);
  color: #ffffff;
}

.mss-staff-list {
  padding: 0 0 74px;
}

.mss-staff-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mss-staff-card {
  background: #ffffff;
  border: 1px solid #e5ede9;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(14, 31, 26, 0.04);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.mss-staff-card[hidden] {
  display: none;
}

.mss-staff-card:hover {
  border-color: var(--mss-brand-primary, #00a86b);
  box-shadow: 0 20px 54px rgba(14, 31, 26, 0.08);
  transform: translateY(-3px);
}

.mss-staff-card__photo {
  aspect-ratio: 4 / 3;
  background: var(--mss-brand-primary-light, #e8f7f0);
  overflow: hidden;
  position: relative;
}

.mss-staff-card__photo img {
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
  width: 100%;
}

.mss-staff-card:hover .mss-staff-card__photo img {
  transform: scale(1.04);
}

.mss-staff-card__placeholder {
  align-items: center;
  color: var(--mss-brand-primary, #00a86b);
  display: flex;
  height: 100%;
  justify-content: center;
}

.mss-staff-card__placeholder svg {
  height: 76px;
  width: 76px;
}

.mss-staff-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.mss-staff-badge {
  align-items: center;
  background: var(--mss-brand-primary-light, #e8f7f0);
  border-radius: 999px;
  color: #0e1f1a;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 5px;
  line-height: 1.2;
  padding: 7px 10px;
}

.mss-staff-badge svg {
  color: var(--mss-brand-primary, #00a86b);
  height: 11px;
  width: 11px;
}

.mss-staff-badge.is-accent {
  background: #fff0e8;
  color: var(--mss-brand-secondary, #f26722);
}

.mss-staff-badge.is-accent svg {
  color: var(--mss-brand-secondary, #f26722);
}

.mss-staff-card__branch {
  background: rgba(14, 31, 26, .72);
  border-radius: 999px;
  bottom: 14px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 750;
  left: 14px;
  padding: 6px 11px;
  position: absolute;
}

.mss-staff-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
}

.mss-staff-card__name {
  color: #0e1f1a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 8px;
}

.mss-staff-card__role {
  align-items: center;
  align-self: flex-start;
  background: var(--mss-brand-primary-light, #e8f7f0);
  border-radius: 7px;
  color: var(--mss-brand-primary-dark, #008f5b);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  margin-bottom: 14px;
  padding: 5px 10px;
}

.mss-staff-card__role svg {
  height: 12px;
  width: 12px;
}

.mss-staff-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 15px;
}

.mss-staff-card__meta span {
  align-items: center;
  color: #5a7268;
  display: inline-flex;
  font-size: 12px;
  font-weight: 650;
  gap: 6px;
}

.mss-staff-card__meta svg {
  color: var(--mss-brand-primary, #00a86b);
  height: 14px;
  width: 14px;
}

.mss-staff-card__meta strong {
  color: #0e1f1a;
}

.mss-staff-card__bio {
  color: #5a7268;
  flex: 1;
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 16px;
}

.mss-staff-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.mss-staff-card__tags span {
  background: #f2f6f4;
  border-radius: 7px;
  color: #2d4a3f;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
}

.mss-staff-card__actions {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: auto;
}

.mss-staff-button {
  align-items: center;
  border-radius: 12px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  min-height: 42px;
  text-decoration: none;
}

.mss-staff-button svg {
  height: 14px;
  width: 14px;
}

.mss-staff-button--primary {
  background: var(--mss-brand-primary, #00a86b);
  box-shadow: 0 4px 12px rgba(var(--mss-brand-primary-rgb, 0, 168, 107), .22);
  color: #ffffff;
  cursor: pointer;
  padding: 0 18px;
}

.mss-staff-button--primary:hover {
  background: var(--mss-brand-primary-dark, #008f5b);
  color: #ffffff;
}

.mss-staff-button--icon {
  background: #f2f6f4;
  color: #2d4a3f;
  width: 42px;
}

.mss-staff-button--icon:hover {
  background: var(--mss-brand-primary-light, #e8f7f0);
  color: var(--mss-brand-primary-dark, #008f5b);
}

.mss-staff-empty {
  background: #ffffff;
  border: 1px dashed #e5ede9;
  border-radius: 20px;
  grid-column: 1 / -1;
  padding: 58px 24px;
  text-align: center;
}

.mss-staff-empty > div {
  align-items: center;
  background: #f2f6f4;
  border-radius: 18px;
  color: #98a8a0;
  display: inline-flex;
  height: 68px;
  justify-content: center;
  margin-bottom: 18px;
  width: 68px;
}

.mss-staff-empty svg {
  height: 30px;
  width: 30px;
}

.mss-staff-empty h2 {
  color: #0e1f1a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  margin: 0 0 8px;
}

.mss-staff-empty p {
  color: #5a7268;
  margin: 0;
}

.mss-staff-join {
  padding: 0 0 90px;
}

.mss-staff-join__card {
  align-items: center;
  background: var(--mss-brand-primary, #00a86b);
  border-radius: 30px;
  color: #ffffff;
  display: grid;
  gap: 42px;
  grid-template-columns: 1.35fr 1fr;
  overflow: hidden;
  padding: 50px 58px;
}

.mss-staff-join__tag {
  align-items: center;
  background: rgba(255, 255, 255, .14);
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 850;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 14px;
  text-transform: uppercase;
}

.mss-staff-join__tag span {
  background: #ffd166;
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

.mss-staff-join h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  margin: 0 0 16px;
}

.mss-staff-join p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 26px;
  max-width: 560px;
  opacity: .92;
}

.mss-staff-join__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mss-staff-join__button {
  align-items: center;
  border-radius: 13px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 850;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  text-decoration: none;
}

.mss-staff-join__button svg {
  height: 15px;
  width: 15px;
}

.mss-staff-join__button.is-primary {
  background: #ffffff;
  color: var(--mss-brand-primary-dark, #008f5b);
}

.mss-staff-join__button.is-ghost {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #ffffff;
}

.mss-staff-join__features {
  display: grid;
  gap: 12px;
}

.mss-staff-join__feature {
  align-items: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  display: flex;
  gap: 14px;
  padding: 16px 18px;
}

.mss-staff-join__feature > span {
  align-items: center;
  background: rgba(255, 255, 255, .2);
  border-radius: 12px;
  display: inline-flex;
  flex: 0 0 42px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.mss-staff-join__feature svg {
  height: 20px;
  width: 20px;
}

.mss-staff-join__feature strong,
.mss-staff-join__feature small {
  display: block;
}

.mss-staff-join__feature strong {
  font-size: 14px;
  margin-bottom: 3px;
}

.mss-staff-join__feature small {
  font-size: 12px;
  opacity: .84;
}

@media (max-width: 1024px) {
  .mss-staff-stats,
  .mss-staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mss-staff-join__card {
    grid-template-columns: 1fr;
    padding: 42px;
  }
}

@media (max-width: 720px) {
  .mss-staff-hero {
    padding: 30px 0 34px;
  }

  .mss-staff-hero__title {
    font-size: clamp(32px, 11vw, 42px);
  }

  .mss-staff-hero__subtitle {
    font-size: 15px;
  }

  .mss-staff-stats,
  .mss-staff-grid,
  .mss-staff-filterbar {
    grid-template-columns: 1fr;
  }

  .mss-staff-count {
    text-align: center;
  }

  .mss-staff-card__body {
    padding: 20px;
  }

  .mss-staff-join {
    padding-bottom: 58px;
  }

  .mss-staff-join__card {
    border-radius: 24px;
    padding: 32px 24px;
  }

  .mss-staff-join__buttons {
    flex-direction: column;
  }

  .mss-staff-join__button {
    justify-content: center;
  }
}
