:root {
  /* 主体宽度 */
  --container-lg: 100%;
  --container-xl: 1200px;
}
body {
    color: #333;
    font-size: 14px;
    width: 100%;
    overflow-x: hidden;
}
a:hover {
    color: #A85F26;
}
#jz-header {
    position: sticky;
    top: 0;
    z-index: 5;
    height: 80px;
}
.jz-header {
    width: 100%;
    height: 100%;
    background-color: #fff;
    transition: all .5s;
}
.jz-header.home {
    background: linear-gradient(180deg, #110209 0%, rgba(17, 2, 9, 0) 100%);
}
.jz-header .header-content {
    width: 1200px;
    padding: 15px 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.jz-header .l {
    width: 570px;
    display: flex;
    align-items: center;
}
.jz-header .l ul {
    display: flex;
    align-items: center;
    padding: 0 20px
}

.jz-header .l ul li {
    margin: 0 20px;
    font-size: 20px;
    font-weight: 500;
    line-height: 45px;
    cursor: pointer;
    position: relative;
}

.jz-header .l ul li a, .jz-header .l ul li a:active, .jz-header .l ul li a:visited {
    color: #333;
}

.jz-header.home .l ul li a, .jz-header.home .l ul li a:active, .jz-header.home .l ul li a:visited {
    color: #fff;
}
.jz-header .l ul li a::after {
    position: absolute;
    content: "";
    display: none;
    bottom: 0;
    left: 10%;
    height: 4px;
    width: 80%;
    background: rgba(255, 220, 70, 1);
    border-radius: 2px;
}

.jz-header .l .logo {
    width: 228px;
    height: 48px;
    background-image: url("../images/black_logo.png");
    background-repeat: no-repeat;
    background-size: contain;
}

.jz-header.home .l .logo {
    background-image: url("../images/white_logo.png");
}

.jz-header .l ul li a:hover::after, .jz-header .l ul li.cur a::after {
    display: block;
    animation: bounceLeftRight .8s ease-in-out;
}

.jz-header .r {
    display: flex;
    align-items: center;
}
.jz-header .r form {
    position: relative;
    min-width: 30px;
    height: 32px;
}
.jz-header .r input {
    width: 222px;
    height: 32px;
    padding-left: 10px;
    box-sizing: border-box;
    background: url("../images/black_input_bg.png") no-repeat;
    background-size: contain;
    border:none;
    outline: none;
    color: #333;
}
.jz-header .r form .search-position {
    display: block;
    content: "";
    width: 30px;
    height: 32px;
    position: absolute;
    right: 2px;
    top: 0;
    cursor: pointer;
    background: none;
}
.jz-header .close-box {
    display: none;
}
.jz-header.home .r input {
    background: url("../images/transparent_input_bg.png") no-repeat;
    color: #fff;
}
.jz-header.home .r input::placeholder {
    color: #fff;
}
.jz-header .header-fixed-bg {
    display: none;
}
.jz-header .search-input-box {
    display: none;
}
.search-fixed-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .65);
}

/* 三横线菜单图标样式 */
.menu-toggle {
    display: none; /* 默认隐藏，移动端显示 */
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 16px;
    cursor: pointer;
    position: relative;
    margin-left: 20px;
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: rgba(51, 51, 51, 1);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/** 登录注册 **/
.login-register a {
    font-size: 15px;
    font-weight: 500;
    padding: 0 15px;
    position: relative;
}
.login-register a:visited, .login-register a:focus {
    color: #333;
}
.jz-header.home .login-register a {
    color: #fff;
}
.login-register a:first-child {
    padding-right: 23px;
}
.login-register a:first-child::after{
    position: absolute;
    font-size: 12px;
    right: 0;
    top: 5px;
    content: '|';
}

.jz-footer {
    background-color: #F6F8FA;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 30px;
}

.jz-footer .nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 4px 0;
}

.jz-footer .nav a {
    margin: 4px 30px;
    color: #000;
}

.jz-footer .nav a:hover {
    color: #A85F26;
}

