/*
 Theme Name:   Invidis 2023
 Theme URI:    https://generatepress.com
 Description:  Invidis GeneratePress child theme
 Author:       Stefan Kuhn
 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);
		*/
	}
	body:not(.home):not(.archive) .site-content .inside-article .entry-content a:not(.wp-block-button__link):hover {
		color: var(--wp-j4b-theme-color-accent);
		text-decoration: underline;
	}
}

/* Dachzeile der Überschriften formatieren */
.content-area .dachzeile {
	display: block;
	font-size: 0.72em;
	font-weight: 600;
	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: calc(1em / 20 * 16);
}

/* 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;
}

/* 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;
}



/*******************************************************************************
 *
 * Advanced Ads Werbebanner
 *
 *******************************************************************************/

/* Advanced Ads: Anzeigen-Kennzeichnung */
div[class*="-adlabel"] {
	display: none;
}
div[class^="invid-top-"]::after,
div[class^="invid-middle-"]::before,
div[class^="invid-bottom-"]::before {
	content: "Anzeige";
	display: block;
	margin: 0 auto;
	font-size: 0.8em;
	line-height: 1.5;
	text-align: center;
	color: var(--wp-j4b-theme-color-on-background-disabled);
}
div[class^="invid-top-"]::after,
div[class^="invid-bottom-"]::before {
	margin: 0 auto;
}
div[class^="invid-middle-"]::before {
	margin: -1.5em auto 0;
}
[lang^="en"] div[class^="invid-top-"]::after,
[lang^="en"] div[class^="invid-middle-"]::before,
[lang^="en"] div[class^="invid-bottom-"]::before {
	content: "Advertisement";
}
.single div[class^="invid-top-"]::after {
	margin-bottom: -1.5em;
}
.home div[class^="invid-top-frontpage"]::after,
.archive div[class^="invid-top-post"]::after {
	margin-bottom: calc( (3em / 0.8) - 1.5em );
}

/* Advanced Ads: Banner oben/mitte/unten */
div[class^="invid-top-"],
div[class^="invid-middle-"],
div[class^="invid-bottom-"] {
	line-height: 0;
}

/* Advanced Ads: Banner-Link */
div[class^="invid-top-"] a,
div[class^="invid-middle-"] a,
div[class^="invid-bottom-"] a {
	display: block;
	line-height: 0;
	position: relative;
	z-index: +1;
}

/* Advanced Ads: Ränder für Banner mitte */
@media (max-width: 480px) {
	:root {
		--banner-margin: -1em;
	}
}
@media (min-width: 480px) {
	:root {
		--banner-margin: -2em;
	}
}
@media (min-width: 840px) {
	:root {
		--banner-margin: -3em;
	}
}
div[class^="invid-top-"] {
	margin: var(--banner-margin) var(--banner-margin) 0;
}
div[class^="invid-middle-"] {
	margin: 0 var(--banner-margin);
}
div[class^="invid-bottom-"] {
	margin: 0 var(--banner-margin) var(--banner-margin) !important;
}

.search div[class^="invid-top-"] {
	margin-bottom: 3em;
}
@media (min-width: calc(782px + 6em)) {
	.search div[class^="invid-bottom-"] {
		margin: 0 calc( (min(100vw,1080px) - 782px) * -.5) -3em !important;
	}
}

/* Advanced Ads: Banner-Bild immer in voller Breite */
div[class^="invid-top-"] img,
div[class^="invid-middle-"] img,
div[class^="invid-bottom-"] img {
	width: 100%;
}
@media (hover: hover) and (pointer: fine) {
	/* Advanced Ads: Hover-Effekt für Banner-Bild */
	[data-theme="light"] div[class^="invid-top-"] a img,
	[data-theme="light"] div[class^="invid-bottom-"] a img {
		transition: opacity .1s ease-in-out;
	}
	[data-theme="light"] div[class^="invid-top-"] a:hover img,
	[data-theme="light"] div[class^="invid-bottom-"] a:hover img {
		opacity: 0.85;
	}
}

