/* Customer page only - loaded by customer.html / customer-en.html */

.home-news .cust-group-tit {
    position: relative;
    margin: 0 0 0.24rem;
    padding-left: 0.16rem;
    font-size: 0.22rem;
    font-weight: 700;
    color: #263460;
    line-height: 1.3;
    letter-spacing: 1px;
}

.home-news .cust-group-tit:not(:first-child) {
    margin-top: 0.5rem;
}

.home-news .cust-group-tit::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.03rem;
    width: 0.05rem;
    height: 0.2rem;
    border-radius: 0.03rem;
    background: linear-gradient(180deg, #3b82f6, #06b6d4);
}

.home-news ul.yx-cust {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.18rem !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.home-news ul.yx-cust > li {
    float: none !important;
    width: calc((100% - 0.72rem) / 5) !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    list-style: none !important;
}

.home-news ul.yx-cust > li:nth-child(3) {
    display: block !important;
}

.home-news ul.yx-cust li a.yx-cust-it {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
}

.home-news ul.yx-cust li a.yx-cust-it:hover {
    background: transparent !important;
    color: inherit !important;
}

.home-news ul.yx-cust li a.yx-cust-it .yx-tile {
    position: relative;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    aspect-ratio: 2.05 / 1;
    padding: 0.05rem;
    border-radius: 0.14rem;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 0.08rem 0.22rem -0.14rem rgba(11, 43, 82, .45), inset 0 0 0 1px rgba(0, 96, 168, .12);
    transition: transform .3s, box-shadow .3s;
}

.home-news ul.yx-cust li a.yx-cust-it:hover .yx-tile {
    transform: translateY(-0.05rem);
    box-shadow: 0 0.18rem 0.36rem -0.18rem rgba(0, 144, 216, .55), inset 0 0 0 1px rgba(0, 144, 216, .28);
}

.home-news ul.yx-cust li a.yx-cust-it .yx-tile img {
    width: auto !important;
    height: auto !important;
    max-width: 94% !important;
    max-height: 90% !important;
    object-fit: contain;
}

.home-news ul.yx-cust .yx-cname {
    margin: 0.08rem 0.02rem 0;
    font-size: 12px;
    color: #263460;
    text-align: center;
    line-height: 1.4;
    letter-spacing: .5px;
}

.home-news ul.yx-cust .yx-cname span {
    display: inline-block;
    margin-left: 0.06rem;
    padding: 0.01rem 0.06rem;
    font-size: 10px;
    color: #0078c0;
    border: 1px solid rgba(0, 144, 216, .32);
    background: rgba(0, 144, 216, .08);
    border-radius: 0.05rem;
    vertical-align: middle;
}

.home-news ul.yx-cust .yx-cname em {
    display: block;
    margin-top: 0.02rem;
    font-style: normal;
    font-size: 12px;
    color: #e07b00;
}

@media screen and (max-width: 1024px) {
    .home-news ul.yx-cust .yx-cname {
        font-size: 14px;
    }
    .home-news ul.yx-cust .yx-cname span,
    .home-news ul.yx-cust .yx-cname em {
        font-size: 10px;
    }
}

@media screen and (max-width: 1200px) {
    .home-news ul.yx-cust > li {
        width: calc((100% - 0.54rem) / 4) !important;
    }
}

@media screen and (max-width: 992px) {
    .home-news ul.yx-cust > li {
        width: calc((100% - 0.36rem) / 3) !important;
    }
}

@media screen and (max-width: 768px) {
    .home-news ul.yx-cust > li {
        width: calc((100% - 0.18rem) / 2) !important;
    }
    .home-news .cust-group-tit {
        font-size: 0.3rem;
    }
}
