/* 中式传统风格 CSS */

/* ========== 阅读进度条 ========== */
.news-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, #C00000, #D4763F);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ========== 卡片滚动入场动画 ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card.animate-in {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.news-card.animate-in:nth-child(1) { animation-delay: 0.05s; }
.news-card.animate-in:nth-child(2) { animation-delay: 0.12s; }
.news-card.animate-in:nth-child(3) { animation-delay: 0.19s; }
.news-card.animate-in:nth-child(4) { animation-delay: 0.26s; }
.news-card.animate-in:nth-child(5) { animation-delay: 0.33s; }
.news-card.animate-in:nth-child(6) { animation-delay: 0.40s; }

/* ========== 新闻发布浮动按钮 ========== */
.news-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #C00000, #8B0000);
    color: #fff !important;
    border: none;
    border-radius: 28px;
    box-shadow: 0 4px 16px rgba(192, 0, 0, 0.35);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-decoration: none;
}

.news-fab:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(192, 0, 0, 0.5);
    color: #fff !important;
    background: linear-gradient(135deg, #A50000, #6B0000);
}

/* ========== 导航栏中式主题 ========== */
.navbar-zupu {
    background: linear-gradient(to right, #C00000, #A50000) !important;
    min-height: 3.25rem;
}

.navbar-zupu .navbar-brand {
    font-family: 'SimSun', '宋体', serif;
    font-size: 1.15rem;
    font-weight: bold;
    letter-spacing: 2px;
    padding-left: 0.5rem;
    transition: opacity 0.2s;
}

.navbar-zupu .navbar-brand:hover {
    opacity: 0.85;
}

.navbar-zupu .nav-link {
    padding: 0.5rem 0.85rem;
    font-size: 0.92rem;
    transition: background-color 0.2s ease, opacity 0.2s;
    border-radius: 4px;
    margin: 0 1px;
}

.navbar-zupu .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.navbar-zupu .navbar-nav-right {
    gap: 0.3rem;
}

.navbar-zupu .nav-link-accent {
    color: #FFD54F !important;
    font-weight: 500;
    border-bottom: 2px solid rgba(255, 213, 79, 0);
    transition: border-color 0.2s ease;
}

.navbar-zupu .nav-link-accent:hover {
    border-bottom-color: rgba(255, 213, 79, 0.6);
}

/* ========== 首页样式 ========== */

/* 欢迎横幅 */
.welcome-banner {
    text-align: center;
    padding: 1.2rem 1rem;
    margin-top: 1rem;
    background: linear-gradient(135deg, #FFF8E7, #FDFBF7);
    border: 1px solid #E8DCC8;
    border-radius: 8px;
    font-family: 'SimSun', '宋体', serif;
    font-size: 1.2rem;
    font-weight: bold;
    color: #8B0000;
    box-shadow: 0 2px 8px rgba(165, 0, 0, 0.06);
}

.welcome-banner i {
    color: #D4763F;
    margin-right: 0.5rem;
}

/* 通用卡片 */
.main-card {
    background: #fff;
    border: 1px solid #E8DCC8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.25s ease;
}

.main-card:hover {
    box-shadow: 0 3px 12px rgba(165, 0, 0, 0.08);
}

.zupu-card-header {
    padding: 0.8rem 1.2rem;
    background: linear-gradient(to right, #C00000, #A50000);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 2px solid #8B0000;
}

.zupu-card-header i {
    font-size: 1.15rem;
    opacity: 0.9;
}

.zupu-card-title {
    font-size: 1.05rem;
    font-weight: bold;
    margin: 0;
    letter-spacing: 2px;
}

.zupu-card-body {
    padding: 1.2rem;
}

/* 侧边栏卡片 */
.sidebar-card {
    margin-bottom: 1.2rem;
}

.sidebar-card:last-child {
    margin-bottom: 0;
}

/* 主内容区容器 */
.container.my-4 {
    max-width: 1100px;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* 家族动态区 */
.news-section {
    margin-top: 1.5rem;
}

.news-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #E8DCC8;
}

.news-section-title {
    font-size: 1.15rem;
    font-weight: bold;
    color: #8B0000;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.news-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, #E8DCC8, transparent);
    margin-left: 0.8rem;
}

.news-section-title i {
    color: #C00000;
}

.news-section-more {
    font-size: 0.85rem;
    color: #C00000;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s, letter-spacing 0.2s;
}

.news-section-more:hover {
    color: #8B0000;
    letter-spacing: 1px;
    text-decoration: none;
}

.news-section-more i {
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.news-section-more:hover i {
    transform: translateX(3px);
}

/* 首页新闻卡片 */
.news-index-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-index-card:hover {
    transform: translateY(-3px);
}

.news-index-card:hover h6 {
    color: #C00000;
}

.news-index-thumb {
    width: 100%;
    height: 100px;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.news-index-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-index-card:hover .news-index-thumb img {
    transform: scale(1.05);
}

.news-index-thumb-empty {
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, #F9F5EB, #F5EDE0);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    border: 1px dashed #D4C4A8;
}

.news-index-content h6 {
    font-size: 0.88rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.news-index-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.72rem;
    color: #aaa;
}

/* 通用链接 */
a {
    color: #C00000;
    transition: color 0.2s;
}

a:hover {
    color: #8B0000;
}

a:not(.nav-link):not(.page-link):not(.news-section-more):not(.news-index-card):not(.news-list-link):not(.news-detail-back-link):not(.news-empty-btn) {
    text-decoration: none;
    border-bottom: 1px dashed rgba(192, 0, 0, 0.4);
    transition: border-color 0.2s;
}

a:not(.nav-link):not(.page-link):not(.news-section-more):not(.news-index-card):not(.news-list-link):not(.news-detail-back-link):not(.news-empty-btn):hover {
    border-bottom-color: #C00000;
}

/* ========== 侧边栏美化 ========== */

/* 滚动公告 - 无缝滚动 */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background: rgba(255, 248, 231, 0.9);
    position: relative;
    min-height: 40px;
}

.marquee-content {
    display: inline-flex;
    white-space: nowrap;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.marquee-content li {
    display: inline-block;
    margin-right: 40px;
    font-size: 16px;
    line-height: 40px;
    flex-shrink: 0;
}

/* 赞助名单 - 上下滚动 */
.sponsor-scroll-wrapper {
    height: 144px;
    overflow: hidden;
    width: 100%;
}

.sponsor-scroll-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.sponsor-item {
    display: table;
    width: 100%;
    table-layout: fixed;
    padding: 2px 0;
    font-size: 14px;
    line-height: 24px;
    height: 24px;
    border-bottom: 1px dashed #eee;
    box-sizing: border-box;
}

.sponsor-item:last-child {
    border-bottom: none;
}

.sponsor-name-col,
.sponsor-date-col,
.sponsor-amount-col {
    display: table-cell;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sponsor-name-col {
    text-align: left;
    padding-left: 8px;
    width: 40%;
}

.sponsor-date-col {
    text-align: center;
    width: 20%;
}

.sponsor-amount-col {
    text-align: right;
    color: #c00000;
    font-weight: bold;
    padding-right: 8px;
    width: 40%;
}

/* 家族树样式 */
.family-tree {
    font-family: 'SimSun', '宋体', serif;
}

.family-tree .current-user {
    border: 3px solid #8B0000;
    font-weight: bold;
}

.family-tree .spouse {
    border: 2px dashed #FF8C00;
}

.family-tree .child,
.family-tree .parent,
.family-tree .grandparent,
.family-tree .great-grandparent {
    border: 2px solid #333;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .family-tree {
        zoom: 0.8;
    }

    .marquee-content li {
        font-size: 14px;
        margin-right: 20px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .card-body {
        padding: 1rem;
    }

    .sponsor-scroll-wrapper {
        height: 120px;
    }
}

@media (max-width: 576px) {
    .family-tree {
        zoom: 0.7;
    }

    .navbar-nav {
        text-align: center;
    }

    .marquee-content li {
        font-size: 12px;
        margin-right: 15px;
    }

    .sponsor-scroll-wrapper {
        height: 120px;
    }
}

/* ========== 家族动态列表页样式 ========== */

/* 标题区 */
.news-header-section {
    position: relative;
    text-align: center;
    padding: 3.5rem 1rem 3rem;
    background: linear-gradient(180deg, #FDFBF7 0%, #FFF8E7 60%, #FDFBF7 100%);
    border-bottom: 1px solid #E8DCC8;
    overflow: hidden;
}

.news-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.news-header-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #C00000 30%, #C00000 70%, transparent);
    opacity: 0.25;
}

.news-header-content {
    position: relative;
    z-index: 1;
}

.news-header-title {
    font-family: 'SimSun', '宋体', serif;
    font-size: 2.2rem;
    font-weight: bold;
    color: #C00000;
    letter-spacing: 8px;
    margin-bottom: 0.8rem;
}

.news-header-subtitle {
    font-family: 'SimSun', '宋体', serif;
    font-size: 1rem;
    color: #a08060;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.news-header-deco {
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, #C00000, #D4763F, #C00000);
    margin: 0 auto;
    border-radius: 1px;
    opacity: 0.4;
}

/* 分类筛选 */
.news-filter-section {
    padding: 1.2rem 0 1rem;
}

.news-filter-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.news-filter-tab {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 24px;
    font-size: 0.88rem;
    color: #7a6a5a;
    text-decoration: none;
    background: #F5F0E6;
    border: 1px solid #E0D4C0;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.news-filter-tab:hover {
    color: #8B0000;
    border-color: #C00000;
    background: #FFF0E5;
}

.news-filter-tab.active {
    color: #fff;
    background: linear-gradient(135deg, #C00000, #A50000);
    border-color: #8B0000;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(192, 0, 0, 0.25);
}

/* 卡片列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 1rem;
}

.news-list-card {
    background: #FDFBF7;
    border: 1px solid #E8DCC8;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.news-list-card:hover {
    border-color: #C00000;
    box-shadow: 0 4px 16px rgba(165, 0, 0, 0.08);
}

/* 卡片顶部：分类标签 + 置顶 */
.news-list-card-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.2rem;
    background: rgba(192, 0, 0, 0.03);
    border-bottom: 1px solid #F0E8DC;
}

.news-list-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 1px;
}

.news-list-pinned {
    font-size: 0.75rem;
    color: #C00000;
    font-weight: 500;
    padding: 2px 8px;
    background: rgba(192, 0, 0, 0.06);
    border-radius: 3px;
}

/* 卡片元信息：日期 + 作者 */
.news-list-card-meta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
    color: #a09080;
    border-bottom: 1px solid #F0E8DC;
}

/* 卡片正文 */
.news-list-card-body {
    padding: 1.2rem;
}

.news-list-title {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 0.6rem;
}

.news-list-title h3 {
    font-size: 1.15rem;
    font-weight: bold;
    color: #5C2A0A;
    margin: 0;
    line-height: 1.6;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-title:hover h3 {
    color: #C00000;
}

.news-list-summary {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.8;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 卡片底部：查看详情按钮 */
.news-list-card-footer {
    padding: 0.8rem 1.2rem;
    border-top: 1px solid #F0E8DC;
    text-align: right;
}

.news-list-link {
    display: inline-block;
    font-size: 0.85rem;
    color: #C00000;
    text-decoration: none;
    font-weight: 500;
    padding: 4px 0;
    border-bottom: 1px dashed rgba(192, 0, 0, 0.4);
    transition: all 0.2s ease;
}

.news-list-link:hover {
    color: #8B0000;
    border-bottom-color: #C00000;
}

/* 空状态 */
.news-empty {
    text-align: center;
    padding: 4rem 1rem;
    background: linear-gradient(to bottom, #FDFBF7, #FFF8E7);
    border-radius: 12px;
    border: 1px dashed #D4C4A8;
}

.news-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border: 2px solid #D4C4A8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C00000;
    opacity: 0.4;
    font-size: 2rem;
}

.news-empty p {
    color: #a09080;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.news-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 1rem;
    padding: 8px 24px;
    border: 1px solid #C00000;
    border-radius: 24px;
    color: #C00000;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.news-empty-btn:hover {
    background: #C00000;
    color: #fff;
}

/* 确保 news 区域链接不带蓝色 */
.news-list-card a,
.news-header-section a,
.news-filter-section a {
    color: inherit;
}
.news-hero {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 2.5rem;
}

.news-hero-link {
    position: relative;
    display: block;
}

.news-hero-img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
}

.news-hero-placeholder {
    width: 100%;
    height: 360px;
    background: linear-gradient(135deg, #f5ebe0, #edd5bc);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9b8a8;
}

.news-hero-placeholder i {
    font-size: 5rem;
}

/* 遮罩层 */
.news-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
}

.news-hero-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #C00000, #A50000);
    color: #fff;
    padding: 5px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(192, 0, 0, 0.35);
}

.news-hero-overlay-title {
    font-family: 'SimSun', '宋体', serif;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-hero-overlay-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    opacity: 0.9;
}

/* 右侧置顶小卡片 */
.news-hero-side {
    padding: 1.5rem;
    background: linear-gradient(to bottom, #FFFDF5, #FFF8E7);
}

.news-hero-side-item {
    padding: 0.8rem 1rem;
    border-bottom: 1px dashed #e0d0c0;
}

.news-hero-side-item:last-child {
    border-bottom: none;
}

.news-hero-side-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-hero-side-title {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.4rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.news-hero-side-link:hover .news-hero-side-title {
    color: #C00000;
}

.news-hero-side-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #999;
}

/* 日期角标 */
.news-date-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #F9F5EB;
    border: 1px solid #E8DCC8;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.7rem;
    line-height: 1.2;
    color: #A50000;
    white-space: nowrap;
}

.news-date-badge .date-day {
    font-size: 0.95rem;
    font-weight: bold;
}

/* 分类筛选栏 */
.news-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding: 0.8rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #F0E8DC;
}

.news-filter-title {
    font-family: 'SimSun', '宋体', serif;
    font-size: 1rem;
    font-weight: bold;
    color: #A50000;
    white-space: nowrap;
    position: relative;
}

.news-filter-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 1.1rem;
    background: linear-gradient(to bottom, #C00000, #D4763F);
    border-radius: 2px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.news-filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.news-filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 18px;
    border-radius: 24px;
    font-size: 0.88rem;
    color: #666;
    text-decoration: none;
    background: transparent;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    white-space: nowrap;
}

.news-filter-tab i {
    font-size: 0.95em;
}

.news-filter-tab:hover {
    color: #C00000;
    background: #FFF5F0;
    border-color: #F0D0C0;
    transform: translateY(-1px);
}

.news-filter-tab.active {
    color: #fff;
    background: linear-gradient(135deg, #C00000, #A50000);
    border-color: #A50000;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(192, 0, 0, 0.25);
}

/* 三列卡片网格 */
.news-card-grid {
    margin-bottom: 2rem;
}

.news-card {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 1.5rem;
}

.news-card-inner {
    background: #fff;
    border: 1px solid #E8DCC8;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, background-color 0.3s ease;
    height: 100%;
    position: relative;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.news-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #C00000, #D4763F);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.news-card:hover .news-card-inner {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(165, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: #D4763F;
}

.news-card:hover .news-card-inner::before {
    opacity: 1;
}

.news-card:hover .news-card-inner::before {
    opacity: 1;
}

/* 封面图 */
.news-card-cover {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.news-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-cover img {
    transform: scale(1.06);
}

.news-card-cover-empty {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F9F5EB 0%, #F5EDE0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 族徽图标 */
.news-card-icon {
    width: 56px;
    height: 56px;
    border: 2px solid #D4C4A8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'SimSun', '宋体', serif;
    font-size: 1.4rem;
    font-weight: bold;
    color: #A50000;
    background: #FFFDF5;
}

/* 分类角标 - 右上角 */
.news-card-cat-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
}

/* 卡片内容区 */
.news-card-body {
    padding: 1rem 1.1rem;
}

.news-card-title {
    font-size: 1.02rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.news-card:hover .news-card-title {
    color: #C00000;
}

.news-card-summary {
    color: #888;
    font-size: 0.82rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.6rem;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: #aaa;
    padding-top: 0.5rem;
    border-top: 1px solid #F5F0E8;
}

/* 分类标签颜色 - 列表卡片 */
.news-list-tag.news-tag-1,
.news-detail-tag.news-tag-1 {
    background: #C00000 !important;
}

.news-list-tag.news-tag-2,
.news-detail-tag.news-tag-2 {
    background: #DAA520 !important;
}

.news-list-tag.news-tag-3,
.news-detail-tag.news-tag-3 {
    background: #8B4513 !important;
}

.news-list-tag.news-tag-4,
.news-detail-tag.news-tag-4 {
    background: #556B2F !important;
}

.news-list-tag.news-tag-5,
.news-detail-tag.news-tag-5 {
    background: #4A90D9 !important;
}

.news-list-tag.news-tag-6,
.news-detail-tag.news-tag-6 {
    background: #2E8B57 !important;
}

.news-list-tag.news-tag-7,
.news-detail-tag.news-tag-7 {
    background: #DAA520 !important;
}

.news-list-tag.news-tag-8,
.news-detail-tag.news-tag-8 {
    background: #9E9E9E !important;
}

/* 首页动态分类 */
.news-cat-1 { background: #C00000 !important; }
.news-cat-2 { background: #DAA520 !important; }
.news-cat-3 { background: #8B4513 !important; }
.news-cat-4 { background: #556B2F !important; }
.news-cat-5 { background: #4A90D9 !important; }
.news-cat-6 { background: #2E8B57 !important; }
.news-cat-7 { background: #DAA520 !important; }
.news-cat-8 { background: #9E9E9E !important; }

/* 通用 Badge 样式覆盖 Bootstrap */
.news-card .badge,
.news-hero-overlay-meta .badge,
.news-hero-side-meta .badge,
.news-detail-meta .badge {
    font-weight: 500;
    font-size: 0.72rem;
}

/* 分页 */
.news-pagination .pagination .page-link {
    color: #666;
    border: 1px solid #ddd;
    padding: 6px 14px;
    font-size: 0.9rem;
    border-radius: 24px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 2px;
}

.news-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #C00000, #A50000);
    border-color: #A50000;
    color: #fff;
    box-shadow: 0 2px 8px rgba(192, 0, 0, 0.3);
    transform: scale(1.05);
}

.news-pagination .page-link:hover {
    background: #FFF5F0;
    color: #C00000;
    border-color: #C00000;
}

/* ========== 家族动态详情页样式 ========== */

/* 文章容器 */
.news-detail-article {
    max-width: 800px;
    margin: 0 auto;
}

/* 面包屑 */
.news-detail-breadcrumb .breadcrumb {
    font-size: 0.85rem;
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.news-detail-breadcrumb .breadcrumb-item a {
    color: #C00000;
    text-decoration: none;
}

.news-detail-breadcrumb .breadcrumb-item a:hover {
    text-decoration: underline;
}

.news-detail-breadcrumb .breadcrumb-item.active {
    color: #999;
}

/* 文章头部 */
.news-detail-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.news-detail-tag {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.news-detail-title {
    font-family: 'SimSun', '宋体', serif;
    color: #222;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 3px;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 1rem;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #999;
    font-family: 'SimSun', '宋体', serif;
}

.news-detail-meta span i {
    font-size: 0.9em;
}

.news-detail-pinned {
    color: #C00000;
    font-weight: 500;
}

/* 封面图 */
.news-detail-cover {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.news-detail-cover img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.news-detail-cover:hover img {
    transform: scale(1.02);
}

/* 中式分隔线 */
.news-detail-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #D4C4A8 15%, #A50000 50%, #D4C4A8 85%, transparent);
    opacity: 0.35;
    margin: 1.5rem 0;
}

/* 富文本正文 */
.news-detail-content {
    font-family: 'SimSun', '宋体', serif;
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    word-break: break-word;
    background: #FDFBF7;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    border: 1px solid #F0E8DC;
}

.news-detail-content h1 {
    font-family: 'SimSun', '宋体', serif;
    font-size: 1.4rem;
    font-weight: bold;
    color: #A50000;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
}

.news-detail-content h2 {
    font-family: 'SimSun', '宋体', serif;
    font-size: 1.25rem;
    font-weight: bold;
    color: #8B0000;
    margin-top: 1.4em;
    margin-bottom: 0.5em;
}

.news-detail-content h3 {
    font-family: 'SimSun', '宋体', serif;
    font-size: 1.1rem;
    font-weight: bold;
    color: #8B0000;
    margin-top: 1.2em;
    margin-bottom: 0.4em;
}

.news-detail-content p {
    margin-bottom: 1em;
    text-indent: 2em;
}

.news-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #E8DCC8;
    margin: 1.2em 0;
    display: block;
}

.news-detail-content ul, .news-detail-content ol {
    margin-bottom: 1em;
    padding-left: 1.8em;
}

.news-detail-content li {
    margin-bottom: 0.3em;
}

.news-detail-content blockquote {
    border-left: 4px solid #C00000;
    padding: 0.8em 1.2em;
    margin: 1.4em 0;
    background: linear-gradient(to right, #FFF8E7, #FDFBF7);
    color: #555;
    border-radius: 0 6px 6px 0;
    position: relative;
    font-style: italic;
}

.news-detail-content blockquote::before {
    content: '\201C';
    position: absolute;
    top: -0.2em;
    left: 0.4em;
    font-size: 2.5rem;
    color: #C00000;
    opacity: 0.2;
    font-family: serif;
}

.news-detail-content blockquote p {
    text-indent: 0;
}

.news-detail-content a {
    color: #C00000;
    text-decoration: underline;
}

.news-detail-content strong {
    font-weight: bold;
    color: #8B0000;
}

.news-detail-content em {
    font-style: italic;
}

.news-detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

.news-detail-content table th,
.news-detail-content table td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: left;
}

.news-detail-content table th {
    background: #f5f5f5;
    font-weight: bold;
}

/* 上一篇/下一篇 - 全宽横条 */
.news-detail-nav {
    display: flex;
    justify-content: space-between;
    gap: 0;
    margin-top: 2rem;
    border: 1px solid #E8DCC8;
    border-radius: 8px;
    overflow: hidden;
}

.news-detail-nav-item {
    flex: 1;
    padding: 1rem 1.3rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-detail-nav-item:hover {
    background: #FFF8E7;
}

.news-detail-nav-prev {
    text-align: left;
    border-right: 1px solid #E8DCC8;
}

.news-detail-nav-next {
    text-align: right;
}

.news-detail-nav-label {
    display: block;
    font-size: 0.78rem;
    color: #aaa;
    margin-bottom: 0.3rem;
}

.news-detail-nav-title {
    display: block;
    font-size: 0.92rem;
    color: #555;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s;
}

.news-detail-nav-item:hover .news-detail-nav-title {
    color: #C00000;
}

.news-detail-nav-empty {
    color: #ccc;
    cursor: default;
    pointer-events: none;
}

.news-detail-nav-empty:hover {
    background: transparent;
}

.news-detail-nav-empty .news-detail-nav-label {
    color: #ccc;
}

/* 返回链接 */
.news-detail-back {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.news-detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 20px;
    border: 1px solid #D4C4A8;
    border-radius: 24px;
    transition: all 0.25s ease;
}

.news-detail-back-link:hover {
    color: #C00000;
    border-color: #C00000;
    background: #FFF8E7;
}

.news-detail-back-link i {
    font-size: 0.95em;
}

/* ========== 首页家族动态推荐区 ========== */
.news-rec-section {
    background: linear-gradient(to bottom, #FDFBF7, #F9F5EB);
    border-top: 1px solid #E8DCC8;
    border-bottom: 1px solid #E8DCC8;
    padding: 2rem 0;
    margin-top: 2rem;
}

.news-rec-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #E8DCC8;
}

.news-rec-title {
    font-family: 'SimSun', '宋体', serif;
    color: #A50000;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-rec-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 18px;
    background: #A50000;
    border-radius: 1px;
}

.news-rec-more {
    color: #A50000;
    font-size: 0.85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.news-rec-more:hover {
    gap: 8px;
}

.news-rec-item {
    display: flex;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.news-rec-item:hover {
    transform: translateY(-2px);
}

.news-rec-thumb {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 1rem;
    border: 1px solid #E8DCC8;
    transition: border-color 0.2s;
}

.news-rec-item:hover .news-rec-thumb {
    border-color: #C00000;
}

.news-rec-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-rec-thumb-empty {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    background: #F5EDE0;
    border-radius: 4px;
    border: 1px solid #E8DCC8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: border-color 0.2s;
}

.news-rec-item:hover .news-rec-thumb-empty {
    border-color: #C00000;
}

.news-rec-thumb-empty .news-card-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
}

.news-rec-content h6 {
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.news-rec-item:hover .news-rec-content h6 {
    color: #C00000;
}

.news-rec-meta {
    font-size: 0.78rem;
    color: #aaa;
}

/* ========== 富文本兼容性（列表摘要也用了 .news-content） ========== */
.news-content {
    line-height: 1.8;
    font-size: 16px;
}

.news-content h1, .news-content h2, .news-content h3, .news-content h4 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.news-content p {
    margin-bottom: 1em;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1em 0;
}

.news-content ul, .news-content ol {
    margin-bottom: 1em;
    padding-left: 2em;
}

.news-content blockquote {
    border-left: 4px solid #ccc;
    padding-left: 1em;
    margin: 1em 0;
    color: #666;
}

.news-content a {
    color: #C00000;
}

/* ========== 响应式适配 ========== */
@media (max-width: 992px) {
    .news-hero-img,
    .news-hero-placeholder {
        min-height: 280px;
        height: 280px;
    }

    .news-hero-overlay-title {
        font-size: 1.3rem;
    }

    .news-card-cover {
        height: 160px;
    }
}

/* ========== 响应式适配 ========== */
@media (max-width: 992px) {
    .news-hero-img,
    .news-hero-placeholder {
        min-height: 280px;
        height: 280px;
    }

    .news-hero-overlay-title {
        font-size: 1.3rem;
    }

    .news-card-cover {
        height: 160px;
    }
}

@media (max-width: 768px) {
    /* 标题区 */
    .news-header-section {
        padding: 2.5rem 1rem 2rem;
    }

    .news-header-title {
        font-size: 1.6rem;
        letter-spacing: 5px;
    }

    .news-header-subtitle {
        font-size: 0.9rem;
    }

    /* 筛选栏 */
    .news-filter-wrapper {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .news-filter-tab {
        flex-shrink: 0;
    }

    /* 卡片 */
    .news-list-card {
        border-radius: 6px;
    }

    .news-list-card-header {
        padding: 0.5rem 1rem;
    }

    .news-list-card-meta {
        padding: 0.4rem 1rem;
        gap: 0.8rem;
        font-size: 0.75rem;
    }

    .news-list-card-body {
        padding: 1rem;
    }

    .news-list-title h3 {
        font-size: 1.05rem;
    }

    .news-list-summary {
        font-size: 0.85rem;
    }

    .news-list-card-footer {
        padding: 0.6rem 1rem;
    }

    .news-fab {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    /* 详情页 */
    .news-detail-content {
        padding: 1rem;
    }

    .news-detail-title {
        font-size: 1.35rem;
    }

    .news-detail-meta {
        font-size: 0.8rem;
    }

    .news-detail-nav {
        flex-direction: column;
    }

    .news-detail-nav-prev {
        border-right: none;
        border-bottom: 1px solid #E8DCC8;
    }

    .news-detail-nav-next {
        text-align: left;
    }

    .news-rec-item {
        flex-direction: column;
    }

    .news-rec-thumb,
    .news-rec-thumb-empty {
        width: 100%;
        height: 120px;
        margin-right: 0;
        margin-bottom: 0.6rem;
    }
}

@media (max-width: 576px) {
    .news-header-section {
        padding: 2rem 0.75rem 1.5rem;
    }

    .news-header-title {
        font-size: 1.35rem;
        letter-spacing: 4px;
    }

    .news-header-subtitle {
        font-size: 0.82rem;
        letter-spacing: 2px;
    }

    .news-filter-section {
        padding: 0.8rem 0 0.6rem;
    }

    .news-filter-wrapper {
        padding: 0 0.75rem;
    }

    .news-list-card {
        border-radius: 6px;
    }

    .news-list-card-header {
        padding: 0.4rem 0.8rem;
    }

    .news-list-card-meta {
        padding: 0.35rem 0.8rem;
        gap: 0.6rem;
        font-size: 0.72rem;
    }

    .news-list-card-body {
        padding: 0.8rem;
    }

    .news-list-title h3 {
        font-size: 1rem;
    }

    .news-list-summary {
        font-size: 0.85rem;
        line-height: 1.7;
    }

    .news-list-card-footer {
        padding: 0.5rem 0.8rem;
    }

    .news-fab {
        bottom: 1rem;
        right: 1rem;
        padding: 8px 14px;
        font-size: 0.82rem;
    }

    .news-banner {
        padding: 2rem 1rem 1.5rem;
    }

    .news-banner h2 {
        font-size: 1.35rem;
        letter-spacing: 2px;
    }

    .news-hero-img,
    .news-hero-placeholder {
        height: 180px !important;
        min-height: 180px;
    }

    .news-hero-overlay {
        padding: 1rem;
    }

    .news-hero-overlay-title {
        font-size: 1rem;
    }

    .news-card-cover {
        height: 120px;
    }

    .news-card-body {
        padding: 0.8rem;
    }

    .news-filter-tab {
        padding: 4px 10px;
        font-size: 0.8rem;
    }

    .news-detail-title {
        font-size: 1.2rem;
    }

    .news-detail-content {
        font-size: 15px;
        padding: 0.8rem;
    }
}

/* 打印样式 */
@media print {
    .navbar, .footer, .alert, .news-filter-bar, .news-filter-section, .news-pagination, .news-detail-nav, .news-fab {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .family-tree {
        zoom: 1;
    }

    .news-detail-content {
        font-size: 14px;
        background: transparent;
        border: none;
        padding: 0;
    }
}

/* ========== 家族动态互动区 ========== */

/* 互动栏 */
.news-interactive-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
}

/* 点赞按钮 */
.news-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 6px 16px;
    border-radius: 24px;
    border: 1px solid #E0D4C0;
    background: #F9F5EB;
    color: #C00000;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.88rem;
    user-select: none;
}

.news-like-btn:hover {
    background: #FFF0E5;
    border-color: #C00000;
}

.news-like-btn.liked {
    background: linear-gradient(135deg, #C00000, #A50000);
    border-color: #8B0000;
    color: #fff;
}

.news-like-btn.liked:hover {
    background: linear-gradient(135deg, #A50000, #8B0000);
}

.news-like-btn i {
    font-size: 1rem;
}

.news-like-btn .like-count {
    font-weight: 600;
    font-size: 0.95rem;
}

.news-like-btn .like-text {
    font-size: 0.82rem;
}

/* 评论区 */
.news-comments-section {
    padding: 1.5rem 0;
}

.news-comments-title {
    font-family: 'SimSun', '宋体', serif;
    color: #5C2A0A;
    font-size: 1.15rem;
    font-weight: bold;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.news-comment-input-area {
    margin-bottom: 1.5rem;
}

.news-comment-form {
    background: #FDFBF7;
    border: 1px solid #E8DCC8;
    border-radius: 8px;
    padding: 1rem;
}

.news-comment-textarea {
    width: 100%;
    border: 1px solid #E0D4C0;
    border-radius: 4px;
    padding: 0.75rem;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.news-comment-textarea:focus {
    outline: none;
    border-color: #C00000;
    background: #fff;
}

.news-comment-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    justify-content: flex-end;
}

.news-comment-submit {
    padding: 6px 20px;
    background: linear-gradient(135deg, #C00000, #A50000);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.88rem;
    transition: background 0.2s;
}

.news-comment-submit:hover {
    background: linear-gradient(135deg, #A50000, #8B0000);
}

.news-comment-cancel {
    padding: 6px 16px;
    background: #fff;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.88rem;
    transition: all 0.2s;
}

.news-comment-cancel:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.news-comment-login-prompt {
    text-align: center;
    padding: 2rem;
    background: #F9F5EB;
    border-radius: 8px;
    color: #999;
    font-size: 0.9rem;
}

.news-comment-login-prompt a {
    color: #C00000;
    font-weight: 600;
    text-decoration: underline;
}

/* 评论列表 */
.news-comment-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-comment-item {
    background: #FDFBF7;
    border: 1px solid #F0E8DC;
    border-radius: 6px;
    padding: 0.75rem 1rem;
}

.news-comment-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
}

.news-comment-user {
    font-weight: 600;
    color: #8B4513;
    font-size: 0.88rem;
}

.news-comment-time {
    font-size: 0.78rem;
    color: #aaa;
}

.news-comment-actions-inline {
    margin-left: auto;
    display: flex;
    gap: 0.5rem;
    font-size: 0.78rem;
}

.news-comment-actions-inline a {
    color: #999;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

.news-comment-actions-inline a:hover {
    color: #C00000;
}

.news-comment-content {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.6;
    padding-left: 0.5rem;
    border-left: 2px solid #E8DCC8;
    margin-left: 0.5rem;
}

/* 回复列表 */
.news-comment-replies {
    margin-top: 0.5rem;
    margin-left: 1.5rem;
    padding-left: 0.75rem;
    border-left: 1px dashed #E0D4C0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.news-comment-reply {
    background: #FFF8E7;
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
}

.news-comment-reply-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.news-comment-reply-content {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    padding-left: 0.25rem;
}

/* 空状态 */
.news-comment-empty {
    text-align: center;
    padding: 3rem;
    color: #ccc;
    font-size: 0.9rem;
}

.news-comment-loading {
    text-align: center;
    padding: 2rem;
    color: #999;
    font-size: 0.85rem;
}

/* 列表卡片点赞数 */
.news-list-likes {
    display: inline-block;
    font-size: 0.82rem;
    color: #C00000;
    margin-left: 0.8rem;
    vertical-align: middle;
}

.news-list-likes i {
    font-size: 0.9rem;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .news-like-btn {
        padding: 5px 12px;
        font-size: 0.82rem;
    }

    .news-comment-input-area {
        margin-bottom: 1rem;
    }

    .news-comment-form {
        padding: 0.75rem;
    }

    .news-comment-replies {
        margin-left: 0.5rem;
        padding-left: 0.5rem;
    }

    .news-comment-item {
        padding: 0.6rem 0.75rem;
    }

    .news-list-likes {
        margin-left: 0.5rem;
        font-size: 0.78rem;
    }
}

@media (max-width: 576px) {
    .news-like-btn .like-text {
        display: none;
    }

    .news-comment-actions-inline {
        gap: 0.3rem;
        font-size: 0.72rem;
    }

    .news-comment-replies {
        margin-left: 0.25rem;
    }
}

/* ========== 首页响应式 ========== */
@media (max-width: 768px) {
    .main-card {
        margin-bottom: 1rem;
    }

    .zupu-card-header {
        padding: 0.7rem 1rem;
    }

    .zupu-card-body {
        padding: 1rem;
    }

    .zupu-card-title {
        font-size: 0.95rem;
    }

    .news-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .news-index-grid .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .news-index-thumb,
    .news-index-thumb-empty {
        height: 90px;
    }

    .container.my-4 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (max-width: 576px) {
    .header h1 {
        font-size: 1.3rem;
        letter-spacing: 3px;
    }

    .header p {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .navbar-zupu .navbar-brand {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .navbar-zupu .nav-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }

    .container.my-4 {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    .zupu-card-body {
        padding: 0.8rem;
    }

    .welcome-banner {
        font-size: 1rem;
        padding: 0.8rem;
    }
}