/* Advanced Ads: Banner oben/unten */
div[class^="mitte-nach-more-tag"] {
	line-height: 0;
	margin-bottom: 1.5em;
}



/*************************************************************************
 * 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);
}
.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) !important;
}

@media (hover: hover) and (pointer: fine) {
	.site-info .wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:hover {
		box-shadow: 1px 1px 4px 0px var(--wp-j4b-theme-color-accent);
		color: var(--wp-j4b-theme-color-accent) !important;
	}
}
.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: 0 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: 0;
}
.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%;
	}
	.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;
	}
}

/* Bugfix für den ersten und letzten Post */
.single .post-navigation .nav-prev {
	margin-right: auto;
}
.single .post-navigation .nav-next {
	margin-left: auto;
}

/*************************************************************************
 * 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-on-background-medium);
}
@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;
}

/* 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;
}



/* 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 der Startseite */
.page-id-161546 .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 {
	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;
}

@media (min-width: 840px) {
	.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 {
		color: var(--wp-j4b-theme-color-on-signal);
		background-color: var(--wp-j4b-theme-color-signal);
		transition: color .1s ease-in-out,background-color .1s ease-in-out;
	}
	.button, .home .wp-block-button .wp-block-button__link {
		color: var(--wp-j4b-theme-color-on-accent);
		background-color: var(--wp-j4b-theme-color-accent);
		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%;
	margin: 3em auto;
}
.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;
	}
}



/* Customizes the WordPress image lightbox
 *
 * Source: https://www.thewordcracker.com/en-us/how-to-customize-the-image-lightbox-style-in-wordpress/
 */

/* Set the lightbox overlay background to semi-transparent black */
.wp-lightbox-overlay .scrim {
	background-color: rgba(0, 0, 0, 0.87) !important;
}

/* Style the lightbox close button */
.wp-lightbox-overlay .close-button {
	border: 2px solid #000;
	background-color: var(--wp-j4b-theme-color-accent) !important;
	border-radius: 50%;
	box-shadow: 0 2px 4px var(--wp-j4b-theme-color-darker-9);
	transition: background-color .1s ease-in-out;
}
/* Change the close button's style on hover and focus */
.wp-lightbox-overlay .close-button:hover,
.wp-lightbox-overlay .close-button:focus {
	background-color: var(--wp-j4b-theme-color-signal) !important;
	outline: 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(.invid-middle-frontpage) a.external:not(.wp-block-button__link):not([href^="mailto"]):not([href^="https://www.invidis.com/"]):not([href^="https://invidis.com/"]):not(:has(img)) {
	padding-right: 0.7em;}
.content-area .entry-content :not(.invid-middle-frontpage) a.external:not(.wp-block-button__link):not([href^="mailto"]):not([href^="https://www.invidis.com/"]):not([href^="https://invidis.com/"]):not(:has(img))::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;
}




.one-container .site-footer .site-info {
	font-weight: 550;
}


/* Medien und Einbettungen */
.wp-block-image figcaption,
.wp-block-embed.is-type-wp-embed figcaption {
	margin-top: 0;
	margin-bottom: 0;
	color: var(--wp-j4b-theme-color-on-background-medium);
	font-size: 0.8em;
	line-height: 1.5;
	text-align: center;
}
.wp-block-image,
.wp-block-gallery,
.wp-block-video,
.wp-block-audio {
	margin-bottom: 1.5em;
}
.wp-block-embed {
	margin-bottom: 1.5em !important;
}

.wp-block-embed.aligncenter,
.wp-block-embed.aligncenter.is-type-wp-embed,
.wp-block-embed.aligncenter.wp-block-embed-twitter {
	text-align: center;
}
.wp-block-embed.aligncenter.wp-block-embed-twitter .wp-block-embed__wrapper {
	display: inline-block;
}
.wp-block-embed__wrapper {
	line-height: 0;
}