/** 目录边框 **/
.a-side {
    position: fixed;
    top: 85px;
    right: 0;
    width: 0;
    height: calc(100% - 90px);
    box-sizing: border-box;
    background-color: #fff;
    overflow-y: scroll;
    transition: width .5s ease;
    z-index: 6;
}

.a-side .side-inner {
    margin: 0 20px 10px;
}

.a-side.show {
    width: 150px;
    box-shadow: -1px 0 5px rgba(0, 0, 0, .1);
}

.a-side .tit {
    padding-left: 10px;
    font-size: 16px;
    font-weight: bold;
    display: none;
    position: sticky;
    height: 50px;
    line-height: 50px;
    top: 0;
    background-color: #fff;
}

.a-side.show .tit {
    display: block;
}

.a-side ul {
    display: none;
    border-bottom: 1px solid rgba(239, 239, 239, 1);
}

.a-side.show ul {
    display: block;
}

.a-side li {
    height: 45px;
    line-height: 45px;
    border-top: 1px solid rgba(239, 239, 239, 1);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding-left: 10px;
}

.a-side li a {
    color: #333;
}

.a-side li:hover {
    background: rgba(255, 253, 246, 1);
}

.a-side li.cur {
    color: rgba(193, 130, 4, 1);
}

.a-side li.cur a, .a-side li:hover a{
    color: rgba(193, 130, 4, 1);
}

.a-side li.lock::before {
    content: "";
    display: block;
    width: 15px;
    height: 16px;
    margin-right: 5px;
    background: url("../images/ic-lock.png") no-repeat;
    background-size: contain;
}

.catalogue-btn {
    position: fixed;
    top: 300px;
    right: 50px;
    width: 58px;
    height: 62px;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    font-size: 12px;
    justify-content: center;
    border-radius: 15px;
    cursor: pointer;
    display: none;
}

.catalogue-btn.show {
    display: flex;
}

.catalogue-btn img {
    width: 28px;
}

/* 滚动一圈动画 */
@keyframes rotate360 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 左右回弹动画 */
@keyframes bounceLeftRight {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(20px);
    }
    50% {
        transform: translateX(-14px);
    }
    65% {
        transform: translateX(12px);
    }
    75% {
        transform: translateX(-8px);
    }
    85% {
        transform: translateX(4px);
    }
    100% {
        transform: translateX(0);
    }
}


