/* ============================================================
    - 资讯详情样式 detail.css
   ============================================================ */

.detail-wrap { padding: 50px 0 30px; }
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 50px;
    align-items: start;
}

/* ---------- 面包屑 ---------- */
.detail-crumb {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 30px;
}
.detail-crumb a:hover { color: var(--gold); }
.detail-crumb i { margin: 0 8px; font-size: 9px; color: var(--gold); }
.detail-crumb span { color: var(--text-base); }

/* ---------- 文章头 ---------- */
.detail-head { margin-bottom: 28px; }
.detail-cat {
    display: inline-block;
    background: var(--gold);
    color: #0c0c0c;
    font-size: 12px;
    padding: 4px 14px;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 18px;
}
.detail-head h1 {
    font-family: var(--serif);
    color: var(--text-light);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 1px;
    margin-bottom: 18px;
}
.detail-meta {
    display: flex;
    gap: 26px;
    color: var(--text-muted);
    font-size: 13px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
}
.detail-meta i { color: var(--gold); margin-right: 6px; }

/* ---------- 封面 ---------- */
.detail-cover { margin-bottom: 34px; }
.detail-cover img { width: 100%; border: 1px solid var(--border); }

/* ---------- 正文 ---------- */
.detail-content { font-size: 15px; line-height: 2; color: var(--text-base); }
.detail-content .lead {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.9;
    padding: 18px 24px;
    border-left: 3px solid var(--gold);
    background: var(--bg-card);
    margin-bottom: 28px;
}
.detail-content h2 {
    font-family: var(--serif);
    color: var(--text-light);
    font-size: 22px;
    font-weight: 600;
    margin: 32px 0 18px;
    padding-left: 16px;
    border-left: 3px solid var(--gold);
    line-height: 1.4;
}
.detail-content p { margin-bottom: 18px; }
.detail-content ul { margin: 0 0 22px 4px; }
.detail-content ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 12px;
    list-style: none;
}
.detail-content ul li::before {
    content: '◆';
    position: absolute;
    left: 0; top: 2px;
    color: var(--gold);
    font-size: 9px;
}
.detail-content strong { color: var(--gold-light); font-weight: 600; }
.detail-content blockquote {
    position: relative;
    padding: 26px 30px;
    margin: 28px 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
}
.detail-content blockquote i {
    position: absolute;
    top: 18px; left: 18px;
    color: var(--gold);
    font-size: 22px;
    opacity: .5;
}
.detail-content blockquote p {
    color: var(--text-light);
    font-style: italic;
    font-size: 15px;
    margin: 0;
    padding-left: 36px;
}

/* ---------- 底部分享 ---------- */
.detail-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 36px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.detail-share { display: flex; align-items: center; gap: 8px; }
.detail-share span { color: var(--text-muted); font-size: 13px; margin-right: 8px; }
.detail-share a {
    width: 38px; height: 38px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
}
.detail-share a:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- 上下篇 ---------- */
.detail-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}
.dp-prev, .dp-next {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all .3s ease;
}
.dp-next { text-align: right; }
.dp-prev:hover, .dp-next:hover { border-color: var(--gold); }
.dp-label { color: var(--gold); font-size: 12px; letter-spacing: 1px; }
.dp-title { color: var(--text-base); font-size: 14px; line-height: 1.5; }
.dp-prev:hover .dp-title, .dp-next:hover .dp-title { color: var(--gold-light); }

/* ---------- 侧边栏 ---------- */
.detail-side {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.side-block { background: var(--bg-card); border: 1px solid var(--border); }
.side-title {
    font-family: var(--serif);
    color: var(--text-light);
    font-size: 17px;
    font-weight: 600;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.side-title::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 3px; height: 18px;
    background: var(--gold);
}

.side-contact { padding: 22px; }
.side-contact p { color: var(--gold-light); font-family: var(--serif); font-size: 18px; margin-bottom: 14px; }
.side-contact p i { color: var(--gold); margin-right: 8px; }
.side-btn { width: 100%; justify-content: center; margin-top: 6px; }

.side-hot { padding: 14px 22px; }
.side-hot li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
}
.side-hot li:last-child { border-bottom: none; }
.hot-rank {
    font-family: var(--serif);
    color: var(--gold);
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1.5;
}
.side-hot a { color: var(--text-base); font-size: 13px; line-height: 1.5; }
.side-hot a:hover { color: var(--gold-light); }

.side-job { padding: 8px 0; }
.side-job a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 22px;
    border-bottom: 1px dashed var(--border);
    transition: all .3s ease;
}
.side-job a:last-child { border-bottom: none; }
.side-job a:hover { background: var(--bg-dark); padding-left: 26px; }
.sj-name { color: var(--text-base); font-size: 13px; }
.sj-salary { color: var(--gold-light); font-size: 12px; font-family: var(--serif); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
    .detail-grid { grid-template-columns: 1fr; }
    .detail-side { position: static; }
}

@media (max-width: 768px) {
    .detail-head h1 { font-size: 22px; }
    .detail-content .lead { font-size: 15px; padding: 14px 16px; }
    .detail-content h2 { font-size: 18px; }
    .detail-meta { flex-wrap: wrap; gap: 14px; }
    .detail-pager { grid-template-columns: 1fr; }
    .dp-next { text-align: left; }
    .detail-foot { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 480px) {
    .detail-head h1 { font-size: 19px; }
    .side-contact p { font-size: 16px; }
}
