/* NEWS GRID STARTSEITE */

/* Grid-Layout */

.news-grid-startseite .vc_pageable-slide-wrapper {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	align-items: stretch;
}

.news-grid-startseite .vc_pageable-slide-wrapper > .vc_grid-item {
	display: flex;
	flex-direction: column;
	float: none;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.news-grid-startseite .vc_grid-item-mini {
	display: flex;
	flex-direction: column;
	flex: 1;
	background-color: var(--farbe-creme);
	overflow: hidden;
}

/* Beitragsbild */

.news-grid-startseite .vc_gitem-animated-block {
	width: 100%;
	flex: 0 0 auto;
	overflow: hidden;
}

.news-grid-startseite .vc_gitem-zone-a {
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	background: transparent;
	overflow: hidden;
}

.news-grid-startseite .vc_gitem-zone-a .vc_gitem-zone-mini,
.news-grid-startseite .vc_gitem-zone-a .vc_gitem-row,
.news-grid-startseite .vc_gitem-zone-a .vc_gitem-col {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
}

.news-grid-startseite .vc_gitem-zone-a img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	object-position: center;
}

/* Inhaltsbereich */

.news-grid-startseite .vc_gitem-zone-c {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 10px 34px 35px;
	margin: 0;
	background-color: var(--farbe-creme);
	text-align: left;
}

.news-grid-startseite .vc_gitem-zone-c .vc_gitem-zone-mini,
.news-grid-startseite .vc_gitem-zone-c .vc_gitem-row,
.news-grid-startseite .vc_gitem-zone-c .vc_gitem-col {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
	width: 100%;
	padding: 0;
}

/* Kategorie */

.news-grid-startseite .vc_gitem-zone-c .vc_grid-filter.vc_grid-filter-center {
	justify-content: flex-start;
	text-align: left;
	margin: 0 0 10px;
	padding: 0;
}

.news-grid-startseite .vc_grid-filter .vc_grid-filter-item {
	margin: 0;
	padding: 0;
	line-height: 1.2;
}

.news-grid-startseite .vc_gitem-post-category-name {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--farbe-altrosa);
}

/* Beitragstitel */

.news-grid-startseite .vc_gitem-post-data-source-post_title {
	margin: 0 0 12px;
	padding: 0;
	text-align: left;
}

.news-grid-startseite .vc_gitem-post-data-source-post_title,
.news-grid-startseite .vc_gitem-post-data-source-post_title > div,
.news-grid-startseite .vc_gitem-post-data-source-post_title a {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 28px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--farbe-schwarz);
	text-decoration: none;
}

.news-grid-startseite .vc_gitem-post-data-source-post_title a:hover {
	color: var(--farbe-dunkelbraun);
}

/* Textauszug */

.news-grid-startseite .vc_gitem-post-data-source-post_excerpt {
	margin: 0 0 25px;
	text-align: left;
}

.news-grid-startseite .vc_gitem-post-data-source-post_excerpt,
.news-grid-startseite .vc_gitem-post-data-source-post_excerpt > div,
.news-grid-startseite .vc_gitem-post-data-source-post_excerpt p {
	font-family: 'EB Garamond', serif;
	font-size: 21px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--farbe-grau);
}

.news-grid-startseite .vc_gitem-post-data-source-post_excerpt p {
	margin: 0;
}

/* Weiterlesen-Link */

#main .news-grid-startseite .vc_gitem-zone-c a.zechmeister-news-weiterlesen {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	width: fit-content;
	margin-top: auto;
	padding: 0 0 3px;
	border-bottom: 1px solid currentColor;
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 21px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--farbe-schwarz);
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease;
}

#main .news-grid-startseite .vc_gitem-zone-c a.zechmeister-news-weiterlesen:hover {
	color: var(--farbe-dunkelbraun);
	text-decoration: none;
}

.news-grid-startseite .zechmeister-news-weiterlesen span {
	display: inline-block;
	font-size: 23px;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
	transition: transform 0.2s ease;
}

.news-grid-startseite .zechmeister-news-weiterlesen:hover span {
	transform: translateX(4px);
}

/* WPBakery Clearfix im CSS Grid entfernen */

.news-grid-startseite .vc_pageable-slide-wrapper::before,
.news-grid-startseite .vc_pageable-slide-wrapper::after {
	content: none;
	display: none;
}


/* NEWS BEITRAG DETAILSEITE */

/* Layout */

body.single-post #primary {
	width: 100%;
	float: none;
}

body.single-post #right-sidebar {
	display: none;
}

