/*
 Theme Name:   MiWiki 2023
 Theme URI:    https://generatepress.com
 Description:  MiWiki GeneratePress child theme
 Author:       Stefan Kuhn
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/



/* Seiteninhalt & Footer als Spalte mit Umbruch und Rändern */
.one-container .site-content {
	display: block;
}
@media (max-width: 480px) {
	.one-container .site-content,
	.one-container .inside-site-info {
		padding: 1em !important;
	}
	.entry-content:not(:first-child),
	.entry-summary:not(:first-child),
	.page-content:not(:first-child) {
		margin-top: 1.5em;
	}
}
@media (min-width: 480px) {
	.one-container .site-content,
	.one-container .inside-site-info {
		padding: 2em !important;
	}
	.entry-content:not(:first-child),
	.entry-summary:not(:first-child),
	.page-content:not(:first-child) {
		margin-top: 2em;
	}
}
@media (min-width: 840px) {
	.one-container .site-content,
	.one-container .inside-site-info {
		padding: 3em !important;
	}
	.entry-content:not(:first-child),
	.entry-summary:not(:first-child),
	.page-content:not(:first-child) {
		margin-top: 3em;
	}
}

/* Seiteninhalt am Desktop mit oberem/unterem Rand */
@media (min-width: 1080px) {
	.one-container .site.container {
		padding-top: 3em;
	}
	.one-container .site-footer {
		margin-bottom: 3em;
	}
}

.site-footer {
	width: 100%;
}

/* Hintergrundfarbe der Seite */
body {
	color: var(--wp-j4b-theme-color-on-background);
	background-color: var(--wp-j4b-theme-color-background);
	background-image: linear-gradient(var(--wp-j4b-theme-color-darker-1), var(--wp-j4b-theme-color-darker-1));
}

/* Hintergrundfarbe des Content & Footer */
.one-container .site.container .site-content,
.one-container .site-footer .site-info {
	color: var(--wp-j4b-theme-color-on-background);
	background-color: var(--wp-j4b-theme-color-background);
	background-image: linear-gradient(var(--wp-j4b-theme-color-lighter-1), var(--wp-j4b-theme-color-lighter-1));
}

/* Linkfarben */
a {
	color: var(--wp-j4b-theme-color-accent);
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color: var(--wp-j4b-theme-color-on-background);
}

@media (hover: hover) and (pointer: fine) {

	h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
		color: var(--wp-j4b-theme-color-on-background-medium);
	}


	.site-content a {
		transition: color .1s ease-in-out, background-color .1s ease-in-out, text-decoration .1s ease-in-out;
		/*
		text-decoration: underline dotted 1px var(--wp-j4b-theme-color-accent);
		*/
	}
	body:not(.home):not(.archive) .site-content a:not(.wp-block-button__link):hover {
		color: inherit;
		/*
		text-decoration: underline solid 1px var(--wp-j4b-theme-color-accent);
		*/
	}
}

/* Dachzeile der Überschriften formatieren */
.content-area .dachzeile {
	display: block;
	font-size: 0.72em;
	font-weight: bold;
	margin-bottom: 0.36em;
	/*
	color: var(--wp-j4b-theme-color-on-background-medium);
	*/
	color: var(--wp-j4b-theme-color-accent);
}
@media (min-width: 782px) {
	.content-area .dachzeile {
		font-size: 0.5em;
		margin-bottom: 0.25em;
	}
}
.content-area .dachzeile span {
	display: none;
}

/* Abstand zwischen Headline und Vorspann */
article .entry-title {
	margin-bottom: 0.45em;
}
@media (min-width: 782px) {
	article .entry-title {
		margin-bottom: 0.5em;
	}
}

/* Metadaten in Posts und Pages */
.single .entry-header .entry-meta {
	font-size: 0.8em;
}

/* Buttons in Gutenberg-Blöcken einheitlich färben */
.button, .wp-block-button .wp-block-button__link {
	padding: 0.25em 1em;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--wp-j4b-theme-color-on-accent);
	background-color: var(--wp-j4b-theme-color-brand-1);
	transition: color .1s ease-in-out,background-color .1s ease-in-out;
}
@media (hover: hover) and (pointer: fine) {
	.button:hover, .wp-block-button .wp-block-button__link:hover {
		color: var(--wp-j4b-theme-color-on-accent-hover);
		background-color: var(--wp-j4b-theme-color-brand-2);
	}
}


