.Page-Banner{
    height: 450px;
    position: relative;
    overflow: hidden;
}
.Page-Banner img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.Page-Banner .container-md{
    height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    align-items: center;
}
.Page-Banner .container-md h1{
    font-family: impact;
    color: #fff;
    font-size: 60px;
    position: relative;
    text-transform: uppercase; 
}
.Page-Banner .container-md h1::before {
    content: "";
    display: block;
    width: 200px;
    height: 5px;
    /* 红蓝各半的渐变背景 */
    background: linear-gradient(to right, #004C90 50%, #D71619 50%);
    background-size: 300% 100%; /* 背景宽度适中，为两边留出空间 */
    background-position: 40% 0; /* 初始位置稍偏左 */
    position: absolute;
    bottom: -15px;
    /* 保持钟摆物理特性的缓动函数 */
    animation: pendulum 3s cubic-bezier(0.6, 0, 0.64, 1) infinite alternate;
}

/* 钟摆摆动动画 - 不走到头 */
@keyframes pendulum {
    0% {
        background-position: 40% 0; /* 左侧位置（保留距离） */
    }
    100% {
        background-position: 60% 0; /* 右侧位置（保留距离） */
    }
}


.Page-Banner .container-md ul {
    display: flex;
    margin: 0;
    padding: 0;
    color: white;
    margin-top: 30px;
}
.Page-Banner .container-md ul a{
    text-decoration: none;
    color: white;
} 
.Page-Banner .container-md ul a span{
    transition: 0.4s;
}
.Page-Banner .container-md ul a:hover span{
    color: #004C90;
} 

@media screen and (max-width:991px) {
    .Page-Banner .container-md h1{
        font-size: 50px;
    }
    .Page-Banner{
        height: 400px;
    }
}