/*
* Theme Name: Mindful
* Template: ousia
*/

@font-face {
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 300;
    src: url(https://mindfulrelief.net/wp-content/themes/mindful/fonts/ssp3.woff2) format('woff2');
}

@font-face {
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 400;
    src: url(https://mindfulrelief.net/wp-content/themes/mindful/fonts/ssp4.woff2) format('woff2');
}

body {
    --header-height: 3em;
    font-family: Source Serif Pro;
    --max-width: calc(var(--font-size)*30);
    --text-color: #2c2d20;
    --link-color: #989820;
    --accent-color: #abac7a;
    --bg-color: #f7f5f2;
    --shadow-color: rgba(0, 0, 0, 0.1)
}

a {
    color: var(--link-color);
}

a.more-link {
    display: block;
    text-align: right;
}

.header-image {

    background-size: auto 100%;
    background-position: 40% 60%;
    width: 100%;
    min-height: 30vh;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-align-content: center;
    align-content: center;
    height: 90vh;
    justify-content: flex-end;
    max-width: unset;
    margin: 0;
    background-repeat: no-repeat;
}

.header-image h1 {
    color: var(--lightest-color);
    font-size: 2.5em;
    line-height: 1.1em;
    font-weight: 700;
    text-shadow: 0px 0px 8px rgb(0, 0, 0, 0.8), 0px 0px 10px rgb(255, 255, 255, 0.2);
}

.header-image h2 a {
    color: var(--lightest-color)!important;
    font-size: 1.4em;
    line-height: 1.1em;
    font-weight: 700;
    text-shadow: 0px 0px 8px rgb(0 0 0 / 80%), 0px 0px 10px rgb(255 255 255 / 20%);
}

#header h4 {
    font-size: 1.2em;
    font-weight: 500;
    text-shadow: 1px 1px 1px rgb(149, 152, 33), 1px 1px 15px rgb(255, 255, 255, 0.3);
    margin: 0 10px 0;
}

.cta {
    box-shadow: var(--spacing-1) var(--spacing-1) var(--spacing-4) -1.4em var(--shadow-color) !important;
    background-color: rgba(46, 123, 55, 0.02) !important;
    padding: var(--spacing-3);
    margin-top: var(--spacing-5);
    margin-bottom: var(--spacing-5);
    border-width: var(--spacing-1);
    border-style: solid;
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: space-between;
    border-color: var(--lightest-color);
}

.cta button,
.regform-button,
input[type="submit"],
.piotnetforms-button,
.cta .piotnetforms-button {
    font-size: 0.8em;
    text-align: center;
    color: var(--lightest-color);
    font-size: 0.8em;
    text-align: center;
    padding: var(--spacing-1) var(--spacing-2) var(--spacing-1) var(--spacing-2);
    border-width: 2px;
    border-radius: 4px;
    color: var(--lightest-color);
    box-shadow: 0.1em 0.1em 0.8em -0.5em var(--shadow-color) !important;
    background-color: var(--accent-color);
    border-style: solid;
    border-color: var(--lightest-color);
    transition: 200ms ease-in;
    background-color: var(--accent-color) !important;
}

.wp-block-embed iframe {
    max-width: 100%;
    max-height: calc(100vw/1.95);
}

.wp-block-embed {
    margin: auto;
}

@media (min-width: 1200px) {
    .header-image {
        height: 60vh;
    }
}

@media (min-width: 768px) {

    #header nav#menu>div a {
        font-size: 0.9em;
    }
    #header>div {
        max-width: calc(1.4 * var(--max-width));
    }
    .archive-header-image {
        max-width: calc(4em + var(--max-width));
        margin: 0 auto;
    }
    .wp-block-embed iframe {
        max-height: calc(var(--max-width)/1.6);
    }
    #header>div #branding {
        display: flex;
        align-items: center;
        margin-left: 1em;
    }
}

#header svg.logo {
    width: 2.2em;
    height: 3em;
    margin-bottom: 0.1em;
    transition: transform 1s ease-in-out;
}

#branding:hover svg.logo {
    transform: rotate(360deg);
}

#menu svg {
    width: 1.2em;
}

a.read-more {
    float: right;
    padding: 1.5em;
}

.lang-item a {
    margin-bottom: 0.4em;
}

.cta {
    box-shadow: var(--spacing-1) var(--spacing-1) var(--spacing-4) -1.4em var(--shadow-color) !important;
    background-color: rgba(46, 123, 55, 0.02) !important;
    padding: var(--spacing-3);
    margin-bottom: var(--spacing-3);
    border-width: var(--spacing-1);
    border-style: solid;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
    -webkit-align-content: space-between;
    align-content: space-between;
    border-color: var(--lightest-color);
}

.wp-block-columns .cta {
    font-size: 0.9em!important;
}