/* Blog-Beiträge: Erst Headline, dann Bild, dann Lauftext */
.single .type-post .inside-article {
	display: flex !important;
	flex-direction: column;
}
.single .type-post .inside-article .featured-image {
	order: 2;
}
.single .type-post .inside-article .entry-header {
	order: 1;
}
.single .type-post .inside-article .entry-content {
	order: 3;
}
.single .type-post .inside-article .entry-meta {
	order: 4;
}

.single.single-post .inside-article .entry-header .entry-content {
	max-width: unset;
	font-weight: 600;
}

/* featured image Abstand unten */
.one-container .inside-article > .featured-image,
.one-container .inside-article > .featured-image.grid-container {
	width: 100%;
	margin-bottom: 3em;
}

/* featured image figcaption with copyright */
.single .featured-image-caption,
.page .featured-image-caption {
	color: var(--wp-j4b-theme-color-on-background-medium);
	font-size: 0.8em;
	line-height: 1.5;
	text-align: center;
}

.single .type-post .inside-article .entry-header {
	width: 616px;
	max-width: 100%;
	margin: 3em auto;
}
.single .type-post .inside-article .featured-image + .entry-header {
	width: 100%;
	max-width: 782px;
	margin: 3em auto;
}
/*
.single .type-post .inside-article .entry-header {
	max-width: 782px;
	margin: 3em auto;
}
*/

.single .type-post .inside-article .entry-meta {
	margin-bottom: 0;
	margin-top: 1.5em;
	color: var(--wp-j4b-theme-color-on-background-medium);
}

/* Lauftext im SPIEGEL-Stil schmaler setzen */
.single .inside-article .entry-content {
	max-width: 616px;
	margin: 0 auto;
}

/* Silbentrennung im Content */
.single .inside-article .entry-content,
.page .inside-article .entry-content {
	hyphens: auto;
}
@media (min-width: 769px) {
	.page .inside-article .entry-content h1 {
		hyphens: manual;
	}
	/*
	.page .inside-article .entry-content h1,
	.page .inside-article .entry-content h2,
	.page .inside-article .entry-content h3,
	.page .inside-article .entry-content h4,
	.page .inside-article .entry-content h5,
	.page .inside-article .entry-content h6 {
		hyphens: manual;
	}
	*/
}

/* Leere Absätze verbergen */
p:empty {
	display: none;
}



/*************************************************************************
 * Copyright-bar mit Footer-Menü & Social-Links
 *************************************************************************/
.site-info {
	font-size: 1em;
}
.site-info a:any-link {
	color: inherit;
}
@media (hover: hover) and (pointer: fine) {
	.site-info a:hover {
		color: var(--wp-j4b-theme-color-accent);
	}
}
.copyright-bar,
.footer-bar {
	font-size: 0.8em;
	color: var(--wp-j4b-theme-color-on-background-medium);
}
.copyright-bar div[class*="menu"][class*="container"],
.copyright-bar ul[class="menu"],
.copyright-bar li[class*="menu-item"],
.site-info ul.wp-block-social-links li {
	display: inline;
	margin: 0;
	padding: 0;
}
.copyright-bar li[class*="menu-item"]:first-of-type a::before {
	content: "© ";
}
.copyright-bar li[class*="menu-item"]:not(:last-of-type)::after {
	content: " • ";
}
.site-info .wp-block-social-links.is-style-logos-only .wp-social-link a {
	padding: 0.25em;
	border-radius: 50%;
	box-shadow: 1px 1px 4px 0px var(--wp-j4b-theme-color-darker-1), 2px 2px 8px 0px var(--wp-j4b-theme-color-darker-1);
}
[data-theme="dark"] .site-info .wp-block-social-links.is-style-logos-only .wp-social-link a {
	box-shadow: 1px 1px 4px 0px var(--wp-j4b-theme-color-lighter-1), 2px 2px 8px 0px var(--wp-j4b-theme-color-lighter-1);
}
.site-info .wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:any-link {
	color: var(--wp-j4b-theme-color-on-background-disabled);
}
@media (hover: hover) and (pointer: fine) {
	.site-info .wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:hover {
		color: var(--wp-j4b-theme-color-accent);
	}
}
.site-info .wp-social-link svg {
	fill: currentColor;
}
@media screen and (max-width: 768px) {
	.site-info .wp-block-social-links.is-style-logos-only .wp-social-link svg {
		width: calc(48px - 0.5em);
		height: calc(48px - 0.5em);
	}
}



