/* News-Modul – dunkles Clan-Theme */

.cc-news-wrap {
	--cc-n-bg: #141414;
	--cc-n-bg-soft: #1a1a1a;
	--cc-n-line: rgba(255, 255, 255, 0.1);
	--cc-n-text: #e6e8ec;
	--cc-n-muted: #9aa0ab;
	--cc-n-accent: #8b9b6a;
	color: var(--cc-n-text);
	font-family: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	max-width: 100%;
	margin: 0 auto;
	padding: 0 0 28px;
	animation: cc-news-fade 0.45s ease both;
}

.cc-news-wrap a {
	color: var(--cc-n-text);
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color 0.2s ease;
}

.cc-news-wrap a:hover {
	color: var(--cc-n-accent);
}

@keyframes cc-news-fade {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.cc-news-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--cc-n-line);
}

.cc-news-intro {
	margin: 0;
	color: var(--cc-n-muted);
	font-size: 14px;
}

.cc-news-intro strong {
	color: var(--cc-n-text);
	font-weight: 600;
}

.cc-news-empty {
	text-align: center;
	color: var(--cc-n-muted);
	margin: 28px 0;
	font-size: 14px;
}

/* Pagination */
.cc-news-pager {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 3px;
	margin: 0;
	row-gap: 6px;
}

.cc-news-pager--bottom {
	justify-content: center;
	margin-top: 8px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.cc-news-pager-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	height: 26px;
	padding: 0 6px;
	border: 1px solid var(--cc-n-line);
	background: transparent;
	color: var(--cc-n-muted) !important;
	text-decoration: none !important;
	font-size: 12px;
	letter-spacing: 0;
	line-height: 1;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.cc-news-pager-btn:hover {
	color: var(--cc-n-text) !important;
	border-color: rgba(139, 155, 106, 0.55);
	background: rgba(139, 155, 106, 0.08);
}

.cc-news-pager-btn.is-disabled {
	opacity: 0.35;
	pointer-events: none;
}

.cc-news-pager-pages {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px;
	margin: 0 2px;
}

.cc-news-pager-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	height: 26px;
	padding: 0 5px;
	border: 1px solid transparent;
	color: var(--cc-n-muted) !important;
	text-decoration: none !important;
	font-size: 12px;
	line-height: 1;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.cc-news-pager-page:hover {
	color: var(--cc-n-text) !important;
	border-color: var(--cc-n-line);
}

.cc-news-pager-page.is-current {
	color: #fff !important;
	border-color: rgba(139, 155, 106, 0.55);
	background: rgba(139, 155, 106, 0.12);
	font-weight: 600;
}

.cc-news-pager-ellipsis {
	color: var(--cc-n-muted);
	padding: 0 2px;
	font-size: 12px;
}

.cc-news-pager-jump {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: 4px;
	color: var(--cc-n-muted);
	font-size: 11px;
	white-space: nowrap;
}

.cc-news-pager-jump input {
	width: 34px;
	height: 26px;
	padding: 0 4px;
	border: 1px solid var(--cc-n-line);
	background: var(--cc-n-bg-soft);
	color: #fff;
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	font-family: inherit;
	outline: none;
	transition: border-color 0.2s ease;
}

.cc-news-pager-jump input:focus {
	border-color: rgba(139, 155, 106, 0.7);
}

/* Artikel */
.cc-news-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.cc-news-article {
	padding: 0 0 20px;
	margin: 0 0 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	animation: cc-news-fade 0.4s ease both;
}

.cc-news-article:last-child {
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	margin-bottom: 8px;
}

.cc-news-article-head {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 12px;
}

.cc-news-cat {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	object-fit: contain;
	margin-top: 2px;
}

.cc-news-cat-placeholder {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border: 1px solid var(--cc-n-line);
	background: var(--cc-n-bg-soft);
}

.cc-news-article-meta {
	min-width: 0;
	flex: 1;
}

.cc-news-article-title {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.25;
}

.cc-news-article-title a {
	color: #fff;
	text-decoration: none;
}

.cc-news-article-title a:hover {
	color: var(--cc-n-accent);
}

.cc-news-article-info {
	margin: 0;
	font-size: 12px;
	color: var(--cc-n-muted);
}

.cc-news-article-info a {
	color: var(--cc-n-text);
	text-decoration: none;
	border-bottom: 1px solid rgba(139, 155, 106, 0.35);
}

.cc-news-article-info a:hover {
	color: var(--cc-n-accent);
	border-bottom-color: var(--cc-n-accent);
}

.cc-news-article-body {
	margin: 0 0 14px;
	color: var(--cc-n-text);
	font-size: 14px;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.cc-news-article-body img {
	max-width: 100%;
	height: auto;
}

.cc-news-article-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
}

.cc-news-comment-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	border: 1px solid var(--cc-n-line);
	color: var(--cc-n-muted) !important;
	text-decoration: none !important;
	font-size: 12px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.cc-news-comment-link:hover {
	color: var(--cc-n-text) !important;
	border-color: rgba(139, 155, 106, 0.55);
	background: rgba(139, 155, 106, 0.08);
}

.cc-news-comment-link img {
	display: block;
	width: 14px;
	height: 14px;
}

.cc-news-back {
	text-align: center;
	margin: 8px 0 0;
}

.cc-news-back a {
	display: inline-block;
	padding: 7px 14px;
	border: 1px solid var(--cc-n-line);
	color: var(--cc-n-muted) !important;
	text-decoration: none !important;
	font-size: 13px;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.cc-news-back a:hover {
	color: var(--cc-n-text) !important;
	border-color: rgba(139, 155, 106, 0.55);
	background: rgba(139, 155, 106, 0.08);
}

@media (max-width: 720px) {
	.cc-news-toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.cc-news-pager {
		justify-content: center;
	}

	.cc-news-article-title {
		font-size: 17px;
	}

	.cc-news-pager-jump {
		flex-basis: 100%;
		justify-content: center;
		margin: 4px 0 0;
	}
}
