/* 轮播图样式 */
.banner {
    margin-bottom: 50px;
}

.slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slider img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slider img.active {
    opacity: 1;
}

/* 特色板块样式 */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 50px;
    margin-bottom: 50px;
}

.feature-item {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.feature-item h3 {
    color: #c41230;
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-item p {
    color: #666;
    font-size: 14px;
}

/* 新闻动态样式 */
.latest-news {
    padding: 0 50px;
    margin-bottom: 50px;
}

.latest-news h2 {
    text-align: center;
    color: #333;
    font-size: 28px;
    margin-bottom: 30px;
    position: relative;
}

.latest-news h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #c41230;
    margin: 10px auto;
}

.news-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.news-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
}

.news-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: #c41230;
    font-size: 14px;
    font-weight: bold;
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .news-container {
        grid-template-columns: 1fr;
    }

    .latest-news {
        padding: 0 20px;
    }

    .slider {
        height: 300px;
    }
} 