/* 文章列表样式 */
.article-list {
    margin-bottom: 40px;
}

.article-item {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.article-item:hover {
    transform: translateY(-5px);
}

.article-img {
    flex: 0 0 300px;
    overflow: hidden;
}

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

.article-info {
    flex: 1;
    padding: 20px;
}

.article-info h2 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.article-info h2 a {
    color: #333;
    transition: color 0.3s;
}

.article-info h2 a:hover {
    color: #009688;
}

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

.article-meta span {
    margin-right: 15px;
}

.article-meta i {
    margin-right: 5px;
}

.article-desc {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    padding: 8px 20px;
    background-color: #009688;
    color: #fff;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.read-more:hover {
    background-color: #006d6d;
}

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

.pagination a {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
}

.pagination a.active {
    background-color: #009688;
    color: #fff;
    border-color: #009688;
}

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

/* 文章详情样式 */
.article-detail {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.article-detail h1 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

.article-meta {
    margin-bottom: 20px;
    color: #999;
    text-align: center;
    font-size: 14px;
}

.article-meta span {
    margin: 0 15px;
}

.article-meta i {
    margin-right: 5px;
}

.article-content {
    margin-bottom: 30px;
    line-height: 1.8;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}

.article-tags {
    text-align: center;
}

.article-tags span {
    margin-right: 10px;
    color: #666;
}

.article-tags a {
    display: inline-block;
    padding: 5px 15px;
    margin: 0 5px;
    background-color: #f5f5f5;
    border-radius: 20px;
    color: #666;
    transition: all 0.3s;
}

.article-tags a:hover {
    background-color: #009688;
    color: #fff;
}

/* 相关文章样式 */
.related-articles {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.related-articles h2 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #009688;
}

.related-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.related-item {
    width: 48%;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.related-item:hover {
    transform: translateY(-5px);
}

.related-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-item h3 {
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-item a {
    color: #333;
    transition: color 0.3s;
}

.related-item a:hover {
    color: #009688;
}
