*{ box-sizing: border-box; }
body{
    margin: 0;
    background: #12121c;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
}

/* ================= 顶部头图 ================= */
.header{
    background: linear-gradient(135deg, #1e1e2f 0%, #2a1f45 60%, #3b2a63 100%);
    padding: 46px 20px;
    text-align: center;
    border-bottom: 1px solid #2c2c44;
}
.header h1{
    margin: 0 0 10px;
    font-size: 28px;
    color: #fff;
    letter-spacing: 1px;
}
.header p{
    margin: 0;
    color: #b9b9cc;
    font-size: 15px;
}

/* ================= 容器 ================= */
.container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

/* ================= 面包屑 ================= */
.breadcrumb{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 22px;
    padding: 10px 14px;
    background: #1a1a28;
    border-radius: 8px;
    font-size: 14px;
    color: #8a8a9a;
}
.breadcrumb a{
    color: #b99cff;
    text-decoration: none;
    transition: color .25s ease;
}
.breadcrumb a:hover{ color: #d4c4ff; text-decoration: underline; }
.breadcrumb .sep{ color: #55556a; user-select: none; }
.breadcrumb .current{ color: #e0e0e0; font-weight: 500; }

/* ================= 两栏布局 ================= */
.detail-layout{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    align-items: start;
}

/* ================= 职位头部卡片 ================= */
.job-header{
    background: #1e1e2f;
    border-radius: 12px;
    padding: 28px 28px 24px;
    border-top: 3px solid #8b5cf6;
    margin-bottom: 22px;
}
.job-header h2{
    margin: 0 0 16px;
    font-size: 24px;
    color: #fff;
    line-height: 1.4;
}
.job-header h2 .icon{ margin-right: 8px; }
.salary-line{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.salary{
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(90deg, #b99cff, #ffd166);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: .5px;
}
.salary-unit{ font-size: 15px; color: #8a8a9a; }
.job-meta{
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    color: #9a9aac;
    font-size: 14px;
    margin-bottom: 18px;
}
.job-meta span{ display: inline-flex; align-items: center; gap: 5px; }
.job-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.job-tags .tag{
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: #d4c4ff;
    background: rgba(139, 92, 246, .16);
    border: 1px solid rgba(139, 92, 246, .38);
}

/* ================= 详情内容卡片 ================= */
.content-card{
    background: #1e1e2f;
    border-radius: 12px;
    padding: 26px 28px;
    margin-bottom: 22px;
}
.content-card h3{
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    padding-left: 12px;
    font-size: 18px;
    color: #fff;
    border-left: 3px solid #8b5cf6;
    line-height: 1.3;
}
.content-card h3:not(:first-child){ margin-top: 30px; }
.content-card p{
    margin: 0 0 12px;
    color: #c3c3d1;
    font-size: 15px;
}
.content-card ul{
    margin: 0 0 12px;
    padding-left: 20px;
    color: #c3c3d1;
    font-size: 15px;
}
.content-card ul li{ margin-bottom: 8px; }
.content-card ul li::marker{ color: #8b5cf6; }
.content-card strong{ color: #e8e8f2; }
.hl{ color: #b99cff; font-weight: 600; }
.notice{
    margin-top: 16px;
    padding: 14px 16px;
    background: rgba(139, 92, 246, .1);
    border: 1px solid rgba(139, 92, 246, .35);
    border-radius: 10px;
    color: #cdbff5;
    font-size: 14px;
}

/* ================= 侧边栏 ================= */
.detail-side{ display: flex; flex-direction: column; gap: 22px; }
.side-card{
    background: #1e1e2f;
    border-radius: 12px;
    padding: 22px;
}
.apply-card{
    background: linear-gradient(160deg, #2a1f45, #1e1e2f);
    border: 1px solid rgba(139, 92, 246, .4);
}
.apply-card h3{
    margin: 0 0 6px;
    font-size: 19px;
    color: #fff;
    text-align: center;
}
.apply-card .apply-tip{
    margin: 0 0 18px;
    text-align: center;
    font-size: 13px;
    color: #a9a9c0;
}
.apply-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 16px;
    margin-bottom: 12px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(90deg, #8b5cf6, #6d3ff5);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.apply-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, .45);
    filter: brightness(1.08);
}
.apply-btn.secondary{
    background: transparent;
    border: 1px solid rgba(139, 92, 246, .55);
    color: #cbb8ff;
    font-weight: 500;
}
.apply-btn.secondary:hover{
    background: rgba(139, 92, 246, .14);
    box-shadow: none;
}
.side-note{
    margin: 14px 0 0;
    padding-top: 14px;
    border-top: 1px dashed #33334a;
    font-size: 12.5px;
    color: #8a8a9a;
    text-align: center;
    line-height: 1.7;
}

/* 热门职位侧栏 */
.hot-card h3{
    margin: 0 0 14px;
    font-size: 17px;
    color: #fff;
    padding-left: 10px;
    border-left: 3px solid #8b5cf6;
    line-height: 1.3;
}
.hot-list{ list-style: none; margin: 0; padding: 0; }
.hot-list li{ border-bottom: 1px solid #2a2a3d; }
.hot-list li:last-child{ border-bottom: none; }
.hot-list a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 2px;
    color: #cfcfdd;
    text-decoration: none;
    font-size: 14px;
    transition: color .25s ease;
}
.hot-list a:hover{ color: #b99cff; }
.hot-list a span:first-child{
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.hot-list a .h-salary{
    flex: 0 0 auto;
    font-size: 12.5px;
    color: #ffd166;
}

/* ================= 相关资讯 ================= */
.article-list{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.article-item{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    background: #1e1e2f;
    border-left: 3px solid #8b5cf6;
    border-radius: 10px;
    text-decoration: none;
    min-width: 0;
    transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
}
.article-item:hover{
    background: #26263a;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.article-item .article-title{
    flex: 1 1 auto;
    min-width: 0;
    color: #e0e0e0;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.article-item:hover .article-title{ color: #b99cff; }
.article-item .article-date{
    flex: 0 0 auto;
    color: #8a8a9a;
    font-size: 13px;
    white-space: nowrap;
}

/* ================= 页脚 ================= */
.footer{
    text-align: center;
    padding: 26px 20px;
    font-size: 13px;
    color: #6f6f85;
    border-top: 1px solid #232333;
    background: #12121c;
}

/* ================= 响应式 ================= */
@media (max-width: 992px){
    .detail-layout{
        grid-template-columns: 1fr;
    }
    .detail-side{
        flex-direction: row;
        flex-wrap: wrap;
    }
    .detail-side .side-card{
        flex: 1 1 300px;
    }
}

@media (max-width: 768px){
    .header{ padding: 34px 16px; }
    .header h1{ font-size: 22px; }
    .header p{ font-size: 13.5px; }
    .container{ padding: 18px 14px 46px; }

    .breadcrumb{ font-size: 12.5px; padding: 8px 12px; gap: 4px; margin-bottom: 16px; }

    .job-header{ padding: 20px 18px; }
    .job-header h2{ font-size: 19px; margin-bottom: 12px; }
    .salary{ font-size: 22px; }
    .job-meta{ font-size: 13px; gap: 6px 14px; }

    .content-card{ padding: 20px 18px; }
    .content-card h3{ font-size: 16.5px; }
    .content-card p,
    .content-card ul{ font-size: 14px; }

    .detail-side{ flex-direction: column; }
    .detail-side .side-card{ flex: 1 1 auto; }

    .article-list{ grid-template-columns: 1fr; gap: 10px; }
    .article-item{ padding: 14px 15px; }
    .article-item .article-title{ font-size: 14px; }
    .article-item .article-date{ font-size: 12px; }
}