/* 闽西职业技术学院（汀州校区）官方网站样式 */
:root {
    --primary: #c41230;
    --primary-dark: #a30e25;
    --secondary: #1a1a2e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --border: #dee2e6;
    --shadow: 0 4px 12px rgba(0,0,0,.08);
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all .3s;
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
}

/* 头部 */
.header-top {
    background: var(--secondary);
    color: #fff;
    font-size: 14px;
    padding: 8px 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-links a {
    color: #ccc;
    margin-left: 20px;
}

.header-links a:hover {
    color: #fff;
}

.header-main {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
}

.logo-text h1 {
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 4px;
}

.logo-text p {
    font-size: 12px;
    color: var(--gray);
}

.nav {
    display: flex;
    gap: 30px;
    margin-left: 40px;
}

.nav a {
    font-size: 16px;
    color: #555;
    position: relative;
    padding: 5px 0;
}

.nav a.active {
    color: var(--primary);
    font-weight: bold;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary);
}

/* 轮播图 */
.banner {
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius);
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,.2);
}

/* 内容区 */
.section {
    margin: 40px 0;
}

.section-title {
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title a {
    font-size: 14px;
    color: var(--gray);
}

.section-title a:hover {
    color: var(--primary);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* 文章卡片 */
.article-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .3s;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card .content {
    padding: 20px;
}

.article-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-card p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card .meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}

/* 院系卡片 */
.department-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    text-align: center;
}

.department-card h3 {
    color: var(--secondary);
    margin-bottom: 10px;
}

.department-card p {
    color: var(--gray);
    font-size: 14px;
}

/* 教师卡片 */
.teacher-card {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.teacher-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--primary);
}

.teacher-card h4 {
    margin-bottom: 5px;
}

.teacher-card .title {
    color: var(--primary);
    font-size: 14px;
    margin-bottom: 10px;
}

.teacher-card .dept {
    color: var(--gray);
    font-size: 12px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 40px 0;
}

.pagination a {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
}

