.wrapper{
    width:1440px;
    margin:0 auto;
}
header{
    width:1520px;
    height:188px;
    background: linear-gradient(rgba(163, 49, 49, .8),rgba(212, 106, 105, .8),rgba(219, 162, 158, .8));
    position: absolute;
    top:0;
    z-index: 999;
    left: 50%;
    transform: translateX(-50%);
}
header .top{
    height:108px;
    display:flex;
    align-items: center;
    justify-content: space-between;
   margin:15px 0;
}

.leftImg{
    display:flex;
    align-items: center;
}
.leftImg .logo{
    width: 103px;
    height: 103px;
}
.imgGroup{
    width:500px;
    height: 103px;
    margin-left: 20px;
    margin-top: 20px;
}

.imgGroup .word:nth-child(3){
    width:500px;
    height: 25px;
    margin-top: 10px;
}
/* 导航条 */
.nav{
    width: 100%;
    display:flex;
    align-items: center;
    justify-content: center;
}
.nav-item{
    position: relative;
}
.nav .nav-item a{
    font-weight: bold;
    font-size: 25px;
    color: #FFFFFF;
}
.sub-item{
    width:120px;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease 0s;
    background-color: #fff;
}
.nav-item:hover .sub-item{
    opacity: 1;
    visibility: visible;
}
.sub-list{
    padding-left: 0;
    list-style: none;
}
.nav-item .sub-item a{
    display: block;
    padding: 6px 10px;
    text-align: center;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    border-bottom: 1px solid #ccc;
}
.nav-item .sub-item a:hover{
    color: #A33131;
}
/* 轮播图部分 */
.banner {
    position: relative;
    width: 1520px;
    overflow: hidden;
    margin: 0 auto;
}

