/* General
--------------------------------------------- */
.entry-content{
    font-size: 1.7rem;
    line-height: 1.688889;
}
.entry-content > *{
    margin-top: 3rem;
    margin-bottom: 3rem;
}
.entry-content > h2,
.entry-content > h3,
.entry-content > h4{
    margin-top: 5rem;
    margin-bottom: 3rem;
}
.wp-block-image figcaption{
    font-size: 15px;
    font-style: italic;
    line-height: 1.3;
    text-align: center;
}

/* Background Color
--------------------------------------------- */
.entry-content p.has-background{
    padding: 2.5rem 3rem;
}

/* Alignment
--------------------------------------------- */
body{
    overflow-x: hidden;
}
:root{
    --theme-content-width-wide: 100%;
}
@media only screen and (min-width: 860px){
    :root{
        --theme-content-width-wide: 860px;
    }

    .entry-content > .alignwide{
        margin-left: calc((var(--theme-content-width-default) - var(--theme-content-width-wide)) / 2);
        margin-right: calc((var(--theme-content-width-default) - var(--theme-content-width-wide)) / 2);
        width: calc(100% + (var(--theme-content-width-wide) - var(--theme-content-width-default)));
        max-width: none;
    }
}
@media only screen and (min-width: 1075px){
    :root{
        --theme-content-width-wide: 960px;
    }
}
@media only screen and (min-width: 1250px){
    :root{
        --theme-content-width-wide: 1050px;
    }

    .alignfull .alignwide,
    .alignwide .alignwide{
        max-width: var(--theme-content-width-wide);
        margin: 0 auto;
    }
}
.entry-content > .alignfull{
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}
.wp-block-button.alignleft,
.wp-block-buttons.alignleft,
.wp-block-cover.alignleft,
.wp-block-image .alignleft{
    margin-right: 3rem;
}
.wp-block-button.alignright,
.wp-block-buttons.alignright,
.wp-block-cover.alignright,
.wp-block-image .alignright{
    margin-left: 3rem;
}

/* Group
--------------------------------------------- */
.wp-block-group.has-background{
    padding: 3rem;
}
.wp-block-group .wp-block-group__inner-container > *:last-child{
    margin-bottom: 0;
}

/* Block image
--------------------------------------------- */
.wp-block-image img{
    display: block;
}

/* Block gallery
--------------------------------------------- */
.wp-block-gallery{
    margin-left: 0;
}
.wp-block-gallery ul{
    margin: 0;
}

/* Block quote
--------------------------------------------- */
.wp-block-quote > cite{
    display: block;
    opacity: .7;
    font-size: .9em;
    margin-top: -1rem;
    text-align: left;
}
.wp-block-quote.is-style-large,
.wp-block-quote.is-large{
    margin-left: 3rem;
    margin-right: 3rem;
    padding: 0;
}

/* Block pullquote
--------------------------------------------- */
.wp-block-pullquote blockquote::before{
    height: .5em;
    left: 0;
    text-align: center;
    font-size: 10rem;
    padding-right: 2rem;
}
.wp-block-pullquote blockquote > cite{
    display: block;
    opacity: .7;
    font-size: .9em;
    margin-top: -1rem;
}
.wp-block-pullquote.is-style-solid-color{
    background-color: var(--theme-button-background);
    color: var(--theme-button-color);
}
.wp-block-pullquote.is-style-solid-color blockquote{
    max-width: 80%;
}
.wp-block-pullquote.is-style-solid-color blockquote cite{
    margin-top: 2rem;
}
@media (max-width: 650px){
    .wp-block-pullquote{
        padding: 1em;
    }
}

/* Block preformatted
--------------------------------------------- */
.wp-block-preformatted{
    white-space: pre-wrap;
}

