@charset "UTF-8";
/**
 * 首页现代化增强样式
 * 基于2025-2026设计趋势，对小组件进行现代化升级
 * 保留老系统大框架布局，由 index11.css 控制
 */

/* ========== 全局基础增强 ========== */
html {
  scroll-behavior: smooth;
}

/* ========== 搜索框增强 ========== */
.search-box-modern .u1 {
  border: 1px solid #e8e8e8;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.search-box-modern .u1:focus-within {
  border-color: #d4380d;
}

/* ========== 热门搜索标签 ========== */
.hot-tags a {
  text-decoration: none;
}

/* ========== 卡片通用效果 ========== */
/* 轻阴影 + hover上浮 */
.zwlist .list,
.hrlist .list,
.icompany .comlist {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* ========== 按钮通用 ========== */
/* 微圆角 + hover发光 + active微缩放 */
input[type="submit"],
button {
  border-radius: 6px;
  transition: all .15s ease;
}
input[type="submit"]:active,
button:active {
  transform: scale(0.97);
}

/* ========== 标签/Tag ========== */
/* 胶囊形标签 */
.tag-pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 20px;
  background-color: rgba(22,119,255,0.08);
  color: #1677ff;
  transition: background-color .2s ease;
}
.tag-pill:hover {
  background-color: rgba(22,119,255,0.15);
}
.tag-pill--hot {
  background-color: rgba(212,56,13,0.08);
  color: #d4380d;
}
.tag-pill--hot:hover {
  background-color: rgba(212,56,13,0.15);
}

/* ========== 输入框聚焦态 ========== */
input[type="text"]:focus,
input[type="search"]:focus {
  border-color: #d4380d !important;
  box-shadow: 0 0 0 2px rgba(212,56,13,0.1);
  outline: none;
}

/* ========== 列表项hover ========== */
.zwlist .list,
.hrlist .list {
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

/* ========== 下拉菜单平滑动画 ========== */
#toplxxiala {
  transition: opacity .2s ease, transform .2s ease;
  transform-origin: top left;
}

/* ========== 面包屑 ========== */
.breadcrumb {
  font-size: 14px;
  color: #999;
}
.breadcrumb a {
  color: #1677ff;
  transition: color .2s ease;
}
.breadcrumb a:hover {
  color: #0d5bcc;
}
.breadcrumb .separator {
  margin: 0 6px;
  color: #999;
}
.breadcrumb .current {
  color: #333;
  cursor: default;
}

/* ========== 分页 ========== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 20px 0;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 14px;
  border: 1px solid #e8e8e8;
  color: #666;
  transition: all .2s ease;
  text-decoration: none;
}
.pagination a:hover {
  border-color: #d4380d;
  color: #d4380d;
  background-color: rgba(212,56,13,0.04);
}
.pagination .active {
  background-color: #d4380d;
  border-color: #d4380d;
  color: #fff;
}

/* ========== 无障碍：sr-only ========== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ========== 首页区块宽度统一 ========== */
/* 确保所有首页区块与 .yjcode 容器宽度一致，右侧内容完全靠边 */
.indexcap,
.icompany,
.zwlist,
.hrlist,
.newsmain,
.link {
  width: 1200px !important;
  box-sizing: border-box;
}
/* 移除右侧padding，使内容完全靠边 */
.indexcap {
  padding: 0 0 0 10px !important;
}

/* ========== 推荐雇主卡片均匀分布 ========== */
.icompany {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  padding: 0 !important;
  float: none !important;
}
.icompany .comlist {
  width: calc((1200px - 100px) / 6) !important; /* 6个卡片，间距均匀 */
  margin: 18px 0 0 0 !important;
  float: none !important;
  flex-shrink: 0 !important;
}
/* 当卡片不足6个时，保持左侧排列 */
.icompany .comlist:nth-child(6n) {
  margin-right: 0 !important;
}

/* ========== 最新职位卡片均匀分布 ========== */
.zwlist {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  padding: 0 !important;
  float: none !important;
}
.zwlist .list {
  width: calc((1200px - 30px) / 4) !important; /* 4个卡片，间距均匀 */
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  float: none !important;
  flex-shrink: 0 !important;
}
.zwlist .list:nth-child(4n) {
  margin-right: 0 !important;
}

/* ========== 最新人才卡片均匀分布 ========== */
.hrlist {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  padding: 0 !important;
  float: none !important;
}
.hrlist .list {
  width: calc((1200px - 30px) / 4) !important; /* 4个卡片，间距均匀 */
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  float: none !important;
  flex-shrink: 0 !important;
}
.hrlist .list:nth-child(4n) {
  margin-right: 0 !important;
}

/* ========== 资讯区均匀分布 ========== */
.newsmain {
  display: flex !important;
  justify-content: space-between !important;
  padding: 0 !important;
  float: none !important;
}
.newsmain .dmain {
  width: calc((1200px - 20px) / 2) !important; /* 2个区块 */
  margin: 15px 0 20px 0 !important;
  float: none !important;
  flex-shrink: 0 !important;
}

