* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;

    -webkit-text-size-adjust: none !important;
    -moz-text-size-adjust: 100% !important;
    -ms-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
}

body {
    height: 100%;
    font-size: 1rem;
    /* line-height: 28px; */
    font-weight: 400;
    font-style: normal;
    color: #1a1e2d;
    font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
}


p,
span {
    font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif !important;
}

html {
    height: 100%;
    box-sizing: border-box;
}

body,
html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

.f-left {
    float: left;
}

.f-right {
    float: right;
}

.fix {
    overflow: hidden;
}

a {
    text-decoration: none;
}

a,
.button {
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}

a:focus,
.button:focus {
    text-decoration: none;
    outline: none;
}

a:focus,
a:hover {
    color: inherit;
    text-decoration: none;
}

a,
button {
    color: inherit;
    outline: medium none;
}

button:focus,
input:focus,
input:focus,
textarea,
textarea:focus {
    outline: 0;
}

.uppercase {
    text-transform: uppercase;
}

.capitalize {
    text-transform: capitalize;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
    color: #1a1e2d;
    line-height: 1.1;
    margin-top: 0px;
    font-style: normal;
    font-weight: 700;
    text-transform: normal;
    letter-spacing: -0.01875rem;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: inherit;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2.1875rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.375rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

ul {
    margin: 0px;
    padding: 0px;
}

li {
    list-style: none;
}

p {
    font-size: 1rem;
    font-weight: 400;
    /*line-height: 58px;*/
    font-family: sans-serif !important;
    margin-bottom: 0;
}

/* 1. 滚动条整体容器：设置宽度（垂直滚动条）/高度（水平滚动条） */
::-webkit-scrollbar {
    width: 0.375rem;
    height: 0.375rem;
}

/* 2. 滚动条轨道（背景部分） */
::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 0.1875rem;
}

/* 3. 滚动条滑块（拖动的部分）：设置颜色、圆角，hover时加深 */
::-webkit-scrollbar-thumb {
    background: #d1d1d1;
    border-radius: 0.1875rem;
}

/* 滑块hover/点击时的颜色，提升交互 */
::-webkit-scrollbar-thumb:hover {
    background: #a6a5a5;
}

::-webkit-scrollbar-thumb:active {
    background: #999;
}

/* 图片hover放大 */
.hover-container {
    overflow: hidden;
}

.hover-container img {
    transition: all ease-in-out 0.5s;
}

.hover-container img:hover {
    transform: scale(1.08);
}

/* header样式 -- start */
.header {
    width: 100%;
    padding: 0.625rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    box-sizing: border-box;
    gap: 0.75rem;
}

.header .logo {
    width: 15.625rem;
}

