/*

	Theme Name: strytell-demo-unterwegs
	Author: Die Magaziniker, Content-Partner der Industrie, Stuttgart & München
	Author URI: https://magaziniker.de
	Description: Strytell-Template for Online-Magazin UNTERWEGS from Company Max Muster
	Template: chaplin
	Version: 0.9a
	Text Domain: chaplin
	
	
	*/
	

/* source-sans-pro-300 - latin-ext_latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  src: local(''),
       url('assets/fonts/source-sans-pro-v14-latin-ext_latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('assets/fonts/source-sans-pro-v14-latin-ext_latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('assets/fonts/source-sans-pro-v14-latin-ext_latin-300.woff') format('woff'), /* Modern Browsers */
       url('assets/fonts/source-sans-pro-v14-latin-ext_latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('assets/fonts/source-sans-pro-v14-latin-ext_latin-300.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/* source-sans-pro-300italic - latin-ext_latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 300;
  src: local(''),
       url('assets/fonts/source-sans-pro-v14-latin-ext_latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('assets/fonts/source-sans-pro-v14-latin-ext_latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('assets/fonts/source-sans-pro-v14-latin-ext_latin-300italic.woff') format('woff'), /* Modern Browsers */
       url('assets/fonts/source-sans-pro-v14-latin-ext_latin-300italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('assets/fonts/source-sans-pro-v14-latin-ext_latin-300italic.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/* source-sans-pro-regular - latin-ext_latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('assets/fonts/source-sans-pro-v14-latin-ext_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('assets/fonts/source-sans-pro-v14-latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('assets/fonts/source-sans-pro-v14-latin-ext_latin-regular.woff') format('woff'), /* Modern Browsers */
       url('assets/fonts/source-sans-pro-v14-latin-ext_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('assets/fonts/source-sans-pro-v14-latin-ext_latin-regular.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/* source-sans-pro-700 - latin-ext_latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('assets/fonts/source-sans-pro-v14-latin-ext_latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('assets/fonts/source-sans-pro-v14-latin-ext_latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('assets/fonts/source-sans-pro-v14-latin-ext_latin-700.woff') format('woff'), /* Modern Browsers */
       url('assets/fonts/source-sans-pro-v14-latin-ext_latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('assets/fonts/source-sans-pro-v14-latin-ext_latin-700.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}


:root {
	
	/* Typography */
	--body-font: "Source Sans Pro", sans-serif;
	--body-weight: 300;
	--body-spacing: 0em;
	--headings-font: "Source Sans Pro", sans-serif;
	--headings-weight: 700;
	--headings-transform: none;
	--headings-spacing: 0em;
	
	/* Colors */
	--primary-color: #041421;
	--secondary-color: #000;
	--accent-color: var(--wp--preset--color--turquois);
	
	--headings-color: inherit;
	
	--background-color: #FFFFFF;
	--light-background-color: #EAEAEA;
	--header-background-color: #FFFFFF;
	--header-border-color: #939597;
	--footer-background-color: #FFFFFF;
	
	--border-color: #939597;
	
	
	--buttons-background-color: var(--wp--preset--color--turquois);
	--buttons-background-hover-color: var(--wp--preset--color--turquois);
	--buttons-text-color: #FFFFFF;
	--buttons-text-hover-color: #041421;
	
	
	
	--overlay-text-color: #fff;

}

/* search for * colors and style * for more colors to set */

body {
  --viewportWidth: calc(100vw - var(--scrollbarWidth));
  --m2g-startpage-extra-width: 140rem;
}
/* var(--viewportWidth, 100vw); */

:root {
	--mgznkr-header-height-full: 87px;
	--mgznkr-header-height-small: 66px;
}
@media (min-width: 400px){
:root {
	--mgznkr-header-height-full: 104px;
	--mgznkr-header-height-small: 82px;
}
}
@media (min-width: 700px){
:root {
	--mgznkr-header-height-full: 118px;
	--mgznkr-header-height-small: 82px;
}
}
@media (min-width: 1000px){
:root {
	--mgznkr-header-height-full: 131px;
	--mgznkr-header-height-small: 82px;
}
}



body {
	font-size: 1.8em;
	font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, sans-serif;
	font-family: var(--body-font);
	font-weight: 400;
	font-weight: var(--body-weight);
	font-style: normal;
	letter-spacing: var(--body-spacing);
	line-height: 1.4em;
	color: #000;
	color: var(--primary-color);
	background: #fff;
	background: var(--background-color);
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility:    hidden;
	-ms-backface-visibility:     hidden;
}


h1, h2, h3, h4, h5, h6, .faux-heading {
	font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, sans-serif;
	font-family: var(--headings-font);
    font-weight: 700;
    font-weight: var(--headings-weight);
    color: inherit;
    color: var(--headings-color);
    text-transform: var(--headings-transform);
	letter-spacing: var(--headings-spacing);
}

h2, .heading-size-2, h3, .heading-size-3, 
h4, .heading-size-4, h5, .heading-size-5, 
h6, .heading-size-6 {
    margin-bottom: 2rem;
}

h3, .heading-size-3 { font-size: 2.6rem; }

@media (min-width: 700px) {
h2, .heading-size-2 {
    font-size: 3.4rem;
}
h3, .heading-size-3 {
    font-size: 3.0rem;
}
h4, .heading-size-4 {
    font-size: 2.6rem;
}
h5, .heading-size-5 {
    font-size: 2.2rem;
}
}

p {
    line-height: 1.6;
}

.wp-block-buttons {
	display: flex;
}

@media (min-width: 1200px) {
.entry-content p,
.entry-content ul,
.entry-content ol,
.page-list-header p { 
	font-size: 2.0rem;
}
}

.entry-content h2 { 

}

b, strong {
	font-weight: 700;
	}

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

a:hover {
    color: #007C89;
    color: var(--accent-color);
    text-decoration: underline;
}

hr {
	color: var(--border-color);
}

hr.wp-block-separator {
	border-bottom: none;
}

.nobr  {  white-space: nowrap;  hyphens: none;  }

@media (max-width: 699px) {
.m2g-hide-xs {
	display: none!important;
}
}

@media (min-width: 1000px) {
.m2g-hide-l {
	display: none!important;
}
}

@media (min-width: 1240px) {
.m2g-hide-xl {
	display: none!important;
}
}

/* ----------------------------------------------------------------------------------- */
/* fix for wp6.0 had inline styles for this 
we removed those in functions.php and add default values here */

.wp-block-columns {
display: flex;
gap: 2em;
flex-wrap: nowrap;
align-items: center;
}
.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column[style*="flex-basis"] {
  flex-grow: 1;
}

/* ----------------------------------------------------------------------------------- */
/* chaplin fix for line 2932 ... with WP 6.0 there was in block-library 
.wp-block-quote.is-style-large:not(.is-style-plain) p */

.entry-content .wp-block-quote.is-style-large {
	padding: 0 1em;
}

.entry-content .wp-block-quote.is-large p,
.entry-content .wp-block-quote.is-style-large p {
	font-size: inherit;
	font-style: normal;
	line-height: 1.25;
}

.entry-content .wp-block-quote.is-large cite,
.entry-content .wp-block-quote.is-large footer,
.entry-content .wp-block-quote.is-style-large cite,
.entry-content .wp-block-quote.is-style-large footer {
	font-size: 1.4rem;
	text-align: inherit;
}

[class*="__inner-container"] .wp-block-group:not(.alignfull):not(.alignwide):not(.alignleft):not(.alignright),
[class*="__inner-container"] .wp-block-cover:not(.alignfull):not(.alignwide):not(.alignleft):not(.alignright) {
	margin-left: auto;
	margin-right: auto;
	max-width: unset;
}


.entry-content .wp-block-column .wp-block-quote.has-text-align-left {
	padding-left: 0;
}
.entry-content .wp-block-column .wp-block-quote.has-text-align-right {
	padding-right: 0;
}


/* reset - because of chaplin */
body.m2g .wp-block-group.alignfull:not(.has-background) > [class*="__inner-container"] > .wp-block-group:not(.alignfull):not(.alignleft):not(.alignright), 
body.m2g .wp-block-group.alignfull:not(.has-background) > [class*="__inner-container"] > .wp-block-cover:not(.alignfull):not(.alignleft):not(.alignright) {
margin-left: auto;
margin-right: auto;
}

/* chaplin has border: none for all elements as reset - custom borders only set the new width*/

h1, h2, h3, h4, h5, h6, p, blockquote, address, big, cite, code, em, font, img, small, strike, sub, sup, li, ol, ul, fieldset, form, label, legend, button, table, caption, tr, th, td {
	border: 0px solid transparent;
}

*.has-border-color {
	border: 0px solid;
}



/* chaplin has hidden */
#site-content {
	overflow: clip;
  }

/* chaplin had this for inner-containers / wp 6.7
:root *[class*="_inner-container"] > *:first-child { margin-top: 0; }
:root *[class*="_inner-container"] > *:last-child { margin-bottom: 0; } */


:root .wp-block-group:not(:has(.wp-block-group__inner-container)) > *:first-child { margin-top: 0; }
:root .wp-block-group:not(:has(.wp-block-group__inner-container)) > *:last-child { margin-bottom: 0; }

body.strytell {
 .alignwide.wp-block-cover + .alignwide.wp-block-cover, .alignwide.wp-block-cover + .alignwide.has-background, .alignwide.has-background + .alignwide.wp-block-cover, .alignwide.has-background + .alignwide.has-background, .alignfull.wp-block-cover + .alignfull.wp-block-cover, .alignfull.wp-block-cover + .alignfull.has-background, .alignfull.has-background + .alignfull.wp-block-cover, .alignfull.has-background + .alignfull.has-background {
	margin-top: inherit;
 }
}


/* ----------------------------------------------------------------------------------- */
/* the new meta-menu in head and modal ----------------------------------------------- */

.m2g-meta-menu {
	list-style: none;
	width: max-content;
}

.m2g-meta-menu > li {
	margin: 1rem;
	font-size: inherit;
	line-height: 1.25;
	position: relative;
}

.m2g-header-meta-wrapper .m2g-meta-menu > li:last-child,
.menu-modal .m2g-meta-menu > li {
	margin-right: 0;
}

.m2g-meta-menu a {
	color: inherit;
	display: block;
	line-height: 1;
	text-decoration: none;
	padding: 1rem;
}

.m2g-meta-menu a:hover {
	text-decoration: underline;
}

.menu-modal a:hover,
.m2g-meta-menu a:hover {
    color: var(--primary-color);
}

.m2g-header-meta-wrapper .m2g-meta-menu {
	display: none;
}


.m2g-meta-widget-container .wp-block-image {
	margin-top: 0;
	margin-bottom: 0;
}

@media (min-width: 1000px) {
	
.m2g-header-meta-wrapper .m2g-meta-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	font-size: 1.4rem;
	margin: 0 -1rem 2.4rem 0;
	}
}

@media (max-width: 999px) {

.m2g-meta-menu {
	margin: 1rem 0 0 0;
	}

.m2g-meta-menu a {
	text-align: right;
	padding: 2rem 0.5rem 2rem 0;
	}
}

@media (max-width: 699px) {

.menu-meta-menue-container > ul {
	margin: 4rem 0 0 0;
	}

.menu-meta-menue-container > ul a {
	text-align: right;
	padding: 1.25rem 0.5rem 1.25rem 0;
	}
}




.m2g-meta-menu > li.m2g-nav-spacer > *,
.m2g-meta-menu > li.m2g-nav-divider > * {
	display: none;
}

.m2g-meta-menu > li.m2g-nav-spacer,
.m2g-meta-menu > li.m2g-nav-divider {
	border-color: #E1E1E3;
	border-style: solid;
	border-width: .1rem 0 0 0;
	margin: 1.5rem 0;
}

.m2g-meta-menu > li.m2g-nav-spacer,
.main-menu > li.m2g-nav-spacer > * {
	visibility: hidden;
}




.m2g-modal-above-main .m2g-meta-menu {
	margin-bottom: 2.5rem;
}

.m2g-modal-above-main .m2g-meta-menu > li a {
	text-align: right;
	padding-right: 0.5rem;
}

/* unterwegs special */
#site-header .m2g-meta-menu > li:nth-child(2) {
	margin-right: 0;
}
#site-header .m2g-meta-menu > li:nth-child(3):before {
	content: "|";
	font-size: 1.25em;
	float: left;
	margin: 0.25em 0 -0.25em -0.3em;
}



