/* --- 1. 核心变量与复位 --- */
:root {
    --boss-blue: #00A7AF;
    --boss-blue-light: #f0faff;
    --bg-gray: #F6F6F8;
    --border-color: #E8E9EB;
    --salary-orange: #FF6034;
    --text-main: #222222;
    --text-sub: #666666;
    --wrapper-width: 1184px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, "Helvetica Neue", Arial, sans-serif; background: var(--bg-gray); color: var(--text-main); line-height: 1.5; }
a { text-decoration: none; color: inherit; transition: 0.2s; }

/* --- 2. 布局容器 --- */
.wrapper { max-width: var(--wrapper-width); margin: 0 auto; width: 95%; }

/* --- 3. 头部导航 --- */
header { background: #fff; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; }
.header-content { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo { color: var(--boss-blue); font-size: 22px; font-weight: bold; }
.nav { display: flex; gap: 25px; }
.nav a { font-size: 15px; color: #414a60; font-weight: 500; }
.nav a.active { color: var(--boss-blue); }

/* --- 4. 顶部 Banner --- */
.company-banner {
    background: linear-gradient(135deg, #00A7AF 0%, #007d83 100%);
    padding: 40px 20px;
    border-radius: 12px;
    color: #fff;
    margin: 20px 0;
    text-align: center;
}
.company-banner h1 { font-size: 26px; margin-bottom: 10px; }
.company-banner p { font-size: 14px; opacity: 0.9; }

/* --- 5. 主体框架 --- */
.container { display: flex; gap: 20px; align-items: flex-start; }
.main-left { flex: 1; min-width: 0; }
.side-right { width: 300px; flex-shrink: 0; }

/* --- 6. 职位为主的名企卡片 (最新修改) --- */
.company-card {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #fff;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.company-card:hover {
    border-color: var(--boss-blue);
    box-shadow: 0 8px 24px rgba(0, 167, 175, 0.12);
    transform: translateY(-3px);
}

.job-main-box {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.job-detail { flex: 1; padding-right: 20px; }

/* 职位名称突出 */
.job-primary-title {
    font-size: 20px;
    font-weight: bold;
    color: #222;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.job-primary-title .tag-vip {
    font-size: 11px;
    background: linear-gradient(90deg, #ff9d00, #ff6034);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 12px;
    font-weight: normal;
}

/* 公司信息辅助 */
.comp-sub-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}
.small-logo {
    width: 24px;
    height: 24px;
    background: #eee;
    border-radius: 4px;
    flex-shrink: 0;
}
.sub-name { font-size: 14px; color: #666; }

/* 标签 */
.job-tags-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 5px; }
.job-tags-row span {
    font-size: 12px; background: #f5f6f7; color: #888;
    padding: 3px 10px; border-radius: 4px;
}

/* 底部数据统计条 */
.job-data-footer {
    padding: 15px 24px;
    background: #fafbfc;
    border-top: 1px solid #f2f3f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
}
.data-left span { margin-right: 20px; }
.data-left b { color: #666; font-weight: 500; }

/* 操作按钮 */
.btn-enter {
    display: inline-block;
    background: var(--boss-blue);
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

/* --- 7. 右侧通用卡片 & 橙色高亮答疑 --- */
.card { background: #fff; border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.title-dot { border-left: 4px solid var(--boss-blue); padding-left: 12px; font-size: 16px; font-weight: 600; margin-bottom: 20px; }

.faq-card { background: #fffcfb; border: 1px solid #ffdecb; }
.faq-card .title-dot { border-left-color: #FF6034; color: #FF6034; }
.faq-item { margin-bottom: 15px; border-bottom: 1px solid #fdf0e9; padding-bottom: 10px; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: 14px; font-weight: 600; margin-bottom: 5px; display: flex; }
.faq-q::before { content: "Q:"; color: #FF6034; margin-right: 8px; }
.faq-a { font-size: 13px; color: #777; line-height: 1.6; padding-left: 24px; }

/* --- 8. 响应式适配 (H5) --- */
@media (max-width: 900px) {
    .container { flex-direction: column; }
    .side-right { width: 100%; order: 2; }
    .main-left { order: 1; width: 100%; }
    .nav { display: none; }
    
    .job-main-box { padding: 18px; flex-direction: column; }
    .job-detail { padding-right: 0; width: 100%; }
    .job-primary-title { font-size: 18px; }
    .job-side-action { width: 100%; margin-top: 15px; }
    .btn-enter { width: 100%; text-align: center; padding: 12px; }
    
    .job-data-footer { padding: 12px 18px; flex-direction: column; align-items: flex-start; gap: 8px; }
    .data-right { display: none; } /* 移动端精简右侧文字 */
}

footer { padding: 40px 0; text-align: center; border-top: 1px solid var(--border-color); margin-top: 40px; background: #fff; }
.copyright { font-size: 12px; color: #bbb; }