/*通用样式*/
body {
    margin: 0;
}

.header {
    background-image: linear-gradient(170deg, #1b4c25, #2e8705);
    height: 150px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.header .header_bg {
    align-items: center;
    display: flex;
}

/*logo*/
.logo {
    align-items: center;
    display: flex;
    height: 112px;
    width: 460px;
    justify-content: space-around;
}

.logo img {
    width: 90%;
    height: 90%;
}

/*new_logo*/
.new_logo {
    display: flex;
    align-items: center;
    gap: 15px;

}

.new_logo img {
    display: inline-block;
    width: 90px;
    height: 90px;
}

.new_logo div {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #fff;
}

.new_logo div h1 {
    margin: 0;
    color: white;
}

.new_logo div h2 {
    margin: 0;
    color: white;
}

.new_logo .line {
    border: 1px solid #fff;
    height: 50px;
}

/*toptext*/
.toptext {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 497px;
    height: 84px;
}

.toptext img {
    width: 90%;
    height: 90%;
}

/*导航栏*/
.nav {
    width: 100%;
    height: 60px;
    /*设置下方阴影*/
    box-shadow: 0 3px 3px #e0e0e0;
}

.nav ul {
    margin: 0;
    display: flex;
    height: 60px;
    align-items: center;
    justify-content: space-around;
    padding: 0;
}

.nav li {
    color: #000;
    display: inline-block;
    list-style-type: none;
    line-height: 60px;
    height: 60px;
    width: 140px;
    text-align: center;
    transition: all 0.3s;
}

.nav li a {
    color: #000;
}

.nav li:hover {
    background-color: #2e8705;
}

.nav li:hover span {
    color: #fff;
}

/*底部*/
.footer {
    background-image: linear-gradient(170deg, #1b4c25, #2e8705);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.footer span,
.footer a {
    margin: 5px 0;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
}

/*导航栏模板样式修改*/
.wp_nav .sub-nav .nav-item a {
    font-size: 15px;
    text-align: center;
}

.wp_nav .sub-nav .nav-item a span.item-name {
    color: #000;
}

.wp_nav .sub-nav {
    opacity: 0;
    transition: all 0.3s;
}

.nav li:hover>.sub-nav {
    opacity: 1;
}

.wp_nav .nav-item a span.item-name {
    font-size: 15px;
}


/*main主体*/
.main {
    width: 96%;
    margin: 0 auto;
    margin-top: 35px;
}

/*上*/
.top {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/*图片*/
.top .img {
    width: 40%;
    height: 65vh;
    position: relative;
    /* 为绝对定位的图片提供参考 */
    overflow: hidden;
    /* 防止图片溢出容器 */
    border-radius: 8px;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

.top .img img {
    position: absolute;
    /* 脱离文档流，基于.img定位 */
    top: 0;
    /* 顶部对齐 */
    left: 0;
    /* 左侧对齐 */
    width: 100%;
    /* 宽度占满容器 */
    height: 100%;
    /* 高度占满容器 */
    object-fit: cover;
    /* 保持比例填充容器，可能裁剪 */
    object-position: center;
    /* 居中裁剪（默认值） */
}

/*文字*/
.top-text {
    width: 55%;
    padding: 20px;
    height: 60vh;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

/*下*/
.bottom {
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
}

.bottom .bottom-content {
    flex-grow: 1;
    height: 50vh;
    background-color: aquamarine;
}

.bottom .card {
    width: 30%;
    height: 50vh;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: relative;
}

.bottom-line {
    border-radius: 8px;
    margin-top: 5px;
    /* 向上移动10px，正值向下，负值向上 */
    left: 0;
    /* 左对齐 */
    border: 1px solid #2e8705;
    width: 60px;
    /* 横线长度 */
    height: 3px;
    /* 横线高度 */
    background-color: #2e8705;
}

.wp_article_list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    /* 内容溢出时自动换行 */
    margin-top: 20px;
    gap: 15px;
}

.wp_article_list .list_item {
    flex: 1 0 100%;
    /*清除下划线*/
    border: 0;
}

.wp_article_list .list_item a {
    color: gray;
    /* 链接颜色 */
    text-decoration: none;
    /* 移除下划线 */
    font-size: 18px;
}

.wp_article_list .list_item a:hover {
    color: #2e8705;
    /* 悬停时的颜色 */
    text-decoration: underline;
    /* 悬停时显示下划线 */
}

.wp_article_list .list_item .article_index {
    display: none;
    /* 隐藏索引 */
}

.dtjt8_div_img {
    width: 100% !important;
    height: 100% !important;
}

.dtjt8_div_img .number {
    display: none;
}

.friendship {
    width: 70px;
    height: 70px;
    position: absolute;
    right: 20px;
    bottom: 20px;
}

.qrcode {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.more {
    height: 15px;
}

.more-link .moretext img {
    height: 100%;
}