/* in modal */
p.menu-copyright {
	display: none;
}

.menu-modal .m2g-meta-menu > li {
	text-align: right;
}

.m2g-meta-menu-container {
	width: 100%;
	display: flex;
	justify-content: flex-end;
}

.menu-modal .main-menu a {
	font-weight: 700;
}

/* ------------------------------------------- */

	

.main-menu-alt-container {
	margin-left: 0;
}

ul.main-menu-alt {
	justify-content: center;
	margin-left: 0;
}

.main-menu-alt > li {
	margin: 1.5rem, 2.5em;
	margin-bottom: 0rem;
}

.main-menu-alt ul {
	border-radius: 0;
}


	
/* ------------------------------------------- */

	
.header-navigation-wrapper {
	display: flex;
	flex-flow: column;
	align-items: flex-end;
}

.m2g-header-meta-wrapper {
	display: flex;
	flex-flow: row;
	justify-content: flex-end;
}

	
.wp-custom-logo .header-titles {
	align-items: flex-start;
	flex-flow: column;
}

	
.header-inner .section-inner {
	align-items: self-start;
}

.header-inner {
	padding-bottom: 1.5rem;
}

	
html {
  scroll-padding-top: 8rem;
}
	
#site-header {
	padding:  0 0;
    margin-bottom: 0;
}

.header-is-sticky .header-inner {
	padding-top:  1rem;
	padding-bottom: 1rem;
}

@media (min-width: 700px) {
.header-is-sticky .header-inner {
	min-height: 8rem;
}
}

body:not(.header-is-sticky) .site-logo {
	margin-top: 2.8rem;
	margin-bottom: 1.3rem;
}

body.header-is-sticky .site-logo {
	margin-top: 1rem;
}


.site-logo img {
	max-height: 11rem;
	width: 39.5rem;
}
	
.site-description {
	font-size: 2.02rem;
	font-weight: 300;
}

body.header-is-sticky .site-description {
	opacity: 0;
	margin-bottom: -2rem;
}

body.header-is-sticky .site-logo img {
	width: 30rem;
}


	

	

@media (max-width: 999px) {

.site-logo img {
	max-height: 6rem;
	max-width: 28.5rem;
	}
.site-logo {
	margin-bottom: 0.5rem;
}

body:not(.header-is-sticky) .site-logo {
	margin-bottom: 1.0rem;
}

body:not(.header-is-sticky) .site-logo img {
	max-height: 9rem;
	}

body:not(.header-is-sticky) .site-description {
	display: block;
	width: 100%;
	background: #fff;
	background: var(--background-header-color);
	font-size: 1.47rem;
	}

/*
body:not(.header-is-sticky) .site-description {
	display: block;
	position: absolute;
	width: 100%;
	background: #fff;
	background: var(--background-header-color);
	margin-top: 2rem;
	margin-left: -1.5rem;
	padding: 1rem 0.8rem;
	padding-left: 4rem;
	transform: translateY(calc(10rem + 1px));
	font-size: 1.4rem;
	}
*/
.wp-custom-logo .header-titles {
	flex-flow: column;
	align-items: flex-start;
	}

#site-header {
	margin-bottom: 0;
	}

.header-lower {
	display: none;
	}

}

@media (max-width: 699px) {

body:not(.header-is-sticky) .site-logo img {
	max-height: 7rem;
	}
body:not(.header-is-sticky) .site-logo {
	margin-top: 1.7rem;
	margin-bottom:0.5rem;
}


body:not(.header-is-sticky) .site-description {
	margin-left: 0.5rem;
	padding-left: 2rem;
	margin-top: 0;
	line-height: 1.4;
	}
	

.header-navigation-wrapper .m2g-meta-widget-container {
	display: none;
}
	
.page-template-page-posts-for-category #site-header {
	margin-bottom: 4.5rem;
	}

}

.header-is-sticky .m2g-meta-widget-container {
	display: none;
}

.header-toggles .toggle {
	height: 6rem;
}


@media (max-width: 399px) {
.site-logo img {
	max-width: 21.5rem;
	}
body:not(.header-is-sticky) .site-description {
	font-size: 1.11rem;
	}
	
body.header-is-sticky .header-toggles .toggle {
	height: 4rem;
	}
body.header-is-sticky .header-inner {
	min-height: 6rem;
	}
}

@media (min-width: 1000px) {
.header-is-sticky.disable-menu-modal-on-desktop.disable-search-modal .header-toggles, 
.header-is-sticky.disable-menu-modal-on-desktop .nav-toggle {
	display: flex!important;
}
	
.header-is-sticky .m2g-header-meta-wrapper .m2g-meta-menu-container {
	display: none;
}
}

.header-toggles .toggle-text {
	display: none;
}

.nav-toggle .bars {
	width: 2.8rem;
}

.nav-toggle .bar:nth-child(1) {
	margin-top: -0.9rem;
}

.nav-toggle .bar:nth-child(3) {
	margin-top: 0.9rem;
}

	

	
body:not(.disable-menu-modal-on-desktop) .only-modal {
	display: none;
}
body:not(.disable-menu-modal-on-desktop) .menu-modal .only-modal {
	display: list-item;
}


/* adjusting modal closing x */

.menu-modal-toggles .toggle {
    justify-content: flex-end;
}

@media (min-width: 1000px) {
.menu-wrapper.section-inner {
	width: calc( 100% - 10rem );
}
}

@media (min-width: 1220px) {
.menu-modal-inner .section-inner {
	width: calc( 100% - 13rem );
	max-width: 62rem;
}
}

.header-is-sticky .menu-modal-toggles {
margin-top: 1rem;
}


/* ----------------------------------------------------------------------------------- */
/* generell */
.section-inner {
	max-width: 140rem;
}

@media (min-width: 700px) {
.entry-content > .alignwide, 
.m2g-entry-content-width > .alignwide {
    margin-left: calc( ( (100vw - 8rem) - 100% ) / -2 );
}
}

@media (min-width: 1000px) {
.entry-content > .alignwide, 
.m2g-entry-content-width > .alignwide {
    margin-left: calc( ( (100vw - 10rem) - 100% ) / -2 );
}
}

@media (min-width: 1220px) {
.entry-content > .alignwide, 
.m2g-entry-content-width > .alignwide {
    margin-left: calc( ( 112rem - 100% ) / -2 );
    margin-bottom: 4rem;
    margin-top: 4rem;
}
}


.entry-content > .alignfull, 
.m2g-entry-content-width > .alignfull {
    margin-left: calc( ( 100vw - 100% ) / -2 );
    margin-bottom: 4rem;
    margin-top: 4rem;
}


/* fix against this:/wp-includes/css/dist/block-library/style.min.css
.wp-block-column:not(:only-child) { calc(50% - 1em) !important } */

@media (min-width: 600px) and (max-width: 781px) {
.wp-block-column:not(:only-child)[style*="flex-basis:33.33%"],
.wp-block-column:not(:only-child)[style*="flex-basis:33.3%"] {
    flex-basis: calc(33.33% - 2rem) !important;
  }
.wp-block-column:not(:only-child)[style*="flex-basis:66.66%"],
.wp-block-column:not(:only-child)[style*="flex-basis:66.6%"] {
    flex-basis: calc(66.66% - 2rem) !important;
  }
}


.clearer {
	clear:both;
}

/* ----------------------------------------------------------------------------------- */
/* list page */


.page-list-header,
.archive-header.section-inner {
	text-align: center;
	padding-bottom: 4rem;
	max-width: 70rem;
}

.page-list-header h1 {
	margin-top: 2rem;
}



.grid-item article.preview {
	display: flex;
	flex-direction: column;
}


/* ----------------------------------------------------------------------------------- */
/* teasers */


/* teaser-image, cover-imag without background-src / still re-using chaplins faux-image */

.faux-image .m2g-media-wrapper img,
.cover-header .m2g-media-wrapper img {
	position: relative;
	left: unset;
}

.preview-link .faux-image .m2g-media-wrapper img,
.faux-image .m2g-media-wrapper img,
.m2g-media-wrapper img,
.cover-header .m2g-media-wrapper img,
.m2g-fullwidth-media-wrapper img {
	object-fit: cover;
	object-position: center center;
	height: 100%;
	width: 100%;
}


.preview-link .faux-image .m2g-media-wrapper,
.faux-image .m2g-media-wrapper,
.cover-header .m2g-media-wrapper,
.m2g-fullwidth-media-wrapper {
	position: absolute;
	height: 100%;
	width: 100%;
	overflow: hidden;
}

.preview-link .m2g-media-wrapper {
	overflow: hidden;
}

.m2g-fullwidth-media-wrapper,
.cover-header .m2g-media-wrapper {
	z-index: -1;
}

.preview-link .m2g-media-wrapper img {
  transition: transform 0.3s ease;
  transform: scale(1);
}

.preview-link .m2g-media-wrapper img:hover {
  cursor: pointer;
  transform: scale(1.06);
}

.featured-media .m2g-video-header .m2g-media-wrapper {
	height: 100%;
}

.featured-media .m2g-video-header.faux-image::after {
	padding-top: unset;
}

/* =========================================================
   TEASER LIST / SEARCH RESULTS
   ========================================================= */


/* =========================================================
   1) ROOT VARS
   ========================================================= */

:root{
	--teaser-shift-1: 0;
	--teaser-shift-2: 5rem;
}

@media (min-width: 660px) {
	:root{
		--teaser-shift-1: 0;
		--teaser-shift-2: 8vw;
	}
}

@media (min-width: 1000px) {
	:root{
		--teaser-shift-1: -2rem;
		--teaser-shift-2: 2rem;
	}
}

@media (min-width: 1400px) {
	:root{
		--teaser-shift-1: -7rem;
		--teaser-shift-2: 7rem;
	}
}


/* =========================================================
   2) GENERIC / SHARED
   ========================================================= */

p.out-of-posts {
	display: none;
}

.preview-media + .preview-header {
	margin-top: 2rem;
}

.m2g-teaser-list a.preview-link,
.m2g-teaser-list a.previewlink:hover {
	color: inherit;
	text-decoration: none;
}

.m2g-teaser-list > .grid-item .preview-excerpt p {
	display: inline;
	line-height: 1.5;
}

article.preview h2.heading-size-3 {
	line-height: 1.27;
}

.m2g-teaser-list > .grid-item.grid-item-row1 article.preview h2.heading-size-3 {
	line-height: 1.25;
}

.m2g-teaser-single .preview-media + .preview-header {
		margin-top: 2rem;
	}


/* =========================================================
   3) SEARCH PAGE
   ========================================================= */

.search-results .grid {
	width: 100%;
	margin-left: 0;
	justify-content: center;
}

.search-results .grid > .grid-item {
	max-width: 98rem;
}

.search-results .grid-item {
	max-width: calc(100% - 4rem);
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 8rem;
}


/* =========================================================
   4) TEASER PAGE CONTAINER
   ========================================================= */

.m2g-teaser-list  {
	display: flex;
	flex-wrap: wrap;
	width: 140rem;
	margin-left: calc( ( 140rem - 100% ) / -2 );
	justify-content: center;
}

