/* tem5 现代化设计样式 */

/* 基础重置和变量 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 禅修养生配色方案 */
    --primary-color: #8b7355;        /* 温和的棕色 */
    --primary-dark: #6b5b47;         /* 深棕色 */
    --secondary-color: #7a9b7a;      /* 淡绿色 */
    --accent-color: #b8a082;         /* 米色 */
    --text-primary: #4a4a4a;         /* 深灰色 */
    --text-secondary: #7a7a7a;       /* 中灰色 */
    --text-light: #a0a0a0;           /* 浅灰色 */
    --bg-primary: #fefefe;           /* 纯白 */
    --bg-secondary: #f8f6f3;         /* 温暖的米白色 */
    --bg-accent: #f2f0ed;            /* 淡米色 */
    --border-color: #e8e4e0;         /* 淡米色边框 */
    --shadow-sm: 0 1px 2px 0 rgba(139, 115, 85, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(139, 115, 85, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(139, 115, 85, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(139, 115, 85, 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
}

/* 顶部导航栏 */
.site-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo-section {
    flex: 1;
}

.site-logo {
    text-decoration: none;
    color: white;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

.site-slogan {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0;
}

.header-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.header-stats .stat-item {
    text-align: center;
    color: white;
}

.header-stats .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.header-stats .stat-label {
    display: block;
    font-size: 0.875rem;
    opacity: 0.9;
    line-height: 1;
}

.search-section {
    flex: 1;
    max-width: 400px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    outline: none;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-button {
    padding: 0.75rem 1rem;
    background: var(--secondary-color);
    border: none;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-button:hover {
    background: #059669;
}

/* 主导航菜单 */
.main-navigation {
    background: white;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 导航包装器 */
.nav-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    gap: 15px;
}

/* 导航滚动包装器 */
.nav-scroll-wrapper {
    overflow: hidden;
    flex: 1;
    padding: 5px 0;
    max-width: 100%;
    min-width: 0;
}

.nav-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

/* 导航箭头样式 */
.nav-arrow {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: 2px solid #10b981;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(16,185,129,0.2);
    position: absolute;
    z-index: 10;
}

.nav-arrow:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    border-color: #047857;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16,185,129,0.4);
}

.nav-arrow-left {
    left: -50px;
}

.nav-arrow-right {
    right: -50px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    white-space: nowrap;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.nav-menu a:hover {
    color: var(--primary-color);
    background: var(--bg-accent);
    border-bottom-color: var(--primary-color);
}

/* 面包屑导航 */
.breadcrumb-nav {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.breadcrumb-container a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-container a:hover {
    text-decoration: underline;
}

/* 主要内容区域 */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

.content-main {
    min-width: 0;
}

/* 特色横幅区域 */
.hero-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: var(--radius-xl);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.banner-description {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.banner-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.banner-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    opacity: 0.1;
}

.visual-element {
    position: absolute;
    background: white;
    border-radius: 50%;
}

.element-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 20%;
}

.element-2 {
    width: 60px;
    height: 60px;
    top: 50%;
    right: 40%;
}

.element-3 {
    width: 40px;
    height: 40px;
    top: 70%;
    right: 10%;
}

/* 内容区域 */
.content-section {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.section-header {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-sm);
}

/* 文章卡片 */
.article-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.article-card h3 {
    margin-bottom: 0.75rem;
}

.article-card h3 a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.article-card h3 a:hover {
    color: var(--primary-color);
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.article-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.875rem;
}

/* 文章详情页 */
.article-detail {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.article-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.article-content {
    line-height: 1.8;
    color: var(--text-primary);
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin: 2rem 0 1rem 0;
    color: var(--text-primary);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin: 1rem 0 1.5rem 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

/* 文章导航 */
.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.nav-item {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.nav-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.nav-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

.nav-item a:hover {
    color: var(--primary-color);
}

/* 搜索结果 */
.search-results-header {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.search-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.search-info {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* 分页 */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination,
.pagelist {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    background: white;
    padding: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.pagination a,
.pagination b,
.pagelist a,
.pagelist b {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination a,
.pagelist a {
    color: var(--text-primary);
    background: var(--bg-accent);
    border: 1px solid var(--border-color);
}

.pagination a:hover,
.pagelist a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.pagination b,
.pagelist b {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.pagelist .prev,
.pagelist .next {
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    width: auto;
    border-radius: var(--radius-md);
}

.pagelist .prev:hover,
.pagelist .next:hover {
    background: #059669;
}

/* 右侧边栏 */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1rem 1.5rem;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.card-body {
    padding: 1.5rem;
}

.card-body p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* 侧边栏列表项 */
.sidebar-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.sidebar-item:last-child {
    border-bottom: none;
}

.sidebar-item:hover {
    background: var(--bg-accent);
    margin: 0 -1.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
}

.sidebar-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.sidebar-item a:hover {
    color: var(--primary-color);
}

.sidebar-item .rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.75rem;
    vertical-align: middle;
}

/* 友情链接 */
.friendly-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}

.friendly-link-tag {
    display: block;
    padding: 0.5rem 0.75rem;
    background: var(--bg-accent);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.friendly-link-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* 页脚 */
.site-footer {
    background: var(--text-primary);
    color: white;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.footer-links {
    text-align: center;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-stats {
        gap: 1rem;
        order: 2;
    }
    
    .header-stats .stat-number {
        font-size: 1.25rem;
    }
    
    .header-stats .stat-label {
        font-size: 0.75rem;
    }
    
    .search-section {
        order: 3;
        max-width: 100%;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .banner-title {
        font-size: 2rem;
    }
    
    .banner-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    
    .nav-menu a {
        padding: 0.75rem 1rem;
    }
    
    .article-navigation {
        grid-template-columns: 1fr;
    }
    
    .friendly-links-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 1rem 0.5rem;
    }
    
    .hero-banner {
        padding: 2rem 1rem;
    }
    
    .content-section,
    .article-detail {
        padding: 1.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* 文章导航样式 */
.prev-page,
.next-page {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.prev-page:hover,
.next-page:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.prev-page span,
.next-page span {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.prev-page a,
.next-page a {
    display: block;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.prev-page a:hover,
.next-page a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .prev-page,
    .next-page {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .prev-page a,
    .next-page a {
        font-size: 0.9rem;
    }
}

/* 黄帝内经特有样式 */
fieldset {
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    margin: 2rem 0;
    padding: 0;
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

fieldset:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-dark);
}

legend {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    margin-left: 1rem;
    box-shadow: var(--shadow-sm);
    border: none;
    position: relative;
}

legend::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid var(--primary-dark);
}

.layui-field-box {
    padding: 2rem;
    line-height: 1.8;
    color: var(--text-primary);
    background: linear-gradient(135deg, #fefefe 0%, #f8f6f3 100%);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.layui-field-box p {
    margin-bottom: 1.5rem;
    text-indent: 2em;
    font-size: 1rem;
    color: var(--text-primary);
}

.layui-field-box p:last-child {
    margin-bottom: 0;
}

/* 黄帝内经原文样式 */
fieldset:first-of-type .legend {
    background: linear-gradient(135deg, #8b7355 0%, #6b5b47 100%);
}

fieldset:first-of-type .legend::before {
    border-right-color: #6b5b47;
}

/* 黄帝内经译文样式 */
fieldset:last-of-type .legend {
    background: linear-gradient(135deg, #7a9b7a 0%, #5a7a5a 100%);
}

fieldset:last-of-type .legend::before {
    border-right-color: #5a7a5a;
}

/* 响应式设计 */
@media (max-width: 768px) {
    fieldset {
        margin: 1.5rem 0;
    }
    
    legend {
        padding: 0.5rem 1rem;
        font-size: 1rem;
        margin-left: 0.5rem;
    }
    
    .layui-field-box {
        padding: 1.5rem;
    }
    
    .layui-field-box p {
        font-size: 0.9rem;
        text-indent: 1.5em;
    }
}

/* 友情链接样式 */
.friendly-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.friendly-link-tag {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.friendly-link-tag:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .friendly-links-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.5rem;
    }
    
    .friendly-link-tag {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
}

/* 药茶大全表格样式 */
.tisana-info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
}

.tisana-info-table tr {
    border-bottom: 1px solid var(--border-color);
}

.tisana-info-table tr:last-child {
    border-bottom: none;
}

.tisana-info-table td {
    padding: 1rem;
    vertical-align: top;
    line-height: 1.6;
}

.tisana-info-table td.label {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
    width: 25%;
    border-right: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.tisana-info-table td.value {
    background: var(--bg-primary);
    color: var(--text-primary);
    width: 75%;
    font-size: 0.95rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tisana-info-table {
        margin: 1rem 0;
    }
    
    .tisana-info-table td {
        padding: 0.75rem;
    }
    
    .tisana-info-table td.label {
        font-size: 0.85rem;
        width: 30%;
    }
    
    .tisana-info-table td.value {
        font-size: 0.9rem;
        width: 70%;
    }
}

/* 搜索分页样式 */
.search-pagination {
    margin: 30px 0;
    text-align: center;
}
.search-pagination .page-link {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 3px;
    color: var(--primary-color);
    text-decoration: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    transition: all 0.3s ease;
    font-weight: 500;
}
.search-pagination .page-link:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.search-pagination .current-page {
    background: var(--primary-color);
    color: var(--bg-primary);
    border-color: var(--primary-color);
    font-weight: 600;
}
.search-pagination .page-ellipsis {
    display: inline-block;
    padding: 10px 8px;
    color: var(--text-secondary);
    font-weight: bold;
}
.search-pagination .prev-page,
.search-pagination .next-page {
    font-weight: 600;
    background: var(--bg-secondary);
    border-color: var(--border-color);
}
.search-pagination .prev-page:hover,
.search-pagination .next-page:hover {
    background: var(--primary-dark);
    color: var(--bg-primary);
    border-color: var(--primary-dark);
}

/* 相关推荐 - tem5 风格 */
.article-detail .related-articles {
    margin-top: 30px;
    padding: 25px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(139, 115, 85, 0.1);
}

.article-detail .related-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.article-detail .related-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 2px;
}

.article-detail .related-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.article-detail .related-item {
    background: var(--bg-primary);
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(139, 115, 85, 0.1);
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}

.article-detail .related-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 10px 10px 0 0;
}

.article-detail .related-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.15);
    border-color: var(--primary-color);
}

.article-detail .related-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    line-height: 1.5;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.article-detail .related-item a:hover {
    color: var(--primary-color);
}

.article-detail .related-date {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 400;
}

/* 十二生肖运势导航 */
.zodiac-fortunes-nav {
    padding: 20px 25px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
}

.fortune-nav-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fortune-nav-item {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.fortune-nav-item:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.fortune-nav-item.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: var(--primary-color);
}
