/*
    Theme Name: Digi Agency
    Theme URI: https://vesanique.com
    Author: Vesanique
    Author URI: https://vesanique.com
    Version: 1.0.0
    Text Domain: digi-agency
*/

.topheader-grid{
    display: flex;
    gap: 43px;
    & .site-header--navigation{
        & ul{
            gap: 10px;
            & li:nth-child(4){
                border-right: 0px solid #B2CFFF;
                width: 155px;
            }
        }
        & li{
            border-right: 1px solid #B2CFFF;
            padding-right: 10px;
            &:hover{
                & a{
                    font-family: var(--wp--preset--font-family--third-rail) !important;
                    color: var(--wp--preset--color--skylight-blue) !important;
                    font-size: 18px !important;
                }
                & .sub-menu{ 
                     & li a{
                    color: #F4F3EC !important;
                    text-align: center;
                    font-family: var(--wp--preset--font-family--area) !important;
                    font-size: 14px !important;
                    font-style: normal;
                    font-weight: 900 !important;
                    line-height: normal;
                    text-transform: uppercase;
                }
            }
        }
    
        & a{
            color: var(--wp--preset--color--cream) !important;
            text-align: center;            
            font-family: var(--wp--preset--font-family--new-word) !important;
            font-size: 14px !important;
            font-style: normal !important;
            font-weight: 900 !important;
            line-height: normal !important;
            text-transform: uppercase !important;
            text-decoration: none !important;
            margin-top: 2px;
            
        }
    }
}
.wp-element-button{
    &:hover{
        color: #FBF9F2;
        &:after{
            margin-left: 10px;
        }
    }
}
.archive-inner-grid{
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    padding: 145px 0px 00px 0;
    gap: 32px;
    align-items: center;
    @media screen and (max-width: 768px){
        grid-template-columns: 1fr;
    }
    & div p.head_str{
        color: var(--wp--preset--color--neon-green);
        font-family: var(--wp--preset--font-family--area);
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 100%; /* 14px */
        text-transform: uppercase;
    }
    & h1{
        color: var(--wp--preset--color--skylight-blue);
        font-family: var(--wp--preset--font-family--third-rail);
        font-size: clamp(4.375rem, 3.075rem + 3.25vw, 6rem);
        font-style: normal;
        font-weight: 400;
        line-height: 100%; /* 100% */
        letter-spacing: 0.96px;
        text-transform: uppercase;
        width: fit-content;

        background-image: url(./assets/images/vector-svg.svg);
        background-repeat: no-repeat;
        background-size: 100%;
        background-position: 100% 100%;
        padding-bottom: 50px;
    }
    & p.sub_str{
        color: #FFF;
        font-family:  var(--wp--preset--font-family--area);
        font-size: 24px;
        font-style: normal;
        font-weight: 400;
        line-height: 140%; /* 33.6px */
        padding: 0 15px;
        & span{
            font-weight: 700;
        }
    }
}
.archive-post-grid {
    
    & .archive-post-grid-inner{
        display: grid;
        grid-template-columns: 1fr 1fr;
        filter: drop-shadow(0px 0px 30px rgba(154, 153, 255, 0.10));
        @media screen and (max-width: 768px){
            grid-template-columns: 1fr;
        }
    }
    
    & .img-holder{
        position: relative;
        min-height: 400px;        
        background-size: cover !important; 
        background-position: center !important;     
        z-index: 9; 
        overflow: hidden;
        margin-bottom: 16px;
        --corner: 4rem;
        clip-path: polygon(0 0, 100% 0, 100% 100%, var(--corner) 100%, 0% calc(100% - var(--corner)));
        transition: clip-path 0.2s ease; 
        & .top-right{
            position: absolute;
            top: -2px;
            right: -2px;          
            transform-origin: top right;
            transition: transform 0.2s ease; 
        }
        & .bottom-left{
            position: absolute;
            bottom: -75px;
            left: -75px;
        }
        & .top-right-small{
            position: absolute;
            top: 0;
            right: 0;
        }
        &:hover{
            --corner: 6rem;
            clip-path: polygon(0 0, 100% 0, 100% 100%, var(--corner) 100%, 0% calc(100% - var(--corner)));
            & .top-right{
                transform: scale(1.1);   
                & .top-right--corner{
                    fill: var(--wp--preset--color--skylight-blue);
                }      
            }
           
        }
    }
    & .post-details{
        display: grid;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 32px;
        grid-template-columns: 1fr 215px;
        gap: 24px;
        @media screen and (max-width: 768px){
            grid-template-columns: 1fr;
        }
        & h2{
            color: #BABBB4;
            font-family:  var(--wp--preset--font-family--area);
            font-size: clamp(1.125rem, 0.825rem + 0.75vw, 1.5rem);
            font-style: normal;
            font-weight: 900;
            line-height: 140%; /* 33.6px */
            letter-spacing: 0.24px;
            margin: 0;
        }
    }
    & .pagination{
        display: flex;
        margin-bottom: 120px;
        border-bottom: none;
        margin-top: 48px;
        align-items: center;
        justify-content: center;
        & .prev, & .next{
            width: 63px;
            height: 63px;
            border: 1px solid #BABBB4;
            padding-top: 22px;
            padding-left: 15px;
            &:hover{
                background-color: var(--wp--preset--color--neon-green);
                & path{
                    fill: #1B1C30;
                }
            }
        }
        & .page-numbers.current{
            color:  var(--wp--preset--color--neon-green);
            padding: 0 30px;
            font-family: var(--wp--preset--font-family--area);
            font-size: 16px;
        }      
    }
}
.archive-post-grid-inner > * {
    border-bottom: 1px solid #BABBB4; /* Bottom border for each item */
    padding: 16px;
    margin-top: 64px;
    
}

.archive-post-grid > *:nth-child(2n) {
    /* border-bottom: none; Remove bottom border for the second column */
}
 
.single-post-head{    
    background-position: center top !important;
    background-size: cover !important;
    & .overlay{
        padding: 153px 0 225px 0;
        background: linear-gradient(271deg, rgba(154, 153, 255, 0.00) 0%, rgb(27 28 48 / 31%) 100%), url(<path-to-image>) #0e0e0e5c 0px -47.883px / 100% 134.921% no-repeat;
        background-blend-mode: multiply, normal;
    }
    & .eyebrow-text{
        color: var(--wp--preset--color--neon-green);
        font-family: var(--wp--preset--font-family--area);
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 100%; /* 14px */
        text-transform: uppercase;
    }
    & h1{
        color: var(--wp--preset--color--cream);      
        font-family: var(--wp--preset--font-family--area);
        font-size: clamp(2rem, 1.2rem + 2vw, 3rem);
        font-style: normal;
        font-weight: 900;
        line-height: 120%; /* 57.6px */
        letter-spacing: 0.48px;
        max-width: 554px;
    }
    & .go-down {
        border: 1px solid #7FF6A7;
        width: fit-content;
        padding: 17px 24px;
        cursor: pointer;
        margin-top: 72px;
    }
    
}
& .status-section{
    border-bottom: 1px solid #BABBB4;
}
& .status-row{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    justify-content: space-around;
    gap: 24px;
    padding: 64px 0px;    
    & h2{
        color:var(--wp--preset--color--neon-green);        
        font-family: var(--wp--preset--font-family--area);
        font-size: clamp(2rem, 0.4rem + 4vw, 4rem);
        font-style: normal;
        font-weight: 900;
        line-height: 115.625%; /* 115.625% */
        letter-spacing: 0.64px;
        text-transform: capitalize;
        display: flex;
        margin-bottom: 16px;
        @media screen and (max-width: 768px){
           & SVG{
            width: 18px;
           }
        }
    }
    & p{
        color: var(--wp--preset--color--smoke-grey);
        font-family: var(--wp--preset--font-family--area);
        font-size: 24px;
        font-style: normal;
        font-weight: 400;
        line-height: 140%; /* 33.6px */
    }
}
& .internal-container{
    max-width: 1088px;
    margin: 0 auto;
    @media screen and (max-width: 1100px){
        max-width: 90%;
     }
}
blockquote{
    display: flex;
    border-left: 0 !important;
    padding-left: 0 !important;
    align-items: center;
    & p{
        padding-left: 24px;
    }
    &::before{
        content: ".";
        width: 270px;
        height: 107px;
        background: url(./assets/images/blockquote.svg);
        background-repeat: no-repeat;
        border-right: 2px solid #BABBB4;
        padding-right: 24px;
        background-size: 90% 98%;

    }
}
.post-navigation{
    display: grid;
    grid-template-columns: auto auto;
    margin-top: 64px;
    margin-bottom: 120px;
    justify-content: space-between;
    & div a{
        display: flex;
        color: var(--wp--preset--color--cream);
        font-family: var(--wp--preset--font-family--new-word);
        font-size: clamp(0.75rem, 0.55rem + 0.5vw, 1rem);
        font-style: normal;
        font-weight: 900;
        line-height: 100% ;
        letter-spacing: 0.32px;
        text-transform: uppercase;
        gap: 24px;
        align-items: center;
        text-decoration: none;
        
        & SVG{
            border: 1px solid #BABBB4;
            padding: 16px;
            width: 64px;
            height: 64px;
            @media screen and (max-width: 768px){
                
                    width: 32px;
                    height: 32px;
                    padding: 8px;
                
             }
        }
    }
}
}