.pagination a.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* 页脚 */
.footer {
    background: var(--secondary);
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-col a {
    display: block;
    color: #ccc;
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: #fff;
}

.footer-col p {
    color: #ccc;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-qr {
    text-align: center;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 8px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    color: #999;
    font-size: 14px;
}

/* 响应式 */
@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header-main .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav {
        display: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
        margin: 20px 0 0;
    }
    .nav.active {
        display: flex;
    }
    .nav a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    .banner {
        height: 200px;
        font-size: 24px;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* 详情页 */
.article-detail {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 30px 0;
}

.article-detail h1 {
    font-size: 28px;
    color: var(--secondary);
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-meta {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 20px;
}

.article-content {
    line-height: 1.8;
    font-size: 16px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
}

/* 列表页 */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.article-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.article-item img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.article-item .content {
    flex: 1;
}

.article-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.article-item p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-item .meta {
    color: #999;
    font-size: 12px;
}

@media (max-width: 768px) {
    .article-item {
        flex-direction: column;
    }
    .article-item img {
        width: 100%;
        height: 200px;
    }
}

/* ==================== 页脚备案信息 ==================== */
.footer-icp a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all .2s ease;
}
.footer-icp a:hover { color: #fff; border-bottom-color: rgba(255,255,255,.6); }
/* ===== 头部布局修正（2026-11 上线基线）===== */
/* 原样式未定义 .header-main 的弹性布局，导致 LOGO、搜索框、导航逐行堆叠且导航文字折行 */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-search-form {
    display: flex;
    align-items: stretch;
    border: 1px solid #e2e6ec;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.header-search-form input {
    border: 0;
    outline: 0;
    padding: 9px 12px;
    font-size: 14px;
    width: 180px;
    color: #333;
    font-family: inherit;
}
.header-search-form input::placeholder { color: #9aa4b2; }
.header-search-form button {
    border: 0;
    background: var(--primary);
    color: #fff;
    padding: 0 16px;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
}
.header-search-form button:hover { filter: brightness(.94); }

@media (min-width: 769px) {
    .header-main .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 14px 24px;
    }
    .logo { flex: 0 0 auto; }
    .header-actions { flex: 0 0 auto; }
    .nav {
        flex: 1 1 100%;
        order: 3;
        margin-left: 0;
        gap: 6px 20px;
    }
    .nav a { white-space: nowrap; }
}

@media (max-width: 768px) {
    .header-actions { width: 100%; justify-content: space-between; }
    .header-search-form { flex: 1 1 auto; }
    .header-search-form input { width: 100%; }
}

/* ===== 首屏轮播（2026-11 上线基线）===== */
.hero-slider {
    position: relative;
    width: 100%;
    height: clamp(380px, 56vh, 620px);
    overflow: hidden;
    background: #16181d;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .9s ease;
    display: flex;
    align-items: center;
    pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,14,22,.78) 0%, rgba(10,14,22,.55) 45%, rgba(10,14,22,.25) 100%);
}
.hero-caption {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 720px;
}
.hero-caption h2 {
    font-size: clamp(26px, 3.2vw, 42px);
    line-height: 1.28;
    margin-bottom: 14px;
    letter-spacing: .02em;
    text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero-caption p {
    font-size: clamp(14px, 1.35vw, 17px);
    line-height: 1.8;
    color: rgba(255,255,255,.86);
    margin-bottom: 26px;
    max-width: 600px;
}
.hero-btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 15px;
    transition: transform .2s, filter .2s;
}
.hero-btn:hover { transform: translateY(-2px); filter: brightness(1.06); color: #fff; }
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,.32);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    transition: background .2s, transform .2s;
}
.hero-arrow:hover { background: rgba(0,0,0,.55); }
.hero-prev { left: 22px; }
.hero-next { right: 22px; }
.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}
.hero-dot {
    width: 34px;
    height: 4px;
    border: 0;
    border-radius: 2px;
    background: rgba(255,255,255,.42);
    cursor: pointer;
    transition: background .2s;
}
.hero-dot.active { background: #fff; }

/* 新闻卡片缩略图比例统一，避免不同原图造成的高低错落 */
.article-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .hero-slider { height: 300px; }
    .hero-arrow { display: none; }
    .hero-caption h2 { font-size: 20px; }
    .hero-caption p { font-size: 13px; margin-bottom: 16px; }
    .hero-btn { padding: 9px 22px; font-size: 14px; }
    .hero-dots { bottom: 14px; }
    .article-card img { height: 160px; }
}

