/**
*    Theme Name: Anna Drescher Theme
*    Template: twentytwentyfour
*    Version: 1.0
*    Author: WordPress, Child=Bennet Meyer
*/

/*----------------------------------*/

/*------------------------------------------------- Variables */
:root{
  
  --color-grey-bright: #F5F5F5; 
  --color-grey-neutral: #efefef;
  --color-grey-medium: #dedede; 
  --color-grey-normal: #c9c9c9;  
  --color-grey-dark: #878787; 
  --color-grey-deep: #666; 
  --color-green: #1d6b15; 

  --font-family_sans: "DM Sans", sans-serif; 
  --font-family_serif: "EB Garamond", serif;; 
  --font-family_display: "orpheuspro", serif; 

}
/*------------------------------------------------- General */
body {
    background-image: url("images/Bird_web_grey.svg");
    background-repeat: no-repeat repeat;
    background-position: center top;
    background-size: contain;
    
}
:where(.wp-site-blocks *:focus) {
    outline-width: 0;
}

figure.button a > img{ transition: opacity 0.25s ease; }
figure.button a > img:hover{ opacity:0.33; }

.wp-block-template-part{ margin-block-start: 0rem; }
:where(.wp-site-blocks) > * {
    margin-block-start: 0;
    margin-block-end: 0;
}
div.top_btn{
    display: none;
    position: fixed;
    width: 2.75em; height: 2.75em;
    background-color: white;
    background-image: url(images/up_btn.svg);
    background-size: contain;
    right:3em;
    top: calc(100vh - 2.75em - 3em);
    z-index: 100000;
    border-radius: 200px;
    border: 1px black solid;
    cursor:pointer;
    transition: background-color 0.5s ease, 
                width 0.5s ease, 
                height 0.5s ease, 
                right 0.5s ease;
}
div.top_btn:hover{
    width: 2.5em; height: 2.5em;
    right: 3.125em;
    background-color: var(--color-grey-neutral);
    border-color:white;
    transition: background-color 0.5s ease, 
                border-color 0.5s ease, 
                width 0.5s ease, 
                height 0.5s ease, 
                right 0.5s ease;
}
.my-button a:hover{
    color: #000 !important;
    background-color: var(--color-grey-neutral) !important;
    border-color: #FFF !important;
    transition: color 0.5s ease, background-color 0.5s ease, border-color 0.5s ease;
}
@media (max-width: 780px) {
    div.top_btn{
        right:1.0em; top: calc(100vh - 2.75em - 6em);
    } 
    div.top_btn:hover{
        right: 1.125em;
    }
}
/*
p.has-dm-sans-font-family a{
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.25s ease; 
}
p.has-dm-sans-font-family a:hover{
    opacity: 0.33;
}
*/
/*------------------------------------------------- Font & Typography */
.logo-type {
    font-family: var(--font-family_display);
    font-weight: 400;
    font-style: normal;
}
h2 {
    font-family: var(--font-family_display);
    font-weight: 400;
    font-style: normal;
}
ul.serif-list li, ol.serif-list li{
    font-family: var(--font-family_serif);
    font-size: 1em;
}
ul {
  list-style-image:url(images/ul.svg);
}
ul ul {
  list-style-image:url(images/ulul.svg);
}
ol ol{
   list-style-type: lower-latin;
}
ul.list-column{
    padding: 2em 5em;
}
ol.alternate-colors li:nth-child(odd), ul.alternate-colors li:nth-child(odd) {
    color: var(--color-green);
}
details summery:hover{
    cursor: pointer;
}
details p{
    padding-left:2em;
    padding-bottom:1.66rem !important;
}
main :where(p a, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, ul a, ol a){
    text-decoration: underline !important;
    text-decoration-thickness: 0.06rem !important;
    text-underline-offset: 4px;
    /*transition: opacity 0.25s ease;*/
    transition: color 0.25s ease, text-decoration-thickness 0.25s linear;;
}
main :where(a:hover){
    color:var(--color-green);
    text-decoration-thickness: 0.03rem !important;
    transition: color 0.25s linear, text-decoration-thickness 0.25s linear;
}
main hr.is-style-wide{
    width:100%;
    max-width:none;
    position:absolute;
    left:0px;
    border-top-width: 2px;
}
ul.list-links{
    list-style: none;
}
ul.list-links a{
}
blockquote{
    border-left: 1px var(--color-grey-medium) solid;
    border-radius:0px !important;
    margin: 2em 0 !important;
    padding-top: 0.5em !important;
    padding-bottom: 0.5em !important;
}
@media (max-width: 420px) {
    :root :where(body){
        font-size:1.25rem;
    }
    main :where(h1, h2:not(.has-background), h3:not(.has-background), h4:not(.has-background)){
        margin-bottom: 1.33rem !important;
    }
}
@media (max-width: 780px){
    ul.list-column{
        padding: 2em 2em;
    }
}
/*------------------------------------------------- Homepage*/

