/*
Theme Name: Twenty Twenty-Two Child
Theme URI: https://github.com/wordpress/twentytwentytwo/
Author: Wsam
Author URI: https://wsam.biz
Description: Child Theme für Twenty Twenty-Two
Requires at least: 5.7
Tested up to: 5.9
Requires PHP: 5.7
Version: 0.9.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentytwo
Text Domain: twentytwentytwochild
Tags: Custom Child Theme

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


body {
  --wp--preset--font-size--small: 0.842rem;
  --wp--preset--font-size--medium: 1.1rem;
  --wp--preset--font-size--large: 1.25rem;
  --wp--preset--font-size--x-large: 1.6rem;
	  --wp--preset--line-height--x-large: 2rem;
}
.hero-container{
position: relative;
	background: url('https://www.esskurs.com/wp-content/uploads/2022/03/Esskurs-dr-Silja-schaefer.jpeg');
	background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
	min-height:570px;
}

.hero-stern{
	position:absolute;
	top:20px;
	right:10px;
	z-index:1;
	
}
.wp-block-cover__inner-container .has-background{
		z-index:9999;
}

.has-x-large-font-size a {
  font-size: inherit;
	color:inherit
}
.has-small-font-size a{
	font-size: inherit;
}
@media (min-width: 1024px){
	.wp-block-cover.alignfull{
	padding: 110px;
	}
}

.wp-block-post-title, .wp-block-post-title a{
	font-family: Minion Pro !important;
		font-size:  var(--wp--preset--font-size--x-large);
line-height: var(--wp--preset--line-height--x-large)
}

header .wp-block-columns.is-not-stacked-on-mobile{
    height: 60px;
    padding-top:10px;
    gap: 0;
}

/* sticky header */

main#wp--skip-link--target {
    /* entspricht der Höhe des Menüs */
    margin-top: 60px;
}

header.wp-block-template-part {
    position: fixed;
    inset: 0;
  /*  padding: 0px 30px;*/
    /* nicht schön, aber sonst funktionieren die Links nicht */
    height: 10px!important;
    z-index: 11;
    padding: 0px var(--wp--custom--spacing--outer);
}



.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open{
	top:60px;
	background:#eef6ef;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open ul{
	width 100%
}

/*Header Logo*/

header .wp-block-site-logo:{
     text-align:left;
}
.custom-logo{
    height: 40px;
    width: auto;
    margin-left: 15px
}

.wp-block-social-links{
    font-size: 16px;
}


/*Desktop*/
@media (min-width:992px) {

header .wp-block-columns.is-not-stacked-on-mobile{
    height: 100px;
}
main#wp--skip-link--target {
    /* entspricht der Höhe des Menüs */
    margin-top: 100px;
}

    /* Header Logo */
    .wp-block-columns.is-not-stacked-on-mobile {
		flex-direction: column;
        padding-top: 0px;
	}
       header .wp-block-site-logo{
        text-align:center !important;
        height: auto;
        width: auto;
    }
    header .custom-logo{
    height: auto;
    width: auto;
}

    /*Menu*/
	.wp-block-navigation__responsive-container-close {
		display: none;
	}

	.wp-block-navigation__responsive-container-open {
	display: none;
	}

	.wp-block-navigation__responsive-container{
		display: block !important;
		width: 100% !important;
		position: relative !important;
		z-index: auto !important;
	}

    header .wp-block-column > div[class^="wp-container-"]{
        justify-content: center;
        display: flex;
    }

   header .wp-block-navigation-item.konto{
    order: 9;
   }
}

.line-height-1{
	line-height:1em !important;
}

/* mobile */
@media (max-width:600px) {
	.single-post .wp-block-image{
		float:none !important;
	}
}
/* Fix elopage iframe after update */
#elopage-widgets-container iframe {
  height: 620px !important;
}