/* ========== 友情链接均匀分布 ========== */
.link {
  padding-right: 0 !important;
}
.link span {
  margin-right: 18px !important;
}

/* ========== 响应式断点 ========== */
/* 平板 */
@media screen and (max-width:1199px) {
  .banner .adlist1 {
    width: 100% !important;
  }
  .banner .adlist2 {
    width: 100% !important;
    display: flex !important;
    gap: 2px;
  }
  .banner .adlist2 .picxiao {
    flex: 1;
  }
}

/* 手机 */
@media screen and (max-width:767px) {
  .search-box-modern .u1 .l1 {
    width: 80px !important;
  }
  .search-box-modern .u1 .l1 #topnowlx {
    font-size: 14px;
  }
  .hot-tags {
    padding-left: 10px !important;
  }
  .hot-tags a {
    font-size: 12px;
    padding: 2px 8px;
    margin: 0 4px 4px 0;
  }
  .zwlist .list .u1,
  .hrlist .list .u1 {
    margin: 10px !important;
    width: auto !important;
  }
  .zwlist .list .u2 {
    margin: 8px 10px 10px 10px !important;
    width: auto !important;
  }
  .newsmain .dmain {
    width: 100% !important;
    margin: 10px 0 !important;
  }
  .newsmain .dmain .u1 .l1 {
    width: 100% !important;
    height: auto !important;
  }
  .newsmain .dmain .u1 .l1 img {
    width: 100% !important;
    height: auto !important;
  }
  .newsmain .dmain .u1 .l2 {
    width: 100% !important;
    margin: 10px 0 0 0 !important;
  }
  .indexcap {
    width: 100% !important;
  }
  .link {
    width: 100% !important;
    height: auto !important;
  }
}

