:root {
    --primary-color: #6366f1;
}
body {
    background-color: #fafbf8 !important;
}
.container {
    max-width: 1200px !important;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
}
.top-nav {
    background: white;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}
.top-nav .nav-link {
    color: #333;
    padding: 0.5rem 1rem;
}
.category-nav {
    background: white;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}
.category-nav .nav-link {
    color: #666;
    padding: 0.5rem 1rem;
}
.category-nav .nav-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}
.tool-card {
    border: none;
    border-radius: 8px;
    background: white;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 20px;
}
.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.tool-card-content {
    display: flex;
    align-items: center;
    gap: 15px;
}
.tool-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tool-icon i {
    color: white;
    font-size: 20px;
}
.tool-info h5 {
    margin-bottom: 8px;
    font-size: 16px;
}
.tool-info p {
    margin-bottom: 0;
    font-size: 12px;
    line-height: 1.5;
}
.section-title {
    font-size: 18px;
    font-weight: bold;
    margin: 30px 0 20px 0;
}
.tool-info a
{text-decoration: none;}
/* 详情页全宽布局样式 */
.main-content-wrapper {
    width: 100%;
    background: #fafbf8;
}

.detail-header-section {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.related-content-section {
    padding: 40px 0;
}

/* 详情页特有样式 */
.detail-header {
    padding: 20px 0;
    width: 100%;
}
.detail-content {
    flex: 1;
    width: 100%;
    max-width: 100%;
}
.detail-thumbnail {
    width: 300px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}
.detail-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.main-content {
    display: flex;
    gap: 30px;
}
.content-left {
    flex: 1;
}
.content-right {
    width: 300px;
}
.sidebar-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}
.sidebar-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sidebar-title .more {
    font-size: 12px;
    color: #666;
    font-weight: normal;
}
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag-cloud .tag {
    background: #f5f5f5;
    color: #666;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.tag-cloud .tag:hover {
    background: var(--primary-color);
    color: white;
}
.tag-cloud .tag span {
    color: #999;
    font-size: 10px;
    margin-left: 4px;
}
.tag-cloud .tag:hover span {
    color: rgba(255,255,255,0.8);
}
.detail-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a202c;
    line-height: 1.3;
}
.detail-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}
.detail-meta a{text-decoration: none;color: #666;}
.detail-meta span {
    margin-right: 20px;
}
.detail-meta i {
    margin-right: 5px;
}
.detail-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.stat-item {
    background: #fff;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    color: #666;
}
.stat-item i {
    color: #1890ff;
    margin-right: 4px;
}
.action-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}
.action-buttons a{text-decoration: none;}
.action-btn {
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    border: none;
    transition: all 0.3s ease;
    position: relative;
}
.primary-btn {
    background: #ff4d4f;
    color: white;
    border: none;
}
.primary-btn:hover {
    background: #ff7875;
}
.secondary-btn {
    background: white;
    color: #333;
    border: 1px solid #ddd;
    position: relative;
}
.secondary-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.tag {
    background: #e6f7ff;
    color: #1890ff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}
.tags a{
    text-decoration: none;
}
.tag i {
    margin-right: 4px;
}
.related-nav {
    margin-bottom: 20px;
}
.related-nav .nav-link {
    color: #666;
    padding: 8px 16px;
    border-radius: 4px;
}
.related-nav .nav-link.active {
    background: var(--primary-color);
    color: white;
}
.related-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.related-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
}
.related-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}
.related-item-info {
    padding: 12px;
}
.related-item-title {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.4;
}
.like-btn {
    cursor: pointer;
    transition: color 0.3s ease;
}
.like-btn:hover {
    color: #ff4d4f;
}
.like-btn.liked {
    color: #ff4d4f;
}
.like-btn.liked i {
    animation: likeAnimation 0.3s ease;
}
@keyframes likeAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
/* 二维码容器样式 */
.qr-wrapper {
    position: relative;
    display: inline-block;
}

.qrcode-container {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    width: 150px;
    height: 150px;
}

.qrcode-container:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

#qrcode {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#qrcode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 分页样式 */
.pagination-container {
    margin: 40px 0;
    text-align: center;
}

.pagination-container .page-numbers {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}

.pagination-container .page-numbers li {
    display: inline-block;
}