/*************************************************************************
 * Wordpress-Posts: Seiten-Navigation (prev/next) in Posts
 *************************************************************************/
.single .type-post .inside-article footer.entry-meta {
	margin: 0;
	font-size: 1em;
}
.single .post-navigation {
	margin: 1.5em auto;
	font-size: 1em;
	font-weight: bold;
	line-height: 1.1;
	max-width: 616px;
}
.single .post-navigation div[class*="nav-"] {
	margin-top: 1.5em;
	margin-bottom: 1.5em;
}
.single .post-navigation .nav-previous a {
	background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNy40MSIgaGVpZ2h0PSIxMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNNy40MSAxLjQxTDYgMCAwIDZsNiA2IDEuNDEtMS40MUwyLjgzIDZ6IiBmaWxsPSIjZDFkMWQxIi8+CiAgPHBhdGggZD0iTS04LTZoMjR2MjRILTh6IiBmaWxsPSJub25lIi8+Cjwvc3ZnPgo=');
	background-repeat: no-repeat;
	background-size: 1em 100%;
	text-align: left;
}
.single .post-navigation .nav-next a {
	background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNy40MSIgaGVpZ2h0PSIxMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMS40MSAwTDAgMS40MSA0LjU4IDYgMCAxMC41OSAxLjQxIDEybDYtNnoiIGZpbGw9IiNkMWQxZDEiLz4KICA8cGF0aCBkPSJNLTguNTktNmgyNHYyNGgtMjR6IiBmaWxsPSJub25lIi8+Cjwvc3ZnPgo=');
	background-repeat: no-repeat;
	background-position: right;
	background-size: 1em 100%;
	text-align: right;
}
.single .post-navigation a {
	display: block;
	margin: 0;
	line-height: 1.1;
	padding: 0 1.4em;
}
.single .post-navigation .dachzeile {
	font-size: 0.8em;
}
@media (min-width: 769px) {
	.single .post-navigation {
		display: flex;
		flex-direction: row;
		max-width: unset;
		font-size: 1.4em;
		hyphens: auto;
	}
	.single .post-navigation div[class*="nav-"] {
		width: 50%;
		margin-bottom: 1.5em;
	}
	.single .post-navigation .nav-previous a {
		height: 100%;
		padding: 0 0.7em 0 1.4em;
	}
	.single .post-navigation .nav-next a {
		height: 100%;
		padding: 0 1.5em 0 0.7em;
	}
	.single .post-navigation .dachzeile {
		font-size: 0.7em;
	}
}



/*************************************************************************
 * Archiv-Seiten: Seitennavigation mit Prev-/Next-Links
 *************************************************************************/
