/* =========================================================
 * Lo más leído para Elementor
 * ========================================================= */

.nmr {
	width: 100%;
}

/* --- Encabezado --- */
.nmr__head {
	position: relative;
	margin-bottom: 18px;
	border-bottom: 1px solid #e6e6e6;
}

.nmr__heading {
	position: relative;
	display: inline-block;
	margin: 0;
	padding-bottom: 10px;
	color: inherit;
	line-height: 1.2;
}

.nmr__heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 50px;
	height: 3px;
	background-color: #d6263a;
}

/* --- Lista --- */
.nmr__list {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: nmr;
}

.nmr__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid #eeeeee;
}

.nmr__item:last-child {
	border-bottom: none;
}

/* --- Número --- */
.nmr__num {
	flex: 0 0 auto;
	font-weight: 800;
	line-height: 1;
}

/* Estilo: número grande */
.nmr--num-plain .nmr__num {
	font-size: 1.9rem;
	color: #cccccc;
	min-width: 38px;
}

/* Estilo: círculo relleno */
.nmr--num-filled .nmr__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: #cccccc;
	color: #ffffff;
	font-size: 0.9rem;
}

/* Estilo: círculo con borde */
.nmr--num-outline .nmr__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 2px solid #cccccc;
	color: #cccccc;
	font-size: 0.9rem;
}

/* Resaltado del top 3 (color por defecto, sobreescribible desde Elementor) */
.nmr--highlight-top.nmr--num-plain .nmr__item:nth-child(-n+3) .nmr__num {
	color: #d6263a;
}
.nmr--highlight-top.nmr--num-outline .nmr__item:nth-child(-n+3) .nmr__num {
	color: #d6263a;
	border-color: #d6263a;
}
.nmr--highlight-top.nmr--num-filled .nmr__item:nth-child(-n+3) .nmr__num {
	background-color: #d6263a;
}

/* --- Miniatura --- */
.nmr__thumb {
	flex: 0 0 auto;
	display: block;
	width: 64px;
	height: 64px;
	overflow: hidden;
	background-color: #eee;
}

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

/* --- Texto --- */
.nmr__body {
	flex: 1 1 auto;
	min-width: 0;
}

.nmr__cat {
	display: block;
	margin-bottom: 4px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #d6263a;
}

.nmr__title {
	margin: 0;
	line-height: 1.35;
}

.nmr__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.nmr__title a:hover {
	color: #d6263a;
}

.nmr__meta {
	margin-top: 5px;
	color: inherit;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.nmr__sep {
	opacity: 0.6;
}

/* Aviso en el editor */
.nmr-empty {
	padding: 18px;
	text-align: center;
	border: 1px dashed #c4c4c4;
	border-radius: 8px;
	color: #777;
	font-size: 0.95rem;
}
