.klitly-liveblog-card {
	background: #fff;
	border: 1px solid #ece8e1;
	border-radius: 18px;
	overflow: hidden;
	margin: 32px 0;
}

.klitly-liveblog-header {
	background: #CD1531;
	color: #fff;
	padding: 16px 20px;
}

.klitly-liveblog-header-row {
	display: flex;
	align-items: center;
	gap: 14px;
}

.klitly-liveblog-live-icon {
	position: relative;
	display: inline-block;
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	background: #fff;
	border-radius: 999px;
}

.klitly-liveblog-card.is-live .klitly-liveblog-live-icon::before,
.klitly-liveblog-card.is-live .klitly-liveblog-live-icon::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 10px;
	height: 10px;
	border-radius: 999px;
	transform: translate(-50%, -50%) scale(1);
	transform-origin: center;
	opacity: 0;
	pointer-events: none;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	will-change: transform, opacity, box-shadow;
	animation: klitlyLivePulse 2.25s infinite cubic-bezier(0.22, 0.61, 0.36, 1);
}

.klitly-liveblog-card.is-live .klitly-liveblog-live-icon::after {
	animation-delay: 1.125s;
}

.klitly-liveblog-card.is-finished .klitly-liveblog-live-icon::before,
.klitly-liveblog-card.is-finished .klitly-liveblog-live-icon::after {
	content: none;
}

@keyframes klitlyLivePulse {
	0% {
		transform: translate(-50%, -50%) scale(1);
		opacity: .72;
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.58);
	}
	65% {
		transform: translate(-50%, -50%) scale(1.95);
		opacity: .26;
		box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.18);
	}
	100% {
		transform: translate(-50%, -50%) scale(2.45);
		opacity: 0;
		box-shadow: 0 0 0 14px rgba(255, 255, 255, 0);
	}
}

.klitly-liveblog-header-title {
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin: 0;
}

.klitly-liveblog-intro {
	padding: 22px 20px 18px;
}

.klitly-liveblog-intro-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 240px;
	gap: 22px;
	align-items: start;
}

.klitly-liveblog-intro-main {
	min-width: 0;
}

.klitly-liveblog-title {
	margin: 0 0 12px;
	font-size: 1.55rem;
	line-height: 1.2;
}

.klitly-liveblog-intro-text {
	color: #2d2d2d;
	line-height: 1.75;
}

.klitly-liveblog-intro-text p:last-child {
	margin-bottom: 0;
}

.klitly-liveblog-intro-image-wrap {
	width: 100%;
}

.klitly-liveblog-intro-image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
}

.klitly-liveblog-intro-image-mobile {
	display: none;
	margin: 0 0 14px;
}

.klitly-liveblog-intro-image-desktop {
	display: block;
}

.klitly-liveblog-authorline {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-top: 14px;
	padding-top: 6px;
	font-size: 0.88rem;
	color: #6a6a6a;
}

.klitly-liveblog-author-image {
	width: 28px;
	height: 28px;
	border-radius: 999px;
	object-fit: cover;
	flex: 0 0 auto;
}

.klitly-liveblog-authorline-text {
	line-height: 1.35;
}

.klitly-liveblog-authorline-text strong {
	color: #3a3a3a;
	font-weight: 700;
}

.klitly-liveblog-author-role {
	margin-left: 4px;
	color: #8a8a8a;
}

.klitly-liveblog-divider {
	height: 1px;
	background: #ece8e1;
	margin: 0 20px;
}

.klitly-liveblog-updates {
	padding: 0 20px 20px;
}

.klitly-liveblog-finished-notice {
	margin-top: 18px;
	margin-bottom: 18px;
	padding: 12px 14px;
	border-radius: 12px;
	background: #f7f4ef;
	border: 1px solid #ece8e1;
	font-weight: 600;
}

.klitly-liveblog-empty {
	padding-top: 18px;
	color: #6f6f6f;
}

.klitly-liveblog-update {
	display: grid;
	grid-template-columns: 155px minmax(0, 1fr);
	gap: 20px;
	padding: 18px 14px;
	border-bottom: 1px solid #f0ece6;
	align-items: start;
}

.klitly-liveblog-update.is-alt {
	background: #faf9f7;
}

.klitly-liveblog-update:last-child {
	border-bottom: 0;
}

.klitly-liveblog-update-timecol {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding-top: 2px;
}

.klitly-liveblog-timestamp {
	display: inline-block;
	font-size: 0.93rem;
	line-height: 1.35;
	font-weight: 700;
	color: #222;
	margin: 0;
}

.klitly-time-mobile {
	display: none;
}