.pagination-container .page-numbers a,
.pagination-container .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #eee;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-container .page-numbers a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-container .page-numbers .current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* 隐藏分页中的屏幕阅读器文本 */
.pagination-container .screen-reader-text {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

/* 分类页面样式 */
.category-header {
    text-align: center;
    padding: 30px 0;
}

.category-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.category-description {
    color: #666;
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.navigation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.action-btn.secondary-btn {
    position: relative;
}
.action-btn.secondary-btn:hover .qrcode-container {
    display: block;
}
.related-nav-item {
    background: white;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}
.related-nav-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.related-nav-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.related-nav-info h4 {
    margin: 0 0 5px;
    font-size: 16px;
}
.related-nav-info p {
    margin: 0;
    font-size: 12px;
    color: #666;
}
.latest-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.latest-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f5f5f5;
    transition: transform 0.2s;
}
.latest-nav-item:hover {
    transform: translateX(5px);
}
.latest-nav-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--primary-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.latest-nav-title {
    font-size: 14px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.detail-description {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    color: #4a5568;
    line-height: 1.7;
    font-size: 16px;
}

.detail-summary {
    margin: 20px 0;
    width: 100%;
}
.recommendation-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 3px solid var(--primary-color);
}
.spacing-block {
    height: 5px;
    margin: 5px 0;
    text-align: center;
    position: relative;
}
.spacing-block:after {
    content: '·········';
    color: #ddd;
    font-size: 20px;
    letter-spacing: 5px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
/* 导航菜单样式 */
.main-menu {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.main-menu li {
    position: relative;
}
.main-menu a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    padding: 5px 0;
    display: block;
    position: relative;
}
.main-menu a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}
.main-menu a:hover:after {
    width: 100%;
}
.main-menu .current-menu-item a {
    color: var(--primary-color);
}
.main-menu .current-menu-item a:after {
    width: 100%;
}
/* 推荐导航菜单样式 */
.featured-menu {
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}
.featured-menu li {
    position: relative;
}
.featured-menu a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    padding: 6px 12px;
    display: block;
    background: #f5f5f5;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.featured-menu a:hover {
    background: var(--primary-color);
    color: white;
}
/* 导航栏布局 */
.top-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.main-navigation {
    flex: 1;
    margin: 0 20px;
}

.main-menu {
    margin: 0;
}

/* 搜索框样式 */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: auto;
}

.search-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    width: 150px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    width: 200px;
}

.search-submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit:hover {
    background: #4f46e5;
}

/* 移动端菜单切换按钮 */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* PC端隐藏移动端菜单切换按钮 */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .main-navigation {
        display: block !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    /* PC端显示 Category Navigation */
    .category-nav {
        display: block !important;
    }
}

.mobile-menu-toggle:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

/* 移除不需要的搜索图标样式 */
.search-toggle,
.search-box {
    display: none !important;
}

/* 404页面样式 */
.error-404 .category-title {
    font-size: 48px;
    color: #ff4d4f;
    margin-bottom: 20px;
}

.error-404 .category-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.error-404 .btn-primary {
    padding: 10px 30px;
    font-size: 16px;
}

/* 文章列表样式 */
.article-list .card {
    transition: transform 0.2s ease-in-out;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
}

.article-list .card:hover {
    transform: translateY(-3px);
}

.article-list .card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.article-list .card-title a:hover {
    color: #0056b3 !important;
}

