/* 基础样式 */
:root {
    --primary: #4F46E5;
    --primary-light: #6366F1;
    --cta: #F97316;
    --bg-light: #EEF2FF;
    --bg-white: #ffffff;
    --text-primary: #312E81;
    --text-secondary: #475569;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] {
    --primary: #6366F1;
    --primary-light: #818CF8;
    --cta: #FB923C;
    --bg-light: #1E1B4B;
    --bg-white: #1e1b4b;
    --text-primary: #EEF2FF;
    --text-secondary: #94A3B8;
    --border-color: #312E81;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cormorant Garamond', 'Libre Baskerville', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin: 20px 0 10px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.25rem;
    margin: 10px 0;
    font-weight: 500;
}

/* 链接样式 */
a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-light);
}

/* ============ Header 样式 ============ */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .site-header {
    background: rgba(30, 27, 75, 0.9);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    flex-shrink: 0;
}

.logo a {
    text-decoration: none;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    letter-spacing: -0.02em;
}

/* 导航菜单 */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* 移动端导航 */
.mobile-nav {
    display: none;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-list {
    list-style: none;
    padding: 1rem 0;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-item:last-child {
    border-bottom: none;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.mobile-nav-link:hover {
    background-color: var(--bg-light);
}

/* 主题切换按钮 */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.5rem;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.theme-toggle:hover {
    transform: rotate(20deg);
}

.theme-toggle-mobile {
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

/* ============ 书籍网格布局 ============ */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* 书籍卡片 */
.book-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.book-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.book-card-cover {
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
    position: relative;
    background: var(--bg-light);
}

.book-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.book-card:hover .book-card-cover img {
    transform: scale(1.05);
}

.book-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    font-size: 3rem;
    font-weight: 700;
}

.book-card-info {
    padding: 1.25rem;
}

.book-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.book-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.book-card-category {
    background: var(--bg-light);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.book-card-category:hover {
    background: var(--primary);
    color: white;
}

.book-card-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ============ 书籍详情页 ============ */
.book-detail {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0;
}

/* 返回按钮 */
.detail-actions {
    margin-top: 1.5rem;
}

.btn-back {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.btn-back:hover {
    background: var(--primary);
    color: white;
    transform: translateX(-4px);
    box-shadow: var(--shadow-md);
}

.book-detail-header {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.book-header-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.book-detail-cover {
    flex-shrink: 0;
    width: 200px;
    aspect-ratio: 2/3;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.detail-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    font-size: 4rem;
    font-weight: 700;
}

.book-detail-info {
    flex: 1;
    min-width: 0;
}

.detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.detail-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.meta-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}

.meta-value {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.detail-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.detail-category {
    background: var(--bg-light);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.detail-category:hover {
    background: var(--primary);
    color: white;
}

.book-detail-content {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.content-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 2rem;
}

.content-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.content-text {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.summary-text {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

/* ============ 响应式设计 ============ */
@media (max-width: 1024px) {
    .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
    }

    .book-header-content {
        flex-direction: column;
        align-items: center;
    }

    .book-detail-cover {
        width: 160px;
    }

    .detail-title {
        font-size: 1.5rem;
    }

    .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .book-detail {
        margin: 1rem auto;
    }

    .book-detail-header,
    .book-detail-content {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .books-grid {
        grid-template-columns: 1fr;
    }
}

/* ============ 页面头部 ============ */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.page-title {
    color: white;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.5rem;
}

.page-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* ============ 分类卡片 ============ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.category-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.category-link {
    display: block;
    text-decoration: none;
}

.category-icon {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: white;
}

.category-info {
    padding: 1.5rem;
}

.category-name {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.category-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-meta {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* 分类列表视图 */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.category-list-item {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.category-list-item:hover {
    box-shadow: var(--shadow-md);
}

.category-list-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    text-decoration: none;
}

.category-list-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}

.category-list-info {
    flex: 1;
}

.category-list-name {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin: 0;
}

.category-list-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.category-list-arrow {
    color: var(--text-secondary);
}

/* ============ 搜索页面 ============ */
.search-header {
    padding: 2rem 0;
}

.search-keyword {
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.search-count {
    margin-left: 0.5rem;
    opacity: 0.9;
}

.search-section {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.search-page-form {
    display: flex;
    gap: 1rem;
}

.search-input-group {
    display: flex;
    flex: 1;
    gap: 0.5rem;
}

.search-page-input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-white);
    color: var(--text-primary);
}

.search-page-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-page-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-page-button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.search-filters {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: 12px;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-white);
    color: var(--text-primary);
}

/* 搜索结果 */
.search-results-section {
    margin-top: 2rem;
}

.search-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-white);
    border-radius: 16px;
}

.search-empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.search-empty h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.search-empty p {
    color: var(--text-secondary);
}

.search-suggestions {
    text-align: left;
    max-width: 500px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.search-suggestions ul {
    margin-left: 1.5rem;
    color: var(--text-secondary);
}

.book-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ============ 标签云 ============ */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.tag-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--primary);
    padding: 0.75rem 1.25rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.tag-item:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.tag-count {
    font-size: 0.85em;
    opacity: 0.7;
}

/* 热门标签网格 */
.popular-tags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.popular-tag-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.popular-tag-card:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.popular-tag-card:hover .popular-tag-icon,
.popular-tag-card:hover .popular-tag-name,
.popular-tag-card:hover .popular-tag-count {
    color: white;
}

.popular-tag-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.popular-tag-info {
    flex: 1;
}

.popular-tag-name {
    color: var(--text-primary);
    font-size: 1rem;
    margin: 0;
}

.popular-tag-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* 所有标签列表 */
.all-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.all-tags-item {
    background: var(--bg-light);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.all-tags-item:hover {
    background: var(--primary);
    color: white;
}

.all-tags-count {
    opacity: 0.7;
    font-size: 0.9em;
}

/* ============ 快速链接 ============ */
.quick-links {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 12px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-link {
    background: var(--bg-light);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: var(--primary);
    color: white;
}

/* ============ Footer 样式 ============ */
.site-footer {
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    color: var(--text-secondary);
}

.footer-info h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.footer-copyright {
    font-size: 0.9rem;
}

.footer-copyright a {
    color: var(--primary);
}

/* ============ Hero Section ============ */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.hero-title {
    color: white;
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-section .search-container {
    margin: 0;
}

.hero-section .search-input {
    max-width: 500px;
    border: none;
    box-shadow: var(--shadow-lg);
}

.hero-section .search-input:focus {
    box-shadow: var(--shadow-xl), 0 0 0 4px rgba(255, 255, 255, 0.2);
}

/* ============ Empty State ============ */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-state-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.empty-state-text {
    color: var(--text-secondary);
}

/* ============ Pagination ============ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 1rem;
}

.pagination-link {
    background: var(--bg-white);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.pagination-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pagination-info {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============ 分类标签页面 ============ */
.categories-list,
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.category-tag,
.tag-badge {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.category-tag:hover,
.tag-badge:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============ 搜索框 ============ */
.search-container {
    margin: 2rem 0;
}

.search-input {
    width: 100%;
    max-width: 600px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-white);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-input::placeholder {
    color: var(--text-secondary);
}

/* 文章标题和内容样式 - 紫色主题 */
.post-title,
.article-title,
.post-card-title,
.entry-title,
.post-item-title,
.post-list-item h3,
.post-list-item h2,
.post-list-item a,
article h1, article h2, article h3, article h4, article h5, article h6,
.post h1, .post h2, .post h3, .post h4, .post h5, .post h6 {
    color: var(--primary) !important;
}

/* 文章内容文字 */
.post-content,
.article-content,
.post-card-excerpt,
.entry-summary,
.post-excerpt,
.post-summary {
    color: var(--text-primary) !important;
}

/* 链接颜色 */
a,
.post-content a,
.article-content a {
    color: var(--primary) !important;
    transition: color 0.3s ease;
}

a:hover,
.post-content a:hover,
.article-content a:hover {
    color: var(--primary-light) !important;
}
