/* ========== 基础重置 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; border: 0; }
button, input { font-family: inherit; outline: none; }

.container { max-width: 1300px; margin: 0 auto; padding: 0 5px; }

/* ========== 党建红主题色 ========== */
:root {
    /* 党建红主色系 */
    --red: #C0241F;
    --red-dark: #9E1A16;
    --red-deep: #7A1310;
    --red-light: #FDF0EF;
    --red-soft: #FCEEEC;
    --red-line: #F0DAD7;
    /* 辅助金色 */
    --gold: #C9A84C;
    --gold-light: #E8CE94;
    /* 中性色 */
    --text-main: #1A1A2A;
    --text-sub: #5A5A6A;
    --text-mute: #8A8A9A;
    --line: #EDE4E3;
    --bg-soft: #FBF7F6;
    --radius: 10px;
    --shadow-sm: 0 2px 10px rgba(122, 19, 16, .05);
    --shadow-md: 0 10px 34px rgba(122, 19, 16, .09);
    --shadow-lg: 0 18px 48px rgba(122, 19, 16, .16);
    --shadow-red: 0 8px 26px rgba(192, 36, 31, .24);
}

/* ========== 顶部辅助条 ========== */
.topbar {
    height: 36px;
    line-height: 36px;
    background: var(--red-deep);
    font-size: 12px;
    color: #F5D9D6;
}
.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.topbar-text { color: #F0C9C5; letter-spacing: .5px; }
.topbar-links { display: flex; align-items: center; flex-wrap: wrap; }
.topbar-links a { color: #F5D9D6; padding: 0 8px; transition: color .2s; }
.topbar-links a:hover { color: var(--gold-light); }
.topbar-links a.on { color: var(--gold-light); font-weight: 700; }
.topbar-links .sep {
    display: inline-block;
    width: 1px; height: 12px;
    background: rgba(255,255,255,.25);
    margin: 0 4px;
}

/* ========== 头部标识区 ========== */
.header {
    position: relative;
    padding: 18px 0;
    background: linear-gradient(120deg, #FFF9F8 0%, #FDF0EF 45%, #FAE4E1 100%);
    overflow: hidden;
    border-bottom: 1px solid var(--red-line);
}
.header::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(50% 120% at 88% 15%, rgba(192, 36, 31, .06) 0%, transparent 65%),
        radial-gradient(40% 120% at 5% 90%, rgba(201, 168, 76, .08) 0%, transparent 65%);
    pointer-events: none;
}
.header::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(192,36,31,.03) 1px, transparent 1px),
        linear-gradient(0deg, rgba(192,36,31,.03) 1px, transparent 1px);
    background-size: 42px 42px;
    pointer-events: none;
    mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
}
.header .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.brand { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.brand .logo-img {
    max-height: 88px;
    width: auto;
    max-width: 480px;
    object-fit: contain;
    display: block;
    transition: opacity .2s;
}
.brand .logo-img:hover { opacity: .88; }
.brand .logo-img.mobile-logo { display: none; }
.brand .logo-img.pc-logo { display: block; }

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.search {
    display: flex;
    align-items: center;
    height: 44px;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .25s;
    min-width: 240px;
    border: 1px solid var(--red-line);
}
.search:focus-within { box-shadow: 0 0 0 3px rgba(192, 36, 31, .12), var(--shadow-md); }
.search input {
    width: 240px;
    height: 100%;
    border: none;
    padding: 0 8px 0 20px;
    font-size: 13.5px;
    color: #333;
    background: transparent;
}
.search input::placeholder { color: #C0A8A6; }
.search button {
    width: 58px; height: 100%;
    border: none;
    background: var(--red);
    color: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.search button:hover { background: var(--red-dark); }

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 20px;
    border-radius: 22px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .5px;
    transition: all .25s ease;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    text-decoration: none;
}
.auth-btn-login {
    background: transparent;
    color: var(--red);
    border: 1.5px solid var(--red);
}
.auth-btn-login:hover {
    background: var(--red-light);
    transform: translateY(-1px);
}
.auth-btn-register {
    background: var(--red);
    color: #fff;
    box-shadow: var(--shadow-red);
}
.auth-btn-register:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(192, 36, 31, .32);
}

.mobile-more {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 22px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
}
.mobile-more:hover { background: var(--red-dark); }
.mobile-more .more-icon {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.mobile-more .more-icon i {
    display: block;
    width: 16px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
}

/* ========== 频道导航（党建红底） ========== */
.nav {
    background: linear-gradient(180deg, #C0241F 0%, #A81C18 100%);
    box-shadow: 0 8px 22px rgba(122, 19, 16, .24);
    position: relative;
    z-index: 100;
    border-bottom: 2px solid var(--gold);
}
.nav .container { display: flex; align-items: stretch; padding: 0; position: relative; }

.nav-toggle { display: none; }
.nav-menu { display: flex; flex: 1; align-items: stretch; }

.nav-item {
    position: relative;
    flex: 1 1 0;
    display: flex;
    align-items: stretch;
    min-width: 0;
}
.nav-item > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    min-height: 56px;
    padding: 0 6px;
    color: #fff;
    font-size: 14.5px;
    font-weight: 500;
    letter-spacing: .5px;
    white-space: nowrap;
    transition: background .2s;
}
.nav-item > a .caret {
    display: inline-block;
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid rgba(255,255,255,.75);
    transition: transform .25s;
    flex-shrink: 0;
}
.nav-item:hover > a .caret { transform: rotate(180deg); }
.nav-item > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: var(--gold);
    transform: translateX(-50%) scaleX(0);
    transition: transform .25s ease;
}
.nav-item:hover > a { background: rgba(0, 0, 0, .16); }
.nav-item:hover > a::after,
.nav-item > a.active::after { transform: translateX(-50%) scaleX(1); }
.nav-item > a.active { background: rgba(0, 0, 0, .18); font-weight: 700; }

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 140px;
    background: #fff;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .24s ease, transform .24s ease, visibility .24s;
    z-index: 200;
    overflow: hidden;
    border-top: 3px solid var(--gold);
}
.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown li a {
    display: block;
    padding: 9px 22px;
    font-size: 13.5px;
    color: #445;
    white-space: nowrap;
    transition: background .18s, color .18s, padding-left .18s;
}
.dropdown li a:hover {
    background: var(--red-light);
    color: var(--red);
    padding-left: 27px;
}

