﻿/* ── 招聘页公用 ── */
.recruit-banner {
  position: relative;
  height: 340px;
  background: url('../医院概况/院容院貌.png') center / cover no-repeat;
}

.recruit-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.recruit-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}

.recruit-dots span:first-child {
  background: #fff;
}

/* ── 面包屑 ── */
.recruit-crumb {
  padding: 46px 0 24px;
}

.recruit-crumb-inner {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.recruit-crumb-title {
  position: relative;
  flex-shrink: 0;
  width: 130px;
  height: 86px;
  padding: 20px 0 0 20px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  border-radius: 0 0 10px 0;
  background: #00499a;
}

.recruit-crumb-title::after {
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: 36px;
  height: 3px;
  content: "";
  background: #fff;
}

.recruit-crumb-right {
  flex: 1;
}

.recruit-crumb-links {
  display: flex;
  align-items: flex-end;
  gap: 0;
  padding-bottom: 0;
  border-bottom: 2px solid #2f6db6;
  width: 100%;
}

.recruit-crumb-links a {
  height: 32px;
  padding: 0 18px;
  color: #333;
  font-size: 15px;
  line-height: 32px;
}

.recruit-crumb-links a.active,
.recruit-crumb-links a:hover {
  color: #fff;
  background: #00499a;
}

.recruit-position {
  margin-top: 6px;
  color: #315d93;
  font-size: 12px;
}

/* ── 加入我们 - 表单 ── */
.recruit-form-section {
  padding: 0 0 80px;
}

.recruit-page .recruit-form-section > .layout {
  width: 1400px;
  max-width: calc(100% - 40px);
}

.recruit-form-title {
  margin: 0 0 36px;
  color: #0b4c9b;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 4px;
}

.recruit-form {
  display: block;
  width: 1400px;
  max-width: 100%;
  margin: 0 auto;
}

/* 竖排字段：标签一行，输入框独占全宽下一行 */
.recruit-field {
  width: 100%;
  max-width: 100%;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.recruit-field > label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}

.recruit-field legend {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  padding: 0;
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}

.recruit-required {
  color: #d92828;
}

.recruit-field input[type="text"],
.recruit-field input[type="tel"] {
  display: block;
  width: 100%;
  height: 40px;
  border: 1px solid #c8d8ed;
  background: #fff;
  font-size: 15px;
  padding: 0 12px;
  outline: none;
  box-sizing: border-box;
}

.recruit-field input[type="text"]:focus,
.recruit-field input[type="tel"]:focus {
  border-color: #0b4c9b;
}

.recruit-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: center;
  font-size: 15px;
  color: #333;
  margin-top: 4px;
}

.recruit-radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 15px;
}

.recruit-form-hint {
  width: 100%;
  max-width: 100%;
  margin: 24px 0 36px;
  color: #d92828;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
}

.recruit-form-hint a {
  color: #d92828;
}

.recruit-submit-row {
  width: 100%;
  max-width: 100%;
  text-align: center;
  margin-top: 10px;
}

.recruit-submit-row button {
  width: 120px;
  height: 40px;
  border: 0;
  border-radius: 3px;
  color: #fff;
  font-size: 16px;
  background: #0b4c9b;
  cursor: pointer;
  letter-spacing: 4px;
}