.one-container .site-main .paging-navigation {
	position: relative;
	max-width: 782px;
	margin: 3em auto;
}
.paging-navigation .nav-links {
	display: flex;
	flex-direction: row;
	align-items: center;
	height: 49px;
	border-top: 1px solid var(--wp-j4b-theme-color-accent);
	/* Icon für die Prev-/Next-Navigation */
	--icon-arrow-left: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' aria-hidden='true' role='img' xmlns='http://www.w3.org/2000/svg' width='48px' height='48px'%3E%3Cpath d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3Cpath d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
	--icon-arrow-right: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' aria-hidden='true' role='img' xmlns='http://www.w3.org/2000/svg' width='48px' height='48px'%3E%3Cpath d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3Cpath d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
}
.paging-navigation .page-numbers {
	padding: 0 1ch;
	font-weight: bold;
	line-height: 48px;
}
/* Prev-/Next-Links gestalten */
.paging-navigation .page-numbers.prev,
.paging-navigation .nav-links::before {
	content: var(--icon-arrow-left);
	right: 50px;
}
.paging-navigation .page-numbers.next,
.paging-navigation .nav-links::after {
	content: var(--icon-arrow-right);
	right: 0px;
}
.paging-navigation .page-numbers.prev,
.paging-navigation .page-numbers.next,
.paging-navigation .nav-links::before,
.paging-navigation .nav-links::after {
	position: absolute;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
}
.paging-navigation .page-numbers.prev,
.paging-navigation .page-numbers.next {
	z-index: 1;
	background-color: var(--wp-j4b-theme-color-accent);
	transition: background-color .1s ease-in-out;
}
.paging-navigation .page-numbers.prev:hover,
.paging-navigation .page-numbers.next:hover {
	background-color: transparent;
}
.paging-navigation .nav-links::before,
.paging-navigation .nav-links::after {
	background-color: var(--wp-j4b-theme-color-accent-hover);
}
@media (max-width: 600px) {
	/* Auf kleinen Displays nur Seitennummer und Prev-/Next-Links anzeigen */
	.paging-navigation .page-numbers:not(.current):not(.prev):not(.next) {
		display: none;
	}
	.paging-navigation .page-numbers.current .screen-reader-text {
		border: 0;
		clip: unset;
		clip-path: unset;
		height: unset;
		margin: unset;
		overflow: unset;
		padding: 0 0.6ch 0 0;
		position: relative !important;
		width: unset;
		word-wrap: normal !important;
	}
}



/*************************************************************************
 * Diverses
 *************************************************************************/

/* Erster Absatz in Posts gefettet */
/*
.single .inside-article .entry-content > p:first-of-type {
	font-weight: bold;
}
*/

/* Advanced Ads: Anzeigen-Kennzeichnung */
/*
div[class*="-adlabel"] {
	position: absolute;
	top: 0;
	right: 0;
	padding: 0.25ch 0.75ch;
	font-size: 0.6em;
	font-weight: 600;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
	color: rgba(0,0,0,0.87);
	background-color: #fff9;
	border-bottom-left-radius: 0.75ch;
	z-index: 1;
}
*/
div[class*="-adlabel"] {
	position: absolute;
	top: 0;
	right: 0;
	padding: .25ch 0.5ch 0;
	font-size: 0.6em;
	font-weight: 600;
	line-height: 1;
	text-align: left;
	text-transform: uppercase;
	color: rgba(0,0,0,0.48);
	background-color: #fff9;
	border-bottom-left-radius: 0.5ch;
	z-index: 1;
}

/* Advanced Ads: Banner oben/unten */
div[class^="mitte-header-"],
div[class^="mitte-bottom-"] {
	line-height: 0;
	border-bottom: 1px solid rgba(0,0,0,0.48);
	border-top: 1px solid rgba(0,0,0,0.48);
}
div[class="mitte-header-homepage"] {
	margin-bottom: 3em;
}

/* Advanced Ads: Banner oben/unten */
div[class^="mitte-nach-more-tag"] {
	line-height: 0;
	margin-bottom: 1.5em;
}

/* Seiten-Inhalt in der Breite begrenzen */
.page:not(.home):not(.wissen) .site-content .content-area,
.search .site-content .content-area {
	max-width: 782px;
	margin: 0 auto;
}

/* Abstände im Gutenberg-Block "Gruppe" */
.site-main .wp-block-group__inner-container {
	padding: 0;
	margin-bottom: 1.5em;
}


/* Gutenberg Buttons per default zentrieren */
.wp-block-buttons.is-layout-flex:not([class*="is-content-justification-"]) {
	justify-content: center;
}
/* Gutenberg Buttons Abstand unten */
.wp-block-buttons,
.wp-block-button {
	margin-bottom: 1.5em;
}
.wp-block-buttons.is-content-justification-center {
	clear: both;
}


/* Torbogen (Header-Grafik für Partner & Sponsoren) */
.torbogen {
	margin-bottom: 1.5em;
}
.torbogen div[class*="-adlabel"] {
	display: none;
}
.torbogen a {
	transition: opacity .1s ease-in-out;
}
.torbogen a:hover,
.torbogen a:focus {
	opacity: .85;
}

