ul.elb-liveblog-list {
	list-style: none;
	margin: 0;
	padding: 0 0 0 30px;
}

.elb-liveblog .elb-liveblog-post {
	position: relative;
	padding-bottom: 30px;
}

.elb-liveblog .elb-liveblog-post:last-child {
	margin-bottom: 30px;
}

.elb-liveblog .elb-liveblog-post::before {
	content: '';
	display: block;
	position: absolute;
	left: -36px;
	top: 9px;
	width: 11px;
	height: 11px;
	line-height: 11px;
	font-size: 11px;
	border-radius: 50%;
}

/* Ad entry styles */
.elb-liveblog .elb-liveblog-ad-entry {
	background-color: #f8f9fa;
	border: 1px solid #e9ecef;
	border-radius: 4px;
	margin: 20px 0;
}

.elb-liveblog .elb-liveblog-ad-entry::before {
	display: none; /* Hide the timeline dot for ads */
}

.elb-liveblog-ad-container {
	padding: 15px;
	text-align: center;
}

.elb-liveblog-ad {
	min-height: 200px;
	background-color: #ffffff;
	border-radius: 3px;
	overflow: hidden; /* Ensure ad content doesn't overflow */
}

/* When real ads are present, remove the dashed border and flex display */
.elb-liveblog-ad:not(:has(.elb-ad-placeholder)) {
	border: none !important;
	background: none !important;
	display: block;
	min-height: auto;
	margin: 0 !important;
	padding: 0 !important;
}

/* Fallback for browsers that don't support :has() */
.elb-liveblog-ad[data-real-ad="true"] {
	border: none !important;
	background: none !important;
	display: block;
	min-height: auto;
	margin: 0 !important;
	padding: 0 !important;
}

/* Hide ad containers without placeholders */
.elb-liveblog-ad-container:not(:has(.elb-ad-placeholder)) {
	border: none !important;
	background: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Placeholder styles (when real ads aren't available) */
.elb-liveblog-ad:has(.elb-ad-placeholder) {
	border: 1px dashed #dee2e6;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 200px;
}

.elb-ad-placeholder {
	color: #6c757d;
	font-style: italic;
}

.elb-ad-placeholder p {
	margin: 0;
	font-size: 14px;
}

.elb-is-editor .elb-liveblog-actions {
	display: block;
}

.elb-hide {
	display: none;
}

@keyframes elb-liveblog-highlight {
	0% {
	  background: #fefcbf;
	}
	100% {
	  background: none;
	}
  }

.elb-liveblog .elb-liveblog-highlight {
	animation: elb-liveblog-highlight 3s;
}

#elb-load-more {
	border: 0;
	margin-top: 10px;
}