/* 头部 */
.header {
    text-align: center;
    padding-bottom: 70px;
    background: url('../img/headerBg.png') no-repeat center center;
    background-size: 100% 100%;
}

.header .logo {
    display: inline-block;
    width: 330px;
    position: absolute;
    top: 30px;
    left: 100px;
}

.header .titleImg {
    animation: fadeIn 1.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        scale: 0;
    }

    to {
        opacity: 1;
        scale: 1;
    }
}


@media (max-width:900px) {
    .header {
        height: 300px;
        padding: 0 20px 70px
    }

    .header .logo {
        left: 50px;
        top: -20px;
    }

    .header img:first-child {
        margin-top: 50px;
    }

    .ttxw h1>img {
        display: none;
    }
}

.header h5 {
    font-size: 24px;
    line-height: 1.8;
    color: #6C968B;
}

@media screen and (min-width:550px) and (max-width:900px){
    .header h5 {
        margin-top: 5px;
        font-size:20px;
    }
}

/* 导航栏 */
.navBar {
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
    background-color: #307E67;
}

.navBar ul {
    max-width: 1200px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 0 auto;
}

.navBar ul li {
    flex-basis: 25%;
}

@media (max-width: 600px) {
    .navBar ul {
        justify-content: flex-start;
    }

    .navBar ul li {
        flex-basis: 33.33%;
    }

    .header h5 {
        font-size: 20px;
    }
}

.navBar ul li a {
    display: block;
    font-size: 18px;
    text-align: center;
    font-weight: bold;
    color: #fff;
    border-right: 1px solid #fff;
}

.navBar ul li:last-child a {
    border-right: none;
}

.mainContainer {
    background: url('../img/containerBg.png') no-repeat;
    background-size: 100% 100%;
}

/* 头条新闻 */
.ttxw h1 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ttxw h1 a {
    color: #3C8578;
}

.ttxw section {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.8;
    margin-top: 10px;
    text-indent: 2em;
}

/* 图片新闻 */
.tpxw {
    width: 80%;
    height: 650px;
}

@media (max-width:1000px){
    .tpxw {
        width: 100%;
    }
}

@media (max-width:770px){
    .tpxw {
        height: 450px;
    }
}

@media (max-width:590px){
    .tpxw {
        height: 350px;
    }
}

#tpxw .swiper-slide{
    height: 100%;
}

#tpxw .swiper-slide a{
    display: block;
    width: 100%;
    height: 100%;
}

#tpxw .swiper-slide a img {
    width: 100%;
    height: 100%;
    transition: 1s linear 2s;
    transform: scale(1.1, 1.1);
}

#tpxw .swiper-slide-active a img,
#tpxw .swiper-slide-duplicate-active a img {
    transition: 6s linear;
    transform: scale(1, 1);
}

.swiper-button-next,
.swiper-button-prev {
    background-size: 35px 55px;
}

.swiper-button-prev {
    background-image: url('../img/leftArrow.png');
}

.swiper-button-next {
    background-image: url('../img/rightArrow.png');
}

/* 新闻动态活动安排 */
.titles {
    text-align: center;
}

.xwdt-list {
    height: 246px;
    overflow:hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    transition: scrollbar-color 0.3s ease;
    background: url('../img/xwdtBg.png') no-repeat left top;
    border: 1px solid transparent;
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(120, 200, 120, 0.2)
}

.xwdt-list::-webkit-scrollbar {
    width: 8px;
    height: 8px; 
}

.xwdt-list::-webkit-scrollbar-track {
    background: transparent; 
    border-radius: 4px; 
}

.xwdt-list::-webkit-scrollbar-thumb {
    background: transparent; 
    border-radius: 4px; 
    transition: background-color 0.3s ease; 
}

.xwdt-list:hover::-webkit-scrollbar-thumb {
    background-color: rgba(156, 163, 175, 0.7); 
}

.xwdt-list::-webkit-scrollbar-thumb:hover {
    background-color: rgba(107, 114, 128, 0.9);
}

.xwdt-list:hover {
    scrollbar-color: rgba(156, 163, 175, 0.7) transparent;
}

.xwdt-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
}

.xwdt-list-item .date {
    flex-basis: 20%;
    text-align: center;
    border-right: 1px solid #ccc;
}

.xwdt-list-item .date b {
    font-size: 24px;
    color: #307E67;
}

.xwdt-list-item .act {
    flex-basis: 80%;
}

.hdap-list {
    margin-top: 23px;
    background: url('../img/xwdtBg.png') no-repeat center top;
    border: 1px solid transparent;
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(120, 200, 120, 0.2);
}

.hdap-list img {
    width: 100%;
}

/* 精彩视频 */
.jcsp {
    display: none;
}

.swiper-slide .tit {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9;
    padding: 12px 90px 12px 20px;
    line-height: 24px;
    text-align: left;
    background: rgba(0, 0, 0, 0.5);
}

.swiper-slide .tit a {
    color: #fff;
}

.jcsp .swiper-slide {
    max-width: 650px;
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 300ms;
    transform: scale(0.8);
    background: #fff;
    box-shadow: 0px 10px 20px rgba(107, 137, 191, 0.25);
}

.jcsp .swiper-slide-active,
.jcsp .swiper-slide-duplicate-active {
    transform: scale(1);
}