/* Gruppen als Textkasten nutzen (Innenabstand) */
.wp-block-group.textkasten {
	padding: 1.5em;
	background-color: var(--wp-j4b-theme-color-darker-1);
}



/* Pressezentrum: Abstände auf Startseite & Retroverse-Archiv */
.page-id-161546 .entry-content h2:not(:first-of-type),
.page-id-217126 .entry-content h2:not(:first-of-type) {
	margin: 3em 0 0.75em;
}

/* Pressezentrum: Cover-Schatten */

.wp-block-image.j4b_box_shadow_3d figure,
.wp-block-image.j4b_box_shadow_3d img {
	width: 100%;
}
.wp-block-image.j4b_box_shadow_3d figure {
	display: inline-block;
	margin-bottom: 15px;
	max-width: 100%;
	position: relative;
	z-index: 0;
	border: 1px solid var(--wp-j4b-theme-color-darker-1);
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.wp-block-image.j4b_box_shadow_3d figure::after,
.wp-block-image.j4b_box_shadow_3d figure::before {
	content: "";
	position: absolute;
	box-shadow: 0 15px 10px var(--wp-j4b-theme-color-darker-9),0 15px 10px var(--wp-j4b-theme-color-darker-9),0 15px 10px var(--wp-j4b-theme-color-darker-9),0 15px 10px var(--wp-j4b-theme-color-darker-9);
	left: 5px;
	right: 50%;
	bottom: 8px;
	height: 30%;
	z-index: -1;
	border-radius: inherit;
	-webkit-transform-origin: 0 0;
	-moz-transform-origin: 0 0;
	-ms-transform-origin: 0 0;
	transform-origin: 0 0;
	-webkit-transform: skewY(-6deg);
	-ms-transform: skewY(-6deg);
	transform: skewY(-6deg);
}
.wp-block-image.j4b_box_shadow_3d figure::after {
	left: 50%;
	right: 5px;
	-webkit-transform: skewY(6deg);
	-ms-transform: skewY(6deg);
	transform: skewY(6deg);
	-webkit-transform-origin: 100% 0;
	-moz-transform-origin: 100% 0;
	-ms-transform-origin: 100% 0;
	transform-origin: 100% 0;
}
/* Call2Action: "Jetzt Lesen" */
.wp-block-image.j4b_box_shadow_3d figure a::after {
	content: "\25BA" "\0020" "JETZT LESEN";
	display: block;
	padding: 0.1ch .5em 0;
	position: absolute;
	top: calc(50% - 0.8em);
	right: 0;
	font-size: 1em;
	font-weight: 900;
	letter-spacing: 0.05em;
	color: white;
	background: var(--wp-j4b-theme-color-brand-1);
	border-bottom-left-radius: 1em;
	border-top-left-radius: 1em;
	border: 0.1em solid white;
	border-right-width: 0;
	/*
	box-shadow: inset 0.5em 0 0.5em 0 rgba(0,0,0,0.4), inset 0 -0.5em 0.5em 0 rgba(0,0,0,0.4);
	*/
}
@media (min-width: 601px) {
	.wp-block-image.j4b_box_shadow_3d figure a::after {
		font-size: 2em;
	}
}
@media (min-width: 782px) {
	.wp-block-image.j4b_box_shadow_3d figure:not(.size-full) a::after {
		font-size: 0.6em;
	}
}
/* Call2Action-Animation */
.wp-block-image.j4b_box_shadow_3d {
	overflow: hidden;
}
.wp-block-image.j4b_box_shadow_3d a::after {
	will-change: transform, opacity;
	animation: c2a-flyinout 5s infinite;
}
.wp-block-image.j4b_box_shadow_3d a:hover::after {
	opacity : 1 !important;
	right: 0 !important;
}
@keyframes c2a-flyinout { 
	 0% {
		opacity: 1;
		transform: translateX(0);

	}
	25% {
		opacity: 0;
		transform: translateX(100vw);
	}
	50% {
		opacity: 1;
		transform: translateX(0);
	}
}

/*************************************************************************
 * Diverses
 *************************************************************************/

/* Audio-Player in alten Postcasts */
.wp-audio-shortcode {
	margin-bottom: 3em;
}


/* Idee: Große Banner */
div[class^="mitte-header-"],
.torbogen {
	position: relative;
	top: -1em;
	margin: 0 -1em -1em;
}
div[class^="mitte-bottom-"] {
	position: relative;
	top: 1em;
	margin: 0 -1em -1em;
}
div[class^="mitte-header-"] a,
div[class^="mitte-bottom-"] a,
.torbogen a {
	display: block;
	line-height: 0;
}

@media (hover: hover) and (pointer: fine) {
	[data-theme="light"] div[class^="mitte-header-"] a img,
	[data-theme="light"] div[class^="mitte-bottom-"] a img,
	[data-theme="light"] .torbogen a img {
		transition: opacity .1s ease-in-out;
	}
	[data-theme="light"] div[class^="mitte-header-"] a:hover img,
	[data-theme="light"] div[class^="mitte-bottom-"] a:hover img,
	[data-theme="light"] .torbogen a:hover img {
		opacity: 0.85;
	}
}

.page:not(.home):not(.wissen) .site-content .torbogen + .content-area {
	margin-top: 3em;
}
@media (min-width: 480px) {
	div[class^="mitte-header-"],
	.torbogen {
		top: -2em;
		margin: 0 -2em -2em;
	}
	div[class^="mitte-bottom-"] {
		top: 2em;
		margin: 0 -2em;
	}
}
@media (min-width: 840px) {
	div[class^="mitte-header-"],
	.torbogen {
		top: -3em;
		margin: 0 -3em -3em;
	}
	div[class^="mitte-bottom-"] {
		top: 3em;
		margin: 0 -3em 3em;
	}
	.one-container .inside-site-info {
		padding: 0 18px !important;
	}
	.one-container .site-footer {
		margin-bottom: 0em;
	}
	.one-container .site-footer .site-info {
		background: transparent;
	}
	.one-container .inside-site-info {
		padding: 0;
		line-height: 6em;
	}
	.button:hover, .home .wp-block-button .wp-block-button__link:hover {
		background-color: var(--wp-j4b-theme-color-brand-2);
		transition: color .1s ease-in-out,background-color .1s ease-in-out;
	}
	.button, .home .wp-block-button .wp-block-button__link {
		background-color: var(--wp-j4b-theme-color-brand-1);
		transition: color .1s ease-in-out,background-color .1s ease-in-out;
	}
}




/* Zarter Rahmen um alle Post-Images */
.post-image img,
.featured-image img {
	border: 1px solid var(--wp-j4b-theme-color-darker-1);
	width: 100%;
}


/* Hinweis zu veralteten Beiträgen */
.entry-meta .j4b_outdated_content::before {
	content: " – ";
}


/* Marker von Listenelementen fetten */
li::marker {
	font-weight: bold;
}


/* Abstände von Listenelementen */
.entry-content li {
margin-bottom: 0.75em;
}


.entry-content hr {
	background-color: var(--wp-j4b-theme-color-darker-9);
}








.single .post-navigation .nav-previous a,
.single .post-navigation .nav-next a {
	color: var(--wp-j4b-theme-color-on-background);
}
.single .post-navigation .nav-previous a:hover,
.single .post-navigation .nav-next a:hover {
	color: var(--wp-j4b-theme-color-on-background-medium);
}


/* Inhalte der Privacy-Policy */
.privacy-policy #main {
	max-width: 616px;
	margin-left: auto;
	margin-right: auto;
}

