body {
    -webkit-font-smoothing: antialiased;
    /* 抗锯齿 */
    font: 16px/1.5 var(--font-family-primary);
    color: var(--font-color-primary);
    background-color: #F4F5F9;
}


/* 清除所有标签的内外边距 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* 使用CSS3盒子模型 */
}

/* 清除列表项的默认样式 */
ul,
ol {
    list-style: none;
}

/* 设置图片的默认样式 */
img {
    border: 0;
    /* 去掉图片外边框 */
    vertical-align: middle;
    /* 取消图片底侧空白缝隙 */
}

/* 设置链接的默认样式 */
a {
    color: var(--font-color-primary);
    text-decoration: none;
}

a:hover {
    /* color: var(--font-color-hover); */
}

/* 设置按钮和输入框的默认样式 */
button,
input {
    font-family: var(--font-family-primary);
    border: 0;
    /* 去掉默认边框 */
    outline: none;
    /* 去掉输入框的蓝色边框 */
    cursor: pointer;
    /* 鼠标悬停时变成小手 */
}

/* 清除浮动 */
.clearfix:after {
    visibility: hidden;
    clear: both;
    display: block;
    content: ".";
    height: 0;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 var(--spacing-40);
    /* background: linear-gradient(270deg, rgba(0, 76, 126, 0.56) 0%, rgba(0, 117, 193, 0) 57.96%); */
    background-size: 100% 100%;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--color-brand-secondary);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    gap: var(--spacing-40);
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    flex: 0 1 325px;
    margin-right: 117px;
}

.logo img {
    width: 100%;
    height: 100%;
    min-width: 220px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    overflow: hidden;
    height: 100%;
}

.nav-link {
    font-size: var(--font-size-nav);
    line-height: 18px;
    color: #fff;
    transition: all var(--animation-duration-fast) var(--animation-ease-in-out);
    position: relative;
    flex: 1 0 auto;
    text-align: center;
    text-shadow: 0px 1px 8px #004379;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link:hover {
    /* color: var(--color-brand-primary); */
}

.nav-link.active {
    font-weight: var(--font-weight-medium);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 25%;
    width: 50%;
    height: 3px;
    background-color: var(--color-accent-dark);
    z-index: -1;
}

.nav-divider {
    height: 40px;
    width: 2px;
    background-image: url('nav-divider.png');
}

.nav-link-group {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--spacing-15);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    width: 18px;
    height: 18px;
    cursor: pointer;
    position: relative;
}

.nav-link-en {
    display: inline-block;
    width: 26px;
    height: 26px;
    background-image: url('icon-en.png');
    background-size: 100% 100%;
    transition: all 0.3s ease-in-out;
}

.nav-link-en:hover {
    background-image: url('icon-en-hover.png');
}

.nav-link-search {
    display: inline-block;
    width: 26px;
    height: 26px;
    background-image: url('icon-search.png');
    background-size: 100% 100%;
    transition: all 0.3s ease-in-out;
}

.nav-link-search:hover {
    background-image: url('icon-search-hover.png');
}



/* 页脚 */
.footer {
    background-image: url('bg-footer.png');
    background-size: 100% 100%;
    color: #ffffff;
    padding: var(--spacing-40) 0 var(--spacing-20);
    font-size: var(--font-size-text-base);
}

.footer-divider {
    width: 1px;
    /* 分隔线高度 */
    height: 130px;
    background: #FFFFFF;
    opacity: 0.3;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-20);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-logo {
    width: 300px;
    margin-bottom: var(--spacing-30);
}

.footer-logo img {
    width: 100%;
    object-fit: contain;
    height: 40px;
}

.footer-info {
    flex: 0 0 365px;
    min-width: 300px;
}



.contact-item {
    margin-bottom: var(--spacing-10);
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-item i {
    margin-right: var(--spacing-10);
    width: 16px;
    text-align: center;
}

.footer-nav li {
    margin-bottom: var(--spacing-10);
}

.footer-nav li a {
    transition: all 0.3s ease-in-out;
}

.footer-nav li a:hover {
    color: var(--color-brand-secondary);
}

.footer-hotline {
    font-family: BebasNeueCyrillic;
    font-size: 45px;
    color: #FFFFFF;
    line-height: 45px;
}

.footer-wechat {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-40);
}

