.hsc-news-grid-wrap {
	--hsc-accent: #f2b90c;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 0 40px;
}

/* Tabs */
.hsc-news-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 24px;
}

.hsc-news-tab {
	background: #fff;
	color: #111;
	border: 1px solid #ddd;
	padding: 10px 18px;
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
	border-radius: 2px;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.hsc-news-tab:hover {
	border-color: #111;
}

.hsc-news-tab.is-active {
	background: #111;
	color: #fff;
	border-color: #111;
	box-shadow: inset 0 -3px 0 var(--hsc-accent);
}

/* Grid */
.hsc-news-grid {
	display: grid;
	grid-template-columns: repeat(var(--hsc-cols, 2), 1fr);
	gap: 24px;
}

@media (max-width: 700px) {
	.hsc-news-grid {
		grid-template-columns: 1fr;
	}
}

/* Card */
.hsc-news-card {
	display: block;
	background: #fff;
	color: #111;
	text-decoration: none;
	border: 1px solid #eee;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hsc-news-card:hover {
	box-shadow: 0 6px 20px rgba(0,0,0,0.18);
	transform: translateY(-2px);
	color: #111;
	border-color: var(--hsc-accent);
}

.hsc-news-thumb {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #000;
}

.hsc-news-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hsc-news-thumb-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #111 0%, #333 100%);
}

.hsc-news-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--hsc-accent);
	color: #111;
	font-weight: 800;
	font-size: 0.75rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	padding: 6px 12px;
}

.hsc-news-body {
	padding: 16px 18px 20px;
}

.hsc-news-title {
	margin: 0 0 10px;
	font-size: 1.15rem;
	line-height: 1.35;
	font-weight: 800;
	color: #111;
}

.hsc-news-date {
	font-size: 0.85rem;
	color: #777;
}

.hsc-news-empty {
	grid-column: 1 / -1;
	text-align: center;
	color: #777;
	padding: 40px 0;
}

/* Filtering state */
.hsc-news-card.hsc-hidden {
	display: none;
}

/* ============================
   hsc_latest_posts shortcode
   Foto + Text, untereinander
   ============================ */
.hsc-latest-posts {
	max-width: 900px;
	margin: 0 auto;
}

.hsc-latest-post-item {
	display: flex;
	gap: 24px;
	padding: 24px 0;
	border-bottom: 1px solid #eee;
}

.hsc-latest-post-item:first-child {
	padding-top: 0;
}

.hsc-latest-post-thumb {
	flex: 0 0 220px;
}

.hsc-latest-post-thumb img {
	width: 220px;
	height: 150px;
	object-fit: cover;
	display: block;
}

.hsc-latest-post-thumb-placeholder {
	width: 220px;
	height: 150px;
	background: linear-gradient(135deg, #111 0%, #333 100%);
}

.hsc-latest-post-body {
	flex: 1;
	min-width: 0;
}

.hsc-latest-post-title {
	margin: 0 0 8px;
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.3;
}

.hsc-latest-post-title a {
	color: #111;
	text-decoration: none;
}

.hsc-latest-post-title a:hover {
	color: var(--hsc-accent, #f2b90c);
}

.hsc-latest-post-date {
	display: block;
	font-size: 0.95rem;
	color: #555;
	margin-bottom: 10px;
}

.hsc-latest-post-excerpt {
	margin: 0;
	color: #333;
	line-height: 1.6;
}

.hsc-latest-post-readmore {
	color: #1a5fb4;
	text-decoration: underline;
	white-space: nowrap;
}

.hsc-latest-post-readmore:hover {
	color: var(--hsc-accent, #f2b90c);
}

@media (max-width: 600px) {
	.hsc-latest-post-item {
		flex-direction: column;
		gap: 12px;
	}
	.hsc-latest-post-thumb,
	.hsc-latest-post-thumb img,
	.hsc-latest-post-thumb-placeholder {
		flex: none;
		width: 100%;
		height: 200px;
	}
}
