/*
 Theme Name:   Jannot 2024
 Theme URI:    https://generatepress.com
 Description:  Jannot 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:not(.page) .site.container {
		/*
		padding-top: 3em;
		*/
		padding-top: 0;
	}
	.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));
}
html:not([data-theme="dark"]) body {
	/*
	background-color: #f901;
	*/
	background-color: #f5efe0;
	background-image: inherit;
}

/* Hintergrundfarbe des Content & Footer */
.one-container .site.container .site-content,
.one-container .site-footer .site-info,
.page-header-image {
	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;
	}
}


/* Zwischenüberschriften per default zentrieren */
.site-main h2:not(.has-text-align-left):not(.has-text-align-right) {
	text-align: center;
}

/* 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;
	text-align: center;
}
@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;
	text-align: center;
}

/* 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;
}



/*************************************************************************
 * 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);
	background-image:	linear-gradient(to top, var(--wp-j4b-theme-color-darker-5), transparent 100%);
}
@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-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;
}

/* Advanced Ads: Anzeigen-Kennzeichnung */
div[class*="-adlabel"] {
	color: var(--wp-j4b-theme-color-on-background-medium);
	font-size: 0.8em;
	line-height: 1.5;
	text-align: center;
}
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);
}
[lang^="en"] div[class^="invid-top-"]::after,
[lang^="en"] div[class^="invid-middle-"]::before,
[lang^="en"] div[class^="invid-bottom-"]::before {
	content: "Advertisement";
}
div[class^="invid-top-frontpage"]::after {
	margin-bottom: calc(3em / 0.8);
}