/* 文章缩略图样式 */
.article-thumbnail {
    overflow: hidden;
    padding: 10px;
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* 调整文章卡片内容间距 */
.article-list .card .card-body {
    padding: 1.25rem 1.25rem 1.25rem 0.75rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 阅读更多按钮样式 */
.article-list .card .btn-primary {
    align-self: flex-end;
    margin-top: auto;
}

/* 文章详情页样式 */
.blog-post {
    max-width: 1040px;
    margin: 0 auto;
}

.blog-post h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.blog-post h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post p {
    margin-bottom: 1.5rem;
}

.blog-post .lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.7;
    color: #666;
}

.blog-post blockquote {
    border-left: 4px solid #0d6efd;
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: #666;
}

.article-navigation a {
    color: #0d6efd;
}

.article-navigation a:hover {
    color: #0056b3;
}

.categories-links a{text-decoration: none;}
.card-meta a{text-decoration: none;}
/* 响应式调整 */
@media (max-width: 768px) {
    /* Top Navigation 移动端适配 */
    .top-nav .container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        padding: 10px 15px;
        align-items: center;
    }
    
    .top-nav .container > a {
        flex: 1;
        min-width: 0;
    }
    
    .top-nav .container > a h5 {
        font-size: 1.2rem;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 3;
    }
    
    .main-navigation {
        width: 100%;
        order: 4;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin: 0;
        flex: none;
    }
    
    .main-navigation.active {
        max-height: 500px;
    }
    
    .main-menu {
        flex-direction: column;
        gap: 10px;
        margin: 0;
        width: 100%;
    }
    
    .main-menu li {
        width: 100%;
    }
    
    .main-menu a {
        padding: 10px 15px;
        background: #f8f9fa;
        border-radius: 4px;
        text-align: center;
        font-size: 14px;
    }
    
    .main-menu a:hover {
        background: var(--primary-color);
        color: white;
    }
    
    .search-container {
        flex: 1;
        order: 2;
        min-width: 0;
        margin-left: 0;
    }
    
    .search-form {
        width: 100%;
    }
    
    .search-input {
        flex: 1;
        width: auto;
        min-width: 0;
    }
    
    .search-input:focus {
        width: auto;
    }
    
    /* Category Navigation 移动端隐藏 */
    .category-nav {
        display: none;
    }
    
    /* 文章内容移动端适配 */
    .blog-post h1 {
        font-size: 2rem;
    }
    
    .blog-post h2 {
        font-size: 1.5rem;
    }
    
    .article-list .card-title {
        font-size: 1.3rem;
    }

    .article-thumbnail {
        width: 100%;
        height: 200px;
    }
    
    /* 详情页移动端适配 */
    .detail-header-section {
        padding: 20px 0;
    }
    
    .related-content-section {
        padding: 20px 0;
    }
    
    .detail-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .detail-description {
        padding: 15px;
        font-size: 15px;
    }
    
    .detail-header {
        width: 100%;
    }
    
    .detail-content {
        width: 100%;
        max-width: 100%;
    }
    
    .detail-thumbnail {
        width: 100%;
        height: 200px;
    }
    
    .main-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .content-right {
        width: 100%;
    }
    
    .action-buttons {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .action-btn {
        padding: 6px 15px;
        font-size: 13px;
    }
}

/* 超小屏幕设备优化 */
@media (max-width: 480px) {
    .top-nav .container {
        padding: 8px 10px;
        gap: 12px;
    }
    
    .top-nav .container > a h5 {
        font-size: 1.1rem;
    }
    
    .mobile-menu-toggle {
        font-size: 1.3rem;
        padding: 4px;
    }
    
    .main-menu a {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .search-input {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .search-submit {
        padding: 6px 10px;
    }
    
    .featured-menu a {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    /* 确保 Category Navigation 在移动端隐藏 */
    .category-nav {
        display: none !important;
    }
    
    /* Footer 移动端优化 */
    footer {
        padding: 20px 0 !important;
    }
    
    footer .container {
        padding: 0 15px;
    }
    
    footer p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    footer .small {
        font-size: 12px;
    }
}

/* 中等屏幕设备优化 */
@media (max-width: 992px) and (min-width: 769px) {
    .top-nav .container {
        gap: 15px;
    }
    
    .main-navigation {
        margin: 0 15px;
    }
    
    .search-container {
        margin-left: auto;
    }
    
    .search-input {
        width: 120px;
    }
    
    .search-input:focus {
        width: 150px;
    }
    
    .main-menu {
        gap: 15px;
    }
    
    .main-menu a {
        font-size: 14px;
    }
    
    /* 中等屏幕显示 Category Navigation */
    .category-nav {
        display: block;
    }
}

/* 大屏幕设备优化 */
@media (min-width: 1200px) {
    .top-nav .container {
        gap: 30px;
    }
    
    .main-navigation {
        margin: 0 30px;
    }
    
    .search-input {
        width: 180px;
    }
    
    .search-input:focus {
        width: 220px;
    }
    
    /* 大屏幕显示 Category Navigation */
    .category-nav {
        display: block;
    }
}

/* ===== 文章内容页极简大气风格样式 ===== */

/* 文章内容区域基础样式 */
.entry-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.8;
    color: #2c3e50;
    font-size: 16px;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* 标题样式 - 极简大气 */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-weight: 600;
    line-height: 1.4;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1a202c;
    position: relative;
}

.entry-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
    margin-top: 3rem;
}

.entry-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.3rem;
}

.entry-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
}

.entry-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #4a5568;
}

.entry-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a5568;
}

.entry-content h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #4a5568;
}

/* 段落样式 */
.entry-content p {
    margin-bottom: 1.8rem;
    line-height: 1.8;
    color: #2d3748;
    text-align: justify;
    text-justify: inter-ideograph;
}

/* 强调文本 */
.entry-content strong,
.entry-content b {
    font-weight: 600;
    color: #1a202c;
}

.entry-content em,
.entry-content i {
    font-style: italic;
    color: #4a5568;
}

