/**
 * Social feed + count styles. Loaded only on social pages / shortcodes.
 */

.mb-feed__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	list-style: none;
	margin: 1.75rem 0 0;
	padding: 0;
}

.mb-card {
	background: var(--mb-white, #fff);
	border: 1px solid #e6eaef;
	border-radius: 1px;
	overflow: hidden;
	box-shadow: 0 18px 40px rgba(11, 11, 11, 0.04);
}

.mb-card__media {
	display: block;
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--mb-black, #0B0B0B);
	min-height: 44px;
}

.mb-card__media img,
.mb-card__placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mb-card__placeholder {
	background:
		repeating-linear-gradient(-28deg, transparent, transparent 13px, rgba(16, 169, 232, 0.08) 13px, rgba(16, 169, 232, 0.08) 14px),
		#1737C7;
	min-height: 180px;
}

.mb-card__play {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
}

.mb-card__platform {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	background: transparent;
	color: #fff;
	padding: 0;
	font-size: 0.6875rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 600;
}

.mb-card__body {
	padding: 1.25rem 1.2rem 1.45rem;
}

.mb-card__title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.25rem;
	margin: 0 0 0.4rem;
	line-height: 1.3;
	font-weight: 500;
}

.mb-card__title a {
	color: var(--mb-text, #1A1A1A);
	text-decoration: none;
}

.mb-card__title a:hover,
.mb-card__title a:focus {
	color: var(--mb-blue, #1737C7);
}

.mb-card__meta {
	color: var(--mb-muted, #5B6470);
	font-size: 0.75rem;
	display: flex;
	gap: 0.75rem;
	margin: 0;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mb-card__embed {
	position: absolute;
	inset: 0;
	border: 0;
	width: 100%;
	height: 100%;
}

.mb-counts {
	margin: 0 0 2rem;
}

.mb-counts__primary {
	font-size: 1rem;
	margin: 0;
	color: #b7c0c9;
	letter-spacing: 0.04em;
}

.mb-counts__primary strong {
	color: #fff;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 2rem;
	margin-right: 0.4rem;
	font-weight: 500;
}

.mb-counts__secondary,
.mb-counts__updated {
	color: #8b949e;
	margin: 0.35rem 0 0;
	font-size: 0.8125rem;
}

.mb-fallback {
	background: var(--mb-white, #fff);
	padding: 2.25rem;
	border: 1px solid #e6eaef;
}

.mb-official-embed {
	margin-top: 1.5rem;
}

@media (max-width: 1199px) {
	.mb-feed__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.mb-feed__grid {
		grid-template-columns: 1fr;
	}
}
