:root {
    --primary-color: #6366f1;
    --lenav-top-bg: #ffffff;
    --lenav-top-sub-bg: #f6f8fc;
    --lenav-top-border: #e6ebf2;
    --lenav-top-text: #1f2937;
    --lenav-top-muted: #64748b;
    --lenav-mid-bg: #eef3f9;
    --lenav-footer-bg: #0f172a;
}
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);
}
.lenav-site-footer {
    background: var(--lenav-footer-bg);
    color: #fff;
    min-height: 120px;
    display: flex;
    align-items: center;
    padding: 2rem 0;
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.lenav-site-footer__inner {
    width: 100%;
    text-align: center;
}
.lenav-site-footer__copy {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.875rem;
    line-height: 1.6;
}
.lenav-site-footer__copy a,
.lenav-site-footer__copy a:visited,
.lenav-site-footer__copy a:hover,
.lenav-site-footer__copy a:active,
.lenav-site-footer__copy a:focus {
    color: #fff;
    text-decoration: none;
}
.top-nav {
    background: var(--lenav-top-bg);
    border-bottom: 1px solid var(--lenav-top-border);
    padding: 30px 0;
}
.lenav-site-brand-link {
    color: inherit;
}
.lenav-site-brand {
    color: var(--lenav-top-text);
    font-weight: 600;
}
.top-nav .nav-link {
    color: var(--lenav-top-muted);
    padding: 0.5rem 1rem;
}
.category-nav {
    background: var(--lenav-top-sub-bg);
    border-bottom: 1px solid var(--lenav-top-border);
    padding: 10px 0;
}
.category-nav .nav-link {
    color: var(--lenav-top-muted);
    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;
}
/* 首页：中间内容区背景 */
.lenav-home-cards {
    background: var(--lenav-mid-bg);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
}
.lenav-home-cards .container {
    max-width: 1240px !important;
}
.lenav-home-section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 1.25rem 0;
    color: #1f2937;
    letter-spacing: 0.02em;
}
.lenav-home-section-title:not(:first-child) {
    margin-top: 2.25rem;
}
.lenav-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    font-size: 13px;
    color: #64748b;
}
.lenav-breadcrumb a {
    color: #475569;
    text-decoration: none;
}
.lenav-breadcrumb a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
.lenav-breadcrumb__sep {
    color: #94a3b8;
}
.lenav-breadcrumb__current {
    color: #0f172a;
    font-weight: 600;
}
.lenav-breadcrumb--single {
    margin-bottom: 1.25rem;
}
.lenav-home-card {
    --lenav-accent: #14b8a6;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 88px;
    padding: 16px 18px 16px 16px;
    background: #fff;
    border: none;
    border-radius: 10px;
    border-top: 5px solid var(--lenav-accent);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}
.lenav-home-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    color: inherit;
}
.lenav-home-card__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lenav-home-card__icon i {
    font-size: 1.35rem;
    line-height: 1;
}
.lenav-home-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}
.lenav-home-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.35;
    display: block;
}
.lenav-home-card__desc {
    font-size: 13px;
    line-height: 1.45;
    color: #6b7280;
    display: block;
}
.lenav-home-card__chevron {
    flex-shrink: 0;
    color: #c4c9d2;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}
.tool-info a
{text-decoration: none;}
/* 详情页特有样式 */
.detail-header {
    padding: 20px 0;
    display: flex;
    gap: 30px;
}
.detail-content {
    flex: 1;
}
.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: 24px;
    margin-bottom: 15px;
}
.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);
}

/* 分类页面样式 */
.category-header {
    text-align: center;
    padding: 30px 0;
}

.category-title {
    font-size: 28px;
    color: #0f172a;
    margin-bottom: 10px;
}

