/**
 * MF Post-Header variant: bento-top (ported from demo mfk3).
 * Loaded only when a post's header variant is `bento-top`.
 */

.mfph-bento-top {
	background: #eef0f3;
	padding: clamp(24px, 4vw, 44px) 24px;
	margin-bottom: 14px;
	display: block;
}

.mfph-bento-top__grid {
	max-width: 1080px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 16px;
}

.mfph-bento-top__bannercard {
	grid-column: 1 / -1;
	margin: 0;
	background: var(--mf-ink);
	border-radius: 18px;
	padding: 14px;
	overflow: hidden;
}

.mfph-bento-top__bannercard img {
	border-radius: 10px;
}

.mfph-bento-top__main {
	background: #fff;
	border-radius: 18px;
	padding: clamp(24px, 3vw, 40px);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.mfph-bento-top__cat {
	font: 700 11px/1 var(--mf-mono);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--mf-magenta);
	margin: 0 0 14px;
}

.mfph-bento-top__title {
	font-family: var(--mf-serif);
	font-weight: 900;
	font-size: clamp(24px, 3vw, 40px);
	line-height: 1.06;
	margin: 0 0 16px;
}

.mfph-bento-top__lead {
	font-size: 16px;
	line-height: 1.55;
	color: #39404c;
	margin: 0;
}

.mfph-bento-top__side {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.mfph-bento-top__author {
	background: var(--mf-ink);
	color: #fff;
	border-radius: 18px;
	padding: 22px;
	display: flex;
	gap: 14px;
	align-items: center;
	flex: 1;
}

.mfph-bento-top__avatar {
	width: 52px;
	height: 52px;
}

.mfph-bento-top__who {
	font-weight: 700;
}

/* Author role line under the name (ported from demo mfk3 .role): a muted,
   slightly smaller line on the dark author card. Rendered only when set. */
.mfph-bento-top__role {
	font-size: 12.5px;
	opacity: 0.75;
	margin-top: 3px;
}

.mfph-bento-top__ameta {
	font-size: 12px;
	opacity: 0.6;
	margin-top: 8px;
}

/* Ad slot: its own bento tile in the sidebar column. */
.mfph-bento-top__slot {
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	padding: 14px;
	margin-top: 0;
}

@media (max-width: 760px) {
	.mfph-bento-top__grid {
		grid-template-columns: 1fr;
	}
}
