/* "הכרטיסים אזלו" band in the top corner of a sold-out event's image. Hamesila purple + cream. */

.e-loop-item.hm-sold-out .elementor-widget-theme-post-featured-image,
.hm-st-stamp {
	position: relative;
	overflow: hidden;
}

.e-loop-item.hm-sold-out .elementor-widget-theme-post-featured-image::after,
.hm-st-stamp::after {
	content: "הכרטיסים אזלו";
	position: absolute;
	/* Far enough from the corner that the whole text fits inside the image (checked live 29.11.2026). */
	top: 56px;
	right: -62px;
	width: 280px;
	padding: 9px 0;
	transform: rotate(45deg);
	background: #866BAE;
	color: #FCFAE3;
	font-family: "Ezer Loft", sans-serif;
	font-size: 17px;
	line-height: 1;
	text-align: center;
	box-shadow: 0 2px 6px rgba(53, 53, 53, 0.25);
	z-index: 3;
	pointer-events: none; /* the card stays clickable through the band */
}

@media (max-width: 767px) {
	.e-loop-item.hm-sold-out .elementor-widget-theme-post-featured-image::after,
	.hm-st-stamp::after {
		top: 46px;
		right: -64px;
		width: 250px;
		padding: 8px 0;
		font-size: 15px;
	}
}
