body {
    position: relative;
}

.site-header-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: initial;
    -ms-flex-align: initial;
    align-items: initial;
}

.header-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}

img.custom-logo {
    max-height: 68px;
    -webkit-transition: max-height .5s ease;
    -o-transition: max-height .5s ease;
    transition: max-height .5s ease;
    -o-object-fit: contain;
    object-fit: contain;
    -o-object-position: left;
    object-position: left;
    width: auto;
}

#header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 16px 0;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    position: relative;
}

.primary-menu-container {
    height: 100%;
}

#primary-menu-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 40px;
}

.site-header-action {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
}

#header button {
    background: transparent;
    border: none;
    cursor: pointer;
}

ul#lang-dropdown {
    position: absolute;
    top: 100%;
    list-style: none;
    padding: 0;
    right: 0;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    -webkit-transition: .5s ease;
    -o-transition: .5s ease;
    transition: .5s ease;
    -webkit-transform: translateY(10px);
        -ms-transform: translateY(10px);
            transform: translateY(10px);
}

#lang-toggle:hover ul#lang-dropdown {
    opacity: 1;
    pointer-events: auto;
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
}

.lang-switcher-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
}

ul#lang-dropdown li {
    padding: 0;
    margin-top: 7px;
    position: relative;
}

ul#lang-dropdown li a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 28px;
    -webkit-transition: .5s ease;
    -o-transition: .5s ease;
    transition: .5s ease;
    z-index: 2;
}

ul#lang-dropdown li a[lang="zh-HK"] {
    font-family: var(--font-tc);
}

ul#lang-dropdown li a[lang="zh-CN"] {
    font-family: var(--font-sc);
}

#curren-lang.sc {
    font-family: var(--font-sc);
}

#curren-lang.tc {
    font-family: var(--font-tc);
}

.current-lang {
    display: none;
}

.header-section {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    -webkit-transition: -webkit-transform 0.5s ease;
    transition: -webkit-transform 0.5s ease;
    -o-transition: 0.5s ease;
    -webkit-transition: 0.5s ease;
    transition: 0.5s ease;
    transition: 0.5s ease, -webkit-transform 0.5s ease;
    background: var(--color-header-bkg);
}

.admin-bar .header-section {
    padding-top: 32px;
}

.footer-top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-bottom: 40px;
}

.footer-bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.header-section.hide-header {
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
}

.header-section.has-adminbar {
    top: 32px;
}

#header #search-toggle {
    padding-right: 0;
    width: 46px;
    height: 46px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border: 1px solid var(--color-body);
    border-radius: 3px;
    -webkit-transition: .5s ease;
    -o-transition: .5s ease;
    transition: .5s ease;
    cursor: pointer;
}

#header #search-toggle:before {
    content: "";
    display: block;
    position: absolute;
    left: -1px;
    right: -1px;
    bottom: -1px;
    height: 0;
    border-radius: 3px;
    background-color: var(--color-button-background);
    -webkit-transition: .5s ease;
    -o-transition: .5s ease;
    transition: .5s ease;
}

#header #search-toggle:after {
    content: '';
    position: relative;
    display: block;
    width: 19px;
    height: 19px;
    top: 0;
    right: 0;
    background-image: url('../images/search-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    -webkit-transition: -webkit-filter .5s ease;
    transition: -webkit-filter .5s ease;
    -o-transition: filter .5s ease;
    transition: filter .5s ease;
    transition: filter .5s ease, -webkit-filter .5s ease;
}

@media (min-width: 768px) {
    #header #search-toggle:hover:before {
        height: 46px;
    }

    #header #search-toggle:hover:after {
        -webkit-filter: brightness(0) invert(1);
                filter: brightness(0) invert(1);
    }
}

#header #lang-toggle {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    text-transform: uppercase;
    color: var(--color-heading-light);
    font-size: 18px;
    line-height: 28px;
    -webkit-transition: .5s ease;
    -o-transition: .5s ease;
    transition: .5s ease;
    cursor: pointer;
}

#curren-lang {
    position: relative;
}

.custom-logo-link {
    /* width: 178px; */
    width: auto;
}

.scroll-down .header-section {
    -webkit-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
            transform: translateY(-100%);
}

#header ul {
    list-style: none;
}

.header-section .container {
    max-width: 2020px;
}

.footer-section .container {
    max-width: 2020px;
}

.footer-section {
    padding-top: 35px;
    padding-bottom: 30px;
    position: relative;
    background-color: var(--color-footer-bkg);
    font-size: 14px;
    line-height: 20px;
    font-weight: 300;
}

.footer-section a {
    font-size: 14px;
    line-height: 20px;
    font-weight: 300;
}

.footer-right {
    width: 38.8%;
    padding-left: 0;
    max-width: 489px;
    display: flex;
}

.footer-left {
    width: 61.2%;
}

.footer-section .label {
    font-weight: 600;
    font-size: 16px;
    line-height: 26px;
        margin-bottom: 10px;
}

.footer-section .label a {
    font-weight: 600;
    font-size: 16px;
    line-height: 26px;
    text-decoration: underline;
    text-underline-offset: 6px;
}

.footer-information a {
    font-weight: 300;
    font-size: 16px;
    line-height: 26px;
}

#footer a:hover, #footer a:focus-visible {
    color: var(--color-link-hover);
}

#header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

#footer .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

#footer .row > div:not(:last-child) {
    padding-right: 10px;
}

#header ul,
#footer ul {
    list-style: none;
}

.hidden-desktop {
    display: none;
}

.footer-menu a {
    color: var(--color-nav);
}

.footer-menu a:hover {
    font-weight: bold;
}

.footer-information .email {
        min-width: 232px;
    padding-right: 15px;
}

.footer-menu .menu-item {
    margin-bottom: 10px;
}

.footer-menu .menu-item:last-child {
    margin-bottom: 0;
}

.footer-information {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: left;
        -ms-flex-pack: left;
            justify-content: left;
}

#footer * {
    color: #fff;
}

.footer-links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: left;
        -ms-flex-pack: left;
            justify-content: left;
        gap: 30px;
}

.footer-links a {
    color: var(--color-body);
}

.footer-links div:last-child {
    margin-bottom: 0;
}

.footer-text {
    max-width: 223px;
}

@media (max-width: 1023.98px) {
    .footer-information .email {
        min-width: 200px;
    }
}

@media (max-width: 767.98px) {
    .hidden-desktop {
        display: block;
    }

    .hidden-mobile {
        display: none;
    }
    #wpadminbar {
        display: none;
    }
    .admin-bar .header-section {
        padding-top: 0;
    }
    body.admin-bar {
        padding-top: 89px;
    }
    .footer-top {
        display: block;
        margin-bottom: 20px;
    }
    .footer-information .press {
        margin-bottom: 20px;
    }
    .footer-bottom {
        display: block;
    }
    .footer-right {
        width: 100%;
        padding-left: 0;
        max-width: none;
    }
    .footer-information {
        display: block;
    }
    .footer-left {
        width: 100%;
    }
    .footer-top .footer-left {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 39px;
    }
    .footer-information .email {
        margin-bottom: 20px;
        min-width: 0;
    }
    .footer-links {
        gap: 20px;
        margin-bottom: 16px;
    }
    .footer-section {
        padding-bottom: 40px;
    }
    .footer-logo-right {
        margin-left: 15px;
    }
}

@media (max-width: 389px) {
    .footer-links {
        display: block;
    }
}