/* Block buttons
--------------------------------------------- */
.wp-block-button .wp-block-button__link{
    border-radius: 100rem;
    color: var(--theme-button-color);
    background-color: var(--theme-button-background);
    border-color: var(--theme-button-background);
}
.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus,
.wp-block-button .wp-block-button__link:active{
    color: var(--theme-button-color-hover);
    background-color: var(--theme-button-background-hover);
    border-color: var(--theme-button-background-hover);
}
.wp-block-button .wp-block-button__link:not(.has-background),
.wp-block-button .wp-block-button__link:not(.has-background):focus,
.wp-block-button .wp-block-button__link:not(.has-background):hover{
    color: var(--theme-button-color);
}
.wp-block-button.is-style-outline .wp-block-button__link{
    background-color: transparent;
    color: var(--theme-primary-color);
}
.wp-block-button.is-style-outline .wp-block-button__link:focus,
.wp-block-button.is-style-outline .wp-block-button__link:hover{
    color: var(--theme-button-background-hover);
}

/* Block separator
--------------------------------------------- */
.wp-block-separator{
    border: none;
    border-bottom: 2px solid #8f98a1;
    margin-left: auto;
    margin-right: auto;
}
.wp-block-separator:not(.is-style-wide):not(.is-style-dots){
    max-width: 10rem;
}
.wp-block-separator.has-background:not(.is-style-dots){
    border-color: currentColor;
}

/* Table
--------------------------------------------- */
.wp-block-table table{
    margin-bottom: 0 !important;
}

/* Spacer
--------------------------------------------- */
.entry-content > .wp-block-spacer{
    margin-top: 0;
    margin-bottom: 0;
}