@media (max-width: 420px) {
    figure.wp-block-image.alignleft {
        float:none;
        margin: 0 auto 1.5rem auto !important;
        display: table;
        text-align: center;
    }
}

/*------------------------------------------------- Pages */

body.page-template-default{
    background-repeat: no-repeat;
}
article.excerpt-content{  
    max-width: var(--wp--style--global--content-size);
    margin: 0 auto;
    }
article.white-box-content>div{
        padding: 0 10rem;
    }
div.wp-block-columns{
    max-width:75vw;
    margin: 0 auto;
}
@media (max-width: 1020px) {
    article.excerpt-content{
        max-width: 75vw;  
    }
}
@media (max-width: 780px) {
    article.excerpt-content{
        max-width: 85vw;  
    }
    div.wp-block-columns{
        max-width:95vw;
    }
    article.white-box-content div{
        max-width: 100vw;
    }
    header.black-header{
        max-width: 100vw;
    }
}
@media (max-width: 420px) {
    article.excerpt-content{
        padding-bottom:2rem !important;
    }
    article.white-box-content > div{
        padding-top:2rem !important;
    }
}
/*------------------------------------------------- Posts */
body.post-template-default{
    background-repeat: no-repeat;
}
div.single-post-content>div{
    max-width:75vw;
}
@media (max-width: 780px) {
}
@media (max-width: 420px) {}

/*------------------------------------------------- Blog */
div.blog-query{
}
.wp-block-post-excerpt__more-link{
    font-family: var(--font-family_sans);
    font-size:0.75em;
    color: var(--color-green);
}
.wp-block-post-excerpt__more-link:hover{
    color: var(--color-grey-dark);
}
div.blog-query hr{
    width:100%;
    max-width:none;
    position:relative;
    left:0px;
    border-color: var(--color-grey-medium);
    border-top-width: 0.5px;
}
div.blog-query h2 a, nav.wp-block-query-pagination a{
    text-decoration: none !important;
}
nav.wp-block-query-pagination{}

