/*!
Theme Name: schloss-aneignen
Theme URI: http://underscores.me/
Author: yvonne rothe
Author URI: http://y-rothe.de
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: schloss-aneignen
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

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

schloss-aneignen is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* Breakpoints
@media only screen and (min-width: 600px) {...}
@media only screen and (min-width: 768px) {...}
@media only screen and (min-width: 992px) {...}
@media only screen and (min-width: 1200px) {...}
@media only screen and (min-width: 1440px) {...}*/

/* Import
--------------------------------------------------------------*/
@import url("css/normalize.min.css");
@import url("css/navigation.css");
@import url("css/form.css");
@import url("css/typography.css");
@import url("css/wp-blocks.css");
/*@import url("klaro/klaro.css");*/
/* Variables
---------------------------------------------*/
:root{
  --light: ghostwhite;
  --dark: #0c0c0c;
  --op-dark: rgba(12,12,12,.3);
  --op-light: rgba(248, 248, 255, .3);
	--op-super-light: rgba(248, 248, 255, .12);
  --gd-light: linear-gradient(rgba(248, 248, 255,.4), rgba(248, 248, 255,.6));
	--gd-dark: linear-gradient(rgba(12,12,12,.3), rgba(12,12,12,.5));
  --header-height: 60px;
  --txt-font: "Aspekta Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans,
    Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --hdl-font: "Aspekta Variable", sans-serif;
  --txt-size: calc(16px + (19 - 16) * ((100vw - 320px) / (1600 - 320)));
  --hdl-factor: 1.25;
  --h5: var(--txt-size);
  --h4: calc(var(--txt-size) * var(--hdl-factor));
  --h3: calc(var(--h4) * var(--hdl-factor));
  --h2: calc(var(--h3) * var(--hdl-factor));
  --h1: calc(var(--h2) * var(--hdl-factor));
  --hdl-weight: 700;
  --small: 15px;
  --transition: 0.3s;
  --top: 120px;
  --padding: .2em .4em;
  --border-radius: 3px;
  --border-color: var(--txt-color);
  --large-padding: 120px;
  --medium-padding: calc(var(--large-padding) / 2);
	--small-padding: 16px;
	--gray: #555;
	--icon-margin: .6em;
}

@media screen and (max-width: 600px){
	:root{
		--hdl-factor: 1.2;
	}
}

/* Box sizing
--------------------------------------------- */
/*
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
} in navigation css*/

*,
*::before,
*::after {
  box-sizing: inherit;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

body:not(.home){
	  background: var(--dark);
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*scroller *********************************/

.scroller {
  scrollbar-width: thin;
  scrollbar-color: var(--light) var(--dark);
	scroll-padding-top: 60px;
	scroll-behavior: smooth;
}
.scroller::-webkit-scrollbar {
  width: 7px;
}
.scroller::-webkit-scrollbar-track {
  background: var(--dark);
}
.scroller::-webkit-scrollbar-thumb {
  background: var(--light);
}
.scroller::-webkit-scrollbar-thumb:hover {
  background: darken;
}

.scroller {
	height: calc(100vh - var(--header-height));
  	overflow: scroll;
	margin-top: var(--header-height);
	scroll-margin-top: var(--header-height);
	overflow-x: hidden;
}

.scroller:not(.home .scroller){
	display: flex;
	flex-direction: column;
}

/* hero header *******************/

.paralaxed img.wp-post-image{
  z-index: -2;
  height: 100vh;
  position: fixed;
  top: 0;
  object-fit: cover;
}

.paralax-image {
	background: transparent;
	height: calc(100vh - var(--header-height));
	/*position: absolute;
	bottom: 0;*/
	color: var(--dark);
	font-weight: 900;
	text-transform: uppercase;
	background-image: linear-gradient(to bottom, transparent 25%, rgba(255,255,255,.8));
	padding: var(--small-padding);
	width: 100%;
	display: flex;
	justify-content: flex-end;
	flex-direction: column;
	margin-bottom: -38px; /************************korrigieren!!!!!!!!!!!!!!!!!!!!!!!*/
}

@media screen and (orientation:portrait){
	.paralax-image {
		height: auto;
		aspect-ratio: 16 / 9;}
}
	

.paralax-image h1 {
	font-size: 15.5vw;
	font-weight: 900;
	line-height: .8;
}


/*home content = #aufruf*************/
.home .entry-content {
	font-family: var(--hdl-font);
	font-weight:800;
	font-weight: var(--hdl-weight);
	line-height: 1.5;
	letter-spacing: .1em;
	font-size: var(--h4);
	/*color: var(--light);
	background: var(--dark);*/
	padding-top: var(--large-padding);
}






/*grid main-sidebar *******************************************/
.row::after {
  content: "";
  clear: both;
  display: table;
	background: inherit;
}

.row{
	flex: 1;
}

.col-main {
  width: 75%;
	/*float: left;*/
}

.col-aside {
  width: 25%;
	position: sticky;
	top: 0;
	/*float: right;*/
}

[class*="col-"] {
  float: left;
  background: var(--dark);
}

/*aside#secondary ***************************/
aside#secondary{
  min-width: 25%;
  padding: var(--medium-padding) var(--small-padding) var(--medium-padding);
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--header-height));
  justify-content: space-between;
  background: var(--dark);
  color: var(--light);	
}