.header .other-link {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.header .other-link .link-service {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 0.375rem;
    position: relative;
}

/* 二维码容器样式：默认隐藏、绝对定位在下方 */
.header .other-link .link-service .qrcode-box {
    position: absolute;
    top: calc(100% + 0.625rem);
    left: 50%;
    transform: translateX(-50%);
    padding: 0.625rem;
    background: #ffffff;
    border-radius: 0.25rem;
    box-shadow: 0 0.125rem 0.75rem rgba(0, 0, 0, 0.1);
    display: none;
    pointer-events: none;
    z-index: 999;
    transition: all 0.3s ease;
}

/* 二维码图片大小：统一设置，可根据需求调整 */
.header .other-link .link-service .qrcode-box img {
    width: 7.5rem;
    height: auto;
    display: block;
}

/* 核心：鼠标悬浮link-service时，显示对应的二维码 */
.header .other-link .link-service:hover .qrcode-box {
    display: block;
}

.header .other-link .link-service img {
    width: 1.375rem;
}

/* 搜索框容器 */
.header-search-box {
    display: flex;
    align-items: center;
    width: 17.5rem;
    height: 2.25rem;
    border: 0.0625rem solid #dcdcdc;
    border-radius: 1.125rem;
    overflow: hidden;
    background-color: #fff;
}

/* 输入框样式 */
.header-search-input {
    flex: 1;
    height: 100%;
    padding: 0 1rem;
    border: none;
    outline: none;
    font-size: 0.875rem;
    color: #333;
    background-color: transparent;
}

/* 输入框占位符样式 */
.header-search-input::placeholder {
    color: #999;
    font-size: 0.875rem;
}

/* 搜索按钮样式 */
.header-search-btn {
    width: 2.5rem;
    height: 100%;
    border: none;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    /* 图标颜色 */
    transition: color 0.2s;
}

/* 按钮hover效果 */
.header-search-btn:hover {
    color: #333;
}

/* header样式 -- end */

/* footer样式 -- start */
.footer {
    margin-top: 0;
    padding-top: 1.875rem;
    background: #0B1454;
    color: #fff;
    text-align: center;
}

.footer .container {
    max-width: 100%;
    margin: 0 auto;
}

.footer .container .links {
    max-width: 75rem;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    padding-bottom: 1.5rem;
    gap: 2.5rem;
}

.footer .container .links .menus-container {
    flex: 1;
}

.footer .container .links .menus-container .logo {
    width: 20.125rem;
    display: block;
    margin-left: 0;
}

.footer .container .links .menus-container .menus {
    margin-top: 1.875rem;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: left;
}

.footer .container .links .menus-container .menus a {
    display: block;
    color: #fff;
    text-decoration: none;
}

.footer .container .links .menus-container .menus a:hover {
    color: #fff;
}

.footer .container .links .menus-container .menus .menus-level1,
footer .container .links .menus-container .menus .menus-level2 {
    line-height: 2.25rem;
}

.footer .container .links .menus-container .menus .menus-level2 {
    font-size: 0.75rem;
}

.footer .container .links .qrcode {
    display: flex;
    gap: 1.25rem;
    width: 20rem;
}

.footer .container .links .qrcode img {
    width: 9.375rem;
}

.copyright {
    padding: 0.625rem;
    border-top: 0.0625rem solid #fff;
    margin-top: 1rem;
}

.copyright .info {
    max-width: 75rem;
    margin: 0 auto;
    min-height: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    line-height: 1.875rem;
}

.single-overflow {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.contact {
    max-width: 75rem;
    margin: 0 auto;
    font-size: 1.75rem;
    text-align: left;
}

.key-information {
    max-width: 75rem;
    margin: 0.875rem auto 0;
    display: flex;
    font-size: 0.875rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.key-info {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.key-info img {
    width: 1.25rem;
    height: 1.25rem;
}

/* footer样式 -- end */


/* 锚点 - start */
/* 固定在右下角的容器 */
.anchor-content {
    position: fixed;
    bottom: 2rem;
    right: 1.875rem;
    width: 3.25rem;
    z-index: 999;
}

/* 每个按钮项的样式 */
.anchor-item {
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 0.3125rem;
    cursor: pointer;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
    display: block;
}

/* 默认状态的背景图 */
.feedback-btn {
    background-image: url('../../kjht/zh/common/images/anchor/feedback.png');
}

.bottom-btn {
    background-image: url('../../kjht/zh/common/images/anchor/to_bottom.png');
}

.bottom-btn-en {
    background-image: url('../../kjht/en/common/images/anchor/to_bottom.png');
}

.top-btn {
    background-image: url('../../kjht/zh/common/images/anchor/to_top.png');
}

.top-btn-en {
    background-image: url('../../kjht/en/common/images/anchor/to_top.png');
}

/* 悬浮状态的背景图 */
.feedback-btn:hover {
    background-image: url('../../kjht/zh/common/images/anchor/feedback_hover.png');
}

.bottom-btn:hover {
    background-image: url('../../kjht/zh/common/images/anchor/to_bottom_hover.png');
}

.bottom-btn-en:hover {
    background-image: url('../../kjht/en/common/images/anchor/to_bottom_hover.png');
}

.top-btn:hover {
    background-image: url('../../kjht/zh/common/images/anchor/to_top_hover.png');
}

.top-btn-en:hover {
    background-image: url('../../kjht/en/common/images/anchor/to_top_hover.png');
}

/* 锚点 - end */

/* 动画触发类：抽离所有动画属性 */
.animate-fadeIn {
    animation: fadeIn 0.4s ease-in-out forwards;
}

/* 淡入动画关键帧：opacity从0→1，可加轻微位移让效果更灵动（可选） */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(0.625rem);
        /* 轻微向上移，视觉更自然 */
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 屏幕宽度<1200px时生效 */
@media screen and (max-width: 1201px) {


    .contact,
    .key-information {
        padding: 0 1.5rem;
    }

}

/* 屏幕宽度>768px时生效 */
@media screen and (min-width: 769px) {
    .copyright .info {
        justify-content: space-between;
    }

    .header {
        justify-content: space-between;
        padding: 0.625rem 2.5rem;
    }

}


/* 屏幕宽度<768px时生效 */
@media screen and (max-width: 769px) {
    .footer .container .links .menus-container .menus {
        padding: 0 1.25rem;
        gap: 1.5rem;
        justify-content: flex-start;
    }
}

/**移动端文本字体统一样式 */
.mobile-text p,
.mobile-text span {
    font-size: 1rem !important;
    line-height: unset !important;
    font-family: "Poppins", sans-serif !important;
    text-align: justify;
}