.recruit-page .recruit-form {
  display: block !important;
  width: 1400px !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

.recruit-page .recruit-form .recruit-field,
.recruit-page .recruit-form .recruit-form-hint,
.recruit-page .recruit-form .recruit-submit-row,
.recruit-page .recruit-form .recruit-contact-section-form {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.recruit-contact-section-form {
  margin-top: 48px;
  padding: 0;
  border: 0;
  background: transparent;
}

.recruit-contact-section-form .recruit-contact-title {
  margin: 0 0 18px;
  color: #0b4c9b;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.recruit-contact-section-form .recruit-contact-body p {
  margin: 0 0 10px;
  color: #333;
  font-size: 15px;
  line-height: 1.9;
}

.recruit-contact-section-form .recruit-contact-body p:last-child {
  margin-bottom: 0;
}

/* ── 招聘要求 - 岗位列表 ── */
.recruit-requirements {
  padding: 0 0 118px;
}

.recruit-wrap {
  width: 1400px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

.recruit-page-title {
  margin: 0 0 70px;
  color: #00499a;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 6px;
}

.job-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 22px;
  align-items: start;
}

.job-card {
  overflow: hidden;
  min-height: 96px;
  border: 1px solid #e5edf7;
  border-radius: 0 0 26px 0;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
  transition: border-color .24s ease, box-shadow .24s ease, background .24s ease, min-height .24s ease;
  outline: none;
}

.job-card:hover,
.job-card:focus,
.job-card.is-expanded {
  min-height: 292px;
  border-color: #00499a;
  background: #00499a;
  box-shadow: 0 12px 28px rgba(0, 73, 154, .18);
}

.job-card__head {
  display: flex;
  min-height: 96px;
  align-items: center;
  gap: 14px;
  padding: 0 34px;
}

.job-card__icon-wrap {
  flex: 0 0 auto;
  position: relative;
  width: 34px;
  height: 34px;
}

.job-card__icon {
  position: absolute;
  inset: 0;
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  transition: opacity .2s ease;
}

.job-card__icon-active {
  opacity: 0;
}

.job-card:hover .job-card__icon-default,
.job-card:focus .job-card__icon-default,
.job-card.is-expanded .job-card__icon-default {
  opacity: 0;
}

.job-card:hover .job-card__icon-active,
.job-card:focus .job-card__icon-active,
.job-card.is-expanded .job-card__icon-active {
  opacity: 1;
}

.job-card__head h2 {
  flex: 1;
  margin: 0;
  color: #00499a;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
}

.job-card:hover .job-card__head h2,
.job-card:focus .job-card__head h2,
.job-card.is-expanded .job-card__head h2 {
  color: #fff;
}

.job-card__arrow {
  position: relative;
  flex: 0 0 auto;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 7px solid #c8c8c8;
  transition: transform .24s ease, border-color .24s ease;
}

.job-card:hover .job-card__arrow,
.job-card:focus .job-card__arrow,
.job-card.is-expanded .job-card__arrow {
  border-top: 7px solid #fff;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 0;
}

.job-card__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}

.job-card:hover .job-card__body,
.job-card:focus .job-card__body,
.job-card.is-expanded .job-card__body {
  max-height: 218px;
}

.job-card__body-scroll {
  height: 194px;
  max-height: 194px;
  margin: -8px 34px 24px;
  padding: 0 16px 0 0;
  overflow-y: auto;
  overflow-x: hidden;
  color: #fff;
  font-size: 13px;
  line-height: 1.72;
  scrollbar-color: rgba(255, 255, 255, .86) rgba(255, 255, 255, .22);
  scrollbar-width: thin;
}

.job-card__body-scroll::-webkit-scrollbar {
  width: 7px;
  height: 0;
}

.job-card__body-scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
}

.job-card__body-scroll::-webkit-scrollbar-thumb {
  border: 1px solid rgba(0, 73, 154, .35);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
}

.job-card__body-scroll p {
  margin: 0 0 5px;
}

.job-card__body-scroll p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .job-board {
    grid-template-columns: 1fr;
  }
}

/* ── 招聘要求 - 职位列表 ── */
.recruit-list-section {
  padding: 0 0 60px;
}

.recruit-list-title {
  margin: 0 0 36px;
  color: #333;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 4px;
}

.recruit-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.recruit-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 普通卡片 */
.recruit-card {
  border: 1px solid #d8e6f5;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
}

.recruit-card:hover {
  border-color: #0b4c9b;
}

.recruit-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 20px;
}

.recruit-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0b4c9b;
  font-size: 16px;
  font-weight: 500;
}

.recruit-card-left i {
  font-size: 26px;
  color: #0b4c9b;
}

.recruit-card-arrow {
  font-size: 22px;
  color: #aac2e0;
}

/* 展开状态 */
.recruit-card-open {
  background: #0b4c9b;
  border-color: #0b4c9b;
}

.recruit-card-open .recruit-card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.recruit-card-open .recruit-card-left {
  color: #fff;
}

.recruit-card-open .recruit-card-left i {
  color: #fff;
}

.recruit-card-open .recruit-card-arrow {
  color: #fff;
}

.recruit-card-body {
  display: none;
  padding: 16px 20px 20px;
}

.recruit-card-open .recruit-card-body {
  display: block;
}

.recruit-card-body p {
  margin: 0 0 8px;
  color: #fff;
  font-size: 13px;
  line-height: 1.85;
}

/* ── 联系方式 ── */
.recruit-contact-section {
  padding: 0 0 80px;
}

.recruit-contact-title {
  margin: 0 0 20px;
  color: #0b4c9b;
  font-size: 16px;
  font-weight: 700;
}

.recruit-contact-body p {
  margin: 0 0 10px;
  color: #333;
  font-size: 14px;
  line-height: 1.9;
}
