/* mm-post
   Blog post card. Image on top with a date pill overlay, body underneath
   with meta line, title, excerpt, and a "Read" link. Image scales gently
   on hover and the border lights up. Designed for a 3-column grid. */

.mm-journal-grid { display: flex; flex-wrap: wrap; }

.mm-post {
	background: #0c0c0e;
	border: 1px solid rgba(255, 255, 255, 0.06);
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: border-color 0.25s ease, transform 0.25s ease;
}
.mm-post:hover {
	border-color: rgba(255, 255, 255, 0.18);
	transform: translateY(-3px);
}

.mm-post-image {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #111;
}
.mm-post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease, opacity 0.3s ease;
	opacity: 0.85;
}
.mm-post:hover .mm-post-image img {
	transform: scale(1.04);
	opacity: 1;
}

.mm-post-date {
	position: absolute;
	top: 14px;
	right: 14px;
	background: rgba(0, 0, 0, 0.7);
	border: 1px solid rgba(255, 255, 255, 0.18);
	padding: 8px 10px;
	text-align: center;
	min-width: 52px;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.mm-post-day {
	display: block;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	line-height: 1;
}

.mm-post-month {
	display: block;
	font-size: 10px;
	letter-spacing: 0.16em;
	color: var(--mm-accent);
	margin-top: 4px;
}

.mm-post-body {
	padding: 26px 24px 28px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.mm-post-meta {
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(180, 180, 180, 0.55);
	margin-bottom: 14px;
}

.mm-post-title {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
	margin: 0 0 12px;
}
.mm-post-title a { color: #fff; text-decoration: none; }
.mm-post-title a:hover { color: var(--mm-accent); }

.mm-post-excerpt {
	font-size: 14px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.65);
	font-weight: 300;
	margin: 0 0 18px;
	flex: 1;
}

.mm-post-link {
	align-self: flex-start;
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--mm-accent);
	text-decoration: none;
	padding-bottom: 4px;
	border-bottom: 0;
}
.mm-post-link:hover { color: #fff; }

@media (max-width: 767px) {
	.mm-post { margin-bottom: 24px; }
}