@media (max-width: 1500px) {
	.m2g-teaser-list  {
		max-width: calc( 100vw - 10rem );
		margin-left: calc( ( 100vw - 100% - 10rem ) / -2 );
	}
}

@media (max-width: 1000px) {
	.m2g-teaser-list  {
		max-width: calc( 100vw - 8rem );
		margin-left: calc( ( 100vw - 100% - 8rem ) / -2 );
	}
}

@media (max-width: 780px) {
	.m2g-teaser-list  {
		max-width: 100%;
		margin-left: 0;
	}
}

@media (max-width: 660px) {
	.m2g-teaser-list  {
		max-width: 100%;
		margin-left: 0;
	}
}



/* =========================================================
   5) TEASER PAGE - BASE ITEM RULES
   ========================================================= */

.m2g-teaser-list > .grid-item.grid-item-row2,
.m2g-teaser-list > .grid-item {
	max-width: calc(100% - 5rem);
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 8rem;
}


/* =========================================================
   6) TEASER PAGE - STANDARD
   ========================================================= */

.grid-item:not(.grid-item-row2):not(.grid-item-row1):nth-of-type(2n) {
	margin-left: var(--teaser-shift-2);
	margin-right: var(--teaser-shift-1);
}

.grid-item:not(.grid-item-row2):not(.grid-item-row1):nth-of-type(2n+1) {
	margin-left: var(--teaser-shift-1);
	margin-right: var(--teaser-shift-2);
}

@media (max-width: 990px) {
.grid-item.grid-item-row2:nth-of-type(2n) {
	margin-left: var(--teaser-shift-2);
	margin-right: var(--teaser-shift-1);
}

.grid-item.grid-item-row2:nth-of-type(2n+1) {
	margin-left: var(--teaser-shift-1);
	margin-right: var(--teaser-shift-2);
}
}


/* =========================================================
   7) TEASER PAGE - ROW1
   ========================================================= */

.m2g-teaser-list > .grid-item.grid-item-row1 {
	width: calc(100% + 4rem);
	max-width: 100vw;
	margin-left: -4rem;
	margin-right: -4rem;
	margin-bottom: 8rem;
}

.m2g-teaser-list > .grid-item.grid-item-row1 .preview-header {
	margin-left: 2rem;
	margin-right: 2rem;
}


/* =========================================================
   8) TYPO / DETAIL BREAKPOINTS
   ========================================================= */

@media (min-width: 700px) {
	.m2g-teaser-list > .grid-item .preview-excerpt p {
		font-size: 2.0rem;
	}
	article.preview h2.heading-size-3 {
		font-size: 3.4rem;
	}

	.m2g-teaser-list > .grid-item.grid-item-row1 article.preview h2.heading-size-3 {
		font-size: 3.6rem;
	}
}

@media (max-width: 999px) {
	.preview-excerpt {
		margin-top: 0.5rem;
	}
}


/* =========================================================
   9) >= 660px
   ========================================================= */

@media (min-width: 660px) {

	.grid-item article.preview .preview-media {
		min-width: calc(100vw - 16rem - 33vw);
		margin-right: 2rem;
	}

	.grid-item:not(.grid-item-row1) article.preview .preview-media {
		max-width: calc(100vw - 16rem - 33vw);
	}

	.grid-item article.preview {
		flex-direction: row;
	}

	.preview-media + .preview-header {
		margin-top: 0rem;
	}

	/* row1 */
	.m2g-teaser-list > .grid-item.grid-item-row1 article.preview .preview-media {
		margin-right: 0;
	}

	.m2g-teaser-list > .grid-item.grid-item-row1 article.preview {
		flex-direction: column;
	}

	.m2g-teaser-list > .grid-item.grid-item-row1 {
		margin-left: 0;
		margin-right: 0;
	}

	.m2g-teaser-list > .grid-item.grid-item-row1 .preview-header {
		margin-left: 0;
		margin-right: 0;
		margin-top: 2rem;
	}
}


/* =========================================================
   10) >= 800px
   ========================================================= */

@media (min-width: 800px) {
	.m2g-teaser-list > .grid-item.grid-item-row2,
	.m2g-teaser-list > .grid-item {
		margin-bottom: 10rem;
	}
}


/* =========================================================
   11) >= 1000px
   ========================================================= */

@media (min-width: 1000px) {

	/* row2 */
	.m2g-teaser-list > .grid-item.grid-item-row2 .preview-media + .preview-header {
		margin-top: 2.5rem;
	}

	/* all teasers */
	.grid-item article.preview .preview-media {
		min-width: 48rem;
		margin-right: 3rem;
	}

	/* standard */
	.m2g-teaser-list > .grid-item {
		max-width: calc(100% - 4rem);
	}

	/* row1 */
	.m2g-teaser-list > .grid-item.grid-item-row1 {
		width: 100%;
		margin-bottom: 6rem;
		margin-left: 0;
		margin-right: 0;
	}

	.m2g-teaser-list > .grid-item.grid-item-row1 {
		max-width: 140rem;
	}

	.m2g-teaser-list > .grid-item.grid-item-row1 article.preview {
		flex-direction: row;
	}

	.m2g-teaser-list > .grid-item.grid-item-row1 article.preview .preview-media {
		min-width: 99.2rem;
		margin-right: 0;
		order: 2;
	}

	.m2g-teaser-list > .grid-item.grid-item-row1 article.preview .preview-header {
		margin: 0;
		background-color: var(--light-background-color);
	}

	.m2g-teaser-list > .grid-item.grid-item-row1 article.preview .preview-media {
		min-width: calc(100% - 33vw);
		background-color: #dedede;
		background-color: var(--light-background-color);
	}

	.m2g-teaser-list > .grid-item.grid-item-row1 article.preview .preview-header {
		min-width: 33vw;
		padding-right: 2.2rem;
		padding-left: 1em;
		padding-top: 1.0em;
	}

	/* row2 */
	.m2g-teaser-list > .grid-item.grid-item-row2:nth-of-type(2n),
	.m2g-teaser-list > .grid-item.grid-item-row2:nth-of-type(2n+1) {
		max-width: calc(50% - 3rem);
		margin-left: 0;
		margin-right: 0;
	}

	.m2g-teaser-list > .grid-item.grid-item-row2 article.preview {
		flex-direction: column;
	}

	.m2g-teaser-list > .grid-item.grid-item-row2 article.preview .preview-media {
		min-width: 100%;
		margin-right: 0;
	}

	.m2g-teaser-list > .grid-item.grid-item-row2 + .grid-item.grid-item-row2  {
		margin-left: calc(2 * 3rem);
	}
}


/* =========================================================
   12) >= 1240px
   ========================================================= */

@media (min-width: 1240px) {

	/* all teasers */
	.grid-item article.preview .preview-media {
		min-width: 53rem;
	}

	/* standard */
	.m2g-teaser-list > .grid-item {
		max-width:98rem;
	}

	/* row1 */
	.m2g-teaser-list > .grid-item.grid-item-row1 article.preview .preview-media {
		min-width: calc(100% - 40.8rem);
	}

	.m2g-teaser-list > .grid-item.grid-item-row1 article.preview .preview-header {
		min-width: 40.8rem;
		padding-top: 3.5em;
		/*was 	padding-top: 1.5em; */
		padding-right: 4.2rem;
	}
}














	

/* ----------------------------------------------------------------------------------- */
/* article */

	
.entry-content,
.m2g-entry-content-width,
.archive-header.section-inner {
	max-width: 70rem;
	margin-left: auto;
	margin-right: auto;
}

@media (min-width: 1501px) {
.entry-header-inner {
	max-width: 112rem;
	margin-left: calc( ( 112rem - 140rem ) / -2 );
}
}


.entry-header-inner {
	display: flex;
	flex-flow: column;
	align-items: center;
}

h1.entry-title, .entry-title.faux-heading {
	text-align: center;
	font-weight: var(--headings-weight);
}


.entry-content .intro-text {
	margin-bottom: 3rem;
}

@media (min-width:700px) {
.entry-content .intro-text {
    margin-bottom: 5rem;
}
}

.entry-content .intro-text p {
	font-size: 2.6rem;
	line-height: 1.5em;
}

a.preview-link {
	color: inherit;
	text-decoration: none;
}

.pre-header {
	display: inline;
	color: var(--buttons-text-color);
	font-size: 1.6rem;
	line-height: 1.4;
	min-height: 2.15rem;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	background-color: var(--buttons-background-color);
	padding: 0.1em 0.5em;
	margin-bottom: 1.5rem;
}

.pre-header.preview-pre-header {
	font-size: 1.6rem;
	letter-spacing: 0.05em;
}
@media (max-width: 699px) {
.pre-header.preview-pre-header {
    font-size: 1.5rem;
}
}

h1.entry-title, 
.entry-title.faux-heading,
.preview .preview-title {
	display: flex;
	flex-flow: column;
	align-items: center;
}
.preview .preview-title {
	align-items: flex-start;
}


/* if we want all text to start at the same y with or without pre */
/* disable if we want all main-headlines to start at the same y */
.pre-header.preview-pre-header:empty {
	display: none;
}

.featured-media {
    margin-top: 3rem;
}

.featured-media:empty {
    margin-top: 0;
}

.entry-header-inner:has(h1.entry-title) {
	padding-top: 6rem;
}

.featured-media:empty + .post-inner {
    padding-top: 5rem;
}

.featured-media figcaption {
	text-align: right;
	margin-top: 0.5em;
	font-size: 1.7rem;
	line-height: 1.3;
	font-weight: 300;
	letter-spacing: 0;
}

.wp-block-image figcaption,
p.wp-caption-text {
	margin-top: 0.5em;
	font-weight: 300;
	font-size: 1.7rem;
	line-height: 1.3;
}

.alignfull > figcaption, 
.alignfull > .wp-caption-text {
	min-width: calc( 100% - 4rem );
}

article .entry-header + .entry-meta {
	margin-top: 2rem;
}


article .entry-meta ul {
	text-align: center;
	font-size: 1.6rem;
	margin-left: 1rem;
	margin-right: 1rem;
	font-weight: 400;
}


article .entry-meta ul li {
	display: inline;
	margin-left: 0.5em;
	margin-right: 0.5em;
}

@media (max-width: 599px) {
article .entry-meta ul li {
	display: block;
	text-align: center;
	margin-top: 0;
	margin-bottom: 0;
}
}

/*
article .entry-meta ul li:before {
	content: '|';
}
article .entry-meta ul li:first-of-type::before {
	content: '';
}
*/

/* cover */

.m2g-screen-height {
	height: 100vh;
	max-height: 1000px;
}

.cover-header {
	z-index: -1;
	/* margin-top: 6em; */
}

.cover-header .entry-header {
	color: #fff;
	color: var(--overlay-text-color);
}

:root {
	--top-margin-cover-header: 8rem;
}
@media (min-width: 400px) {
:root {
	--top-margin-cover-header: 9rem;
}
}
@media (min-width: 700px) {
:root {
	--top-margin-cover-header: 11.5rem;
}
}
@media (min-width: 1000px) {
:root {
	--top-margin-cover-header: 13rem;
}
}

.cover-header .m2g-media-wrapper {
	top: var(--top-margin-cover-header);
}

.cover-header + .wp-caption-text {
  width: calc(100vw - 2rem);
  margin-left: calc( ( 100vw - 2rem - 100% ) / -2 );
  margin-top: 0.5rem;
  text-align: right;
  margin-bottom: -4.2rem;
  padding-right: 10px;
}

.cover-header + .post-inner {
	padding-top: 6rem;
}

