/* =========================================
   Washarevend WordPress Overrides
   ========================================= */


/* 基础重置 */
html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", Arial, sans-serif;
}


/* ==============================
   HEADER
   ============================== */

#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    width: 100%;
    height: 80px;

    z-index: 9999;

    background: rgba(0, 0, 0, 0.95);

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-sizing: border-box;
}


/* Header 内部容器 */

#site-header > div:first-child {
    max-width: 1280px;
    height: 80px;

    margin: 0 auto;
    padding: 0 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-sizing: border-box;
}


/* ==============================
   LOGO
   ============================== */

#site-header img {
    display: block;

    height: 48px;
    width: auto;

    max-width: 220px;

    object-fit: contain;
}


/* ==============================
   DESKTOP NAV
   ============================== */

#site-header nav {
    font-family: "Inter", Arial, sans-serif;
}

#site-header > div:first-child > nav {
    display: flex;
    align-items: center;

    gap: 28px;
}


#site-header > div:first-child > nav > a {
    color: #ffffff;

    font-size: 15px;
    font-weight: 500;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}


#site-header > div:first-child > nav > a:hover {
    color: #4ade80;
}


/* Contact Us */

#site-header > div:first-child > nav > a:last-child {
    color: #000000;

    background: #22c55e;

    padding: 12px 22px;

    font-weight: 600;

    border-radius: 2px;
}


#site-header > div:first-child > nav > a:last-child:hover {
    color: #000000;

    background: #4ade80;
}


/* ==============================
   MOBILE BUTTON
   ============================== */

#mobile-menu-button {
    display: none;

    padding: 8px;

    color: #ffffff;

    background: transparent;

    border: 0;

    font-size: 28px;

    cursor: pointer;
}


/* ==============================
   MOBILE MENU
   ============================== */

#mobile-menu {
    display: none;

    position: absolute;

    top: 80px;
    left: 0;
    right: 0;

    background: #000000;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    padding: 20px 24px;
}


#mobile-menu.is-open {
    display: block;
}


#mobile-menu nav {
    display: flex;

    flex-direction: column;

    gap: 18px;
}


#mobile-menu nav a {
    color: #ffffff;

    text-decoration: none;

    font-size: 16px;
}


/* ==============================
   给 fixed header 留出空间
   ============================== */

body {
    padding-top: 80px;
}


/* ==============================
   RESPONSIVE
   ============================== */

@media (max-width: 1023px) {

    #site-header > div:first-child {
        padding-left: 20px;
        padding-right: 20px;
    }


    #site-header > div:first-child > nav {
        display: none;
    }


    #mobile-menu-button {
        display: block;
    }


    #site-header img {
        height: 42px;
    }

}