/* ===== 通用页面组件（师资/院系/内容页复用）===== */
.page-banner {
    background: linear-gradient(120deg, #14161c 0%, #241c2a 55%, #3a1420 100%);
    color: #fff;
    padding: 54px 0;
    text-align: center;
}
.page-banner h1 { font-size: 32px; letter-spacing: .04em; margin-bottom: 10px; }
.page-banner p { color: rgba(255,255,255,.72); font-size: 14px; }

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 8px;
}
.stat-card {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 10px;
    padding: 24px 22px;
    box-shadow: 0 2px 14px rgba(20,22,28,.05);
    text-align: center;
}
.stat-num {
    font-size: 34px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
    font-family: "DIN Alternate", "Helvetica Neue", Arial, sans-serif;
}
.stat-label { font-size: 15px; color: #23262e; margin-top: 8px; font-weight: 600; }
.stat-note { font-size: 12px; color: #8b93a1; margin-top: 8px; line-height: 1.6; }

.prose-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px 32px;
    box-shadow: 0 2px 14px rgba(20,22,28,.05);
    color: #3c424d;
    font-size: 15px;
    line-height: 1.95;
}
.prose-card p { margin-bottom: 16px; }
.prose-card p:last-child { margin-bottom: 0; }

.info-card {
    background: #fff;
    border-radius: 10px;
    padding: 24px 22px;
    box-shadow: 0 2px 14px rgba(20,22,28,.05);
    border-top: 3px solid var(--primary);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.info-card h3 { font-size: 18px; color: #20232a; }
.info-card p { font-size: 14px; color: #5d6572; line-height: 1.85; flex: 1; }
.info-card-foot {
    font-size: 12px;
    color: #8b93a1;
    padding-top: 12px;
    border-top: 1px dashed #eef0f3;
}

.teacher-avatar {
    width: 84px;
    height: 84px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #7a1020);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
}

@media (max-width: 992px) {
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .page-banner { padding: 34px 0; }
    .page-banner h1 { font-size: 24px; }
    .stat-num { font-size: 28px; }
    .prose-card { padding: 22px 18px; }
}

/* ===== 面包屑（全站通用）===== */
.breadcrumb-bar {
    background: #f7f8fa;
    border-bottom: 1px solid #eef0f3;
    padding: 12px 0;
}
ol.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: #8b93a1;
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: #c7ccd6; }
.breadcrumb a { color: #5d6572; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: #23262e; }

/* ===== 键值行 / 侧边链接（院系详情等页面）===== */
.kv-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px dashed #eef0f3;
    font-size: 13px;
}
.kv-row:last-child { border-bottom: 0; }
.kv-row span { color: #8b93a1; flex: 0 0 auto; }
.kv-row b { color: #23262e; font-weight: 500; text-align: right; line-height: 1.6; }

.side-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px dashed #eef0f3;
    font-size: 14px;
    color: #3c424d;
}
.side-link:last-child { border-bottom: 0; }
.side-link span { color: var(--primary); }
.side-link:hover { color: var(--primary); }

/* 页脚公众号占位（未配置二维码时避免白块） */
.qr-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255,255,255,.07);
    border: 1px dashed rgba(255,255,255,.25);
    color: rgba(255,255,255,.62);
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
    padding: 0 12px;
    box-sizing: border-box;
}

/* ===== 小屏（≤480px）精修：消除横向溢出 ===== */
@media (max-width: 480px) {
    html, body { overflow-x: hidden; }
    .container { padding: 0 14px; }
    .header-top { font-size: 12px; padding: 6px 0; }
    .header-top .container { flex-wrap: wrap; gap: 4px; }
    .header-top .welcome { font-size: 12px; }
    .header-links { display: flex; flex-wrap: wrap; gap: 10px; }
    .header-links a { margin-left: 0; font-size: 12px; }
    .logo-icon { width: 46px; height: 46px; font-size: 22px; }
    .logo-text h1 { font-size: 17px; line-height: 1.35; }
    .logo-text p { display: none; }
    .header-search-form { width: 100%; box-sizing: border-box; }
    .header-search-form input { width: 100%; min-width: 0; padding: 8px 10px; }
    .header-search-form button { padding: 0 12px; }
    .hero-caption { padding: 0 16px; }
    .hero-caption h2 { font-size: 17px; line-height: 1.4; }
    .hero-caption p { font-size: 12px; line-height: 1.7; }
    .hero-btn { padding: 8px 18px; font-size: 13px; }
    .section-title span { font-size: 18px; }
    .article-card img { height: 150px; }
    .kv-row { flex-direction: column; gap: 4px; }
    .kv-row b { text-align: left; }
}

/* ===== 移动端（≤767px）排版收紧（与 480 段互补）===== */
@media (max-width: 767px) {
    html, body { overflow-x: hidden; }
    .header-top { font-size: 12px; padding: 6px 0; }
    .header-top .container { flex-wrap: wrap; gap: 4px; }
    .header-top .welcome { font-size: 12px; }
    .header-links { display: flex; flex-wrap: wrap; gap: 10px; }
    .header-links a { margin-left: 0; font-size: 12px; }
    .logo-icon { width: 46px; height: 46px; font-size: 22px; }
    .logo-text h1 { font-size: 18px; line-height: 1.35; }
    .logo-text p { display: none; }
    .header-search-form { flex: 1 1 auto; min-width: 0; }
    .header-search-form input { width: 100%; min-width: 0; }
    .hero-caption h2 { font-size: 19px; line-height: 1.4; }
    .hero-caption p { font-size: 12.5px; line-height: 1.7; }
    .hero-caption { padding: 0 18px; }
    .section-title span { font-size: 19px; }
}

/* ===== 移动端横向溢出收尾（卡片/搜索框/正文）===== */
@media (max-width: 767px) {
    .container { box-sizing: border-box; max-width: 100%; }
    .header-actions { width: 100%; box-sizing: border-box; }
    .header-search-form { width: 100%; box-sizing: border-box; display: flex; }
    .header-search-form input { flex: 1 1 auto; width: auto; }
    .header-search-form button { flex: 0 0 auto; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; min-width: 0; }
    .article-card, .info-card, .department-card, .prose-card { min-width: 0; overflow-wrap: break-word; }
    .article-card h3 { font-size: 15px; line-height: 1.55; }
    .article-card img, .article-item, .hero-caption, .article-detail { min-width: 0; max-width: 100%; }
    .hero-caption p { overflow-wrap: break-word; }
    .article-content img, .article-content table { max-width: 100%; height: auto; }
}

/* 轮播内容容器需占满宽度（.hero-slide 为 flex 容器，.container 会按内容收缩导致文字溢出） */
.hero-slide .container { width: 100%; max-width: 1200px; margin: 0 auto; }

@media (max-width: 767px) {
    .header-actions { gap: 8px; }
    .header-search-form { flex: 1 1 auto; width: auto; min-width: 0; }
    .mobile-menu-btn { flex: 0 0 auto; padding: 0 6px; }
}

/* 容器盒模型统一：width:100% 叠加 padding 会撑破视口 */
.container { box-sizing: border-box; }
.header-actions { box-sizing: border-box; max-width: 100%; }
.hero-slide .container { box-sizing: border-box; }


/* ===== 移动端最终宽度约束（消除横向溢出根因）===== */
@media (max-width: 767px) {
    html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
    .container { width: 100%; max-width: 100%; padding-left: 16px; padding-right: 16px; box-sizing: border-box; }
    .header-main .container { display: flex; flex-wrap: wrap; align-items: center; }
    .header-actions { width: 100%; display: flex; align-items: center; gap: 8px; box-sizing: border-box; }
    .header-search-form { flex: 1 1 0; width: auto; min-width: 0; overflow: hidden; }
    .header-search-form input { width: 100%; min-width: 0; }
    .hero-slide .container { width: 100%; box-sizing: border-box; }
    .hero-caption { width: 100%; max-width: 100%; padding: 0 4px; }
    .hero-caption p { width: 100%; white-space: normal; overflow-wrap: break-word; }
    .hero-caption h2 { width: 100%; overflow-wrap: break-word; }
    .article-card img { width: 100%; }
    .footer-content, .grid-2, .grid-3, .grid-4 { min-width: 0; }
}

/* 桌面端轮播箭头与正文避让 */
@media (min-width: 769px) {
    .hero-prev { left: 16px; }
    .hero-next { right: 16px; }
    .hero-caption { padding-left: 56px; }
    .hero-caption h2 { max-width: 660px; }
    .hero-caption p { max-width: 580px; }
}

/* 新闻卡片等高与标题排版 */
.article-card { display: flex; flex-direction: column; }
.article-card .content { display: flex; flex-direction: column; flex: 1 1 auto; }
.article-card h3 { font-size: 16px; line-height: 1.55; }
.article-card .meta { margin-top: auto; }

/* ===== 法律条款页排版（隐私政策 / 免责声明）===== */
.prose-card h2 {
    font-size: 18px;
    color: var(--primary);
    margin: 24px 0 10px;
    padding-left: 12px;
    border-left: 4px solid var(--primary);
    line-height: 1.5;
}
.prose-card ul { padding-left: 22px; margin: 10px 0 14px; }
.prose-card li { margin-bottom: 7px; line-height: 1.85; }
.legal-contact {
    background: #f8f9fb;
    border-radius: 8px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    color: #3c424d;
    margin-top: 10px;
}
.footer-legal { margin-top: 8px; font-size: 12px; opacity: .75; }
.footer-legal a { color: inherit; }
.footer-legal .sep { margin: 0 8px; opacity: .5; }
