/**
 * Taxonomy Loop widget styles.
 *
 * Everything is scoped to the widget's own `.e-taxonomy-loop` wrapper rather than
 * to `.elementor-widget-container`, which Elementor removes when the "Optimized
 * Markup" experiment is active — the default on sites installed with Elementor
 * 3.30 or newer.
 */

.e-taxonomy-loop {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.e-taxonomy-loop .term-content {
	position: relative;
}

.e-taxonomy-loop .term-title {
	margin: 0;
}

.e-taxonomy-loop .posts-list {
	margin-top: 10px;
}

.e-taxonomy-loop .divider {
	box-sizing: border-box;
	border: none;
	background-color: #000;
}

.e-taxonomy-loop .not-found,
.e-taxonomy-loop .error-message {
	margin: 0;
	padding: 10px;
	border-radius: 4px;
	background-color: #f8f9fa;
	color: #6c757d;
}

.e-taxonomy-loop .error-message {
	border: 1px solid #f5c6cb;
	background-color: #f8d7da;
	color: #dc3545;
}

.e-taxonomy-loop .posts-list[data-taxonomy-loop-stub="1"] {
	min-height: 80px;
}

.e-taxonomy-loop .taxonomy-loop-loading {
	margin: 0;
	padding: 10px;
	color: #6c757d;
	opacity: 0.7;
}