[lang^="en"] .search-no-results .entry-content p{
	max-width: 40ch;
	text-align: center;
	margin: 0 auto 1.5em;
}


.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	font-size: 0.8em;
	line-height: 1.2;
	/*
	color: var(--wp-j4b-theme-color-on-background);
	*/
	color: rgba(255,255,255,1);
	padding: 0.25em 1ch;
	background: linear-gradient(0deg,rgba(0,0,0,.72),rgba(0,0,0,.3) 75%,transparent);
}



/* 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-darker-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;
}



/* Zitate formatieren */
blockquote {
	padding: 1em;
	font-size: inherit;
	background-color: var(--wp-j4b-theme-color-darker-1);
	border-left: 5px solid var(--wp-j4b-theme-color-accent);
}
[data-theme="dark"] blockquote {
	background-color: var(--wp-j4b-theme-color-lighter-1);
}
blockquote cite {
	color: var(--wp-j4b-theme-color-on-background-medium);
	font-size: 0.8em;
	line-height: 1.5;
	text-align: center;
}



/* Bugfix für Vimeo-Embed im 4:3-Format */
.wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper:has(.borlabs-hide)::before {
	padding-top: 0;
}



/* Abstände hinter Block Cover */
.wp-block-cover {
	margin-bottom: 1.5em;
}



/* Aufmacherbild (Featured-Image) für Seiten */
@media (max-width: 480px) {
	.page:not(.home) .featured-image.page-header-image {
		padding: 1.5em 1em 0 !important;
		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));
	}
}
@media (min-width: 480px) {
	.page:not(.home) .featured-image.page-header-image {
		padding: 2em 2em 0 !important;
		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));
	}
}
@media (min-width: 840px) {
	.page:not(.home)  .featured-image.page-header-image {
		padding: 3em 3em 0 !important;
		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));
	}
	.page:not(.home) .featured-image.page-header-image + .site.container {
		padding-top: 0;
	}
}
.page:not(.home) .featured-image.page-header-image + .site.container .inside-article .entry-header,
.page:not(.home) .featured-image.page-header-image + .site.container .inside-article .entry-content {
	max-width: 616px;
	margin: 0 auto;
}



/* Lauftext-Breite für Seiten */
body.page:not(.home) .inside-article .entry-header,
body.page:not(.home) .inside-article .entry-content {
	max-width: 616px;
	margin: 0 auto;
}


/* Alignfull-Formatierung */
.no-sidebar .entry-content .alignfull {
	--j4b-alignfull-maxwidth: min(1080px,100vw);
	--j4b-alignfull-margin: calc( ( 616px - var(--j4b-alignfull-maxwidth) ) / 2);
	width: 1080px;
}
@media (max-width: 480px) {
	.no-sidebar .entry-content .alignfull {
		max-width: calc(var(--j4b-alignfull-maxwidth) - 2*1em);
		margin-left:  min( 0, calc( var(--j4b-alignfull-margin) + 1em) );
		margin-right: min( 0, calc( var(--j4b-alignfull-margin) + 1em) );
	}
}
@media (min-width: 480px) {
	.no-sidebar .entry-content .alignfull {
		max-width: calc(var(--j4b-alignfull-maxwidth) - 2*2em);
		margin-left:  min( 0, calc( var(--j4b-alignfull-margin) + 2em) );
		margin-right: min( 0, calc( var(--j4b-alignfull-margin) + 2em) );
	}
}
@media (min-width: 698px) {
	.no-sidebar .entry-content .alignfull {
		max-width: calc(var(--j4b-alignfull-maxwidth) - 2*2em);
		margin-left:  calc( var(--j4b-alignfull-margin) + 2em);
		margin-right: calc( var(--j4b-alignfull-margin) + 2em);
	}
}
@media (min-width: 840px) {
	.no-sidebar .entry-content .alignfull {
		max-width: calc(var(--j4b-alignfull-maxwidth) - 2*3em);
		margin-left:  calc( var(--j4b-alignfull-margin) + 3em);
		margin-right: calc( var(--j4b-alignfull-margin) + 3em);
	}
}