.banner-list {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.banner-item {
    width: 1520px;
    height: 807px;
}

.banner-item img {
    width: 1520px;
    height: 807px;
    object-fit: cover;
}

/* 左右箭头 */
.banner-arrow {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(0,0,0,0.3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    user-select: none;
}
.banner-arrow:hover {
    background: rgba(0,0,0,0.5);
    transform: translateY(-50%) scale(1.1);
}
.arrow-left {
    left: 30px;
}
.arrow-right {
    right: 30px;
}

.banner-indicator {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator-dot.active {
    background: white;
    width: 36px;
    border-radius: 6px;
}

/* 标题栏通用样式 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.section-header .h2 {
    font-size: 36px;
    color: #c32e2e;
    font-weight: bold;
    height: 40px;
    line-height: 40px;
    display:flex;
}
.h2 img{
    width: 35px;
    height: 35px;
    margin-right: 10px;
}

.more {
    text-decoration: none;
    font-size: 18px;
    height: 30px;
    line-height: 30px;
}
.more img{
    width:25px;
    height: 25px;
}
.line{
    width: 100%;
    height: 5px;
    background-color: #DCDCDC;
    margin: 20px 0;
    position: relative;
}

/* 学院新闻 */
.xyxw{
    margin:60px 0;
}
.xyxw .news-content {
    display: flex;
    gap: 30px;
}

.xyxw .news-img {
    width: 40%;
    position:relative;
}
.xyxw .news-img img {
    width: 500px;
    height: 350px;
    display: block;
}
.xyxw .news-img p {
    width:500px;
    height:30px;
    line-height:30px;
    position:absolute;
    bottom:0;
    font-size: 14px;
    color: #fff;
    background-color:rgba(146, 138, 138, 0.7);
}
.xyxw .news-list {
    width: 60%;
    height: 350px;
    display:flex;
    flex-direction:column;
    justify-content: space-between;
}
.xyxw .news-list li a{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.xyxw .news-list li a:hover{
    color:#A33131;
}
.xyxw .tag {
    display: inline-block;
    margin-right: 8px;
    font-size: 14px;
}

.xyxw .date {
    text-align: right;
    font-size: 14px;
    color: #A33131;
}
.xyxw .line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 14%;
    background-color: #c32e2e;
}

/* 通知公告 */
.tzgg{
    margin:60px 0;
}
.tzgg .h2{
    margin-left:45%;
}
.tzgg .notice-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 50px;
}
.tzgg .notice-list li {
    min-width: 400px;
}
.tzgg .notice-list li a:hover {
    color:#A33131;
}
.tzgg .notice-list li a{
    display:flex;
    align-items: center;
}

.tzgg .notice-list li a text{
    width:330px;
}
.tzgg .date-tag {
    width: 70px;
    height: 25px;
    line-height: 25px;
    display: inline-block;
    border-radius: 15px;
    color: #fff;
    margin-right: 8px;
    font-size: 12px;
    background-color: #c32e2e;
}
.tzgg .line::before {
    content: '';
    position: absolute;
    left: 45%;
    top: 0;
    height: 100%;
    width: 14%;
    background-color: #c32e2e;
}

/* 左部&右部 */
.left,.right{
   width:680px;
}
.group1,
.group2 {
    margin:60px 0;
}
.group1 .wrapper,
.group2 .wrapper {
    display:flex;
    justify-content: space-between;
}
.left .left-list,
.right .right-list {
    list-style: none;
}
.left .left-list li a,
.right .right-list li a{
    display: flex;
    align-items: center;
    text-align: left;
    margin-bottom: 16px;
}
.left .left-list li a:hover,
.right .right-list li a:hover {
    color:#A33131;
}
.left .date,
.right .date {
    font-size: 14px;
    color: #c32e2e;
}
.left .date:after,
.right .date:after {
    content: '|';
    margin: 0 10px;
    color: #c32e2e;
}
.group1 .line::before,
.group2 .line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 28%;
    background-color: #c32e2e;
}
/* 学术平台 */
.xspt {
    margin: 60px 0;
}

.xspt .wrapper {
    max-width: 1440px;
    overflow: hidden; 
    position: relative;
}

.xspt .notice-list {
    display: flex;
    animation: scrollLoop 15s linear infinite; /* 延长动画时间使滚动更平稳 */
    width: 200%;
}

.notice-list li {
    flex-shrink: 0;
    width: calc(100% / 8);
    margin:0 10px;
}

.notice-list img {
    width: 100%;
    height: auto;
    display: block;
}

/* 修正滚动距离，确保无缝循环 */
@keyframes scrollLoop {
    0% {
        transform: translateX(0);  /* 初始位置 */
    }
    100% {
        transform: translateX(-50%); /* 原代码-25%无法完成完整循环 */
    }
}

.xspt .wrapper:hover .notice-list {
    animation-play-state: paused;
}
.xspt .line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 14%;
    background-color: #c32e2e;
}
/* 底部版权 */
footer {
    height: 330px;
    width:1520px;
    padding: 40px 0;
    margin:0 auto;
    font-size: 14px;
    color: #fff;
    font-family: SimHei, SimHei;
    background: 
        linear-gradient(rgba(204, 20, 18, 0.5), rgba(204, 20, 18, 0.5)),
        url('../static/footer.png') no-repeat center / cover;
}

footer .wrapper {
    width: 1440px;
    display: flex;
    justify-content: space-around;
}

.footer-section h2 {
    margin-bottom:20px;
    text-align: left;
    font-size: 26px;
    font-weight: 400;
}

/* 联系我们 */
.footer-contact p {
    text-align: left;
    line-height: 1.8;
    margin-bottom: 6px;
}

.links-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 50px;
    row-gap: 20px;
}

.links-row  {
    list-style: none;
    text-align: left;
}


.links-row  li a {
    color: #fff;
    transition: color 0.3s;
}

.links-row  li a:hover {
    color: #ffd700;
}

/* 二维码 */
.footer-qrcode {
    text-align: center;
}

.footer-qrcode img {
    width: 220px; 
    margin-bottom: 10px;
}

.footer-qrcode p {
    font-size: 20px;
}