﻿@charset "UTF-8";

:root {
    --varColor: #0A3788;
}

@font-face {
    font-family: D-DIN-PRO;
    src: url("../fonts/D-DIN-PRO-Bold.otf")
}

@font-face {
    font-family: ApexMk2;
    src: url("../fonts/ApexMk2-BoldExtended.ttf")
}

html {
    font-size: calc(100vw / 1920 * 100);
    scroll-behavior: smooth;
}

/*@media screen and (max-width: 1440px) {*/
/*    html {*/
/*        font-size: 96px;*/
/*    }*/
/*}*/

/*@media screen and (max-width: 1280px) {*/
/*    html {*/
/*        font-size: 88px;*/
/*    }*/
/*}*/

* {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    list-style: none;
    box-sizing: border-box;
}

body {
    font-family: "microsoft yahei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: clamp(12px, 0.14rem, 0.14rem);
    color: #333;
    line-height: 1.5;
    min-height: 100vh;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    background-size: contain;
}

a {
    color: #333;
    text-decoration: none;
    transition: .3s;
}

a:hover {
    color: var(--varColor);
    text-decoration: none;
}

img {
    vertical-align: middle;
    border: 0;
    max-width: 100%;
    object-fit: cover;
    transition: .3s;
}

.img {
    display: block;
    overflow: hidden;
}

.img img {
    width: 100%;
    height: 100%;
    object-position: center top;
}

.img:hover img {
    transform: scale(1.1);
}

video {
    max-width: 100%;
    height: max-content;
    object-fit: cover;
}

table {
    max-width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
}

table td, table th {
    padding: 0.05rem 0.1rem;
    border: 1px solid #ddd;
}

.container {
    width: 17.2rem;
    margin: 0 auto;
    position: relative;
}

.container::before {
    content: '';
    display: table;
    clear: both;
}

.flex {
    display: flex;
    /*flex-wrap: wrap;*/
    justify-content: space-between;
}

.flex::before {
    display: none;
}

.ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.ellipsis-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-align: justify;
}

.ellipsis-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-align: justify;
}

.ellipsis-4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-align: justify;
}

/*头部*/
header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    padding: 0.16rem 0;
    transition: .3s;
    animation: slideInDown 1s;
}

header.fixed {
    position: fixed;
    padding: 0;
}

header > .flex {
    align-items: center;
    padding: 0.2rem 0.36rem 0.2rem 0.25rem;
    background: rgba(0, 0, 0, 0.21);
    border-radius: 0.08rem;
    backdrop-filter: blur(5px);
}

header.fixed > .flex {
    padding: 0.1rem 0.36rem 0.1rem 0.25rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

header .logo img {
    height: 0.52rem;
}

/*导航*/
.menu {
    display: flex;
    flex-grow: 1;
    justify-content: right;
}

.menu li {
    position: relative;
}

.menu li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 0.6rem;
    color: #fff;
    font-size: clamp(14px, 0.16rem, 0.16rem);
    padding: 0 0.15rem;
}

.menu li:hover > a {
    color: #00AAFF;
}

.menu li dl {
    position: absolute;
    top: 0.6rem;
    left: 50%;
    min-width: 100%;
    width: max-content;
    padding: 0.1rem 0;
    background: rgba(10,23,51,0.83);
    backdrop-filter: blur(5px);
    border-radius: 0.08rem;
    transform: translateX(-50%);
    z-index: 9;
    display: none;
}

.menu li dl dt a {
    height: 0.36rem;
    padding: 0 0.1rem;
    font-size: clamp(13px, 0.15rem, 0.15rem);
}

.menu li dl dt a:hover {
    background: rgba(15,36,81,0.85);
    border-radius: 8px 8px 8px 8px;
}

.query {
    display: flex;
    align-items: center;
    margin-left: 0.2rem;
}

.query a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.15rem;
    height: 0.48rem;
    color: #fff;
    cursor: pointer;
    margin-right: 0.13rem;
    background: #323232;
    border-radius: 0.08rem;
}

.query a:hover {
    background: var(--varColor);
}

.query a img {
    width: 0.18rem;
}

.query a:first-of-type img {
    width: 0.24rem;
    margin-right: 0.05rem;
}

.query span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 0.48rem;
    padding: 0 0.12rem;
    color: #fff;
    font-family: D-DIN-PRO;
    font-weight: bold;
    font-size: 0.25rem;
    background: #00AAFF;
    border-radius: 0.08rem;
}

.query span img {
    width: 0.27rem;
}