.category-description {
    color: #64748b;
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto;
}
.lenav-article-area {
    background: var(--lenav-mid-bg);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
}
.lenav-article-area .container {
    max-width: 1200px !important;
}
.lenav-article-surface {
    background: #fff;
    border-radius: 14px;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 3px 18px rgba(15, 23, 42, 0.06);
    padding: 1.5rem;
}
.lenav-article-header {
    margin-bottom: 1.5rem;
}
.lenav-article-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e6ebf2;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}
.lenav-article-card .card-title a {
    color: #0f172a !important;
}
.lenav-article-card .card-title a:hover {
    color: var(--primary-color) !important;
}
.lenav-article-card__body {
    padding: 1.1rem 1.15rem;
}
.lenav-article-readmore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.38rem 0.78rem;
    border-radius: 6px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    transition: filter 0.2s ease;
}
.lenav-article-readmore:hover {
    color: #fff;
    filter: brightness(1.06);
}
.lenav-article-grid {
    margin-bottom: 0.25rem;
}
.lenav-article-tile {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e6ebf2;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lenav-article-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.1);
}
.lenav-article-tile__thumb {
    display: block;
    width: 100%;
    background: #f1f5f9;
}
.lenav-article-tile__thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.lenav-article-tile__thumb-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dbeafe 0%, #e2e8f0 100%);
    color: #64748b;
    font-size: 1.7rem;
}
.lenav-article-tile__body {
    padding: 1rem 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex: 1;
}
.lenav-article-tile__title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.45;
}
.lenav-article-tile__title a {
    color: #0f172a !important;
}
.lenav-article-tile__title a:hover {
    color: var(--primary-color) !important;
}
.lenav-article-tile__meta {
    font-size: 0.78rem;
}
.lenav-article-tile__excerpt {
    margin: 0;
    font-size: 0.86rem;
    color: #475569;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.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: 8px;
    padding: 10px;
    margin-bottom: 10px;
}

/* ---------- 导航单页（single-navigation）新版布局 ---------- */
.lenav-single {
    background: #f4f6f8;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
    min-height: 60vh;
    box-sizing: border-box;
}
.lenav-single > .container {
    max-width: 1200px !important;
}
.lenav-detail-featured {
    margin: 0 0 1.25rem;
    border-radius: 14px;
    overflow: hidden;
    background: #e8edf3;
    line-height: 0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.07);
}
.lenav-detail-featured--before-content {
    margin: 1rem 0 1rem;
    border-radius: 10px;
    box-shadow: none;
    background: #f1f5f9;
}
.lenav-detail-featured--before-content + .lenav-detail-content {
    margin-top: 0.85rem;
}
.lenav-detail-featured__img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}
.lenav-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.75rem;
    align-items: start;
    padding-bottom: 2rem;
}
.lenav-detail-layout--no-sidebar {
    grid-template-columns: 1fr;
}
.lenav-detail-layout__main {
    min-width: 0;
}
.lenav-detail-layout__sidebar {
    min-width: 0;
}
@media (min-width: 992px) {
    .lenav-detail-layout__sidebar {
        position: sticky;
        top: 1rem;
        align-self: start;
    }
}
.lenav-detail-hero {
    --lenav-accent: #14b8a6;
    display: block;
    background: #fff;
    border-radius: 14px;
    border-top: 5px solid var(--lenav-accent);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    padding: 1.75rem 1.75rem 1.5rem;
    margin-bottom: 0;
}
.lenav-detail-hero__main {
    min-width: 0;
}
.lenav-detail-hero__head {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
}
.lenav-detail-hero__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}
.lenav-detail-hero__titles-row {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem 1.25rem;
}
.lenav-detail-hero__titles {
    flex: 1;
    min-width: 0;
}
.lenav-detail-hero__cta {
    flex-shrink: 0;
    align-self: flex-start;
    text-align: right;
}
.lenav-detail-hero__cta .lenav-detail-cta {
    text-align: center;
}
.lenav-detail-hero__title {
    font-size: 1.65rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
}
.lenav-detail-hero__subtitle {
    margin: 0.4rem 0 0;
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}
.lenav-detail-meta {
    list-style: none;
    margin: 1.15rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
}
.lenav-detail-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    color: #475569;
    background: #f1f5f9;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}