.home aside#secondary{
	height: calc(100vh - var(--header-height));
}

.single aside#secondary, .page aside#secondary, .search-no-results aside#secondary, .error404 aside#secondary{
border-right: 1px solid var(--gray);
}

aside#secondary ul {
	list-style: none;
	padding-left: 0;
}

aside#secondary ul{
	margin: 0;
}
#block-58 ul li a {
font-weight: 400;
  font-size: var(--txt-font);
}

aside#secondary a{
	text-decoration: none;
	font-family: var(--hdl-font);
	font-weight: 700;
	font-size: 80%;
	letter-spacing: 2px;
	font-size: var(--h4);
}

aside#secondary img{
	padding-right: 12px;
  	height: 1em;
}

/*main#primary ******************************/
main#primary {
	padding-top: var(--large-padding);
	padding-bottom: var(--large-padding);
	/*border-left: 2px solid var(--gray);*/
	color: var(--light);
	background: var(--dark);
	/*min-height: calc(100vh - var(--header-height) * 2);*/
}
.search main#primary {
	padding: 0;
}

.search-no-results main#primary, .error404 main#primary {
	padding: var(--large-padding) var(--small-padding) 0 var(--small-padding);
}

.home main#primary{
	padding-top: 0;
}

.blog main#primary, .category main#primary{
	padding-top: 0;
	padding-bottom: 0;
}

/*grid **************************************/

.grid{
  width: 100%;
  /*margin: 0 40px 100px 0;*/
  counter-reset: grid-item;
}
.grid-item{
  width: calc(100% / 3);
  height: auto;
  float: left;
}

.grid-item {
	/*display: block;*/
	background: var(--light);
	color: var(--dark);
	overflow: hidden;
	/*border: 1px solid var(--gray);*/
}

.grid-item:nth-child(even) {
	/*display: block;*/
	background: var(--dark);
	color: var(--light);
}

.grid-item article {
	position: relative;
	height: calc(100vh / 2.5);
	height: calc(50vh - var(--header-height) / 2);
}

@media screen and (orientation: landscape){
	.grid-item article {
	height: calc(50vh - var(--header-height) / 2);
	}
}

.clickable a::after{
	content: '';
	position: absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:2;
	/*background: pink;*/
}

.grid-item article img.wp-post-image {
	position: absolute;
	top:0;
	/*height: 100%;
	width: auto;*/
	object-fit: cover;
	-webkit-mask-image: linear-gradient(black 50%, transparent);
	mask-image: linear-gradient (black 50%, transparent);
	/*opacity: .8;*/
	filter: grayscale(40%);
}

