/* ============================================================
   Santa Fruta · Popup de entradas (Loop Grid → modal con
   imagen, título y contenido completo)
   ============================================================ */

.sf-loop-popup .elementor-post,
.sf-loop-popup .e-loop-item {
	cursor: pointer;
}

.sf-entrada-overlay {
	position: fixed;
	inset: 0;
	background: rgba(10, 10, 10, .72);
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease;
}
.sf-entrada-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.sf-entrada-modal {
	background: #fff;
	width: 100%;
	max-width: 720px;
	max-height: 88vh;
	overflow-y: auto;
	position: relative;
	transform: translateY(16px);
	transition: transform .25s ease;
	box-shadow: 0 24px 64px rgba(0, 0, 0, .35);
}
.sf-entrada-overlay.is-open .sf-entrada-modal {
	transform: translateY(0);
}

.sf-entrada-cerrar {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 38px;
	height: 38px;
	border: 0 !important;
	border-radius: 50% !important;
	background: rgba(10, 10, 10, .55) !important;
	color: #fff !important;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 2;
}
.sf-entrada-cerrar svg {
	width: 18px;
	height: 18px;
	pointer-events: none;
}

.sf-entrada-img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
	background: #F6F5F2;
}

.sf-entrada-body {
	padding: 28px 32px 36px;
}

.sf-entrada-titulo {
	font-size: clamp(22px, 3.4vw, 30px);
	font-weight: 300;
	line-height: 1.15;
	letter-spacing: -.01em;
	color: #0A0A0A;
	margin: 0 0 18px;
}

.sf-entrada-texto {
	font-size: 15px;
	font-weight: 300;
	line-height: 1.75;
	color: #3A3834;
}
.sf-entrada-texto p {
	margin: 0 0 16px;
}
.sf-entrada-texto p:last-child {
	margin-bottom: 0;
}
.sf-entrada-texto img {
	max-width: 100% !important;
	height: auto !important;
	margin: 12px 0;
}

.sf-entrada-cargando {
	padding: 60px 20px;
	text-align: center;
	color: #6E6B65;
	font-size: 14px;
}

body.sf-entrada-open {
	overflow: hidden;
}

/* --- Responsive --- */
@media (max-width: 560px) {
	.sf-entrada-overlay {
		padding: 0;
		align-items: flex-end;
	}
	.sf-entrada-modal {
		max-width: 100%;
		max-height: 92vh;
		width: 100%;
	}
	.sf-entrada-body {
		padding: 22px 20px 28px;
	}
	.sf-entrada-titulo {
		font-size: 22px;
	}
}