.wechat-info div {
    margin-bottom: var(--spacing-10);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: var(--spacing-30);
    padding-top: var(--spacing-20);
    text-align: center;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* 页面banner区域 */
.page-banner {
    position: relative;
    width: 100%;
    height: 530px;
    overflow: hidden;
}

.banner-content {
    width: 100%;
    height: 100%;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.breadcrumb {
    padding-top: 13px;
    font-weight: 400;
    font-size: var(--font-size-text-md);
    color: #999999;
    line-height: 35px;
    z-index: 1;
    position: relative;
}

/* 内容区域 */
.page-content {
    position: relative;
    background-color: #fff;
    padding-bottom: 100px;
}

.content-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0;
    z-index: 1;
}

.content-title {
    --title-image: attr(data-image);
    font-weight: bold;
    color: #333333;
    text-align: center;
    position: relative;
}

.content-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 6px;
    background-color: var(--color-brand-secondary);
    margin-top: 30px;
}

.content-title img {
    object-fit: contain;
    max-width: 70%;
    height: auto;
}

/* 内容样式 */
.content {
    position: relative;
    z-index: 1;
    padding: var(--spacing-40) 0 0;
    min-height: 445px;
    /* overflow: hidden; */
}

@media screen and (min-width: 768px) {
    .content-container {
        padding: 0 var(--spacing-20);
    }
}

/* 方块背景 */
.block-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.block-container {
    position: absolute;
    transform-origin: center;
}

.block {
    position: relative;
    width: 100%;
    height: 100%;
    background-image: url('block-clipt.png');
    background-size: cover;
    background-position: center;
}



.banner-container {
    position: relative;
}

.sub-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;

}

.nav-content {
    background: rgba(255, 255, 255, 0.3);
    padding: 8px 0;
    display: flex;
    justify-content: center;
}

.nav-content ul {
    max-width: var(--container-max-width);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: var(--spacing-20);
}

.sub-nav-link {
    font-weight: bold;
    font-size: var(--font-size-text-md);
    color: #F1F1F1;
    line-height: 2;
    border-radius: 5px;
    flex: 1;
    text-align: center;
    transition: all 0.3s ease;
    padding: 0 16px;
}

.sub-nav-link a {
    display: block;
    width: 100%;
}

.sub-nav-link:hover {
    background-color: var(--color-brand-secondary);
}

.sub-nav-link.active {
    background-color: var(--color-brand-secondary);
}

.sub-nav-link:last-child {
    margin-right: 0;
}

/* 入场动画样式 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.8s ease-out;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-out {
    opacity: 1;
    transform: translateY(-30px);
    transition: transform 0.8s ease-out;
}

.fade-out.active {
    transform: translateY(0);
}

.zoom-in {
    opacity: 1;
    transform: scale(0.95);
    transition: transform 1s ease-out;
}

.zoom-in.active {
    transform: scale(1);
}

.zoom-out {
    opacity: 1;
    transform: scale(1.15);
    transition: transform 1s ease-out;
}

.zoom-out.active {
    transform: scale(1);
}

.slide-up {
    opacity: 1;
    transform: translateY(50px);
    transition: transform 1s ease-out;
}

.slide-up.active {
    transform: translateY(0);
}

/* 延迟动画 */
.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

.delay-4 {
    transition-delay: 0.8s;
}

/* 滑入动画 */
.slide-in-left {
    opacity: 1;
    transform: translateX(-30px);
    transition: transform 0.8s ease-out;
}

.slide-in-left.active {
    transform: translateX(0);
}

.slide-in-right {
    opacity: 1;
    transform: translateX(30px);
    transition: transform 0.8s ease-out;
}

.slide-in-right.active {
    transform: translateX(0);
}

/* 搜索模态框样式 */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.search-modal.active {
    display: flex;
    align-items: self-start;
    justify-content: center;
}

.search-modal-content {
    width: 100%;
    max-width: 1240px;
    padding: 0 20px;
    text-align: center;
    margin-top: 380px;
    position: relative;
}

.search-close {
    position: absolute;
    top: -200px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 100000;
    transition: all var(--animation-duration-fast) var(--animation-ease-in-out);
}

.search-close:hover {
    transform: scale(1.1);
}

.search-form {
    width: 100%;
    display: flex;
    margin-bottom: 20px;
    gap: 15px;
}

.search-type-btn {
    flex: 1;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    background: transparent;
    color: #ffffff;
    font-size: var(--font-size-text-md);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all var(--animation-duration-fast) var(--animation-ease-in-out);
}

.search-type-btn:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
}

.search-type-btn.active {
    border-color: var(--color-brand-primary);
    background: var(--color-brand-primary);
    color: #ffffff;
}

