/* @import '//at.alicdn.com/t/c/font_5030998_ps5ujmfwrub.css';*/
@font-face {
    font-family: "iconfont";
    src: url('iconfont.woff2?t=1761878922763') format('woff2'),
         url('iconfont.woff?t=1761878922763') format('woff'),
         url('iconfont.ttf?t=1761878922763') 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 {
    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;
}

/* 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-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.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 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;
}

/* 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;
}

.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: 2.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);
}

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 */
@media (min-width: 1400px) {
    .container { max-width: 1320px; }
    .hero-section h2 { font-size: 3rem; }
    .article-content h1 { font-size: 3rem; }
}

@media (max-width: 1199px) {
    .container { max-width: 960px; }
    .content-wrapper { gap: 2rem; }
    .sidebar { width: 280px; }
}

@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-fit, minmax(280px, 1fr)); gap: 1.5rem; }
    .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; }
}

@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: 2rem; }
    .post-grid { grid-template-columns: 1fr; }
    .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-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; }
}

@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.8rem; }
    .post-card, .article-card { margin: 0 -8px; border-radius: 0; }
    .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 (commented) */
/* ... */

/* Focus Styles */
button:focus, .filter-btn:focus { outline: 2px solid #3498db; outline-offset: 2px; }
.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 { 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 { color: #e74c3c; background-color: #fdf2f2; border: 1px solid #fecaca; padding: 1rem; border-radius: 4px; margin: 1rem 0; }
.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; }
.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; }
.sub_daohang li { display: block; padding: 0; margin: 0; }
.sub_daohang a { padding: 8px 15px; color: #333; width: 100%; box-sizing: border-box; }
.nav-list li a:hover, .sub_daohang a:hover { color: #0066cc; background: #f5f5f5; }
.article-body img { max-width: 100% !important; }

/* ========== 新增APP列表页样式 ========== */
.detail-box {
    float: left;
    width: 100%;
    min-height: 600px;
    background: #fff;
    border-radius: 5px;
    padding: 28px;
    box-sizing: border-box;
}
.app_list_box {
    margin: 0;
    padding: 0;
    list-style: none;
}
.app_list_box li {
    border-bottom: 1px solid #E6E6EB;
    padding: 15px 0;
    transition: all 0.3s ease;
}
.app_list_box li:hover {
    background-color: #F8F9FA;
}
.alllist_app {
    display: flex;
    align-items: center;
}
.alllist_img {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    margin-right: 20px;
    flex-shrink: 0;
}
.alllist_mss {
    flex: 1;
}
.list_app_title {
    font-size: 18px;
    font-weight: 600;
    color: #2C3E50;
    display: inline-block;
    margin-bottom: 8px;
    text-decoration: none;
}
.list_app_title:hover {
    color: #36AAFD;
}
.list_app_description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}
.list_app_info {
    font-size: 12px;
    color: #999;
    margin: 5px 0 0;
}
.list_app_count {
    color: #999;
}
.alllist_btn {
    background: #36AAFD;
    border: none;
    color: #fff;
    padding: 6px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
    margin-left: 15px;
    flex-shrink: 0;
}
.alllist_btn:hover {
    background: #3099E3;
}
.pagebar {
    text-align: center;
    margin: 30px 0;
}
.pagebar a, .pagebar .now-page {
    display: inline-block;
    margin: 0 4px;
    padding: 6px 14px;
    border-radius: 4px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #E6E6EB;
}
.pagebar a:hover {
    background: #36AAFD;
    border-color: #36AAFD;
    color: #fff;
}
.pagebar .now-page {
    background: #36AAFD;
    border-color: #36AAFD;
    color: #fff;
}

/* ========== 手机端精细化适配（参考 app522.com 移动端卡片） ========== */
@media (max-width: 768px) {
    /* 卡片容器内边距缩小 */
    .detail-box {
        padding: 12px !important;
    }
    /* 卡片内部改为垂直布局（左图右文改为上图下文）？实际上目标网站是左图右文，按钮在右侧 */
    /* 保持左图右文，但缩小图标和内边距 */
    .alllist_app {
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }
    .alllist_img {
        width: 70px !important;
        height: 70px !important;
        margin-right: 12px !important;
        margin-bottom: 0 !important;
    }
    .alllist_mss {
        flex: 1;
        margin-bottom: 0 !important;
    }
    .list_app_title {
        font-size: 16px !important;
        margin-bottom: 4px !important;
    }
    .list_app_description {
        font-size: 12px !important;
        -webkit-line-clamp: 2 !important;
        margin-bottom: 4px !important;
    }
    .list_app_info {
        font-size: 10px !important;
        white-space: nowrap;
        overflow-x: auto;
    }
    .alllist_btn {
        margin-left: 8px !important;
        margin-top: 0 !important;
        padding: 4px 14px !important;
        font-size: 12px !important;
        flex-shrink: 0;
    }
    /* 如果某些卡片内容过多导致换行，允许换行 */
    .alllist_mss .list_app_info {
        white-space: normal;
    }
    /* 分页样式调整 */
    .pagebar a, .pagebar .now-page {
        padding: 4px 10px;
        font-size: 12px;
    }
}

/* 超小屏幕进一步优化 */
@media (max-width: 480px) {
    .alllist_img {
        width: 55px !important;
        height: 55px !important;
    }
    .list_app_title {
        font-size: 14px !important;
    }
    .list_app_description {
        font-size: 11px !important;
        -webkit-line-clamp: 2 !important;
    }
    .alllist_btn {
        padding: 3px 10px !important;
        font-size: 11px !important;
    }
    .list_app_info {
        font-size: 9px !important;
    }
}