.grid-item .entry {
  position: relative;
  z-index: 2;
  padding: var(--small-padding);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.grid-item .wp-post-image ~ .entry{
	background-image: var(--gd-light);
}

.grid-item:nth-child(even) .wp-post-image ~ .entry{
	background-image: var(--gd-dark);
}

.grid-item article {
	width: auto;
}

.grid-item h2 {
	font-size: var(--h3);
	margin-top: .4em;
}

.grid-item a{
	text-decoration: none;
}

.grid-item p {
	font-size: 80%;
	font-weight: 600;
  	letter-spacing: .5px;
}

.grid-item article {
	height: 17lh;
	min-height: unset;
}

.grid-item article .entry-header{
	height: 50%;
}

.grid-item article .grid-content {
	height: 50%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.read-more {
  font-size: var(--h2);
	float: right;
  transform: translate(0,-.5em);
}

.horizontal .read-more{
  position: absolute;
  bottom: var(--small-padding);
  right: var(--small-padding);
  clip-path: circle();
  border-radius: 50%;
  font-size: var(--h2);
}

.page-header.horizontal {
	padding-bottom: var(--large-padding)
}

/* Category/Archive ************************/
#blog-index{
	color: var(--light);
}
.archive-description{
	font-weight: 600;
	font-size: var(--h5);
	padding: var(--medium-padding) 0;
}

.horizontal {
	width: 100%;
	min-height: 240px;
	position: relative;
	padding: 80px var(--small-padding) 80px;
}

.horizontal.dark{
	border: 1px solid var(--gray);
}

.horizontal.page-header{
	border: 1px solid var(--gray);
	border-top: none;
	/*border-left: none;*/
}

.horizontal-content {
	max-width: 100ch;
	margin: 0 auto;
}

.horizontal a {
	text-decoration: none;
	display: inline-block;
}

.continue {
	font-weight: 200;
}

.horizontal-content h1, .horizontal-content h2{
	padding-bottom: 1em;
}

/* Posts and pages
--------------------------------------------- */
.single article, .page article{
	width: 50vw;
	max-width: 80ch;
	padding: 0 var(--small-padding);
	margin: 0 auto;
}

.grid-item article {
	padding: 0;
}

.home article {
	margin: 0 auto;
	width: 100%;
	max-width: 100%;
}

.home article .wp-block-group{
	max-width: 1200px;
	margin: 0 auto;
}

/*box**/
.box {
  background: var(--op-super-light);
  color: var(--light);
  padding: 0 var(--small-padding) var(--medium-padding);
  border-radius: 10px;
  font-size: 80%;
}

.box ul{
	list-style: none;
	padding-left: .4em;
}

.box li {
	margin-bottom: .6em;
	line-height: 1.1;
}

.box li::before{
	content: '→';
	margin-right: .4em;
}

/*cat-links, tag-links**/
.cat-links, .tag-links, .datum, .entry-meta {
	font-family: var(--hdl-font);
	font-weight: 300;
	text-transform: uppercase;
	font-size: var(--small);
	letter-spacing: .3px;
}

.single .cat-links, .single .tag-links, .single .datum{
	display: block;
  margin: 1.2em 0;
}

.cat-links a, .tag-links a{
	text-decoration: none;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.comments-area {
	margin-top: 4em;
	background: var(--op-super-light);
	color: var(--light);
	padding: var(--small-padding);
	font-size: 80%;
	/*border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;*/
	margin-bottom: -120px;
}

.comments-area div {
	width: 100%;
	max-width: 80ch;
}

.comments-area h3,
.comments-area h2{
	font-size: var(--h4);
	font-weight: 300;
}

.comments-area p{
	font-weight: 200;
}

.comments-area input[type="submit"]{
	font-weight: 300;
	background: transparent;
	text-transform: none;
	border: 2px solid var(--gray);
}

/*footnotes *******/
.footnotes{
	font-size: 80%;
}

/* FOOTER
---------------------------------------------*/
.site-footer {
	background: var(--dark);
  color: var(--light);
	min-height: 60px;
}

.footer-flex-container img {
  padding-right: 12px;
  height: 1em;
}

.footer-flex-container {
    display: flex;
    justify-content: space-between;
	flex-wrap: wrap;
	flex: 1;
	padding: var(--small-padding);
	font-size: 100%;
	padding-top: var(--medium-padding)
}

.footer-flex-container article {
	display: flex;
	flex: 20%;
	padding: var(--small-padding);
}

.footer-flex-container ul {
	list-style: none;
	margin-left: 0;
	line-height: 2.4;	
	margin-right: 2em;
}

/*
.footer-flex-container {
	min-height: 33vh;
}*/

.footer-flex-container h2,
.footer-flex-container h3,
.footer-flex-container h4 {
	font-size: var(--h5);
	font-weight: 700;
	letter-spacing: 1px;
}

.footer-flex-container a, 
.footer-flex-container p,
.footer-flex-container li{
	text-decoration: none;
	color: var(--txt-color);
	font-weight: 500;
	letter-spacing: 2px;
}

.footer-flex-container a:hover {
	text-decoration: underline;
}

@media screen and (min-width: 1201px){
	.footer-flex-container{
		display: none;
	}
}

@media screen and (min-width: 601px){
	.footer-flex-container{
		align-content: center;
	}
}

@media screen and (max-width: 1200px){
	.footer-flex-container{
		border-top: 1px solid var(--gray);
	}
}

.site-info {
  border-top: 1px solid var(--gray);
  /*text-align: right;*/
	font-size: 80%;
	font-family: var(--hdl-font);
	padding: var(--small-padding);
	background: var(--dark);
}


/* Comments
--------------------------------------------- */
.reply::before {
	content: '➔ ';
	transform: rotate(180deg);
}

.reply a{
	font-family: var(--hdl-font);
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
}

.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

.required-field-message, #cancel-comment-reply-link {
	display: block;
	font-size: var(--small);
}

.logged-in-as a{
	margin-left: 2em;
}

/* Widgets
--------------------------------------------- */
/*.widget {
  margin: 0 0 1.5em;
}*/

.widget select {
  max-width: 100%;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Images and Media
--------------------------------------------- */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 3em 0 4em;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

.wp-block-image figcaption {
	color: #aaa;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}


/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/
/*lyte - YouTube ******/
.statement-wrapper {
	margin-left: -24px!important;
	width: 100vw!important;
}
.statement-wrapper > div {
  display: flex;
  justify-content: flex-start;
	width: 100vw;

	
  display: flex;

  overflow-x: auto;
  scroll-snap-type: x mandatory;

  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;

  /*
  scroll-snap-points-x: repeat(300px);
  scroll-snap-type: mandatory;
  */
}

.lyte-wrapper {
  /*width: 350px!important;*/
  /*width: 33vh !important; /* -> height: 80vh - noch unterscheiden zwischen portrait und landscape*/
  /*max-width: 70% !important;*/
	width: 290px!important;
}

.wp-block-embed__wrapper{
	width: 390px!important;
  position: relative;
}

.lyte {
  padding-bottom: 178% !important; /* für shorts */
}

.lyte .play {
  /*background-image: url('https://schlossaneignung.de/wp-content/uploads/youtube.svg')!important;*/
  color: var(--txt-color);
	top: calc(55% - 31px);
}

/*.play::after {
  content: "";
  position: absolute;
  right: 25%;
  top: 15%;
}*/

.lyte.lP {
  /*border-radius: 1em !important;*/
}

.lL {
  font-size: 14px;
}

.tC{
	display: none;
}

.statement-wrapper figure.wp-block-embed{
	margin-bottom: 0;
}

.statement-wrapper .wp-block-embed{
	margin-right: -5%;
}



body
  .is-layout-constrained
  > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  margin-left: 0 !important;
}


/***********prov*******************/
.page-id-9 main#primary{
	padding-bottom: var(--padding);
}

.page-id-9 .entry-title {
	display: none;
}

/*colors**********************************/

.light {
	background: var(--light);
	color: var(--dark);
}

.dark {
	background: var(--dark);
	color: var(--light);
}

.light-dark{
	background: var(--light);
	color: var(--dark);
}

.light-dark:nth-child(2n){
	background: var(--dark);
	color: var(--light);
	box-shadow: inset 0 0 1px var(--gray);
}

/*SHARE & ICONS*******************************/
.site-main .post-navigation {
  margin: 2em 0 0!important;
}
.share {
	margin: 4em 0 0;
}
.share button {
  font-weight: 300;
  text-transform: uppercase;
  text-decoration: none;
  font-size: var(--small);
  letter-spacing: .3px;
	border: none;
	padding: .6em 0;
	margin: 0;
	display: block;
	text-align: left;
}

a.mail {
	text-decoration: none;
}

.mail::before,
.link::before,
.navigator::before,
.print::before{
	margin-right: var(--icon-margin);	
	position: relative;
  	top: 2px;
}

.mail::before {
	content: url('https://schlossaneignung.de/wp-content/uploads/envelope.svg');
}

.link::before {
	content: url('https://schlossaneignung.de/wp-content/uploads/link-45deg1.svg');
	filter: invert(100%);
}

.navigator::before {
	content: url('https://schlossaneignung.de/wp-content/uploads/share.svg');
	/*content: url('https://schlossaneignung.de/wp-content/uploads/reply.svg');*/
}
.print::before {
	content: url('https://schlossaneignung.de/wp-content/uploads/download.svg')
}

.cat-links a::before {
	content: url('https://schlossaneignung.de/wp-content/uploads/grid-3x3-gap.svg');
	margin-right: var(--icon-margin);	
	position: relative;
  	top: 2px;
}

.nav-next a::after {
  content: '→';
	margin-left: var(--icon-margin);	
}

.nav-previous a::before {
  content: '←';
	margin-right: var(--icon-margin);
}

.download a::before {
	width: 1em;
	height: 1em;
	content: url('https://schlossaneignung.de/wp-content/uploads/download.svg');
	margin-right: .6em;
	filter: invert(100%);
	transform: translateY(.1em);
  display: inline-block;
}

.download a {
	background: var(--light);
	color: var(--dark);
	border-radius: 1em;
	margin: .4em 0;
	display: inline-block;
	font-weight: 500;
	padding: 0 12px;
	font-size: 14px;
}

/*misc**************************/
.comment-form-url {
	display: none;
}

.edit-link {
	color: lime!important;
}

.grid .comments-link {
	display: none;
}

.error-404 {
	width: 100%;
	max-width: 80ch;
	margin: 0 auto;
}

/* Spalten-Abstand entfernen */
:where(.is-layout-flex) {
  gap: 0;
}

:where(.wp-block-columns.is-layout-flex) {
  gap: 0;
}

:where(.wp-block-columns.is-layout-flex) {
  gap: 0;
}

.fullwidth {
	width: 100vw;
}

.cat-links > html {
	display: none;
}

.category-verdraengte-spuren .wp-block-gallery{
	margin-top: 0;
	margin-bottom: 0;
}

.category-verdraengte-spuren .wp-block-gallery.has-nested-images figure.wp-block-image figcaption{
	text-align: left;
	font-size: 80%;
	display: none;
	
}

@media screen and (max-width:450px){
	.wp-block-gallery.has-nested-images figure.wp-block-image figcaption{
		display: none;
	}	
}

.category-gestaltungsideen .horizontal {
	min-height: 50vh;
}

/***@media****************************/
/* plus navigation.css */

@media screen and (max-width: 992px) {
	.footer-flex-container article {
		flex: 50%;
		/*margin-left: 20%;*/
	}
	.footer-flex-container article *{
		line-height: 2.5;
	}
	
	.footer-flex-container article {
		flex: 100%;
	}
}

@media screen and (max-width: 992px) and (min-width: 601px) {
	.grid-item{
		width: 50%;
	}
	
	.grid-item.light-dark:nth-child(4n+1),
	.grid-item.light-dark:nth-child(4n+4){
	background: var(--dark);
	color: var(--light);
	box-shadow: inset 0 0 1px var(--gray);
}

	.grid-item.light-dark:nth-child(4n+2),
	.grid-item.light-dark:nth-child(4n+3){
	background: var(--light);
	color: var(--dark);
	box-shadow: inset 0 0 1px var(--gray);

}	

	.grid-item:nth-child(4n+1) .wp-post-image ~ .entry,
	.grid-item:nth-child(4n+4) .wp-post-image ~ .entry{
	background-image: var(--gd-dark);
	border: 1px solid lime;
}
	
.grid-item:nth-child(4n+2) .wp-post-image ~ .entry,
	.grid-item:nth-child(4n+3) .wp-post-image ~ .entry{
	background-image: var(--gd-light);
		border: 1px solid pink;	
}	
}

@media screen and (max-width:1440px) {
	.site-header, aside#secondary a {font-size:98%}
}


@media screen and (max-width: 1200px) {
	.datum{display: block}

 	.site-branding {
    padding: 18px 0;
  }
	
	aside#secondary {display: none;}
	.single article, .page article {width: 100%}
	/*.grid-item {width: 100%}*/
	.col-main, .col-aside {width: 100%}

	.menu-toggle{
		right: 0;
	}
	.main-navigation.toggled{
		margin-top: -2px;
	}
	.menu-menu-1-container{
		padding: 1.4em 0;
	}
	.main-navigation.toggled ul.side-legal a {
  padding: 1.4em 0 1.4em 1.6em;
}
}


@media screen and (max-width: 992px){
	.wp-block-buttons{
		flex-wrap: wrap;
		flex-direction: column;
	}
	.wp-block-button {
		width: 100%!important;
	}
	.home .entry-content {
	letter-spacing: .05em;
	}
}

@media screen and (max-width: 768px) {
  .paralax-image {
    padding: 1.4em 8px;
  }
}

@media screen and (max-width: 600px){
	.home .entry-content {
	letter-spacing: initial;
	}
	.grid-item {width: 100%}
	.grid-item .entry-content p {font-size: 100%}
	.footer-flex-container{
		flex-direction: column;
	}
}

@media screen and (orientation: portrait){
	.paralax-image {background-image: linear-gradient(to bottom, transparent 50%, rgba(255,255,255,.8));}
	/*.horizontal {height: 25vh;}*/
}

#menu-item-48 {
	display: none!important;
}