/* 搜索结果页面的切换按钮（浅色背景） */
.search-type-toggle-results {
    justify-content: center;
    max-width: 600px;
    margin: 0 auto var(--spacing-20);
}

.search-type-toggle-results .search-type-btn {
    border-color: var(--color-neutral-300);
    color: var(--color-text-primary);
    background-color: var(--color-white);
}

.search-type-toggle-results .search-type-btn:hover {
    border-color: var(--color-brand-primary);
}

.search-type-toggle-results .search-type-btn.active {
    border-color: var(--color-brand-primary);
    background: var(--color-brand-primary);
    color: #ffffff;
}

/* 搜索结果页的搜索类型下拉选择 */
.search-type-select {
    height: 40px;
    padding: 0 var(--spacing-12);
    font-size: var(--font-size-text-sm);
    font-family: var(--font-family-primary);
    border: 2px solid var(--color-neutral-300);
    border-radius: var(--spacing-4);
    outline: none;
    background-color: var(--color-white);
    color: var(--color-text-primary);
    cursor: pointer;
    transition: all var(--animation-duration-fast) var(--animation-ease-in-out);
    appearance: auto;
    -webkit-appearance: auto;
    min-width: 80px;
}

.search-type-select:focus {
    border-color: var(--color-brand-primary);
}

.search-type-select:hover {
    border-color: var(--color-brand-primary);
}

/* 搜索按钮内的内嵌类型选择 */
.search-type-toggle-inline {
    margin-left: 6px;
    padding: 0 4px;
    font-size: 18px;
    font-family: var(--font-family-primary);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    appearance: auto;
    -webkit-appearance: auto;
    outline: none;
}

.search-type-toggle-inline option {
    background: transparent;
    color: #000;
}

.search-type-toggle-inline:hover {
    border-color: rgba(255, 255, 255, 0.8);
}

.search-type-toggle-inline:focus {
    border-color: #ffffff;
}

.search-input {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    font-size: var(--font-size-text-base);
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
    border-radius: 10px;
    transition: all var(--animation-duration-fast) var(--animation-ease-in-out);
}

.search-input:hover {
    transform: scale(1.005);
}

.search-button {
    width: auto;
    min-width: 120px;
    height: 51px;
    background-color: var(--color-brand-primary);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--animation-duration-fast) var(--animation-ease-in-out);
}

.search-button:hover {
    background-color: var(--color-brand-secondary);
    transform: scale(1.03)
}

.search-history {
    color: #666666;
    font-size: 18px;
    text-align: start;
    margin-left: 40px;
}

.search-history span {
    margin-right: 10px;
}

.search-history a {
    text-decoration: none;
    margin: 0 25px;
    transition: color var(--animation-duration-fast) var(--animation-ease-in-out);
}

.search-history a:hover {
    color: #999;
}

@media screen and (max-width: 768px) {
    .search-button {
        min-width: 1.5rem;
        height: 0.8rem;
    }

    .search-input {
        height: 0.8rem;
    }

    .search-type-toggle-inline {
        height: 0.8rem;
        font-size: 0.24rem;
    }

    .search-history {
        font-size: 0.24rem;
    }
}

