﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 顶部推荐内容样式 */
.info-top-recommend {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-recommend-item {
    flex: 1;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .info-recommend-item:hover {
        transform: translateY(-5px);
    }

.info-recommend-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.info-recommend-content {
    padding: 15px;
}

.info-recommend-title a {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

    .info-recommend-title a:hover {
        color: #007bff;
    }

.info-recommend-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 14px;
}

/* 主要内容区域 */
.info-main-content {
    display: flex;
    gap: 20px;
}

/* 新闻列表样式 */
.info-news-list {
    flex: 2;
}

.info-news-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    display: flex;
    transition: transform 0.3s ease;
}

    .info-news-item:hover {
        transform: translateY(-3px);
    }

.info-news-img {
    width: 230px;
    height: 146px;
    object-fit: cover;
    margin: 13px 5px;
}

.info-news-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.info-news-title {
    margin-bottom: 15px;
}

    .info-news-title a {
        font-size: 20px;
        font-weight: bold;
        color: #333;
        text-decoration: none;
    }

        .info-news-title a:hover {
            color: #007bff;
        }

.info-news-summary {
    flex: 1;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 200px;
}

.info-news-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 14px;
}

/* 右侧推荐内容 */
.info-sidebar {
    flex: 1;
}

.info-sidebar-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

.info-sidebar-item {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

    .info-sidebar-item a {
        color: #333;
        text-decoration: none;
        font-weight: bold;
        display: block;
        margin-bottom: 8px;
    }

        .info-sidebar-item a:hover {
            color: #007bff;
        }

.info-sidebar-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 12px;
}

/* 分页样式 */
.info-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.info-page-item {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .info-page-item:hover,
    .info-page-item.info-active {
        background: #007bff;
        color: white;
    }

/* 响应式设计 */
@@media (max-width: 768px) {
    .info-top-recommend {
        flex-direction: column;
    }

    .info-main-content {
        flex-direction: column;
    }

    .info-news-item {
        flex-direction: column;
    }

    .info-news-img {
        width: 100%;
        height: 200px;
    }
}