/*------- cover color overlay ----*/
.cover-header .cover-color-overlay {
	pointer-events: none;
	z-index: 1;
	&::before {
		z-index: 1;
		background: linear-gradient(#fff0 65%, currentColor 90%);
	}

	& ~ div.section-inner{
		position: relative;
		z-index: 2;
	}
}

/* ------ cover video header ----*/

:root {
	--m2g-header-media-ratio: calc(16 / 9);
}

.cover-header .m2g-video-header-vimeo .m2g-video-container {
	height: 100%;
	background-position: center;
	padding-bottom: 0;
	height: calc((100svh - var(--top-margin-cover-header)));	
}

.cover-header .m2g-video-header-vimeo .m2g-video-container iframe {
	min-height: 100vh;
	min-height: 100svh;
	height: calc(100vw * (1 / var(--m2g-header-media-ratio))) !important;
	top: calc(100vh - var(--top-margin-cover-header));
	top: calc(100svh - var(--top-margin-cover-header));
	transform: translateX(-50%) translateY(-95%); 
	left: 50%;

top: calc((100svh - var(--top-margin-cover-header)) / 2);
transform: translateX(-50%) translateY(-50%);
}

/* war
	top: 50%;		
	transform: translateX(-50%) translateY(-50%); 
aber das video war immer oben angeklebt, besser aber unten angeklebt
*/


@media (max-width: 1400px) {
.cover-header .m2g-video-header-vimeo .m2g-video-container iframe  {
  min-width: calc(100vh * var(--m2g-header-media-ratio)) !important;
}
}
/* ------ .m2g-video-teaser ----*/
.grid-item .m2g-video-teaser iframe {
	  pointer-events: none;
}
.grid-item .m2g-video-teaser .aspect-ratio-16x10 .m2g-video-container {
	padding-bottom: 62.5%;
	background-position: center;
}
.grid-item .m2g-video-teaser .aspect-ratio-16x10 .m2g-video-container iframe {
	left: 50%;
	transform: translateX(-50%);
	width: calc(100% * (16 / 9)) !important; /* oder: width: 177.78%; */
	max-width: unset;
	height: 100% !important;
}

/* ------ content-slider video-teaser ----*/

:root {
	--m2g-header-media-ratio: calc(16 / 9);
}
.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview .m2g-video-container {
	height: calc((100svh - var(--top-margin-cover-header)));
	padding-bottom: 0;
	background-position: center;
}

.single .entry-content .intro-text ~ .mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview .m2g-video-container {
		height: calc((100svh - var(--mgznkr-header-height-small)));
}

.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview .m2g-video-container iframe {
	min-height: 100vh;
	min-height: 100svh;
	height: calc(100vw * (1 / var(--m2g-header-media-ratio))) !important;
	top: calc(100vh - var(--top-margin-cover-header));
	top: calc(100svh - var(--top-margin-cover-header));
  left: 50%;
  transform: translateX(-50%) translateY(-95%); 
  pointer-events: none;

  top: calc((100svh - var(--top-margin-cover-header)) / 2);
    transform: translateX(-50%) translateY(-50%); 
}
/* war
	top: 50%;		
	transform: translateX(-50%) translateY(-50%); 
aber das video war immer oben angeklebt, besser aber unten angeklebt
*/

@media (max-width: 1400px) {
.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview .m2g-video-container iframe  {
  min-width: calc(100vh * var(--m2g-header-media-ratio)) !important;
  min-width: calc(100svh * var(--m2g-header-media-ratio)) !important;
}
}






.overlay-header:not(.showing-menu-modal):not(.overlay-header-has-text-color) .header-inner:not(.is-sticky),
.overlay-header .header-inner:not(.is-sticky) {
	color: inherit;
}


body.overlay-header:has( > #wpadminbar) #site-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
body.overlay-header:has( > #wpadminbar) #site-header {
    top: 46px;
  }
}




.has-drop-cap:not(:focus)::first-letter,
.faux-drop-cap {
	font-size: 5.95em;
	font-weight: 700;
	margin: .08em 0.08em 0 -0.03em;
}

.faux-drop-cap {
	float:left;
	line-height: 0.68;
}

.entry-content ul,
.entry-content ol {
	margin-left: 0;
}

.preview-excerpt {
	white-space: nowrap;
}

.preview-excerpt p,
.preview-excerpt p + .more {
	white-space: normal;
	display: inline-block;
}
@media (min-width: 700px) {
.preview-excerpt p {
	font-size: 2.0rem;
}
}
.preview-excerpt p {
	display: inline;
	line-height: 1.5;
}

.preview-excerpt p + .more:after {
	content: '';
	color: var(--accent-color);
	mask: url('assets/img/more-arrow.svg') no-repeat;
	background: currentColor;
	background-position-x: 2px;
	mask-size: contain;
	width: calc(1em + 6px);
	height: 0.8em;
	transform: translate(0, 1px);
	display: inline-block;
	padding-left: 0;
	transition: transform 0.15s ease-out;
}

a.preview-link:hover .preview-excerpt p + .more:after,
a.preview-link:focus .preview-excerpt p + .more:after {
	transform: translate(4px, 1px);
}

svg.more-arrow {
	display: inline;
	height: 0.9em;
	vertical-align: top;
	margin: 0 0.2em 0 0.6em;
}

a svg.more-arrow {
	transition: margin 0.15s ease-out;
}

a:hover svg.more-arrow {
	margin: 0 0 0 0.8em;
}

a.preview-link:hover h2 span:not(.pre-header) {
	text-decoration: underline;
}


	
.preview.status-draft .preview-title span:not(.pre-header)::after, 
.preview.status-private .preview-title span:not(.pre-header)::after, 
.post.status-draft h1.entry-title span:not(.pre-header)::after, 
.post.status-private h1.entry-title span:not(.pre-header)::after {
	content: ' \f070';
	font-family: "Font Awesome 5 Free";
	font-size: 0.6em;
	opacity: 0.7;
}

.entry-content ul {
	padding-left: 1.6rem;
	}
.entry-content ul li {
	list-style: none;
	margin-bottom: 1rem;
	}
.entry-content ul li:before {
	content: '';
	display: inline-block;
	height: 0.3rem;
	width: 2.4rem;
	background-color: var(--accent-color);
	margin-left: -3.4rem;
	margin-bottom: 0.25em;
	margin-right: 1rem;
	}
	
.entry-content ol {
	list-style: none;
	counter-reset: item;
}
.entry-content ol li {
	margin-left: 2.5rem;
	margin-bottom: 1rem;
}
.entry-content ol li:before {
	content: counter(item)". ";
	counter-increment: item; 
	color: var(--accent-color);
	font-weight: 400;
	margin-left: -2.5rem;
	display: inline-block;
	width: 2.5rem;
}


blockquote {
    border: none;
   	padding: 0 4rem 0 2.5rem;
}

blockquote:not(.is-style-large), blockquote:not(.is-style-large) p {
	font-size: 2.2rem;
	font-weight: 700;
	line-height: 1.5;
    color: var(--headings-color);
}

blockquote:not(.is-style-large) cite {
	font-size: 1.6rem;
}

.entry-content .wp-block-quote.is-style-large {
	font-size:3.2rem;
	line-height: 1.3;
}


.entry-content .wp-block-quote.is-style-large  cite {
	display: inline-block;
	color: #fff;
	background-color: var(--accent-color);
	padding: 0.05em 0.5em 0.15em;
	font-size: 1.75rem;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

@media (min-width: 700px) {
.entry-content .wp-block-quote.is-style-large {
	font-size:4rem;
	line-height: 1.3;
	}
.entry-content .wp-block-quote.is-style-large p {
	line-height: inherit;
	}

.entry-content .wp-block-quote.is-style-large  cite {
	font-size: 1.7rem;
	}
}


.wp-block-column .wp-block-quote {
	margin-top: 0;
	margin-bottom: 0;
}

.wp-block-image {
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.wp-block-image.alignright, .wp-block-image.alignleft {
	margin-top: 0.5em;
}


@media (min-width: 770px) {
.align-outside .alignright,
.align-outside.alignright {
	margin-right: calc(-50vw + 35rem + 4rem)
}
.align-outside .alignleft,
.align-outside.alignleft {
	margin-left: calc(-50vw + 35rem + 4rem)
}
}

@media (min-width: 1500px) {
.align-outside .alignright,
.align-outside.alignright {
	margin-right: -35rem;
}
.align-outside .alignleft,
.align-outside.alignleft {
	margin-left: -35rem;
}
}

.align-outside .alignleft:not(.is-resized), .align-outside .alignright:not(.is-resized),
.alignright.align-outside,
.alignleft.align-outside {
	max-width: 30rem;
}



.wp-block-cover.aligncenter,
.wp-block-cover.alignwide {
	min-height: calc((100vw - 4rem) * 9 / 16);
}

@media (min-width: 700px) {
.wp-block-cover.aligncenter {
	min-height: calc(70rem * 9 / 16);
}
}

@media (min-width: 1120px) {
.wp-block-cover.alignwide {
	min-height: calc(112rem * 9 / 16);
}
}

.wp-block-cover.alignfull {
	min-height: calc(100vw * 9 / 16);
}


/* ----------------------------------------------------------------------------------- */
/* next prev */

.post-navigation {
    border-color: var(--border-color);
}

.post-navigation .nav-links .screen-reader-text {
	clip: unset;
	clip-path: unset;
	height: unset;
	overflow: hidden;
	position: relative !important;
	left: unset;
	width: unset;
}

.post-navigation .nav-links a .screen-reader-text {
	opacity: 1;
	line-height: 1.3;
	color: inherit;
	transition: opacity 0.3s ease-in-out, color 0.2s ease-in-out;
}

.post-navigation .nav-links a:hover .screen-reader-text,
.post-navigation .nav-links a.touched .screen-reader-text {
	color: #fff;
	opacity: 0;
}

.post-navigation a:hover {
	text-decoration: none;
}

.post-navigation a .post-title {
	text-decoration: none;
	position: absolute;
    margin-left: 2rem;
    width: calc(50vw - 10rem);
    font-weight: 800;
    opacity: 0;
    line-height: 1;
    color: var(--accent-color);
    transition: opacity 0.3s ease-in-out;
}

.post-navigation a:hover .post-title,
.post-navigation a.touched .post-title {
	text-decoration: none;
    opacity: 1;
}

.post-navigation .nav-next a .post-title {
	margin-left: 0;
}

.post-navigation a .arrow {
	transition: transform 0.2s ease-in-out;
}

.post-navigation a:hover .arrow,
.post-navigation a.touched .arrow {
	transform: translateX(-0.5rem);
}

.post-navigation .nav-next a:hover .arrow,
.post-navigation .nav-next a.touched .arrow {
	transform: translateX(0.5rem);
}

.post-navigation a  {
	align-items: center;
}

@media (max-width: 699px) {

.nav-next a {
	justify-content: flex-end;
}

.post-navigation .nav-next a .screen-reader-text {
	margin-right: 1rem;
	text-align: right;
}

.post-navigation .nav-next a .post-title {
	text-align: right;
	margin-right: 3rem;
}

.post-navigation .nav-next a.touched .post-title {
	right: 2rem;
}

.post-navigation .nav-next a .post-title,
.post-navigation .nav-previous a .post-title {
	width: calc(100% - 6rem);
}

.nav-next a .arrow {
	order: 3;
}

}


@media (min-width: 700px) {

.post-navigation a .post-title {
    margin-left: 3.25rem;
}

.post-navigation .nav-next a .post-title {
	margin-right: 3.25rem;
}

}
	
	
/* ----------------------------------------------------------------------------------- */
/* related */


#m2g-section-related {
	margin-top: 5rem;
	max-width: 100%;
}

#m2g-section-related .posts-grid > .grid-item.grid-item-row2:nth-of-type(2n+1){
	margin-left: 0;
	margin-right: 5rem;
}

#m2g-section-related .posts-grid > .grid-item.grid-item-row2:nth-of-type(2n) {
	margin-right: 0;
	margin-left: 5rem;
}



@media (min-width: 1000px) {

#m2g-section-related h3.related {
	text-align: center;
}

#m2g-section-related {
	margin-top: 10rem;
	max-width: calc((505px * 2 ) + 40px + 40px );
}

