/* 模板1样式文件 */
body {
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    background: #f5f5f5;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

/* 基础布局 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

/* 头部样式 */
.header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    float: left;
}

.logo img {
    height: 50px;
    max-width: 200px;
}

.nav {
    float: right;
    margin-top: 15px;
}

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

.nav li {
    display: inline-block;
    margin-right: 30px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.nav a:hover {
    background-color: #007cba;
    color: #fff;
}

/* 面包屑导航 */
.breadcrumb {
    background: #f0f0f0;
    padding: 10px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

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

.breadcrumb a:hover {
    color: #007cba;
}

/* 内容区域 */
.content-wrap {
    max-width: 1160px;
    margin: 0 auto;
}

.article {
    float: left;
    width: 840px;
}

.sidebar {
    width: 300px;
    float: right;
    margin-left: 20px;
}

/* 文章样式 */
.post {
    background: #fff;
    margin: 10px 0;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
}

.post h1, .post h2 {
    margin: 0 0 15px 0;
    color: #333;
    line-height: 1.4;
}

.post h1 {
    font-size: 24px;
}

.post h2 {
    font-size: 18px;
}

.post h2 a {
    color: #333;
    text-decoration: none;
}

.post h2 a:hover {
    color: #007cba;
}

.post-text {
    color: #666;
    line-height: 1.6;
    margin: 10px 0;
}

.post-meta {
    color: #999;
    font-size: 12px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

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

.post-content p {
    margin: 15px 0;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    border-radius: 3px;
}

/* 小工具样式 */
.widget {
    background: #fff;
    margin: 20px 0;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
}

.widget h3 {
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #007cba;
    color: #333;
    font-size: 16px;
}

/* 友情链接 */
.friend-link {
    margin: 5px 0;
    padding: 5px 0;
    border-bottom: 1px dotted #ddd;
}

.friend-link:last-child {
    border-bottom: none;
}

.friend-link a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
}

.friend-link a:hover {
    color: #007cba;
}

/* 相关文章 */
.related-post {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #f0f0f0;
    border-radius: 3px;
}

.related-post h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
}

.related-post h4 a {
    color: #333;
    text-decoration: none;
}

.related-post h4 a:hover {
    color: #007cba;
}

/* 分页 */
.pagination {
    text-align: center;
    margin: 30px 0;
}

.pagination a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 2px;
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
}

.pagination a:hover {
    background: #007cba;
    color: #fff;
    border-color: #007cba;
}

.pagination .current {
    background: #007cba;
    color: #fff;
    border-color: #007cba;
}

/* 页脚 */
.footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

.footer p {
    margin: 5px 0;
}

/* Font Awesome 图标 */
.fa {
    margin-right: 5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .article {
        width: 100%;
        float: none;
    }
    
    .sidebar {
        width: 100%;
        float: none;
        margin-left: 0;
        margin-top: 20px;
    }
    
    .nav {
        float: none;
        margin-top: 10px;
    }
    
    .nav li {
        display: block;
        margin: 5px 0;
    }
    
    .logo {
        float: none;
        text-align: center;
    }
}

/* 小旋风专属干扰样式 */
.spider-defense {
    display: none;
    visibility: hidden;
}

.seo-enhanced {
    opacity: 0.01;
    font-size: 1px;
}