/* Advanced Ads: Banner oben/unten */
div[class^="invid-top-"],
div[class^="invid-bottom-"] {
	line-height: 0;
}
/* Advanced Ads: Banner mitte */
@media (max-width: 480px) {
	div[class^="invid-middle-"] {
		margin: 0 -1em;
	}
}
@media (min-width: 480px) {
	div[class^="invid-middle-"] {
		margin: 0 -2em;
	}
}
@media (min-width: 840px) {
	div[class^="invid-middle-"] {
		margin: 0 -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 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;
}


/* Banner */
div[class^="invid-top-"] {
	position: relative;
	top: -1em;
	margin: 0 -1em -1em;
}
div[class^="invid-bottom-"] {
	position: relative;
	top: 1em;
	margin: 0 -1em -1em;
}
div[class^="invid-top-"] a,
div[class^="invid-bottom-"] a {
	display: block;
	line-height: 0;
}

@media (hover: hover) and (pointer: fine) {
	[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;
	}
}

.page:not(.home):not(.wissen) .site-content .torbogen + .content-area {
	margin-top: 3em;
}
@media (min-width: 480px) {
	div[class^="invid-top-"] {
		top: -2em;
		margin: 0 -2em -2em;
	}
	div[class^="invid-bottom-"] {
		top: 2em;
		margin: 0 -2em;
	}
}
@media (min-width: 840px) {
	div[class^="invid-top-"] {
		top: -3em;
		margin: 0 -3em -3em;
	}
	div[class^="invid-bottom-"] {
		top: 3em;
		margin: 0 -3em 3em;
	}
	.search div[class^="invid-top-"] {
		margin-bottom: 3em;
	}
	.search div[class^="invid-bottom-"] {
		margin: 0 calc( (1080px - 782px) * -.5) 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 {
		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 {
		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-accent);
	}
}




/* 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;
	}
}

.search .site-main h2:not(.has-text-align-left):not(.has-text-align-right) {
	text-align: left;
}
.search .site-main h2 {
	margin-top: 0;
}



/* 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 a.external:not(.wp-block-button__link):not([href^="mailto"]):not([href^="https://jannot.de/"]):not([href^="https://jannot.com/"]) {
	padding-right: 0.7em;}
.content-area .entry-content a.external:not(.wp-block-button__link):not([href^="mailto"]):not([href^="https://jannot.de/"]):not([href^="https://jannot.com/"])::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.is-type-wp-embed {
	text-align: center;
}
.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-background);
	padding: 0.25em 1ch;
	background: linear-gradient(0deg, var(--wp-j4b-theme-color-on-background), var(--wp-j4b-theme-color-darker-9) 80%, transparent);
}






.has-drop-cap:not(:focus)::first-letter {
	color: var(--wp-j4b-theme-color-accent);
	/*
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
	*/
	font-size: 6.05em;
	font-weight: 900;
	margin: 0.05em 0.1ch 0 0;
}
.has-drop-cap:not(:focus)::first-letter::after {
	content: "";
	display: table;
	clear: both;
}
.has-drop-cap:not(:focus)::after {
	padding: 0;
}



blockquote {
	border-left: 5px solid var(--wp-j4b-theme-color-accent);
	padding: 1ch;
	font-size: 1.2em;
	font-style: italic;
	margin: 0 0 1.5em;
	position: relative;
}




/*****************************************************************************
 * TJs Special Customizer Formattings (revised)
 ****************************************************************************/

/* Inhaltsblöcke wie bei Preise & Leistungen Rahmen geben*/
.j4b_block{
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	font-size: 0.8em;
	background-color: var(--wp-j4b-theme-color-darker-1);
	border: 1px solid var(--wp-j4b-theme-color-on-background);
	padding: .75em;
}

.j4b_block h3{
	text-align: center;
	hyphens: manual;
}

.j4b_block > :last-child {
	display: flex;
	flex-direction: row;
	flex-grow: 1;
	align-items: self-end;
	justify-content: center;
	margin-bottom: 0;
	margin-top: auto;
}

/* Leeraum zwischen Top-Headline und Rahmen oben im Block klein halten */
.entry-content .wp-block-columns .j4b_block > *:first-child {
	/*
	margin-top: 0.8rem;
	*/
}

/* linker Rand für ale Elemente im Kasten größer */
.entry-content .wp-block-columns .j4b_block > * {
/*
	margin-left: 0.7rem;
*/
}

/* Fussnoten klein halten */
.j4b_fussnotentext{
	font-size: 0.7em;
	margin-top: 0px;
}



/*****************************************************************************
 * 
 ****************************************************************************/

.page .inside-article .entry-content {
	max-width: 616px;
	margin: 0 auto;
}

/* Alignwide-Formatierung */
.no-sidebar .entry-content .alignwide {
	--j4b-alignwide-maxwidth: min(1080px,100vw);
	--j4b-alignwide-margin: calc( ( 616px - var(--j4b-alignwide-maxwidth) ) / 2);
	width: 1080px;
}
@media (max-width: 480px) {
	.no-sidebar .entry-content .alignwide {
		max-width: calc(var(--j4b-alignwide-maxwidth) - 2*1em);
		margin-left:  min( 0, calc( var(--j4b-alignwide-margin) + 1em) );
		margin-right: min( 0, calc( var(--j4b-alignwide-margin) + 1em) );
	}
}
@media (min-width: 480px) {
	.no-sidebar .entry-content .alignwide {
		max-width: calc(var(--j4b-alignwide-maxwidth) - 2*2em);
		margin-left:  min( 0, calc( var(--j4b-alignwide-margin) + 2em) );
		margin-right: min( 0, calc( var(--j4b-alignwide-margin) + 2em) );
	}
}
@media (min-width: 698px) {
	.no-sidebar .entry-content .alignwide {
		max-width: calc(var(--j4b-alignwide-maxwidth) - 2*2em);
		margin-left:  calc( var(--j4b-alignwide-margin) + 2em);
		margin-right: calc( var(--j4b-alignwide-margin) + 2em);
	}
}
@media (min-width: 840px) {
	.no-sidebar .entry-content .alignwide {
		max-width: calc(var(--j4b-alignwide-maxwidth) - 2*3em);
		margin-left:  calc( var(--j4b-alignwide-margin) + 3em);
		margin-right: calc( var(--j4b-alignwide-margin) + 3em);
	}
}




/* Alignfull-Formatierung */
.no-sidebar .entry-content .alignfull {
	width: 1080px;
}
@media (max-width: 480px) {
	.no-sidebar .entry-content .alignfull {
		max-width: 100vw;
		margin-left:  -1em;
		margin-right: -1em;
	}
}
@media (min-width: 480px) {
	.no-sidebar .entry-content .alignfull {
		--j4b-alignfull-margin: calc( (100% - 100vw) / 2);
		max-width: 100vw;
		margin-left:  var(--j4b-alignfull-margin);
		margin-right: var(--j4b-alignfull-margin);
	}
}
@media (min-width: 840px) {
	.no-sidebar .entry-content .alignfull {
		--j4b-alignfull-maxwidth: min(1080px,100vw);
		--j4b-alignfull-margin: calc( ( 616px - var(--j4b-alignfull-maxwidth) ) / 2);
		max-width: var(--j4b-alignfull-maxwidth);
		margin-left:  var(--j4b-alignfull-margin);
		margin-right: var(--j4b-alignfull-margin);
	}
}









.bold {
	font-weight: bold;
}





/* Gutenberg-Block "Neueste Beiträge" (Latest Posts) */

@media not (min-width: 782px) {
	.wp-block-latest-posts {
		margin-left: auto;
		margin-right: auto;
	}
	.wp-block-latest-posts.wp-block-latest-posts__list li {
		position: relative;
	}
	.wp-block-latest-posts .wp-block-latest-posts__featured-image.alignleft {
		float: none;
		margin-right: 0;
	}
	.wp-block-latest-posts__featured-image img {
		max-width: calc(100%) !important;
		width: calc(100vw);
		height: auto;
		max-height: unset !important;
	}
	.wp-block-latest-posts .wp-block-latest-posts__featured-image figcaption {
		display: none;
	}
	.wp-block-latest-posts .wp-block-latest-posts__post-title {
		display: block;
		margin-top: 0.25em;
		margin-bottom: 0.25em;
		font-weight: bold;
		line-height: 1.33333333333;
	}
	.wp-block-latest-posts .wp-block-latest-posts__post-title::after {
		content: "";
		position: absolute;
		inset: 0;
	}
	.wp-block-latest-posts__post-excerpt {
		margin-top: 0;
		margin-bottom: 3em;
	}
}
@media (min-width: 782px) {
	.wp-block-latest-posts {
		margin-left: auto;
		margin-right: auto;
	}
	.wp-block-latest-posts.wp-block-latest-posts__list li {
		position: relative;
		margin-top: 1.5em;
		margin-bottom: 1.5em;
	}

	.wp-block-latest-posts.wp-block-latest-posts__list li::before,
	.wp-block-latest-posts.wp-block-latest-posts__list li::after {
		content: "";
		display: block;
		clear: both;
	}
	.wp-block-latest-posts.wp-block-latest-posts__list li:not(:first-of-type)::before {
		background: linear-gradient(90deg, var(--wp-j4b-theme-color-on-background-disabled) 25%, transparent 0) 0 100% / 0.25em 1px repeat-x;
		height: 1px;
		margin-top: 1.5em;
		margin-bottom: 1.5em;
	}
	.wp-block-latest-posts .wp-block-latest-posts__featured-image {
		line-height: 0;
	}
	.home .wp-block-latest-posts .wp-block-latest-posts__featured-image.alignleft,
	.home .wp-block-latest-posts .wp-block-latest-posts__featured-image.alignright {
		float: right;
		margin-left: 0.75em;
		margin-right: 0;
	}


	.wp-block-latest-posts .wp-block-latest-posts__featured-image img {
		transition: all .1s ease-in-out !important;
	}
	.wp-block-latest-posts.wp-block-latest-posts__list li:has(a:hover) .wp-block-latest-posts__featured-image img {
		transform: scale(1.05);
	}


	.wp-block-latest-posts .wp-block-latest-posts__featured-image figcaption {
		display: none;
	}
	.wp-block-latest-posts .wp-block-latest-posts__post-title {
		display: block;
		margin-bottom: 0.75em;
		font-weight: bold;
		line-height: 1.3;
	}
	.wp-block-latest-posts .wp-block-latest-posts__post-title::after {
		content: "";
		position: absolute;
		inset: 0;
	}
	.wp-block-latest-posts .wp-block-latest-posts__post-excerpt {
		margin-bottom: 0;
		margin-top: 0;
	}
}



/* Gutenberg-Block "Schlagwörter-Wolke" (Tag Cloud) */
.wp-block-tag-cloud {
	line-height: 1.25;
	letter-spacing: -0.27px;
}


.footer-widgets-container {
	border-top: 0.1rem solid var(--wp-j4b-theme-color-darker-9);
}



@media (max-width: 600px) {
	.site-main h2 {
		margin-top: calc(3em / 1.11111111111);
	}
}
@media (min-width: 601px) {
	.site-main h2 {
		margin-top: calc(3em / 1.6);
	}
}


/* Mit <pre> formatierte Code-Schnipsel in den Hacks. Beispiel: /blog/hacks/1000-unicodes-auf-einen-blick/ */
pre {
	background: var(--wp-j4b-theme-color-darker-1);
	margin-bottom: 1.5em;
	padding: .75em;
}

/* Rahmenfarbe bei Tabellen. Beispiel: /blog/hacks/1000-unicodes-auf-einen-blick/ */
table, td, th {
	border-color: var(--wp-j4b-theme-color-darker-5);
}