/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: PingFang SC, Microsoft YaHei;
}

body {
    overflow-x: hidden;
}

/* 主容器 */
.home {
    height: 100%;
    position: relative;
}

/* 轮播图 */
.swipe {
    height: 100%;
    width: 100%;
}

.mp4 {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Swiper 容器 */
.swiper-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.swiper-slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 分页器 */
.swiper-pagination {
    position: fixed;
    right: 5.5rem;
    top: 50%;
    width: unset;
    left: unset;
}

.swiper-pagination-bullet {
    width: 0.75rem;
    height: 0.75rem;
    margin: 0.7rem 0 !important;
}

.swiper-pagination-bullet-active {
    background: #0075C1;
}

.pos {
    position: absolute;
    left: -7rem;
}

/* 区块样式 */
.box {
    width: 100%;
    height: 100%;
    background: url('../img/homepages/homeabout.png') no-repeat;
    background-size: 100% 100%;
    display: flex;
    flex-direction: column;
    padding: 10rem 15rem 3rem;
}

.title {
    display: flex;
    align-items: center;
}

.title div {
    font-weight: bold;
    font-size: 3.5rem;
    color: #0075C1;
    margin-left: .7rem;
}

.content {
    display: flex;
    width: 100%;
}

.content .f1 {
    font-size: 1.5rem;
    font-family: PingFang SC;
    color: #000;
    font-weight: 400;
    line-height: 3.5rem;
}

.content .f2 {
    font-family: Microsoft YaHei;
    font-weight: bold;
    font-size: 1.5rem;
    color: #000000;
    line-height: 2.81rem;
}

.btn-box {
    width: 15rem;
    height: 4.5rem;
    border-radius: 2.31rem;
    border: 1px solid #0075C1;
    font-weight: bold;
    font-size: 1.63rem;
    color: #0075C1;
    text-align: center;
    line-height: 4.5rem;
    margin-top: 4rem;
    cursor: pointer;
}

.btn-box:hover {
    background: #0075C1;
    color: #fff;
}

.bottom_line {
    width: calc(100% - 40rem);
    height: 11.5rem;
    border-top: 0.06rem solid #0075C1;
    position: absolute;
    bottom: 2rem;
    left: 11rem;
    display: flex;
    justify-content: space-between;
    text-align: center;
    align-items: center;
}

.bottom_line .info1 {
    font-family: Microsoft YaHei;
    font-weight: bold;
    font-size: 3.7rem;
    color: #0075C1;
}

.bottom_line .unit {
    font-family: Microsoft YaHei;
    font-weight: 400;
    font-size: 1.93rem;
    color: #0075C1;
}

.bottom_line .item-title {
    font-family: Microsoft YaHei;
    font-weight: 400;
    font-size: 1.48rem;
    color: #000000;
    margin-top: .6rem;
}

.multi-line-ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(3.5em * 6);
}

/* 品牌家族区块 */
.brand-box {
    background: url('../img/homepages/homebrand.png') no-repeat;
    background-size: 100% 100%;
    padding: 8rem 0 0 0 !important;
}

.brand-box .brand-box1 {
    width: 100%;
    height: 100%;
    padding: auto !important;
}

.brand-box .brand-logo {
    width: 30rem;
    height: 100%;
}

.brand-box .brand-logo div {
    width: 100%;
    height: 33.33%;
    background: #FFFFFF;
    position: relative;
    cursor: pointer;
}

