/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 毛玻璃效果 */
.glass-effect {
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

/* 导航按钮默认样式：白色 */
.nav-btn {
    color: #ffffff !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

/* 点击高亮样式：椭圆军绿色背景 */
.nav-active {
    background-color: #2A463A !important;
    color: #ffffff !important;
    border-radius: 999px !important;
}

/* 标题渐变文字 */
.text-red-green {
    color: #D92121;
}

/* 轮播遮罩 */
.carousel-mask {
    background: linear-gradient(to bottom, rgba(42,70,58,0) 0%, rgba(42,70,58,0.8) 100%);
}

/* 卡片悬浮效果 */
.card-hover {
    transition: all 0.4s ease;
}

/* 白底悬浮（列表页/详情页） */
.card-hover:hover {
    transform: translateY(-4px);
    border-color: #D92121 !important;
    box-shadow: 0 12px 24px -8px rgba(217, 33, 33, 0.12) !important;
}

/* 图片保持容器中心裁剪 */
.object-cover {
    object-position: center;
}

/* 滚动平滑 */
html {
    scroll-behavior: smooth;
}
/* 文章正文 - 支持 wangEditor 输出的样式 */
.article-body { line-height: 1.8; font-size: 15px; }
.article-body p { margin-bottom: 1em; }
.article-body img { max-width: 100%; height: auto; display: inline-block; border-radius: 8px; margin: 0 auto; }
.article-body p img { display: inline-block; }
.article-body ul, .article-body ol { padding-left: 2em; margin-bottom: 1em; }
.article-body blockquote { border-left: 4px solid #D92121; padding-left: 1em; margin: 1em 0; color: #666; }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 1em; }
.article-body th, .article-body td { border: 1px solid #ddd; padding: 8px; }
.article-body th { background: #f5f5f5; font-weight: 600; }
.article-body a { color: #D92121; text-decoration: underline; }