.lenav-detail-meta__item i {
    color: var(--lenav-accent);
    font-size: 0.95rem;
}
.lenav-detail-meta__item a {
    color: #334155;
    text-decoration: none;
}
.lenav-detail-meta__item a:hover {
    color: var(--lenav-accent);
    text-decoration: underline;
}
.lenav-detail-content {
    margin-top: 1.35rem;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #334155;
}
.lenav-detail-content p:last-child {
    margin-bottom: 0;
}
.lenav-detail-toolbar {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e8edf3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}
.lenav-detail-toolbar .lenav-detail-tags {
    flex: none;
}
.lenav-detail-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.35rem;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff !important;
    background: var(--lenav-accent);
    text-decoration: none;
    border: none;
    transition: filter 0.2s ease, transform 0.15s ease;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.1);
}
.lenav-detail-cta:hover {
    filter: brightness(1.06);
    color: #fff !important;
    transform: translateY(-1px);
}
.lenav-detail-cta--disabled {
    cursor: not-allowed;
    background: #94a3b8;
    box-shadow: none;
    transform: none;
}
.lenav-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}
.lenav-detail-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    background: #f8fafc;
    color: #0f172a;
    text-decoration: none;
    border: 1px solid #e8edf3;
    transition: background 0.2s, border-color 0.2s;
}
.lenav-detail-tag:hover {
    background: #f1f5f9;
    border-color: var(--lenav-accent);
    color: #0f172a;
}
.lenav-detail-qr-card {
    border: 1px solid #e8edf3;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    background: #fafbfc;
}
.lenav-detail-qr-card__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.65rem;
}
.lenav-detail-qr-canvas {
    min-height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lenav-detail-qr-canvas img {
    max-width: 100%;
    height: auto;
}
.lenav-detail-qr-card--inline {
    max-width: 220px;
    margin-top: 1.25rem;
}
.lenav-detail-adjacent {
    margin-top: 1.25rem;
}
.lenav-detail-adjacent__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.lenav-detail-adjacent__cell {
    background: #fff;
    border-radius: 12px;
    padding: 1rem 1.15rem;
    border: 1px solid #e8edf3;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    min-height: 4.5rem;
    box-sizing: border-box;
}
.lenav-detail-adjacent__cell--next {
    text-align: right;
}
.lenav-detail-adjacent__label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}
.lenav-detail-adjacent__link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.4;
    word-break: break-word;
}
.lenav-detail-adjacent__link:hover {
    color: var(--primary-color);
}
.lenav-detail-adjacent__empty {
    font-size: 0.875rem;
    color: #cbd5e1;
}
.lenav-detail-related-section {
    margin-top: 1.75rem;
}
.lenav-detail-section__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e8edf3;
    position: relative;
}
.lenav-detail-section__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 3rem;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}
.lenav-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.875rem;
}
.lenav-related-card {
    --lenav-accent: #14b8a6;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 4.5rem;
    padding: 0.85rem 0.75rem 0.85rem 0.85rem;
    background: #fff;
    border-radius: 10px;
    border-top: 4px solid var(--lenav-accent);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lenav-related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    color: inherit;
}
.lenav-related-card__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}
.lenav-related-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: left;
}
.lenav-related-card__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
}
.lenav-related-card__desc {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lenav-related-card__arrow {
    flex-shrink: 0;
    color: #cbd5e1;
    font-size: 1rem;
}
.lenav-detail-layout__sidebar .lenav-sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 1rem;
    border: 1px solid #e8edf3;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}
.lenav-detail-layout__sidebar .lenav-sidebar-widget:last-child {
    margin-bottom: 0;
}
.lenav-detail-layout__sidebar .lenav-sidebar-widget__title {
    font-size: 0.8125rem;
    font-weight: 700;
    margin: 0;
    padding: 0.9rem 1.15rem 0.65rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}
.lenav-detail-layout__sidebar .lenav-sidebar-widget .lenav-w-nav-list,
.lenav-detail-layout__sidebar .lenav-sidebar-widget > ul:not(.lenav-w-nav-list) {
    list-style: none;
    margin: 0;
    padding: 0.35rem 0 0.15rem;
}
.lenav-detail-layout__sidebar .lenav-sidebar-widget > *:not(.lenav-sidebar-widget__title):not(.lenav-w-nav-list):not(ul) {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
}
.lenav-detail-layout__sidebar .lenav-sidebar-widget > .lenav-w-nav-list {
    padding-bottom: 0.35rem;
}
.lenav-detail-layout__sidebar .lenav-sidebar-widget > ul:not(.lenav-w-nav-list) {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
    padding-bottom: 0.75rem;
}
.lenav-detail-layout__sidebar .lenav-sidebar-widget li {
    padding: 0;
    border-bottom: none;
    font-size: 0.8125rem;
}
.lenav-w-nav-empty {
    margin: 0;
    padding: 0.75rem 1.15rem 1rem;
    font-size: 0.8125rem;
    color: #94a3b8;
    line-height: 1.5;
}
.lenav-w-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.lenav-w-nav-list__item {
    border-bottom: 1px solid #f1f5f9;
}
.lenav-w-nav-list__item:last-child {
    border-bottom: none;
}
.lenav-w-nav-list__link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1.15rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}
.lenav-w-nav-list__link:hover {
    background: #f8fafc;
    color: inherit;
}
.lenav-w-nav-list__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.lenav-w-nav-list__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-align: left;
}
.lenav-w-nav-list__title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    display: block;
}
.lenav-w-nav-list__sub {
    font-size: 0.6875rem;
    color: #64748b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lenav-w-nav-list__chev {
    flex-shrink: 0;
    color: #cbd5e1;
    font-size: 0.95rem;
}
.lenav-detail-layout__sidebar .lenav-sidebar-widget a:not(.lenav-w-nav-list__link) {
    color: #334155;
    text-decoration: none;
}
.lenav-detail-layout__sidebar .lenav-sidebar-widget a:not(.lenav-w-nav-list__link):hover {
    color: var(--primary-color);
}
.lenav-detail-layout__sidebar .lenav-sidebar-widget p {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #475569;
    margin-bottom: 0.5rem;
}
.lenav-detail-layout__sidebar .lenav-sidebar-widget p:last-child {
    margin-bottom: 0;
}
.lenav-detail-layout__sidebar .lenav-sidebar-widget .search-form,
.lenav-detail-layout__sidebar .lenav-sidebar-widget form.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 0.5rem;
    padding: 0 0 0.75rem;
}
.lenav-detail-layout__sidebar .lenav-sidebar-widget .search-form label,
.lenav-detail-layout__sidebar .lenav-sidebar-widget label.screen-reader-text {
    flex: 1 0 100%;
}
.lenav-detail-layout__sidebar .lenav-sidebar-widget .search-field {
    flex: 1;
    min-width: 0;
    padding: 0.45rem 0.65rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.8125rem;
}
.lenav-detail-layout__sidebar .lenav-sidebar-widget .search-submit {
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.8125rem;
    cursor: pointer;
}
.lenav-detail-layout__sidebar .lenav-sidebar-widget .search-submit:hover {
    filter: brightness(1.05);
}
.lenav-detail-layout__sidebar .lenav-sidebar-widget select {
    width: 100%;
    max-width: 100%;
    padding: 0.45rem 0.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
}
.lenav-detail-layout__sidebar .lenav-sidebar-widget .wp-block-group__inner-container > *:first-child {
    margin-top: 0;
}
.lenav-detail-layout__sidebar .widget_recent_entries ul li,
.lenav-detail-layout__sidebar .widget_categories ul li,
.lenav-detail-layout__sidebar .widget_archive ul li,
.lenav-detail-layout__sidebar .widget_pages ul li,
.lenav-detail-layout__sidebar .widget_meta ul li {
    padding: 0.45rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.lenav-detail-layout__sidebar .widget_recent_entries ul li:last-child,
.lenav-detail-layout__sidebar .widget_categories ul li:last-child,
.lenav-detail-layout__sidebar .widget_archive ul li:last-child,
.lenav-detail-layout__sidebar .widget_pages ul li:last-child,
.lenav-detail-layout__sidebar .widget_meta ul li:last-child {
    border-bottom: none;
}
.lenav-detail-layout__sidebar .widget_calendar table {
    width: 100%;
    font-size: 0.75rem;
}
.lenav-detail-layout__sidebar .widget_calendar caption {
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #334155;
}

.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: var(--lenav-top-text);
    text-decoration: none;
    font-size: 15px;
    padding: 5px 0;
    display: block;
    position: relative;
}
.main-menu a:hover {
    color: var(--primary-color);
}
.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: #334155;
    text-decoration: none;
    font-size: 14px;
    padding: 6px 12px;
    display: block;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #dbe4ef;
    transition: all 0.3s ease;
}
.featured-menu a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}
/* 导航栏布局 */
.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 #dbe4ef;
    border-radius: 6px;
    font-size: 14px;
    width: 150px;
    transition: all 0.3s ease;
    background: #fff;
    color: #334155;
}

