/*
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.0
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&family=Montserrat:wght@100..900&display=swap');
html *{
    box-sizing: border-box;
    margin: 0;
}
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-search svg path{
    fill: #fff;
}
#g-search span{
    position: relative;
    padding-left: 35px;
}
#g-search span::before{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 19px;
    height: 19px;
    background: url('assets/img/search.svg') no-repeat center;
}*/
#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;
}
#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: 12px 48px 12px 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 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;
}
.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 .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: 16px;
    line-height: 19px;
    color: #ABABAB;
}
.gp-content{
    width: 100%;
    margin: 0;
}
@media (max-width: 1439px) {
    .g-home{
        padding: 15vh 152px 10px 152px;
    }
}