.mn-wrap { box-sizing: border-box; width: 100%; }
.mn-wrap *, .mn-wrap *::before, .mn-wrap *::after { box-sizing: border-box; }

.mn-feed { display: flex; flex-direction: column; gap: 28px; width: 100%; max-width: 760px; margin: 0 auto; }

/* Cada publicación */
.mn-post { background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0, 0, 0, .08); padding: 26px; }
.mn-post__title { margin: 0 0 16px; font-size: 1.7rem; line-height: 1.25; }
.mn-post__text { margin-top: 18px; font-size: 1.05rem; line-height: 1.7; }
.mn-post__text p { margin: 0 0 1em; }
.mn-post__text > :last-child { margin-bottom: 0; }
.mn-meta { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid rgba(0, 0, 0, .1); font-size: .88rem; opacity: .7; }

/* Fotos */
.mn-gallery { display: grid; gap: 8px; }
.mn-photo { position: relative; display: block; overflow: hidden; border-radius: 10px; background: #eee; cursor: zoom-in; line-height: 0; }
.mn-wrap .mn-photo img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; object-position: center 35%; transition: transform .3s; }
.mn-photo:hover img { transform: scale(1.03); }
.mn-photo--main { aspect-ratio: 16 / 10; }
.mn-g-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mn-g-two .mn-photo { aspect-ratio: 4 / 5; }
.mn-thumbs { display: grid; gap: 8px; grid-template-columns: repeat(var(--mn-cols, 3), minmax(0, 1fr)); }
.mn-thumbs .mn-photo { aspect-ratio: 1 / 1; }
.mn-hide { display: none; }
.mn-more-count { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .5); color: #fff; font-size: 1.6rem; font-weight: 600; line-height: 1; }

.mn-empty { text-align: center; padding: 40px 0; opacity: .7; }
.mn-pager { margin-top: 8px; text-align: center; }
.mn-pager .page-numbers { display: inline-block; margin: 3px; padding: 8px 14px; border-radius: 8px; background: rgba(0, 0, 0, .06); color: inherit; text-decoration: none; }
.mn-pager .page-numbers.current { background: #222; color: #fff; }

/* Ampliar foto */
.mn-lightbox { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .92); touch-action: pan-y; }
.mn-lightbox img { max-width: 96vw; max-height: 92vh; object-fit: contain; }
.mn-lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .18); color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; padding: 0; }
.mn-lb-close { top: 14px; right: 14px; }
.mn-lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.mn-lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Celular */
@media (max-width: 600px) {
	.mn-feed { gap: 20px; }
	.mn-post { padding: 16px; border-radius: 14px; }
	.mn-post__title { font-size: 1.35rem; margin-bottom: 12px; }
	.mn-post__text { font-size: 1rem; }
	.mn-photo--main { aspect-ratio: 4 / 3; }
	.mn-thumbs { grid-template-columns: repeat(var(--mn-cols-m, 2), minmax(0, 1fr)); }
	.mn-g-two .mn-photo { aspect-ratio: 3 / 4; }
}