/* Alignwide-Formatierung */
.entry-content .alignwide {
	width: 782px;
	margin-left: 0;
	margin-right: 0;
}
@media (max-width: 480px) {
	.entry-content .alignwide {
		max-width: calc( 100vw - 2*1em);
	}
}
@media (min-width: 480px) {
	.entry-content .alignwide {
		max-width: calc( 100vw - 2*2em);
	}
}
@media (min-width: 698px) {
	.entry-content .alignwide {
		max-width: calc( 100vw - 2*2em);
		margin-left: calc( ( 616px - min(782px,100vw - 2*2em) ) / 2);
		margin-right: calc( ( 616px - min(782px,100vw - 2*2em) ) / 2);
	}
}
@media (min-width: 840px) {
	.entry-content .alignwide {
		max-width: calc( 100vw - 2*3em);
		margin-left: calc( ( 616px - min(782px,100vw - 2*3em) ) / 2);
		margin-right: calc( ( 616px - min(782px,100vw - 2*3em) ) / 2);
	}
}




/* Wordpress-Block "Latest Posts" */
.wp-block-latest-posts {
	margin: 0 0 1.5em 0;
	font-weight: 900;
	line-height: 1.08;
}
body:not(.home):not(.archive) .site-content .inside-article .entry-content .wp-block-latest-posts a:not(.wp-block-button__link) {
	color: var(--wp-j4b-theme-color-on-background);
}
body:not(.home):not(.archive) .site-content .inside-article .entry-content .wp-block-latest-posts a:not(.wp-block-button__link):hover {
	text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
	body:not(.home):not(.archive) .site-content .inside-article .entry-content .wp-block-latest-posts a:not(.wp-block-button__link):hover {
		color: var(--wp-j4b-theme-color-on-background-medium);
	}
}
.wp-block-latest-posts .dachzeile {
	font-size: calc(1em / 20 * 16);
	line-height: 1.26;
	margin-bottom: 0;
}





/* Wordpress-Block "Gallery" */

.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before {
	content: unset;
}

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
	flex: unset;
	height: auto;
}

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a {
	display: flex;
	flex-grow: 1;
	justify-content: center;
	background: var(--wp-j4b-theme-color-on-background);
}

[data-theme="dark"] .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a {
	background: var(--wp-j4b-theme-color-lighter-1);
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption,
.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before {
	position: unset;
}

.wp-block-gallery.has-nested-images figcaption,
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	color: var(--wp-j4b-theme-color-on-background);
	background: none;
	text-shadow: unset;
}


.wp-block-gallery:has(.blocks-gallery-caption) .wp-block-image figcaption {
	display: none;
}
.wp-block-gallery .blocks-gallery-caption {
	font-size: .8em;
	line-height: 1.2;
	padding: .25em 1ch;
	margin-top: calc(-0.5em * 1.25);
}

.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) a {
	flex-grow: 1;
}



/* Bilder im Wordpress-Block "Gallery" ausblenden über Block-Style "Small Gallery" */