/* 819px 媒体查询 */
@media (max-width: 819px) {
    a {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }

    /* 可选：移除链接的默认样式 */
    a:active, a:focus {
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    #jz-header {
        height: 70px;
    }
    .jz-header {
        padding: 0 15px;
        background: #fff!important;
        height: auto;
        position: relative;
        z-index: 3;
    }
    .jz-header .close-box {
        display: none;
        position: relative;
        z-index: 5;
        margin-left: 20px;
        animation: rotate360 1s;
    }
    .jz-header .close-box img {
        /* 移动端优化 */
        width: 20px;
        max-width: 25vw;
        height: auto;
    }
    .header-content {
        width: 100%!important;
    }
    .jz-header .header-fixed-ul, .jz-header .header-fixed-bg  {
        display: none;
    }
    .jz-header .l.shrink {
        width: 42px;
        overflow: hidden;
        transition: width .2s ease;
    }
    .jz-header .l ul {
        position: fixed;
        right: 0;
        top: 60px;
        width: 100%;
        height: auto;
        background-color: #fff;
        flex-direction: column;
        z-index: 3;
        border-top: 1px solid rgba(241, 241, 241, 1);
        display: none;
    }
    .jz-header .l ul li {
        border-bottom: 1px solid rgba(241, 241, 241, 1);
        margin: 0;
        font-size: 14px;
        display: flex;
        align-items: center;
    }
    .jz-header .l ul li::before {
        content: "";
        display: block;
        width: 18px;
        height: 18px;
        margin-right: 5px;
    }
    .jz-header .l ul li:first-child:before {
        background: url("../images/menu_home.png") no-repeat;
        background-size: contain;
    }
    .jz-header .l ul li:nth-child(2):before {
        background: url("../images/menu_welfare.png") no-repeat;
        background-size: contain;
    }

    .jz-header .l ul li.cur:first-child:before {
        background: url("../images/menu_home_hover.png") no-repeat;
        background-size: contain;
    }
    .jz-header .l ul li.cur:nth-child(2):before {
        background: url("../images/menu_welfare_hover.png") no-repeat;
        background-size: contain;
    }
    .jz-header .l ul li.cur a {
        color: rgba(249, 130, 19, 1);
    }
    .jz-header .l ul li:last-child {
        display: none;
    }
    .jz-header .l ul li a:hover::after, .jz-header .l ul li.cur a::after {
        display: none;
    }
    .jz-header.home .l ul li a, .jz-header.home .l ul li a:active, .jz-header.home .l ul li a:visited {
        color: rgba(51, 51, 51, 1);
    }
    .jz-header.home .l ul li.cur a, .jz-header.home .l ul li a:active {
        color: rgba(249, 130, 19, 1);
    }
    .jz-header .l .logo, .jz-header.home .l .logo {
        width: 182.4px;
        height: 38.4px;
        flex-shrink: 0;
        background-image: url("../images/black_logo.png");
    }
    .jz-header .r .search-form input {
        display: none;
    }
    .jz-header .r input, .jz-header.home .r input {
        background: url(../images/black_input_bg.png) no-repeat;
        color: #333;
    }
    .jz-header .r input::placeholder, .jz-header.home .r input::placeholder {
        color: #666;
    }

    .jz-header .menu-toggle {
        display: flex;
    }
    .jz-header .header-fixed-bg {
        position: fixed;
        z-index: 2;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: none;
    }
    .jz-header .r form .search-position {
        background: url(../images/search_icon.png) center center no-repeat;
        background-size: 80% auto;
        z-index: 2;
    }
    .jz-header .search-input-box {
        position: relative;
        padding-bottom: 10px;
        background-color: #fff;
    }
    .jz-header .search-input-box img {
        width: 100%;
    }
    .jz-header .search-input-box input {
        position: absolute;
        left: 0;
        width: 100%;
        height: 100%;
        padding-bottom: 10px;
        padding-left: 10%;
        box-sizing: border-box;
        top: 0;
        border: none;
        background: transparent;
        outline: none;
    }
    #search-trigger {
        position: absolute;
        right: 0;
        top: 0;
        width: 20%;
        height: 100%;
        background: none;
        z-index: 2;
        cursor: pointer;
        z-index: 2;
    }
    .jz-footer {
        padding: 20px 10px 10px;
        margin-top: 0;
    }
    .jz-footer .nav {
        display: flex;
        margin: 0;
    }
    .jz-footer .nav a {
        margin: 10px;
        color: #000;
        font-size: 12px;
        width: calc(50% - 20px);
    }
    .jz-footer .beian  a {
        display: flex;
        justify-content: center;
        width: 100%;
        font-size: 10px;
        color: rgba(51, 51, 51, .5);
    }
    .jz-footer .beian span:nth-child(2) {
        display: none;
    }
}

/* 820px - 1024px 媒体查询 */
@media (min-width: 820px) and (max-width: 1200px) {
    .jz-header {
        padding: 0 20px;
    }
    .jz-header .header-content {
        width: 100%!important;
    }
    .jz-header .l {
        width: auto;
    }
    .jz-header .l ul li {
        line-height: 40px;
        text-align: center;
    }
    .jz-header .menu-toggle {
        display: none;
    }
    .jz-header .r .search-form input {
        display: block;
    }
    .jz-header .r input {
            background: url(../images/black_input_bg.png) no-repeat;
    }
    .jz-header .r form .search-position {
        background: none;
    }
    .jz-header .header-fixed-bg {
        position: fixed;
        z-index: 2;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, .5);
        display: none;
    }
}