/*搜索*/
.search {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    background: linear-gradient(0deg, var(--varColor), #FCE2E2);
    z-index: 999;
}

.search.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.search p {
    font-size: 0.36rem;
    color: #fff;
    text-align: center;
    line-height: 1.2em;
    margin-bottom: 0.2rem;
}

.search form {
    position: relative;
    width: 40%;
}

.search input[type='text'] {
    width: 100%;
    height: 0.5rem;
    color: #fff;
    font-size: 0.2rem;
    padding: 0 0.5rem 0 0.25rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem;
    box-sizing: border-box;
}

.search input[type='text']::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search input[type='submit'] {
    position: absolute;
    top: 0;
    right: 0;
    width: 0.5rem;
    height: 0.5rem;
    cursor: pointer;
    background: url("../images/search.png") no-repeat center;
    background-size: 0.25rem;
}

.close {
    position: absolute;
    top: 0.2rem;
    right: 0.2rem;
    color: #fff;
    font-size: 0.36rem;
    width: 1em;
    height: 1em;
    line-height: 0.85em;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

/*栏目*/
.title {
    margin: 0.5rem 0;
    font-size: 0.28rem;
}

.title span {
    display: block;
    font-family: ApexMk2;
    font-size: 0.84rem;
    color: #E6ECF2;
    text-transform: uppercase;
    line-height: 1em;
    margin-bottom: -0.3rem;
}

.title h2 {
    font-size: 0.36rem;
}

.title p {
    display: flex;
    align-items: baseline;
}

.title p i {
    color: #AEAEAE;
    font-size: 0.2rem;
    font-style: normal;
    margin-left: 0.1rem;
}

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

.title .more a {
    display: inline-flex;
    align-items: center;
    font-family: D-DIN-PRO;
    font-weight: bold;
    font-size: clamp(15px, 0.17rem, 0.17rem);
    color: #B2BBC1;
    margin-left: 0.1rem;
}

.title .more a::after {
    content: '';
    width: 0.63rem;
    height: 2px;
    margin-left: 5px;
    background: #B2BBC1;
    transition: .3s;
}

.title .more a:hover {
    color: var(--varColor);
}

.title .more a:hover::after {
    width: 0.43rem;
    background: var(--varColor);
}

.title .more div {
    position: static;
    width: 0.73rem;
    height: 0.73rem;
    margin-top: 0;
    background: url("../images/arrow-prev.png") no-repeat;
    background-size: contain;
    cursor: pointer;
}

.title .more div::before, .title .more div::after {
    display: none;
}

.title .more .swiper-button-next {
    background-image: url("../images/arrow-next.png");
}

/*news*/
.news .swiper-slide {
    font-size: clamp(16px, 0.18rem, 0.18rem);
}

.news .swiper-slide .img {
    height: 2.26rem;
    border-radius: 0.08rem;
}

.news .swiper-slide > span {
    display: block;
    margin: 0.2rem 0;
    color: #666;
}

.news .swiper-slide a:hover {
    font-weight: bold;
}

/*尾部*/
footer {
    color: #fff;
    margin-top: 0.5rem;
    padding: 0.55rem 0;
    background: url("../images/footer.jpg") no-repeat;
    background-size: cover;
    overflow: hidden;
}

.footer-left .logo img {
    height: 0.67rem;
}

.footer-left .motto img {
    width: 3.88rem;
    margin: 0.24rem 0 0.42rem;
}

.footer-left .order {
    margin-bottom: 1.46rem;
}

.footer-left .order a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 0.55rem;
    padding: 0 0.24rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.41);
}

.footer-left .order a img {
    width: 0.18rem;
}

.footer-left .qrCode img {
    width: 1rem;
}

.footer-left .qrCode p {
    margin-top: 0.1rem;
    text-align: center;
    font-size: clamp(10px, 0.12rem, 0.12rem);
}

.footer-right {
    width: 56%;
}

.nav li {
    font-size: clamp(13px, 0.15rem, 0.15rem);
}

.nav li a {
    color: #fff;
}

.nav li > a {
    font-weight: bold;
}

.nav li dl {
    margin-top: 0.2rem;
}

.nav li dl dt {
    line-height: 2em;
}

.nav li dl dt a {
    color: #CFE3FF;
    position: relative;
    left: 0;
}

.nav li dl dt a:hover {
    color: orangered;
    left: 1em;
}

.footer-right > div {
    padding: 0.4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-right .contact {
    display: flex;
    gap: 0.5rem;
    padding: 0.2rem 0;
    margin-top: 0.5rem;
}

.footer-right .contact h3 {
    font-family: D-DIN-PRO;
    font-size: 0.22rem;
}

.footer-right .copyright {
    padding: 0.3rem 0 0;
}

.footer-right .copyright a {
    color: #fff;
}

.footer-right .copyright a:hover {
    color: orangered;
    text-decoration: underline;
}

/*返回顶部*/
.toTop img {
    width: 0.46rem;
    cursor: pointer;
}

section {
    position: relative;
    flex-grow: 1;
    width: 100%;
    padding-bottom: 0.5rem;
}

/*响应式适配多端*/
@media screen and (max-width: 1440px) {

    .container {
        width: 93.75%;
    }

}

@media screen and (max-width: 1200px) {

    .container {
        width: 100%;
        padding: 0 20px;
    }

}
