
/* ---- Page Banner ---- */
.page-banner {
  position: relative;
  margin-top: 0;
  padding-top: calc(var(--header-h) + var(--topbar-h));
  height: 360px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, #1a3a6e 40%, #1a5cff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.page-banner .banner-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,.06)'/%3E%3C/svg%3E") repeat;
  background-size: 60px 60px;
  pointer-events: none;
}
.page-banner .banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  width: 100%;
}
.page-banner .banner-content h1 {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: 3px;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(26,92,255,.4);
}
.page-banner .banner-content p {
  font-size: 1rem;
  opacity: .8;
  letter-spacing: 2px;
  margin-bottom: 0;
}

/* ============================================
   职位详情页 - rczp-detail.css
   ============================================ */

/* ---- 详情Banner ---- */
.detail-banner {
  position: relative;
  margin-top: 0;
  padding-top: calc(var(--header-h) + var(--topbar-h));
  height: calc(380px + var(--header-h) + var(--topbar-h));
  overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, #1a3a6e 40%, #1a5cff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.detail-banner .banner-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,.06)'/%3E%3C/svg%3E") repeat;
  background-size: 60px 60px;
}
.detail-banner .banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.detail-banner .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.detail-banner .breadcrumb a { color: rgba(255,255,255,.7); transition: opacity .3s; }
.detail-banner .breadcrumb a:hover { color: #fff; }

/* ---- Hero 卡片（职位标题+薪资） ---- */
.job-hero-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
}
.job-hero-left h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.job-meta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.job-meta-row .job-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: .82rem;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.15);
}
.job-dept-info {
  font-size: .92rem;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
}
.job-hero-right {
  text-align: right;
  flex-shrink: 0;
  margin-left: 32px;
}
.job-salary-big {
  font-size: 2.8rem;
  font-weight: 900;
  color: #ffd700;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(255,215,0,.25);
}
.apply-now-btn {
  display: inline-block;
  padding: 14px 44px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 50px;
  background: #ffd700;
  color: #0a1628;
  text-decoration: none;
  transition: all .3s;
  box-shadow: 0 4px 24px rgba(255,215,0,.3);
}
.apply-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,215,0,.45);
}

/* ---- 主布局：左内容 + 右边栏 ---- */
.detail-main {
  background: #f5f7fb;
  padding: 60px 0 80px;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

/* ---- 左侧内容块 ---- */
.detail-block {
  background: #fff;
  border-radius: 16px;
  padding: 36px 40px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.block-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0f3f9;
}
.block-header .block-icon {
  font-size: 1.4rem;
}
.block-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
}
.block-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.block-content li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  line-height: 1.8;
  color: #475569;
  font-size: .96rem;
}
.block-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-primary);
}

/* ---- 福利标签 ---- */
.benefit-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.ben-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: .9rem;
  color: #334155;
  background: linear-gradient(135deg, #eff6ff, #f0fdf4);
  border: 1px solid #dbeafe;
  transition: transform .2s;
}
.ben-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,106,255,.08);
}

/* ---- 投递表单 ---- */
.apply-form {
  margin-top: 8px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group.full-width { grid-column: 1 / -1; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  color: #334155;
  margin-bottom: 8px;
}
.form-group label em {
  color: #ef4444;
  font-style: normal;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: .94rem;
  font-family: inherit;
  color: #1e293b;
  background: #fafbfc;
  transition: border-color .3s;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0,106,255,.08);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* 文件上传 */
.file-upload-area {
  position: relative;
}
.file-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.file-upload-placeholder {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 36px 20px;
  text-align: center;
  background: #fafbfc;
  transition: border-color .3s, background .3s;
}
.file-upload-area:hover .file-upload-placeholder {
  border-color: var(--c-primary);
  background: #eff6ff;
}
.upload-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 8px;
}
.file-upload-placeholder p {
  color: #64748b;
  font-size: .9rem;
  line-height: 1.6;
  margin: 0;
}
.file-upload-placeholder small {
  color: #94a3b8;
}

.submit-btn {
  display: inline-block;
  padding: 14px 56px;
  font-size: 1.02rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  margin-top: 8px;
  transition: all .3s;
}
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,106,255,.3);
}

/* ---- 右侧边栏 ---- */
.sidebar-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.sidebar-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f3f9;
}

/* 公司信息 */
.company-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ci-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .9rem;
}
.ci-label {
  color: #64748b;
}
.ci-value {
  color: #1e293b;
  font-weight: 500;
}

/* 相关职位 */
.related-job-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.related-job-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  color: #334155;
  transition: all .2s;
  font-size: .9rem;
}
.related-job-item:hover {
  background: #eff6ff;
  color: var(--c-primary);
}
.rj-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}
.rj-salary {
  font-weight: 700;
  color: var(--c-primary);
  font-size: .88rem;
  white-space: nowrap;
}

/* 联系方式 */
.contact-mini p {
  font-size: .9rem;
  color: #475569;
  margin-bottom: 10px;
  line-height: 1.6;
}
.sidebar-email-btn {
  display: block;
  text-align: center;
  padding: 12px 0;
  border-radius: 10px;
  font-size: .9rem;
  text-decoration: none;
  margin-top: 16px;
}

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
  .detail-layout { grid-template-columns: 1fr; }
  .job-hero-card { flex-direction: column; text-align: center; }
  .job-hero-right { text-align: center; margin-left: 0; margin-top: 24px; }
  .job-meta-row { justify-content: center; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .detail-banner { height: auto; min-height: 420px; }
  .job-hero-card { padding: 28px 20px; }
  .job-hero-left h1 { font-size: 1.6rem; }
  .job-salary-big { font-size: 2rem; }
  .detail-block { padding: 24px 20px; }
}