/* 新增样式 */

* {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    box-sizing: content-box;
}

.headerBg {
    width: 100%;
    height: 550px;
    overflow: hidden;
    position: relative;
}

.headerImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modelName {
    width: 320px;
    height: 182px;
    background: #a4201cbf;
    position: absolute;
    top: 90px;
    left: 214px;
    color: #ffffff;
    font-family: "Microsoft YaHei";
    font-size: 38px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    line-height: 182px;
    text-align: center;
}

.contentParent {
    display: flex;
    width: 100%;
    margin: 20px auto;
    max-width: 1200px;
}

.leftNav {
    width: 260px;
    background-color: #fff;
    /* border-right: 1px solid #e5e5e5; */
    padding: 20px 0;
    box-sizing: border-box;
}

.leftNav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
}

.leftNav li {
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    height: 40px;
    line-height: 40px;
    /* text-align: center; */
    color: #9C2421;
    border-bottom: 1px solid #e5e5e5;
}

.leftNav li:hover {
    background-color: #f5f5f5;
    color: #d62a2a;
}

/* 选中状态样式 */
.leftNav li.active, .listNavfirst{
    color: #9c2421;
    font-family: "Microsoft YaHei";
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

/* 未选中状态样式 */
.leftNav li:not(.active) {
    color: rgba(156, 36, 33, 0.5);
    border-bottom: 1px solid rgba(156, 36, 33, 0.5);
    font-size: 20px;
}
.news-content {
    display: none;
}
.news-content.active {
    display: block;
}

.rightConent {
    flex: 1;
    padding: 20px;
    background-color: #fff;
    margin-left: 44px
}

.newsItem {
    display: flex;
    margin-bottom: 13.33px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 13.33px;
    position: relative;
    justify-content: space-between;
    flex-wrap: wrap;

}
.newsItem:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.newsItem a {
    display: flex;
    width: 100%;
    text-decoration: none;
    color: inherit;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
     align-items: center;
}

.newsItem a .newsImg {
    width: 300px;
    height: 184px;
    object-fit: cover;
    position: relative;
}

.newsItem a .newsContent {
    flex: 1;
    
    padding: 40px;
}

/* 修改：hover 效果绑定到 a 标签 */
.newsItem a:hover {
    background: #A4201C;
    font-size: 16px;
    color: #FFFFFF;
}

.newsItem a:hover .newsTitle,
.newsItem a:hover .newsDesc,
.newsItem a:hover .newsDate span,
.newsItem a:hover .newsDate small {
    color: #ffffff;
}

.newsItem a:hover .readMore {
    background-color: #ffffff;
    color: #A4201C;
}

.newsItem a .newsTitle {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.newsItem a .newsDesc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.newsItem a .newsDate {
    width: 60px;
    height: 60px;
    position: absolute;
    bottom: 20px;
    left: -24px;
    background-color: #d62a2a;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 1;
}
.newsIcon{
    width: 60px;
    height: 60px;
    margin-right: 40px;
}
.icon-default {
    width: 100%;
    height: 100%;
    display: block;
}

.icon-hover {
    width: 100%;
    height: 100%;
    display: none;
    /* position: absolute;
    top: 0;
    left: 0; */
}

/* 鼠标悬停时：隐藏默认图标，显示悬停图标 */
.newsItem a:hover .icon-default {
    display: none;
}

.newsItem a:hover .icon-hover {
    display: block;
}

.notice {
    width: 100%;
    height: 581px;
    background-image: url('https://zzyyzy.dahe.cn/file/4113000050/images/newsBg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 60px;
}

/* 通知公告区域样式 */
.notice-tabs {
    display: flex;
    justify-content: center;
    padding: 100px 0 80px 0;
    gap: 30px;
}

.notice-tabs .tab {
    font-size: 32px;
    font-family: "Microsoft YaHei";
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    color: rgba(156, 36, 33, 0.5);
    cursor: pointer;
    transition: color 0.3s ease;
}

.notice-tabs .tab.active {
    color: #d62a2a;
    /* border-bottom: 2px solid #d62a2a; */
    font-size: 32px;
    font-family: "Microsoft YaHei";
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.tab-content {
    display: none;
    width: 100%;
}

.tab-content.active {
    display: flex;
}

/* Tab 点击效果 */
.notice-tabs .tab {
    cursor: pointer;
    user-select: none;
}

.notice-list {
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;

}

.notice-item {
    width: 310px;
    height: 320px;
    box-sizing: border-box;
    text-align: left;
    font-size: 12px;
    line-height: 1.4;
    border: 2px solid #A4201C;
    background-color: #FFFFFF;
    color: #000000;
    padding: 20px 30px;
}

.notice-item:hover {
    width: 310px;
    height: 320px;
    box-sizing: border-box;
    text-align: left;
    font-size: 12px;
    line-height: 1.4;
    border: 2px solid #A4201C;
    /* background-color: #A4201C; */
    background-image: url('https://zzyyzy.dahe.cn/file/4113000050/images/noticeBg.png');
    color: white;
    /* padding: 15px; */
}

.topLine {
    width: 30px;
    height: 3px;
    background: #A4201C;
    margin: 34px 0 12px 0;
}

.dateTitle {
    color: #000000;
    font-family: "Microsoft YaHei";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;

}

.textCenter {
    color: #000000;
    font-family: "Microsoft YaHei";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    margin: 30px 0;
    height: 100px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.textUser {
    color: #4d4d4d;
    font-family: "Microsoft YaHei";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
}

.textUser img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.textUser .img-hover {
    display: none;
}

.notice-item:hover .textUser .img-default {
    display: none;
}

.notice-item:hover .textUser .img-hover {
    display: inline-block;
}

.notice-item:hover .topLine {
    background: #FFFFFF;
}

.notice-item:hover .dateTitle {
    color: #FFFFFF;
}

.notice-item:hover .textCenter {
    color: #FFFFFF;
    font-style: normal;
    font-weight: 400;
}

.notice-item:hover .textUser {
    color: #FFFFFF;
}

/* 热门新闻模块样式 */
.hot-news {
    max-width: 1400px;
    margin-top: 40px;
    padding: 20px;
    background-color: #fff;
    box-sizing: border-box;
    margin: 0 auto;
    margin-bottom: 160px;
}

.hot-news-title {
    text-align: center;
    margin-bottom: 20px;
}

.hot-news-title p {
    color: #9C2421;
    font-family: "Microsoft YaHei";
    font-size: 32px;
    font-weight: bold;
    line-height: normal;
}

.hot-news-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.hot-news-item {
    width: 400px;
    /* padding: 15px; */
    border-top: 1px solid #e5e5e5;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hot-news-item:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

.news-date {
    display: flex;
    align-items: center;
    margin: 20px 0 8px 0;
}

.news-date span {
    font-size: 14px;
    color: #9C2421;
    margin-left: 5px;
}

.news-title {
    font-size: 16px;
    color: #333;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* 面包屑导航 */
.crumbs {
    width: 100%;
    max-width: 1200px;  /* 与 contentParent 保持一致 */
    margin: 0 auto;     /* 水平居中 */
    padding: 30px 0 0 0;    /* 上下内边距 */
    box-sizing: border-box;
}

.crumbs a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
}

.crumbs a:hover {
    color: #A4201C;
}

.crumbs span {
    color: #999;
    margin: 0 10px;
}

.moreBtn {
    text-align: right;
    padding: 10px 20px;
    margin-bottom: 13.33px;
}

.moreBtn a {
    color: #9C2421;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.moreBtn a:hover {
    color: #d62a2a;
    padding-right: 10px;
}