/* Premium corner ribbon v7 — no star, centered "Premium", no band shadow */

/*
 * Do NOT set overflow:hidden on the card/column — that clips the Kadence
 * image drop-shadow and leaves a hard grey line along the top edge.
 * Ribbon ends are clipped by .mlt-access-tag--premium only.
 */
.wp-block-kadence-column.kadence-column19303_9c5caa-6e,
.wp-block-kadence-column.kadence-column36427_934c61-b6,
.wp-block-kadence-column.kadence-column38007_0871c5-d6,
.kt-inside-inner-col:has(> .mlt-access-tag),
.ar_cbs.post_single_loop,
.eh-loop-item,
.eh-loop-thumb,
.templates_and_resources.category.list {
	position: relative !important;
}

.mlt-access-tag--premium {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	z-index: 20 !important;
	width: 78px !important;
	height: 78px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	background: transparent !important;
	box-shadow: none !important;
	filter: none !important;
	transform: none !important;
	pointer-events: none !important;
	line-height: 0 !important;
	color: #fff !important;
}

/*
 * Band centered on corner bisector (y = x):
 *   top  = c - height/2
 *   left = c - width/2
 * c = 22, width 120, height 22 → top: 11; left: -38
 */
.mlt-access-tag__band {
	position: absolute !important;
	top: 11px !important;
	left: -38px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 120px !important;
	height: 22px !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
	transform: rotate(-45deg) !important;
	transform-origin: center center !important;
	background: linear-gradient(90deg, #df5640 0%, #c94b8a 50%, #6e5ae2 100%) !important;
	box-shadow: none !important;
	filter: none !important;
	text-shadow: none !important;
}

.mlt-access-tag__label {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	line-height: 22px !important; /* match band height — true vertical center */
	height: 22px !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	font-family: Arial, Helvetica, sans-serif !important;
	letter-spacing: 0.04em !important;
	white-space: nowrap !important;
	text-align: center !important;
	color: #fff !important;
	position: static !important;
	transform: none !important;
	text-shadow: none !important;
}

.mlt-access-tag__star {
	display: none !important;
}

img.favorite_icon {
	z-index: 25 !important;
}

.ar_cbs.post_single_loop > .mlt-access-tag--premium,
.eh-loop-thumb > .mlt-access-tag--premium {
	width: 74px !important;
	height: 74px !important;
}

.ar_cbs.post_single_loop > .mlt-access-tag--premium .mlt-access-tag__band,
.eh-loop-thumb > .mlt-access-tag--premium .mlt-access-tag__band {
	top: 11px !important;
	left: -38px !important;
	width: 120px !important;
	height: 22px !important;
}

@media (max-width: 600px) {
	.mlt-access-tag--premium {
		width: 70px !important;
		height: 70px !important;
	}
	.mlt-access-tag__band {
		top: 10px !important;
		left: -35px !important;
		width: 110px !important;
		height: 20px !important;
	}
	.mlt-access-tag__label {
		font-size: 10.5px !important;
		line-height: 20px !important;
		height: 20px !important;
	}
}