.wp-block-gallery.has-nested-images.is-layout-flex.wp-block-gallery-is-layout-flex.is-style-j4b-small-gallery.columns-2 figure.wp-block-image:not(#individual-image):nth-child(n+4) {
	display: none;
}
.wp-block-gallery.has-nested-images.is-layout-flex.wp-block-gallery-is-layout-flex.is-style-j4b-small-gallery:not(.columns-2) figure.wp-block-image:not(#individual-image):nth-child(n+5) {
	display: none;
}
.wp-block-gallery.has-nested-images.is-layout-flex.wp-block-gallery-is-layout-flex.is-style-j4b-small-gallery .wp-block-image .wp-element-caption {
	display: none;
}
.wp-block-gallery.has-nested-images.is-layout-flex.wp-block-gallery-is-layout-flex.is-style-j4b-small-gallery::after {
	display: block;
	flex-shrink: 0;
	width: 100%;
	text-align: center;
	font-size: .8em;
	line-height: 1.2;
	padding: .25em 1ch;
	margin-top: calc(var( --wp--style--gallery-gap-default, var( --gallery-block--gutter-size, var( --wp--style--block-gap, 0.5em ) ) ) * -1.25);
}
[lang^="en"] .wp-block-gallery.has-nested-images.is-layout-flex.wp-block-gallery-is-layout-flex.is-style-j4b-small-gallery {
	--j4b-small-gallery-c2a: "More images on click!";
}
[lang^="de"] .wp-block-gallery.has-nested-images.is-layout-flex.wp-block-gallery-is-layout-flex.is-style-j4b-small-gallery {
	--j4b-small-gallery-c2a: "Mehr Bilder per Klick!";
}
[lang^="en"] .wp-block-gallery.has-nested-images.is-layout-flex.wp-block-gallery-is-layout-flex.is-style-j4b-small-gallery:not(:has(.blocks-gallery-caption))::after {
	content: var(--j4b-small-gallery-c2a);
}
[lang^="de"] .wp-block-gallery.has-nested-images.is-layout-flex.wp-block-gallery-is-layout-flex.is-style-j4b-small-gallery:not(:has(.blocks-gallery-caption))::after {
	content: var(--j4b-small-gallery-c2a);
}

[lang^="en"] .wp-block-gallery.has-nested-images.is-layout-flex.wp-block-gallery-is-layout-flex.is-style-j4b-small-gallery .blocks-gallery-caption::before {
	content: var(--j4b-small-gallery-c2a) ' ';
}
[lang^="de"] .wp-block-gallery.has-nested-images.is-layout-flex.wp-block-gallery-is-layout-flex.is-style-j4b-small-gallery .blocks-gallery-caption::before {
	content: var(--j4b-small-gallery-c2a) ' ';
}

.wp-block-gallery.has-nested-images.is-layout-flex.wp-block-gallery-is-layout-flex.is-style-j4b-small-gallery figure.wp-block-image:not(#individual-image) img {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23efbd00cc'%3E%3Cpath d='M480-260q75 0 127.5-52.5T660-440q0-75-52.5-127.5T480-620q-75 0-127.5 52.5T300-440q0 75 52.5 127.5T480-260Zm0-80q-42 0-71-29t-29-71q0-42 29-71t71-29q42 0 71 29t29 71q0 42-29 71t-71 29ZM160-120q-33 0-56.5-23.5T80-200v-480q0-33 23.5-56.5T160-760h126l74-80h240l74 80h126q33 0 56.5 23.5T880-680v480q0 33-23.5 56.5T800-120H160Zm0-80h640v-480H638l-73-80H395l-73 80H160v480Zm320-240Z'/%3E%3C/svg%3E"), linear-gradient(#fff 0 0);
	mask-position: center;
	mask-repeat: no-repeat;
	mask-size: 30%, 100%;
	mask-composite: exclude;
	mask-mode: luminance;
	transition: all .2s ease;
}
.wp-block-gallery.has-nested-images.is-layout-flex.wp-block-gallery-is-layout-flex.is-style-j4b-small-gallery figure.wp-block-image:not(#individual-image) img:hover {
	mask-size: 33%, 100%;
}

.wp-block-gallery.has-nested-images.is-layout-flex.wp-block-gallery-is-layout-flex.is-style-j4b-small-gallery figure.wp-block-image:not(#individual-image) {
	background: #000;
}

.wp-block-gallery.has-nested-images.is-layout-flex.wp-block-gallery-is-layout-flex.is-style-j4b-small-gallery figure.wp-block-image:not(#individual-image) a {
	flex-grow: 0;
	background: #fff;
}

