*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-width: 960px;
  overflow-x: auto;
}

body.page-home {
  min-width: 960px;
  background: #f6f7fb;
  color: #222222;
  font-family: "Noto Sans SC", "PingFang SC", -apple-system, "Helvetica Neue", "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  background: #202329;
  color: #ffffff;
}

.header-inner {
  display: flex;
  align-items: center;
  height: 50px;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark {
  color: #00c1c1;
}

.city-switch {
  position: relative;
  flex: none;
}

.city-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
}

.city-btn span {
  color: #8d939d;
  font-size: 12px;
}

.city-menu {
  position: absolute;
  top: 32px;
  left: 0;
  z-index: 5;
  display: none;
  min-width: 120px;
  padding: 6px 0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.city-switch.is-open .city-menu {
  display: block;
}

.city-menu button {
  display: block;
  width: 100%;
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: #222222;
  text-align: left;
  cursor: pointer;
}

.city-menu button:hover,
.city-menu button.is-current {
  color: #00a6a7;
  background: #f3fbfb;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
}

.nav a {
  color: #d0d4dc;
  font-size: 14px;
}

.nav a.is-current,
.nav a:hover {
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

.header-actions a {
  color: #ffffff;
  font-size: 14px;
}

.header-actions a:hover {
  color: #7ee0e0;
}

.hero {
  padding: 28px 0 8px;
  background:
    linear-gradient(180deg, #e7f7f7 0%, #f6f7fb 72%);
}

.search-bar {
  display: flex;
  align-items: center;
  height: 54px;
  padding: 0 6px 0 18px;
  border: 2px solid #00bebd;
  border-radius: 12px;
  background: #ffffff;
}

.search-type {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  height: 100%;
  padding-right: 16px;
  border: none;
  border-right: 1px solid #e6e8ee;
  background: transparent;
  color: #222222;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.search-bar input {
  flex: 1;
  height: 100%;
  padding: 0 16px;
  border: none;
  outline: none;
  color: #222222;
  font-size: 16px;
  background: transparent;
}

.search-bar input::placeholder {
  color: #b0b4bb;
}

.search-submit {
  flex: none;
  height: 40px;
  padding: 0 22px;
  border: none;
  border-radius: 8px;
  background: #00bebd;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
}

.search-submit:hover {
  background: #00a6a7;
}

.hot-keys {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 22px;
  color: #8a8f98;
  font-size: 13px;
}

.hot-keys button {
  padding: 4px 12px;
  border: none;
  border-radius: 999px;
  background: #ffffff;
  color: #00a6a7;
  cursor: pointer;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 16px;
  padding-bottom: 28px;
}

.category-card,
.promo,
.job-card,
.company-card {
  background: #ffffff;
  border-radius: 12px;
}

.category-card {
  padding: 8px 8px 12px;
}

.category-page {
  display: none;
}

.category-page.is-active {
  display: block;
}

.category-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 28px;
  align-items: center;
  min-height: 52px;
  padding: 0 12px;
  border-bottom: 1px dashed #f0f1f4;
}

.category-row:last-child {
  border-bottom: none;
}

.category-name {
  border: none;
  background: transparent;
  color: #222222;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.category-links button,
.category-more {
  border: none;
  background: transparent;
  color: #666666;
  font-size: 14px;
  cursor: pointer;
}

.category-links button:hover,
.category-name:hover,
.category-more:hover {
  color: #00a6a7;
}

.category-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 0;
  color: #8a8f98;
}

.pager-btns {
  display: flex;
  gap: 8px;
}

.pager-btns button {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: #e7f7f7;
  color: #00a6a7;
  cursor: pointer;
}

.pager-btns button:disabled {
  color: #c5c8ce;
  background: #f3f4f6;
  cursor: default;
}

.promo-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.promo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 168px;
  padding: 28px 32px;
  color: #ffffff;
}

.promo-a {
  background: linear-gradient(120deg, #5b4bff 0%, #8a5cff 55%, #c06bff 100%);
}

.promo-b {
  background: linear-gradient(120deg, #6a3cff 0%, #7a4dff 40%, #b15cff 100%);
}

.promo-tag {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 13px;
}

.promo h2 {
  margin-bottom: 8px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}

.promo p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.section {
  padding: 12px 0 28px;
}

.section-title {
  margin-bottom: 18px;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
}

.job-tabs {
  display: flex;
  gap: 28px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e8eaef;
}

.job-tabs button {
  position: relative;
  padding: 0 0 12px;
  border: none;
  background: transparent;
  color: #666666;
  font-size: 16px;
  cursor: pointer;
}

.job-tabs button.is-active {
  color: #00a6a7;
  font-weight: 700;
}

.job-tabs button.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 2px;
  background: #00a6a7;
}

.job-list {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.job-list.is-active {
  display: grid;
}

.job-card {
  display: block;
  padding: 18px 18px 14px;
}

.job-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.job-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.job-title {
  color: #222222;
  font-size: 16px;
  font-weight: 700;
}

.job-pay {
  flex: none;
  color: #fe574a;
  font-size: 16px;
  font-weight: 700;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
}

.job-tags span {
  padding: 2px 8px;
  border-radius: 4px;
  background: #f6f7fb;
  color: #666666;
  font-size: 12px;
}

.job-meta {
  display: flex;
  justify-content: space-between;
  color: #8a8f98;
  font-size: 13px;
}

.empty-note {
  display: none;
  padding: 28px 0 8px;
  color: #8a8f98;
  text-align: center;
}

.empty-note.is-visible {
  display: block;
}

.company-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.company-card {
  padding: 18px;
}

.company-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.company-logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #e7f7f7;
  color: #00a6a7;
  font-size: 18px;
  font-weight: 700;
}

.company-name {
  font-size: 16px;
  font-weight: 700;
}

.company-desc {
  margin-top: 4px;
  color: #8a8f98;
  font-size: 12px;
}

.company-jobs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.company-jobs a {
  display: flex;
  justify-content: space-between;
  color: #444444;
}

.company-jobs a:hover {
  color: #00a6a7;
}

.site-footer {
  margin-top: 12px;
  padding: 36px 0 28px;
  background: #ffffff;
  color: #8a8f98;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.footer-brand {
  color: #222222;
  font-size: 18px;
  font-weight: 700;
}

.site-footer h3 {
  margin-bottom: 12px;
  color: #222222;
  font-size: 14px;
}

.site-footer a,
.site-footer p {
  display: block;
  margin-bottom: 8px;
  color: #8a8f98;
  line-height: 1.6;
}

.site-footer a:hover {
  color: #00a6a7;
}

.footer-copy {
  padding-top: 16px;
  border-top: 1px solid #f0f1f4;
  text-align: center;
}

.footer-beian {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 0;
  margin: 0;
  text-align: center;
}

.site-footer .footer-beian {
  display: flex;
}

.site-footer .footer-beian a {
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: inherit;
}

.site-footer .footer-beian a.gongan-beian {
  margin-left: 32px;
}

.site-footer .gongan-beian img {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}
