input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

select,
button,
input,
textarea {
    outline: none;
}

ul,
ol,
li {
    list-style: none;
}

:root {
    --footer-bg-color: #015bac;
    --background: #f7f7f7;
    --theme-color: #015bac;
    --border-color: #ececec;
    --navbar-bg-color: #015bac;
    --navbar-item-hover-bg-color: #ffffff;
    --navbar-item-space-line-color: #cecece88;
    --text-color: #333333;
    --text-gray: #666666;
    --container-width: 1536px;
    --header-container-height: 200px;
    --navbar-height: 54px;
    --space-size: 15px;
    --article-title-font-size: 24px;
    --article-list-font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--background);
    min-width: 1552px;
}

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

@keyframes popFadeIn {
    from {
        opacity: 0;
        transform: translate3d(0, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, -50%, 0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-10%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.space-row {
    margin-bottom: var(--space-size);
}

.space-col {
    margin-bottom: var(--space-size);
}

.text-center {
    text-align: center;
}

.space-bisect,
.space-trisection {
    display: flex;
    gap: var(--space-size);
}

.space-bisect .space-item {
    width: calc(50% - (var(--space-size) / 2));
    background: #fff;
}

.space-bisect .space-item:first-child {
    padding: 20px;
}

.space-bisect .space-item:last-child {
    padding: 0 20px;
}

.space-trisection .space-item {
    width: calc((100% / 3) - (var(--space-size) * 2 / 3));
    background: #fff;
    padding: 0 20px;
}

[class$="-container"] {
    max-width: var(--container-width);
    margin: 0 auto;
}

.head-background {
    width: 100%;
    height: var(--header-container-height);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background: #fff;
}

.head-background .swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.header {
    width: 100%;
    position: relative;
    background: var(--theme-color);
}

.header-container {
    width: 100%;
    /* height: var(--header-container-height); */
    display: flex;
    align-items: center;
    position: relative;
    z-index: 9;
}

.header-container .logo-wrapper {
    display: flex;
    align-items: center;
}

.header-container .logo-wrapper .site-name {
    font-size: 48px;
    font-weight: bold;
}

.header-container .logo-wrapper .logo {
    height: 111px;
    width: auto;
    margin-right: 30px;
}

.top-links {
    position: absolute;
    right: 0;
    top: 15px;
}

.top-links .list {
    display: flex;
    gap: 15px;
}

.top-links .list a {
    font-size: 14px;
    color: #fff;
    display: block;
    line-height: 14px;
    padding-left: 15px;
}

.top-links .list a + a {
    border-left: 1px solid var(--border-color);
}

.top-links .list a:hover {
    color: #333333;
}

.search {
    border: 1px solid var(--theme-color);
    border-radius: 4px;
    position: absolute;
    right: 0;
    top: 70px;
    transform: translateY(-50%);
    overflow: hidden;
}

.search input {
    width: 300px;
}

.search select,
.search input,
.search button {
    height: 40px;
    padding: 0 20px;
    border: none;
    outline: none;
    font-size: 16px;
}

.search select {
    padding: 0 10px;
}

.search button {
    background: #2d87d8;
    color: white;
    padding: 0 30px;
    cursor: pointer;
}

.search .search-form {
    display: flex;
}

.mobile-header {
    display: none;
}

.mobile-menu-toggle {
    display: none;
}

.mobile-menu-close {
    display: none;
}

.navbar {
    background: var(--navbar-bg-color);
}

.navbar-container {
    display: flex;
    align-items: center;
}

.navbar-container .nav-item {
    flex: 1;
    height: var(--navbar-height);
    color: white;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.navbar-container .nav-item:hover {
    background: #ffffff;
}

.navbar-container .nav-item:hover .nav-item__text {
    color: var(--theme-color);
    border-bottom: 1px solid var(--theme-color);
}

.navbar-container .nav-item .nav-item__text::before {
    content: "";
    width: 1px;
    height: 50%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--navbar-item-space-line-color);
}

.navbar-container .nav-item:last-child .nav-item__text::after {
    content: "";
    width: 1px;
    height: 50%;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--navbar-item-space-line-color);
}

.navbar-container .nav-item.active .nav-item__text {
    color: var(--theme-color) !important;
}

.navbar-container .nav-item.active {
    background-color: #ffffff;
    border-bottom: 1px solid var(--theme-color);
}

.navbar-container .nav-item .nav-item__text {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 20px;
    font-weight: bold;
    box-sizing: border-box;
}

.navbar-container .nav-item:hover .sub-navs {
    max-height: 800px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-container .nav-item .sub-navs {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--navbar-item-hover-bg-color);
    opacity: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    border-left: 1px solid var(--theme-color);
    border-right: 1px solid var(--theme-color);
    border-bottom: 1px solid var(--theme-color);
}

.navbar-container .nav-item .sub-navs .sub-nav__item {
    padding: 10px;
    display: block;
    color: var(--theme-color);
}

.navbar-container .nav-item .sub-navs .sub-nav__item:hover {
    background: #dddddd;
}

.nav-overlay {
    display: none;
}

.header-swiper {
    width: 100%;
    height: 200px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.header-swiper .swiper-slide {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat no-repeat;
}

.banner-swiper {
    height: 400px;
    background: var(--background);
}

.banner-swiper .swiper-slide img {
    height: 100%;
    width: 100%;
    display: block;
    object-fit: cover;
}

.banner-swiper .swiper-pagination {
    right: 50% !important;
    transform: translateX(50%);
}

.footer {
    border-top: 1px solid var(--theme-color);
    background: var(--footer-bg-color);
}

.content-bottom {
    display: flex;
    align-items: center;
    padding: 20px 0 30px;
}

.contact-info {
    flex: 1;
}

.contact-info .item,
.contact-info .item a {
    color: #fff;
    font-size: 14px;
}

.contact-info .item + .item {
    margin-top: 10px;
}

.contact-info .item a:hover {
    color: #FFFFFF;
}

.contact-image {
    display: flex;
    align-items: center;
    /* gap: 10px; */
}

.contact-image .image {
    width: 80px;
    height: 80px;
    /* padding: 5px; */
    /* border: 1px solid #eeeeee;
    background: #f9f9f9; */
}

.contact-image .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.footer-nav {
    display: flex;
    gap: 20px;
    padding: 40px 0 15px;
    border-bottom: 1px solid #176dbb;
}

.footer-nav a{
    color: #fff;
}

.flink {
    margin: 0 auto 15px;
    width: var(--container-width);
    min-height: 100px;
    background-color: #ffffff;
    padding: 20px;
}

.flink .head {
    gap: var(--space-size);
    display: inline-block;
    border-bottom: 1px solid var(--theme-color);
}

.flink .head .label,
.flink .head .item {
    color: #333333;
    padding-bottom: 10px;
}

.flink .head .label {
    font-weight: bold;
}

.flink .flink-list-wrapper:not(:first-child) {
    display: none;
}

.flink-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.flink-list li {
    background-color: #eeeeee;
    text-align: center;
    border: 1px solid #efefef;
}

.flink-list li a {
    color: #333333;
    font-size: 15px;
    display: block;
    padding: 15px 15px;
}

.flink-list li:hover {
    background-color: var(--theme-color);
    border: 1px solid var(--theme-color);
}

.flink-list li:hover a {
    color: #ffffff;
}

.crumbs-container {
    padding: 15px 0;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e4e4e4;
}

.crumbs-container .name {
    font-size: 24px;
    font-weight: bold;
    color: var(--theme-color);
    position: relative;
    padding-left: 30px;
}

.crumbs-container .name::before {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--theme-color);
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    left: 0;
    top: 50%;
}

.crumbs {
    color: #999999;
    display: flex;
    font-size: 15px;
}

.crumbs .crumb-item + .crumb-item::before {
    content: ">";
    font-family: "iconfont";
    margin: 0 8px 0 5px;
}

.crumbs-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.crumbs-wrapper .name {
    font-size: 24px;
    font-family: microsoft yahei ui, microsoft yahei, serif;
}

.message {
    padding: 10px 20px;
    border-radius: 5px;
    position: fixed;
    top: -100%;
    left: 50%;
    color: #ffffff;
    z-index: 999;
    transform: translate(-50%, 0);
    box-shadow:
        0 6px 30px 5px rgba(0, 0, 0, 0.05),
        0 16px 24px 2px rgba(0, 0, 0, 0.04),
        0 8px 10px -5px rgba(0, 0, 0, 0.08),
        inset 0 0.5px 0 #dcdcdc,
        inset 0.5px 0 0 #dcdcdc,
        inset 0 -0.5px 0 #dcdcdc,
        inset -0.5px 0 0 #dcdcdc;
    display: flex;
    align-items: center;
    gap: 5px;
    background: white;
}

.message-success {
    color: #67c23a;
}

.message-error {
    color: #f76c6c;
}

.message-animation-show {
    top: 5%;
    transition: top 1s ease-out;
}

.message-animation-hide {
    top: -100%;
    transition: top 1s ease-out;
}

.seal {
    width: 240px;
    height: 240px;
    pointer-events: none;
    position: absolute;
    top: 30px;
    right: 60px;
    background: url("front/images/seal-HHQrAU3.png") center center no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seal div {
    height: 40px;
    width: 100%;
    text-align: center;
    font-size: 32px;
    color: #f40101;
    transform: rotate(-16deg);
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    line-height: 40px;
    font-weight: bold;
    position: relative;
    top: -10px;
}

.seal span {
    position: absolute;
    transform: rotate(-16deg);
    top: 130px;
    left: 50px;
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    color: #f40101;
    font-size: 12px;
}

.result-container {
    min-height: 400px;
    height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.result-bg-img {
    width: 200px;
    color: #0052d9;
}

.result-title {
    font: 20px / 24px PingFang SC, Microsoft YaHei, Arial Regular;
    font-style: normal;
    margin-top: 16px;
    color: rgba(0, 0, 0, 0.9);
}

.result-tip {
    margin: 8px 0 32px;
    font: 14px / 22px PingFang SC, Microsoft YaHei, Arial Regular;
    color: rgba(0, 0, 0, 0.6);
}

.result-back-btn {
    color: white;
    font: 14px / 22px PingFang SC, Microsoft YaHei, Arial Regular;
    background: #0052d9;
    height: 32px;
    line-height: 32px;
    padding: 0 15px;
    border-radius: 3px;
}

.tip-bar {
    color: white;
}

.tip-bar-container {
    background: #c7e1f8;
    padding: 10px 15px;
    color: #687683;
}

.article-warning {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    gap: 10px;
    color: #666666;
}

.fixed-qrcode {
    position: fixed;
    top: 295px;
    right: 165px;
    background: var(--theme-color);
    padding: 10px;
    z-index: 999999;
    width: 120px;
}

.fixed-qrcode .item {
    width: 100px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fixed-qrcode .item + .item {
    border-top: 1px solid var(--border-color);
    padding-top: 13px;
    margin-top: 13px;
}

.fixed-qrcode .item span {
    font-size: 12px;
    margin-top: 10px;
    color: #ffffff;
}

.fixed-qrcode .item .icon {
    width: 100px !important;
    height: auto;
    display: block;
}

.fixed-qrcode .item .popover {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -190px;
    background: #fff;
    padding: 10px;
    text-align: center;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.25);
}

.fixed-qrcode .item .popover::after {
    content: "";
    border: 8px solid transparent;
    border-left-color: #fff;
    display: block;
    position: absolute;
    top: 50%;
    margin-top: -8px;
    right: -16px;
}

.fixed-qrcode .item .popover > img {
    width: 150px;
    height: 150px;
    display: block;
    margin-bottom: 5px;
}

.fixed-qrcode .item:hover .popover {
    display: block;
    animation: popFadeIn 0.5s;
}

@media screen and (max-width: 768px) {
    :root {
        --container-width: 100%;
        --header-container-height: 120px;
        --article-title-font-size: 20px;
        --navbar-height: 44px;
    }

    body {
        min-width: 0;
        overflow-x: hidden;
    }

    .header {
        height: auto;
    }

    .header-container {
        flex-direction: column;
        justify-content: center;
        padding: 10px 15px;
    }

    .header-container .logo-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .header-container .logo-wrapper .logo {
        margin-right: 0;
        height: 80px;
    }

    .header-container .logo-wrapper .site-name {
        font-size: 28px;
    }

    .top-links {
        display: none;
    }

    .search {
        display: none;
    }

    .mobile-header {
        display: flex;
        position: relative;
        width: 100%;
        height: 44px;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
        background-color: var(--theme-color);
        color: #fff;
        z-index: 100;
    }

    .mobile-home {
        color: #fff;
        text-decoration: none;
        font-size: 16px;
    }

    .mobile-home.active {
        font-weight: bold;
        border-bottom: 2px solid #fff;
    }

    .mobile-menu-toggle {
        background: none;
        border: none;
        color: #fff;
        font-size: 24px;
        cursor: pointer;
        padding: 5px;
        display: block;
        margin-left: auto;
    }

    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        overflow-y: auto;
        background-color: #fff;
        display: none;
        z-index: 9999;
    }

    .mobile-menu-close {
        display: block;
        align-self: flex-end;
        background: none;
        border: none;
        font-size: 28px;
        color: var(--text-color);
        cursor: pointer;
        padding: 15px 20px;
        line-height: 1;
    }

    .navbar.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        animation: slideDown 0.3s ease-in-out;
    }

    .navbar-container {
        flex-direction: column;
        list-style: none;
        width: 100%;
        max-width: 320px;
    }

    .navbar-container .nav-item {
        flex: none;
        border-bottom: 1px solid #eee;
    }

    .navbar-container .nav-item .nav-item__text::before,
    .navbar-container .nav-item:last-child .nav-item__text::after {
        display: none;
    }

    .navbar-container .nav-item .nav-item__text {
        color: var(--text-color);
        justify-content: flex-start;
        padding: 0 20px;
        font-size: 16px;
    }

    .navbar-container .nav-item.active {
        background-color: #f5f5f5;
        border-bottom: none;
    }

    .navbar-container .nav-item.active .nav-item__text {
        color: var(--theme-color);
    }

    .navbar-container .nav-item:hover {
        background: #f5f5f5;
    }

    .navbar-container .nav-item:hover .nav-item__text {
        color: var(--theme-color);
        border-bottom: none;
    }

    .navbar-container .nav-item .sub-navs {
        position: static;
        box-shadow: none;
        background: #f8f8f8;
        border: none;
        opacity: 1;
        max-height: none;
        transform: none;
        visibility: visible;
        overflow: visible;
    }

    .navbar-container .nav-item .sub-navs .sub-nav__item {
        padding: 10px 30px;
        font-size: 14px;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9998;
    }

    .nav-overlay.active {
        display: block;
    }

    .banner-swiper {
        height: 280px;
    }

    .space-bisect .space-item:first-child {
        padding: 10px;
    }

    .space-bisect .space-item:last-child {
        padding: 0 10px;
    }

    .footer .footer-container {
        padding: 15px;
    }

    .content-bottom {
        flex-direction: column;
        padding: 15px 0;
        gap: 15px;
    }

    .contact-info {
        flex: none;
    }

    .contact-info .item,
    .contact-info .item a {
        font-size: 12px;
    }

    .contact-image {
        justify-content: center;
    }

    .flink {
        display: none;
    }

    .fixed-qrcode {
        display: none;
    }

    .space-bisect,
    .space-trisection {
        flex-direction: column;
    }

    .space-bisect .space-item,
    .space-trisection .space-item {
        width: 100%;
        padding: 10px;
    }

    .crumbs-wrapper {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .crumbs-wrapper .name {
        font-size: 16px;
    }

    .crumbs {
        font-size: 12px;
    }

    .seal {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    :root {
        --header-container-height: 100px;
        --article-title-font-size: 18px;
        --navbar-height: 40px;
    }

    .header-container .logo-wrapper .logo {
        height: 55px;
    }

    .header-container .logo-wrapper .site-name {
        font-size: 22px;
    }

    .navbar-container .nav-item .nav-item__text {
        font-size: 15px;
    }

    .banner-swiper {
        height: 200px;
    }

    .contact-image .image {
        width: 60px;
        height: 60px;
    }

    .crumbs-container .name {
        font-size: 20px;
        padding-left: 20px;
    }
}