nav.wp-block-query-pagination .page-numbers:after{
    content:" /";
}
div.post-meta-group{
    font-family: var(--font-family_serif);
    color: var(--color-grey-dark);
    gap: .5rem;
}
div.post-meta-group p{
    font-size: .7em;
    color: var(--color-grey-dark);
}
div.post-meta-group time{
    color: black;
    font-size: .85em;
    
}
div.post-meta-group div.wp-block-post-author-name{
    color: black;
    font-size: .7em;
    
}
/*------------------------------------------------- FAQ*/
div.faq :is(details){
    text-align: center;
    font-family: var(--font-family_sans);
}
div.faq :is(ul, ol){
    text-align: left;
    color:var(--color-grey-normal);
}
div.faq ul{
    list-style-image:none;
}
div.faq :is(details p){
    color:var(--color-grey-normal);
    text-align: left;
}
div.faq hr{
    border: none;
}
/*------------------------------------------------- Book your free.. */
div.book a{
    text-decoration: none !important;
}
div.book a:hover{
    color:var(--color-green) !important;
    transition: color 0.25s linear;
}
/*------------------------------------------------- More */
div.more div.wp-block-button a{
    padding:0 !important;
}
div.more div.wp-block-button a:after{
    content: " »";
}
div.more div.wp-block-button a.less:after{
    content: " «";
}
div.more div.wp-block-button a:hover{
    color:var(--color-grey-dark);
    background:none;
}
div.more ul, div.more div.wp-block-group{
    display:none;
} 
/*------------------------------------------------- Teaching */
.teaching-teaser {
    gap: 0.1rem;
}
.teaching-header{
    display: flex;
    flex-wrap: wrap;
    align-content:center;
    word-break: break-word;
}
.teaching-header h2 {word-break: break-word;}
.teaching-teaser h2 a{ text-decoration: none !important;}
@media (max-width: 780px) {
    .teaching-header{
        min-height:8rem;
    }
    .teaching-teaser .wp-block-image img{
        max-width:8rem;
    }
    .teaching-content{
        padding: 2rem;
    }
    
    .wp-block-group:has(>.teaching-teaser){
       max-width: 100vw;
       margin:0;
       padding:0;
    }
    .teaching-teaser {
        max-width: 100vw !important;
    }
    .teaching-content-text{
        padding-top:2rem;
        text-align: center;
    }
}
@media (max-width: 420px) {
    .teaching-teaser .wp-block-image img{
        max-width:50%;
    }
    .teaching-header h2{ font-size:2rem; }
}

/*-------------------------------------------------  Header*/

/*------------------------------------------------- Menu*/
@media (min-width: 600px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display:block;
    }
}
@media (max-width: 780px) {
    header .wp-block-site-logo{
        width: 40px;
        aspect-ratio: auto 60 / 60;
        height: 40px;
    }
}
@media (max-width: 420px) {
    header .wp-block-site-logo{
        display: none;
    }
}

.main-nav{
    font-family: "orpheuspro", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5rem;
}
.main-nav :is(a:hover){
    text-decoration: none;
    opacity:0.33;
}
.main-nav a{
    transition: opacity 0.25s ease; 
}

/*------------------------------------------------- Footer*/
ul.footer-link-list{
    list-style:none;
}
ul.footer-link-list li{ 
    float:left;
    margin-right:1em;
}
ul.footer-link-list li a{
    text-decoration: none;
    font-size:0.7em;
}
ul.footer-link-list li a:hover{
    color: var(--color-green);
}
.social-icons { max-width:8rem; float: right; gap: .5rem }
@media (max-width: 780px) {
    .social-icons { max-width:10rem; gap: .5rem; }
    footer.wp-block-template-part{ border-top:#ddd 1px solid;}
}
@media (max-width: 420px) {
    .social-icons { float:none; }
}

/*------------------------------------------------- Contact Form */

form.wpcf7-form {
    /*text-align: center;*/
    display: block;
    font-family:var(--font-family_sans);
}
form.wpcf7-form :is( label, span, input, textarea) {
    display: block;
    width: 100%;
}
form.wpcf7-form :is( input, textarea){
    border-top:var(--color-grey-medium) 1px solid;
    border-bottom:var(--color-grey-medium) 1px solid;
    border-left:none; border-right:none; 
    background-color:var(--color-grey-bright);
    padding: 0.66em;
    margin-top: 0.66em;
}
form.wpcf7-form :is(textarea){
    font-family: var(--font-family_serif);
    font-size: 1.2em;
}
form.wpcf7-form :is(label){
    color:var(--color-grey-deep);
    font-size:0.8em;
}
form.wpcf7-form :is(input[type=submit]){
    background-color:#FFF;
    border:var(--color-grey-deep) 1px solid;
    width: 10em;
    border-radius: 1em;
}
form.wpcf7-form :is(input[type=submit]:hover){
    background-color:var(--color-grey-bright);
    border-color:var(--color-grey-medium);
    color: var(--color-grey-dark);
    cursor:pointer;
}

