/* 轮播图样式 */
.banner {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slider img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    flex-shrink: 0;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dots span.active {
    background-color: #fff;
}

/* 精选内容样式 */
.featured {
    margin-bottom: 40px;
}

.featured h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid #1661AB;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.featured-grid article {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.featured-grid article:hover {
    transform: translateY(-5px);
}

.featured-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.featured-grid h3 {
    padding: 15px;
    font-size: 18px;
    color: #1661AB;
}

.featured-grid p {
    padding: 0 15px 15px;
    color: #666;
}

/* 最新动态样式 */
.news {
    margin-bottom: 40px;
}

.news h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid #1661AB;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-grid article {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
}

.news-grid img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    font-size: 18px;
    color: #1661AB;
    margin-bottom: 10px;
}

.news-content p {
    color: #666;
    margin-bottom: 15px;
    flex: 1;
}

.read-more {
    align-self: flex-start;
    padding: 8px 15px;
    background-color: #1661AB;
    color: #fff;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.read-more:hover {
    background-color: #114B7D;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .slider img {
        height: 300px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-grid article {
        flex-direction: column;
    }

    .news-grid img {
        width: 100%;
    }
} 