#block-59{
	width: 25vw;
	text-align: center;
}

.entry-footer .cat-links {
	display: none;
}

/**************klaro & videos*****************/

:root {
	--swiper-navigation-top-offset: 94%;
	--swiper-theme-color: ghostwhite!important;
	--swiper-navigation-size: 24px!important;
	--swiper-pagination-bullet-inactive-color: ghostwhite!important;
	--swiper-pagination-bullet-inactive-opacity: 0.5!important;
	--swiper-pagination-bullet-width: 12px!important;
	--swiper-pagination-bullet-size: 12px!important;
}

.swiper-button-next, .swiper-button-prev {
	width: 24px;
  	height: 24px;
  	filter: grayscale() brightness(250);
}

#klaro {
	display: none;
}

.swiper-container{
	position: relative;
	height: auto!important;
}

.swiper {
	width: 100%;
	height: auto!important;
}

.swiper-slide {
	cursor: grab;
	padding-bottom: 80px;
}

.swiper-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* poster*/

.videoWrapper {
	position: relative;
	background-color: #000;
	aspect-ratio: 9/16;
	/*padding-top: 178%;*/
	display: flex;
	border-radius: none;
}

.responsive-iframe {
	width: 100%;
	aspect-ratio: 9/16;
	height: 100%;
}

