/* 首页模块样式 */

/* 主容器 */
#wrapper {
    position: relative;
    min-height: 600px;
}

/* 顶部区域 */
#hmTop {
    margin-bottom: 20px;
}

/* 轮播图 */
#slider {
    margin-bottom: 20px;
}

/* 最新文章 */
#latest {
    margin-bottom: 20px;
}

/* 新闻模块 */
#news {
    margin-bottom: 20px;
}

/* 文章列表 */
.list {
    overflow: hidden;
}

.list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.list li:last-child {
    border-bottom: none;
}

/* 文章标题 */
.list h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: normal;
}

.list h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.list h3 a:hover {
    color: var(--spt-primary);
}

/* 文章摘要 */
.list p {
    margin: 0 0 10px;
    color: #666;
    line-height: 1.6;
}

/* 文章元信息 */
.list .meta {
    color: #999;
    font-size: 14px;
}

/* 侧边栏 */
#sidebar {
    margin-top: 20px;
}

/* 小工具 */
.widget {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.widget h3 {
    margin: 0 0 15px;
    font-size: 16px;
    font-weight: normal;
    color: #333;
    border-bottom: 2px solid var(--spt-primary);
    padding-bottom: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    #wrapper {
        padding: 0 15px;
    }
    
    .widget {
        padding: 15px;
    }
}