/* Inhalte der Integriert-Unterseiten */
/*
.parent-pageid-66823 .entry-content {
	max-width: 616px;
	margin: 0 auto;
}
*/
.parent-pageid-66823 .wp-block-group::after {
	content: "";
	display: block;
	height: 1px;
	background: linear-gradient(90deg,var(--wp-j4b-theme-color-on-background-disabled) 25%,transparent 0) 0 100% / 0.25em 1px repeat-x;
	margin-top: 3em;
	margin-bottom: 3em;
}
.parent-pageid-66823 .site-main .wp-block-group__inner-container {
	padding: 0;
}
.parent-pageid-66823 .wp-block-heading {
	margin-bottom: 0.5em;
}
.parent-pageid-66823 .wp-block-heading a.external:hover {
	color: var(--wp-j4b-theme-color-on-background-medium) !important;
}
.heise-meets-podcast-shortlist > li:not(:last-of-type)::after {
	content: "";
	display: block;
	height: 1px;
	background: linear-gradient(90deg,var(--wp-j4b-theme-color-on-background-disabled) 25%,transparent 0) 0 100% / 0.25em 1px repeat-x;
	margin-top: 3em;
	margin-bottom: 3em;
}







/* Footer Widgets */

#footer-widgets {
	color: var(--wp-j4b-theme-color-on-background);
	background-color: var(--wp-j4b-theme-color-background);
	background-image: linear-gradient(var(--wp-j4b-theme-color-lighter-1), var(--wp-j4b-theme-color-lighter-1));
}
.footer-widgets-container.grid-container {
	padding: 3em 0;
}
@media (max-width: 480px) {
	.footer-widgets-container.grid-container {
		margin: 0 1em;
	}
}
@media (min-width: 480px) {
	.footer-widgets-container.grid-container {
		margin: 0 2em;
	}
}
@media (min-width: 840px) {
	.footer-widgets-container.grid-container {
		margin: 0 3em;
	}
}
@media (max-width: 768px) {
	.inside-footer-widgets > div:not(:last-child) {
		margin-bottom: 3em;
	}
}
.site-footer .footer-widgets-container .inside-footer-widgets {
	margin-left: 0 !important;
}
@media (min-width: 768px) {
	.site-footer .footer-widgets-container .inside-footer-widgets {
		gap: 1.5em;
	}
}
.site-footer .footer-widgets-container .inner-padding {
	padding: 0 !important;
}
#footer-widgets .widget-title {
	font-weight: bold;
}
#footer-widgets .widget-title::after {
	content: "";
	display: block;
	height: 1px;
	background: linear-gradient(90deg,var(--wp-j4b-theme-color-on-background-disabled) 25%,transparent 0) 0 100% / 0.25em 1px repeat-x;
}
#footer-widgets .wp-block-tag-cloud {
	font-weight: bold;
}
@media (max-width: 480px) {
	#footer-widgets .wp-block-tag-cloud .tag-cloud-link {
		min-width: 48px;
		min-height: 48px;
	}
}
@media (hover: hover) and (pointer: fine) {
	#footer-widgets .wp-block-tag-cloud .tag-cloud-link:hover {
		text-decoration: underline var(--wp-j4b-theme-color-brand-1) 0.1em;
		color: var(--wp-j4b-theme-color-on-background);
	}
}




