/* 首页Banner轮播样式优化 */
.banner {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: auto;
    margin-top: 0;
}
.content-bg{
    background-size: cover;
}
.swiper-button-next, .swiper-button-prev{
    color:var(--bs-link-color);
    display: inline-block;
    font-size: 2em;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: rgba(255, 255, 255, 0.25);
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
}
.swiper-button-next svg, .swiper-button-prev  svg{
    width: 30px;
    height: 30px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%)
}
.swiper-button-prev .swiper-navigation-icon{
    transform: rotate(180deg) translate(50%, 50%) !important;
}
.swiper-pagination-bullet-active{
    background: var(--bs-link-color);
    width: 25px;
    border-radius: 8px;

}
/* 添加动画关键帧 */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.banner-swiper {
    width: 100%;
    height: 100%;
}

.banner-slide-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
}

/* 联系我们按钮样式及动画 */
.lxwm-btn{
    position: absolute;
    z-index: 999;
    left: 13%;
    top: 70%;
    background-color: var(--bs-link-color);
    color: #ffffff;
    font-size: clamp(16px, 1vw, 22px);
    padding: 5px 41px 5px 20px;
    border-radius: 4px;
    text-align: center;
    
    /* 添加初始状态 */
    opacity: 0;
    animation: slideUp 0.6s ease-out 0.5s forwards;
}

.lxwm-btn a:hover{
  color: #FFFFFF;
}

.lxwm-btn a{
    position: relative;
}

.lxwm-btn:after{
    content: '';
    width: 20px;
    height: 13px;
    background: url(../images/right-jiantou.png) no-repeat;
    position: absolute;
    background-size: 100%;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
}

.section-header {
    margin: 0px 0 60px;
}

.section-title h2 {
    font-size: calc(1.325rem + .9vw);;
}

.section-desc {
    color: #4d4d4d;
}

/* 板块动画样式 */
.solution-section,
.news-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.solution-section.animate,
.news-section.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 解决方案区域样式 */
.solution-list {
    margin: 0 -15px;
}

.solution-item {
    padding: 0 15px;
    margin-bottom: 30px;
}

.solution-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.solution-icon-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.solution-icon-bg img {
    width: 100%;
    height: 100%;
}

.solution-card:hover .solution-icon-bg {
    transform: scale(1.05);
}

.solution-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    margin: 0;
    color: white;
    font-weight: bold;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    transform: translateY(0px);
    transition: transform 0.3s ease;
}

.solution-item h3 {
    font-size: clamp(16px, 1vw, 22px);
}

.solution-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    text-align: center;
    flex-grow: 1;
}

.news-home {
    border-radius: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 40px;
    overflow: hidden;
    min-height: 500px;
}

.news-home .index-news{
    flex: 0 0 32%; /* 不放大、不缩小、基础宽度30% */
    position: relative;
}

.news-home .index-news img{
    width: 100%;
    height: 100%; /* 关键：高度100%充满容器 */
    object-fit: cover; /* 保持比例并覆盖整个区域 */
}

.news-home  .news-right{
    flex: 1; /* 占据剩余所有空间 */
    padding: 30px 80px 0 30px;
}

.news-home .news-item .news-title {
    font-size: clamp(16px, 1vw, 28px);
}

.news-home .news-item .news-title a{
    transition: all 0.3s ease;
}
.el {
    --el-custom-size: 100%;
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
}
.news-item-img {
    position: relative;
    display: block;
    background-color: var(--background-secondary-color);
    max-height: 200px;
}
.news-item-img img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.news-item-info {
    position: relative;
    padding: 2.1875rem 1.25rem 1.25rem;
}
.news-item-date {
    position: absolute;
    left: 50%;
    top: -1.125rem;
    height: 2rem;
    line-height: 2rem;
    padding: 0 0.625rem;
    background-color: var(--accent-color);
    color: var(--background-color);
    font-size: 0.7125rem;
    border-radius: var(--el-border-radius-min);
    transform: translateX(-50%);
}

.item-heading, .item-heading-middle, .item-heading-large {
    font-family: var(--heading-font-family);
    font-size: 1.125rem;
    font-weight: var(--heading-font-weight);
}
.news-item-heading {
    margin-bottom: 0.625rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 1.125rem;
}
.item-heading a, .item-heading-middle a, .item-heading-large a {
    text-decoration: none;
    color: var(--text-primary);
}
.news-item-desc {
    color: var(--text-secondary);
}
.news-item-desc p {
    margin-bottom: 0;
}
.item {
    margin-bottom: var(--bs-gutter-x);
}
.section-footer {
    margin-top: 1rem;
}
.el::after {
    content: "";
    float: left;
    margin-top: 100%;
}
.item-style:hover {
    box-shadow: var(--el-box-shadow);
}
.btn.btn-with-icon .btn-icon-right {
    margin-left: 0.5rem;
}
.news-home .news-item {
    position: relative;
    background-color: var(--background-color);
    border-radius: var(--el-border-radius);
    overflow: hidden;
    color: var(--text-primary);
    height: 100%;
    transition: box-shadow 0.2s;
}
.news-home .news-list {
    background-color: rgb(221 221 221 / 20%);
    border-radius: 10px;
}

.news-home .news-list .news-item:last-child {
    border-bottom: none;
}

.news-home .more {
    text-align: right;
    margin-top: 10px
}

.news-home .more a {
    font-size: calc(12px + 0.23vw);
    color: var(--bs-link-color);
}

.news-home .news-title a:hover a {
    color: var(--bs-link-color);
}

.news-home .date{
    font-size:  clamp(12px, 1vw, 14px);
    color: #4d4d4d;
}
.btn:hover {
    color: var(--background-color);
    fill: var(--background-color);
}
.ripple {
    position: relative;
    overflow: hidden;
}

.btn:hover .el-ripple-circle {
    width: calc(var(--ripple-width) * 2.5);
    padding-top: calc(var(--ripple-width) * 2.5);
}
.btn .el-ripple-circle {
    content: "";
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--el-gradient-start);
    transform: translate(-50%, -50%);
    transition: width var(--ripple-time), padding-top var(--ripple-time);
    z-index: 0;
}
@media (max-width: 768px) {
    .lxwm-btn {
        font-size: 12px;
        padding: 2px 30px 2px 10px;
    }
    
    .lxwm-btn:after{
        width: 16px;
        height: 8px;
    }
    
    .section-header{
        margin: 30px 0 20px;
    }
    
    .solution-item{
        margin-bottom: 0;
        height: 150px;
    }
    

    
    .news-home .index-news{
        display: none;
    }
    
    .news-home .news-right{
        padding: 20px 10px 20px 20px;
    }
    
    .news-home{
        box-shadow: 10px 10px 25px 0px rgb(28 81 188 / 10%);
    }
    
    .news-home .news-item{
        height: auto;
    }
}

/* 屏幕宽度  ≥ 1922px 时生效 */
@media (min-width: 1922px) {
}
