/* kraichgau.BIZ Wirtschafts-News – übernimmt Schrift des Themes, Farben über --dkn-brand / --dkn-accent. */
.dkn-section, .dkn-wrap {
	--dkn-text-muted: #5b6770;
	--dkn-line: #dde5ea;
	--dkn-card: #fff;
	--dkn-soft: #eef5f9;
	--dkn-radius: 16px;
	box-sizing: border-box;
}
.dkn-section *, .dkn-wrap * { box-sizing: border-box; }

.dkn-section {
	padding: 56px 16px;
	background: var(--dkn-soft);
	clear: both;
}
.dkn-inner, .dkn-wrap { max-width: 1180px; margin: 0 auto; }
.dkn-wrap { padding: 24px 16px 56px; }

.dkn-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 24px;
	margin-bottom: 10px;
}
.dkn-kicker {
	margin: 0 0 6px;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--dkn-accent);
}
.dkn-title {
	margin: 0;
	font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem);
	line-height: 1.2;
	color: var(--dkn-brand);
}
.dkn-all {
	font-weight: 700;
	color: var(--dkn-brand);
	text-decoration: none;
	white-space: nowrap;
}
.dkn-all:hover { text-decoration: underline; }
.dkn-intro { margin: 0 0 26px; max-width: 760px; line-height: 1.6; color: var(--dkn-text-muted); }

.dkn-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.dkn-card {
	display: flex;
	flex-direction: column;
	background: var(--dkn-card);
	border: 1px solid var(--dkn-line);
	border-radius: var(--dkn-radius);
	overflow: hidden;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.dkn-card:hover { transform: translateY(-2px); border-color: var(--dkn-brand); box-shadow: 0 10px 28px rgba(0, 50, 80, .10); }
.dkn-card__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dkn-soft); }
.dkn-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.dkn-card:hover .dkn-card__img img { transform: scale(1.03); }
.dkn-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.dkn-card__cat { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dkn-accent); }
.dkn-card__title { margin: 0; font-size: 1.1rem; line-height: 1.3; }
.dkn-card__title a { color: inherit; text-decoration: none; }
.dkn-card__title a:hover { color: var(--dkn-brand); }
.dkn-card__teaser {
	margin: 0;
	font-size: .93rem;
	line-height: 1.55;
	color: var(--dkn-text-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.dkn-card__meta { margin: 0; font-size: .8rem; color: var(--dkn-text-muted); }
.dkn-card__more { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: .92rem; color: var(--dkn-brand); text-decoration: none; }
.dkn-card__more:hover { text-decoration: underline; }

/* Einzelansicht */
.dkn-crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .875rem; color: var(--dkn-text-muted); }
.dkn-crumbs li + li::before { content: "›"; margin: 0 6px 0 2px; }
.dkn-crumbs a { color: var(--dkn-brand); text-decoration: none; }
.dkn-article { max-width: 860px; }
.dkn-article__title { margin: 0 0 10px; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem); line-height: 1.2; color: var(--dkn-brand); }
.dkn-article__meta { margin: 0 0 22px; font-size: .9rem; color: var(--dkn-text-muted); }
.dkn-article__figure { margin: 0 0 24px; }
.dkn-article__figure figcaption { margin-top: 6px; font-size: .78rem; color: var(--dkn-text-muted); }
.dkn-article__img { margin: 0; border-radius: var(--dkn-radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--dkn-soft); }
.dkn-article__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dkn-article__lead { font-size: 1.15rem; line-height: 1.6; font-weight: 600; margin: 0 0 1em; }
.dkn-article__body { font-size: 1.05rem; line-height: 1.7; }
.dkn-article__body ul { padding-left: 1.3em; }
.dkn-source {
	margin: 32px 0 24px;
	padding: 16px 20px;
	border-radius: 12px;
	background: var(--dkn-soft);
	font-size: .9rem;
	color: var(--dkn-text-muted);
}
.dkn-source p { margin: 0 0 6px; }
.dkn-source p:last-child { margin: 0; }
.dkn-source a { color: var(--dkn-brand); font-weight: 600; }
.dkn-btn {
	display: inline-block;
	padding: 11px 20px;
	border-radius: 999px;
	background: var(--dkn-brand);
	color: #fff !important;
	font-weight: 700;
	text-decoration: none;
}
.dkn-btn:hover { filter: brightness(1.1); }
.dkn-more { margin-top: 44px; }
.dkn-more > h2 { font-size: 1.35rem; margin: 0 0 16px; }
.dkn-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.dkn-pager a { font-weight: 700; color: var(--dkn-brand); }

@media (max-width: 980px) {
	.dkn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
	.dkn-section { padding: 40px 16px; }
	.dkn-grid { grid-template-columns: 1fr; gap: 16px; }
	.dkn-head { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	.dkn-card, .dkn-card__img img { transition: none; }
	.dkn-card:hover, .dkn-card:hover .dkn-card__img img { transform: none; }
}

/* Automatische Platzierung auf der Startseite */
.dkn-auto--placed { margin: 24px 0 32px; }
.dkn-auto--placed .dkn-section { border-radius: var(--dkn-radius); }

/* ---------- Band (nur im Portal-Design sichtbar) ---------- */
.dkn-card__band { display: none; }

/* ---------- Portal-Kacheln: dunkelblau mit grünem Balken ---------- */
.dkn-style-portal.dkn-section { background: transparent; }
.dkn-style-portal .dkn-kicker { color: var(--dkn-text-muted); font-weight: 600; }
.dkn-style-portal .dkn-title { color: #2f3a42; font-weight: 400; }
.dkn-style-portal .dkn-all { color: var(--dkn-text-muted); font-weight: 600; font-size: .9rem; }
.dkn-style-portal .dkn-card {
	background: var(--dkn-navy);
	border: 2px solid var(--dkn-lime);
	border-radius: 2px;
	color: #fff;
}
.dkn-style-portal .dkn-card:hover { border-color: var(--dkn-lime); box-shadow: 0 10px 28px rgba(1, 54, 95, .28); }
.dkn-style-portal .dkn-card__band {
	display: block;
	margin: 0;
	padding: 7px 14px;
	background: var(--dkn-lime);
	color: #1d3a0c;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1.3;
}
.dkn-style-portal .dkn-card__cat { display: none; }
.dkn-style-portal .dkn-card__img { background: rgba(255, 255, 255, .08); }
.dkn-style-portal .dkn-card__body { padding: 16px 18px 20px; }
.dkn-style-portal .dkn-card__title a { color: #fff; }
.dkn-style-portal .dkn-card__title a:hover { color: var(--dkn-lime); }
.dkn-style-portal .dkn-card__teaser { color: rgba(255, 255, 255, .82); }
.dkn-style-portal .dkn-card__meta { color: rgba(255, 255, 255, .62); }
.dkn-style-portal .dkn-card__more {
	align-self: flex-start;
	margin-top: auto;
	padding: 8px 14px;
	border-radius: 3px;
	background: #1d6fb8;
	color: #fff;
	font-size: .85rem;
}
.dkn-style-portal .dkn-card__more:hover { background: #2a82d1; text-decoration: none; }
.dkn-style-portal.dkn-article .dkn-article__title,
.dkn-style-portal .dkn-head--page .dkn-title { color: #2f3a42; }
.dkn-style-portal .dkn-source { border-left: 4px solid var(--dkn-lime); border-radius: 0 12px 12px 0; }
.dkn-style-portal .dkn-btn { background: var(--dkn-navy); border-radius: 3px; }
.dkn-auto--placed .dkn-style-portal.dkn-section { padding-left: 0; padding-right: 0; }
