/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5625vw 1.5625vw 0;
    transition: all .6s ease;
    border-bottom: none;
    mix-blend-mode: exclusion;
}

.header .box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 1;
}

.header .box .logo {
    display: flex;
    align-items: center;
    line-height: 1;
    cursor: pointer;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.header .box .logo .logo-text {
    font-family: 'Times New Roman', Georgia, 'Songti SC', serif;
    font-size: 1.4vw;
    font-weight: 700;
    letter-spacing: 0.15vw;
    color: #ffffff;
}

.header .box .navbar-toggle {
    width: 2.34375vw;
    min-width: 28px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 4px 0;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.header .box .navbar-toggle span {
    display: block;
    width: 50%;
    height: 1.5px;
    background-color: #ffffff;
    transition: transform .4s ease;
    transform-origin: center;
}

.header .box .navbar-toggle.active .line-top {
    transform: translateY(3.75px) rotate(45deg);
}

.header .box .navbar-toggle.active .line-middle {
    opacity: 0;
}

.header .box .navbar-toggle.active .line-bottom {
    transform: translateY(-3.75px) rotate(-45deg);
}

/* ===== FULL NAV OVERLAY ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(39,39,39,0.97);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10vw;
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s ease;
}

.nav.open {
    opacity: 1;
    pointer-events: all;
}

.nav .links {
    display: flex;
    flex-direction: column;
    gap: 0.5vw;
}

.nav .links .item {
    position: relative;
}

.nav .links .item .a1 {
    font-family: var(--font-heading);
    font-size: 2.5vw;
    color: #fff;
    letter-spacing: 0.15vw;
    cursor: pointer;
    transition: opacity .3s;
    display: inline-block;
    padding: 0.4vw 0;
}

.nav .links .item .a1:hover,
.nav .links .item .a1.no-click:hover {
    opacity: 0.6;
}

.nav .links .item .pList {
    display: none;
    flex-direction: column;
    gap: 0.3vw;
    padding: 0.5vw 0 0.5vw 1.5vw;
    border-left: 1px solid rgba(255,255,255,0.3);
    margin-left: 0.3vw;
}

.nav .links .item:hover .pList {
    display: flex;
}

.nav .links .item .pList a {
    font-family: var(--font-heading);
    color: rgba(255,255,255,0.7);
    font-size: 1.2vw;
    letter-spacing: 0.1vw;
    transition: color .3s;
}

.nav .links .item .pList a:hover {
    color: #fff;
}

.nav .nav-bottom {
    margin-top: 4vw;
    display: flex;
    align-items: center;
    gap: 2vw;
}

.nav .nav-bottom .lan a {
    color: rgba(255,255,255,0.5);
    font-size: 0.9vw;
    letter-spacing: 0.1vw;
}

.nav .nav-bottom .fixed_links {
    display: flex;
    gap: 1.2vw;
    align-items: center;
}

.nav .nav-bottom .fixed_links .icon img {
    width: 1.5vw;
    min-width: 18px;
    filter: invert(1);
    opacity: 0.7;
    transition: opacity .3s;
}

.nav .nav-bottom .fixed_links .icon img:hover {
    opacity: 1;
}

/* ===== MOBILE HEADER (pheader) ===== */
.pheader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 15px 5%;
    background: rgba(39,39,39,0.0);
    transition: background .4s;
}

.pheader .menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pheader .menu .l img {
    height: 30px;
}

.pheader .menu .navbox {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.pheader .menu .navbox .line {
    width: 25px;
    height: 1.5px;
    background: #fff;
    transition: .4s ease;
}

/* ===== MOBILE MENU LIST ===== */
.menuList {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(39,39,39,0.97);
    z-index: 99;
    flex-direction: column;
    justify-content: center;
    padding: 60px 5% 30px;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s;
}

.menuList.open {
    opacity: 1;
    pointer-events: all;
}

.menuList .item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.menuList .item .tb {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menuList .item .tb a {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 22px;
    letter-spacing: 1px;
}

.menuList .item .tb img {
    width: 16px;
    filter: invert(1);
    opacity: 0.6;
    transition: transform .3s;
}

.menuList .item .tb img.rotated {
    transform: rotate(90deg);
}

.menuList .item .types_top {
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0 5px 15px;
}

.menuList .item .types_top.show {
    display: flex;
}

.menuList .item .types_top a {
    color: rgba(255,255,255,0.6);
    font-size: 16px;
}

/* ===== FOOTER ===== */
.foot {
    position: relative;
    background: #FFFFFF;
    border-top: 1px solid #272727;
    padding: 5vw 3vw 3vw;
    color: #333;
}

.foot .dom1 {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 3vw;
}

.foot .dom1 .links {
    display: flex;
    gap: 3vw;
    flex-wrap: wrap;
}

.foot .dom1 .links .item .a1 {
    font-family: var(--font-heading);
    color: #333;
    font-size: 0.85vw;
    letter-spacing: 0.1vw;
    display: block;
    margin-bottom: 1vw;
}

.foot .dom1 .links .item .pList {
    display: flex;
    flex-direction: column;
    gap: 0.5vw;
}

.foot .dom1 .links .item .pList a {
    color: #666;
    font-size: 0.75vw;
    letter-spacing: 0.05vw;
    transition: color .3s;
}

.foot .dom1 .links .item .pList a:hover {
    color: #000;
}

.foot .dom1 .r {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 0;
}

.foot .dom1 .r .follow {
    color: #666;
    font-size: 0.75vw;
    letter-spacing: 0.2vw;
    margin-bottom: 1vw;
    margin-top: 0;
}

.foot .dom1 .r .sharelist {
    display: flex;
    gap: 0.8vw;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 2vw;
}

.foot .dom1 .r .sharelist .ev .icon img {
    width: 1.1vw;
    min-width: 16px;
    filter: none;
    opacity: 0.7;
    transition: opacity .3s;
}

.foot .dom1 .r .sharelist .ev .icon img:hover {
    opacity: 1;
}

.foot .dom1 .r .copyright {
    color: #999 !important;
    font-size: 0.7vw;
    line-height: 1.4 !important;
    margin-top: -25px !important;
    font-family: var(--font-body);
}

.foot .dom1 .r .copyright a {
    color: #999;
}

/* ===== GO TOP ===== */
.goTop {
    position: fixed;
    bottom: 3vw;
    right: 2vw;
    width: 2.5vw;
    height: 2.5vw;
    min-width: 36px;
    min-height: 36px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity .4s;
    z-index: 50;
}

.goTop.show {
    opacity: 1;
}

.goTop svg {
    width: 60%;
}

@media screen and (max-width: 1024px) {
    .header {
        display: none;
    }
    .nav {
        display: none;
    }
    .pheader {
        display: block;
    }
    .menuList {
        display: flex;
    }
    .foot .dom1 .links .item .a1 {
        font-size: 13px;
    }
    .foot .dom1 .links .item .pList a {
        font-size: 12px;
    }
    .foot .dom1 .r .follow {
        font-size: 12px;
    }
    .foot .dom1 .r .copyright {
        font-size: 11px;
    }
    .foot .dom1 .r .sharelist .ev .icon img {
        width: 18px;
    }
    .foot {
        padding: 40px 5% 30px;
    }
}
