:root {
    --headings-font-family: 'Kameron', serif;
    --body-font-family: 'sans-serif';
    --forms-border: rounded;
    --forms-active-color: #000;
    --forms-inactive-color: #222222;
    --forms-checkbox-box: url(../assets/checkbox.svg);
    --forms-checkbox-check: url(../assets/check.svg);
    color-scheme: only light;
}


* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    min-height: 100vh;
}

* {
    font-family: var(--body-font-family);
}

*:where(h1, h2, h3, h4, h5, h6),
*:where(h1, h2, h3, h4, h5, h6) *,
.elementor-heading-title {
    font-family: var(--headings-font-family);
}

a {
    text-decoration: none;
    color: inherit
}

p:first-of-type {
    margin-top: 0
}

main ul {
    padding-left: 0.8rem;
    margin: 0
}

main ul li {
    margin: 0 0 0.8rem 0
}

main {
    min-height: 100%
}

.post {
    margin: calc(1.5 * var(--header-height)) auto;
    max-width: var(--layout-content-width)
}

.post .article-meta {
    margin: 2rem 0
}

.post .featured-image {
    max-width: var(--layout-content-width);
    margin: 2rem 0;
    object-fit: contain
}

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

    .post {
        margin: var(--header-height-mobile) auto;
        max-width: var(--layout-content-width)
    }

}


.e-con-full .stretch .elementor-image {
    min-height: 100%;
    display: flex
}

.elementor-widget-container > *:first-child {
    margin-top: 0;

}


.e-con-full .stretch img {
    height: unset;
    max-height: unset;
    min-height: unset;
    object-fit: cover;
}

footer {
    align-self: flex-end;
    margin-top: auto;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;

}

.footer-widgets {
    width: var(--footer-width);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-widgets .footer-column {
    flex-grow: 0;
    display: flex;
    width: max-content;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    text-align: left;
}


.site-footer .divider {
    width: 100%;
    max-width: var(--layout-content-width);
    margin: auto;
}

.site-footer .divider img {
    max-width: 100%;
    object-fit: cover;
}

.site-footer .footer-panel {
    width: 100%;
    max-width: var(--layout-content-width);
    text-align: center;
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 2rem 0;
    gap: 4rem;
}


.site-footer h5 {
    margin: 0;
}

.site-footer .spajder {
    position: absolute;
    bottom: 00px;
    right: 0;
}

@media screen and (max-width: 800px) {
    .footer-widgets {
        justify-content: center
    }

    .footer-widgets .footer-column {
        width: 50%;
    }
}

@media screen and (max-width: 600px) {
    .footer-widgets .footer-column {
        width: 100%;
    }

}

/************** POSTS **********/

article.post-tease {
    padding: 20px;
}

.elementor-widget-container img {
    object-fit: cover;
}

/** Widgets **/

body:not(.mobile-menu) .mobile-widget {
    display: none;
}

aside.contact-widget {
    display: flex;
    flex-direction: column;
    justify-self: flex-end;
}

aside.contact-widget.inline {
    flex-direction: row;
    gap: 1rem;
}

aside.contact-widget.inline h4 {
    margin-right: 1rem;
}

aside.contact-widget a {
    display: flex;
    align-items: center;
    padding: 5px 0;

}

aside.contact-widget a img {
    width: 30px;
    height: 25px;
    object-fit: contain
}


aside.contact-widget .prefix {
    font-family: var(--headings-font-family);
    margin: 0 9px;
}

aside.link-widget a.button {
    padding: 0.7rem 2rem;
    border-radius: 30px;
    font: 400 14px var(--headings-font-family);
    text-transform: uppercase;
    margin: 1rem 0;
    display: inline-block;
    transition: 0.3s;
    color: var(--color);
    background-color: var(--background);
}

aside.link-widget a.button:hover {
    color: var(--hover-color);
    background-color: var(--hover);
}


hr.col-divider {
    height: 100%;
    background-color: #000000;
    width: 1px;
    border: unset;
}


.text-divider-widget {
    text-align: center;
    align-items: center;
    margin: 1rem auto;
    width: 100%;
    display: flex;
    gap: 0.6rem
}

.text-divider-widget hr {
    flex-grow: 1;
    height: 1px;
    border: unset;
    background-color: #000;
}


/******* 404 Not found ********/

.error404 .wrapper {
    background-color: #FDEDCE;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--header-height));
    width: 100%
}

.error404 .wrapper .logo {
    margin-bottom: 60px
}

.error404 .wrapper h1 {

    width: 640px;
    font-family: 'Cabin';
    font-style: normal;
    font-weight: 700;
    font-size: 42px;
    line-height: 120%;
    /* or 50px */

    text-align: center;
    letter-spacing: 0.005em;
}

.error404 .wrapper p {
    max-width: 557px;
    text-align: center;
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    text-align: center;
    letter-spacing: 0.014em;
}

.error404 .wrapper a.button {
    color: #F0F5F3;
    background-color: #6E9A8B;
    font-size: 16px;
    padding: 14px 62px;
    border-radius: 30px;
    font-family: var(--headings-font-family)
}


/******* SEARCH ******/

.search main {
    margin: 11rem auto;
    width: var(--layout-content-width);

}

.search main hr {
    margin: 3rem 0;
}

.search .tease p {
    font-family: var(--body-font-family);
}

.search .tease .link .btn {

    font-family: var(--body-font-family);
    font-weight: 400;
    font-size: 1rem;
    border-radius: 4px;
    color: white;
    background: #628570;
    padding: 0.5rem 2rem;
    display: block;
    border: unset;
    width: max-content;

}

@media screen and (max-width: 800px) {
    .search main {
        margin-top: calc(var(--header-height-mobile) + 2rem)
    }

    .search main h1 {
        font-size: 2rem;
    }
}