#m2g-section-related .posts-grid > .grid-item.grid-item-row2:nth-of-type(2n+1) {
	margin-left: 0;
	margin-right: 0;
}

#m2g-section-related .posts-grid > .grid-item.grid-item-row2:nth-of-type(2n) {
	margin-left: calc(2 * 2rem);
}


}










/* ----------------------------------------------------------------------------------- */
/* site-footer */



#site-footer .grid .grid-item {
	margin-bottom: 2rem;	
}

@media (min-width: 1000px) {
#site-footer .grid .column-one.grid-item {
	margin-bottom: -2.1rem;	
}
}

#site-footer .grid ,
#site-footer .grid .column-one.grid-item {
	margin-left: 0;
	margin-right: 0;	
}

#site-footer .grid .column-one.grid-item .widget.widget_text {
	margin-top: 0;
}


.footer-widgets-outer-wrapper {
	margin-bottom: 0;
	border: none;
	margin-top: 0;
	padding-top: 5rem;
}

#site-footer {
	margin-top: 12rem;
}

.footer-inner {
	padding: 6rem 0 1.5rem;
}

.footer-widgets.column-two.grid-item {
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
}
	

#menu-m2g-social {
	align-items: baseline;
	border: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	margin: -5rem -1.5rem -5rem 0;
}

#menu-m2g-social li a {
	margin: 0 1rem;
	padding: 0.5rem;
	}


.has-footer-menu ul.footer-menu {
	text-align: right;
	margin-bottom: 1.5rem;
}

.footer-menu li {
	border: none;
}

.footer-menu a {
	padding: 0.6rem 0;
}

/*
.footer-menu a:hover,
.footer-menu a:focus,
.footer-menu a:active {
	color: var(--primary-color);
	font-weight: 700;
}
*/

@media(min-width:1000px) {

.footer-inner {
	padding: 6rem 0 3rem;
}

}


.widget {
border: none;
}

.footer-widgets .widget {
    margin-top: 0rem;
}

@media(min-width:700px) {
.footer-widgets .widget {
    margin-top: 1.5rem;
}
}


	
/* ----------------------------------------------------------------------------------- */
/* searchform */

.menu-modal form.m2g_search, 
#site-header form.m2g_search {
display: inline-flex;
justify-content: flex-end;
margin-top: -0.4rem;
margin-right: -3.5rem;
margin-bottom: 0;
}

.menu-modal form.m2g_search {
margin-right: 0.5rem;
}

#site-header form.m2g_search,
#site-header .m2g_search input[type=text] {
  -webkit-transition: width 0.6s ease-in-out;
  transition: width 0.6s ease-in-out;
}

.menu-modal .m2g_search input[type=text],
#site-header .m2g_search input[type=text] {
  width: 3rem;
  font-size: inherit;
  font-weight: 300;
  box-sizing: border-box;
  margin-top: 0.3rem;
  padding: 0.75rem 0.5rem;
  text-align:right;
  border: 1px solid transparent;
  padding-right: 2em;
  z-index: 1;
}

/* for always visible placeholder */
#site-header .m2g_search input[type="text"] {
    width: 7.5rem;
    padding-left: 1rem;
    text-align:left;
}


#site-header .m2g_search input[type=text]::placeholder {
  color: inherit;
}

.menu-modal .m2g_search input[type=text]::placeholder {
  opacity: 0.6;
}

.menu-modal .m2g_search input[type=text],
#site-header .m2g_search:hover input[type=text],
#site-header .m2g_search input[type=text]:focus {
  width: 18rem;
  border: none;
  border-radius: 1px;
  background-color: var(--light-background-color);
}

.menu-modal .m2g_search input[type=text] {
  padding: 0.5rem 5rem 0.5rem 0.5rem;
  background-color: transparent;
  margin-left: calc(1rem - 1px);
  border: 1px solid rgba(0,0,0,0.5);
  border-radius: 2px;
}

.menu-modal .m2g_search input[type=text]:focus::placeholder,
#site-header .m2g_search input[type=text]:focus::placeholder {
  opacity: 0.5;
}

#site-header .m2g_search input[type=text]:focus+button[type=submit],
#site-header .m2g_search input[type=text]:hover+button[type=submit],
#site-header .m2g_search input[type=text]+button[type=submit]:hover {
  z-index: 2;
}


.menu-modal .m2g_search button[type=submit],
#site-header .m2g_search button[type=submit] {
	transform: translate(-3.5rem, 0.2rem);
	width: 2rem;
	padding: 0.2em 1.75em 0.2em 1em;
	color: inherit;
	/*opacity: 1;*/
	background: none;
	border: none;
}

.menu-modal .m2g_search button[type=submit] {
	opacity: 1;
	transform: translate(-4.0rem, 0.2rem);
	margin-right: -4.0rem;
	border-left: 1px solid rgba(0,0,0,0.5);
	padding-left: 1rem;
	margin-top: 1px;
	height: 3.4rem;
	z-index: 2;
}

#site-header .m2g_search button[type=submit]:hover {
	/*opacity: 1;*/
}

#site-header .m2g_search button[type=submit]:hover i.fas,
.menu-modal  .m2g_search button[type=submit]:hover i.fas {
	transform: scale(1.1,1.1) translateY(1px);
}






/* start Variante search form 
dotted bottom-line, no border:


#site-header .m2g_search input[type="text"] {
    width: 3rem;
	padding-bottom: 0.25rem;
	}
#site-header .m2g_search:hover input[type="text"], #site-header .m2g_search input[type="text"]:focus {
    width: 18rem;
	background: transparent;
	  border: 1px solid transparent;
border-bottom: 2px dashed rgba(0,0,0,0.8);
  border-radius: 0;
	margin-bottom: -1px;
}

#site-header .m2g_search button[type=submit] i.fas {
transform: translateY(2px);
}

#site-header .m2g_search button[type=submit]:hover i.fas {
transform: scale(1.1,1.1) translateY(1px);
}
 */
/* end Variante search form 
dotted bottom-line, no border: */

/* ----------------------------------------------------------------------------------- */
/* search */

.archive-subtitle.section-inner.thin,
.no-search-results-form {
	margin-left: auto;
	margin-right: auto;
	width: max-content;
	max-width: 100%;
}

.no-search-results-form .search-form {
	display: inline-flex;
}

h1.archive-title {
	margin-top: 4rem;
}

.search .archive-header {
	margin-bottom: 2rem;
}

@media (min-width: 700px) {
.search .archive-header {
	margin-bottom: 6rem;
}

.search.search-no-results .archive-header {
	margin-bottom: 2rem;
}
}



.m2g-video-container {
	position:relative;
	padding-bottom: 56.25%; /* 16:9 */
	height:0;
	overflow:hidden;
	border: none;
	margin-bottom: 2rem; 
	background-size: cover;
}

.m2g-video-container iframe {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}


/* ----------------------------------------------------------------------------------- */
/* comments */

.comment-reply-title {
	margin-bottom: 4rem;
	font-size: 2.4rem;
}

.comment-respond form p.comment-before {
	margin-bottom: 4rem;
}

.comments-wrapper {
    margin-top: 3rem;
    text-align: center;
}
.comment-respond label {
	text-align: left;
	text-transform: uppercase;
	font-family: var(--headings-font);
	font-size: 1.7rem;
	font-weight: 400;
}

#commentform input[type="text"], 
#commentform input[type="email"],
#commentform textarea {
	border-color: var(--border-color);
	border-radius: 0;
	}

#commentform {
	margin-left: auto;
	margin-right: auto;
	display: flex;
	flex-flow: column;
}

.comment-respond:not(:first-child) {
	padding-top: 8rem;
}

.m2g-section-divider + .comment-respond {
	padding-top: 0;
}

button, .button, .faux-button, .wp-block-button__link, :root .wp-block-file__button, input[type="button"], input[type="reset"], input[type="submit"], :root .woocommerce #respond input#submit, :root .woocommerce a.button, :root .woocommerce button.button, :root .woocommerce input.button {
	border-radius: 0;
}


.comment-respond form p.comment-before:empty + .comment-form-comment {
	margin-top: 2rem;
}

.comment-respond form p.comment-before:empty,
.comment-respond form p.comment-after:empty {
	display: none;
	margin: 0;
}

#commentform.section-inner.thin,
#comments.section-inner.thin {
	max-width: 100%;
}

#comments .comment-body {
	clear: both;
	display: flex;
	flex-flow: column;
}

#comments .comment-body .comment-meta {
	align-self: flex-start;
	margin-bottom: 0.8em;
}

#comments .comment-body .comment-footer-meta{
	align-self: flex-end;
	margin: 0;
}

.comment-form-author {

}

.comment-respond .comment-form-email {
	order: 2;
	margin-left: 0;
}

.comment-after {
	text-align: left;
	order: 3;
}

.form-submit {
	order: 4;
}

.comment-respond #submit {
	margin-left: 0;
	text-transform: uppercase;
	font-size: 1.7rem;
	letter-spacing: 0.02em;
	
}

.comment-respond input[type="submit"] {
	margin-top: 2rem;
	padding: 0.9em 1.7em;
}

.comment-respond input[type="text"], 
.comment-respond input[type="email"],
.comment-respond textarea {
	padding: 0.825rem 1.5rem;
}

.comment-body {
	border-left: none;
	padding-left: 0rem;
    min-height: 4rem;
}

.comment div.comment {
	border-left: none;
	padding-left: 1rem;
	margin-top: 0;
	padding-top: 3rem;
	position: relative;
}

.comment div.comment:before {
	content: '';
	position: absolute;
	display: block;
	min-width: 0.4rem;
	margin-left: -1rem;
	min-height: calc(100% - 3rem);
	border-radius: 0;
	background: var(--accent-color);
}



.comment div.comment .comment-body {
	padding-left: 1.5rem;
}

.comment div.comment .comment-body:before {
	margin-left: -3.5rem;
}

.comments > .comment {
	padding-top: 2rem;
	margin-top: 2.5rem;
	border-top: 1px solid var(--border-color);
}

@media (min-width: 700px) {
.comments > .comment {
	padding-top: 3.5rem;
	margin-top: 3.5rem;
}
}

.comments > .comment:nth-child(2) {
	border-top: none;
}

.comment-content {
	text-align: left;
}

.bypostauthor .comment-footer-meta .by-post-author {
	display: none;
}

.comment-metadata {
    font-size: 0.8em;
    line-height: 1.8;
    font-family:inherit;
}
.comment-metadata a:hover {
   	color: var(--secondary-color);
}

a.comment-reply-link,
a#cancel-comment-reply-link {
    display: inline-block;
    border: 4px solid #e1e1e1;
    padding: 0.425rem 1.5rem;
    margin-top: 1rem;
    color: #fff;
    background-color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-weight: 400;
    font-size: 0.9em;
    border-radius: 0;
    font-family:inherit;
}

a.edit-comment-link,
a#cancel-comment-reply-link  {
	max-width: 3.35rem;
	display: inline-block;
	overflow: hidden;
	max-height: 3.35rem;
	line-height: 1.8;
	margin: 1rem 1rem 0 0;
	float: left;
	border-radius: 5rem;
	background: var(--buttons-background-color);
}

a#cancel-comment-reply-link  {
	margin: 0;
	float: right;
	padding-left: 0.75rem;
	line-height: 1;
}

a.edit-comment-link:hover,
a#cancel-comment-reply-link:hover,
.comment-footer-meta a:hover  {
	text-decoration: none;
}

a#cancel-comment-reply-link:before {
	content: "\f00d";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	display: inline-block;
	margin-bottom: 1rem;
}

a.edit-comment-link:before {
	content: "\f0ad";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	display: inline-block;
	margin-bottom: 1rem;
}


.comment-body .comment-author {
	font-weight: 400;
	font-family: var(--headings-font);
}

.comment-body .comment-content {
	font-weight: 400;
}