/* Zoom-Info (cursor & button) für Bilder mit Lightbox with PhotoSwipe */

	/*
	.wp-block-image a[data-lbwps-srcsmall]::before {
		content: "";
		display: block;
		position: absolute;
		top: 8px;
		right: 8px;
		width: 24px;
		height: 24px;
		background-color: #5a5a5a40;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z'%3E%3C/path%3E%3C/svg%3E");
		background-size: 12px 12px;
		background-repeat: no-repeat;
		background-position: center;
		border-radius: 4px;
		backdrop-filter: blur(16px) saturate(180%);
		opacity: 1;
		transition: opacity .2s ease;
		z-index: +1;
	}
	*/
	.wp-block-image a[data-lbwps-srcsmall]::before {
		content: "";
		display: block;
		position: absolute;
		top: 8px;
		right: 8px;
		width: 36px;
		height: 36px;
		background-color: #5a5a5a40;
		/*
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z'%3E%3C/path%3E%3C/svg%3E");
		*/
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%231f1f1f'%3E%3Cpath d='M120-120v-200h80v120h120v80H120Zm520 0v-80h120v-120h80v200H640ZM120-640v-200h200v80H200v120h-80Zm640 0v-120H640v-80h200v200h-80Z' fill='%23fff'/%3E%3C/svg%3E");
		background-size: 18px 18px;
		background-repeat: no-repeat;
		background-position: center;
		border-radius: 18px;
		backdrop-filter: blur(16px) saturate(180%);
		opacity: 1;
		transition: opacity .2s ease;
		z-index: +1;
	}

	.wp-block-image a[data-lbwps-srcsmall] {
		position: relative;
		display: block;
	}

@media (hover: hover) and (pointer: fine) {
	.wp-block-image a[data-lbwps-srcsmall] {
		display: inline-block;
		position: relative;
	}

	.wp-block-image a[data-lbwps-srcsmall]:hover {
		cursor: zoom-in;
	}

	.wp-block-image a[data-lbwps-srcsmall]::before {
		opacity: 0;
		transition: opacity .2s ease;
	}

	.wp-block-image a[data-lbwps-srcsmall]:hover::before {
		opacity: 1;
		transition: opacity .2s ease;
	}
}



/* Teaser (Excerpt) im Header */

.single.single-post .inside-article .entry-header .entry-content {
	max-width: unset;
	font-weight: bold;
}
.single.single-post .inside-article .entry-content > p:first-of-type {
	font-weight: inherit;
}



/*******************************************************************************
 *
 * Test mit neuem Oswald-Font 
 *
 *******************************************************************************/
/*
.content-area .dachzeile {
	font-family: "Source Sans 3", Arial, "Helvetica Neue", Helvetica, sans-serif;
	font-weight: 700;
}
*/

.single.single-post .inside-article .entry-header .entry-content {
	font-weight: 600;
}


/* Test: Bilder mit runden Ecken */
.home .teaser .post-image,
.home .j4b-startpage-news .post-image,
.archive article .post-image {
	border: 1px solid var(--wp-j4b-theme-color-darker-9);
	border-radius: 0.75em;
	overflow: hidden;
}

.home .post-image img,
.home  .featured-image img,
.archive .post-image img,
.archive  .featured-image img {
	border: none;
}


h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

figcaption {
    text-wrap: balance;
}



/*******************************************************************************
 *
 * Schriftgrößen und Abstände wie DER SPIEGEL bei h1, dachzeile und Vorspann
 *
 *******************************************************************************/

