/* Shared model-card identity: directories, homepage and profile carousels. */
.mcov-card,
.mcx-related-card { container-type: inline-size; }
.mcov-card .mcov-card-primary,
.mcx-related-card .mcx-related-copy {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	column-gap: 10px;
	min-height: 26px;
	margin: 0;
}
.mcov-card .mcov-card-copy h3,
.mcx-related-card .mcx-related-copy h3 {
	min-width: 0;
	margin: 0 !important;
	color: #fff;
	font-family: "Quicksand", sans-serif;
	font-size: 21px !important;
	font-weight: 600;
	letter-spacing: -.025em !important;
	line-height: 1.2 !important;
	overflow-wrap: anywhere;
}
.mcov-card-type {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	justify-self: end;
	min-height: 26px;
	padding: 0 9px;
	border: 0;
	border-radius: 999px;
	background: #292929;
	color: #fff;
	font-family: "Quicksand", sans-serif;
	font-size: 8px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: .06em;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
}
.mcx-related-card {
	border: 1px solid #282828;
	border-radius: 10px;
	background: #0c0c0c !important;
}
.mcx-related-card .mcx-related-copy {
	padding: 16px 16px 12px !important;
}
.mcx-related-card .mcx-related-badge {
	top: 14px;
	right: 14px;
	min-height: 26px;
	padding: 0 10px;
	border: 0;
	background: rgba(42,42,42,.96);
	color: #fff;
	font-size: 9px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.mcx-related-card .mcx-related-add {
	min-height: 44px !important;
	padding: 0 14px !important;
	border: 1px solid #3a3a3a !important;
	border-radius: 5px !important;
	font-size: 9px !important;
	font-weight: 800;
	line-height: 1.2 !important;
	letter-spacing: .08em;
	text-transform: uppercase;
}
@media (max-width: 767px) {
	.mcov-card .mcov-card-copy h3,
	.mcx-related-card .mcx-related-copy h3 { font-size: 17px !important; }
	.mcov-card .mcov-card-primary,
	.mcx-related-card .mcx-related-copy { column-gap: 8px; }
	.mcx-related-card { border-radius: 8px; }
	.mcx-related-card .mcx-related-badge {
		top: 10px;
		right: 10px;
		min-height: 24px;
		padding: 0 9px;
		font-size: 8px;
	}
}

/* Adapt to the card width so every two-column surface uses the same identity row. */
@container (max-width: 220px) {
	.mcov-card .mcov-card-copy { padding: 10px; gap: 8px; }
	.mcov-card .mcov-card-primary,
	.mcx-related-card .mcx-related-copy { column-gap: 6px; min-height: 34px; }
	.mcx-related-card .mcx-related-copy { padding: 10px !important; }
	.mcov-card .mcov-card-copy h3,
	.mcx-related-card .mcx-related-copy h3 { font-size: 14px !important; }
	.mcov-card-type { min-height: 22px; padding: 0 6px; font-size: 7px; letter-spacing: .025em; }
}
@container (max-width: 150px) {
	.mcov-card .mcov-card-copy { padding: 8px; }
	.mcov-card .mcov-card-primary,
	.mcx-related-card .mcx-related-copy { column-gap: 4px; }
	.mcx-related-card .mcx-related-copy { padding: 8px !important; }
	.mcov-card .mcov-card-copy h3,
	.mcx-related-card .mcx-related-copy h3 { font-size: 13px !important; }
	.mcov-card-type { padding-inline: 4px; }
}
