@charset "utf-8";
/* CSS Document */

        :root {
            --bao-blue: #f1403c;
            --bao-blue-dark: #d63031;
            --bao-gray-light: #f6f6f6;
            --bao-gray-border: #ebebeb;
            --bao-gray-text: #646464;
            --bao-gray-text-dark: #1a1a1a;
            --bao-card-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            --bao-card-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
        }
        
        body {
            background-color: var(--bao-gray-light);
            color: var(--bao-gray-text-dark);
            line-height: 1.6;
        }
        
        /* 顶部导航栏 */
        .navbar {
            background-color: white;
            border-bottom: 1px solid var(--bao-gray-border);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        }
        
        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 20px;
            height: 60px;
        }
        
        .nav-left, .nav-center, .nav-right {
            display: flex;
            align-items: center;
        }
        
        /* Logo样式 */
        .logo {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 30px;
            text-decoration: none;
            width: 120px;
            height: 40px;
        }
        
        .logo-img {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #f1403c 0%, #d63031 100%);
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 18px;
            letter-spacing: 1px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(241, 64, 60, 0.3);
        }
        
        .logo-img::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #ffcc00, #ff9900, #ff6600);
        }
        
        .logo-text {
            display: flex;
            align-items: center;
            gap: 2px;
        }
        
        .logo-text span {
            display: inline-block;
            transform: skew(-5deg);
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
        }
        
        .logo-text span:nth-child(1) {
            color: #ffffff;
            font-weight: 800;
        }
        
        .logo-text span:nth-child(2) {
            color: #ffeb3b;
            font-weight: 800;
        }
        
        .logo-text span:nth-child(3) {
            color: #ffffff;
            font-weight: 800;
        }
        
        .nav-links {
            display: flex;
            list-style: none;
        }
        
        .nav-links li {
            margin-right: 25px;
        }
        
        .nav-links a {
            color: var(--bao-gray-text-dark);
            text-decoration: none;
            font-size: 15px;
            font-weight: 500;
            padding: 8px 0;
            position: relative;
        }
        
        .nav-links a:hover {
            color: var(--bao-blue);
        }
        
        .nav-links a.active {
            color: var(--bao-blue);
        }
        
        .nav-links a.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: var(--bao-blue);
        }
        
        .search-bar {
            background-color: var(--bao-gray-light);
            border: 1px solid var(--bao-gray-border);
            border-radius: 4px;
            padding: 8px 12px;
            width: 350px;
            display: flex;
            align-items: center;
        }
        
        .search-bar i {
            color: var(--bao-gray-text);
            margin-right: 8px;
        }
        
        .search-bar input {
            border: none;
            background: transparent;
            width: 100%;
            font-size: 14px;
            outline: none;
            flex: 1;
        }
        
        /* 搜索提交按钮 */
        .search-submit-btn {
            background-color: var(--bao-blue);
            color: white;
            border: none;
            border-radius: 4px;
            padding: 6px 12px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            margin-left: 8px;
            transition: background-color 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .search-submit-btn:hover {
            background-color: var(--bao-blue-dark);
        }
        
        .nav-buttons {
            display: flex;
            align-items: center;
        }
        
        .btn-ask {
            background-color: var(--bao-blue);
            color: white;
            border: none;
            border-radius: 4px;
            padding: 8px 16px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            margin-right: 15px;
            transition: background-color 0.2s;
        }
        
        .btn-ask:hover {
            background-color: var(--bao-blue-dark);
        }
        
        .nav-icon {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--bao-gray-text);
            font-size: 18px;
            cursor: pointer;
            border-radius: 50%;
            margin-left: 8px;
        }
        
        .nav-icon:hover {
            background-color: var(--bao-gray-light);
        }
        
        .user-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: var(--bao-blue);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            margin-left: 15px;
            cursor: pointer;
        }
        
        /* 移动端折叠菜单按钮 */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            color: var(--bao-gray-text);
            cursor: pointer;
            margin-right: 15px;
            width: 30px;
            height: 30px;
            align-items: center;
            justify-content: center;
        }
        
        /* 移动端搜索按钮 */
        .mobile-search-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 20px;
            color: var(--bao-gray-text);
            cursor: pointer;
            width: 30px;
            height: 30px;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
        }
        
        /* 移动端搜索框容器 */
        .mobile-search-container {
            display: none;
            position: absolute;
            top: 60px;
            left: 0;
            width: 100%;
            background-color: white;
            padding: 15px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            z-index: 999;
        }
        
        .mobile-search-container .search-bar {
            width: 100%;
        }
        
        /* 移动端折叠导航菜单 */
        .mobile-nav-menu {
            display: none;
            position: fixed;
            top: 60px;
            left: 0;
            width: 100%;
            background-color: white;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            z-index: 999;
            max-height: calc(100vh - 60px);
            overflow-y: auto;
        }
        
        .mobile-nav-menu .mobile-nav-links {
            flex-direction: column;
            width: 100%;
            list-style: none;
        }
        
        .mobile-nav-menu .mobile-nav-links li {
            margin: 0;
            width: 100%;
        }
        
        .mobile-nav-menu .mobile-nav-links a {
            display: block;
            padding: 15px 20px;
            border-bottom: 1px solid var(--bao-gray-border);
            font-size: 16px;
            color: var(--bao-gray-text-dark);
            text-decoration: none;
        }
        
        .mobile-nav-menu .mobile-nav-links a:hover {
            background-color: var(--bao-gray-light);
        }
        
        .mobile-nav-menu .mobile-nav-links a.active {
            color: var(--bao-blue);
            background-color: var(--bao-gray-light);
        }
        
        /* 主要内容区域 */
        .main-container {
            max-width: 1200px;
            margin: 20px auto;
            padding: 0 20px;
            display: flex;
            gap: 20px;
            position: relative;
        }
        
        /* 左侧边栏 */
        .sidebar-left {
            flex: 0 0 200px;
            position: sticky;
            top: 80px;
            height: calc(100vh - 100px);
            overflow-y: auto;
            padding-right: 5px;
        }
        
        /* 右侧边栏 */
        .sidebar-right {
            flex: 0 0 300px;
            position: sticky;
            top: 80px;
            height: calc(100vh - 100px);
            overflow-y: auto;
            padding-right: 5px;
        }
        
        /* 自定义滚动条样式 */
        .sidebar-left::-webkit-scrollbar,
        .sidebar-right::-webkit-scrollbar {
            width: 6px;
        }
        
        .sidebar-left::-webkit-scrollbar-track,
        .sidebar-right::-webkit-scrollbar-track {
            background: var(--bao-gray-light);
            border-radius: 3px;
        }
        
        .sidebar-left::-webkit-scrollbar-thumb,
        .sidebar-right::-webkit-scrollbar-thumb {
            background: #c1c1c1;
            border-radius: 3px;
        }
        
        .sidebar-left::-webkit-scrollbar-thumb:hover,
        .sidebar-right::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8;
        }
        
        .sidebar-card {
            background-color: white;
            border-radius: 4px;
            box-shadow: var(--bao-card-shadow);
            margin-bottom: 20px;
            overflow: hidden;
        }
        
        .sidebar-header {
            padding: 16px 20px;
            border-bottom: 1px solid var(--bao-gray-border);
            font-size: 16px;
            font-weight: 600;
        }
        
        .sidebar-list {
            list-style: none;
        }
        
        .sidebar-list li {
            padding: 12px 20px;
            border-bottom: 1px solid var(--bao-gray-border);
            font-size: 14px;
            cursor: pointer;
            display: flex;
            align-items: center;
        }
        
        .sidebar-list li:last-child {
            border-bottom: none;
        }
        
        .sidebar-list li:hover {
            background-color: var(--bao-gray-light);
        }


        
        .sidebar-list i {
            margin-right: 10px;
            color: var(--bao-gray-text);
            width: 18px;
            text-align: center;
        }
        
        /* 内容区域 */
        .content-area {
            flex: 1;
            min-width: 0;
            max-width: 100%;
        }
        
        .content-tabs {
            display: flex;
            background-color: white;
            border-radius: 4px;
            box-shadow: var(--bao-card-shadow);
            overflow: hidden;
            margin-bottom: 20px;
        }
        
        .tab {
            padding: 16px 24px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            border-bottom: 2px solid transparent;
            transition: all 0.2s;
        }
        
        .tab:hover {
            background-color: var(--bao-gray-light);
        }
        
        .tab.active {
            color: var(--bao-blue);
            border-bottom-color: var(--bao-blue);
        }
        
        /* 内容卡片 - 优化版 */
        .content-card {
            background-color: white;
            border-radius: 6px;
            box-shadow: var(--bao-card-shadow);
            margin-bottom: 25px;
            padding: 25px;
            transition: box-shadow 0.3s, transform 0.3s;
            position: relative;
            overflow: hidden;
        }
        
        .content-card:hover {
            box-shadow: var(--bao-card-hover);
            transform: translateY(-2px);
        }
        
        /* 卡片头部 - 用户信息 */
        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }
        
        .user-info {
            display: flex;
            align-items: center;
        }
        
        .user-avatar-small {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background-color: var(--bao-blue);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: bold;
            margin-right: 10px;
        }
        
        .user-details .user-name {
            font-size: 14px;
            font-weight: 600;
        }
        
        .user-details .post-time {
            font-size: 12px;
            color: var(--bao-gray-text);
        }
        
        .card-follow {
            color: var(--bao-blue);
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
        }
        
        /* 卡片标题 */
        .card-title {
            font-size: 19px;
            font-weight: 600;
            line-height: 1.4;
            margin-bottom: 18px;
            cursor: pointer;
            word-break: break-word;
        }
        
        .card-title:hover {
            color: var(--bao-blue);
        }
        
        /* 卡片主体 - 图片和内容描述并排 */
        .card-body {
            display: flex;
            gap: 25px;
            margin-bottom: 15px;
        }
        
        /* 卡片左侧缩略图区域 - 增大尺寸 */
        .card-thumbnail {
            flex: 0 0 180px; /* 进一步增大缩略图宽度 */
            display: flex;
            align-items: flex-start;
            justify-content: center;
            overflow: hidden;
            border-radius: 6px;
            transition: opacity 0.3s, flex 0.3s, width 0.3s;
        }
        
        /* 当内容展开时，缩略图消失 - 仅桌面端生效 */
        .content-card.expanded .card-thumbnail {
            opacity: 0;
            flex: 0;
            width: 0;
            margin: 0;
            padding: 0;
            overflow: hidden;
        }
        
        .thumbnail-img {
            width: 100%;
            height: 140px; /* 增加缩略图高度 */
            object-fit: cover;
            border-radius: 6px;
        }
        
        .thumbnail-placeholder {
            width: 180px; /* 与缩略图宽度一致 */
            height: 140px; /* 与缩略图高度一致 */
            background-color: var(--bao-gray-light);
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--bao-gray-text);
            font-size: 14px;
            flex-direction: column;
        }
        
        /* 卡片右侧内容描述区域 */
        .card-content-wrapper {
            flex: 1;
            min-width: 0;
            overflow-wrap: break-word;
            word-wrap: break-word;
        }
        
        .card-content {
            font-size: 15px;
            color: var(--bao-gray-text-dark);
            line-height: 1.7;
            max-height: 100px;
            overflow: hidden;
            position: relative;
        }
        
        .card-content.expanded {
            max-height: none;
        }
        
        .card-content::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 20px;
            background: linear-gradient(to bottom, transparent, white);
        }
        
        .card-content.expanded::after {
            display: none;
        }
        
        /* 阅读全文/收起按钮样式 */
        .read-more {
            color: #999;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            margin-top: 5px;
            transition: color 0.2s;
        }
        
        .read-more:hover {
            color: #666;
        }
        
        .read-more i {
            margin-right: 5px;
            font-size: 12px;
        }
        
        .card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid var(--bao-gray-border);
        }
        
        .card-stats {
            display: flex;
            color: var(--bao-gray-text);
            font-size: 14px;
        }
        
        .card-stat {
            margin-right: 20px;
            display: flex;
            align-items: center;
        }
        
        .card-stat i {
            margin-right: 5px;
            font-size: 16px;
        }
        
        .card-actions {
            display: flex;
        }
        
        .card-action {
            margin-left: 15px;
            cursor: pointer;
            color: var(--bao-gray-text);
            font-size: 14px;
        }
        
        .card-action:hover {
            color: var(--bao-blue);
        }
        
        /* 加载更多指示器 */
        .loading-indicator {
            text-align: center;
            padding: 30px;
            color: var(--bao-gray-text);
            font-size: 14px;
        }
        
        .loading-indicator i {
            margin-right: 8px;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        /* 内容结束提示 */
        .end-of-content {
            text-align: center;
            padding: 30px;
            color: var(--bao-gray-text);
            font-size: 14px;
            border-top: 1px solid var(--bao-gray-border);
            margin-top: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        
        .end-text {
            margin-bottom: 20px;
        }
        
        /* 阅读更多按钮样式 */
        .read-more-btn {
            background-color: var(--bao-blue);
            color: white;
            border: none;
            border-radius: 4px;
            padding: 12px 24px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.2s, transform 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(241, 64, 60, 0.3);
        }
        
        .read-more-btn:hover {
            background-color: var(--bao-blue-dark);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(241, 64, 60, 0.4);
        }
        
        .read-more-btn:active {
            transform: translateY(0);
        }
        
        .read-more-btn i {
            margin-right: 8px;
        }
        
        /* 右侧边栏内容 */
        .hot-topics {
            padding: 0;
        }
        
        .topic-item {
            display: flex;
            align-items: center;
            padding: 12px 20px;
            border-bottom: 1px solid var(--bao-gray-border);
        }
        
        .topic-rank {
            font-size: 16px;
            font-weight: 700;
            color: var(--bao-gray-text);
            margin-right: 12px;
            width: 20px;
            text-align: center;
        }
        
        .topic-rank.top {
            color: #f1403c;
        }
        
        .topic-details {
            flex: 1;
        }
        
        .topic-title {
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 4px;
            cursor: pointer;
        }
        
        .topic-title:hover {
            color: var(--bao-blue);
        }
        
        .topic-stats {
            font-size: 12px;
            color: var(--bao-gray-text);
        }
        
        /* 页脚 */
        .footer {
            background-color: white;
            padding: 40px 20px;
            border-top: 1px solid var(--bao-gray-border);
            margin-top: 40px;
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
        }
        
        .footer-section {
            margin-bottom: 20px;
        }
        
        .footer-section h3 {
            font-size: 16px;
            margin-bottom: 15px;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 8px;
        }
        
        .footer-links a {
            color: var(--bao-gray-text);
            text-decoration: none;
            font-size: 14px;
        }
        
        .footer-links a:hover {
            color: var(--bao-blue);
        }
        
        .copyright {
            max-width: 1200px;
            margin: 0 auto;
            padding-top: 20px;
            border-top: 1px solid var(--bao-gray-border);
            color: var(--bao-gray-text);
            font-size: 14px;
            text-align: center;
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .sidebar-left, .sidebar-right {
                position: static;
                height: auto;
                overflow-y: visible;
                padding-right: 0;
            }
            
            .sidebar-left {
                display: none;
            }
            
            .main-container {
                flex-direction: column;
            }
            
            .sidebar-right {
                flex: 0 0 100%;
                order: 3;
            }
            
            .content-area {
                order: 2;
            }
            
            .search-bar {
                width: 250px;
            }
        }
        
        @media (max-width: 768px) {
            .nav-container {
                padding: 0 15px;
            }
            
            /* 桌面端导航链接隐藏 */
            .desktop-nav-links {
                display: none !important;
            }
            
            /* 桌面端搜索框隐藏 */
            .nav-center .search-bar {
                display: none;
            }
            
            /* 显示移动端菜单按钮和搜索按钮 */
            .mobile-menu-toggle {
                display: flex;
            }
            
            .mobile-search-toggle {
                display: flex;
            }
            
            /* 调整桌面端按钮样式 */
            .nav-buttons .btn-text {
                display: none;
            }
            
            .btn-ask {
                padding: 8px;
                margin-right: 5px;
            }
            
            .btn-ask i {
                margin-right: 0;
            }
            
            /* Logo在移动端的调整 */
            .logo {
                width: 100px;
                height: 35px;
                margin-right: 15px;
            }
            
            .logo-img {
                font-size: 16px;
            }
            
            .main-container {
                padding: 0 15px;
            }
            
            /* 移动端调整卡片布局 */
            .card-body {
                flex-direction: column;
                gap: 15px;
            }
            
            .card-thumbnail {
                flex: 0 0 100%;
                margin-bottom: 15px;
            }
            
            .thumbnail-img {
                width: 100%;
                height: 200px; /* 移动端缩略图更高 */
            }
            
            .thumbnail-placeholder {
                width: 100%;
                height: 200px; /* 移动端占位符也更高 */
            }
            
            /* 移动端：内容展开时，缩略图显示完整图片 */
            .content-card.expanded .card-thumbnail {
                opacity: 1 !important;
                flex: 0 0 100% !important;
                width: auto !important;
                margin-bottom: 15px;
            }
            
            /* 移动端：内容展开时，缩略图图片高度自适应，显示完整图片 */
            .content-card.expanded .thumbnail-img {
                height: auto;
                max-height: 400px;
                object-fit: contain;
            }
            
            /* 移动端：内容展开时，占位符也变大 */
            .content-card.expanded .thumbnail-placeholder {
                height: 300px;
            }
            
            .card-footer {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .card-actions {
                margin-top: 10px;
            }
            
            .card-action:first-child {
                margin-left: 0;
            }
            
            /* 移动端搜索框样式调整 */
            .mobile-search-container .search-bar {
                width: 100%;
            }
            
            .mobile-search-container .search-submit-btn {
                padding: 6px 10px;
                font-size: 13px;
                white-space: nowrap;
            }
            
            /* 移动端阅读更多按钮调整 */
            .read-more-btn {
                padding: 10px 20px;
                font-size: 15px;
            }
        }
        
        @media (max-width: 576px) {
            .nav-right .nav-icon:nth-child(2),
            .nav-right .nav-icon:nth-child(3) {
                display: none;
            }
            
            /* Logo在更小屏幕上的调整 */
            .logo {
                width: 90px;
                height: 32px;
                margin-right: 10px;
            }
            
            .logo-img {
                font-size: 15px;
            }
            
            .content-tabs {
                overflow-x: auto;
            }
            
            .tab {
                padding: 16px;
                white-space: nowrap;
            }
            
            /* 移动端进一步调整缩略图高度 */
            .thumbnail-img {
                height: 180px;
            }
            
            .thumbnail-placeholder {
                height: 180px;
            }
            
            /* 移动端：内容展开时，缩略图图片高度自适应，显示完整图片 */
            .content-card.expanded .thumbnail-img {
                height: auto;
                max-height: 350px;
            }
            
            /* 移动端：内容展开时，占位符也变大 */
            .content-card.expanded .thumbnail-placeholder {
                height: 250px;
            }
        }
        
        /* 内容中的HTML标签样式 - 重点优化图片和表格样式 */
        .card-content p {
            margin-bottom: 12px;
            word-break: break-word;
        }
        
        .card-content ul, .card-content ol {
            margin-left: 20px;
            margin-bottom: 12px;
        }
        
        .card-content li {
            margin-bottom: 6px;
        }
        
        .card-content a {
            color: var(--bao-blue);
            text-decoration: none;
            word-break: break-all;
        }
        
        .card-content a:hover {
            text-decoration: underline;
        }
        
        .card-content strong, .card-content b {
            font-weight: 600;
        }
        
        .card-content em, .card-content i {
            font-style: italic;
        }
        
        .card-content code {
            background-color: #f0f0f0;
            padding: 3px 6px;
            border-radius: 3px;
            font-family: 'Courier New', monospace;
            font-size: 13px;
            word-break: break-word;
        }
        
        .card-content pre {
            background-color: #f5f5f5;
            padding: 16px;
            border-radius: 6px;
            overflow-x: auto;
            margin-bottom: 15px;
            font-size: 14px;
            line-height: 1.5;
            border-left: 4px solid var(--bao-blue);
        }
        
        .card-content blockquote {
            border-left: 3px solid var(--bao-gray-border);
            padding-left: 15px;
            margin-left: 0;
            color: var(--bao-gray-text);
            font-style: italic;
            margin-bottom: 12px;
        }
        
        /* 重点优化：内容中的图片自适应 - 更大尺寸显示 */
        .card-content img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 18px auto; /* 增加上下间距 */
            border-radius: 8px; /* 增加圆角 */
            box-sizing: border-box;
        }
        
        /* 为图片添加悬停效果 */
        .card-content img:hover {
            opacity: 0.95;
            transform: scale(1.02); /* 增加放大效果 */
            transition: transform 0.3s ease, opacity 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* 增加阴影效果 */
        }
        
        /* 调整图片高度限制 - 使其更大 */
        .card-content img {
            max-height: 650px; /* 桌面端最大高度增加到650px */
            object-fit: contain; /* 完整显示图片，不裁剪 */
        }
        
        /* 调整移动端图片高度限制 */
        @media (max-width: 992px) {
            .card-content img {
                max-height: 550px; /* 平板端最大高度增加 */
            }
        }
        
        @media (max-width: 768px) {
            .card-content img {
                max-height: 500px; /* 移动端最大高度增加 */
            }
        }
        
        /* 小屏幕进一步调整 */
        @media (max-width: 576px) {
            .card-content img {
                max-height: 450px;
            }
        }
        
        .card-content h1, .card-content h2, .card-content h3 {
            margin-top: 16px;
            margin-bottom: 12px;
            font-weight: 600;
            word-break: break-word;
        }
        
        .card-content h1 {
            font-size: 20px;
        }
        
        .card-content h2 {
            font-size: 18px;
        }
        
        .card-content h3 {
            font-size: 16px;
        }
        
        /* 重点优化：表格样式 - 确保横向滚动 */
        .card-content table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 15px;
            font-size: 14px;
            display: block;
            overflow-x: auto; /* 确保表格可以横向滚动 */
            white-space: nowrap; /* 防止单元格内容换行 */
            max-width: 100%;
            border-radius: 6px;
            border: 1px solid var(--bao-gray-border);
        }
        
        /* 为表格添加一个最小宽度，使其在内容较少时也能正常显示 */
        .card-content table {
            min-width: 100%; /* 确保表格至少与容器一样宽 */
        }
        
        .card-content th {
            background-color: #f8f9fa;
            font-weight: 600;
            padding: 12px 15px; /* 增加内边距 */
            border: 1px solid #dee2e6;
            text-align: left;
            position: sticky;
            left: 0; /* 固定表头在滚动时可见 */
            white-space: nowrap;
        }
        
        .card-content td {
            padding: 10px 15px; /* 增加内边距 */
            border: 1px solid #dee2e6;
            white-space: nowrap; /* 防止单元格内容换行 */
        }
        
        /* 为表格添加斑马条纹效果 */
        .card-content tr:nth-child(even) {
            background-color: #f9f9f9;
        }
        
        .card-content tr:hover {
            background-color: #f0f7ff;
        }
        
        /* 移动端表格样式调整 - 确保可以横向滚动 */
        @media (max-width: 768px) {
            .card-content table {
                display: block;
                overflow-x: auto;
                white-space: nowrap;
            }
            
            /* 移动端表格单元格内边距可以适当减小 */
            .card-content th,
            .card-content td {
                padding: 8px 10px;
            }
        }
        
        /* 图片描述文字样式 */
        .card-content figure {
            margin: 18px 0;
            max-width: 100%;
        }
        
        .card-content figure img {
            max-width: 100%;
            height: auto;
            max-height: 650px;
            object-fit: contain;
        }
        
        /* 为figure中的图片调整移动端显示 */
        @media (max-width: 768px) {
            .card-content figure img {
                max-height: 500px;
            }
        }
        
        .card-content figcaption {
            font-size: 14px;
            color: var(--bao-gray-text);
            text-align: center;
            margin-top: 10px;
            font-style: italic;
            padding: 0 10px;
            line-height: 1.5;
        }
        
        /* 移动端卡片内边距调整 */
        @media (max-width: 768px) {
            .content-card {
                padding: 20px 18px;
                margin-bottom: 20px;
            }
        }
        
        /* 为代码块添加更好的显示 */
        .card-content pre code {
            background-color: transparent;
            padding: 0;
            border-radius: 0;
            font-size: 13px;
            line-height: 1.5;
        }
        
        /* 为引用块添加更好的样式 */
        .card-content blockquote {
            background-color: #f9f9f9;
            border-left: 4px solid var(--bao-blue);
            padding: 15px 20px;
            margin: 20px 0;
            font-style: normal;
            border-radius: 4px;
        }
        
        /* 为列表添加更好的样式 */
        .card-content ul {
            list-style-type: disc;
            padding-left: 25px;
        }
        
        .card-content ol {
            list-style-type: decimal;
            padding-left: 25px;
        }
        
        .card-content li {
            margin-bottom: 8px;
            line-height: 1.6;
        }
        
        /* 为图片添加加载动画 */
        .card-content img.loading {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
            border-radius: 8px;
            min-height: 300px;
        }
        
        @keyframes loading {
            0% {
                background-position: 200% 0;
            }
            100% {
                background-position: -200% 0;
            }
        }