@media (min-width: 700px) {
.comment-respond form p.comment-after {
	width: calc( 50% - 1rem );
}
}
/* ----------------------------------------------------------------------------------- */
/* edit-link */

.edit-link {
    position: fixed;
    top: 16rem;
    left: -0.7rem;
    z-index: 1;
    width: 2.8rem;
    height: 2.8rem;
    font-size: 1.6rem
}

.edit-link a {
	color: inherit;
	background: rgba(255,255,255,0.3);
	display: inline-block;
	width: 2.8rem;
	height: 2.8rem;
	border-radius: 50%;
	text-align: center;
	border: 0.3rem dotted var(--primary-color);
	opacity: 0.7;
}

.edit-link a:hover {
	color: var(--accent-color);
	background: #fff;
	border: 0.2rem solid var(--accent-color);
	transform: scale(1.2) translateX(0.5rem) rotate(25deg);
	opacity: 1;
}


  
body.admin-bar .navbar.fixed-top {
	margin-top: 32px;
}

@media (max-width: 782px) {

body.admin-bar .navbar.fixed-top {
	margin-top: 46px;
}

}

/* demo */
.single:not(.post-template-template-cover):not(.template-video-header) article.category-mag2go-formate .featured-media {
	display: none;
}
.single:not(.post-template-template-cover):not(.template-video-header) article.category-mag2go-formate .post-inner {
    padding-top: 4rem;
}



/* ----------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------- */

/* colors and style */
.header-inner {
	border-bottom: 1px solid #ccc;
	border-color: var(--header-border-color);
}

.header-inner,
.header-inner.is-sticky {
	background-color: #ccc;
	background-color: var(--header-background-color);
}

.grid-break {
	background: transparent;
}

.disable-menu-modal-on-desktop .header-lower {
	border-bottom: 1px solid #ccc;
	border-color: var(--light-background-color);
	/*background: #ffbfc1;*/
}

#site-header,
.header-inner.is-sticky {
	/* background: brown */
}

#site-footer {
	background-color: var(--footer-background-color);
	border-top: 1px solid #ccc;
	border-color: var(--header-border-color);
}


.m2g-section-divider {
	border-color: #E1E1E1;
	border-color: var(--border-color);
	border-style: solid;
	border-width: .1rem 0 0;
	margin: 3rem 0;
}

.nav-previous .arrow svg,
.nav-next .arrow svg  {
	fill: inherit;
	fill: var(--primary-color);
}

.nav-previous a:hover .arrow svg,
.nav-next a:hover .arrow svg  {
	fill: #a1a1a3;
	fill: var(--accent-color);
}

button, .button, .faux-button, .wp-block-button__link, :root .wp-block-file__button, input[type="button"], input[type="reset"], input[type="submit"], :root .woocommerce #respond input#submit, :root .woocommerce a.button, :root .woocommerce button.button, :root .woocommerce input.button {
	background-color: inherit;
	background-color: var(--buttons-background-color);
	color: inherit;
	color: var(--buttons-text-color);
	padding: 0.9em 1.5em;
	font-size: inherit;
}

button:hover, .button:hover, .faux-button:hover, .wp-block-button__link:hover, :root .wp-block-file__button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, :root .woocommerce #respond input#submit:hover, :root .woocommerce a.button:hover, :root .woocommerce button.button:hover, :root .woocommerce input.button:hover ,
button:focus, .button:focus, .faux-button:focus, .wp-block-button__link:focus, :root .wp-block-file__button:focus, input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, :root .woocommerce #respond input#submit:focus, :root .woocommerce a.button:focus, :root .woocommerce button.button:focus, :root .woocommerce input.button {
	background-color: inherit;
	background-color: var(--buttons-background-hover-color);
	color: #fff;
	color: var(--buttons-text-hover-color);
}

.is-style-outline .wp-block-button__link:not(.has-text-color) {
	color: var(--accent-color);
}
.is-style-outline .wp-block-button__link:not(.has-text-color):hover {
	color: var(--buttons-text-color);
}

a.comment-reply-link,
a.edit-comment-link,
a#cancel-comment-reply-link {
    border: 6px solid inherit;
    border-color: var(--buttons-background-color);
    color: inherit;
    color: var(--buttons-text-color);
    font-weight: 700;
}

a.comment-reply-link:hover,
a.edit-comment-link:hover,
a#cancel-comment-reply-link:hover {
    border: 6px solid inherit;
    border-color: var(--buttons-background-hover-color);
    background: inherit;
    background-color: var(--buttons-background-hover-color);
    color: #fff;
    color: var(--buttons-text-hover-color);
}

a.edit-comment-link,
a.edit-comment-link:hover { border-width: 3px; }



.comment-body,
.comment div.comment {
	border-color: inherit;
	border-color: var(--buttons-background-color);
}

.color-secondary, .color-secondary-hover:hover {
    color: #666;
    color: var(--secondary-color);
}

.color-blue {
	color: var(--accent-color);
}


/* colors and style end */




/* TODO check if needed */

.m2g-load-more {
  text-align: center;
}
.m2g-loading .m2g-load-more a {
  opacity: 0;
  transform: scale( 0.5 );
  transform-origin: center;
  transition: opacity .2s linear, transform .2s ease-out;
}


/* ----------------------------------------------------------------------------------- */
/* section related  */

#m2g-related {
	padding-top: 6rem;
	overflow: hidden;
}


#m2g-related .posts-grid {
	display: flex;
	flex-direction: row;
	justify-content: center;
}

#m2g-related .posts-grid.alignwide {
	width: 100%;
	max-width: 100%;
}

#m2g-related > .section-inner > h4 {
	text-align: center;
}


@media (min-width: 660px) {

#m2g-related .posts-grid.alignwide {
	width: 112rem;
	margin: 4rem auto -4rem;
}

#m2g-related .preview-media + .preview-header {
    margin-top: 1.5rem;
}

#m2g-related .grid-item  {
	margin: 0 0 8rem;
	width: calc(50% - 2rem);
}
#m2g-related .grid-item:nth-of-type(2n+1)  {
	margin-right: 2rem;
}
#m2g-related .grid-item:nth-of-type(2n),
#m2g-related .grid-item:last-of-type  {
	margin-left: 2rem;
}

#m2g-related .grid-item article.preview {

    flex-direction: column;
}

#m2g-related .grid-item article.preview .preview-media {
	margin-right: 0;
	max-width: 100%;
	min-width: unset;
}
}

/* ----------------------------------------------------------------------------------- */
/* only if theme_supports( 'm2g_sharing_icons_below_content' );    */


#m2g-sharing-row {
	margin: 3rem auto;
	padding: 2rem 0 0;
}

#m2g-sharing-row h4 {
	text-align: center;
	margin: 0 auto 1.5rem;
}

#m2g-sharing-row ul {
	list-style: none;
	display: flex;
	flex-flow: row;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0;
}

#m2g-sharing-row > ul > li {
	margin: 1rem;
	padding-right: 0.5rem;
	padding-left: 0.5rem;
}

#m2g-sharing-row > ul > li > a {
	padding: 1rem 0.5rem;
}

.m2g-sharing-icon {
	font-size: 2.1rem;
	background: var(--buttons-background-color);
	border-radius: 50%;
	color: var(--buttons-text-color);
	line-height: 1;
	display: inline-block;
	width: 4rem;
	height: 4rem;
	text-align: center;
	transform: scale(1);
}

a.m2g-sharing-icon:hover {
	background: var(--buttons-background-hover-color);
	color: var(--buttons-text-hover-color);
	transform: scale(1.04);
}

a.m2g-sharing-icon i.fa-facebook-f {
	font-size: 138%;
	line-height: 1.1;
	padding-left: 0.05em;
}

a.m2g-sharing-icon i.fa-whatsapp {
	font-weight: 800;
	padding-left: 0.05em;
	line-height: 0.9;
}

a.m2g-sharing-icon i.fa-envelope {
	font-size: 90%;
	line-height: 1.1;
}

.m2g-sharing-icon span span {
	display: none;
}

@media (max-width: 599px) {
#m2g-sharing-row > ul > li {
    margin: 1rem 0.25rem;
}
}

@media (min-width: 1000px) {
#m2g-sharing-whatsapp {
	display: none;
}
}

#site-footer .m2g-sharing-icon {
	font-size: 1.6rem;
	width: 3.0rem;
	height: 3.0rem;
	display: inline-block;
	margin: 0 0 1rem 1rem;
	vertical-align: bottom;
	line-height: 1.9;
}

#site-footer .m2g-sharing-icon.facebook {
	line-height: 2.7;
}

/* ----------------------------------------------------------------------------------- */
/* Plugin wp_postratings */

.post-ratings-loading {
	display: none;
	height: 16px;
	text-align: left;
}

.m2g-rating .post-ratings img {
		--rating-on-color: var(--accent-color);
		--rating-off-color: #DEDFDF;
	display: inline;
	width:0; 
	height:0px; 
	padding: 1.8rem; 
	background-size: contain;
	margin: 0 0.25rem;
	mask-image: url('assets/img/rating_stars_mask.svg');
}

.m2g-rating .post-ratings img[src*='rating_off'] {
	background: var(--rating-off-color);
}

.m2g-rating .post-ratings img[src*='rating_on'] {
	background: var(--rating-on-color);
}

.m2g-rating .post-ratings img[src*='rating_half'] {
	background: linear-gradient( to right, var(--rating-on-color), var(--rating-on-color) 50%, var(--rating-off-color) 50%, var(--rating-off-color)  100% );
}

.m2g-rating .post-ratings img[src*='rating_over'] {
	transform: scale(1.1);
	background: var(--rating-on-color);
}

.m2g-rating {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 3rem auto;
  padding: 2rem 0 2rem;
  text-align: center;
}

.m2g-rating hr {
	margin: 3rem 0;
}

.m2g-rating h3,
.m2g-rating h4,
.m2g-rating h5 {
  text-align: center;
  margin: 0 auto 1.5rem;
}

.m2g-rating p {
  margin-top: 2rem;
  font-size: 2.0rem;
}