.brand-box .brand-logo img {
    max-width: 20rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.brand-box .brand-content {
    height: 100%;
    padding: 0rem 20rem 5rem 8.5rem;
    width: 100%;
    align-items: flex-start;
}

.brand-box .brand-title {
    font-family: Microsoft YaHei;
    font-weight: bold;
    font-size: 2.75rem;
    color: #000000;
    margin-top: 4rem;
    margin-bottom: 2.88rem;
}

.brand-box .brand-intr {
    font-family: Microsoft YaHei;
    font-weight: 400;
    font-size: 1.38rem;
    color: #000000;
    line-height: 3.38rem;
}

.brand-box .brand-pro {
    width: 100%;
    /*margin-top: 5rem;*/
}

.brand-box .brand-pro img{
    width: 100%;
}

.brand_a {
    background: #DCEEFA !important;
}

.brand-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* 我们的优势区块 */
.advantage-box {
    background: url('../img/homepages/advantage.png') no-repeat;
    background-size: 100% 100%;
    padding: 10rem 15rem;
}

.advantage-box .home {
    min-height: 100%;
    background: url('../img/homepages/advantage.png') no-repeat;
    background-size: 100% 100%;
    display: flex;
    flex-direction: column;
    padding-top: 10rem;
    padding-left: 15rem;
    padding-right: 15rem;
    z-index: 3;
}

.advantage-box .sub-txt {
    font-family: Microsoft YaHei;
    font-weight: bold;
    font-size: 1.65rem;
    color: #666666;
    line-height: 3.3rem;
    margin: 2rem 0 3.5rem;
    word-break: break-all;
}

.content-grid {
    display: flex;
    gap: 1.5rem;
    position: relative;
    height: 85%;
}

.content-block {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: flex 0.5s ease-in-out;
    cursor: pointer;
}

.content-block:hover {
    flex: 2;
}

.content-block:hover .block-content {
    opacity: 1;
    transform: translate(-50%, -10%);
}

.content-block:hover .block-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
}

.block-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.content-block:hover .block-image {
    transform: scale(1.05);
}

.block-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
    transition: background 0.3s ease;
}

.block-content {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, 0);
    color: white;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 60%;
}