.search-input::placeholder {
    color: #94a3b8;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    width: 200px;
    background: #fff;
}

.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: var(--lenav-top-text);
    cursor: pointer;
    padding: 5px;
    border-radius: 6px;
    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: #eef2f8;
    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: #fff;
        border-radius: 6px;
        border: 1px solid #dbe4ef;
        text-align: center;
        font-size: 14px;
        color: #334155;
    }
    
    .main-menu a:hover {
        background: var(--primary-color);
        color: #fff;
        border-color: var(--primary-color);
    }
    
    .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 {
        flex-direction: column;
        gap: 20px;
    }
    
    .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;
    }

    .lenav-detail-hero {
        padding: 1.25rem;
    }
    .lenav-detail-hero__titles-row {
        flex-direction: column;
        align-items: stretch;
    }
    .lenav-detail-hero__cta {
        align-self: flex-end;
        text-align: right;
    }
    .lenav-detail-layout {
        grid-template-columns: 1fr;
    }
    .lenav-detail-adjacent__grid {
        grid-template-columns: 1fr;
    }
    .lenav-detail-adjacent__cell--next {
        text-align: left;
    }
    .lenav-related-grid {
        grid-template-columns: 1fr;
    }
    .lenav-breadcrumb {
        font-size: 12px;
    }
    .lenav-article-surface {
        padding: 1rem;
        border-radius: 10px;
    }
}

