/* @import '//at.alicdn.com/t/c/font_5030998_ps5ujmfwrub.css';*/
@font-face {
    font-family: "iconfont"; /* Project id 5030998 */
    src: url("css-asset-018.woff2") format('woff2'),
    url("css-asset-019.woff") format('woff'),
    url("css-asset-017.ttf") format('truetype');
}

.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


.icon-fenlei:before {
    content: "\e78a";
}

.icon-zuozhe:before {
    content: "\e844";
}

.icon-shijian:before {
    content: "\e854";
}

.icon-sousuo:before {
    content: "\e602";
}

.icon-chakan:before {
    content: "\e636";
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f6fa;
}

/* Container */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.2rem;
    font-weight: 700;
}

.logo a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.logo a:hover {
    color: #3498db;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.8rem;
}

.nav-list a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s ease;
    position: relative;
}

.nav-list a:hover,
.nav-list a.active {
    color: #3498db;
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3498db;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* Header Search */
.header-search {
    display: flex;
    align-items: center;
}

.search-form {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(233, 236, 239, 0.8);
    border-radius: 20px;
    padding: 0.3rem 0.5rem;
    transition: all 0.3s ease;
    width: 200px;
    backdrop-filter: blur(10px);
}

.search-form:focus-within {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

.search-input {
    border: none;
    background: transparent;
    outline: none;
    padding: 0.3rem 0.5rem;
    font-size: 0.9rem;
    color: #333;
    flex: 1;
    width: 100%;
}

.search-input::placeholder {
    color: #999;
}

.search-button {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-button:hover {
    color: #3498db;
    background-color: rgba(52, 152, 219, 0.1);
}

.search-button svg {
    width: 16px;
    height: 16px;
}

/* Main Content */
.main {
    min-height: calc(100vh - 140px);
    padding: 1.5rem 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 3rem;
    align-items: start;
}

.main-content {

}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hero-section h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Post Grid */
.featured-posts,
.recent-posts {
    margin-bottom: 3rem;
}

.featured-posts h3,
.recent-posts h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    padding: 16px 0;
}

.post-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-content h4 {
    margin-bottom: 0.5rem;
}

.post-content h4 a {
    text-decoration: none;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.post-content h4 a:hover {
    color: #3498db;
}

.post-excerpt {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.post-meta {

}

.category {

}

/* Post List */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.post-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.post-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.post-item-image {
    flex-shrink: 0;
    width: 220px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.post-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-item:hover .post-item-image img {
    transform: scale(1.05);
}

.post-item-content {
    flex: 1;
    min-width: 0;
}

.post-item-content p {
    width: 100px;
    white-space: pre-wrap;
}

.post-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.3;
}

.post-item h4 a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-item h4 a:hover {
    color: #3498db;
}

.post-item p {
    color: #666;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-item .post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 14px;
    color: #888;
}

.post-item .category {
    background-color: #3498db;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
    margin: 0.2rem 0 0.6rem 0;
}

.post-item .category a {
    color: white;
    text-decoration: none;
}

.post-item .date {
    color: #999;
}

.post-item .post-meta i {
    margin-right: 5px;
    font-size: inherit;
}

.index-item .category {
    margin: 0;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.widget {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.widget h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.widget p {
    color: #666;
    line-height: 1.5;
    word-break: keep-all;
}

.category-list,
.recent-posts-list {
    list-style: none;
}

.category-list li,
.recent-posts-list li {
    margin-bottom: 0.5rem;
    border-bottom: 1px #e4e2e2 solid;
}

.category-list a,
.recent-posts-list a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s ease;
    word-break: break-all;
}

.category-list a:hover,
.recent-posts-list a:hover {
    color: #3498db;
}

.recent-posts-list a img {
    width: 30%;
    height: 70px;
    object-fit: cover;
}

.recent-posts-list a .wz {
    width: 68%;
    float: right;
}

.recent-posts-list a h4 {
    display: -webkit-box;
    height: 40px;
    overflow: hidden;
    line-height: 20px;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: normal;
}

.recent-posts-list a p {
    color: #999;
    font-size: 12px;
    line-height: 30px;
}

/* 热门排行榜样式 */
.hot-rank-list li {
    position: relative;
}

.hot-rank-list a {
    position: relative;
    display: block;
    padding-left: 0;
}

.rank-badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    background: #999;
    border-radius: 0 0 6px 0;
}

.rank-badge.rank-1 {
    background: linear-gradient(135deg, #ff6b35, #e53935);
    box-shadow: 0 2px 4px rgba(229, 57, 53, 0.4);
}

.rank-badge.rank-2 {
    background: linear-gradient(135deg, #ffa726, #f57c00);
    box-shadow: 0 2px 4px rgba(245, 124, 0, 0.4);
}

.rank-badge.rank-3 {
    background: linear-gradient(135deg, #ffd54f, #f9a825);
    color: #6d4c00;
    box-shadow: 0 2px 4px rgba(249, 168, 37, 0.4);
}

.rank-badge.rank-normal {
    background: linear-gradient(135deg, #90a4ae, #607d8b);
    opacity: 0.85;
}

.hot-rank-list .hot-views-icon {
    display: inline-block;
    margin-right: 2px;
    opacity: 0.8;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 2rem 0 3rem;
    background-color: #ffffff;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.page-header h1,
.page-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Filter Section */
.filter-section {
    margin-bottom: 2rem;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #e9ecef;
    background-color: #ffffff;
    color: #666;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.filter-btn:hover:not(.active) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

/* Articles List */
.articles-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.article-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.article-category {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

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

.article-content h3 a {
    text-decoration: none;
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.article-content h3 a:hover {
    color: #3498db;
}

.article-excerpt {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #888;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
}

.pagination a {
    padding: 0.1rem 0.5rem;
    text-decoration: none;
    color: #3498db;
    border: 1px solid #3498db;
    border-radius: 3px;
    transition: all 0.3s ease;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.pagination b {
    padding: 0.1rem 0.5rem;
    text-decoration: none;
    color: #ccc;
    border: 1px solid #ccc;
    border-radius: 3px;
    transition: all 0.3s ease;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}


.pagination-btn:hover:not(.disabled) {
    background-color: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pagination-btn.disabled {
    color: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-numbers a {
    padding: 0.5rem 0.8rem;
    text-decoration: none;
    color: #666;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.pagination-numbers a:hover:not(.active) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pagination-numbers a:hover,
.pagination-numbers a.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

/* Search Box */
.search-box {
    display: flex;
    gap: 0.5rem;
}

.search-box input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.search-box button {
    padding: 0.5rem 1rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.search-box button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-cloud a {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: #ffffff;
    color: #666;
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.tag-cloud a:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Article Content Styles */
.article-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}
/* 针对文章标题的具体字号调整 */
.article-header h1, 
.article-header .post-title {
    font-size: 1.75rem; /* 原字号若为2rem+，建议下调至此值 */
    line-height: 1.4;   /* 配合字号优化行高，避免视觉拥挤 */
    margin-bottom: 0.5rem; /* 微调标题与分隔线的间距 */
}

.breadcrumb {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
}

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

.article-content h1 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}


.meta-info {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.meta-info span {
    font-size: 14px;
    color: #666;
}

.meta-info i {
    margin-right: 5px;
    font-size: inherit;
}

.meta-info span.author a {
    text-decoration: none;
    color: #3498db;
}

.article-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

.article-body .lead {
    font-size: 1.3rem;
    color: #555;
    font-weight: 400;
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 4px solid #3498db;
}

.article-body h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.article-body h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

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

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

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

.article-body blockquote {
    background-color: #ffffff;
    border-left: 4px solid #3498db;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.article-footer .tags a {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: #ffffff;
    color: #666;
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    margin-right: 7px;
}

.article-footer .tags a:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tags {
    margin-bottom: 2rem;
}

.tag-label {
    font-weight: 600;
    color: #666;
    margin-right: 0.5rem;
}

.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.nav-previous,
.nav-next {
    padding: 1rem;
    background-color: #f1f1f1;
    border-radius: 12px;
}

.nav-previous:hover,
.nav-next:hover {
    transform: translateY(-2px);

}

.nav-next {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.nav-previous a,
.nav-next a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    color: #3498db;
}

/* Table of Contents */
.toc {
    list-style: none;
}

.toc li {
    margin-bottom: 0.5rem;
}

.toc a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.toc a:hover {
    color: #3498db;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.newsletter-form input {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.newsletter-form button {
    padding: 0.5rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.newsletter-form button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Social Links */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.social-link {
    padding: 0.4rem 0.8rem;
    background-color: #ffffff;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.social-link:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* About Page Styles */
.about-content {
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.topic-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #3498db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topic-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.topic-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.topic-card p {
    color: #666;
}

.values-list {
    list-style: none;
    padding-left: 0;
}

.values-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.values-list li::before {
    content: '鉁�';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

.contact-info {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.contact-link {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Sitemap */
.sitemap {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sitemap-section h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.sitemap-section ul {
    list-style: none;
}

.sitemap-section li {
    margin-bottom: 0.3rem;
}

.sitemap-section a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.sitemap-section a:hover {
    color: #3498db;
}

/* Stats */
.stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #3498db;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* Back to Top Button - Pure CSS */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #3498db;
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Show back to top button when scrolled */
body.scrolled .back-to-top {
    opacity: 1;
    visibility: visible;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Responsive Design */

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero-section h2 {
        font-size: 3rem;
    }

    .article-content h1 {
        font-size: 1.75rem;
    }
}

/* Desktop */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }

    .content-wrapper {
        gap: 2rem;
    }

    .sidebar {
        width: 280px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
        padding: 0 15px;
    }

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

    .post-item {
        flex-direction: column;
    }

    .post-item-image {
        width: 100%;
        height: 200px;
    }

    .featured-posts, .recent-posts {
        margin-bottom: 0;
    }

    .sidebar {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .hero-section h2 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .post-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 16px;
    }

    .articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .topics-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .article-navigation {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .nav-next {
        text-align: left;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

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

}

/* Mobile Large */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
        padding: 0 10px;
    }

    .header-content {
        padding: 0.8rem 0;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .nav {
        gap: 1rem;
    }

    .header-search {
        order: -1;
    }

    .search-form {
        width: 150px;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        gap: 1rem;
    }

    .nav-list.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-section {
        padding: 2rem 1rem;
    }

    .hero-section h2 {
        font-size: 1.8rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .page-header h1,
    .page-header h2 {
        font-size: 2rem;
    }

    .article-content h1 {
        font-size: 1.4rem;
    }

    .post-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .meta-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .share-buttons {
        justify-content: center;
    }

    .article-body {
        font-size: 1rem;
    }

    .article-body .lead {
        font-size: 1.1rem;
    }

    .article-body h2 {
        font-size: 1.5rem;
    }

    .article-body h3 {
        font-size: 1.3rem;
    }

    .article-body img {
        width: 100%;
    }

    .pagination {

    }

    .pagination-numbers {
        order: -1;
        width: 100%;
        justify-content: center;
    }

    .topics-grid {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* Mobile Small */
@media (max-width: 575px) {
    .container {
        padding: 0 8px;
    }

    .search-form {
        width: 120px;
    }

    .search-input {
        font-size: 0.8rem;
    }

    .main {
        padding: 1rem 0;
    }

    .hero-section {
        padding: 1.5rem 0.5rem;
        margin-bottom: 2rem;
    }

    .hero-section h2 {
        font-size: 1.5rem;
    }

    .page-header {
        padding: 1rem 0 2rem;
    }

    .page-header h1,
    .page-header h2 {
        font-size: 1.8rem;
    }

    .article-content h1 {
        font-size: 1.3rem;
    }

    .post-card,
    .article-card {
        margin: 0;
        border-radius: 8px;
    }
    /* 极窄屏（≤575px）下卡片内部收紧，避免 2 列时内容挤压 */
    .post-info { padding: 8px; }
    .post-info h3.post-title { font-size: 13px !important; margin: 0 0 4px 0 !important; }
    .post-meta { font-size: 11px; }

    .widget {
        padding: 1rem;
    }

    .article-body ul,
    .article-body ol {
        padding-left: 1.5rem;
    }

    .article-body blockquote {
        margin: 1.5rem -8px;
        padding: 1rem;
        border-radius: 0;
    }

    .search-box {
        flex-direction: column;
    }

    .social-links {
        justify-content: center;
    }

    .tag-cloud {
        justify-content: center;
    }

    .article-image {
        height: 200px;
        margin-left: -8px;
        margin-right: -8px;
        border-radius: 0;
    }

    .breadcrumb {
        font-size: 0.8rem;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 0.5rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .sidebar,
    .footer,
    .share-buttons,
    .mobile-menu-toggle {
        display: none !important;
    }

    .main {
        padding: 0;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .article-content {
        max-width: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .article-content h1 {
        font-size: 18pt;
    }

    .article-body h2 {
        font-size: 16pt;
    }

    .article-body h3 {
        font-size: 14pt;
    }

    .article-body {
        font-size: 11pt;
    }

    a {
        color: #000 !important;
        text-decoration: underline;
    }

    .post-card,
    .article-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .post-image img,
    .article-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #1a1a1a;
        --text-color: #e0e0e0;
        --card-bg: #2d2d2d;
        --border-color: #404040;
    }

    /* Uncomment to enable dark mode */
    /*
    body {
        background-color: var(--bg-color);
        color: var(--text-color);
    }

    .header {
        background-color: var(--card-bg);
        border-bottom-color: var(--border-color);
    }

    .post-card,
    .article-card,
    .widget {
        background-color: var(--card-bg);
        border-color: var(--border-color);
    }

    .hero-section {
        background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-color) 100%);
    }
    */
}

/* Focus Styles for Accessibility */
button:focus,
.filter-btn:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #3498db;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Error States */
.error {
    color: #e74c3c;
    background-color: #fdf2f2;
    border: 1px solid #fecaca;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

/* Success States */
.success {
    color: #059669;
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list li {
    position: relative;
    display: inline-block; /* 父菜单横向排列 */
    padding-bottom: 5px; /* 衔接子菜单的触发区域 */
}

.nav-list li a {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    color: #333;
}

/* 父菜单hover时显示子菜单 */
.nav-list li:hover .sub_daohang {
    display: block;
}

.sub_daohang {
    display: none;
    position: absolute;
    left: 0;
    top: 100%; /* 紧贴父菜单底部 */
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
    border: 1px solid #eee;
    min-width: 120px; /* 固定子菜单宽度，确保纵向排列整齐 */
}

/* 子菜单选项纵向排列（每个li单独占一行） */
.sub_daohang li {
    display: block; /* 关键：子菜单li纵向排列 */
    padding: 0;
    margin: 0;
}

.sub_daohang a {
    padding: 8px 15px;
    color: #333;
    width: 100%; /* 链接占满父容器宽度 */
    box-sizing: border-box; /* 避免padding撑开宽度 */
}

/* hover样式优化 */
.nav-list li a:hover,
.sub_daohang a:hover {
    color: #0066cc;
    background: #f5f5f5;
}

.article-body img {
    max-width: 100% !important;
}
/* 首页卡片网格：保留原自适应布局，移动端规则统一交给后面的 @media 处理 */
.post-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}
.post-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
.post-cover {
    position: relative;
    padding-top: 140%;
    overflow: hidden;
}
.post-cover img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.post-tag {
    position: absolute;
    top: 8px; left: 8px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
}
.post-info { padding: 10px; }
.post-info h3.post-title {
    font-size: 14px !important; /* 强制覆盖默认大小，你可以改成 12px 或 16px */
    line-height: 1.4 !important; /* 调整行高，防止文字太挤 */
    margin: 0 0 8px 0 !important; /* 控制标题下方的间距 */
    font-weight: bold; /* 保持标题加粗，看起来更有质感 */

    /* 保留你原本的多行省略号代码 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.post-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    justify-content: space-between;
    margin: 0;
}

/* 下载模块 */
.download-box {
    margin-top: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}
.download-title {
    margin: 0 0 15px;
    font-size: 18px;
    color: #1e293b;
}
.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #e2e8f0;
}
.pan-name {
    font-weight: 600;
    color: #334155;
    min-width: 80px;
}
.download-btn {
    display: inline-block;
    padding: 8px 20px;
    color: #fff !important;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s;
}
.download-btn:hover { opacity: 0.85; }

/* 四网盘品牌色 */
.download-quark .download-btn { background: #6366f1; }
.download-uc .download-btn { background: #f97316; }
.download-baidu .download-btn { background: #3b82f6; }
.download-xunlei .download-btn { background: #0ea5e9; }

.no-download { color: #94a3b8; margin: 0; text-align: center; padding: 10px 0; }
.download-tip { font-size: 12px; color: #94a3b8; margin: 10px 0 0; }

/* 版权声明 */
.copyright-notice {
    margin-top: 20px;
    padding: 16px 20px;
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    line-height: 1.8;
    color: #78350f;
}
.copyright-notice strong {
    color: #92400e;
}
.copyright-notice p {
    margin: 4px 0;
}

/* 移动端适配 */
@media (max-width: 640px) {
    .post-title { font-size: 12px; }
    .download-item { flex-direction: column; align-items: flex-start; gap: 8px; }
    .download-btn { width: 100%; text-align: center; box-sizing: border-box; }
}
/* --- 首页卡片网格布局：移动端统一 2 列（已与上面 @media 767 / 768 一致，避免重复定义冲突） --- */
@media (max-width: 768px) {
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .post-card { min-width: 0; }
    .post {
        min-width: 0; /* 防止内容溢出撑破网格 */
    }
}
/* 对应模板中的 .post 类 */
.post {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 0 !important; /* 覆盖默认的下边距 */
}

.post:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* 对应模板中的 .pic 类 - 核心修改点 */
.pic {
    position: relative;
    display: block;
    width: 100%;
    /* 强制撑开高度，形成 3:4 的海报比例 */
    padding-top: 133%;
    overflow: hidden;
    background-color: #f5f5f5; /* 图片加载前的灰色背景 */
}

/* 让图片填满容器 */
.pic img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover; /* 关键：等比裁剪填充 */
}

/* 标题部分样式微调 */
.post h2 {
    font-size: 12px;
    line-height: 1.4;
    margin: 10px 10px 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制显示两行 */
    -webkit-box-orient: vertical;
    color: #333;
}

/* 底部信息栏 */
.post-footer {
    padding: 0 10px 10px;
    font-size: 12px;
    color: #999;
    display: flex;
    justify-content: space-between;
}
/* 1. 核心布局：让观看数和标签左右分开 */
.post-meta {
    display: flex;              /* 开启弹性布局 */
    justify-content: space-between; /* 两端对齐：一个靠左，一个靠右 */
    align-items: center;        /* 垂直居中 */
    margin-top: 8px;            /* 与标题的距离 */
    font-size: 12px;            /* 字体大小 */
    color: #999;                /* 灰色文字 */
}

/* 针对 post-tags 里面的 a 标签进行美化 */
.post-tags a {
    /* 1. 形状与布局 */
    display: inline-block;      /* 必须加这个，否则背景色包不住文字 */
    padding: 2px 8px;           /* 上下2像素，左右8像素，撑开胶囊空间 */
    border-radius: 4px;         /* 圆角，数值越大越圆 */

    /* 2. 颜色搭配 (模仿主流APP风格) */
    background-color: #f0f2f5;  /* 浅灰色背景 */
    color: #666 !important;     /* 深灰色文字，!important用于强制覆盖原本的蓝色链接色 */

    /* 3. 字体微调 */
    font-size: 12px;            /* 字号稍微小一点，显精致 */
    text-decoration: none;      /* 去掉下划线 */
    line-height: 1.5;           /* 调整行高让文字居中 */
}

/* 鼠标悬停时的效果（可选） */
.post-tags a:hover {
    background-color: #e4e6eb;  /* 鼠标放上去变深一点 */
    color: #333 !important;
}
/* 修改文章页标题的样式 */
.single-post h1.post-title,
.single-post .post-title {
    font-size: 20px !important; /* 您可以将 24px 修改为您想要的任意大小 */
    line-height: 1.4;           /* 调整行高，让文字看起来更舒适 */
    margin-bottom: 20px;        /* 调整标题下方的间距 */
}

/* ============================================================
   网盘下载卡片样式（百度 / 夸克 / UC）
   触发：main.js 扫描 .article-body 内的网盘链接并生成卡片
   ============================================================ */
.dl-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    margin: 16px 0;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left-width: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.dl-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* 三种网盘主题色 */
.dl-card.dl-baidu { border-left-color: #06a7ff; }
.dl-card.dl-quark  { border-left-color: #6366f1; }
.dl-card.dl-uc     { border-left-color: #fb7c2c; }

/* 左侧图标方块（醒目大图标） */
.dl-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.dl-baidu .dl-icon {
    background: linear-gradient(135deg, #3b82f6, #06a7ff);
}
.dl-quark .dl-icon {
    background: linear-gradient(135deg, #7c3aed, #6366f1);
}
.dl-uc .dl-icon {
    background: linear-gradient(135deg, #f97316, #fb7c2c);
}

/* 中间信息区 */
.dl-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.dl-name {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    margin-bottom: 4px;
}
.dl-url {
    font-size: 12px;
    color: #94a3b8;
    word-break: break-all;
    line-height: 1.4;
}

/* 右侧访问按钮 */
.dl-btn {
    display: inline-block;
    flex-shrink: 0;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: opacity 0.2s, transform 0.2s;
}
.dl-btn:hover {
    opacity: 0.88;
    transform: translateX(2px);
}
.dl-baidu .dl-btn { background: #06a7ff; }
.dl-quark  .dl-btn { background: #6366f1; }
.dl-uc     .dl-btn { background: #fb7c2c; }

/* 手机端下载卡片紧凑化 */
@media (max-width: 575px) {
    .dl-card { padding: 12px; gap: 10px; border-radius: 10px; }
    .dl-icon { width: 42px; height: 42px; font-size: 18px; border-radius: 8px; }
    .dl-name { font-size: 14px; }
    .dl-url { font-size: 11px; }
    .dl-btn { padding: 8px 14px; font-size: 13px; }
}

/* ============================================================
   网盘下载区域样式（文章页）
   ============================================================ */
.pan-downloads {
    margin: 24px 0;
    padding: 20px;
    background: #f0f4ff;
    border: 1px dashed #c7d2fe;
    border-radius: 12px;
}
.pan-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #4f46e5;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e7ff;
}