.mbb-post {
	min-width: 0;
	background: var(--mbb-white);
	border: var(--mbb-stroke) solid var(--mbb-black);
	border-radius: var(--mbb-radius-xl);
	box-shadow: var(--mbb-shadow-lg);
}

.mbb-post__media {
	position: relative;
	border-bottom: var(--mbb-stroke) solid var(--mbb-black);
	border-radius: 17px 17px 0 0;
	overflow: hidden;
}

.mbb-post__image {
	display: block;
	width: 100%;
	height: 340px;
	object-fit: cover;
}

.mbb-post__sticker {
	position: absolute;
	top: 12px;
	left: 21px;
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	background: var(--mbb-yellow);
	border: var(--mbb-stroke) solid var(--mbb-black);
	border-radius: var(--mbb-radius-sm);
	box-shadow: var(--mbb-shadow-sm);
	font-family: var(--mbb-font-display);
	font-size: 19px;
	line-height: 24.13px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--mbb-black);
	white-space: nowrap;
	transform: rotate(-5deg);
}

.mbb-post__body {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 24px 26px 35px;
}

.mbb-post__tag {
	display: flex;
}

.mbb-post__title {
	font-family: var(--mbb-font-body);
	font-size: 38px;
	font-weight: 900;
	line-height: 46px;
	color: var(--mbb-white);
	paint-order: stroke fill;
	-webkit-text-stroke: 8px var(--mbb-black);
	filter: drop-shadow(0 3px 0 var(--mbb-black));
	overflow-wrap: anywhere;
	position: relative;
	top: 4px;
}

.mbb-post__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 35px;
}

.mbb-post__avatar {
	flex: none;
	width: 32px;
	height: 32px;
	border: var(--mbb-stroke-fine) solid var(--mbb-black);
	border-radius: 50%;
	object-fit: cover;
}

.mbb-post__meta-text {
	font-size: 15px;
	line-height: 20px;
}

/* the font sits ~4px high */

.mbb-post__content {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
}

.mbb-post .mbb-post__content > * {
	min-width: 0;
	max-width: 100%;
	margin-block: 0;
}

.mbb-post .mbb-post__content > h2 {
	margin-top: 22px;
}

.mbb-post .mbb-post__content > .is-style-mbb-screenshot {
	margin-block: 28px;
}

.mbb-post .mbb-post__content > .is-style-mbb-pro-tip {
	margin-block: 22px;
}

.mbb-post .mbb-post__content > .alignleft {
	align-self: flex-start;
	max-width: 50%;
}

.mbb-post .mbb-post__content > .alignright {
	align-self: flex-end;
	max-width: 50%;
}

.mbb-post .mbb-post__content > .aligncenter {
	margin-inline: auto;
}

.mbb-post__pages {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-weight: 800;
}

.mbb-reactions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 11px 0 0;
	scroll-margin-top: 24px;
}

.mbb-reactions__label {
	font-size: 17px;
	font-weight: 800;
	line-height: 22.1px;
}

.mbb-reactions__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.mbb-reaction {
	gap: 5px;
	cursor: pointer;
	transition: transform 80ms ease, box-shadow 80ms ease, opacity 80ms ease;
}

.mbb-reaction:hover:not([aria-disabled="true"]) {
	transform: translateY(-2px);
}

.mbb-reaction:active:not([aria-disabled="true"]) {
	transform: translateY(1px);
}

.mbb-reaction[aria-pressed="true"] {
	transform: translateY(-2px) rotate(-2deg);
}

.mbb-reaction[aria-disabled="true"] {
	cursor: default;
}

.mbb-reactions.is-voted .mbb-reaction[aria-pressed="false"] {
	opacity: 0.55;
}

/* Mobile */

@media (max-width: 1023px) {
	.mbb-post__image {
		height: 200px;
	}

	.mbb-post__body {
		padding: 24px 18px 40px;
	}

	.mbb-post__title {
		font-size: 30px;
		line-height: 40px;
		-webkit-text-stroke-width: 6px;
		top: 0;
		margin-top: 6px;
	}

	.mbb-post .mbb-post__content > .is-style-mbb-screenshot {
		width: 100%;
		margin-top: 18px;
	}

	.wp-block-image.is-style-mbb-screenshot img {
		aspect-ratio: 274 / 290;
	}

	.mbb-post .is-style-mbb-steps {
		gap: 22px;
	}

	.mbb-post .mbb-post__content > :is(.alignleft, .alignright) {
		align-self: stretch;
		max-width: 100%;
	}

	.mbb-reactions {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.mbb-reactions__chips {
		gap: 10px;
	}
}

@media (max-width: 374px) {
	.mbb-post__body {
		padding-right: 14px;
		padding-left: 14px;
	}
}
