/* CSS Document */

/* Containers
---------------------------------------------------------------------------- */

.content > .entry {
    margin: 0;
}

.section {
    clear: both;
    position: relative;
}

.wp-block-cover.alignfull {
    padding-left: 0;
    padding-right: 0;
}

.wp-block-cover.alignfull > div,
.wp-block-group.alignfull > div {
    margin-inline: auto;
    max-width: 90%;
    position: relative;
}


/* Feature
---------------------------------------------------------------------------- */

.feature {
    padding: 15vw 0 calc(15vw + 45px);
}

.feature > div {
    position: relative;
}

.feature > div::after {
    background-color: #fff;
    clip-path: url(#circle);
    -webkit-clip-path: url(#circle);
    content: '';
    display: block;
    height: 690px;
    left: 0;
    opacity: .08;
    pointer-events: none;
    position: absolute;
    top: 0;
    transform: translate(-75%,-50%);
    width: 690px;
    z-index: 1;
}

.feature h2 {
    margin: 0;
}

.feature p {
    padding: 0 !important;
}


/* CTA
---------------------------------------------------------------------------- */

.cta {
    z-index: 2;
}

.cta .wp-block-button {
    position: absolute;
}

.cta .wp-block-button::before {
    border: 2px solid #fff;
    border-width: 2px 0;
    background-color: #333;
    content: '';
    display: block;
    height: 100%;
    left: 1px;
    pointer-events: none;
    position: absolute;
    top: 0;
    transform: translateX(-100%);
    transition: box-shadow .2s ease-in-out;
    width: 100vw;
    z-index: 0;
}

.cta .wp-block-button:focus::before,
.cta .wp-block-button:hover::before {
    box-shadow: inset 0 0 200px rgba(230, 230, 230, 0.25);
}

.site-container .cta .wp-block-button a.wp-block-button__link {
    border: 2px solid #fff;
    border-left: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 45px;
    border-top-left-radius: 0;
    border-top-right-radius: 45px;
    line-height: 1.1;
    padding: 25px 60px 25px 0;
    text-align: left;
    text-transform: none;
}

.site-container .cta .wp-block-button a.wp-block-button__link::after {
    color: #629b90 !important;
    font-size: 21px;
    height: 30px;
    line-height: 30px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}


/* Welcome
---------------------------------------------------------------------------- */

.welcome {
    border-top: 2px solid #fff;
    overflow: hidden;
}

.welcome > div {
    position: relative;
}

.welcome > div::before {
    background-color: #fff;
    clip-path: url(#circle);
    -webkit-clip-path: url(#circle);
    content: '';
    display: block;
    height: 690px;
    opacity: .5;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    transform: translate(40%,-30%);
    width: 690px;
    z-index: 0;
}

.welcome .gb-layout-column-wrap {
    align-items: center;
    grid-template-columns: auto auto;
}

.welcome .wp-block-buttons.shift-up {
    margin-top: -45px;
    position: relative;
}


/* Services
---------------------------------------------------------------------------- */

/* styles located in og-styles.css */


/* Team
---------------------------------------------------------------------------- */

.team {
    overflow: hidden;
}

.team > div {
    position: relative;
}

.team > div::before {
    background-color: #fff;
    clip-path: url(#circle);
    -webkit-clip-path: url(#circle);
    content: '';
    display: block;
    height: 1030px;
    left: 0;
    opacity: .5;
    pointer-events: none;
    position: absolute;
    top: 0;
    transform: translate(-35%,10%);
    width: 1030px;
    z-index: 0;
}

.team .wp-block-group {
    position: relative;
}


/* Blog
---------------------------------------------------------------------------- */

.blog {
    color: #fff;
    overflow: hidden;
}

.blog > div {
    position: relative;
}

.blog > div::before {
    background-color: #fff;
    clip-path: url(#circle);
    -webkit-clip-path: url(#circle);
    content: '';
    display: block;
    height: 1030px;
    opacity: .03;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    transform: translate(30%,2%);
    width: 1030px;
    z-index: 0;
}

.blog .wp-block-group {
    position: relative;
}

.blog .gb-post-grid-item {
    display: grid;
    grid-gap: 0 25px;
    grid-template-areas: 'image text';
    grid-template-columns: .47fr .53fr;
    grid-template-rows: auto;
    margin: 0 !important;
}

.blog .gb-post-grid-item .gb-block-post-grid-image {
    background-color: #fff;
    border-bottom-right-radius: 40px;
    border-top-left-radius: 40px;
    grid-area: image;
    grid-row: 1 / 4;
    height: 100%;
    margin: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.blog .gb-post-grid-item .gb-block-post-grid-image img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    transition: opacity .2s ease-in-out;
    width: 100%;
}

.blog .gb-post-grid-item .gb-block-post-grid-image a:focus img,
.blog .gb-post-grid-item .gb-block-post-grid-image a:hover img {
    opacity: .9;
}

.blog .gb-post-grid-item .gb-block-post-grid-text {
    align-self: center;
    font-size: 18px;
    grid-area: text;
    padding: 40px 0;
}

.blog .gb-block-post-grid header .gb-block-post-grid-title,
.blog .gb-block-post-grid header .gb-block-post-grid-title a {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.blog .gb-block-post-grid header .gb-block-post-grid-title a:focus,
.blog .gb-block-post-grid header .gb-block-post-grid-title a:hover {
    text-decoration: none;
}

.blog .gb-block-post-grid-text p:last-child {
    position: relative;
}

.blog .gb-block-post-grid-text p:last-child::before {
    background: linear-gradient(-120deg,  rgba(98,155,144,1) 0%,rgba(51,51,51,1) 100%);
    border-radius: 30px;
    content: '';
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    transition: all .2s ease-in-out;
    width: 150%;
    z-index: 0;
}

.blog .gb-block-post-grid-more-link {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 15px;
    position: relative;
    text-align: right;
    text-transform: uppercase;
}

.blog .gb-block-post-grid-more-link::before,
.blog .gb-block-post-grid-more-link::after {
    aspect-ratio: 1/1;
    background-color: #fff;
    border-radius: 100%;
    color: #386084;
    content: '\f345';
    display: inline-block;
    font-family: 'dashicons';
    font-size: 13px;
    height: 18px;
    line-height: 18px;
    margin-left: 8px;
    position: relative;
    text-align: center;
    transition: all .2s ease-in-out;
}

.blog .gb-block-post-grid-more-link::before {
    display: none;
    margin-left: 0;
    margin-right: 8px;
}

.blog .gb-block-post-grid-more-link:focus,
.blog .gb-block-post-grid-more-link:hover {
    text-decoration: none;
}


/* FAQs
---------------------------------------------------------------------------- */

/* styles located in og-styles.css */


/* Media Queries
---------------------------------------------------------------------------- */

@media only screen and (min-width: 768px) {
    
    .feature::before {
        background: linear-gradient(to right,  rgba(56,96,132,1) 0%,rgba(56,96,132,0.75) 70%,rgba(56,96,132,0) 100%);
        content: '';
        display: block;
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 70%;
        z-index: 1;
    }
    
    .feature .wp-block-cover__background {
        display: none;
    }

    .feature .text {
        float: left;
        max-width: 50%;
    }
    
}

@media only screen and (min-width: 1024px) {
    
    .wp-block-cover.alignfull > div,
    .wp-block-group.alignfull > div {
        max-width: 960px;
    }
    
    .feature {
        padding: 175px 0
    }
    
    .blog .gb-post-grid-item:nth-child(even) {
        grid-template-areas: 'text image';
        grid-template-columns: .53fr .47fr;
    }
    
    .blog .gb-post-grid-item:nth-child(odd) .gb-block-post-grid-text p:last-child::before {
        left: auto;
        right: 0;
    }
    
    .blog .gb-post-grid-item:nth-child(even) .gb-block-post-grid-text p:last-child::before {
        background: linear-gradient(120deg,  rgba(98,155,144,1) 0%,rgba(51,51,51,1) 100%);
    }
    
    .blog .gb-block-post-grid-text p:last-child:focus::before,
    .blog .gb-block-post-grid-text p:last-child:hover::before {
        box-shadow: inset 0 0 200px rgba(230, 230, 230, 0.25);
    }
    
    .blog .gb-block-post-grid-more-link {
        width: 100%;
    }
    
    .blog .gb-post-grid-item:nth-child(even) .gb-block-post-grid-more-link {
        text-align: left;
    }
    
    .blog .gb-post-grid-item:nth-child(even) .gb-block-post-grid-more-link::before {
        display: inline-block;
    }
    
    .blog .gb-post-grid-item:nth-child(odd) .gb-block-post-grid-more-link::before,
    .blog .gb-post-grid-item:nth-child(even) .gb-block-post-grid-more-link::after {
        display: none;
    }
    
}

@media only screen and (min-width: 1240px) {
    
    .wp-block-cover.alignfull > div,
    .wp-block-group.alignfull > div {
        max-width: 1170px;
    }
    
}

@media only screen and (max-width: 1023px) {
    
    .blog .gb-post-grid-item {
        display: block;
    }
    
    .blog .gb-post-grid-item .gb-block-post-grid-image {
        height: auto;
        margin-bottom: 20px;
    }
    
    .blog .gb-post-grid-item .gb-block-post-grid-text {
        padding: 0;
    }
    
    .blog .gb-block-post-grid-text p:last-child::before {
        display: none;
    }
    
    .blog .gb-block-post-grid-more-link {
        background: linear-gradient(-120deg,  rgba(98,155,144,1) 0%,rgba(51,51,51,1) 100%);
        border-radius: 40px;
        padding: 10px 30px;
    }
    
    .blog .gb-block-post-grid-more-link:focus,
    .blog .gb-block-post-grid-more-link:hover {
        box-shadow: inset 0 0 200px rgba(230, 230, 230, 0.25);
    }
    
}

@media only screen and (max-width: 767px) {

    
    
}

@media only screen and (max-width: 600px) {
    
    .feature,
    .welcome {
        text-align: center;
    }

    .feature .wp-block-buttons {
        justify-content: center;
    }
    
    .blog .gb-block-post-grid div[class*=columns].is-grid, .blog .gb-block-post-grid div[class*=columns].gb-is-grid {
        grid-gap: 40px 0;
    }
    
    .blog .gb-post-grid-item .gb-block-post-grid-text {
        text-align: center;
    }
}