﻿body {
    margin-bottom: 310px;
     /*background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);*/
  /*  background: #e5e3dc;*/
}

.news-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    margin-top: 10vh;
}

.news-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

    .news-header::after {
        content: '';
        display: block;
        width: 60px;
        height: 3px;
        background: linear-gradient(to right, #3498db, #2ecc71);
        margin: 20px auto;
        border-radius: 3px;
    }

.news-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.news-subtitle {
    color: #7f8c8d;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.news-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 50px;
    height:auto;

}

    .news-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .news-item .row {
        margin: 0;
    }

.news-image-container {
    padding:0;
    background-color:#c6b39d;

}

.news-image {
    width: 100%;
    height: 100%;
    min-height: 100px;
    object-fit: cover;
    padding:10px;
}

.news-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.news-date {
    color: #95a5a6;
    font-size: 0.9rem;
    margin-top: 40px;
}

.news-headline {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

    .news-headline:hover {
        color: #3498db;
        text-decoration: none;
    }

.news-excerpt {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

    .news-more:hover {
        color: #2980b9;
        gap: 10px;
        text-decoration: none;
    }

    .news-more i {
        font-size: 0.8rem;
    }

@media (max-width: 768px) {
    .news-image {
        min-height: 200px;
    }
}



/* 整体容器样式 */
.xwzx-container-custom {
    width: 80%;
    margin: 0 auto;
    font-family: 微软雅黑;
    font-size: 15px;
    color: #434343;
    font-weight: normal;
    /*  text-align: center; */
}

    /* 新闻中心标题样式 */
    .xwzx-container-custom .xwzx-news-title {
        font-size: 30px;
        color: rgb(36, 36, 36);
        line-height: 180%;
        margin-top: 50px;
        margin-bottom: 20px;
        padding-bottom: 10px;
        background: linear-gradient(to right,transparent 20%, darkblue, lightgray, transparent 80%) no-repeat bottom center;
        background-size: 60% 2px; /* 宽度60%，高度2px*/
        text-align: center;
    }

    .xwzx-container-custom h4 {
        color: #003366; /* Dark blue color */
        text-align: center;
        width: 100%;
        /*  font-size: 2rem; /* Adjust as needed */ */ margin-bottom: 1rem;
    }

    .xwzx-container-custom .text-muted {
        text-align: center;
    }

    /* 文章内容样式 */
    .xwzx-container-custom .article-content {
        line-height: 1.6; /* 行间距 */
        font-size: 16px;
        margin-bottom: 20px;
        text-indent: 2em;
    }

    /* 文章图片样式 */
    .xwzx-container-custom .article-image {
        width: 30vw;
        height: auto;
        display: block; /* 确保图片是块级元素 */
        margin: 4vh auto;
    }


.text-line1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.text-line2 {
    font-size: 1.8rem;
    font-weight: 300;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    color: #26b6bd;
    /*color: #d4af37;*/
}
