/**************************************/
/* Default styles for news extension */
/**************************************/
.news .clear {
	clear: both;
}

.news .nav ul {
	float: left;
	display: inline;
	margin: 0;
}

.news .nav li {
	float: left;
}

.news .nav a {
	float: left;
	display: block;
}

.news .nav:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.news .article {
	padding-bottom: 15px;
	margin-bottom: 15px;
}

.news .article:last-child {
	padding-bottom: 0;
	margin-bottom: 0;
}

.news .article:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.news .article .news-img-wrap {
	float: left;
	margin: 3px 12px 5px 0;
	background-color: transparent !important;
}

.news .article .news-img-wrap a {
	display: block;
	float: left;
	padding: 4px;
	margin-bottom: 10px;
}

.news .article .news-img-wrap img {
	float: left;
	height: auto;
	width: auto;
}

.news .article .teaser-text {
	margin: 0 0 10px 0;
}

.news .article h3 {
	margin-bottom: 0;
}

.news .footer {
	clear: both;
	padding: 10px 0 0 0;
	border-top: 1px solid #eee;
	margin-top: 15px;
	color: #888;
}

.news .footer p {
	line-height: 1em;
}

.news .footer span {
	display: inline-block;
	padding-right: 8px;
	margin-right: 8px;
	border-right: 1px solid #ddd;
}

.news .footer span:last-child {
	border-right: 0;
}

.news .footer .news-category a {
	text-transform: uppercase;
}

.news .no-news-found {
	color: #DB0202;
	font-style: italic;
}

.news .page-navigation p {
	float: left;
}

.news .page-navigation ul {
	float: right;
}

.news .page-navigation ul li {
	float: left;
	display: block;
	padding: 0 2px;
	background: none;
}

.news .page-navigation ul li a {
	display: block;
}

/* category menu view */
.news-category-view ul li {
	padding: 5px 8px;
}

.news-category-view ul li li {
	padding: 2px 8px 2px 12px;
}

.news-category-view > ul > li:nth-child(even) {
	background: #f9f9f9;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}

.news-category-view .category-desc {
	padding-left: 10px;
	margin-left: 10px;
	border-left: 1px solid #ddd;
}

/* single view */
.news-single .footer {
	margin-bottom: 20px;
	margin-top: 5px;
	padding: 10px 0 0 0;
	border-bottom: 0;
	border-top: 1px solid #eee;
}

.news-single .article .news-img-wrap {
	float: right;
	width: 400px;
	margin: 0 0 0 25px;
}

.news-single .article .news-img-wrap img {
	float: none;
}

.news-single .teaser-text {
	font-size: 15px;
	color: #888;
}

.news-text-wrap {
	margin-bottom: 10px;
}

.news-img-caption {
	color: #888;
}

/* related news + files */
.news-related-wrap {
	display: table;
	margin-top: 20px;
	width: 100%;
}

.news-related {
	width: 50%;
	padding: 15px;
	border: 1px solid #eee;
	display: table-cell;
}

.news-related ul li {
	line-height: 1em;
	margin-bottom: 12px;
}

.news-related ul li span {
	border-right: 1px solid #DDDDDD;
	display: inline-block;
	margin-right: 8px;
	padding-right: 8px;
	color: #888;
}

.news-related ul li span:last-child {
	border-right: 0;
	padding-right: 0;
}

.news-related h4 {
	margin-bottom: 10px;
}

.news-related-files ul li {
	margin-bottom: 20px;
}

.news-related-files .news-related-files-link .jpg {
	background-position: 0 0;
}

.news-clear {
	clear: both;
}

.news-list-view {
	display: flex;
}

.news-list-view {
	display: flex;
	justify-content: space-between;
	gap: .6em
}

.news-list-item__image {
	aspect-ratio: 4 / 3;      /* oder 16/9, 1/1 – je nach gewünschtem Format */
	overflow: hidden;
	border-radius: 8px;
}

.news-list-item__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;        /* füllt den Container, schneidet über/unterstehendes ab */
	display: block;
}

/* ==========================================================================
   Blätternavigation (Pagination) für die News-Extension – Listenansicht
   Deckt zwei mögliche Markup-Varianten ab:
   1) Klassisches Fluid-Widget: <ul class="f3-widget-paginator">
   2) Neueres Core-Pagination-Widget: <nav><ul class="pagination">...
   Nicht benötigte Regeln kannst du einfach entfernen.
   ========================================================================== */

/* --- Gemeinsamer Wrapper --------------------------------------------- */
.pagination,
.f3-widget-paginator {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.25rem;
	list-style: none;
	margin: 2rem 0;
	padding: 0;
	flex-wrap: wrap;
}

/* --- Einzelne Einträge / Buttons -------------------------------------- */
.f3-widget-paginator li,
.pagination .page-item {
	margin: 0;
}

.f3-widget-paginator li a,
.f3-widget-paginator li span,
.pagination .page-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0 0.6rem;
	border: 1px solid #d7d7d7;
	border-radius: 4px;
	background-color: #fff;
	color: #333;
	font-size: 0.9rem;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.f3-widget-paginator li a:hover,
.pagination .page-link:hover {
	background-color: #f0f0f0;
	border-color: #bbb;
	color: #000;
}

/* --- Aktive / aktuelle Seite ------------------------------------------ */
.f3-widget-paginator li.current,
.pagination .page-item.active .page-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #cdcdcd;
	border-color: #cdcdcd;
	color: #dcdcdc;
	min-width: 2.25rem;
	height: 2.25rem;
	font-weight: 600;
	cursor: default;
}

/* --- Deaktivierte Buttons (z. B. "Zurück" auf Seite 1) ---------------- */
.pagination .page-item.disabled .page-link {
	color: #aaa;
	background-color: #f7f7f7;
	border-color: #e2e2e2;
	cursor: not-allowed;
	pointer-events: none;
}

/* --- "Vorherige" / "Nächste" Buttons hervorheben ---------------------- */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
	font-weight: 600;
}

/* --- Responsive Anpassung --------------------------------------------- */
@media (max-width: 480px) {
.pagination .page-link,
.f3-widget-paginator li a,
.f3-widget-paginator li span {
		min-width: 1.9rem;
		height: 1.9rem;
		font-size: 0.8rem;
		padding: 0 0.4rem;
	}
}