.post-ratings {
  width: auto;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.post-ratings span {
 margin: 0 auto 0.2rem;
  display: flex;
  text-align: center;
  flex-direction: row;
  align-items: center;
  text-align: center;
  font-size: 1.6rem;
}

.post-ratings-loading {
  text-align: center;
  height: auto;
}

.post-ratings-loading img {
  display: inline;
  margin: 0 1rem 0 0;
}



	

/* .wp-block-accordion -------------------------------------- */
:root {
	--wp-accordion-icon-width: 2.4rem;
	--wp-accordion-icon-height: 2.4rem;
	--wp-accordion-icon-marginright: 10px;
	--wp-accordion-icon-color: var(--accent-color);
}

.wp-block-accordion-heading__toggle:focus, .wp-block-accordion-heading__toggle:hover {
	color: var(--accent-color)!important;
	text-decoration: none;
}

.wp-block-accordion-heading button:focus, .wp-block-accordion-heading button:hover  {
background: transparent;
}

.wp-block-accordion-heading__toggle {
font-size: 2.4rem
}
.wp-block-accordion .wp-block-accordion-item h3 {
	border-bottom: 1px solid var(--border-color);
	padding: 1.5rem 0rem;
}


.wp-block-accordion-item > .wp-block-accordion-panel > .mgznkr-inner-accordion  {
  padding: 0;
}

.wp-block-accordion-item.is-open > .wp-block-accordion-panel > .mgznkr-inner-accordion  {
  padding: 3rem 0rem;
}


/* .mgznkr-flipcard -------------------------------------- */
.mgznkr-flipcard-block {
	margin-top: 0;
	margin-bottom: 0;
}

.mgznkr-flipcard-block  .mgznkr-flipcard-content-back {
color: inherit;
background: #fff;
border: 3px solid var(--wp--preset--color--turquois);/* #0C46F2; */
box-shadow: none;
}





/* TODO check if needed */
/* .plugin mgznkr stickhero -------------------------------------- */
/* ---------------------------------------------------------------------------------  */

:root {

	--mgznkr-sh-color: #fff;
	--mgznkr-sh-bgcolor: hsla(95,5%,30%,0.7);
	
	/* fixed-header-height */
	--mgznkr-sh-header-height: 80px;
		
	/* roughly: how long to scroll before sticky is released - 
	min value is 100vh + mgznkr-sh-con-top-margin - mgznkr-sh-header-height + text-content-height(variable due to content and responsive)
	 */
	--mgznkr-sh-scrollway: calc(240vh);
	/* scrollway from getting-sticky to content show up */
	--mgznkr-sh-con-top-margin: 40vh;
	

	/* should add up to 100% */
	--mgznkr-sh-con-max-width: 33%;
	--mgznkr-sh-con-small-margin: 7%;
	--mgznkr-sh-con-big-margin: 60%;
	
	/* content-styling */
	--mgznkr-sh-con-padding: 2.4rem;
	--mgznkr-sh-con-font-size: calc(0.75vw + 12px);
	--mgznkr-sh-con-head-size: calc(1.7 * 0.75vw + 12px);
	--mgznkr-sh-con-head-lheight: 1.2;
	
	--mgznkr-sh-media-ratio: calc(16 / 9);

	--mgznkr-sh-button-size: calc(var(--mgznkr-sh-con-head-size) * 2 * var(--mgznkr-sh-con-head-lheight));
}


@media (max-width: 599px) {
:root {
	--mgznkr-sh-con-font-size: calc(0.75vw + 18px);
	--mgznkr-sh-con-head-size: calc(1.7 * 0.75vw + 18px);
}
}

@media (max-width: 399px) {
:root {
	--mgznkr-sh-header-height: 60px;
}
}

@media (max-width: 899px) {
:root {
	--mgznkr-sh-con-font-size: calc(0.75vw + 14px);
	--mgznkr-sh-con-head-size: calc(1.7 * 0.75vw + 14px);
}
}


/*
.mgznkr-stickyhero.alignfull {
	margin-bottom: 0!important;
	margin-top: 0!important;
	min-height: var(--mgznkr-sh-scrollway);
}

	
.mgznkr-stickyhero .mgznkr-stickyhero__media {
	position: -webkit-sticky;
	position: sticky;
	z-index: 1;
	top: var(--mgznkr-sh-header-height);
	margin-bottom: 0;
	width: 100%;
	height: calc(100vh - var(--mgznkr-sh-header-height));
	overflow: hidden;
}

.mgznkr-stickyhero .mgznkr-stickyhero__media,
.mgznkr-stickyhero .mgznkr-stickyhero-bg-img {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}

.mgznkr-stickyhero .mgznkr-stickyhero__media.mode-inset,
.mgznkr-stickyhero .mgznkr-stickyhero__media.mode-inset .mgznkr-stickyhero-bg-img {
	background-size: contain;
	max-height: 100%;
}

.mgznkr-stickyhero .mgznkr-stickyhero__content.alignwide {
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: center;
	align-items: center;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	margin: 0 auto;
	margin-top: var(--mgznkr-sh-con-top-margin);
	margin-bottom: 0;
	text-align: center;
	color: var(--mgznkr-sh-color);
	font-size: var(--mgznkr-sh-con-font-size);
	line-height: 1.4;
	font-weight: 400;
}

.mgznkr-stickyhero .mgznkr-stickyhero__content .container {
	overflow: hidden;

	transition-duration: 0.7s;
	transition-property: clip-path;
	transition-timing-function: ease-out;
	clip-path: circle(200% at calc(100% - 2em) 2em);

	font-size: var(--mgznkr-sh-con-head-size);
	line-height: 1.2;
	
	padding: var(--mgznkr-sh-con-padding);
	background-color: var(--mgznkr-sh-bgcolor);
	
}


.mgznkr-stickyhero .mgznkr-stickyhero__media + .mgznkr-stickyhero__content {
	margin-right: 5%;
	margin-left: 5%;
}

.mgznkr-stickyhero .mgznkr-stickyhero__media + .mgznkr-stickyhero__content .container > * {
	text-align: center;
	font-size: var(--mgznkr-sh-con-font-size);
}

.mgznkr-stickyhero .mgznkr-stickyhero__media + .mgznkr-stickyhero__content h3.container-button + p {
	text-align: left;
}



@media (min-width: 801px) {

.mgznkr-stickyhero .mgznkr-stickyhero__content.alignwide {
	max-width: var(--mgznkr-sh-con-max-width);
}

.mgznkr-stickyhero .mgznkr-stickyhero__media + .mgznkr-stickyhero__content {
    margin-right: auto;
    margin-left: auto;
}

.mgznkr-stickyhero .mgznkr-stickyhero__media.text-left + .mgznkr-stickyhero__content {
	margin-right: var(--mgznkr-sh-con-big-margin);
	margin-left: var(--mgznkr-sh-con-small-margin);
}

.mgznkr-stickyhero .mgznkr-stickyhero__media.text-right + .mgznkr-stickyhero__content {
	margin-right: var(--mgznkr-sh-con-small-margin);
	margin-left: var(--mgznkr-sh-con-big-margin);
}

.mgznkr-stickyhero .mgznkr-stickyhero__media.text-left + .mgznkr-stickyhero__content .container > * {
	text-align: left;
}

.mgznkr-stickyhero .mgznkr-stickyhero__media.text-right + .mgznkr-stickyhero__content .container > * {
	text-align: right;
}

}








.mgznkr-stickyhero .mgznkr-stickyhero__media .video-container {
    padding-bottom: calc((100vw / var(--mgznkr-sh-media-ratio) ) -  var(--mgznkr-sh-header-height));
    min-height: calc(100vh - var(--mgznkr-sh-header-height));
    margin-bottom: 0;
	margin-top: 0;
	border: none;
}

.mgznkr-stickyhero .mgznkr-stickyhero__media.mode-inset .video-container {
	max-height: 100%;
}


.mgznkr-stickyhero .mgznkr-stickyhero__media .video-container iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	display: block;
	max-width: none;
	height: calc(100vh - var(--mgznkr-sh-header-height))!important;
	width: calc(100vh * var(--mgznkr-sh-media-ratio))!important;  
    min-width: 100%;
    min-height: calc((100vw / var(--mgznkr-sh-media-ratio) ) ); 
}

.mgznkr-stickyhero .mgznkr-stickyhero__media.mode-inset .video-container iframe {
	width: auto;
	min-height: calc(100vh - var(--mgznkr-sh-header-height) );
	max-width: 100%;
}




.mgznkr-stickyhero .mgznkr-stickyhero__media + .mgznkr-stickyhero__content .container > h3 {
	font-size: var(--mgznkr-sh-con-head-size);
	line-height: var(--mgznkr-sh-con-head-lheight);
	margin-top: 0;
	margin-bottom: 0.5em;
	color: #fff;
}


.mgznkr-stickyhero .mgznkr-stickyhero__content .container > *:last-child {
	margin-bottom: 0;
}



.mgznkr-stickyhero .mgznkr-stickyhero__content .container h3.container-button {
	display: flex;
	flex-flow: row;
	align-items: flex-start;
	justify-content: flex-start;
}


.mgznkr-stickyhero .mgznkr-stickyhero__media + .mgznkr-stickyhero__content .container > h3.container-button > span {
	min-height: var(--mgznkr-sh-button-size);
	display: flex;
	flex-flow: row;
	align-items: flex-end;
	text-align: left;
}

.mgznkr-stickyhero .mgznkr-stickyhero__media + .mgznkr-stickyhero__content .container.button-active {
	clip-path: circle(calc( ( var(--mgznkr-sh-button-size) / 2 ) + ( var(--mgznkr-sh-con-padding) / 2 ) ) at calc( ( var(--mgznkr-sh-button-size) / 2 ) + var(--mgznkr-sh-con-padding) )  calc( (var(--mgznkr-sh-button-size) / 2) + var(--mgznkr-sh-con-padding) ) );
}


@media (min-width: 801px) {

.mgznkr-stickyhero .mgznkr-stickyhero__media.text-right + .mgznkr-stickyhero__content .container > h3.container-button {
	justify-content: flex-end;
}

.mgznkr-stickyhero .mgznkr-stickyhero__media.text-right + .mgznkr-stickyhero__content .container > h3.container-button > span {
	text-align: right;
}

.mgznkr-stickyhero .mgznkr-stickyhero__media.text-right + .mgznkr-stickyhero__content h3.container-button  button {
	order: 2;
}

.mgznkr-stickyhero .mgznkr-stickyhero__media.text-right  + .mgznkr-stickyhero__content .container.button-active {
	clip-path: circle(calc( ( var(--mgznkr-sh-button-size) / 2 ) + ( var(--mgznkr-sh-con-padding) / 2 ) ) at calc( 100% - ( var(--mgznkr-sh-button-size) / 2 ) - var(--mgznkr-sh-con-padding) )  calc( (var(--mgznkr-sh-button-size) / 2) + var(--mgznkr-sh-con-padding) ) );
}

}


*/





/* ----------------------- play button ------------------ */


button.mgznkr-stickyhero-video-play {
display: inline-block;
position: inherit;
width: var(--mgznkr-sh-button-size);
min-width: var(--mgznkr-sh-button-size);
height: var(--mgznkr-sh-button-size);
line-height: 1;
overflow: hidden;
border-radius: 50%;
border: 0.2em solid var(--mgznkr-sh-color);
outline: none;
background-color: transparent;
padding: 0;
margin: 0 0 0.1em;
opacity: 0.8;
display: none;
box-sizing: border-box;
}

.mgznkr-stickyhero .mgznkr-stickyhero__media + .mgznkr-stickyhero__content .container button.mgznkr-stickyhero-video-play {
margin-right: calc( var(--mgznkr-sh-con-padding) / 2 );
margin-left: 0;
}

@media (min-width: 801px) {

.mgznkr-stickyhero .mgznkr-stickyhero__media.text-right + .mgznkr-stickyhero__content .container button.mgznkr-stickyhero-video-play {
margin-right: 0;
margin-left: calc( var(--mgznkr-sh-con-padding) / 2 );
}

}

button.mgznkr-stickyhero-video-play span {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
width: 100%;
}

button.mgznkr-stickyhero-video-play:hover span {
opacity: 1;
background-color: rgba(255,255,255,0.3);
}

button.mgznkr-stickyhero-video-play:focus {
	background-color: transparent;
}

button.mgznkr-stickyhero-video-play span:nth-of-type(1) svg {
fill: var(--mgznkr-sh-color);
width: 65%;
margin-left: 12%;
height: auto;
}

button.mgznkr-stickyhero-video-play.active span:nth-of-type(1),
button.mgznkr-stickyhero-video-play span:nth-of-type(2) {
display: none;
}

button.mgznkr-stickyhero-video-play:not(.active) span:nth-of-type(1),
button.mgznkr-stickyhero-video-play.active span:nth-of-type(2) {
display: flex;
}

button.mgznkr-stickyhero-video-play span:nth-of-type(2) svg {
fill: var(--mgznkr-sh-color);
width: 60%;
height: auto;
}



@media print {
.mgznkr-stickyhero {
display: none;
}
}


/* .plugin hotspot -------------------------------------- */
/* ---------------------------------------------------------------------------------  */

.m2g .tooltipster-shadow .tooltipster-content {
font-family: unset;
font-size: 1.7rem;
line-height: 1.1;
}


/* TODO Check if needed */

/* .plugin login simple -------------------------------------- */
/* ---------------------------------------------------------------------------------  */

.mgznkr-login-group {
	display: flex; 
	flex-flow: row; 
	align-items: center; 
	margin: 0 0 1.5rem; 
}
.mgznkr-login-group label {
	font-weight: inherit;
	font-size: inherit; 
	width: 14rem; 
	max-width: 50%;
}
.mgznkr-login-group input[type="text"],
.mgznkr-login-group input[type="password"] {
	border-radius: 0; 
	border: 1px solid rgba(0,0,0,0.5);
	width: 16rem;
	max-width: 100%;
	padding: 0.7rem 1rem;
	background: rgba(255,255,255,0.8);
}
.mgznkr-login-group button.mgznkr-login-simple-in {
	width: 16rem;
	padding: 1rem 1rem;
}
.mgznkr-login-group button.mgznkr-login-simple-in {
	width: 16rem;
	padding: 1rem 1rem;
}
.mgznkr-login-simple-error {
	border: 3px solid #999; 
	border: 3px solid var(--accent-color); 
	padding: 2rem 2rem 0;
}
.mgznkr-login-simple-error > *:first-child {
	margin-top: 0;
}


/* .plugin wp-polls -------------------------------------- */
/* ---------------------------------------------------------------------------------  */


.wp-polls {
	margin-bottom: 4rem;
}

.mgznkr-box .wp-polls h3,
.mgznkr-box .wp-polls-ul + p {
	text-align: center;
	margin-top: 0;
}

.wp-polls-ans {
	margin: 0 auto;
}

.wp-polls-form {
	margin-top: 0;
}

.wp-polls label,
.wp-polls input[type="checkbox"] + label {
	display: inline;
	font-weight: inherit;
	font-size: inherit;
}

.wp-polls input[type=button] {
	white-space: normal;
}

ul.wp-polls-ul,
ul.wp-polls-ul li {
	margin-left: 0;
	padding-left: 0;
}

.entry-content ul.wp-polls-ul li::before {
	display: none;
}

.mgznkr-box ul.wp-polls-ul.wp-polls-bars li {
	margin: .5rem 2.6rem 1.5rem 2.6rem;
}

.entry-content .wp-polls .pollbar {
    display: block;
	margin: 0;
    font-size: unset;
    height: 1.5rem;
    line-height: 1;
    background: #999;
    background: var(--buttons-background-color);
  	border: none;
}

.wp-polls .pollback {
	background: #e6e6e6;
	background: var(--light-background-color);
}

.mgznkr-box .wp-polls .pollback {
	background: #fff;
}


/* .plugin mgznkr-img-slider -------------------------------------- */
/* ---------------------------------------------------------------  */

:root body .mgznkr-img-slider {
	--slider-dot-color: #fff;
	--slider-dot-active: var(--accent-color);
	--slider-dot-border-color: #fff;
	--slider-dot-active-border-color: var(--accent-color);
	--slider-dot-size: 12px;
	--slider-dot-borderwidth: 3px;
}

body .mgznkr-img-slider .slick-slide p {
	font-size: 1.7rem;
	}

	.mgznkr-img-slider.slick-slider .slick-arrow {
		color: rgba(0, 0, 0, 0)!important;
	}


/* mgznkr-content-slider ---- */
.mgznkr-content-slider.mgznkr-img-slider.slick-slider .slick-arrow {
	background-image: url(/demo-unterwegs/wp-content/plugins/mgznkr-img-slider/img/img-slider-arrow-hover.svg);
	opacity: 0.4;
  }
  .mgznkr-content-slider.mgznkr-img-slider.slick-slider .slick-arrow:hover {
	opacity: 1;
  }
  
  
  .mgznkr-content-slider.mgznkr-img-slider.slick-slider  {
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
	background: #eee;
  }


  
  .mgznkr-content-slider.mgznkr-img-slider.slick-slider .slick-dots li button::before {
	background: #ccc;
  }


  .mgznkr-content-slider.mgznkr-img-slider.alignfull .slick-slide:not(.alignleft):not(.alignright) > * {
	margin: 0;
}




  .mgznkr-content-slider.mgznkr-img-slider.alignfull {
box-shadow: none;
margin-top: 0;
margin-bottom: 0;
  }

 .mgznkr-content-slider.mgznkr-img-slider.slick-slider.alignfull  .slick-slide  {
  padding-left: 0!important;
  padding-right: 0!important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  }

.mgznkr-content-slider.mgznkr-img-slider.alignfull .preview-link .m2g-media-wrapper img:hover {
	transform: none;
}

.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview {
	position: relative;
}

.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview .preview-header {
	position: absolute;
	left: 2rem;
	top: calc(100vh - var(--mgznkr-header-height-full) - 32rem);
	top: calc(100svh - var(--mgznkr-header-height-full) - 32rem);
	pointer-events: none;
	background: rgba(255,255,255, 0.85);
	width: fit-content;
	max-width: calc(100% - 4rem);
	padding: 2rem;
}

@media (max-width: 699px) {
.mgznkr-content-slider.mgznkr-img-slider.alignfull .slick-arrow {
top: 33%;
}
.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview .preview-header {
	background: rgba(255,255,255, 0.7);
}
}

.mgznkr-content-slider.mgznkr-img-slider.alignfull .teaser-text-right article.preview .preview-header {
	right: 2rem;
}

@media (min-width: 700px) {
.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview .preview-header {
	top: calc(100vh - var(--mgznkr-header-height-full) - 32rem);
	top: calc(100svh - var(--mgznkr-header-height-full) - 32rem);
	left: 4rem;
	max-width: 50%;
}

.single .entry-content .intro-text ~ .mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview .preview-header {
	top: calc(100vh - var(--mgznkr-header-height-small) - 32rem);
	top: calc(100svh - var(--mgznkr-header-height-small) - 32rem);
}

.mgznkr-content-slider.mgznkr-img-slider.alignfull .teaser-text-right article.preview .preview-header {
	right: 4rem;
}
}

@media (min-width: 1000px) {
.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview .preview-header {
	left: 5rem;
	max-width: 30%;
}
.mgznkr-content-slider.mgznkr-img-slider.alignfull .teaser-text-right article.preview .preview-header {
	right: 5rem;
}
}

@media (min-width: 1500px) {
.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview .preview-header {
	left: calc((var(--viewportWidth, 100vw) - var(--m2g-startpage-extra-width) ) / 2);
}
.mgznkr-content-slider.mgznkr-img-slider.alignfull .teaser-text-right article.preview .preview-header {
	right: calc((var(--viewportWidth, 100vw) - var(--m2g-startpage-extra-width) ) / 2);
}
}

.mgznkr-content-slider.mgznkr-img-slider.alignfull .teaser-text-right article.preview .preview-header {
	left: unset;
}



.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview .faux-image::after {
	padding-top: calc(100vh - var(--mgznkr-header-height-full));
	padding-top: calc(100svh - var(--mgznkr-header-height-full));
}

.single .entry-content .intro-text ~ .mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview .faux-image::after {
	padding-top: calc(100vh - var(--mgznkr-header-height-small));
	padding-top: calc(100svh - var(--mgznkr-header-height-small));
}

.mgznkr-content-slider.mgznkr-img-slider.alignfull .slick-slide p {
	margin-left: inherit;
}
@media (max-width: 499px) {
.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview .preview-header {
line-height: 1.1;
}
.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview .pre-header {
  margin-bottom: 1.0rem;
}
.mgznkr-content-slider.mgznkr-img-slider.alignfull article.preview h2.heading-size-3 {
  line-height: 1.1;
}
}
  





/* global styles */

:root :where(.is-layout-flow) > * {
	margin-block-start: initial;
  }

:root {
/*
	--wp--preset--font-size--small: 16px;
  --wp--preset--font-size--medium: 20px;
  --wp--preset--font-size--large: 24px;
  --wp--preset--font-size--x-large: 42px;
  --wp--preset--font-size--normal: 19px;
  --wp--preset--font-size--larger: 32px;
  */
  --wp--preset--spacing--20: 0.44rem;
  --wp--preset--spacing--30: 0.67rem;
  --wp--preset--spacing--40: 1rem;
  --wp--preset--spacing--50: 1.5rem;
  --wp--preset--spacing--60: 2.25rem;
  --wp--preset--spacing--70: 3.38rem;
  --wp--preset--spacing--80: 5.06rem;
}

.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	width: unset;
}

