/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Font definitions moved to wenkai.css for better optimization */

body {
  font-family: 'LXGW WenKai', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', 'STHeiti', '华文黑体', 'SimHei', '黑体', serif !important;
  line-height: 1.6;
  color: #333333;
  font-weight: 400;
  font-size: 14px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* 测试字体加载 */
.test-font {
  font-family: 'LXGW WenKai' !important;
  font-size: 24px !important;
  color: #ff6b6b !important;
  font-weight: 400 !important;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    opacity: 0.7;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
    margin-bottom: 40px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 24px;
    font-weight: 600;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 400;
    transition: opacity 0.2s;
}

.nav-link.active {
    font-weight: 500;
    color: #000;
}

.nav-link.rss-link {
    color: #666;
    font-weight: 400;
    transition: opacity 0.2s;
}

.nav-link.rss-link:hover {
    opacity: 0.7;
}

/* Main content */
.main {
    min-height: calc(100vh - 200px);
    background: #ffffff;
    border-radius: 20px;
    margin: 0 20px;
    padding: 40px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.intro {
    margin-bottom: 50px;
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.tagline {
    font-size: 16px;
    color: #5a6c7d;
    font-weight: 400;
}

.description {
    font-size: 16px;
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Posts */
.posts {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.post-item {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.post-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.post-title {
    margin: 0 0 8px 0;
    font-size: 0.75em;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #2c3e50;
    transition: all 0.3s ease;
    text-align: left;
}

.post-title:hover {
    color: #3498db;
}

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

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

.post-meta {
    margin-bottom: 8px;
    color: #7f8c8d;
    font-size: 0.7em;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.post-meta::before {
    content: '📅';
    font-size: 12px;
}

.post-excerpt {
    color: #4a5568;
    line-height: 1.4;
    font-size: 0.75em;
    margin-bottom: 6px;
    text-align: left;
}

/* 博客布局 */
.blog-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

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

.blog-sidebar {
    width: 220px;
    flex-shrink: 0;
}

.sidebar-section {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.sidebar-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e9ecef;
}

.blog-search {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.blog-search .search-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.9);
    box-sizing: border-box;
    min-width: 0;
}

.blog-search .search-btn {
    padding: 10px 12px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-search .search-btn:hover {
    background: #2980b9;
}

.blog-tags-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-tags-nav .nav-label {
    font-size: 13px;
    color: #7f8c8d;
    margin-right: 12px;
    white-space: nowrap;
    width: 100%;
    margin-bottom: 8px;
}

@media (max-width: 900px) {
    .blog-layout {
        flex-direction: column;
        gap: 24px;
    }
    
    .blog-sidebar {
        width: 100%;
        order: -1;
    }
    
    .sidebar-section {
        padding: 16px;
    }
    
    .blog-tags-nav {
        justify-content: center;
    }
}

/* 博客标签样式 */
.post-tags {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    justify-content: flex-start;
}

.tag {
    display: inline-block;
    padding: 3px 8px;
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    font-size: 10px;
    font-weight: 500;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid rgba(52, 152, 219, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(52, 152, 219, 0.2);
    transform: translateY(-1px);
}

.tag.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* Weekly posts */

/* 周刊网格布局 */
.weekly-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 0 auto 60px;
}

@media (max-width: 1200px) {
    .weekly-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .weekly-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

@media (max-width: 900px) {
    .weekly-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .weekly-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .weekly-grid {
        grid-template-columns: 1fr;
    }
}

.weekly-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.weekly-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.95);
}

.weekly-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.weekly-image {
    width: 100%;
    aspect-ratio: 2/1;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

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

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

.weekly-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    color: rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.weekly-content {
    padding: 1px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.weekly-title {
    font-size: 0.8em;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}

.weekly-date {
    font-size: 1.1em;
    color: #7f8c8d;
    font-weight: 500;
    margin: 0;
    text-align: left;
}

.weekly-excerpt {
    color: #5a6c7d;
    line-height: 1.4;
    font-size: 0.65em;
    margin: 0;
    text-align: left;
    word-wrap: break-word;
    white-space: normal;
}

.weekly-meta {
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-start;
}

.weekly-meta::before {
    content: '📅';
    font-size: 12px;
}

.weekly-excerpt {
    color: #5a6c7d;
    line-height: 1.6;
    font-size: 15px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 50px;
    padding: 20px;
}

.pagination a,
.pagination span {
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
}

.pagination .current {
    background: #3498db;
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.pagination a:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    color: #333;
    opacity: 1;
}

/* Footer */
.footer {
    background: #f8f9fa;
    border-top: 1px solid #e1e8ed;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    text-align: center;
}

.footer .social-links {
    margin-bottom: 20px;
}

.footer .social-links a {
    display: inline-block;
    margin: 0 15px;
    padding: 8px 16px;
    font-size: 14px;
    color: #657786;
    text-decoration: none;
    background: white;
    border: 1px solid #e1e8ed;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.footer .social-links a:hover {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
    transform: translateY(-1px);
}

.copyright {
    font-size: 14px;
    color: #657786;
    margin: 0;
}

/* Responsive for footer */
@media (max-width: 768px) {
    .footer {
        padding: 30px 0;
        margin-top: 40px;
    }
    
    .footer .social-links a {
        margin: 4px 8px;
        font-size: 13px;
        padding: 6px 12px;
    }
}

/* Intro social links */
.intro-social {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-label {
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 500;
}

.intro-social a {
    font-size: 14px;
    color: #3498db;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.2);
    transition: all 0.3s ease;
}

.intro-social a:hover {
    background: rgba(52, 152, 219, 0.2);
    border-color: rgba(52, 152, 219, 0.4);
    transform: translateY(-1px);
}



/* Social Links Page */
.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 30px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.social-card {
    display: flex;
    align-items: center;
    padding: 16px;
    background: white;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.social-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: #d1d9e0;
}



.social-icon {
    width: 44px;
    height: 44px;
    margin-right: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 28px;
    height: 28px;
    transition: all 0.3s ease;
}

.social-info h3 {
    margin: 0 0 3px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.social-info p {
    margin: 0;
    font-size: 13px;
    color: #657786;
    line-height: 1.3;
}

/* Platform-specific colors */
/* Platform-specific subtle hover effects */
.social-card.github:hover .social-icon {
    background: #f6f8fa;
    color: #333;
}

.social-card.twitter:hover .social-icon {
    background: #e8f4fd;
    color: #1da1f2;
}

.social-card.linkedin:hover .social-icon {
    background: #e6f3ff;
    color: #0077b5;
}

.social-card.instagram:hover .social-icon {
    background: #fdf2f8;
    color: #e4405f;
}

.social-card.youtube:hover .social-icon {
    background: #fef2f2;
    color: #ff0000;
}

.social-card.telegram:hover .social-icon {
    background: #e6f7ff;
    color: #0088cc;
}

.social-card.wechat:hover .social-icon {
    background: #f0f9f4;
    color: #07c160;
}

.social-card.weibo:hover .social-icon {
    background: #fef2f2;
    color: #e6162d;
}

.social-card.email:hover .social-icon {
    background: #fef2f2;
    color: #ea4335;
}

.social-card.rss:hover .social-icon {
    background: #fff7ed;
    color: #ff6600;
}

/* Responsive design for social grid */
@media (max-width: 768px) {
    .social-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 20px;
        padding: 0 16px;
    }
    
    .social-card {
        padding: 16px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
    
    .social-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .social-info h3 {
        font-size: 16px;
    }
    
    .social-info p {
        font-size: 13px;
    }
}

/* About page */
.about-content {
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    margin-top: 40px;
}

.about-content h2:first-child {
    margin-top: 0;
}

.about-content p {
    margin-bottom: 20px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .main {
        margin: 0 10px;
        padding: 30px 0;
        border-radius: 16px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav {
        gap: 20px;
    }
    
    .intro {
        padding: 30px 15px;
        margin-bottom: 40px;
    }
    
    .tagline {
        font-size: 16px;
    }
    
    .post-item {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .post-title {
        font-size: 18px;
    }
    
    .weekly-content {
        padding: 6px;
    }
    
    .weekly-title {
        font-size: 0.9em;
    }
    
    .weekly-date {
        font-size: 1.0em;
    }
    
    .weekly-excerpt {
        font-size: 0.8em;
        -webkit-line-clamp: 1;
    }
    
    .pagination {
        gap: 10px;
        padding: 15px;
    }
    
    .pagination a,
    .pagination span {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .intro-social {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .intro-social a {
        font-size: 13px;
        padding: 5px 10px;
    }
}

/* Single Post Styles */
.post {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.post-header {
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.post-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    color: #666;
    font-size: 0.9em;
}

.post-date {
    color: #666;
}

.post-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.post-tags .tag {
    background: #f8f9fa;
    color: #495057;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
}

.post-excerpt {
    font-size: 1.1em;
    color: #666;
    font-style: italic;
    margin-top: 20px;
}

.post-content {
    line-height: 1.8;
    font-size: 1.1em;
    color: #333;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 600;
}

.post-content h1 {
    font-size: 2em;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.post-content h2 {
    font-size: 1.6em;
}

.post-content h3 {
    font-size: 1.3em;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content ul,
.post-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content blockquote {
    border-left: 4px solid #3498db;
    padding-left: 20px;
    margin: 30px 0;
    color: #666;
    font-style: italic;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
}

.post-content code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9em;
}

.post-content pre {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.post-content pre code {
    background: none;
    padding: 0;
}

.post-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
}

.nav-previous,
.nav-next {
    flex: 1;
    max-width: 45%;
}

.nav-previous a,
.nav-next a {
    display: block;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.nav-label {
    font-size: 0.9em;
    color: #666;
    display: block;
    margin-bottom: 5px;
}

.nav-title {
    font-weight: 600;
    color: #2c3e50;
}

.post-share {
    text-align: center;
    margin-bottom: 40px;
}

.post-share h4 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-buttons a,
.share-buttons button {
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9em;
}

.share-twitter {
    background: #1da1f2;
    color: white;
}

.share-facebook {
    background: #4267b2;
    color: white;
}

.share-email {
    background: #34495e;
    color: white;
}

.share-copy {
    background: #95a5a6;
    color: white;
}

.share-buttons a:hover,
.share-buttons button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.related-posts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.related-posts h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-post {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.related-post:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.related-post h4 {
    margin-bottom: 10px;
}

.related-post h4 a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
}

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

.related-post-date {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.related-post-excerpt {
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
}

/* Weekly Article Styles */
.weekly {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.weekly-header {
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.weekly-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.weekly-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    color: #666;
    font-size: 1.1em;
}

.weekly-date {
    color: #666;
    font-size: 1.1em;
}

.weekly-issue {
    background: #3498db;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
}

.weekly-excerpt {
    font-size: 1.1em;
    color: #666;
    font-style: italic;
    margin-top: 20px;
}

.weekly-cover {
    margin-bottom: 40px;
    text-align: center;
}

.weekly-cover .cover-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.weekly-content {
    line-height: 1.8;
    font-size: 1.1em;
    color: #333;
}

/* Weekly content link styles */
.weekly-content blockquote {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #3498db;
    margin: 15px 0;
    padding: 10px 15px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    font-size: 0.9em;
}

.weekly-content blockquote p {
    margin: 6px 0;
    font-size: 0.85em;
}

.weekly-content blockquote strong {
    color: #2c3e50;
    font-weight: 600;
}

.weekly-content blockquote a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.weekly-content blockquote a:hover {
    color: #2980b9;
    border-bottom-color: #2980b9;
    transform: translateY(-1px);
}

.weekly-content a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.weekly-content a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Code block styling */
.weekly-content pre {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    overflow-x: auto;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    line-height: 1.4;
    position: relative;
}

/* 代码复制按钮样式 */
.code-copy-container {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
}

.code-copy-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e1e5e9;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    color: #586069;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.code-copy-btn:hover {
    background: #f6f8fa;
    border-color: #d0d7de;
    color: #24292f;
}

.code-copy-btn:active {
    background: #e9ecef;
    transform: translateY(1px);
}

.weekly-content code {
    background: #f1f3f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    color: #e74c3c;
}

.weekly-content pre code {
    background: none;
    padding: 0;
    color: #333;
}

/* List styling improvements */
.weekly-content ul li {
    position: relative;
    padding-left: 8px;
}

.weekly-content ul li::marker {
    color: #3498db;
}

/* Image styling improvements */
.weekly-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.weekly-content h1,
.weekly-content h2,
.weekly-content h3,
.weekly-content h4,
.weekly-content h5,
.weekly-content h6 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 600;
}

.weekly-content h2 {
    font-size: 1.6em;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.weekly-content h3 {
    font-size: 1.3em;
}

.weekly-content p {
    margin-bottom: 20px;
}

.weekly-content ul,
.weekly-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.weekly-content li {
    margin-bottom: 8px;
}

.weekly-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.weekly-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
}

.weekly-archive {
    text-align: center;
    margin-bottom: 40px;
}

.archive-link {
    display: inline-block;
    padding: 12px 24px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.archive-link:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.weekly-share {
    text-align: center;
    margin-bottom: 40px;
}

.weekly-share h4 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.weekly-subscribe {
    text-align: center;
    margin-bottom: 40px;
}

.subscribe-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border: 2px dashed #ddd;
}

.subscribe-box h4 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.subscribe-box p {
    color: #666;
    margin-bottom: 20px;
}

.subscribe-button {
    display: inline-block;
    padding: 12px 24px;
    background: #e67e22;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.subscribe-button:hover {
    background: #d35400;
    transform: translateY(-2px);
}

.weekly-stats {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.weekly-stats h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.stat-number {
    display: block;
    font-size: 2em;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 5px;
}

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

.recent-weeklies {
    margin-top: 40px;
}

.recent-weeklies h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

.recent-weeklies-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-weekly {
    display: flex;
    gap: 20px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.recent-weekly:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.recent-weekly-content {
    flex: 1;
}

.recent-weekly h4 {
    margin-bottom: 10px;
}

.recent-weekly h4 a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
}

.recent-weekly h4 a:hover {
    color: #3498db;
}

.recent-weekly-date {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.recent-weekly-excerpt {
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
}

.recent-weekly-cover {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    overflow: hidden;
    border-radius: 6px;
}

.recent-weekly-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
    .post,
    .weekly {
        padding: 20px 15px;
    }
    
    .post-title,
    .weekly-title {
        font-size: 2em;
    }
    
    .post-navigation,
    .weekly-navigation {
        flex-direction: column;
    }
    
    .nav-previous,
    .nav-next {
        max-width: 100%;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .recent-weekly {
        flex-direction: column;
    }
    
    .recent-weekly-cover {
        width: 100%;
        height: 120px;
    }
}

/* Loading state */
.loading {
    text-align: center;
    padding: 40px;
    color: #999;
}

/* Error state */
.error {
    text-align: center;
    padding: 40px;
    color: #e74c3c;
}

/* Article page */
.article {
    max-width: 700px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 40px;
    text-align: center;
}

.article-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-meta {
    color: #999;
    font-size: 14px;
}

.article-content {
    line-height: 1.8;
    color: #333;
}

.article-content h2 {
    font-size: 22px;
    margin: 40px 0 20px;
    font-weight: 500;
}

.article-content h3 {
    font-size: 18px;
    margin: 30px 0 15px;
    font-weight: 500;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

.article-content blockquote {
    border-left: 4px solid #ddd;
    padding-left: 20px;
    margin: 30px 0;
    color: #666;
    font-style: italic;
}

.article-content code {
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 14px;
}

.article-content pre {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 30px 0;
}

.article-content pre code {
    background: none;
    padding: 0;
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: #666;
    font-size: 14px;
}

.back-link:hover {
    color: #000;
}