@font-face {
    font-family: 'SourceHanSansCN';
    src: url('../fonts/SourceHanSansCN-Regular-2.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'SourceHanSansCN';
    src: url('../fonts/SourceHanSansCN-Regular-2.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'SourceHanSansCN';
    src: url('../fonts/SourceHanSansCN-Regular-2.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'SourceHanSansCN';
    src: url('../fonts/SourceHanSansCN-Regular-2.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'SourceHanSansCN';
    src: url('../fonts/SourceHanSansCN-Regular-2.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'SourceHanSansCN';
    src: url('../fonts/SourceHanSansCN-Regular-2.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'SourceHanSansCN';
    src: url('../fonts/SourceHanSansCN-Regular-2.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

/* common.css 通用基础样式 */

/* 重置浏览器默认样式（最基本版） */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局字体 */
html {
    font-size: 10px; /* 方便后续 rem 计算：1rem = 10px */
}

body {
    font-family: 'SourceHanSansCN', sans-serif;
    font-size: 1.6rem; /* 默认字体大小16px */
    color: #333;
    background-color: #fff;
    line-height: 1.6;
}
ul{
    list-style: none;
}
input{
    outline: none;
}
textarea{
    outline: none;
}
/* 图片默认不拉伸 */
img {
    max-width: 100%;
    height: auto;
    display: block;
    user-select: none;
    -webkit-user-drag: none; /* Safari/Chrome 专用 */
}
button{
    border: 0;
    background: transparent;
    outline: none;
}
/* 链接美化 */
a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* Android 和部分 WebView 有效 */
    -webkit-touch-callout: none; /* 防止长按出现菜单 */
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent; /* 移除 iOS 上的点击背景 */
}
a:active {
    background: none;
}


/* 常见布局元素 */
header,
footer,
main,
section,
article,
aside,
nav {
    display: block;
}
select {
    all: unset;
    display: flex;
    align-items: center;
    background: url('../img/selectdown.png') no-repeat right center;
    background-size: 20px 20px;

}
@media (max-width:768px){
    select{
        background-size: 1rem auto;
    }
}
.uw-main{
    min-height: calc(100vh - 80px - 557.33px);
}
.banner-swiper{
    width: 100%;
    /* height: 640px; */
}
.banner-swiper img{
    width: 100%;
    height: 100%;
}
.uw-width{
    max-width: 1200px;
    margin: 0 auto;
}
.colors{
    color: #1472FF;
}
.bg-colors{
    background-color: #1472FF;
}
/* 公共容器 */
.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

/* 通用按钮 */
.button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s;
}
.button:hover {
    background-color: #0056b3;
}

/* 通用Flex布局 */
.flex {
    display: flex;
}
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 通用隐藏滚动条 (仅Y轴隐藏) */
.hide-scrollbar {
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
}
.hide-scrollbar::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* 通用间距类 */
.mt-10 { margin-top: 1rem; }
.mb-10 { margin-bottom: 1rem; }
.pt-10 { padding-top: 1rem; }
.pb-10 { padding-bottom: 1rem; }

.title{
    text-align: center;
    font-weight: 700;
    font-size: 32px;
    color: #222222;
    line-height: 40px;

}
.sub-title{
    text-align: center;
    font-weight: 400;
    font-size: 16px;
    color: #8A91AA;
    line-height: 20px;
    padding: 0 10px;
}
.uw-main-contact ul li > span{
    white-space: nowrap;
    flex-shrink: 0;
}


/* 响应式断点 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    body {
        font-size: 1.4rem;
    }
    .uw-width{
        padding: 0 1.2rem;
    }
    .title{
        font-size: 2rem;
        line-height: 2.5rem;
    }
    .sub-title{
        font-size: 1.2rem;
        line-height: 1.5rem;
    }
}


@media (max-width: 374px) {
    .uw-width{
        padding: 0 1.2rem;
    }
}
/* 溢出隐藏 1-5行 */
.ellipsis-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ellipsis-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ellipsis-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ellipsis-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ellipsis-5 {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}