/* ============================================================
   seo.css —— 新闻/资讯详情与热门标签增强样式（零侵入，仅补充新类）
   站点主色：红 #cc0707 / 蓝 #0a4ba1
   ============================================================ */

/* ---------- 热门标签云 ---------- */
.tagcloud {
    padding: 6px 2px 4px;
    line-height: 2.1;
    font-size: 0;
}
.tagcloud a {
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 4px 14px;
    font-size: 14px;
    color: #0a4ba1;
    background: #eef3fb;
    border: 1px solid #cdddf3;
    border-radius: 16px;
    text-decoration: none;
    transition: all .15s ease;
    white-space: nowrap;
}
.tagcloud a:hover {
    color: #fff;
    background: #cc0707;
    border-color: #cc0707;
}
.tagcloud a:visited { color: #0a4ba1; }
.tagcloud a:hover:visited { color: #fff; }

/* ---------- 详情页标题与元信息 ---------- */
.htitle {
    margin: 4px 0 10px;
    padding-bottom: 10px;
    font-size: 24px;
    line-height: 1.4;
    color: #1a1a1a;
    font-weight: 700;
    border-bottom: 2px solid #cc0707;
}
.time {
    color: #888;
    font-size: 13px;
    padding: 4px 0 12px;
    border-bottom: 1px dashed #e2e2e2;
    margin-bottom: 14px;
}

/* ---------- 正文内容排版（.cont 内） ---------- */
.cont { font-size: 15px; line-height: 1.9; color: #333; word-break: break-word; }
.cont p { margin: 0 0 14px; text-indent: 2em; }
.cont .art-lead {
    background: #f7f9fc;
    border-left: 4px solid #0a4ba1;
    padding: 12px 16px;
    margin: 0 0 18px;
    border-radius: 0 6px 6px 0;
}
.cont .art-lead p { margin: 0; text-indent: 0; color: #444; }
.cont h2 {
    font-size: 19px;
    color: #cc0707;
    margin: 26px 0 12px;
    padding-left: 12px;
    border-left: 4px solid #cc0707;
    line-height: 1.4;
}
.cont .art-ul { margin: 0 0 16px; padding-left: 22px; }
.cont .art-ul li { margin: 6px 0; list-style: disc; }

/* 正文配图 */
.cont .art-fig {
    margin: 18px 0;
    text-align: center;
}
.cont .art-fig img {
    max-width: 100%;
    height: auto;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.cont .art-fig figcaption {
    margin-top: 8px;
    font-size: 13px;
    color: #999;
}

/* 正文表格（速查表） */
.cont .art-tbl {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 20px;
    font-size: 14px;
    background: #fff;
}
.cont .art-tbl th,
.cont .art-tbl td {
    border: 1px solid #d8e2f0;
    padding: 9px 12px;
    text-align: left;
    vertical-align: top;
}
.cont .art-tbl thead th {
    background: #0a4ba1;
    color: #fff;
    font-weight: 600;
}
.cont .art-tbl tbody tr:nth-child(even) { background: #f4f8fd; }
.cont .art-tbl tbody tr:hover { background: #eef3fb; }

/* 上一篇/下一篇 */
.dePage { margin: 18px 0 6px; line-height: 2; }
.dePage a { color: #0a4ba1; text-decoration: none; margin-right: 18px; }
.dePage a:hover { color: #cc0707; text-decoration: underline; }
.dePage .ellipsis {
    display: inline-block;
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}

/* ---------- 新闻列表修复：长标题不再被 34px 高度截断 ---------- */
.uu1 { width: 100%; margin-top: 10px; overflow: hidden; }
.uu1 li {
    float: none;
    width: 100%;
    height: auto;
    min-height: 34px;
    padding: 9px 0;
    border-bottom: 1px dashed #e3e3e3;
    display: flex;
    align-items: flex-start;
    line-height: 1.55;
}
.uu1 li:last-child { border-bottom: none; }
.uu1 a {
    display: inline;
    line-height: 1.55;
    font-size: 15px;
    white-space: normal;
    color: #222;
}
.uu1 a:first-of-type { flex-shrink: 0; margin-right: 8px; }
.uu1 a b { color: #cc0707; font-weight: 600; float: none; }
.uu1 li:hover a { text-decoration: none; }
.uu1 li:hover a b { color: #a80505; }
.uu1 li:hover > a:last-child { color: #cc0707; text-decoration: underline; }

/* ---------- 右侧栏"2026年新生报考指南"修复：序号/标题/按钮 flex 对齐 ---------- */
.guide-list { list-style: none; padding: 0; margin: 0; }
.guide-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 28px;
    padding: 6px 0;
    border-bottom: 1px dashed #e8e8e8;
}
.guide-list li:last-child { border-bottom: none; }
.guide-list li a {
    flex: 1;
    display: flex;
    align-items: baseline;
    color: #222;
    text-decoration: none;
    line-height: 1.5;
    font-size: 15px;
}
.guide-list li a .num { color: #cc0707; margin-right: 6px; font-weight: bold; }
.guide-list li a:hover { color: #cc0707; }
.guide-list li a.guide-hot,
.guide-list li a.guide-hot .num { color: #cc0707; }
.guide-list .cx {
    flex-shrink: 0;
    border: 1px solid #cc0707;
    width: 72px;
    height: 22px;
    line-height: 22px;
    border-radius: 2px;
    color: #cc0707;
    font-size: 12px;
    text-align: center;
    margin-left: 8px;
    cursor: pointer;
}
.guide-list .cx:hover { background-color: #cc0707; color: #fff; }

/* ---------- 单篇关键词标签 ---------- */
.article-tags { margin: 22px 0 14px; }
.article-tags .tag-label { font-size: 14px; color: #333; margin-right: 8px; font-weight: 600; }
.article-tags a {
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 5px 14px;
    font-size: 13px;
    color: #0a4ba1;
    background: #fff;
    border: 1px solid #cdddf3;
    border-radius: 15px;
    text-decoration: none;
    transition: all .15s ease;
}
.article-tags a:hover {
    color: #0a4ba1;
    background: #e6f0ff;
    border-color: #0a4ba1;
    box-shadow: 0 2px 6px rgba(10,75,161,.08);
}

/* ---------- 详情页上下篇：卡片式导航，双行完整显示，hover 协调 ---------- */
.dePage { margin: 24px 0 10px; }
.dePage a {
    position: relative;
    display: block;
    padding: 14px 18px 14px 56px;
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid #e3e6ea;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    line-height: 1.6;
    transition: all .15s ease;
    overflow: visible;
}
.dePage a::before {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    border-radius: 50%;
    background: #eef3fb;
    color: #0a4ba1;
    font-size: 13px;
    font-weight: bold;
    transition: all .15s ease;
}
.dePage a.prev::before { content: "←"; }
.dePage a.next::before { content: "→"; }
.dePage a:hover {
    border-color: #0a4ba1;
    background: #f5f9ff;
    color: #0a4ba1;
    box-shadow: 0 2px 10px rgba(10,75,161,.08);
}
.dePage a:hover::before { background: #0a4ba1; color: #fff; }
.dePage .label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 2px;
}
.dePage .ellipsis {
    display: inline;
    max-width: none;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}
/* 强制覆盖主样式里对 .dePage a span 的 line-clamp */
.dePage a span {
    display: inline !important;
    width: auto !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
}
.dePage a.empty,
.dePage a.empty:hover {
    color: #999;
    background: #fafafa;
    border-color: #eee;
    cursor: default;
    box-shadow: none;
}
.dePage a.empty::before { background: #e9ecef; color: #adb5bd; }

/* ---------- 移动端适配 ---------- */
@media (max-width: 700px) {
    .htitle { font-size: 20px; }
    .cont { font-size: 14px; line-height: 1.8; }
    .cont h2 { font-size: 17px; }
    .cont .art-tbl { font-size: 13px; }
    .cont .art-tbl th,
    .cont .art-tbl td { padding: 6px 8px; }
    .dePage .ellipsis { max-width: 140px; }
    .tagcloud a { font-size: 13px; padding: 3px 10px; }
}
