@charset "utf-8";
/* 人才招聘模块样式 —— 复用 css.css 的 content_w(1360px)、主题色 #172A6C */

/* ============ 页面顶部 banner ============ */
.recruit_banner{ width: 100%; min-width: 85rem; height: 20rem; background: linear-gradient(120deg,#0f1f52,#172A6C 55%,#254091); display: flex; align-items: center; justify-content: center;}
.recruit_banner_title{ color: #fff; font-size: 2.75rem; letter-spacing: 0.5rem; font-weight: 600;}

/* ============ 一级 Tab（人才招聘/人才培养/江淮青年）============ */
.recruit_tabs{ border-bottom: 1px solid #e6e8ef;}
.recruit_tabs_body{ display: flex; align-items: center; height: 72px;}
.recruit_tab{ height: 72px; line-height: 72px; padding: 0 40px; font-size: 20px; color: #333; position: relative; cursor: pointer; transition: color .2s;}
.recruit_tab:hover{ color: #172A6C;}
.recruit_tab.curr{ color: #172A6C; font-weight: 600;}
.recruit_tab.curr::after{ content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 60%; height: 3px; background: #172A6C; border-radius: 2px;}

/* ============ 列表主体：左筛选 + 右卡片 ============ */
.recruit_main{ display: flex; align-items: flex-start; gap: 24px; padding: 32px 0 64px;}

/* 左侧筛选 */
.recruit_filter{ width: 240px; flex: 0 0 240px; background: #fff; border: 1px solid #eef0f5; border-radius: 8px; overflow: hidden;}
.recruit_filter_tit{ height: 52px; line-height: 52px; padding: 0 20px; font-size: 18px; color: #fff; background: #172A6C; font-weight: 600;}
.recruit_filter_list{ padding: 8px 0;}
.recruit_filter_li{ display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 20px; font-size: 16px; color: #555; cursor: pointer; transition: all .2s; position: relative;}
.recruit_filter_li:hover{ background: #f5f7fb; color: #172A6C;}
.recruit_filter_li.curr{ background: #eef2fb; color: #172A6C; font-weight: 600;}
.recruit_filter_li.curr::before{ content: ""; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; background: url(../img/recruit-list/选中.png) no-repeat center center / 100% 100%;}
.recruit_filter_li .filter_name{ padding-left: 32px;}
.recruit_filter_li .num{ font-size: 13px; color: #99a; }

/* 右侧岗位卡片 */
.recruit_list{ flex: 1; min-width: 0;}
.recruit_list_head{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;}
.recruit_list_head .total{ font-size: 14px; color: #888;}
.recruit_list_head .total b{ color: #172A6C; font-size: 18px; padding: 0 4px;}

.job_card{
  border: 1px solid #eef0f5; border-radius: 8px; padding: 24px 28px; margin-bottom: 16px; transition: all .25s ease; position: relative;
  background: #fff;
}
.job_card:hover{
  box-shadow: 0 8px 24px rgba(23,42,108,.12); transform: translateY(-2px); border-color: #c8d0e8
}
.job_card:hover .job_card_name { color: #fff }
.job_card:hover .job_card_btn span { display: inline }

.job_card_top{ display: flex; align-items: center; justify-content: space-between;}
.job_card_name{ font-size: 21px; color: #222; font-weight: 600; line-height: 36px}
.job_card_salary{ font-size: 20px; color: #e6572e; font-weight: 600;}
.job_card_tags{ margin-top: 16px; display: flex; flex-wrap: wrap; gap: 16px;}
.job_tag{
  display: inline-flex; align-items: center; height: 40px; padding: 0 10px; font-size: 14px; color: #666; background: none; border-radius: 0;
  background-color: #F7F8FD; border-radius: 10px;
}
.job_tag .tag_icon{ width: 16px; height: 16px; margin-right: 6px;}
.job_card_bottom{ margin-top: 20px; display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed #eef0f5; padding-top: 16px;}
.job_card_date{ font-size: 14px; color: #aaa;}
.job_card_btn{
  position: absolute; top: 50%; right: 28px; transform: translateY(-50%);
  display: inline-flex; align-items: center; height: 38px; padding: 0 2px; font-size: 15px; color: #172A6C; transition: all .2s; cursor: pointer;
  span { display: none; color: #fff }
}
.job_card_btn .btn_arrow{ width: 20px; height: 20px; margin-left: 6px; transition: transform .2s;}
.job_card_btn .btn_arrow.state-0 { display: inline-block }
.job_card_btn .btn_arrow.state-1 { display: none }
.job_card_btn:hover{ color: #23409a;}
.job_card_btn:hover .btn_arrow{ transform: translateX(4px);}
.job_card:hover .btn_arrow.state-0 { display: none }
.job_card:hover .btn_arrow.state-1 { display: inline-block }

.recruit_empty{ padding: 80px 0; text-align: center; color: #aaa; font-size: 16px;}

/* 分页 */
.recruit_page{ display: flex; justify-content: center; align-items: center; gap: 8px; padding: 24px 0;}
.recruit_page a, .recruit_page span{ min-width: 36px; height: 36px; line-height: 36px; padding: 0 8px; text-align: center; border: 1px solid #e2e6f0; border-radius: 4px; color: #555; cursor: pointer; font-size: 14px;}
.recruit_page .curr{ background: #172A6C; color: #fff; border-color: #172A6C;}
.recruit_page a:hover{ border-color: #172A6C; color: #172A6C;}

/* ============ 详情页 ============ */
.detail_wrap{ padding: 32px 0 64px;}
.rec_detail_head{ background: #F8FAFC; border-radius: 11px; padding: 32px 36px; position: relative;}
.rec_detail_head_top{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;}
.rec_detail_title{ font-size: 28px; color: #1c1c1c; font-weight: 700;}
.rec_detail_salary{ margin-top: 8px; font-size: 22px; color: #e6572e; font-weight: 600;}
.rec_apply_btn{
  flex: 0 0 auto; height: 46px; line-height: 46px; padding: 0 36px; font-size: 17px; color: #fff;
  background: linear-gradient( 136deg, #0040A2 0%, #0F2B6F 100%);
  border: none; border-radius: 16px; cursor: pointer; transition: all .2s;
}
.rec_detail_meta{ margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 32px;}
.rec_meta_li{ display: flex; align-items: center; font-size: 15px; color: #666;}
.rec_meta_li .label{ color: #999; margin-right: 8px; line-height: 1.3; }
.rec_meta_li .val{ color: #333; font-weight: 500; line-height: 1.3;}

.rec_section{ padding: 28px 36px; margin-top: 20px;}
.rec_section.border-bottom { border-bottom: 1px solid #E5E5E5 }
.rec_section_tit{ font-size: 20px; color: #172A6C; font-weight: 600; padding-left: 14px; border-left: 4px solid #172A6C; margin-bottom: 20px;}
.rec_section .rich_text{ color: #444; font-size: 15px; }

.rec_back{ display: inline-block; margin-top: 20px; font-size: 15px; color: #172A6C;}

/* ============ 投递简历弹窗 ============ */
.rec_modal_mask{ position: fixed; inset: 0; background: rgba(0,0,0,.5); display: none; align-items: center; justify-content: center; z-index: 2000;}
.rec_modal_mask.show{ display: flex;}
.rec_modal{ width: 700px; background: #fff; border-radius: 12px; overflow: hidden; animation: fadeToTop10 .25s ease both;}
.rec_modal_head{ height: 56px; padding: 0 24px; color: #fff; display: flex; align-items: center; justify-content: space-between;}
.rec_modal_head .t{ font-size: 18px; font-weight: 600;}
.rec_modal_close{ font-size: 24px; color: #fff; cursor: pointer; line-height: 1; opacity: .85;}
.rec_modal_close:hover{ opacity: 1;}
.rec_modal_body{ padding: 24px 28px 8px;}
.rec_form_item{ margin-bottom: 20px;}
.rec_form_label{ font-size: 15px; color: #333; margin-bottom: 8px;}
.rec_form_label .req{ color: #e6572e; margin-right: 4px;}
.rec_form_input{ width: 100%; height: 44px; padding: 0 14px; font-size: 15px; color: #333; border: 1px solid #dfe3ec; border-radius: 6px; transition: border-color .2s;}
.rec_file_box{ display: flex; align-items: center; gap: 12px;}
.rec_file_btn{ flex: 0 0 auto; height: 44px; line-height: 44px; padding: 0 20px; font-size: 15px; color: #172A6C; background: #eef2fb; border: 1px dashed #b7c1e0; border-radius: 6px; cursor: pointer;}
.rec_file_name{ font-size: 14px; color: #888; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.rec_file_tip{ margin-top: 6px; font-size: 13px; color: #aaa;}
.rec_modal_foot{ padding: 8px 28px 28px; text-align: center;}
.rec_submit_btn{ width: 320px; height: 48px; margin: 0 auto; font-size: 17px; color: #fff; background: #172A6C; border: none; border-radius: 16px; cursor: pointer; transition: background .2s;}
.rec_submit_btn:hover{ background: #23409a;}
.rec_submit_btn:disabled{ background: #9aa5c7; cursor: not-allowed;}

/* 轻量提示 */
.rec_toast{ position: fixed; left: 50%; top: 32px; transform: translateX(-50%); background: rgba(0,0,0,.8); color: #fff; padding: 12px 24px; border-radius: 6px; font-size: 15px; z-index: 3000; display: none;}
.rec_toast.show{ display: block; animation: fadeIn .2s;}

/* ============ 移动端响应式（一套页面同时兼容 PC / 手机）============ */
@media (max-width: 768px){
  /* 去掉桌面固定宽度，容器随屏幕自适应 */
  .content_min_w{ min-width: 0 !important; }
  .content_w{ width: auto !important; margin: 0 !important; padding: 0 14px !important; }

  /* 简化站点头部 */
  .content_min_w > .content_w[style]{ height: auto !important; flex-wrap: wrap; gap: 4px; padding-top: 12px !important; padding-bottom: 12px !important; }
  .content_min_w > .content_w[style] > a{ font-size: 18px !important; }
  .content_min_w > .content_w[style] > div{ font-size: 13px !important; }

  /* banner */
  .recruit_banner{ min-width: 0; height: 144px; }
  .recruit_banner_title{ font-size: 24px; letter-spacing: 4px; }

  /* 一级 Tab：横向可滚动 */
  .recruit_tabs_body{ height: auto; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .recruit_tab{ height: 52px; line-height: 52px; padding: 0 20px; font-size: 16px; white-space: nowrap; }

  /* 列表：筛选与岗位上下堆叠 */
  .recruit_main{ flex-direction: column; gap: 16px; padding: 20px 0 40px; }
  .recruit_filter{ width: 100%; flex: none; }
  .recruit_filter_list{ display: flex; flex-wrap: wrap; padding: 12px; gap: 8px; }
  .recruit_filter_li{ height: auto; padding: 8px 14px; border-left: none; border: 1px solid #e6e8ef; border-radius: 16px; position: relative; font-size: 14px; }
  .recruit_filter_li.curr{ border-color: #172A6C; background: #eef2fb; }
  .recruit_filter_li.curr::before{ display: none; }
  .recruit_filter_li .filter_name{ padding-left: 0; }
  .recruit_filter_li .num{ margin-left: 6px; }

  .job_card{ padding: 18px; }
  .job_card_top{ flex-direction: column; align-items: flex-start; gap: 6px; }
  .job_card_name{ font-size: 18px; }
  .job_card_salary{ font-size: 16px; }
  .job_card_tags{ gap: 12px; }
  .job_card_bottom{ flex-direction: column; align-items: flex-start; gap: 12px; }
  .job_card_btn{ width: 100%; justify-content: center; }

  /* 详情 */
  .detail_wrap{ padding: 20px 0 40px; }
  .rec_detail_head{ padding: 20px 18px; }
  .rec_detail_head_top{ flex-direction: column; gap: 16px; }
  .rec_apply_btn{ width: 100%; }
  .rec_detail_title{ font-size: 22px; }
  .rec_detail_salary{ font-size: 19px; }
  .rec_detail_meta{ grid-template-columns: 1fr; gap: 10px; }
  .rec_section{ padding: 20px 18px; }
  .rec_section_tit{ font-size: 18px; }
}