/* Latest posts
--------------------------------------------- */
:root{
    --theme-grid-gap: 3rem;
}
@media (max-width: 599px){
    :root{
        --theme-grid-gap: 10%;
    }
}
@media (min-width: 960px){
    :root{
        --theme-grid-gap: 5rem;
    }
}
.wp-block-latest-posts > li{
    list-style: none !important;
}
.wp-block-latest-posts a{
    color: var(--theme-secondary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 2.3rem;
}
.wp-block-latest-posts__featured-image img{
    width: 100%;
}
.wp-block-latest-posts__post-excerpt{
    font-size: 1.7rem;
    margin-bottom: 0;
}
.wp-block-latest-posts.wp-block-latest-posts__list li{
    margin-bottom: 3rem;
}
.wp-block-latest-posts.is-grid li{
    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 (max-width: 859px){
    .wp-block-latest-posts.is-grid{
        margin-left: 0;
    }
}
@media (max-width: 599px){
    .wp-block-latest-posts.is-grid.alignwide,
    .wp-block-latest-posts.is-grid.alignfull{
        margin-left: unset;
    }
}
@media (min-width: 600px){
    .wp-block-latest-posts.is-grid li{
        margin-right: var(--theme-grid-gap);
    }

    .wp-block-latest-posts.columns-2 li{
        width: calc((100% - 1 * var(--theme-grid-gap)) / 2);
    }

    .wp-block-latest-posts.columns-3 li{
        width: calc((100% - 2 * var(--theme-grid-gap)) / 3);
    }

    .wp-block-latest-posts.columns-4 li{
        width: calc((100% - 3 * var(--theme-grid-gap)) / 4);
    }

    .wp-block-latest-posts.columns-5 li{
        width: calc((100% - 4 * var(--theme-grid-gap)) / 5);
    }

    .wp-block-latest-posts.columns-6 li{
        width: calc((100% - 5 * var(--theme-grid-gap)) / 6);
    }

    .wp-block-latest-posts.columns-2 li:nth-child(2n),
    .wp-block-latest-posts.columns-3 li:nth-child(3n),
    .wp-block-latest-posts.columns-4 li:nth-child(4n),
    .wp-block-latest-posts.columns-5 li:nth-child(5n),
    .wp-block-latest-posts.columns-6 li:nth-child(6n){
        margin-right: 0;
    }
}
@media (min-width: 960px){
    .wp-block-latest-posts.is-grid li{
        padding: 6rem 5rem 4rem;
    }
}

/* Theme Extras
--------------------------------------------- */
.theme-font-weight-100{
    font-weight: 100;
}
.theme-font-weight-200{
    font-weight: 200;
}
.theme-font-weight-300{
    font-weight: 300;
}
.theme-font-weight-400{
    font-weight: 400;
}
.theme-font-weight-500{
    font-weight: 500;
}
.theme-font-weight-600{
    font-weight: 600;
}
.theme-font-weight-700{
    font-weight: 700;
}
.theme-font-weight-800{
    font-weight: 800;
}
.theme-font-weight-900{
    font-weight: 900;
}

.theme-width-100,
.theme-width-100 .wp-block-button__link{
    width: 100%;
}
.theme-width-95,
.theme-width-95 .wp-block-button__link{
    width: 95%;
}
.theme-width-90,
.theme-width-90 .wp-block-button__link{
    width: 90%;
}
.theme-width-85,
.theme-width-85 .wp-block-button__link{
    width: 85%;
}
.theme-width-80,
.theme-width-80 .wp-block-button__link{
    width: 80%;
}
.theme-width-75,
.theme-width-75 .wp-block-button__link{
    width: 75%;
}
.theme-width-70,
.theme-width-70 .wp-block-button__link{
    width: 70%;
}

.theme-big-heading{
    font-size: 4rem !important;
}
@media only screen and (max-width: 650px){
    .theme-big-heading{
        font-size: 3.4rem !important;
    }
}

.theme-huge-heading{
    font-size: 4.6rem !important;
}
@media only screen and (max-width: 650px){
    .theme-huge-heading{
        font-size: 3.6rem !important;
    }
}

.theme-link-dash a{
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    text-decoration: none;
}
.theme-link-dash a:before{
    content: "";
    display: block;
    height: 1px;
    width: 6.3rem;
    margin-right: 2rem;
    background-color: var(--theme-secondary-color);
}

.theme-align-bottom{
    align-items: flex-end;
}


.theme-testimonial{
    box-shadow: 0 2px 25px 0 rgba(209, 209, 209, 0.50);
    border-radius: 1.2rem;
    padding: 4rem 3rem;
}
@media (min-width: 960px){
    .theme-testimonial{
        padding: 6rem 5rem;
    }
}
.theme-testimonial .wp-block-media-text{
    display: flex;
}
.theme-testimonial .wp-block-media-text .wp-block-media-text__media{
    flex-basis: auto;
}
.theme-testimonial .wp-block-media-text .wp-block-media-text__content{
    flex: 1;
}
@media (min-width: 601px) and (max-width: 860px){
    .wp-block-columns .theme-testimonial .wp-block-media-text,
    .wp-block-atomic-blocks-ab-columns .theme-testimonial .wp-block-media-text{
        display: block;
    }

    .wp-block-columns .theme-testimonial .wp-block-media-text .wp-block-media-text__media,
    .wp-block-atomic-blocks-ab-columns .theme-testimonial .wp-block-media-text .wp-block-media-text__media{
        margin-bottom: 1rem;
    }

    .wp-block-columns .theme-testimonial .wp-block-media-text .wp-block-media-text__content,
    .wp-block-atomic-blocks-ab-columns .theme-testimonial .wp-block-media-text .wp-block-media-text__content{
        padding: 0;
    }
}
.theme-testimonial .wp-block-media-text .wp-block-media-text__media img{
    width: 6.2rem;
    height: 6.2rem;
    border-radius: 100rem;
    object-fit: cover;
}
.theme-testimonial .wp-block-media-text .wp-block-media-text__content h4{
    font-weight: 400;
    font-size: 1.7rem;
}
.theme-testimonial .wp-block-media-text .wp-block-media-text__content > *:last-child{
    margin-bottom: 0;
}
.theme-testimonial > h5{
    font-size: 2.3rem;
    margin-bottom: 2rem;
}
.theme-testimonial > *:last-child{
    margin-bottom: 0;
}
.theme-testimonial.theme-1-stars:after{
    content: url("data:image/svg+xml;utf8,<svg viewBox='0 0 150 28' version='1.1' xmlns='http://www.w3.org/2000/svg'><polygon style='fill: rgb(252, 177, 48);' points='28.125 10.719 18.43 9.242 14.063 0 9.695 9.242 0 10.719 7.031 17.855 5.356 28 14.063 23.215 22.769 28 21.094 17.855'/><polygon fill='#CCCCCC' points='59.063 10.719 49.367 9.242 45 0 40.633 9.242 30.938 10.719 37.969 17.855 36.293 28 45 23.215 53.707 28 52.031 17.855'/><polygon style='fill: rgb(204, 204, 204);' points='89.063 10.719 79.367 9.242 75 0 70.633 9.242 60.938 10.719 67.969 17.855 66.293 28 75 23.215 83.707 28 82.031 17.855'/><polygon style='fill: rgb(204, 204, 204);' points='120 10.719 110.305 9.242 105.938 0 101.57 9.242 91.875 10.719 98.906 17.855 97.231 28 105.938 23.215 114.644 28 112.969 17.855'/><polygon style='fill: rgb(204, 204, 204);' points='150 10.719 140.305 9.242 135.938 0 131.57 9.242 121.875 10.719 128.906 17.855 127.231 28 135.938 23.215 144.644 28 142.969 17.855'/></svg>");
    display: block;
    margin-top: 3rem;
    max-width: 15rem;
}
.theme-testimonial.theme-2-stars:after{
    content: url("data:image/svg+xml;utf8,<svg viewBox='0 0 150 28' version='1.1' xmlns='http://www.w3.org/2000/svg'><polygon style='fill: rgb(252, 177, 48);' points='28.125 10.719 18.43 9.242 14.063 0 9.695 9.242 0 10.719 7.031 17.855 5.356 28 14.063 23.215 22.769 28 21.094 17.855'/><polygon style='fill: rgb(252, 177, 48);' points='59.063 10.719 49.367 9.242 45 0 40.633 9.242 30.938 10.719 37.969 17.855 36.293 28 45 23.215 53.707 28 52.031 17.855'/><polygon style='fill: rgb(204, 204, 204);' points='89.063 10.719 79.367 9.242 75 0 70.633 9.242 60.938 10.719 67.969 17.855 66.293 28 75 23.215 83.707 28 82.031 17.855'/><polygon style='fill: rgb(204, 204, 204);' points='120 10.719 110.305 9.242 105.938 0 101.57 9.242 91.875 10.719 98.906 17.855 97.231 28 105.938 23.215 114.644 28 112.969 17.855'/><polygon style='fill: rgb(204, 204, 204);' points='150 10.719 140.305 9.242 135.938 0 131.57 9.242 121.875 10.719 128.906 17.855 127.231 28 135.938 23.215 144.644 28 142.969 17.855'/></svg>");
    display: block;
    margin-top: 3rem;
    max-width: 15rem;
}
.theme-testimonial.theme-3-stars:after{
    content: url("data:image/svg+xml;utf8,<svg viewBox='0 0 150 28' version='1.1' xmlns='http://www.w3.org/2000/svg'><polygon style='fill: rgb(252, 177, 48);' points='28.125 10.719 18.43 9.242 14.063 0 9.695 9.242 0 10.719 7.031 17.855 5.356 28 14.063 23.215 22.769 28 21.094 17.855'/><polygon style='fill: rgb(252, 177, 48);' points='59.063 10.719 49.367 9.242 45 0 40.633 9.242 30.938 10.719 37.969 17.855 36.293 28 45 23.215 53.707 28 52.031 17.855'/><polygon style='fill: rgb(252, 177, 48);' points='89.063 10.719 79.367 9.242 75 0 70.633 9.242 60.938 10.719 67.969 17.855 66.293 28 75 23.215 83.707 28 82.031 17.855'/><polygon style='fill: rgb(204, 204, 204);' points='120 10.719 110.305 9.242 105.938 0 101.57 9.242 91.875 10.719 98.906 17.855 97.231 28 105.938 23.215 114.644 28 112.969 17.855'/><polygon style='fill: rgb(204, 204, 204);' points='150 10.719 140.305 9.242 135.938 0 131.57 9.242 121.875 10.719 128.906 17.855 127.231 28 135.938 23.215 144.644 28 142.969 17.855'/></svg>");
    display: block;
    margin-top: 3rem;
    max-width: 15rem;
}
.theme-testimonial.theme-4-stars:after{
    content: url("data:image/svg+xml;utf8,<svg viewBox='0 0 150 28' version='1.1' xmlns='http://www.w3.org/2000/svg'><polygon style='fill: rgb(252, 177, 48);' points='28.125 10.719 18.43 9.242 14.063 0 9.695 9.242 0 10.719 7.031 17.855 5.356 28 14.063 23.215 22.769 28 21.094 17.855'/><polygon style='fill: rgb(252, 177, 48);' points='59.063 10.719 49.367 9.242 45 0 40.633 9.242 30.938 10.719 37.969 17.855 36.293 28 45 23.215 53.707 28 52.031 17.855'/><polygon style='fill: rgb(252, 177, 48);' points='89.063 10.719 79.367 9.242 75 0 70.633 9.242 60.938 10.719 67.969 17.855 66.293 28 75 23.215 83.707 28 82.031 17.855'/><polygon style='fill: rgb(252, 177, 48);' points='120 10.719 110.305 9.242 105.938 0 101.57 9.242 91.875 10.719 98.906 17.855 97.231 28 105.938 23.215 114.644 28 112.969 17.855'/><polygon style='fill: rgb(204, 204, 204);' points='150 10.719 140.305 9.242 135.938 0 131.57 9.242 121.875 10.719 128.906 17.855 127.231 28 135.938 23.215 144.644 28 142.969 17.855'/></svg>");
    display: block;
    margin-top: 3rem;
    max-width: 15rem;
}
.theme-testimonial.theme-5-stars:after{
    content: url("data:image/svg+xml;utf8,<svg viewBox='0 0 150 28' version='1.1' xmlns='http://www.w3.org/2000/svg'><polygon style='fill: rgb(252, 177, 48);' points='28.125 10.719 18.43 9.242 14.063 0 9.695 9.242 0 10.719 7.031 17.855 5.356 28 14.063 23.215 22.769 28 21.094 17.855'/><polygon style='fill: rgb(252, 177, 48);' points='59.063 10.719 49.367 9.242 45 0 40.633 9.242 30.938 10.719 37.969 17.855 36.293 28 45 23.215 53.707 28 52.031 17.855'/><polygon style='fill: rgb(252, 177, 48);' points='89.063 10.719 79.367 9.242 75 0 70.633 9.242 60.938 10.719 67.969 17.855 66.293 28 75 23.215 83.707 28 82.031 17.855'/><polygon style='fill: rgb(252, 177, 48);' points='120 10.719 110.305 9.242 105.938 0 101.57 9.242 91.875 10.719 98.906 17.855 97.231 28 105.938 23.215 114.644 28 112.969 17.855'/><polygon style='fill: rgb(252, 177, 48);' points='150 10.719 140.305 9.242 135.938 0 131.57 9.242 121.875 10.719 128.906 17.855 127.231 28 135.938 23.215 144.644 28 142.969 17.855'/></svg>");
    display: block;
    margin-top: 3rem;
    max-width: 15rem;
}

.theme-tool{
    box-shadow: 0 2px 25px 0 rgba(209, 209, 209, 0.50);
    border-radius: 1.2rem;
    padding: 3.5rem;
}

.theme-box-shadow{
    box-shadow: 0 2px 25px 0 rgba(209, 209, 209, 0.50);
    border-radius: 12px;
}
.theme-box-padding-small{
    padding: 8%;
}
@media (min-width: 720px){
    .theme-box-padding-small{
        padding: 4%;
    }
}
.theme-box-padding-medium{
    padding: 10%;
}
.theme-box-padding-large{
    padding: 16%;
}