/* 超小屏幕设备优化 */
@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 移动端优化 */
    .lenav-site-footer {
        min-height: 100px;
        padding: 1.5rem 0;
    }
    .lenav-site-footer .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .lenav-site-footer__copy {
        font-size: 0.8125rem;
    }
}

/* 中等屏幕设备优化 */
@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%;
    }
}

/* ===== 内容排版增强（兼容 Bootstrap 常用结构）===== */
:is(.entry-content, .lenav-detail-content) {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #334155;
    line-height: 1.8;
    font-size: 16px;
    overflow-wrap: anywhere;
}

:is(.entry-content, .lenav-detail-content) > *:first-child { margin-top: 0 !important; }
:is(.entry-content, .lenav-detail-content) > *:last-child { margin-bottom: 0 !important; }

:is(.entry-content, .lenav-detail-content) h1,
:is(.entry-content, .lenav-detail-content) h2,
:is(.entry-content, .lenav-detail-content) h3,
:is(.entry-content, .lenav-detail-content) h4,
:is(.entry-content, .lenav-detail-content) h5,
:is(.entry-content, .lenav-detail-content) h6 {
    color: #0f172a;
    font-weight: 700;
    line-height: 1.4;
    margin: 2.1rem 0 1rem;
}

:is(.entry-content, .lenav-detail-content) h1 { font-size: 2rem; }
:is(.entry-content, .lenav-detail-content) h2 { font-size: 1.75rem; }
:is(.entry-content, .lenav-detail-content) h3 { font-size: 1.45rem; }
:is(.entry-content, .lenav-detail-content) h4 { font-size: 1.22rem; }
:is(.entry-content, .lenav-detail-content) h5 { font-size: 1.08rem; }
:is(.entry-content, .lenav-detail-content) h6 { font-size: 1rem; }