/* ========== 面包屑 ========== */
.breadcrumb-bar {
    background: #fff;
    border-bottom: 1px solid var(--red-line);
}
.breadcrumb-bar .container {
    display: flex;
    align-items: center;
    height: 52px;
    font-size: 13.5px;
    color: #9A8A88;
    gap: 6px;
    flex-wrap: wrap;
    padding-left: 5px;
}
.breadcrumb-bar a { color: #7A6A68; transition: color .2s; }
.breadcrumb-bar a:hover { color: var(--red); }
.breadcrumb-bar .bc-sep { color: #D8C8C5; margin: 0 2px; }
.breadcrumb-bar .bc-current { color: var(--red); font-weight: 600; }

/* ========== 主体区域 ========== */
.main-wrap {
    background: var(--bg-soft);
    padding: 34px 0 50px;
}
.main-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: start;
}

/* ========== 左侧：文章内容 ========== */
.article-panel {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid #EDF1F7;
    min-width: 0;
}

.article-head {
    padding: 34px 44px 28px;
    border-bottom: 1px solid var(--red-line);
    position: relative;
    background: linear-gradient(120deg, #FFFCFC 0%, #FFF9F8 100%);
}
.article-head::before {
    content: "";
    position: absolute;
    left: 44px;
    bottom: -1px;
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--red));
    border-radius: 2px;
}
.article-category {
    display: inline-block;
    padding: 3px 14px;
    background: var(--red-light);
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    border-radius: 3px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.article-head h1 {
    font-family: "Source Han Serif SC", "Noto Serif SC", SimSun, serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--red-deep);
    line-height: 1.55;
    margin-bottom: 18px;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #9A8A88;
}
.article-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.article-meta .meta-item svg {
    width: 14px; height: 14px;
    color: #B8A8A6;
}
.article-meta .meta-sep { color: #D8C8C5; }

.article-body {
    padding: 34px 44px 44px;
}

.article-lead {
    font-size: 16px;
    color: #2A3A54;
    font-weight: 500;
    line-height: 1.95;
    padding: 20px 26px;
    background: linear-gradient(135deg, #FFF9F8 0%, #FDF2F0 100%);
    border-left: 4px solid var(--red);
    border-radius: 0 10px 10px 0;
    margin-bottom: 32px;
    text-align: justify;
    text-justify: inter-ideograph;
}

.article-content p {
    font-size: 15.5px;
    line-height: 2.1;
    color: #3A3A4A;
    margin-bottom: 22px;
    text-align: justify;
    text-justify: inter-ideograph;
    letter-spacing: .2px;
}
.article-content p:last-child { margin-bottom: 0; }

.article-content h3 {
    font-family: "Source Han Serif SC", "Noto Serif SC", SimSun, serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--red-deep);
    letter-spacing: 1px;
    margin: 36px 0 16px;
    padding-left: 14px;
    position: relative;
}
.article-content h3::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 18px;
    background: linear-gradient(180deg, var(--gold), var(--red));
    border-radius: 2px;
}

