
/* 设置html初始字体大小和禁用transition，防止页面加载时的缩放闪烁 */
@font-face {
    font-family: "Regular";
    /* 你自己起的名字 */
    src: url("../font/OpenSans-Regular.ttf");
    /* 字体文件路径 */
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "ROBOTOBlod";
    /* 你自己起的名字 */
    src: url("../font/ROBOTO-MEDIUM-12.TTF");
    /* 字体文件路径 */
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "ROBOTO";
    /* 你自己起的名字 */
    src: url("../font/ROBOTO-BLACK-1.TTF");
    /* 字体文件路径 */
    font-weight: normal;
    font-style: normal;
}
   html,
    body {
      white-space: normal;
      word-break: normal;
      overflow-wrap: anywhere;
      text-wrap: wrap;
    }

html {
    font-size: 10px;
    transition: none !important;
    -webkit-transition: none !important;
    -ms-transition: none !important;
}

body {
    margin: 0 auto;
    font-size: 10px;
    color: #262728;
    font-family:Regular, arial, 'helvetica neue', 'SYSTM', 'microsoft yahei ui', 'microsoft yahei', 'pingfang SC', 'simsun', sans-serif;
    line-height: normal;
    overflow-x: hidden;
}

html,
body {
    overflow-x: hidden;
    /* 全局文本换行：正常文本只在空格处换行、不拆散单词；仅单个词超行宽才断开。
       anywhere 修正 min-content：文本全是 nbsp(&nbsp;) 时 grid/flex 子项不被撑爆，可强制断行，
       纯 CSS 应对建站平台写入的 nbsp，无需 JS。 */
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
    text-wrap: wrap;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    outline: none;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -ms-transition: 0.5s;
}

/* 确保html元素的transition始终被禁用 */
html,
html * {
    transition-property: background-color, color, opacity, transform, visibility, box-shadow, border-color, width, height, margin, padding, left, right, top, bottom !important;
}

ul,
li {
    list-style: none;
}

img {
    border: 0px;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: #333;
    text-decoration: none;
}

a:hover {
    color: #0036CF;
    text-decoration: none;
    transition: 0s;
    -webkit-transition: 0s;
    -ms-transition: 0s;
}

a:active {
    text-decoration: none
}

a:focus {
    outline: none;
}

.container {
    max-width: 1720px;
    width: 100%;
    margin: 0 auto;
}

/* ===== common_swiper 模块 ===== */
.common_swiper {
    max-height: 60rem;
    width: 100%;
    position: relative;
}

