.careers-body {
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  background: #07080b;
}

.careers-page {
  min-height: 100dvh;
  margin-left: 80px;
  padding: 14px 72px 78px;
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    radial-gradient(circle at 48% 8%, rgba(41, 35, 55, 0.07), transparent 35%),
    #07080b;
}

.careers-header {
  width: 100%;
  height: 65px;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111116;
  border: 2px solid #050507;
  outline: 1px solid #2e2f36;
  box-shadow: inset 0 2px rgba(255, 255, 255, 0.025), 0 3px #030305;
}

.careers-breadcrumb {
  display: flex;
  align-items: center;
  gap: 11px;
}

.careers-breadcrumb img {
  width: 28px;
  height: 28px;
  image-rendering: pixelated;
}

.careers-breadcrumb span {
  color: #a1a1aa;
  font-size: 12px;
}

.careers-breadcrumb span b {
  margin-left: 7px;
  color: #fff;
}

.careers-breadcrumb strong {
  color: #fac800;
  font-family: "Minercraftory", sans-serif;
  font-size: 19px;
  letter-spacing: 0.025em;
  text-shadow: 2px 2px #000;
}

.careers-main {
  width: 100%;
  flex: 1;
  padding-top: 58px;
}

.staff-section > h1,
.positions-section > h2 {
  margin: 0;
  color: #fff;
  font-family: "Minercraftory", sans-serif;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.025em;
  text-shadow: 3px 3px #18181b;
}

.staff-section > h1 {
  margin-bottom: 25px;
}

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

.staff-card {
  min-width: 0;
  height: 173px;
  padding: 22px 14px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  text-align: center;
  background: #28282b;
  border: 2px solid #050507;
  outline: 1px solid #414147;
  box-shadow: inset 0 2px rgba(255, 255, 255, 0.035), 0 3px #030305;
}

.staff-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  image-rendering: pixelated;
}

.staff-card h2 {
  max-width: 100%;
  margin: 2px 0 5px;
  overflow: hidden;
  color: #fff;
  font-family: "Minercraftory", sans-serif;
  font-size: 16px;
  line-height: 1.05;
  white-space: nowrap;
  text-overflow: clip;
  text-shadow: 2px 2px #000;
}

.staff-card span {
  padding: 5px 9px 4px;
  color: #ff9aa2;
  font-size: 9px;
  background: rgba(127, 12, 18, 0.48);
  border: 1px solid #cf2633;
}

.staff-card p {
  margin: 7px 0 0;
  color: #b0b0b8;
  font-size: 9px;
}

.positions-section {
  margin-top: 40px;
  padding-top: 43px;
  border-top: 1px solid #202024;
}

.positions-kicker {
  margin: 0 0 13px;
  color: #ffe000;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.positions-section > h2 {
  margin-bottom: 35px;
  font-size: 38px;
}

.empty-positions {
  width: 100%;
  min-height: 72px;
  padding: 23px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7f7f89;
  font-size: 15px;
  text-align: center;
  background: #28282b;
  border: 2px solid #050507;
  outline: 1px solid #414147;
  box-shadow: inset 0 2px rgba(255, 255, 255, 0.035), 0 3px #030305;
}

.careers-footer {
  position: absolute;
  left: 80px;
  right: 0;
  bottom: 0;
  height: 66px;
  padding-top: 26px;
  color: #777780;
  font-size: 10px;
  text-align: center;
  border-top: 1px solid #1d1d21;
}

@media (max-width: 1350px) {
  .careers-page {
    padding-inline: 40px;
  }

  .staff-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

@media (max-width: 1023px) {
  .careers-page {
    margin-left: 0;
    padding: 14px 17px 82px;
  }

  .careers-header {
    padding-left: 69px;
  }

  .careers-footer {
    left: 0;
  }
}

@media (max-width: 640px) {
  .careers-page {
    min-width: 500px;
    padding: 14px 17px 82px;
  }

  .careers-header {
    height: 65px;
    padding-left: 69px;
  }

  .careers-breadcrumb {
    gap: 12px;
  }

  .careers-breadcrumb img {
    width: 28px;
    height: 28px;
  }

  .careers-breadcrumb span,
  .careers-header .server-status {
    display: none;
  }

  .careers-breadcrumb strong {
    font-size: 18px;
  }

  .careers-main {
    padding-top: 42px;
  }

  .staff-section > h1 {
    margin-bottom: 27px;
    font-size: 24px;
  }

  .staff-grid {
    grid-template-columns: 1fr;
    gap: 21px;
  }

  .staff-card {
    height: 172px;
    padding-top: 18px;
  }

  .positions-section {
    margin-top: 42px;
    padding-top: 40px;
  }

  .positions-kicker {
    margin-bottom: 10px;
    text-align: center;
  }

  .positions-section > h2 {
    margin-bottom: 37px;
    font-size: 30px;
    text-align: center;
  }

  .empty-positions {
    min-height: 96px;
    padding-inline: 48px;
    font-size: 14px;
    line-height: 1.6;
  }

  .careers-footer {
    width: 500px;
    padding-left: 12px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
  }
}