.article-figure {
    margin: 32px 0;
    text-align: center;
}
.article-figure .figure-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    background: linear-gradient(135deg, #FDF3F1 0%, #FCEEEC 50%, #FDF3F1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C0A0A0;
    font-size: 14px;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}
.article-figure .figure-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(45deg, rgba(192,36,31,.04) 25%, transparent 25%, transparent 75%, rgba(192,36,31,.04) 75%),
        linear-gradient(45deg, rgba(192,36,31,.04) 25%, transparent 25%, transparent 75%, rgba(192,36,31,.04) 75%);
    background-size: 24px 24px;
    background-position: 0 0, 12px 12px;
}
.article-figure .figure-img svg {
    width: 48px; height: 48px;
    opacity: .35;
    position: relative;
    z-index: 1;
}
.article-figure .figure-caption {
    font-size: 13px;
    color: #9A8A88;
    margin-top: 10px;
    letter-spacing: .5px;
}

.article-quote {
    margin: 28px 0;
    padding: 20px 26px 20px 28px;
    background: #FFFCFB;
    border-left: 4px solid var(--red);
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    line-height: 1.95;
    color: #2A3A54;
    font-style: normal;
    text-align: justify;
}
.article-quote .quote-author {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: #8A7A7A;
    text-align: right;
    letter-spacing: .5px;
}

.article-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--red-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}
.article-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.article-tags .tags-label {
    font-size: 13px;
    color: #9A8A88;
    font-weight: 600;
}
.article-tags a {
    display: inline-block;
    padding: 3px 12px;
    background: var(--red-light);
    border: 1px solid var(--red-line);
    border-radius: 14px;
    font-size: 12.5px;
    color: var(--red);
    transition: all .2s;
}
.article-tags a:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}
.article-share {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #9A8A88;
}
.article-share .share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #FDF6F5;
    color: #8A7A7A;
    transition: all .2s;
}
.article-share .share-btn:hover {
    background: var(--red);
    color: #fff;
}
.article-share .share-btn svg { width: 15px; height: 15px; }