body.single-post #content > article {
	max-width: 1000px;
	margin: 0 auto;
	padding: 30px 0 80px;
}

/* Beitragsbild */

body.single-post #content > article > .thumbnail {
	margin: 0 0 25px;
}


body.single-post #content > article > .thumbnail img {
	display: block;
	width: 100%;
	height: 420px;
	object-fit: cover;
	object-position: center;
}

/* Überschrift */

body.single-post #content > article > .entry-header {
	margin: 0 0 10px;
	padding: 0;
}

body.single-post #content > article h2.single-post-title {
	font-family: 'EB Garamond', serif;
	font-size: 54px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0;
	color: var(--farbe-dunkelbraun);
	margin: 0;
	padding: 0;
	border-bottom: 0;
}

/* Metadaten */

body.single-post #content > article > ul.meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 25px;
	margin: 0 0 35px;
	padding: 0 0 18px;
	border-bottom: 1px solid #E6E1DD;
	border-top: 0;
}

body.single-post #content > article > ul.meta li,
body.single-post #content > article > ul.meta li a,
body.single-post #content > article > ul.meta li time {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--farbe-dunkelbraun);
}

body.single-post #content > article > ul.meta li {
	margin: 0;
	padding: 0;
}

/* Autor ausblenden */

body.single-post #content > article > ul.meta li.meta-author {
	display: none;
}


/* Trennzeichen nach dem Datum entfernen */

body.single-post #content > article ul.meta li.meta-date::after {
	content: none;
	display: none;
}


/* Inhalt */

body.single-post #content > article .entry-content {
	max-width: 800px;
	margin: 0;
	padding: 0;
	font-family: 'EB Garamond', serif;
	font-size: 23px;
	line-height: 1.55;
	color: #3C3C3C;
}

/* WPBakery Text */

body.single-post #content > article .entry-content .wpb-content-wrapper {
	margin-top: 0;
}

body.single-post #content > article .entry-content .wpb_text_column {
	margin-bottom: 25px;
}

body.single-post #content > article .entry-content .wpb_text_column p {
	font-family: 'EB Garamond', serif;
	font-size: 23px;
	font-weight: 400;
	line-height: 1.55;
	color: #3C3C3C;
	margin: 0 0 25px;
}

/* Zwischenüberschriften */

body.single-post #content > article .entry-content h2 {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 36px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--farbe-dunkelbraun);
	margin: 40px 0 18px;
}

body.single-post #content > article .entry-content h3 {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 28px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--farbe-dunkelbraun);
	margin: 30px 0 15px;
}

/* Links */

body.single-post #content > article .entry-content a {
	color: var(--farbe-dunkelbraun);
	text-decoration: underline;
	text-underline-offset: 4px;
}

body.single-post #content > article .entry-content a:hover {
	color: var(--farbe-altrosa);
}



/* Tablet */

@media (max-width: 1000px) {

	.news-grid-startseite .vc_gitem-zone-c {
		padding: 25px;
	}

	.news-grid-startseite .vc_gitem-post-data-source-post_title,
	.news-grid-startseite .vc_gitem-post-data-source-post_title > div,
	.news-grid-startseite .vc_gitem-post-data-source-post_title a {
		font-size: 25px;
	}

	.news-grid-startseite .vc_gitem-post-data-source-post_excerpt,
	.news-grid-startseite .vc_gitem-post-data-source-post_excerpt > div,
	.news-grid-startseite .vc_gitem-post-data-source-post_excerpt p {
		font-size: 19px;
	}
}

@media (max-width: 979px) {

	.news-grid-startseite .vc_pageable-slide-wrapper {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 25px;
	}
}

/* Mobil */

@media (max-width: 640px) {

	.news-grid-startseite .vc_pageable-slide-wrapper {
		grid-template-columns: minmax(0, 1fr);
		gap: 25px;
	}

	.news-grid-startseite .vc_gitem-zone-c {
		padding: 25px 22px 30px;
	}

	.news-grid-startseite .vc_gitem-post-data-source-post_title,
	.news-grid-startseite .vc_gitem-post-data-source-post_title > div,
	.news-grid-startseite .vc_gitem-post-data-source-post_title a {
		font-size: 26px;
	}

	.news-grid-startseite .vc_gitem-post-data-source-post_excerpt,
	.news-grid-startseite .vc_gitem-post-data-source-post_excerpt > div,
	.news-grid-startseite .vc_gitem-post-data-source-post_excerpt p {
		font-size: 20px;
	}
}