/* Wordpress-Suchergebnisse */

.search .entry-meta,
.search .post-image {
	display: none;
}

.search .entry-content:not(:first-child),
.search .entry-summary:not(:first-child),
.search .page-content:not(:first-child) {
	margin-top: 0;
	margin-bottom: 1.5em;
}
.search article:not(:last-of-type) {
	margin-bottom: 1.5em
}
.search article:not(:last-of-type)::after {
	content: "";
	display: block;
	height: 1px;
	background: linear-gradient(90deg,var(--wp-j4b-theme-color-on-background-disabled) 25%,transparent 0) 0 100% / 0.25em 1px repeat-x;
}
.search article .entry-title {
	margin-bottom: 0;
}
.search.one-container .site-main .paging-navigation {
	max-width: 100%;
}
.search .entry-content a {
	color: var(--wp-j4b-theme-color-on-background);
}

.search .page-header, .sidebar .widget, .site-main > * {
	margin-bottom: 3em;
}
.search .entry-summary .read-more {
	display: none;
}
.search .inside-article {
	position: relative;
}
.search article .entry-title a::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
@media (hover: hover) and (pointer: fine) {
	.search article:hover .entry-title {
		color:var(--wp-j4b-theme-color-on-background-medium);
	}
}
@media (min-width: 1080px) {
	.search .page-header {
		display:none;
	}
}



/* Wordpress-Such- & Fehlerseite (Error 404) */

