/* Typecho 默认主题 - 西西评论工作室风格 */
@charset "utf-8";

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.8;
}

#header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#header .site-name a {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
}

#header .description {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
}

#nav-menu {
    margin-top: 20px;
}

#nav-menu a {
    color: rgba(255,255,255,0.9);
    padding: 8px 16px;
    margin-right: 8px;
    border-radius: 4px;
    transition: all 0.3s;
}

#nav-menu a:hover, #nav-menu a.current {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.site-search {
    margin-top: 10px;
}

.site-search .text {
    padding: 8px 12px;
    border: none;
    border-radius: 4px 0 0 4px;
    width: 180px;
}

.site-search .submit {
    background: #ff6b6b;
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.post {
    background: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.post-title {
    margin: 0 0 15px 0;
    font-size: 22px;
}

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

.post-title a:hover {
    color: #667eea;
}

.post-meta {
    color: #999;
    font-size: 13px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.post-meta li {
    display: inline;
    margin-right: 15px;
}

.post-content {
    font-size: 15px;
    line-height: 1.9;
}

.article-excerpt {
    border-left: 4px solid #667eea;
    background: #f8f9fa;
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 0 4px 4px 0;
    color: #555;
    min-height: 80px;
}

.article-excerpt p {
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-opinion {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    padding: 12px 18px;
    border-radius: 6px;
    margin: 15px 0;
    font-size: 14px;
}

.read-more {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    margin-top: 10px;
}

.read-more:hover {
    text-decoration: underline;
}

#secondary .widget {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.widget-title {
    font-size: 16px;
    color: #333;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
    font-weight: 600;
}

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

.widget-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.widget-list li:last-child {
    border-bottom: none;
}

.widget-list a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.widget-list a:hover {
    color: #667eea;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 15px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.tag-cloud a:hover {
    background: #667eea;
    color: #fff;
}

.page-navigator {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
}

.page-navigator a, .page-navigator span {
    padding: 8px 16px;
    background: #fff;
    border-radius: 4px;
    text-decoration: none;
    color: #666;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-navigator a:hover {
    background: #667eea;
    color: #fff;
}

.page-navigator .current {
    background: #667eea;
    color: #fff;
}

#footer {
    background: #2d3748;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .site-search {
        display: none;
    }
    
    .post-title {
        font-size: 18px;
    }
    
    #nav-menu a {
        display: inline-block;
        margin-bottom: 5px;
    }
}