.wp-block-group:has(.wp-block-image.alignright):after,
.wp-block-group:has(.wp-block-image.alignleft):after{
  content: "";
  display: block;
  clear: both;
}


/* für eigene Icons im Wordpress Zoom */

figure.wp-lightbox-container .lightbox-trigger {
  display: none;
}

figure.wp-lightbox-container:not(:has(figcaption)):not(.hide-zoom-icon):before,
figure.wp-lightbox-container:not(.hide-zoom-icon) figcaption:before {
  content: '\f00e';
  display: inline-block;
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: rgba(255,255,255,0.9) none repeat scroll 0 0;
  border-radius: 100%;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 1.6rem;
  height: 3rem;
  width: 3rem;
  line-height: 3rem;
  opacity: 0.75;
  text-align: center;
  pointer-events: none;
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
}
figure.wp-lightbox-container figcaption {
   position: relative;
}
figure.wp-lightbox-container figcaption:before {
   bottom: unset;
   top: -5rem;
}

/* für richtige Position auch mit align-outside */

.wp-lightbox-overlay .lightbox-image-container .align-outside .alignleft:not(.is-resized), 
.wp-lightbox-overlay .lightbox-image-container .align-outside .alignright:not(.is-resized), 
.wp-lightbox-overlay .lightbox-image-container .alignright.align-outside, 
.wp-lightbox-overlay .lightbox-image-container .alignleft.align-outside,
.wp-lightbox-overlay .lightbox-image-container .alignwide {
  max-width: unset;
}
.wp-lightbox-overlay .lightbox-image-container .align-outside.alignright, 
.wp-lightbox-overlay .lightbox-image-container .align-outside.alignleft,
.wp-lightbox-overlay .lightbox-image-container .alignwide {
    margin-right:unset;
    margin-left:unset;
  }

/* close-button auf Höhe des Hamburgers */

.wp-lightbox-overlay .close-button {
  height: 50px;
}

/* transparenz wegen Zusammenhang zur Site */

.wp-lightbox-overlay .scrim {
  filter: opacity(0.92);
}

body:has(.wp-lightbox-overlay.zoom.active) figure.wp-lightbox-container:not(:has(figcaption)):not(.hide-zoom-icon):before,
body:has(.wp-lightbox-overlay.zoom.active) figure.wp-lightbox-container:not(.hide-zoom-icon) figcaption:before  {
  display: none;
}



/* ------- embed privacy plugin -------------------------------------------------------- */

/* cover-video-header */
body:has(.cover-header .embed-privacy-container) #site-header {
  z-index: 2;
}
.cover-header:has(.embed-privacy-container) {
  z-index: 1;
  
.entry-header-inner {
    pointer-events: none;
  }

  .m2g-media-wrapper{
    z-index: 0;
  }
  input{
    cursor: pointer;
  }

}

/* teaser-video */
.grid-item:has(article.m2g-video-teaser .embed-privacy-container) {
	position: relative;

  & > a {
  width: 100%;
  display: block;
  height: 100%;
  position: absolute;
  z-index: 1;
	}

	.embed-privacy-overlay {
		z-index: 2;
		display: flex;
		flex-flow: column;
	}
	.embed-privacy-inner {
		display: flex;
    	flex-grow: 1;
    	align-items: center;
    	justify-content: center;
		flex-grow: 1;
	}

}

/* teaser-video */
.grid-item .m2g-video-teaser .aspect-ratio-16x10 .m2g-video-container .embed-privacy-container {
	aspect-ratio: 16/10!important;
}



/* ----------- mark ------*/
body{
   --mark-padding-horizontal: 0.35em;
   --mark-padding-vertical: 0.05em;
}

mark {
    padding: var(--mark-padding-vertical);
    padding-inline: var(--mark-padding-horizontal);
  
     box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

