/* Mundito Isabella — entrada individual */

.mia-entry {
	--mia-ink: #2b2140;
	--mia-accent: #a54ec8;
	--mia-soft: #fff4fb;
	--mia-line: rgba(43, 33, 64, 0.12);
	max-width: 920px;
	margin: 0 auto;
	padding: 2rem 1.25rem 3.5rem;
	color: var(--mia-ink);
}

.mia-entry__title {
	margin: 0 0 0.35rem;
	font-size: clamp(1.75rem, 3vw, 2.4rem);
	line-height: 1.15;
}

.mia-entry__meta {
	margin: 0 0 1.25rem;
	opacity: 0.7;
}

.mia-entry__featured {
	margin: 0 0 1.5rem;
	border-radius: 18px;
	overflow: hidden;
}

.mia-entry__featured img {
	display: block;
	width: 100%;
	height: auto;
}

.mia-entry__section {
	margin: 0 0 1.75rem;
}

.mia-entry__h {
	margin: 0 0 0.65rem;
	font-size: 1.25rem;
}

.mia-entry__text {
	line-height: 1.7;
}

.mia-entry__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.mia-entry__chips li {
	padding: 0.35rem 0.8rem;
	border-radius: 999px;
	background: var(--mia-soft);
	border: 1px solid var(--mia-line);
	font-size: 0.92rem;
}

.mia-video__cta {
	margin: 0 0 0.85rem;
	padding: 0;
	font-size: 1.05rem;
	line-height: 1.45;
	font-weight: 600;
	color: var(--mia-ink, #2b2140);
}

.mia-video__frame {
	position: relative;
	width: 100%;
	border-radius: 16px;
	overflow: hidden;
	background: #12091a;
}

.mia-video--horizontal .mia-video__frame {
	aspect-ratio: 16 / 9;
}

.mia-video--vertical .mia-video__frame {
	aspect-ratio: 9 / 16;
	max-width: 420px;
	margin-inline: auto;
}

.mia-video__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Popup recompensa post-ENDED */
.mia-video-popup {
	position: fixed;
	inset: 0;
	z-index: 100050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	box-sizing: border-box;
}

.mia-video-popup[hidden] {
	display: none !important;
}

.mia-video-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(18, 9, 26, 0.55);
}

.mia-video-popup__panel {
	position: relative;
	z-index: 1;
	width: min(100%, 420px);
	max-height: min(92vh, 720px);
	overflow: auto;
	padding: 1.35rem 1.25rem 1.4rem;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 18px 48px rgba(18, 9, 26, 0.28);
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.95rem;
	box-sizing: border-box;
}

.mia-video-popup__close {
	position: absolute;
	top: 0.45rem;
	right: 0.55rem;
	width: 2.1rem;
	height: 2.1rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #2b2140;
	font-size: 1.55rem;
	line-height: 1;
	cursor: pointer;
	opacity: 0.7;
}

.mia-video-popup__close:hover,
.mia-video-popup__close:focus-visible {
	opacity: 1;
	outline: 2px solid #a54ec8;
	outline-offset: 2px;
}

.mia-video-popup__message {
	margin: 0.35rem 1.75rem 0 0;
	font-size: 1.05rem;
	line-height: 1.45;
	font-weight: 600;
	color: #2b2140;
	text-align: center;
}

.mia-video-popup__media {
	margin: 0;
	border-radius: 14px;
	overflow: hidden;
	background: #fff4fb;
	display: flex;
	justify-content: center;
	align-items: center;
}

.mia-video-popup__media img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	object-fit: contain;
	object-position: center;
}

.mia-video-popup__download {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0.85rem 1rem;
	border: 0;
	border-radius: 999px;
	background: #a54ec8;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	cursor: pointer;
}

.mia-video-popup__download:hover,
.mia-video-popup__download:focus-visible {
	filter: brightness(1.05);
	outline: 2px solid #2b2140;
	outline-offset: 2px;
}

html.mia-video-popup-open {
	overflow: hidden;
}

@media (max-width: 767px) {
	.mia-entry {
		padding-top: 1.25rem;
	}

	.mia-video-popup__panel {
		width: min(100%, 360px);
		padding: 1.15rem 1rem 1.2rem;
	}
}