.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--red-line);
}
.article-nav a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
    background: #FFFCFB;
    border: 1px solid var(--red-line);
    border-radius: 10px;
    transition: all .25s;
}
.article-nav a:hover {
    background: #fff;
    border-color: #E8B8B4;
    box-shadow: 0 8px 20px rgba(192, 36, 31, .07);
}
.article-nav a .nav-label {
    font-size: 12px;
    color: #9A8A88;
    letter-spacing: .5px;
}
.article-nav a .nav-title {
    font-size: 14px;
    font-weight: 600;
    color: #2A3A54;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}
.article-nav a:hover .nav-title { color: var(--red); }
.article-nav a.next { text-align: right; align-items: flex-end; }

.back-to-list {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 28px;
    padding: 10px 24px;
    background: var(--red);
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .5px;
    border-radius: 22px;
    transition: background .25s, transform .25s;
}
.back-to-list:hover {
    background: var(--red-dark);
    transform: translateX(-3px);
}
.back-to-list svg { width: 15px; height: 15px; }

/* ========== 右侧：相关推荐 ========== */
.side-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 20px;
}

.side-card {
    background: #fff;
    border: 1px solid var(--red-line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.side-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px 14px;
    border-bottom: 1px solid var(--red-line);
    background: linear-gradient(90deg, #FFFCFB 0%, #FDF6F5 100%);
}
.side-card-head h3 {
    position: relative;
    padding-left: 14px;
    font-family: "Source Han Serif SC", "Noto Serif SC", SimSun, serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--red-dark);
}
.side-card-head h3::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 3px; height: 16px;
    background: linear-gradient(180deg, var(--gold), var(--red));
    border-radius: 2px;
}
.side-card-head .more {
    font-size: 12px;
    color: #B8A8A6;
    transition: color .2s;
}
.side-card-head .more:hover { color: var(--red); }

.related-list { padding: 8px 22px 16px; }
.related-list li {
    position: relative;
    padding: 13px 0 13px 16px;
    font-size: 14px;
    line-height: 1.65;
    border-bottom: 1px dashed var(--red-line);
}
.related-list li:last-child { border-bottom: none; }
.related-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 20px;
    width: 5px; height: 5px;
    background: var(--gold);
    border-radius: 1px;
}
.related-list li a {
    display: block;
    color: #4A4A5A;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .2s;
}
.related-list li a:hover { color: var(--red); }
.related-list li .date {
    display: block;
    margin-top: 3px;
    font-size: 11.5px;
    color: #C0B0B0;
}

.topic-links { padding: 8px 22px 16px; }
.topic-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--red-line);
    transition: color .2s;
}
.topic-links a:last-child { border-bottom: none; }
.topic-links a:hover { color: var(--red); }
.topic-links .tl-icon {
    flex-shrink: 0;
    width: 34px; height: 34px;
    border-radius: 8px;
    background: var(--red-light);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s, color .25s;
}
.topic-links a:hover .tl-icon { background: var(--red); color: #fff; }
.topic-links .tl-icon svg { width: 17px; height: 17px; }
.topic-links .tl-text {
    font-size: 14px;
    font-weight: 600;
    color: #4A4A5A;
    letter-spacing: .3px;
    transition: color .2s;
}
.topic-links a:hover .tl-text { color: var(--red); }

.contact-card {
    padding: 22px;
    background: linear-gradient(135deg, #FFFCFB 0%, #FDF6F5 100%);
    border: 1px solid var(--red-line);
    border-radius: 14px;
}
.contact-card .cc-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--red-dark);
    letter-spacing: 1px;
    margin-bottom: 14px;
}
.contact-card .cc-title svg { width: 17px; height: 17px; }
.contact-card p {
    font-size: 13px;
    line-height: 2;
    color: #8A7A7A;
}
.contact-card p b { color: var(--red-dark); font-weight: 600; }

/* ========== 返回顶部 ========== */
.to-top {
    position: fixed;
    right: 26px;
    bottom: 30px;
    z-index: 400;
    width: 46px; height: 46px;
    border: none;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-red);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s, visibility .3s, transform .3s, background .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--red-dark); }

