/*
Theme Name: Blueprint
Theme URI: https://36.agency
Author: 36creative     
Author URI: https://36.agency
Description: Block theme designed to provide a flexible and easy to use editing experience.
Version: 3.2
Requires at least: 6.5.5
Tested up to: 6.5.5
Requires PHP: 8.1.23
Text Domain: blueprint
*/

* {
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased; 
    font-family: var(--wp--preset--font-family--montserrat);   
}

img {
    max-width: 100%;
    height: auto;    
}

:root :where(.is-layout-constrained) > * {
    margin-block-start: 0;
}

#wp--skip-link--target {
    margin: 0;
}



/*=========================*/
.footer{
    .footer-top{
        .container{
            @media screen and (max-width: 1032px) {
                grid-template-columns: 1fr;
            }
            .wp-block-blueprint-grid-item{
                &:nth-child(2), &:nth-child(3){
                    & > .container{
                        & >.inner-blocks-container{
                            @media screen and (max-width: 1032px) {
                                align-items: flex-start;
                            }
                            .wp-block-blueprint-menu-link{
                                & + .wp-block-blueprint-menu-link{
                                    margin-top: 38px;
                                }
                                .link{
                                    > a{
                                        color: var(--wp--preset--color--white);
                                        font-size: 16px;
                                        font-weight: 700;
                                        line-height: normal;
                                        text-transform: uppercase;
                                        transition: color 0.3s ease-in-out;
                                        &:hover{
                                            text-decoration: none;
                                            color: var(--wp--preset--color--brand-secondary);
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    .footer-bot{
        .container{
            @media screen and (max-width: 1032px) {
                grid-template-columns: 1fr;
            }
            .wp-block-blueprint-grid-item{
                &:nth-child(1){
                    & > .container{
                        & >.inner-blocks-container{
                            .wp-block-blueprint-paragraph{
                                p{
                                    @media screen and (max-width: 1032px) {
                                        text-align: center;
                                    }
                                }
                            }
                        }
                    }
                }
                &:nth-child(2){
                    & > .container{
                        & >.inner-blocks-container{
                            flex-direction: row;
                            @media screen and (max-width: 1032px) {
                                justify-content: center;
                            }
                            .wp-block-blueprint-link{
                                & + .wp-block-blueprint-link{
                                    margin-left: 14px;
                                    padding-left: 15px;
                                    position: relative;
                                    &::before{
                                        content: "";
                                        display: block;
                                        width: 1px;
                                        height: 15px;
                                        background-color: var(--wp--preset--color--white);
                                        position: absolute;
                                        top: 50%;
                                        left: 0;
                                        transform: translateY(-50%);
                                    }
                                }
                                a.link{
                                    transition: color 0.3s ease-in-out;
                                    &:hover{
                                        text-decoration: none;
                                        color: var(--wp--preset--color--brand-secondary);
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

#counter-area-wrapper .wp-block-blueprint-grid-item{
    position: relative;
}

#counter-area-wrapper .wp-block-blueprint-grid-item::after{
    content: '';
    width: 1px;
    height: 100%;
    position: absolute;
    right: -4vw;
    top: 0;
    background: var(--wp--preset--color--brand-primary);
}

@media screen and (min-width: 1921px){
    #counter-area-wrapper .wp-block-blueprint-grid-item::after{
        right: -15%;
    }
}

@media screen and (min-width: 768px) and (max-width: 1032px){
    #counter-area-wrapper .wp-block-blueprint-grid-item::after{
        content: '';
        width: 1px;
        height: 100%;
        position: absolute;
        right: -2.5vw;
        top: 0;
        background: var(--wp--preset--color--brand-primary);
    }
    #counter-area-wrapper .wp-block-blueprint-grid-item:nth-child(3):after{
        display: none;
    }
}

@media screen and (max-width: 767px){
    #counter-area-wrapper .wp-block-blueprint-grid-item::after{
        content: '';
        width: 154px;
        height: 1px;
        position: absolute;
        left: 0;
        right: 0;
        margin: 0 auto;
        bottom: -30px;
        top: auto;
    }    
}

#counter-area-wrapper .wp-block-blueprint-grid-item:last-child::after{
    display: none;
}

#network .wp-block-blueprint-grid:nth-child(1) > .container{
    border-radius: 20px 20px 0 0;
}
#network .wp-block-blueprint-grid:nth-child(2) > .container{
    border-radius: 0 0 20px 20px;
}

.privacy .wp-block-blueprint-paragraph p a{
    color: var(--wp--preset--color--brand-primary);
    text-decoration: underline;
    transition: color 0.3s ease-in-out;
    font-weight: 700;
    &:hover{
        color: var(--wp--preset--color--brand-secondary);
        text-decoration: none;
    }
}
.error404 .wp-block-template-part{
    margin-block-start: 0;
}