.common_swiper .swiper-slide {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.common_swiper .common_swiper_swiper_img {
    width: 100%;
     max-height: 60rem;
    object-fit: cover;
}

.common_swiper .common_swiper_folt {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(91deg, #254263 0%, rgba(37, 66, 99, 0.76) 26.92%, rgba(115, 115, 115, 0) 64.7%);
    display: flex;
    align-items: center;
}

.common_swiper .common_swiper_retx {
    padding-left: 6rem;
}

.common_swiper .common_swiper_retx_title {
    font-weight: 600;
    font-size: 6rem;
    color: #FFFFFF;
    line-height: 7.2rem;
    font-style: normal;
    text-transform: none;
    font-family: ROBOTO;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.common_swiper .common_swiper_retx_desc {
    font-weight: 400;
    font-size: 1.8rem;
    color: #FFFFFF;
    line-height: 2.9rem;
    text-align: left;
    font-style: normal;
    text-transform: none;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.common_swiper .swiper-pagination {
    position: absolute;
    bottom: 2rem;
    text-align: center;
    z-index: 10;
}

.common_swiper .swiper-pagination-bullet {
    width: 1.2rem;
    height: 1.2rem;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 0.4rem;
}

.common_swiper .swiper-pagination-bullet-active {
    background: var(--primary, #E7832B);
}

/* ===== assisting 模块 ===== */
.assisting {
    padding: 6.4rem 0;
    background-image: url("../image/service/b8.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.assisting .assisting_box_title {
    font-weight: 600;
    font-size: 4.2rem;
    color: #FFFFFF;
    line-height: 50px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-bottom: 2.3rem;
    font-family: ROBOTO;
}

.assisting .assisting_box_desc {
    font-weight: 400;
    font-size: 2rem;
    color: #FFFFFF;
    line-height: 3.6rem;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-bottom: 2.3rem;
}

.assisting .assisting_btn {
    max-width: 18rem;
    max-height: 5rem;
    margin: auto;
    display: block;
    transition: transform 0.3s ease;
}

.assisting .assisting_btn:hover {
    transform: translateY(-1rem);
}

.assisting .assisting_btn img {
    width: 100%;
    height: 100%;
}

/* ===== 媒体查询（container + common_swiper 合并） ===== */

/* 2. 大屏 1440px ~ 1599px（2K 显示器缩小窗口 / 15.6 寸高性能本） */
@media (max-width: 1599px) {
    .container {
        max-width: 1300px;
    }
    .common_swiper {
        max-height: 55rem;
    }
    .common_swiper .common_swiper_swiper_img {
    width: 100%;
        max-height: 55rem;
    object-fit: cover;
}
    .common_swiper .common_swiper_retx {
        padding-left: 5rem;
    }
    .common_swiper .common_swiper_retx_title {
        font-size: 5rem;
        line-height: 6rem;
    }
    .common_swiper .common_swiper_retx_desc {
        font-size: 1.6rem;
        line-height: 2.6rem;
    }
    .assisting {
        padding: 5.6rem 0;
    }
    .assisting .assisting_box_title {
        font-size: 3.6rem;
        margin-bottom: 2rem;
    }
    .assisting .assisting_box_desc {
        font-size: 1.8rem;
        line-height: 3.2rem;
        margin-bottom: 2rem;
    }
}

/* 3. 中大屏 1366px ~ 1439px（最常见笔记本 1080P 全屏） */
@media (max-width: 1439px) {
    .container {
        max-width: 1200px;
    }
    .common_swiper {
        max-height: 50rem;
    }
        .common_swiper .common_swiper_swiper_img {
    width: 100%;
        max-height: 50rem;
    object-fit: cover;
}
    .common_swiper .common_swiper_retx {
        padding-left: 4rem;
    }
    .common_swiper .common_swiper_retx_title {
        font-size: 4.4rem;
        line-height: 5.4rem;
    }
    .common_swiper .common_swiper_retx_desc {
        font-size: 1.5rem;
        line-height: 2.4rem;
    }
    .assisting {
        padding: 5rem 0;
    }
    .assisting .assisting_box_title {
        font-size: 3.2rem;
        margin-bottom: 1.8rem;
    }
    .assisting .assisting_box_desc {
        font-size: 1.6rem;
        line-height: 2.8rem;
        margin-bottom: 1.8rem;
    }
}

/* 4. 标准屏 1280px ~ 1365px（老款笔记本 / 小屏显示器） */
@media (max-width: 1365px) {
    .container {
        max-width: 1100px;
    }
}

/* 5. 小PC屏 1199px ~ 1279px（1280×720 老显示器） */
@media (max-width: 1279px) {
    .common_swiper {
        max-height: 45rem;
    }
        .common_swiper .common_swiper_swiper_img {
    width: 100%;
        max-height: 45rem;
    object-fit: cover;
}
    .common_swiper .common_swiper_retx {
        padding-left: 3rem;
    }
    .common_swiper .common_swiper_retx_title {
        font-size: 3.8rem;
        line-height: 4.6rem;
    }
    .common_swiper .common_swiper_retx_desc {
        font-size: 1.2rem;
        line-height: 1.8rem;
        display: -webkit-box;
-webkit-line-clamp: 2;
text-overflow:ellipsis;
-webkit-box-orient: vertical;
overflow: hidden;
    }
    .assisting {
        padding: 4rem 0;
    }
    .assisting .assisting_box_title {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
    }
    .assisting .assisting_box_desc {
        font-size: 1.5rem;
        line-height: 2.6rem;
        margin-bottom: 1.5rem;
    }
}

/* 6. 迷你PC / 横版平板 992px ~ 1199px */
@media (max-width: 1199px) {
    .container {
        max-width: 1000px;
    }
    .common_swiper {
        max-height: 40rem;
    }
        .common_swiper .common_swiper_swiper_img {
    width: 100%;
        max-height: 40rem;
    object-fit: cover;
}
    .common_swiper .common_swiper_retx {
        padding-left: 2rem;
    }
    .common_swiper .common_swiper_retx_title {
        font-size: 3.2rem;
        line-height: 4rem;
    }
    .assisting {
        padding: 3rem 0;
    }
    .assisting .assisting_box_title {
        font-size: 2.4rem;
        margin-bottom: 1.2rem;
    }
    .assisting .assisting_box_desc {
        font-size: 1.4rem;
        line-height: 2.4rem;
        margin-bottom: 1.5rem;
    }
    .assisting .assisting_btn {
        max-width: 16rem;
        max-height: 4.5rem;
    }
}

/* 7. 竖版平板 768px ~ 991px */
@media (max-width: 991px) {
    .container {
        max-width: 750px;
        padding: 0 2rem;
    }
    .common_swiper {
        max-height: 35rem;
    }
        .common_swiper .common_swiper_swiper_img {
    width: 100%;
        max-height: 35rem;
    object-fit: cover;
}
    .common_swiper .common_swiper_retx {
        padding-left: 1.5rem;
    }
    .common_swiper .common_swiper_retx_title {
        font-size: 2.6rem;
        line-height: 3.4rem;
    }
    .assisting {
        padding: 2.5rem 0;
    }
    .assisting .assisting_box_title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    .assisting .assisting_box_desc {
        font-size: 1.4rem;
        line-height: 2.2rem;
        margin-bottom: 1.2rem;
    }
    .assisting .assisting_btn {
        max-width: 15rem;
        max-height: 4.2rem;
    }
}

/* 8. 手机 <768px */
@media (max-width: 767px) {
    .container {
        max-width: 100%;
        padding: 0 2rem;
    }
    .common_swiper {
        max-height: 30rem;
    }
        .common_swiper .common_swiper_swiper_img {
    width: 100%;
        max-height: 30rem;
    object-fit: cover;
}
    .common_swiper .common_swiper_retx {
        padding-left: 1rem;
    }
    .common_swiper .common_swiper_retx_title {
        font-size: 1.6rem;
        line-height: 2.6rem;
    }
    .assisting {
        padding: 2rem 0;
    }
    .assisting .assisting_box_title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    .assisting .assisting_box_desc {
        font-size: 1.4rem;
        line-height: 1.9rem;
        margin-bottom: 1rem;
    }
    .assisting .assisting_btn {
        max-width: 14rem;
        max-height: 4rem;
    }
}