/* ========== 页脚（党建红底） ========== */
.footer {
    background: linear-gradient(180deg, #9E1A16 0%, #7A1310 100%);
    color: #F5D9D6;
    border-top: 3px solid var(--gold);
}
.footer-main { padding: 46px 0 36px; box-shadow: inset 0 -1px 0 rgba(255,255,255,.16); }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; }

.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand .fb-logo { display: flex; align-items: center; gap: 12px; }
.footer-brand .fb-logo img.logo-img {
    max-height: 46px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
}
.footer-brand .fb-desc { font-size: 13.5px; line-height: 1.9; color: #F5D9D6; text-align: justify; }
.footer-brand .fb-qr { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.footer-brand .fb-qr .qr-box {
    width: 72px; height: 72px;
    padding: 4px;
    background: #fff;
    border-radius: 6px;
    flex-shrink: 0;
}
.footer-brand .fb-qr .qr-box i {
    display: block;
    width: 100%; height: 100%;
    background-color: #fff;
    background-image:
        linear-gradient(45deg, #7A1310 25%, transparent 25%, transparent 75%, #7A1310 75%),
        linear-gradient(45deg, #7A1310 25%, transparent 25%, transparent 75%, #7A1310 75%);
    background-size: 9px 9px;
    background-position: 0 0, 4.5px 4.5px;
    opacity: .85;
}
.footer-brand .fb-qr .qr-text { font-size: 13px; line-height: 1.7; color: #F5D9D6; }
.footer-brand .fb-qr .qr-text strong { display: block; color: #fff; font-size: 13.5px; margin-bottom: 2px; }

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.22);
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
    font-size: 13.5px;
    color: #F5D9D6;
    transition: color .2s, padding-left .2s;
    display: inline-block;
}
.footer-col ul li a:hover { color: var(--gold-light); padding-left: 4px; }

.footer-contact li {
    display: flex;
    gap: 8px;
    font-size: 13.5px;
    color: #F5D9D6;
    margin-bottom: 12px;
    line-height: 1.7;
}
.footer-contact li .fc-icon { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; color: var(--gold); }
.footer-contact li .fc-icon svg { width: 100%; height: 100%; }

.footer-bottom { padding: 26px 0 28px; text-align: center; }
.footer-bottom .fb-line { font-size: 14px; line-height: 2.1; color: #FBEAE8; }
.footer-bottom .fb-line a { color: #FBEAE8; transition: color .2s; }
.footer-bottom .fb-line a:hover { color: var(--gold-light); }
.footer-bottom .sep { margin: 0 12px; color: rgba(255,255,255,.35); }

.footer-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
}
.footer-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(255,255,255,.12);
    font-size: 13.5px;
    color: #FBEAE8;
    transition: all .2s;
}
.footer-badges .badge:hover { background: rgba(201,168,76,.24); color: var(--gold-light); }

.footer-copyright {
    margin-top: 20px;
    padding-top: 18px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
    font-size: 14px;
    color: #F5D9D6;
    line-height: 2;
}
.footer-copyright .highlight { color: #fff; font-weight: 600; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1340px) {
    .container { max-width: 100%; }
}

@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .side-panel {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .article-head { padding: 28px 32px 24px; }
    .article-head::before { left: 32px; }
    .article-head h1 { font-size: 24px; }
    .article-body { padding: 28px 32px 36px; }

    .nav .container { flex-direction: column; align-items: stretch; padding: 0; }
    .nav-menu { display: none; flex-direction: column; background: #fff; }
    .nav-menu.open { display: flex; }
    .nav-item { flex: none; width: 100%; display: block; }
    .nav-item > a {
        justify-content: space-between;
        min-height: 0;
        padding: 14px 20px;
        color: #25324A;
        font-size: 15.5px;
        font-weight: 600;
        text-align: left;
        box-shadow: inset 0 -1px 0 var(--line);
    }
    .nav-item > a::after { display: none; }
    .nav-item:hover > a { background: #FDF6F5; }
    .nav-item > a.active { background: #FDF6F5; color: var(--red); }
    .nav-item > a .caret { border-top-color: #A89898; }
    .nav-item.open > a .caret { transform: rotate(180deg); }

    .dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        width: 100%;
        min-width: 0;
        border-radius: 0;
        box-shadow: none;
        background: var(--red-soft);
        padding: 0;
        overflow: visible;
        border-top: none;
    }
    .nav-item.open .dropdown { display: block; }
    .dropdown li a { padding: 12px 34px; box-shadow: inset 0 -1px 0 var(--red-line); }
    .dropdown li:last-child a { box-shadow: none; }
    .dropdown li a:hover { padding-left: 38px; }
    .nav-item:hover .dropdown { transform: none; }
}

@media (max-width: 768px) {
    .topbar { display: none; }

    .header {
        padding: 10px 0;
        background: #C0241F;
        border-bottom: 1px solid var(--red-line);
        overflow: visible;
    }
    .header::before,
    .header::after { display: none; }
    .header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .brand { gap: 0; flex: 1; min-width: 0; }
    .brand .logo-img {
        max-height: 56px;
        max-width: 200px;
        width: auto;
        height: auto;
        object-fit: contain;
    }
    .brand .logo-img.pc-logo { display: none; }
    .brand .logo-img.mobile-logo { display: block; }

    .header-right { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
    .header-right .search { display: none; }
    .header-right .auth-buttons { display: none; }
    .mobile-more { display: flex; }

    .nav { position: relative; box-shadow: none; background: transparent; border-bottom: none; }
    .nav .container { padding: 0; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 300;
        flex-direction: column;
        background: #fff;
        box-shadow: 0 10px 24px rgba(0,0,0,.14);
        max-height: 80vh;
        overflow-y: auto;
        border-top: 1px solid var(--red-line);
    }
    .nav-menu.open { display: flex; }

    .breadcrumb-bar .container {
        height: auto;
        padding: 12px 16px;
        font-size: 12.5px;
    }

    .main-wrap { padding: 16px 0 36px; }

    .article-head { padding: 22px 20px 18px; }
    .article-head::before { left: 20px; width: 46px; }
    .article-head h1 { font-size: 20px; letter-spacing: 1px; }
    .article-body { padding: 22px 20px 28px; }

    .article-lead { font-size: 14.5px; padding: 16px 18px; margin-bottom: 24px; }
    .article-content p { font-size: 14.5px; line-height: 2; margin-bottom: 18px; }
    .article-content h3 { font-size: 17px; margin: 28px 0 12px; }

    .article-figure .figure-img { aspect-ratio: 16 / 9; }
    .article-figure .figure-img svg { width: 36px; height: 36px; }

    .article-footer { flex-direction: column; align-items: flex-start; gap: 14px; }
    .article-nav { grid-template-columns: 1fr; gap: 10px; }
    .article-nav a.next { text-align: left; align-items: flex-start; }

    .side-panel { grid-template-columns: 1fr; gap: 18px; }
    .side-card-head { padding: 14px 18px 12px; }
    .side-card-head h3 { font-size: 16px; }
    .related-list { padding: 6px 18px 14px; }
    .related-list li { padding: 11px 0 11px 14px; font-size: 13.5px; }
    .topic-links { padding: 6px 18px 14px; }
    .contact-card { padding: 18px; }

    .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-main { padding: 32px 0 24px; }
}

@media (max-width: 480px) {
    .container { padding: 0 14px; }
    .article-head h1 { font-size: 18px; }
    .article-body { padding: 20px 16px 26px; }
    .article-content p { font-size: 14px; }
    .article-lead { font-size: 14px; }
    .footer-cols { grid-template-columns: 1fr; }
    .to-top { right: 16px; bottom: 18px; }
}