/* ========== indexcap 标题装饰 - 替代背景图 ========== */
/* 语义化区块标题（替代 ul.indexcap） */
.index-section{display:flex;align-items:center;justify-content:space-between;border-radius:6px 6px 0 0;padding:0 0 0 10px !important;width:1200px !important;box-sizing:border-box;}
.index-section-title{margin:0;font-size:16px;font-weight:600;color:#333;line-height:inherit;}
.index-section-title .a1{position:relative;}
.index-section-title .a1::after{content:'';position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:40px;height:3px;background:#d4380d;border-radius:2px;}
.index-section-title .a1::before{content:'';position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:18px;background:#d4380d;border-radius:2px;}
.index-section .btn-more{display:inline-flex;align-items:center;gap:4px;padding:4px 14px;border-radius:16px;font-size:13px;color:#999;background-color:#f5f5f5;border:1px solid #eee;transition:all .2s ease;text-decoration:none;line-height:20px;}
.index-section .btn-more:hover{color:#d4380d;background-color:rgba(212,56,13,0.06);border-color:rgba(212,56,13,0.2);}
.index-section .btn-more:active{transform:scale(0.97);}
.index-section .btn-more .arrow{display:inline-block;transition:transform .2s ease;font-size:12px;}
.index-section .btn-more:hover .arrow{transform:translateX(2px);}
/* 移动端适配 */
@media screen and (max-width:767px){
  .index-section{width:100% !important;}
}

/* ========== 资讯区标题装饰 - 替代背景图 ========== */
.newsmain .dmain .d1::before{content:'';display:inline-block;width:3px;height:16px;background:#d4380d;border-radius:2px;margin-right:8px;vertical-align:middle;}

/* 微信端特殊适配 */
@media screen and (max-width:767px) {
  /* 禁用hover效果（触摸设备） */
  .zwlist .list:hover,
  .hrlist .list:hover,
  .icompany .comlist:hover {
    transform: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  }
  /* 触摸目标最小44px */
  .hot-tags a {
    min-height: 32px;
    line-height: 28px;
    padding: 4px 12px;
  }
}

/* ========== 底部版权区SVG图标对齐 ========== */
.yanglaojob-banquan-box ul{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:24px;
  padding:12px 0;
  margin:0;
  list-style:none;
}
.yanglaojob-banquan-box ul li{
  display:flex;
  align-items:center;
  justify-content:center;
}
.yanglaojob-banquan-box ul li a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:50%;
  background:rgba(255,255,255,0.08);
  color:rgba(255,255,255,0.6);
  transition:all .2s ease;
  position:relative;
}
.yanglaojob-banquan-box ul li a:hover{
  background:rgba(212,56,13,0.15);
  color:#d4380d;
}
.yanglaojob-banquan-box ul li a:focus{
  background:rgba(212,56,13,0.15);
  color:#d4380d;
  outline:2px solid #d4380d;
  outline-offset:2px;
}
.yanglaojob-banquan-box ul li a:hover div,
.yanglaojob-banquan-box ul li a:focus div{
  display:block;
}
.yanglaojob-banquan-box ul li a svg{
  width:20px;
  height:20px;
  flex-shrink:0;
}
.yanglaojob-banquan-box ul li a div{
  display:none;
}

/* ========== 底部客服热线 ========== */
.yanglaojob-kefu{background:#fff;border-top:1px solid #f0f0f0;padding:24px 0;}
.yanglaojob-kefu-box{display:flex;align-items:flex-start;justify-content:center;gap:48px;max-width:1200px;margin:0 auto;padding:0 20px;}
.yanglaojob-kefu-box > div{display:flex;align-items:center;gap:16px;}
.yanglaojob-kefu-box .mc img{width:80px;height:80px;border-radius:50%;object-fit:cover;}
.yanglaojob-kefu-box p{margin:0;font-size:13px;color:#666;line-height:1.6;}
.yanglaojob-kefu-box .kf p,
.yanglaojob-kefu-box .xy p{font-size:14px;color:#333;font-weight:600;line-height:1.4;margin-bottom:8px;}
.yanglaojob-kefu-box ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:12px;}
.yanglaojob-kefu-box ul li{display:flex;align-items:center;gap:8px;padding:6px 12px;background:#f7f8fa;border-radius:8px;}
.yanglaojob-kefu-box ul li img{width:36px;height:36px;border-radius:50%;object-fit:cover;}
.yanglaojob-kefu-box ul li b{font-size:14px;color:#333;font-weight:600;}
.yanglaojob-kefu-box ul li span{font-size:13px;color:#d4380d;font-weight:600;}

/* ========== 底部服务分类 ========== */
.yanglaojob-fuwu{background:#fafbfc;padding:32px 0;border-top:1px solid #f0f0f0;}
.yanglaojob-fuwu-box{display:flex;justify-content:space-between;max-width:1200px;margin:0 auto;padding:0 20px;gap:24px;}
.yanglaojob-fuwu-box dl{flex:1;min-width:0;}
.yanglaojob-fuwu-box dt{font-size:15px;font-weight:600;color:#333;margin-bottom:12px;}
.yanglaojob-fuwu-box dd{margin:0 0 8px 0;font-size:13px;color:#666;line-height:1.8;position:relative;}
.yanglaojob-fuwu-box dd a{color:#666;text-decoration:none;transition:color .2s ease;}
.yanglaojob-fuwu-box dd a:hover{color:#d4380d;}
.yanglaojob-fuwu-box dd div{display:none;position:absolute;left:50%;bottom:100%;transform:translateX(-50%);background:#fff;border:1px solid #eee;border-radius:8px;padding:8px;box-shadow:0 4px 16px rgba(0,0,0,0.1);z-index:99;white-space:nowrap;margin-bottom:8px;}
.yanglaojob-fuwu-box dd div img{width:120px;height:120px;display:block;}
.yanglaojob-fuwu-box dd div p{margin:4px 0 0 0;font-size:12px;color:#999;text-align:center;}
.yanglaojob-fuwu-box dd a:hover + div{display:block;}
.yanglaojob-fuwu-box .col5 dd{color:#666;}
.yanglaojob-fuwu-box .col5 dt img{display:block;width:138px;height:33px;}

/* ========== 底部版权 ========== */
.yanglaojob-banquan{background:#1f2329;color:rgba(255,255,255,0.7);padding:24px 0;}
.yanglaojob-banquan-box{max-width:1200px;margin:0 auto;padding:0 20px;text-align:center;}
.yanglaojob-banquan-box p{margin:0 0 8px 0;font-size:13px;line-height:1.8;color:rgba(255,255,255,0.6);text-align:center;}
.yanglaojob-banquan-box p a{color:rgba(255,255,255,0.6);text-decoration:none;transition:color .2s ease;}
.yanglaojob-banquan-box p a:hover{color:#d4380d;}
.yanglaojob-banquan-box p img{vertical-align:middle;margin:0 4px;display:inline-block;}

/* ========== 底部响应式 ========== */
@media screen and (max-width:767px){
  .yanglaojob-kefu-box{flex-direction:column;align-items:center;text-align:center;gap:16px;}
  .yanglaojob-kefu-box .mc{display:none;}
  .yanglaojob-kefu-box .kf,.yanglaojob-kefu-box .xy{width:100%;margin:8px 0;justify-content:center;}
  .yanglaojob-kefu-box .lg{display:none;}
  .yanglaojob-fuwu-box{flex-direction:column;}
  .yanglaojob-fuwu-box dl{width:100% !important;margin:8px 0;border-bottom:1px solid #eee;padding-bottom:8px;}
  .yanglaojob-fuwu-box dl:last-child{border-bottom:none;}
  .yanglaojob-fuwu-box dt{cursor:pointer;position:relative;padding-right:20px;}
  .yanglaojob-fuwu-box dt::after{content:'+';position:absolute;right:0;top:0;font-size:18px;color:#999;transition:transform .2s ease;}
  .yanglaojob-fuwu-box dt.expanded::after{content:'−';}
  .yanglaojob-fuwu-box dd{display:none;}
  .yanglaojob-fuwu-box dt.expanded + dd,
  .yanglaojob-fuwu-box dt.expanded ~ dd{display:block;}
  .yanglaojob-banquan-box{text-align:center;}
  .yanglaojob-banquan-box ul{justify-content:center;}
  .yanglaojob-banquan-box p{text-align:center;}
}