.klitly-liveblog-marker {
	display: inline-block;
	margin: 0;
	padding: 4px 9px;
	border-radius: 999px;
	background: rgba(205, 21, 49, 0.88);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.45px;
	text-transform: uppercase;
	line-height: 1;
	text-shadow: 0 2px 5px rgba(0,0,0,0.45);
}

.klitly-liveblog-pinned {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;
	background: #ece8e1;
	color: #575757;
}

.klitly-liveblog-update-title {
	margin: -2px 0 14px;
	font-size: 1.18rem;
	line-height: 1.4;
	font-weight: 800;
	color: #171717;
	letter-spacing: 0.015em;
	font-family: "Inter", system-ui, sans-serif;
}

.klitly-liveblog-update-figure {
	margin: 0 0 16px;
}

.klitly-liveblog-update-image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
}

.klitly-liveblog-update-caption {
	margin-top: 8px;
	font-size: 0.9rem;
	line-height: 1.45;
	color: #6c6c6c;
}

.klitly-liveblog-update-text {
	line-height: 1.75;
	color: #2d2d2d;
}

.klitly-liveblog-update-text p:last-child {
	margin-bottom: 0;
}

.klitly-liveblog-update-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin-top: 14px;
	font-size: 0.9rem;
	color: #6c6c6c;
}

.klitly-liveblog-button,
.klitly-liveblog-button:link,
.klitly-liveblog-button:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 13px;
	border: 1px solid #CD1531;
	border-radius: 999px;
	background: #fff;
	color: #CD1531 !important;
	text-decoration: none !important;
	font-weight: 700;
	line-height: 1.15;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.klitly-liveblog-button:hover,
.klitly-liveblog-button:focus,
.klitly-liveblog-button:active {
	background: #CD1531 !important;
	color: #fff !important;
	text-decoration: none !important;
}

.klitly-liveblog-notice {
	margin: 20px 0;
	padding: 12px 14px;
	border: 1px solid #ece8e1;
	border-radius: 12px;
	background: #faf8f5;
}

/* Admin: Tabellen-Layout für Liveblog-Übersicht */

.klitly-liveblog-list-table {
	table-layout: auto;
}

.klitly-liveblog-list-table th,
.klitly-liveblog-list-table td {
	vertical-align: top;
}

.klitly-liveblog-list-table th:nth-child(1),
.klitly-liveblog-list-table td:nth-child(1) {
	white-space: nowrap;
	width: 60px;
}

.klitly-liveblog-list-table th:nth-child(2),
.klitly-liveblog-list-table td:nth-child(2),
.klitly-liveblog-list-table th:nth-child(3),
.klitly-liveblog-list-table td:nth-child(3) {
	min-width: 180px;
}

.klitly-liveblog-shortcode-field {
	width: 100%;
	max-width: 160px;
	font-size: 12px;
	box-sizing: border-box;
}

.klitly-liveblog-updates-table td,
.klitly-liveblog-updates-table th {
	vertical-align: top;
}

.klitly-liveblog-update-detail-row td {
	background: #fbfbfb;
	padding-top: 0;
}

.klitly-liveblog-update-detail-box {
	padding: 16px 6px 8px;
}

.klitly-liveblog-update-detail-box p:first-child {
	margin-top: 0;
}

.klitly-liveblog-updates-table .button {
	vertical-align: middle;
}

.klitly-liveblog-no-updates-row td {
	color: #666;
}

@media (max-width: 900px) {
	.klitly-liveblog-intro-grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.klitly-liveblog-intro-image-desktop {
		display: none;
	}

	.klitly-liveblog-intro-image-mobile {
		display: block;
	}
}

@media (max-width: 800px) {
	.klitly-time-desktop {
		display: none;
	}

	.klitly-time-mobile {
		display: inline;
	}

	.klitly-liveblog-update {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	.klitly-liveblog-update-content {
		display: contents;
	}

	.klitly-liveblog-update-title {
		order: 1;
		margin: 0 0 2px;
	}

	.klitly-liveblog-update-timecol {
		order: 2;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px;
		padding-top: 0;
		margin-bottom: 2px;
	}

	.klitly-liveblog-update-figure {
		order: 3;
		margin: 2px 0 14px;
	}

	.klitly-liveblog-update-text {
		order: 4;
	}

	.klitly-liveblog-update-meta {
		order: 5;
	}

	.klitly-liveblog-header,
	.klitly-liveblog-intro,
	.klitly-liveblog-updates {
		padding-left: 16px;
		padding-right: 16px;
	}

	.klitly-liveblog-divider {
		margin: 0 16px;
	}
}

@media (max-width: 600px) {
	.klitly-liveblog-title {
		font-size: 1.35rem;
	}

	.klitly-liveblog-header-title {
		font-size: 0.94rem;
	}
}