.staff-main {
  max-width: var(--landing-container);
  margin: 0 auto;
  padding: 72px 0 120px;
}

.staff-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 72px;
}

.staff-title {
  margin: 0;
  font: 600 48px/48px Inter, sans-serif;
  white-space: nowrap;
  flex: 0 0 auto;
}

.staff-title .accent {
  color: var(--landing-accent);
}

.staff-controls {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.staff-search {
  display: flex;
  flex: 0 0 280px;
  width: 280px;
  min-width: 280px;
}

.staff-search input {
  width: 100%;
  padding: 11px 17px;
  border: 1px solid var(--landing-border);
  border-radius: 8px;
  background: rgba(22, 22, 25, 0.5);
  color: #fff;
  font: 400 16px/20px Inter, sans-serif;
  line-height: normal;
  outline: none;
  transition: border-color 0.15s;
}

.staff-search input::placeholder {
  color: var(--landing-muted);
}

.staff-search input:focus {
  border-color: rgba(87, 13, 121, 0.5);
}

.staff-filter-group {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--landing-border);
  border-radius: 8px;
  background: rgba(22, 22, 25, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.staff-filter-btn {
  border: 0;
  border-radius: 8px;
  padding: 6px 16px;
  background: transparent;
  color: var(--landing-muted);
  font: 500 14px/20px Inter, sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.staff-filter-btn:hover {
  color: #fff;
}

.staff-filter-btn.is-active {
  background: var(--landing-accent);
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(155, 26, 230, 0.2), 0 4px 6px -4px rgba(155, 26, 230, 0.2);
}

.staff-sections {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.staff-section-title {
  margin: 0 0 25px;
  font: 500 14px/20px Inter, sans-serif;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--landing-muted-2);
}

.staff-grid {
  --staff-card-width: 308px;
  display: grid;
  grid-template-columns: repeat(2, var(--staff-card-width));
  gap: 16px 25px;
  justify-content: start;
}

.staff-grid-featured {
  grid-template-columns: var(--staff-card-width);
}

.staff-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  box-sizing: border-box;
  width: var(--staff-card-width);
  max-width: 100%;
  height: 89px;
  border: 1px solid var(--landing-border);
  border-radius: 8px;
  background: rgba(22, 22, 25, 0.5);
}

.staff-card-featured {
  height: 241px;
}

.staff-card.is-hidden,
.staff-section.is-hidden {
  display: none;
}

.staff-card-bg {
  position: absolute;
  inset: 0;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}

.staff-card-featured .staff-card-bg {
  background-position: center top;
}

.staff-card-scrim {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.staff-card-has-banner .staff-card-scrim {
  background: rgba(0, 0, 0, 0.6);
}

.staff-card-featured.staff-card-has-banner .staff-card-scrim {
  background: rgba(0, 0, 0, 0.35);
}

.staff-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 89px;
  padding: 21px;
  box-sizing: border-box;
}

.staff-card-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.staff-card-avatar {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: #212121;
  image-rendering: pixelated;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.staff-card-online {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 12px;
  height: 12px;
  border: 2px solid #161619;
  border-radius: 50%;
  background: #05df72;
}

.staff-card-online.staff-card-offline {
  background: #ff383c;
}

.staff-card-meta {
  min-width: 0;
}

.staff-card-name {
  display: block;
  font: 700 16px/24px Inter, sans-serif;
  color: #fff;
  transition: color 0.15s;
}

span.staff-card-name {
  cursor: default;
}

span.staff-card-name:hover {
  color: #fff;
}

.staff-card-name:hover {
  color: var(--landing-accent-soft);
}

.staff-card-role {
  margin-top: 2px;
  font: 500 14px/20px Inter, sans-serif;
  color: #fff;
}

.staff-empty {
  margin: 0;
  padding: 24px;
  border: 1px dashed var(--landing-border);
  border-radius: 8px;
  color: var(--landing-muted);
  font: 400 14px/20px Inter, sans-serif;
  text-align: center;
}

@media (max-width: 1280px) {
  .staff-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .staff-controls {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--landing-border) transparent;
  }

  .staff-controls::-webkit-scrollbar {
    height: 6px;
  }

  .staff-controls::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: var(--landing-border);
  }
}

@media (max-width: 760px) {
  .staff-main {
    padding-top: 48px;
  }

  .staff-title {
    font-size: clamp(2rem, 8vw, 48px);
    line-height: 1.1;
    white-space: normal;
  }

  .staff-grid,
  .staff-grid-featured,
  .staff-grid-banner,
  .staff-grid-plain {
    grid-template-columns: 1fr;
  }

  .staff-card {
    width: 100%;
  }

  .staff-controls {
    flex-direction: column;
    align-items: stretch;
    overflow-x: visible;
  }

  .staff-search {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
  }

  .staff-filter-group {
    width: 100%;
    overflow-x: auto;
  }

  .staff-card-featured {
    height: 241px;
  }
}