.block-icon {
    width: 6.75rem;
    height: 6.75rem;
    border: 0.1rem solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.content-block:hover .block-icon {
    transform: scale(1.1);
}

.block-title {
    font-family: Microsoft YaHei;
    font-weight: bold;
    font-size: 2rem;
    color: #FFFFFF;
    line-height: 3.31rem;
    word-break: break-all;
}

.block-description {
    font-family: Microsoft YaHei;
    font-weight: bold;
    font-size: 1.25rem;
    color: #FFFFFF;
    margin-top: 2.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.1s;
}

.content-block:hover .block-description {
    opacity: 1;
    transform: translateY(0);
}

.view-details-btn {
    font-family: Microsoft YaHei;
    font-weight: bold;
    font-size: 1.25rem;
    color: #FFFFFF;
    display: inline-block;
    padding: 0.625rem 0.25rem;
    border-bottom: 0.1rem solid #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(0.625rem);
    transition: all 0.3s ease 0.2s;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

.content-block:hover .view-details-btn {
    opacity: 1;
    transform: translateY(0);
}

.view-details-btn:hover {
    transform: translateY(-2px);
}

/* 企业动态区块 */
.news-box {
    /*background: url('../img/homepages/homenews.png') no-repeat;*/
    width: 100%;
    background-size: 100% 100%;
}

.news-box .home {
    width: 100%;
    min-height: 100%;
    background: url('../img/homepages/newsbg.png') no-repeat;
    background-size: 100% 100%;
    justify-content: center;
    position: relative;
}

.news-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.news-box .news-con {
    min-height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10rem 15rem 2rem;
}

.news-box .news-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 3.5rem;
    margin-top: 4rem;
    width: 100%;
    height: 60%;
}

.news-box-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background: #FFFFFF;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-box-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.news-image-container {
    width: 100%;
    height: 57%;
    /* height: 25rem; */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.news-box-item:hover .news-image {
    transform: scale(1.05);
}

.news-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-family: Microsoft YaHei;
    font-weight: 400;
    font-size: 1.3rem;
    color: #000000;
    line-height: 3.5rem;
    height: 8rem;
    border-bottom: 0.06rem solid #E5E5E5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-meta {
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.news-category {
    font-family: Microsoft YaHei;
    font-weight: bold;
    font-size: 1.1rem;
    color: #0075C1;
    cursor: pointer;
}

.timeline-date {
    font-weight: 400;
    font-size: 1.19rem;
    color: #999999;
    line-height: 3.35rem;
}

.f1 {
    font-family: Microsoft YaHei;
    font-weight: 400;
    font-size: 1.19rem;
    color: #999999;
}

/* 弹性布局辅助类 */
.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

/* 联系我们区块 */
.contact-box {
    /*background: url('../img/homepages/homecontact.png') no-repeat;*/
    background-size: 100% 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 10rem 0 0 !important;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.contact-content {
    text-align: center;
    margin-top: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 合作客户水平滚动容器 */
.partner-container {
    width: 100%;
    padding: 0 15rem !important; /* 左右15rem空隙 */
    margin-top: 2rem;
}

.p-title {
    font-family: Microsoft YaHei;
    font-weight: bold;
    font-size: 2rem;
    color: #000000;
    text-align: center;
    margin-bottom: 2rem;
}

.partner_box {
    display: flex;
    flex-wrap: nowrap;
    gap: 3rem;
    padding: 1rem 0;
    width: 100%;
    margin: 0 auto;
    height: 8rem;
    overflow-x: auto; /* 水平滚动 */
    -webkit-overflow-scrolling: auto; /* iOS平滑滚动 */
    scroll-behavior: smooth; /* 平滑滚动 */
    cursor: grab;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE和Edge */
}

.partner_box::-webkit-scrollbar {
    display: none; /* Chrome, Safari隐藏滚动条 */
}

.partner_box_item {
    flex: 0 0 auto; /* 不伸缩，不收缩，自动宽度 */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 12rem;
    height: 7rem;
    background: #FFFFFF;
}

.partner_box_item:hover {
    transform: scale(1.05);
}

.partner_box_item img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.imgScale {
    transform: scale(1.1);
}

.imgScale_live {
    transform: scale(1);
}

.line {
    width: 100%;
    height: 0.06rem;
    background: #D2D2D2;
    margin-top: 3.5rem;
    margin-bottom: 2rem;
}

.b-box {
    width: calc(100% - 30rem);
    justify-content: space-between;
    margin-bottom: 4rem;
}

.b-box-content {
    justify-content: space-between;
    align-items: start;
    margin-top: 4rem;
    gap: 1rem;
    width: 100%;
}

.b-box-content .item {
    align-items: start;
    flex: 1;
    text-align: left;
}

.b-box-content .item a{
    text-decoration: none;
}

.b-box-content .item:last-child {
    flex: 2;
}

.f1 {
    font-size: 1.5rem;
    font-family: PingFang SC;
    font-weight: bold;
    color: #FFFFFF;
}

.f2 {
    font-family: Microsoft YaHei;
    font-weight: bold;
    font-size: 1.5rem;
    color: #000000;
    line-height: 2.81rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.f3 {
    font-family: Microsoft YaHei;
    font-weight: 400;
    font-size: 1.25rem;
    color: #000000;
    line-height: 2.81rem;
    cursor: pointer;
    margin-bottom: 1rem;
    text-align: left;
}

.img1 {
    width: 7rem;
    height: 7rem;
    margin-right: 2rem;
}

.bottom-box {
    position: relative;
    bottom: 0rem;
    height: 6.25rem;
    background: #D9E0EA;
    width: 100%;
    padding: 0 15rem;
    font-family: Microsoft YaHei;
    font-weight: 400;
    font-size: 1.25rem;
    color: #000000;
    line-height: 6.25rem;
    margin-top: auto;
    text-align: left;
    cursor: pointer;
}

.f4 {
    font-family: Microsoft YaHei;
    font-weight: 400;
    font-size: 1.25rem;
    color: #000000;
    position: absolute;
    cursor: pointer;
}
/* 单行省略号效果 */
.text-ellipsis {
    display: -webkit-box;        /* 关键：使用webkit box布局 */
    -webkit-box-orient: vertical; /* 关键：垂直方向排列 */
    -webkit-line-clamp: 1;       /* 禁止换行 */
    overflow: hidden;           /* 隐藏溢出内容 */
    text-overflow: ellipsis;    /* 显示省略号 */
    max-width: 28rem;           /* 限制最大宽度 */
    cursor: pointer;           /* 鼠标指针变化 */
    position: relative;        /* 为气泡框定位 */
}

/* 悬浮气泡框效果 */
.text-ellipsis:hover::after {
    content: attr(title);      /* 显示title属性内容 */
    position: absolute;
    bottom: 100%;            /* 显示在文字上方 */
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: normal;       /* 允许换行 */
    width: max-content;
    max-width: 300px;          /* 限制气泡框最大宽度 */
    z-index: 1000;
    backdrop-filter: blur(10px); /* 可选：毛玻璃效果 */
}

/* 气泡框箭头 */
.text-ellipsis:hover::before {
    content: '';
    position: absolute;
    bottom: calc(100% - 5px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    border: 6px solid transparent;
}

/* 底部遮罩 */
.isis {
    width: 100%;
    height: 10rem;
    background: #000;
    position: fixed;
    bottom: 0;
}

/* 高分辨率屏幕优化 */
@media (min-width: 1920px) {
    /* 调整基础字体大小 */
    html {
        font-size: 16px;
    }

    /* 调整区块内边距 */
    .box {
        padding: 12rem 20rem 3rem;
        zoom: .9
    }

    .advantage-box {
        padding: 12rem 20rem;
    }

    .advantage-box .home {
        padding-top: 12rem;
        padding-left: 20rem;
        padding-right: 20rem;
    }

    .news-box .news-con {
        padding: 12rem 20rem 2rem;
    }

    /* 调整合作客户容器 */
    .partner-container {
        padding: 0 20rem !important;
    }

    /* 调整底部导航 */
    .b-box {
        width: calc(100% - 40rem);
    }

    /* 调整底部版权信息 */
    .bottom-box {
        padding: 0 20rem;
    }

    /* 调整分页器位置 */
    .swiper-pagination {
        right: 8rem;
    }

    /* 调整底部统计信息 */
    .bottom_line {
        width: calc(100% - 50rem);
        left: 15rem;
    }

    /* 调整品牌家族区块 */
    .brand-box .brand-content {
        padding: 0rem 25rem 5rem 8rem;
    }

    /* 调整内容网格间距 */
    .content-grid {
        gap: 2rem;
    }

    /* 调整新闻区块网格间距 */
    .news-box .news-box {
        grid-gap: 4rem;
    }

    /* 调整绝对定位元素 */
    .pos {
        left: -8rem;
    }

    /* 调整品牌logo位置 */
    .brand-box .brand-logo img {
        max-width: 22rem;
    }

    /* 调整区块内容位置 */
    .block-content {
        width: 70%;
    }

    /* 调整底部遮罩 */
    .isis {
        height: 12rem;
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .swiper-container {
        width: 100vw;
        height: 100vh;
        font-size: calc(12px + 0.5vw);
        zoom: 1;
    }

    .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .section {
        padding: 0 2rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .section p {
        font-size: 1rem;
    }

    .swiper-pagination {
        right: 1rem !important;
        transform: scale(0.9);
    }
}

/* 平板设备优化 */
@media (max-width: 1024px) and (min-width: 768px) {
    .home {
        overflow: hidden;
    }
}

/* 移动设备优化 */
@media (max-width: 768px) {
    .swiper-container {
        zoom: 1;
    }

    .section {
        padding: 0 1rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .section p {
        font-size: 0.9rem;
    }

    .swiper-pagination {
        right: 0.5rem !important;
        transform: scale(0.8);
    }
}
.title-img {
    width: 1.06rem;
    height: 3.75rem;
}
.text-2-ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(3.5em * 2);
}
.text-3-ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(3.5em * 3);
}

/* 响应式设计 */
@media (max-width: 1920px) {
    .home {
        zoom: .9
    }
    .contact-box {
        zoom: .9;
    }
}