/* 响应式设计 — 移动端 max-width: 768px */
@media screen and (max-width: 768px) {
    body {
        font-size: var(--font-size-text-base);
    }

    .page-content {
        padding-bottom: 0.53333rem;
    }

    .content-title::after {
        height: 0.08rem;
        margin-top: 0.4rem;
    }

    .content {
        min-height: 5.93333rem;
    }

    .breadcrumb {
        padding-top: 0.17333rem;
        line-height: 0.46667rem;
        text-align: center;
    }

    /* 导航栏 */
    .navbar {
        padding: 0 var(--spacing-20);
    }

    .logo {
        margin-right: 0;
        flex: 0 1 4.33333rem;
    }

    .logo img {
        min-width: 2.93333rem;
    }

    .navbar-left {
        width: var(--navbar-height);
        height: var(--navbar-height);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        background-color: #EF3132;
        position: relative;
        left: -0.255rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-20);
        gap: var(--spacing-15);
        z-index: 999;
        height: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        display: block;
        width: 100%;
        text-align: left;
        padding: var(--spacing-10) 0;
        border-bottom: 0.01333rem solid rgba(255, 255, 255, 0.1);
        line-height: 3;
        font-size: 0.39rem;
        text-shadow: 0 0.01333rem 0.10667rem #004379;
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-link-group {
        justify-content: flex-end;
    }

    .nav-divider {
        height: 0.53333rem;
        width: 0.02667rem;
    }

    .nav-link-en,
    .nav-link-search {
        width: 0.53333rem;
        height: 0.53333rem;
    }

    .mobile-menu-btn {
        display: block;
        width: 0.36rem;
        height: 0.36rem;
        cursor: pointer;
        position: relative;
    }

    .mobile-menu-btn span {
        display: block;
        position: absolute;
        height: 0.02667rem;
        width: 100%;
        background: #fff;
        border-radius: 0.02667rem;
        transition: all 0.3s ease;
    }

    .mobile-menu-btn span:nth-child(1) {
        top: 0.08rem;
    }

    .mobile-menu-btn span:nth-child(2) {
        top: 0.2rem;
    }

    .mobile-menu-btn span:nth-child(3) {
        top: 0.32rem;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 0.16rem;
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg);
        top: 0.16rem;
    }

    /* 页脚 */
    .footer {
        font-size: 0.24rem;
    }

    .footer-container {
        align-items: flex-start;
        flex-direction: column;
        max-width: 18.66667rem;
    }

    .footer-info {
        flex: 0 0 66%;
    }

    .footer-nav {
        flex: 0 0 35%;
        display: flex;
        justify-content: center;
    }

    .footer-info,
    .footer-nav,
    .footer-hotline,
    .footer-wechat {
        margin-bottom: var(--spacing-20);
    }

    .footer-divider {
        width: 0.01333rem;
        height: 1.73333rem;
    }

    .footer-logo {
        width: 4rem;
    }

    .footer-logo img {
        height: 0.53333rem;
    }

    .footer-info {
        flex: 0 0 4.86667rem;
        min-width: 4.75rem;
    }

    .contact-item {
        gap: 0.06667rem;
    }

    .contact-item i {
        width: 0.21333rem;
    }

    .footer-hotline {
        font-size: 0.35rem;
        line-height: 0.6rem;
        text-align: center;
        flex: 0 0 40%;
        margin-bottom: 0;
        /* border-left: 0.01333rem solid rgba(255, 255, 255, 0.3); */
    }

    .footer-bottom {
        /* flex-direction: column; */
        gap: var(--spacing-10);
        text-align: center;
        border-top: 0.01333rem solid rgba(255, 255, 255, 0.2);
    }

    .page-banner {
        height: 9.06667rem;
    }

    .content-container {
        padding: 0 0.4rem;
    }

    /* 子导航 */
    .nav-content {
        padding: 0.20667rem 0.1rem;
        overflow-y: scroll;
    }

    .nav-content ul {
        gap: var(--spacing-15);
        justify-content: flex-start;
    }

    .sub-nav-link {
        font-size: var(--font-size-text-lg);
        font-weight: 400;
        line-height: 0.65333rem;
        min-width: 5rem;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 0.06667rem;
        padding: 0.2rem 0.2rem;

    }

    .sub-nav-link:hover {
        background-color: #4A5DFF;
    }

    .sub-nav-link.active {
        background-color: #4A5DFF;
    }

    .content-title img {
        max-width: 70%;
        min-width: 250px;
    }

    /* 搜索 */
    .search-modal-content {
        max-width: 16.53333rem;
        padding: 0 0.26667rem;
        margin-top: 5.06667rem;
    }

    .search-close {
        top: -2.66667rem;
        right: 0.26667rem;
        font-size: 0.4rem;
    }

    .search-form {
        margin-bottom: 0.26667rem;
        gap: 0.2rem;
    }

    .search-type-btn {
        height: 0.66667rem;
        font-size: var(--font-size-text-sm);
        border-width: 0.02667rem;
        border-radius: 0.10667rem;
    }

    .search-type-toggle-results {
        max-width: 8rem;
    }

    .search-type-select {
        height: 0.53333rem;
        border-width: 0.02667rem;
        min-width: 1.06667rem;
    }

    .search-type-toggle-inline {
        margin-left: 0.08rem;
        padding: 0 0.05333rem;
        font-size: 0.29rem;
        border-width: 0.01333rem;
        border-radius: 0.05333rem;
    }

    .search-input {
        height: 0.66667rem;
        padding: 0 0.26667rem;
        font-size: 0.21333rem;
        border-radius: 0.13333rem;
    }

    .search-button {
        min-width: 1.6rem;
        height: 0.68rem;
        border-radius: 0.13333rem;
    }

    .search-history {
        font-size: 0.29rem;
        margin-left: 0.53333rem;
    }

    .search-history span {
        margin-right: 0.13333rem;
    }

    .search-history a {
        margin: 0 0.33333rem;
    }
}