/* 重置样式优先级，确保覆盖原有样式 */
.newsInfo3 {
    max-width: 1300px;
    margin: 0 auto;
    position: relative; /* 增加定位，提升层级优先级 */
}

.newsInfo3 * {
    box-sizing: border-box !important; /* 强制盒模型 */
}

@keyframes liner {
    0% { width: 10%; }
    30% { width: 20%; }
    60% { width: 60%; }
    100% { width: 100%; }
}

.newsInfo3Top {
    padding: 10px;
    text-align: center;
    margin-bottom: 1.6%;
    font-family: "Helvetica Neue", Helvetica, Arial, Tahoma, "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
}

.newsInfo3Top .title {
    font-size: 22px;
    color: #5457cd;
    line-height: 32px;
}

.newsInfo3Top .enTitle {
    font-size: 14px;
    color: rgb(216, 216, 216);
    line-height: 22px;
}

.newsInfo3List:after {
    content: "";
    height: 0;
    display: block;
    visibility: hidden;
    clear: both;
}

.newsInfo3List .newsInfo3Item {
    width: 31%;
    margin-right: 3%;
    float: left;
    text-decoration: none;
    margin-bottom: 2%;
    display: block !important; /* 强制块级显示 */
}

.newsInfo3List .newsInfo3Item:nth-child(3n) {
    margin-right: 0;
}

.newsInfo3Item .news-img {
    overflow: hidden;
    height: 238px;
}

.newsInfo3Item .news-img img {
    max-width: 100%;
    display: block;
    border: 0;
    width: 100%;
    height: 100%;
    transition: all 0.4s;
    object-fit: cover;
}

.newsInfo3Item .content {
    padding-top: 20px;
    font-family: "微软雅黑,Microsoft YaHei";
}

/* 基础标题样式 */
.newsInfo3Item .content .title {
    font-size: 16px;
    color: #333 !important; /* 强制基础颜色 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease; /* 增加颜色过渡 */
}

.newsInfo3Item .content .time {
    font-size: 12px;
    color: #666;
    margin: 10px 0;
    position: relative;
    margin-bottom: 30px;
}

/* 基础线条样式 */
.newsInfo3Item .content .time::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    border-bottom: 1px solid #ccc !important; /* 强制基础线条颜色 */
    margin-bottom: -10px;
    transition: all 0.1s cubic-bezier(.23, 1, .38, 1) 0.1s;
}

/* ========== 核心修复：强制 hover 样式优先级 ========== */
.newsInfo3Item:hover .content .title {
    color: #5457cd !important; /* 强制 hover 标题颜色 */
}

.newsInfo3Item:hover .content .time::before {
    border-bottom-color: #5457cd !important; /* 强制 hover 线条颜色 */
    background: linear-gradient(to right, #fff, #fff); /* 兼容现代浏览器 */
    animation: liner 0.6s linear 1 forwards !important; /* 强制动画生效 */
    -webkit-animation: liner 0.6s linear 1 forwards !important;
}

/* 图片缩放保持不变 */
.newsInfo3Item:hover .news-img img {
    transform: scale(1.2);
}

.newsInfo3Item .content .dec {
    font-size: 12px;
    color: #999;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}