/* 基础样式 (保持首页与列表页统一) */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #F8F8F8; font: 14px/1.6 "Microsoft YaHei", Arial, sans-serif; color: #333;}
a { text-decoration: none; color: inherit; transition: 0.2s; }
a:hover { color: #2EAFBB; }
ul { list-style: none; }
img { max-width: 100%; display: block; border-radius: 4px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 15px; }

/* 头部 (统一风格) */
header { background: #333; color: #fff; height: 60px; line-height: 60px; position: sticky; top: 0; z-index: 999; }
.header-box { display: flex; justify-content: space-between; align-items: center; }
.logo-area { font-size: 18px; font-weight: bold; }
.nav-right a { background: #2EAFBB; color: #fff; padding: 5px 15px; border-radius: 4px; font-size: 13px; }

/* 面包屑 */
.breadcrumb { background: #fff; padding: 12px 0; border-bottom: 1px solid #eee; margin-bottom: 20px; font-size: 13px; color: #888; }

/* 详情页主体布局 */
.detail-wrapper { display: flex; gap: 25px; align-items: flex-start; }
.detail-main { flex: 1; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 10px rgba(0,0,0,0.05); }

/* 标题信息区 */
.post-header { padding: 30px; border-bottom: 1px solid #f2f2f2; }
.post-header h1 { font-size: 24px; color: #222; margin-bottom: 15px; }
.post-header .salary { color: #FF5722; font-size: 26px; font-weight: bold; margin-bottom: 15px; display: block; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.post-tags span { background: #E6F8F9; color: #2EAFBB; padding: 3px 10px; font-size: 12px; border-radius: 2px; }
.post-meta { display: flex; gap: 10px; color: #999; font-size: 13px; padding-top: 15px; }

/* 内容区 */
.post-content { padding: 30px; line-height: 3; color: #444; font-size: 15px; }
.post-content p img {display:block;overflow:hidden;max-width:100%;height:auto;}
.content-title { font-size: 18px; font-weight: bold; color: #333; margin: 25px 0 15px; padding-left: 10px; border-left: 4px solid #2EAFBB; }
.security-tips { background: #FFF9F2; border: 1px solid #FFEDD5; padding: 15px; border-radius: 4px; margin: 20px 30px; color: #D97706; font-size: 13px; }

/* 右侧侧边栏 */
.detail-aside { width: 320px; position: sticky; top: 85px; }

/* 侧边栏-联系卡片 */
.aside-card { background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin-bottom: 20px; }
.card-title { font-size: 16px; font-weight: bold; border-left: 4px solid #2EAFBB; padding-left: 10px; margin-bottom: 15px; }

.contact-box { text-align: center; }
.btn-tel { display: block; background: #2EAFBB; color: #fff; padding: 12px; border-radius: 5px; font-weight: bold; margin-bottom: 10px; font-size: 18px; }
.btn-wx { display: block; background: #4CAF50; color: #fff; padding: 12px; border-radius: 5px; font-weight: bold; font-size: 18px; }

/* 侧边栏-广告位优化 */
.aside-ad { overflow: hidden; border-radius: 8px; margin-bottom: 20px; }
.aside-ad img { width: 100%; height: auto; transition: 0.3s; }
.aside-ad img:hover { transform: scale(1.03); }

/* 侧边栏-相关招聘列表 */
.related-list li { padding: 12px 0; border-bottom: 1px solid #f5f5f5; }
.related-list li:last-child { border-bottom: none; }
.related-list .rel-tit { font-size: 14px; color: #333; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 5px; }
.related-list .rel-info { font-size: 12px; color: #FF5722; font-weight: bold; display: flex; justify-content: space-between; }
.related-list .rel-city { color: #999; font-weight: normal; }

/* 底部 */
footer { background: #333; color: #999; padding: 40px 0; margin-top: 50px; text-align: center; }
.footer-nav a { color: #ccc; margin: 0 10px; }

/* 移动端底部悬浮栏 */
.wap-footer-action { 
    display: none; position: fixed; bottom: 0; left: 0; right: 0; 
    background: #fff; height: 60px; border-top: 1px solid #eee; 
    padding: 8px 15px; z-index: 1001; 
    justify-content: space-between; gap: 10px;
}
.wap-footer-action a { flex: 1; display: flex; align-items: center; justify-content: center; border-radius: 4px; color: #fff; font-weight: bold; font-size: 15px; }

/* 响应式媒体查询 */
@media (max-width: 992px) {
    .detail-wrapper { flex-direction: column; }
    .detail-aside { width: 100%; position: static; }
    .aside-section-title { padding-left: 15px; margin-top: 20px; font-weight: bold; }
    .aside-ad { margin-bottom: 20px; } /* 移动端广告显示在内容下方 */
    .contact-card-pc { display: none; } /* 移动端隐藏侧边联系框，使用底部悬浮 */
    .post-header { padding: 20px; }
    .post-header h1 { font-size: 20px; }
    .post-content { padding: 20px; }
    .wap-footer-action { display: flex; }
    .related-card-mobile { margin: 0; }
}