body,
html {
	margin: 0;
	padding: 0;
	font-family: sans-serif;
	/* line-height: 1.5; */
}

p {
	line-height: 1.45;
}

:root {
	--mw-article: 100%;
}

/* -------------------------------------------------------------------------- */
/* Grid: News                                                          */
/* -------------------------------------------------------------------------- */
/* Grid: News List                                                          */
.news-teaser-grid {
	display: grid;
	gap: 2rem;
	padding: 2rem 0;
}

/* Grid: News Teaser                                                          */
/*
.news-teaser-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1rem;
}
@media screen and (min-width: 500px) {
	.news-teaser-grid {
		grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	}
}
@media screen and (min-width: 700px) {
	.news-teaser-grid {
		grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	}
}
*/

/* -------------------------------------------------------------------------- */
/* News Teaser                                                                */
/* -------------------------------------------------------------------------- */

.teaser.--news {
	position: relative;
	width: 100%;
	color: inherit;
	display: flex;
	flex-direction: column;
}

.teaser.--news .teaser__media {
	width: 100%;
	height: auto;
	aspect-ratio: 16/10;
	overflow: hidden;
	background-image: url("/template/news/img/loading.gif");
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
.teaser.--news .teaser__media > img {
	width: 100%;
	height: auto;
	aspect-ratio: 16/10;
	display: block;
	transition: all 0.4s ease;

	background-color: transparent;
}

.teaser.--news .teaser__content {
	padding-top: 7%;
	padding-inline: 7%;
}

.teaser.--news .teaser__kicker {
	/*padding-inline: 7%;*/
	display: inline-block;
	margin-bottom: 0.65em;
	font-size: 0.9rem;
	color: red;
}

.teaser.--news .teaser__title {
	margin: 0;
	/*padding-inline: 7%;*/
	font-size: 1.25rem;
}

.teaser.--news .teaser__title a {
	color: inherit;
	text-decoration: none;

	-webkit-box-orient: vertical;
	display: -webkit-box;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
	-webkit-line-clamp: 3;
}

.teaser.--news .teaser__text {
	text-transform: none;
	font-size: 1rem;
	/*padding-inline: 7%;*/
	margin-top: 0.65em;
	color: var(--bs-gray-600);
}

.teaser.--news .teaser__cta::before {
	content: "";
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.teaser.--news .teaser__meta {
	display: flex;
	margin-top: auto;
	padding-top: 7%;
	/*padding-inline: 7%;*/
	padding-bottom: 7%;
	font-size: 0.9rem;
}

.teaser.--news .teaser__meta > * {
	display: inline-flex;
	padding: 0.5em 0;
}

.teaser.--news .teaser__meta > * + *::before {
	content: "";
	width: 12px;
	margin-left: 12px;
	border-left: 1.5px solid #ccc;
	display: inline-block;
	/* background-color: #ccc; */
	height: 100%;
}

.teaser__meta-link {
	position: relative;
	z-index: 2;
	color: var(--red);
	text-decoration: none;
}

@media (hover: hover) {
	.teaser.--news {
		text-decoration: none;
	}
}

/* -------------------------------------------------------------------------- */
/* News List                                                                */
/* -------------------------------------------------------------------------- */

.teaser.--news.--list {
	background-color: var(--white);
	padding: 1.5em 3em;
	margin: 2rem 0;
	gap: 2rem;
	justify-content: space-between;
	transition: .6s;
}
@media (min-width: 768px) {
	.teaser.--news.--list {
		flex-direction: row;
	}
}

.teaser.--news.--list:hover {
	box-shadow: 0 10px 15px -3px rgba(0,0,0,.1);
}
.teaser.--news.--list::before {
	content: "";
	position: absolute;
	width: 12px;
	height: 100%;
	top: 0;
	left: 0;
	background-color: #ccc;
	transition: .6s;
}
.teaser.--news.--list:hover:before {
	background-color: var(--red);
}

.teaser.--news.--list .teaser__media {
	width: 100%;
}
@media (min-width: 768px) {
	.teaser.--news.--list .teaser__media {
		width: 35%;
	}
}

.teaser.--news.--list .teaser__content {
	padding-top: 0;
	width: 100%;
}
@media (min-width: 768px) {
	.teaser.--news.--list .teaser__content {
		width: 50%;
	}
}

.teaser.--news.--list .news-list-item-link {
	width: 100%;
	color: var(--red);
}
@media (min-width: 768px) {
	.teaser.--news.--list .news-list-item-link {
		width: 8%;
	}
}


/* -------------------------------------------------------------------------- */
/* Effects (optional) */

.teaser.--news:hover .teaser__media > img {
	scale: 1.03;
}
.teaser.--news .teaser__title a:hover {
	text-decoration: underline;
}
.teaser__meta-link:hover {
	text-decoration: underline;
}


/* -------------------------------------------------------------------------- */
/* News Article                                                               */
/* -------------------------------------------------------------------------- */

.news-article {
	/* padding-block: 5rem;
	 font-size: 1.1rem; */
}

/* Links */
.news-article p a {
	color: red;
	text-decoration: none;
}
.news-article p a:hover {
	text-decoration: underline;
}

/* Max with for every Element */
.news-article > * {
	max-width: var(--mw-article);
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0;
	margin-top: 1rem;
}

.news-article > * + :is(h1, h2, h3, h4, h5, h6) {
	margin-top: 1.75rem !important;
}

/* Images */
.news-article img {
	display: inherit;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.news-article h1 {
	font-size: 2.75rem;
	margin-top: 0.35rem;
	margin-bottom: 0.75rem;
}

.news-article h2,
.news-article h3,
.news-article h4,
.news-article h5,
.news-article h6 {
	font-size: 1.4rem;
}

/* .news-article figure,
.news-article video {
	margin-bottom: 2.75rem;
	margin-top: 2.75rem;
} */

.news-article figcaption {
	font-size: .9rem;
	opacity: 0.5;
	text-align: center;
	margin: 0 auto;
	margin-top: 0.85em;
	max-width: var(--mw-article);
}

.news-article .lead{
	font-size: 1.35em;
	font-weight: 600;
}

.news-article__dachzeile {
	display: block;
	font-size: 1.35rem;
	margin-bottom: 0.65em;
}

.news-article__meta {
	display: flex;
	gap: 6px;
	margin-top: 1.5em;
	margin-bottom: 1.5em;
	opacity: 0.75;
}

.news-article .author {
	padding-top: 1rem;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.news-article .bleed {
	/*max-width: 880px;*/
}

.news-article .bleed-full {
	max-width: 1920px;
	width: 100%;
	margin: 0 auto;
}

/* ------------------------- */

.news-article-block{
	margin-top: 2.75rem;
	margin-bottom: 2.75rem;
}

/* -------------------------------------------------------------------------- */
/* News Author                                                                */
/* -------------------------------------------------------------------------- */
/*
<div class="author">
	<div class="author__image-container">
		<img src="" alt="" />
	</div>
	<div class="author__details">
		<span class="author__name">Von <a href="#">Luisa Müllmann</a></span>
		<span class="author__position">social media Redaktion</span>
	</div>
</div>
*/

.author {
	display: flex;
	gap: 12px;
	align-items: center;
}

.author__image-container {
	position: relative;
	width: 50px;
	height: 50px;
	overflow: hidden;
	border-radius: 50vh;
}

.author__image-container::after {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	inset: 0;
	border-radius: 50vh;
	z-index: 2;
	border: 1px solid rgba(0, 0, 0, 0.09);
	box-shadow: inset 0px 1px 0px rgba(0, 0, 0, 0.09);
}

.author__image-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.author__name {
	display: block;
	line-height: 1.1;
}

.author__name a {
	font-weight: bold;
	text-decoration: none;
}
.author__position {
	display: block;
	font-size: 0.9rem;
	opacity: 0.9;
	margin-top: 0.2em;
	line-height: 1.1;
}

/* -------------------------------------------------------------------------- */
/* Gallery-thumbs-grid                                                        */
/* -------------------------------------------------------------------------- */

.gallery-thumbs-grid{
	display: grid;
	gap: 4px;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
