/* # Grid
--------------------------------------------- */
.gb-block-post-grid a.gb-block-post-grid-more-link{
    color: var(--theme-primary-color);
}

/* # Button
--------------------------------------------- */
.gb-button{
    background-color: var(--theme-button-background);
    color: var(--theme-button-color);
}

/* # Newsletter
--------------------------------------------- */
.gb-newsletter-submit,
.gb-newsletter-submit:hover{
    background-color: var(--theme-button-background);
}

/* # Sharing
--------------------------------------------- */
.gb-block-sharing .gb-share-list a{
    color: var(--theme-button-color);
    background-color: var(--theme-button-background);
    text-decoration: none;
}

/* # Accordion
--------------------------------------------- */
.gb-block-accordion + .gb-block-accordion{
    margin-top: -3.1rem;
}
.gb-block-accordion{
    border-top: 1px solid #E8E8E8;
    border-bottom: 1px solid #E8E8E8;
    margin-bottom: 3rem;
}
.gb-block-accordion details{
    position: relative;
}
.gb-block-accordion .gb-accordion-title{
    background-color: transparent;
    padding: 2.8rem 6rem 2.8rem 0;
    outline: 0;
    cursor: pointer;
    position: relative;
}
.gb-block-accordion .gb-accordion-title::-webkit-details-marker{
    display: none;
}
.gb-block-accordion .gb-accordion-text{
    padding: 0 0 3rem;
}
.gb-block-accordion .gb-accordion-text > *:last-child{
    margin-bottom: 0;
}
.gb-block-accordion details .gb-accordion-title:after{
    content: url("data:image/svg+xml;utf8,<svg width='20px' height='20px' viewBox='0 0 20 20' version='1.1' xmlns='http://www.w3.org/2000/svg'><polygon points='20 8.562 11.438 8.562 11.438 0 8.562 0 8.562 8.562 0 8.562 0 11.438 8.562 11.438 8.562 20 11.438 20 11.438 11.438 20 11.438' style='fill: rgb(75, 75, 75);'/></svg>");
    position: absolute;
    right: 2.4rem;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
    transition: all .2s ease 0s;
}
.gb-block-accordion details[open] .gb-accordion-title:after{
    transform: translateY(-50%) rotate(-45deg);
}
.gb-block-accordion .gb-accordion-title code{
    font-size: .75em;
    opacity: .8;
    background: none;
    font-family: var(--theme-font-body);
}
@media (max-width: 650px){
    .gb-block-accordion .gb-accordion-title{
        padding: 2rem 3.5rem 2rem 0;
    }

    .gb-block-accordion details .gb-accordion-title:after{
        right: 0;
    }
}

/* Layout
--------------------------------------------- */
.gb-block-layout-column-gap-3{
    grid-gap: 2em;
}
@media (min-width: 960px){
    .gb-block-layout-column-gap-3{
        grid-gap: 0 3.2em;
    }
}

/* Post grid
--------------------------------------------- */
@media (min-width: 960px){
    .gb-block-post-grid .gb-post-grid-items.is-grid{
        grid-gap: 0 3.2em;
    }
}
.gb-block-post-grid .gb-post-grid-items.is-grid article{
    box-shadow: 0 2px 25px 0 rgba(209, 209, 209, 0.50);
    border-radius: 1.2rem;
    padding: 4rem 3rem 2rem;
    margin: 0 0 var(--theme-grid-gap);
}
@media (min-width: 960px){
    .gb-block-post-grid .gb-post-grid-items.is-grid article{
        padding: 6rem 5rem 4rem;
    }
}
.gb-block-post-grid header .gb-block-post-grid-title a{
    color: var(--theme-secondary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 2.3rem;
}
.gb-block-post-grid .is-list article:last-child{
    margin-bottom: 0;
}
@media (min-width: 960px){
    .gb-block-post-grid .is-list article:not(:last-child){
        margin-bottom: 3rem;
        padding-bottom: 3rem;
    }
}

/* Theme Extras
--------------------------------------------- */
@media (min-width: 960px){
    .theme-gb-block-cta-left{
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 5% 5%;
    }

    .theme-gb-block-cta-left .gb-cta-content{
        text-align: left;
        padding-right: 3rem;
        flex: 1;
    }

    .theme-gb-block-cta-left .gb-cta-content *:last-child{
        margin-bottom: 0;
    }

    .theme-gb-block-cta-left .gb-cta-button{
        flex-basis: auto;
    }
}

.theme-box-shadow .gb-block-accordion:first-child{
    border-top: 0;
}
.theme-box-shadow .gb-block-accordion:first-child .gb-accordion-title{
    padding-top: 0;
}
.theme-box-shadow .gb-block-accordion:last-child{
    border-bottom: 0;
}
.theme-box-shadow .gb-block-accordion:last-child details:not([open]) .gb-accordion-title{
    padding-bottom: 0;
}
.theme-box-shadow .gb-block-accordion:last-child .gb-accordion-text{
    padding-bottom: 0;
}

.theme-tool.gb-block-profile .gb-profile-image-wrap{
    background-color: transparent;
}
.theme-tool.gb-block-profile .gb-profile-image-wrap img{
    height: auto;
}

@media (min-width: 601px) and (max-width: 834px){
    .gb-layout-columns-3.theme-hide-3-column-tablet > .gb-layout-column-wrap{
        -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "col1 col2";
    }

    .wp-block-genesis-blocks-gb-columns.theme-hide-3-column-tablet .gb-block-layout-column:nth-child(3){
        display: none;
    }
}

@media (min-width: 601px) and (max-width: 834px){
    .gb-layout-columns-3.theme-hide-column-3-tablet > .gb-layout-column-wrap{
        -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "col1 col2";
    }

    .wp-block-genesis-blocks-gb-columns.theme-hide-column-3-tablet .gb-block-layout-column:nth-child(3){
        display: none;
    }
}