.error404 .site-main,
.search-no-results .site-main {
	text-align: center;
}
.error404 .site-main .search-field,
.search-no-results .site-main .search-field {
	min-width: 60%;
}
.error404 .site-main .search-submit,
.search-no-results .site-main .search-submit {
	background-color: var(--wp-j4b-theme-color-accent);
}
.error404 .site-main .search-submit:hover,
.search-no-results .site-main .search-submit:hover {
	background-color: var(--wp-j4b-theme-color-accent-hover);
}
.search-no-results .site-main .entry-header {
	margin-bottom: 1.5em;
}
@media (min-width: 1080px) {
	.error404 .site-main .entry-header {
		display: none;
	}
}





/* Externe MediaWiki-Links als solche durch ein Icon kennzeichnen */
:root {
	/* SVG-Icon - External Link */
	--icon-external-link: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3m-2 16H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7h-2v7Z'/%3E%3C/svg%3E");
}
.content-area .entry-content:not(:has(.book-cover)) a.external:not(.wp-block-button__link):not([href^="mailto"]):not([href^="https://www.mittelstandswiki.de/"]):not([href^="https://miwiki.de/"]) {
	padding-right: 0.7em;
}
.content-area .entry-content:not(:has(.book-cover)) a.external:not(.wp-block-button__link):not([href^="mailto"]):not([href^="https://www.mittelstandswiki.de/"]):not([href^="https://miwiki.de/"])::after {
	content: "";
	display: inline-block;
	height: 1em;
	margin-right: -0.7em;
	padding-right: 0.7em;
	background-color: var(--wp-j4b-theme-color-accent);
	background-color: currentColor;
	-webkit-mask-image: var(--icon-external-link);
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: 100%;
	mask-image: var(--icon-external-link);
	mask-repeat: no-repeat;
	mask-size: 100%;
	transition: background-color .1s ease-in-out;
}
.content-area h1 a.external,
.content-area h2 a.external,
.content-area h3 a.external,
.content-area h4 a.external {
	padding-right: inherit !important;
}
.content-area h1 a.external::after,
.content-area h2 a.external::after,
.content-area h3 a.external::after,
.content-area h4 a.external::after {
	content: unset !important;
}




/* Matomo-OptOut formatieren */
.privacy-policy #matomo-opt-out {
	margin-bottom: 1.5em;
	padding: 1em;
	border: 1px solid CurrentColor;
	border-radius: 1em;
}
.privacy-policy #matomo-opt-out #trackVisits {
	margin-right: 1ch;
}
.privacy-policy #matomo-opt-out [type="checkbox"] {
	position: relative;
	left: 1.5em;
	top: 0px;
	z-index: 0;
	-webkit-appearance: none;
}
.privacy-policy #matomo-opt-out [type="checkbox"] + label {
	position: relative;
	display: block;
	cursor: pointer;
	padding-left:3.5em;
	position: relative;
	margin-top: -1.5em;
}
.privacy-policy #matomo-opt-out [type="checkbox"] + label:before {
	width: 3em;
	height: 1.5em;
	border-radius: 1.5em;
	border: 2px solid var(--wp-j4b-theme-color-darker-9);
	background-color: var(--wp-j4b-theme-color-darker-9);
	content: "";
	margin-right: 1em;
	transition: background-color 0.5s linear;
	z-index: 5;
	position: absolute;
	left: 0px;
}
[data-theme="dark"] .privacy-policy #matomo-opt-out [type="checkbox"] + label:before {
	background-color: var(--wp-j4b-theme-color-lighter-9);
	border: 2px solid var(--wp-j4b-theme-color-lighter-9);
}
.privacy-policy #matomo-opt-out [type="checkbox"] + label:after {
	width: 1.5em;
	height: 1.5em;
	border: 1px solid var(--wp-j4b-theme-color-lighter-9);
	border-radius: 1.5em;
	background-color: #fff;
	content: "";
	transition: margin 0.1s linear;
	box-shadow: 0px 0px 5px var(--wp-j4b-theme-color-on-background-disabled);
	position: absolute;
	left: 0;
	top: 0;
	z-index: 10;
}
.privacy-policy #matomo-opt-out [type="checkbox"]:checked + label:before {
	/*
	background-color: #388E3C;
	*/
	background-color: var(--wp-j4b-theme-color-accent);
}
.privacy-policy #matomo-opt-out [type="checkbox"]:checked + label:after {
	margin: 0 0 0 1.5em;
}