.videoPoster {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	cursor: pointer;
	border: 0;
	outline: none;
	background-position: 50% 50%;
	background-size: 100% 100%;
	background-size: cover;
	text-indent: -999em;
	overflow: hidden;
}

.videoPoster,
.responsive-iframe {
	box-shadow: 2px 8px 24px rgba(255, 255, 255, 0.07);
}
	 
.videoPoster::before {
	content: "";
	position: absolute;
	top: 44%;
	left: 38.5%;
	width: 70px;
	height: 70px;
	background-image: url(https://schlossaneignung.de/wp-content/uploads/youtube.svg);
	background-repeat: no-repeat;
	background-size: contain;
	-webkit-transition: var(--transition);
	transition: var(--transition);
	opacity: .3;
}

.videoPoster:hover::before,
.videoPoster:focus:before {
	opacity: 1;
}
.videoPoster:hover::after,
.videoPoster:focus:after {
	opacity: 1;
}
    
/*print-styles =========================================
 */

@media print {
	:root{
		--hdl-factor: 1.125;
	}
	.col-aside, .post-navigation, .site-footer, .snackbar, .wp-block-footnotes a[aria-label], .edit-link {display: none;}
	#primary-menu, #comments {display: none;}
	.single article, .page article, .col-main {max-width: 100%; width: 100%; padding: 0;}
	.site-header {height: auto;}
	p {font-size: 11pt;}
	.footnotes p, .footnotes a {font-size: 9pt;}
	hr.wp-block-separator {border-top: 1px solid #000;}
	a, li {font-size: inherit!important; text-decoration: none!important;}
	/*.single .entry-content {padding-top: 0px;}*/
	.share {display: none;}
	.site-header {position: static!important; border-bottom: none}
	.quelle {margin-left: 18pt; font-size: 9pt; color: #000; font-style: italic;}
	/*.posted-on {transform: translate(0,0);}*/
	body, .site-header, .scroller {background: transparent;}
	@page {margin: 1.8cm 1.2cm; size: A4;}
	.scroller {height: auto; overflow: visible;}
	main#primary {color: #000; background: #fff;}
	body, html, body:not(.home) {background: transparent; overflow: visible; height: auto;}
	.wp-block-image figcaption {color: #555;}
	.site-title a {display: none;}
	figure.wp-block-image {text-align: center;}
	.wp-block-image img {max-height: 11cm; width: auto; height: auto; object-fit: contain; aspect-ratio: 1/1;}
	.wp-block-image figcaption {text-align: left;}
	h1, h2, h3, h4, h5 {page-break-after: avoid;}
	table, figure {page-break-inside: avoid;}
	a[href*="http"]::after { content: "( "attr(href)" ) ";}
	.footnotes a::after {display: none;}
	.share {display: none!important;}
	.download a {background: transparent; padding: initial; font-size: 11pt}
}