blockquote {
    font-weight: 300;
    font-variant: normal;
    background-color: var(--lightest-color);
    padding: 1.5em;
    border: 1px solid rgba(171, 172, 122, 0.25);
    box-shadow: 1px 1px 3px -1px rgba(171, 172, 122, 0.25), 0 0 15px var(--bg-color) inset;
}

blockquote em {
    font-weight: 400;
}

blockquote cite {
    font-size: 1.1em;
    font-style: normal;
    text-align: right;
}

.infobox {
    box-shadow: var(--spacing-1) var(--spacing-1) var(--spacing-4) -1.4em var(--shadow-color) !important;
    background-color: var(--lightest-color) !important;
    padding: var(--spacing-3);
    margin: var(--spacing-4) auto var(--spacing-4) auto;
}

.entry-title a {
    transition: 300ms;
}

.entry-title a:hover {
    text-decoration: none;
    text-shadow: 0px 0px 4px rgb(0 0 0 / 100%), 0px 0px 25px rgb(255 255 255 / 60%);
}

main a:hover {
    text-decoration: underline;
    text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.5);
}

main li {
    margin-block-end: 0.5em;
}

.nav-links {
    display: flex;
    justify-content: space-between;
}

.nav-previous,
.nav-next {
    max-width: 50%;
    display: flex;
    align-items: center;
}

.nav-next {
    text-align: right;
}

#comments {
    box-shadow: var(--spacing-1) var(--spacing-1) var(--spacing-4) -1.4em var(--shadow-color) !important;
    background-color: var(--lightest-color) !important;
    padding: var(--spacing-3);
    max-width: var(--max-width);
    margin: 0 auto;
}

textarea#comment {
    max-width: 100%;
}

.wp-block-image img {
    height: auto;
}

#footer {
    background-color: var(--accent-color);
    min-height: 400px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    color: var(--lightest-color);
    flex-direction: column;
    text-align: center;
    height: unset;
}


/** Footer >> #copyright **/

#footer>* {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-align-content: center;
    align-content: center;
}

#footer #copyright {
    text-align: center;
    padding: 2em;
}

#mc-embedded-subscribe-form {
    width: 300px;
}

.mc-field-group,
#mc-embedded-subscribe-form .clear {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-1);
    flex-direction: column;
}

.mc-field-group input {
    padding: var(--spacing-1);
    background-color: var(--bg-color);
    border: 2px solid var(--lightest-color);
    box-shadow: 1px 1px 8px rgb(0, 0, 0, 0.25) inset;
    border-radius: 4px;
}

.wpcf7 {
    max-width: 360px;
    min-width: unset;
    margin: auto;
}

.wpcf7 input,
.wpcf7 textarea {
    padding: var(--spacing-2);
    width: 85%;
}
.posts-navigation {
    max-width: var(--max-width);
    margin: auto;
}
.posts-navigation a {
       background-color: var(--accent-color);
       padding: 0.5em;
       color: var(--bg-color);
}

.alignwide {
    max-width: calc(100% - 2em);
    width: calc(var(--max-width)*1.6);
}

.header-image {
    position: relative;
    display: flex;
    padding: 1em;
    box-sizing: border-box;
    overflow: hidden;
}

.header-image h1, .header-image h2 {
    z-index: 5;
}

.header-background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    -o-object-fit: cover;
    object-fit: cover;
    outline: none;
    border: none;
    box-shadow: none;
    z-index: 0;
}

article.hentry {
    margin-bottom: 2em;
}

.entry-meta {
	color: var(--lightest-color);
    z-index: 3;
    text-shadow: 2px 2px 8px rgb(0 0 0 / 60%), -1px -1px 6px rgb(0 0 0 / 80%);
}

.hentry .entry-date {
    position: absolute;
    top: 2em;
    right: 2em;
}




input {
    padding: 0.6em;
    background: hsl(0deg 0% 100);
    box-shadow: 4px 4px 6px hsl(0deg 0% 67% / 30%) inset;
    font-size: 0.7em;
    width: 92%;
}


button {
    padding: 1em;
    margin-block: 1em;
    background: linear-gradient(146deg, hsl(60deg 23% 58% / 29%), hsl(60deg 65% 36% / 17%));
    box-shadow: 0.2em 0.2em 0.4em hsl(0deg 0% 0% / 25%);
    cursor: pointer;
    font-size: 0.8em;
    width: 100%;
}

footer a {
    color: #f3f2ef;
    outline: 4px dashed hsl(45deg 14% 95% / 24%);
    outline-offset: 0.3em;
     text-decoration: none;
}

footer a:hover {
    color: #f3f2ef;
    outline: 4px dashed hsl(45deg 14% 95% / 44%);
    text-decoration: revert;
}

.footer-col {
    max-width: 14em;
    border: 4px solid #bdbd96;
    background-color: hsl(60deg 26% 64% / 21%);
    padding: 1em;
    box-shadow: 1px 1px 1em -0.4em hsl(0deg 0% 100% / 50%);
}