/*
Theme Name: Guideline
Theme URI: 
Author: Graphin
Author URI: 
Description: Guideline Theme.
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Version: 0.1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: guideline
Tags: 
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
html *{
    box-sizing: border-box;
    margin: 0;
    /*transition: all 0.4s linear;*/
}
h1, h2, h3, h4, h5, h6, p, li, a{
    margin: 0;
    font-family: "Inter", sans-serif;
    line-height: 100%;
}
h1{
    font-family: "CustomGuidelineFont", "Inter", sans-serif;
    font-weight: 500;
    font-size: 60px;
    line-height: 110%;
    color: #FFFFFF;
    margin-bottom: 40px;
}
body{
    background-color: #fff;
}
.g-header{
    display: flex;
    height: 67px;
}
.g-logo{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 152px;
    padding: 10px;
}
.g-title{
    padding: 10px 2.9vw;
    display: flex;    
    align-items: center;
    flex-grow: 1;
}
.g-title p{    
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: #232323;
}
.g-translate{
    width: 129px;
    border-left: 1px solid #DCDCDC;    
}
.g-translate .trp-language-switcher{
    padding: 0;
}
.g-translate .trp-current-language-item__wrapper:not(.trp-hide-arrow){
    width: 129px;
    height: 67px;
    padding: 0;
    justify-content: flex-start;
}
.g-translate .trp-language-item{
    padding: 6px 6px 6px 24px;
    height: 67px;
}
.g-translate .trp-switcher-dropdown-list .trp-language-item{
    border-top: 1px solid #DCDCDC;
    background-color: #F6F6F6;
    box-sizing: border-box;
}
.g-translate .trp-switcher-dropdown-list .trp-language-item:hover{
    background-color: #fff;
}
.g-translate .trp-language-item-name{
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
}
.body-no-scroll {
    overflow: hidden;
}
#g-search{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 152px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    gap: 16px;
    text-decoration: none;
}
#g-search #g-search-close{
    display: none;
}
#g-search.open svg:not(#g-search-close),
#g-search.open span{
    display: none;
}
#g-search.open #g-search-close{
    display: block;
}
#g-burger{
    display: none;
}
.g-mobile-menu-wrapper{
    display: none;
}
#g-popup-wrapper{
    display: none;
}
#g-popup-wrapper.active{
    display: flex;
    justify-content: center;
    position: fixed;
    top: 67px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 67px);
    z-index: 99999;
    background: rgba(246, 246, 246, 0.4);
    backdrop-filter: blur(100px);
}
#g-search-popup{
    width: 600px;
    margin-top: 152px;
}
#g-search-input{
    display: flex;
    justify-content: center;
    padding: 24px;
    height: 77px;
    background: rgba(255, 255, 255, 0.6);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 29px;
    color: #232323;
    border: none;
    outline: none;
    width: 100%;
    text-align: center;
}
#g-search-input:focus{
    border: none;
    outline: none;
}
#g-search-input::placeholder{
    color: #2323234D;
    text-align: center;
}
input[type="search"]::-webkit-search-cancel-button{
    -webkit-appearance: none;
}
#g-search-results{
    margin-top: 24px;
    max-height: 60vh;
    overflow-y: auto;
    scrollbar-width: none;   
    -ms-overflow-style: none; 
}
#g-search-results::-webkit-scrollbar{ 
    display: none;
}
.gs-results-count{
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    color: rgba(35, 35, 35, 0.4);
    margin-bottom: 12px;
}
.g-s-item{
    background: #fff;
    padding: 40px 40px 32px;
    border: 1px solid #DCDCDC;
    margin-bottom: 12px;
}
.g-s-item h3{
    font-weight: 600;
    font-size: 24px;
    line-height: 110%;
    color: #232323;
    margin-bottom: 12px;
}
.g-s-excerpt{
    font-weight: 500;
    font-size: 14px;
    line-height: 160%;
    color: #232323;
}
.g-s-links{
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.g-s-links-right{
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}
.g-s-links a,
.g-s-links p{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #EBEBEB;
    padding: 14.5px 48px 14.5px 24px;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: #232323;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}
.g-s-links a::after,
.g-s-links p::after{
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    margin: auto;
    right: 12px;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.g-copy-link::after{
    background-image: url('assets/img/copy.svg');
}
.g-new-tab::after{
    background-image: url('assets/img/new-tab.svg');
}
.g-go-to::after{
    background-image: url('assets/img/go.svg');
}
.g-home{
    height: calc(100vh - 67px);
    padding: 24.4vh 45.2vw 10px 152px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.g-home h1 + p{
    margin-top: 40px;
}
.g-home p,
.g-hero p{
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 160%;
    color: #FFFFFF;
}
.g-hero-wrap{
    padding: 80px 45.2vw 80px 152px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.g-page{
    padding: 60px 152px;
    display: flex;
    gap: 48px;
    position: relative;
}
.gp-copy-page{
    position: absolute;
    top: 60px;
    right: 64px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background-color: #EBEBEB;
    background-image: url('assets/img/copy-link.svg');
    background-repeat: no-repeat;
    background-position: center;
    margin: 0;
}
.g-sidebar{
    min-width: 216px;
    flex-grow: 1;
}
.g-sidebar-inner{
    position: sticky;
    top: 30px;
}
.g-sidebar h4{
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    margin: 0;
}
.g-sidebar nav{
    margin: 0 0 40px;
}
.g-sidebar nav ul{
    width: 100%;
    gap: 0;
}
.g-sidebar nav ul li.wp-block-navigation-item{
    padding: 12px 0; 
    width: 100%;   
    border-bottom: 1px solid #DCDCDC;
    flex-direction: column;
    align-items: flex-start;
}
.g-sidebar nav ul li a{
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: #232323;
}
.g-sidebar nav ul li a span{
    color: #232323;
}
.g-sidebar nav ul .g-scroll-nav{
    margin: 22px 0 12px;
    border-left: 1px solid #DCDCDC;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.wp-block-navigation ul li .g-scroll-nav li{
    padding-left: 16px;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #ABABAB;
    position: relative;
    cursor: pointer;
}
.wp-block-navigation ul li .g-scroll-nav li.active,
.wp-block-navigation ul li .g-scroll-nav li:hover{    
    color: #232323;
}
.g-scroll-nav li.active::before,
.g-scroll-nav li:hover::before{
    position: absolute;
    content: '';
    left: -1px;
    top: 0;    
    width: 1px;
    height: 100%;
    background-color: #232323;
}
.g-footer-wrap{
    padding: 0 152px 40px; 
}
.g-footer{
    padding-top: 40px;
    border-top: 1px solid #DCDCDC; 
}
.g-footer p{
    font-weight: 500;
    font-size: 14px;
    line-height: 19px;
    color: #ABABAB;
}
.gp-content{
    width: 100%;
    margin: 0;
}
.g-color-copy-success,
.g-link-copy-success{
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    margin: auto;
    width: fit-content;
    font-weight: 500;
    font-size: 14px;
    line-height: 160%;
    color: #EBEBEB;
    background-color: #232323;
    padding: 12px 24px;
    z-index: 999999;
}
#g-mobile-nav-wrapper,
#g-mobile-nav{
    display: none;
}
@media (max-width: 1439px){
    .g-home{
        padding: 15vh 152px 10px 152px;
    }
    .g-hero-wrap {
        padding: 80px 100px 80px 100px;
    }
    .g-page {
        padding: 60px 100px;
    }
    .g-footer-wrap {
        padding: 0 100px 40px;
    }
    .gp-content figure img, 
    .post-type-page .wp-block-post-content figure img{
        max-width: 100%;
    }
    .g-color-desc h4{
        font-size: 20px;
    }
    .gp-copy-page{
        top: 70px;
        right: 30px;
    }
}
@media (max-width: 1023px){
    .g-home{
        padding: 10vh 52px 10px 52px;
    }
    .g-hero-wrap {
        padding: 80px 52px 80px 52px;
    }
    .g-page {
        padding: 60px 52px;
    }
    .g-footer-wrap {
        padding: 0 52px 40px;
    }
    .g-sidebar {
        min-width: 150px;
        flex-grow: 1;
    }
    .g-color-desc h4{
        font-size: 18px;
    }
    .gp-copy-page{
        top: 70px;
        right: 10px;
    }
}
@media (max-width: 767px){
    .g-logo{
        width: 113px;
    }
    .g-title{
        padding: 10px 24px;
    }
    .g-title p{
        line-height: 100%;
    }
    .g-translate{
       display: none; 
    }
    #g-search{
        width: 67px;
    }
    #g-search span,
    #g-search svg:not(#g-burger){
        display: none;
    }
    #g-burger{
        display: block;
    }
    .g-mobile-menu-wrapper.active{
        display: block;
        position: fixed;
        top: 67px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 67px);
        z-index: 99999;
        background: rgba(35, 35, 35, 0.8);
    }
    .g-mobile-menu{
        padding: 24px;
        width: 100%;        
        background: #fff;    
    }
    .g-mobile-menu .g-translate{
        display: block;
        width: 100%;
        height: 67px;
        border: none;
        margin-bottom: 24px;
    }
    .g-translate .trp-language-switcher{
        width: 100%;
        border: 1px solid #DCDCDC;
    }
    .g-translate .trp-current-language-item__wrapper:not(.trp-hide-arrow){
        width: 100%;
        padding-right: 24px;
        justify-content: space-between;
        height: 65px;
    }
    .g-translate .trp-language-item{
        padding: 0 0 0 24px;        
    }
    .g-translate .trp-switcher-dropdown-list{
        border-top: none;
    }
    .g-mobile-menu #g-search-input{
        justify-content: flex-start;
        padding: 24px 24px 24px 49px;
        width: 100%;
        height: 67px;
        background: transparent;
        font-size: 16px;
        line-height: 100%;
        text-align: left;
        border: 1px solid #DCDCDC;
        border-radius: 0;
    }
    .g-mobile-menu .g-si-wrapper{
        position: relative;
    }
    .g-mobile-menu .g-si-wrapper::before{
        position: absolute;
        content: '';
        top: 0;
        bottom: 0;
        margin: auto;
        left: 24px;
        width: 19px;
        height: 19px;
        background: url('assets/img/search.svg') no-repeat center center;
    }
    .g-mobile-menu-wrapper #g-search-results{
        margin: 24px;
    }
    .g-mobile-menu-wrapper .gs-results-count{
        line-height: 100%;
        color: #F6F6F6;
    }
    .g-mobile-menu-wrapper .g-s-item{
        padding: 24px 24px 16px;
    }
    .g-mobile-menu-wrapper .g-s-item .g-go-to{
        display: none;
    }
    .g-mobile-menu-wrapper .g-s-links{
        flex-direction: column;
        gap: 8px;
    }
    .g-mobile-menu-wrapper .g-s-links a,
    .g-mobile-menu-wrapper .g-s-links p{
        width: 100%;
    }
    .g-home{
        height: 100vh;
        padding: 80px 24px 10px 24px;
        background-position: center bottom;
    }
    h1{
        font-size: 32px;  
    }
    .g-home p, .g-hero p{
        font-size: 12px;
    }
    :root .g-home-btns{
        flex-direction: column;
        align-items: flex-start;
        width: fit-content;
    }
    .g-website{
        width: 100%;
    }
    .g-hero-wrap{
        display: none;
    }
    .g-sidebar{
        display: none;
    }
    .g-page {
        padding: 91px 24px 40px;
    }
    #g-mobile-nav-wrapper{
        display: block;
        position: absolute;
        top: 67px;
        left: 0;
        width: 100vw;
    }
    #g-mobile-nav-wrapper.open{
        height: calc(100vh - 67px);
        z-index: 99999;
        background: #232323CC;
    }
    #gm-nav-open{
        font-weight: 500;
        font-size: 16px;
        line-height: 19px;
        color: #D9D9D9;
        padding: 18.5px 24px;
        position: relative;
    }
    #gm-nav-open::after{
        position: absolute;
        content: '';
        top: 0;
        bottom: 0;
        margin: auto;
        right: 24px;
        width: 24px;
        height: 24px;
        background: url('assets/img/mob-open.svg') no-repeat center center;
    }
    #g-mobile-nav{
        background-color: #fff;
    }
    #g-mobile-nav .g-sidebar{
        display: block;
        padding: 24px;
    }
    .g-sidebar h4{
        line-height: 100%;
    }
    .g-sidebar nav ul li a{
        line-height: 100%;
    }
    .g-sidebar nav {
        margin: 0 0 24px;
    }
    #gm-nav-close{
        font-weight: 500;
        font-size: 16px;
        line-height: 19px;
        color: #232323;
        background-color: #EBEBEB;
        border-bottom: 1px solid #DCDCDC;
        padding: 16px 24px;
        position: relative;
    }
    #gm-nav-close::after{
        position: absolute;
        content: '';
        top: 0;
        bottom: 0;
        margin: auto;
        right: 24px;
        width: 24px;
        height: 24px;
        background: url('assets/img/mob-close.svg') no-repeat center center;
    }
    .g-footer-wrap {
        padding: 0 24px 24px;
    }
    .g-footer {
        padding-top: 24px;
        border-top: none;
    }
    .gp-content figure img, 
    .post-type-page .wp-block-post-content figure img{
        margin-bottom: 8px;
    }
    .gp-content figure.wp-block-gallery,
    .post-type-page .wp-block-post-content figure.wp-block-gallery{
        column-gap: 8px;
    }
    :root .g-download-btns,
    :root .g-website-btns{
        margin-top: 20px;
        flex-direction: column;
        gap: 8px !important;
    }
    .g-download-btns.wp-block-buttons>.wp-block-button,
    .g-website-btns.wp-block-buttons>.wp-block-button{
        width: 100%;
    }
    .g-color-desc h4{
        font-size: 24px;
        position: relative;
        margin-bottom: 0;
        transition: all 0.4s linear;
    }
    .g-color-desc h4::after{
        position: absolute;
        content: '';
        top: 0;
        bottom: 0;
        margin: auto;
        right: 0;
        width: 24px;
        height: 24px;
        background: url('assets/img/mob-close.svg') no-repeat center center;
        transform: rotate(180deg);
    }
    .g-color-boxes{
        flex-direction: column;
    }
    p + .g-color-boxes,
    p + .g-gradient{
        margin-top: 40px;
    }
    :root .g-color-box{
        max-width: 100%;
        width: 100%;
    }
    .gp-content .g-color-box img{
        width: 100%;
        max-height: 150px;
        object-fit: cover;
        margin-bottom: 12px;
    }
    .g-color-desc h5,
    .g-color-desc p{
        display: none;
    }
    .g-color-desc.open h4::after{
        transform: rotate(0deg);
    }
    :root .g-color-desc-wrap{
        margin-top: 0;
        padding-top: 12px;
        display: none;
    }
    .g-color-desc .g-color-desc-wrap h5,
    .g-color-desc .g-color-desc-wrap p{
        display: block;
    }
    .gp-content .g-gradient img{
        height: 150px;
        margin-bottom: 12px;
    }
    :root .g-gradient-desc{
        flex-direction: column;
        gap: 12px;
    }
    .gp-copy-page{
        position: fixed;
        top: auto;
        bottom: 16px;
        right: 16px;
    }
}