:is(.entry-content, .lenav-detail-content) p { margin: 0 0 1rem; }

:is(.entry-content, .lenav-detail-content) a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px dashed rgba(99, 102, 241, 0.35);
}

:is(.entry-content, .lenav-detail-content) a:hover {
    color: #4f46e5;
    border-bottom-color: rgba(79, 70, 229, 0.6);
}

:is(.entry-content, .lenav-detail-content) ul,
:is(.entry-content, .lenav-detail-content) ol {
    margin: 0 0 1rem 1.25rem;
    padding: 0;
}

:is(.entry-content, .lenav-detail-content) li { margin: 0.35rem 0; }

:is(.entry-content, .lenav-detail-content) blockquote {
    margin: 1.35rem 0;
    padding: 0.9rem 1rem;
    border-left: 4px solid var(--primary-color);
    background: #f8fafc;
    color: #475569;
    border-radius: 6px;
}

:is(.entry-content, .lenav-detail-content) pre {
    margin: 1.2rem 0;
    padding: 1rem;
    border-radius: 8px;
    background: #0f172a;
    color: #e2e8f0;
    overflow-x: auto;
}

:is(.entry-content, .lenav-detail-content) code {
    background: #f1f5f9;
    color: #0f172a;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    font-size: 0.92em;
}

:is(.entry-content, .lenav-detail-content) pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

:is(.entry-content, .lenav-detail-content) table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.94rem;
}

:is(.entry-content, .lenav-detail-content) table th,
:is(.entry-content, .lenav-detail-content) table td {
    border: 1px solid #e2e8f0;
    padding: 0.55rem 0.7rem;
    text-align: left;
}

:is(.entry-content, .lenav-detail-content) table th {
    background: #f8fafc;
    color: #0f172a;
}

:is(.entry-content, .lenav-detail-content) img,
:is(.entry-content, .lenav-detail-content) video,
:is(.entry-content, .lenav-detail-content) iframe {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem auto;
    display: block;
}

:is(.entry-content, .lenav-detail-content) .alignleft {
    float: left;
    margin: 0.2rem 1rem 0.7rem 0;
}

:is(.entry-content, .lenav-detail-content) .alignright {
    float: right;
    margin: 0.2rem 0 0.7rem 1rem;
}

:is(.entry-content, .lenav-detail-content) .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

:is(.entry-content, .lenav-detail-content) .table,
:is(.entry-content, .lenav-detail-content) .table-bordered,
:is(.entry-content, .lenav-detail-content) .table-striped {
    margin-bottom: 1rem;
}

:is(.entry-content, .lenav-detail-content) .table > :not(caption) > * > * {
    padding: 0.55rem 0.7rem;
    border-color: #e2e8f0;
}

:is(.entry-content, .lenav-detail-content) .table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: #f8fafc;
}

:is(.entry-content, .lenav-detail-content) .table-responsive { margin: 1rem 0; }

:is(.entry-content, .lenav-detail-content) .alert {
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
    margin: 1rem 0;
}

:is(.entry-content, .lenav-detail-content) .btn {
    border-radius: 6px;
    padding: 0.38rem 0.85rem;
    font-size: 0.875rem;
    line-height: 1.45;
    text-decoration: none;
    border-bottom: none;
}

:is(.entry-content, .lenav-detail-content) .btn:hover { border-bottom: none; }

:is(.entry-content, .lenav-detail-content) .card {
    border-radius: 10px;
    border-color: #e2e8f0;
}

:is(.entry-content, .lenav-detail-content) .row {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
    :is(.entry-content, .lenav-detail-content) {
        font-size: 15px;
        line-height: 1.75;
    }
    :is(.entry-content, .lenav-detail-content) h1 { font-size: 1.7rem; }
    :is(.entry-content, .lenav-detail-content) h2 { font-size: 1.45rem; }
    :is(.entry-content, .lenav-detail-content) h3 { font-size: 1.25rem; }
    :is(.entry-content, .lenav-detail-content) table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* 隐藏分页导航的屏幕阅读器文字 */
.screen-reader-text {
    display: none !important;
} 