/* 轮播图区域 */
.banner {
    width: 100%;
    height: 500px;
    background: url("/image/backg.png") repeat;
}

/* .banner-text {
    text-align: center;
}

.banner-text h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.banner-text p {
    font-size: 18px;
} */

/* 主要内容区域 */
.container {
    width: 90%;
    margin: 40px auto;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    color: #2a579a;
    font-size: 28px;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 100px;
    height: 3px;
    background-color: #2a579a;
    margin: 10px auto;
}

/* 学校简介 */
.about-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
}

.about-img {
    flex: 1;
    min-width: 300px;
}

.about-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.about-text {
    flex: 2;
    min-width: 300px;
    line-height: 1.6;
    font-size: 16px;
    color: #333;
}

.about-text p {
    margin-bottom: 15px;
}

/* 新闻公告 */
.news {
    margin-bottom: 60px;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.news-item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-item, .news-item:link, .news-item:visited{
    text-decoration:none;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-item h3 {
    color: #2a579a;
    margin-bottom: 10px;
    font-size: 18px;
}

.news-item .date {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 校园风采 */
.gallery {
    margin-bottom: 60px;
}

.gallery-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* 联系方式 */
.contact {
    background-color: #f8f9fa;
    padding: 40px 0;
    border-radius: 8px;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    line-height: 2;
    font-size: 16px;
    padding-left: 10px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
}

.contact-info-item img{
    height: 2em;
    width: auto;
    object-fit: contain;
}