/* 链接样式 */
.entry-content a {
    color: #3182ce;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.entry-content a:hover {
    color: #2c5282;
    border-bottom-color: #2c5282;
}

/* 列表样式 */
.entry-content ul,
.entry-content ol {
    margin-bottom: 1.8rem;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
    color: #2d3748;
}

.entry-content ul li {
    list-style-type: disc;
    list-style-color: #3182ce;
}

.entry-content ol li {
    list-style-type: decimal;
}

/* 嵌套列表 */
.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul {
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
}

/* 表格样式 - 极简大气 */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.entry-content table th,
.entry-content table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.entry-content table th {
    background: #f7fafc;
    font-weight: 600;
    color: #1a202c;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.entry-content table td {
    color: #2d3748;
    line-height: 1.6;
}

.entry-content table tr:hover {
    background: #f7fafc;
}

.entry-content table tr:last-child td {
    border-bottom: none;
}

/* 代码块样式 */
.entry-content pre {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    overflow-x: auto;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #2d3748;
}

.entry-content code {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0.2rem 0.4rem;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 0.9rem;
    color: #e53e3e;
}

.entry-content pre code {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
}

/* 引用块样式 */
.entry-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: #f7fafc;
    border-left: 4px solid #3182ce;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #4a5568;
    position: relative;
}

.entry-content blockquote::before {
    content: '"';
    font-size: 3rem;
    color: #3182ce;
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-family: Georgia, serif;
    opacity: 0.3;
}

.entry-content blockquote p {
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* 分割线样式 */
.entry-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
    margin: 3rem 0;
}

/* 图片样式 */
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.entry-content img:hover {
    transform: scale(1.02);
}

/* 特色图片样式 */
.entry-content .featured-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2rem;
}

/* 视频样式 */
.entry-content video {
    max-width: 100%;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* iframe 样式 */
.entry-content iframe {
    max-width: 100%;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 定义列表样式 */
.entry-content dl {
    margin: 2rem 0;
}

.entry-content dt {
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.entry-content dd {
    margin-bottom: 1.5rem;
    margin-left: 1rem;
    color: #2d3748;
    line-height: 1.7;
}

/* 脚注样式 */
.entry-content .footnotes {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: #4a5568;
}

.entry-content .footnotes ol {
    padding-left: 1.5rem;
}

.entry-content .footnotes li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .entry-content {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .entry-content h1 {
        font-size: 1.8rem;
        margin-top: 2rem;
    }
    
    .entry-content h2 {
        font-size: 1.5rem;
    }
    
    .entry-content h3 {
        font-size: 1.3rem;
    }
    
    .entry-content table {
        font-size: 0.9rem;
    }
    
    .entry-content table th,
    .entry-content table td {
        padding: 0.8rem 1rem;
    }
    
    .entry-content blockquote {
        padding: 1rem 1.5rem;
        margin: 1.5rem 0;
    }
    
    .entry-content blockquote p {
        font-size: 1rem;
    }
    
    .entry-content pre {
        padding: 1rem;
        font-size: 0.85rem;
    }
}

/* 打印样式 */
@media print {
    .entry-content {
        font-size: 12pt;
        line-height: 1.6;
        color: #000;
    }
    
    .entry-content h1,
    .entry-content h2,
    .entry-content h3,
    .entry-content h4,
    .entry-content h5,
    .entry-content h6 {
        color: #000;
        page-break-after: avoid;
    }
    
    .entry-content table {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .entry-content img {
        box-shadow: none;
        max-width: 100%;
    }
}

/* 工具功能容器样式 */
.tool-function-container {
    margin: 30px 0;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.tool-function-container .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.tool-function-container .row {
    margin: 0;
}

.tool-function-container .col-md-6 {
    padding: 0 15px;
}

.tool-function-container .card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.tool-function-container .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
}

.tool-function-container .card-body {
    padding: 20px;
}

/* 确保工具功能在移动端也能正常显示 */
@media (max-width: 768px) {
    .tool-function-container {
        margin: 20px 0;
        padding: 20px;
        border-radius: 8px;
    }
    
    .tool-function-container .container {
        padding: 0 10px;
    }
    
    .tool-function-container .col-md-6 {
        padding: 0 10px;
    }
    
    .tool-function-container .card-body {
        padding: 15px;
    }
} 


/* 面包屑导航样式 */
.breadcrumb-nav {
    margin-bottom: 20px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumb-item {
    color: #666;
}

.breadcrumb-item a {
    color: #6366f1;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: #4f46e5;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #333;
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #999;
    margin: 0 8px;
}

.breadcrumb-container {
    padding: 0;
    border-bottom: 1px solid #e9ecef;
}