@media (max-width: 781px) {
	.single article .entry-title {
		font-size: calc(1em / 18 * 32);
		line-height: 1.08;
		margin-bottom: calc(1em / 32 * 24);
	}
	.single article .entry-title .dachzeile {
		font-size: calc(1em / 32 * 16);
		line-height: 1.26;
		margin-bottom: 0.25em;
	}
	.single.single-post .inside-article .entry-header .entry-content {
		line-height: 1.38;
	}
	.single .type-post .inside-article .entry-meta {
		margin-top: calc(1em / 21 * 24);
	}
}
@media (min-width: 782px) {
	.single article .entry-title {
		font-size: calc(1em / 20 * 44);
		line-height: 1.08;
		margin-bottom: calc(1em / 44 * 20);
	}
	.single article .entry-title .dachzeile {
		font-size: calc(1em / 44 * 18);
		line-height: 1.26;
		margin-bottom: 0.25em;
	}
	.single.single-post .inside-article .entry-header .entry-content {
		line-height: 1.38;
	}
	.single .type-post .inside-article .entry-meta {
		margin-top: calc(1em / 21 * 32);
	}
}

/*******************************************************************************
 *
 * Schriftgrößen und Abstände wie DER SPIEGEL bei h1, dachzeile in der Post-Navigation
 *
 *******************************************************************************/

@media (max-width: 768px) {
	.single .post-navigation {
		font-size: 1em;
		text-wrap: balance;
	}
	.single .post-navigation a {
		line-height: 1.08;
	}
	.single .post-navigation .dachzeile {
		font-size: 0.8em;
		line-height: 1.26;
		margin-bottom: 0.25em;
	}
}
@media (min-width: 769px) {
	.single .post-navigation {
		font-size: calc(1em / 20 * 24);
		text-wrap: balance;
	}
	.single .post-navigation a {
		line-height: 1.08;
	}
	.single .post-navigation .dachzeile {
		font-size: calc(1em / 24 * 16);
		line-height: 1.26;
		margin-bottom: 0.25em;
	}
}

/*******************************************************************************
 *
 * Durchgehend kleinere Schriftgröße bei Zwischenüberschriften in Posts (wie DER SPIEGEL)
 *
 *******************************************************************************/

.single h2, .single h3, .single h4, .single h5, .single h6 {
	font-size: calc(1em / 20 * 24);
}








/* Bugfix Mobile Footer */
@media (max-width: 768px) {
	.footer-bar-active .inside-site-info {
		flex-direction: column;
		gap: 1em;
	}

	.footer-bar-active .footer-bar {
		margin-bottom: 0 !important;
	}
}





/* Anzeige: InText Medium Rectangle */
@media not all and (min-width: 782px) {
	.entry-content > .invid-intext-medium-rectangle {
		float: none;
		max-width: 300px;
		max-height: calc(250px + 0.8em * 1.5);
		margin: 0 auto 1.5em;
		line-height: 0;
		overflow: hidden;
	}
}
@media (min-width: 782px) {
	.entry-content > .invid-intext-medium-rectangle {
		float: right;
		max-width: 300px;
		max-height: calc(250px + 0.8em * 1.5);
		margin: 0 0 1.5em 16px;
		line-height: 0;
		overflow: hidden;
	}
}
.entry-content > .invid-intext-medium-rectangle > * {
	background-color: var(--wp-j4b-theme-color-darker-1);
}
.entry-content > .invid-intext-medium-rectangle::after {
	content: "Advertisement";
	display: block;
	color: var(--wp-j4b-theme-color-on-background-medium);
	font-size: 0.8em;
	line-height: 1.5;
	text-align: center;
	background-color: var(--wp-j4b-theme-color-background);
}
.entry-content > .invid-intext-medium-rectangle:has(ul)::after {
	content: "16:9 Sponsoren";
}

.entry-content > .invid-intext-medium-rectangle a {
	display: block;
	width: 300px;
	height: 250px;
	overflow: hidden;
}

.entry-content > .invid-intext-medium-rectangle:has(ul) a {
	display: block;
	width: 300px;
	height: 50px;
	overflow: hidden;
}

.entry-content > .invid-intext-medium-rectangle ul[id^="invid-grid-"] {
	display: flex;
	flex-direction: column;
	flex-flow: wrap;
	width: 300px;
	height: 250px;
}
.entry-content > .invid-intext-medium-rectangle ul[id^="invid-grid-"] li {
	flex-grow: 1;
	align-self: center;
}