/* Save (heart) buttons on event cards and event pages */
.mep_event_card__media { position: relative; }
.itsba-heart {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	margin: 0; padding: 0; border: 0; cursor: pointer;
	font: inherit; line-height: 1; text-transform: none; letter-spacing: 0;
	transition: transform .15s ease, background .2s, color .2s, box-shadow .2s;
	-webkit-tap-highlight-color: transparent;
}
.itsba-heart svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; transition: fill .2s, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.itsba-heart.is-on svg { fill: currentColor; transform: scale(1.08); }
.itsba-heart:active { transform: scale(.92); }
.itsba-heart:focus-visible { outline: 2px solid #1a8fe8; outline-offset: 2px; }
.itsba-heart[disabled] { cursor: progress; }

/* card: round button in the image corner */
.itsba-heart.is-card {
	position: absolute; top: auto; bottom: 12px; right: 12px; z-index: 14;
	width: 40px; height: 40px; border-radius: 50%;
	background: rgba(255, 255, 255, .94); color: #0b1a30;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}
.itsba-heart.is-card:hover { background: #fff; color: #e63950; }
.itsba-heart.is-card.is-on { color: #e63950; }
.itsba-heart.is-card .itsba-heart-label,
.itsba-heart.is-small .itsba-heart-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* event page: pill next to share */
.itsba-heart-wrap { display: inline-flex; margin-right: 8px; vertical-align: middle; }
.itsba-heart.is-page {
	height: 38px; padding: 0 16px; border-radius: 999px;
	border: 1px solid #d8e2ee; background: #fff; color: #0b1a30;
	font-size: .88rem; font-weight: 600;
}
.itsba-heart.is-page:hover { border-color: #e63950; color: #e63950; }
.itsba-heart.is-page.is-on { border-color: #fbd3d9; background: #fff0f2; color: #e63950; }
.itsba-heart.is-page svg { width: 18px; height: 18px; }

/* small: remove buttons on the Saved Events page */
.itsba-heart.is-small {
	width: 36px; height: 36px; border-radius: 50%;
	background: rgba(255, 255, 255, .95); color: #e63950;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .16);
}
.itsba-heart.is-small svg { width: 18px; height: 18px; }
.itsba-heart.is-small:not(.is-on) { color: #0b1a30; }

/* Event Manager's default single-event sidebar: its own full-width row */
.df-sidebar-part > .itsba-heart-wrap,
.mep-default-sidebar .itsba-heart-wrap { display: flex; margin: 0; padding: 0 18px 16px; }
.df-sidebar-part > .itsba-heart-wrap .itsba-heart.is-page,
.mep-default-sidebar .itsba-heart-wrap .itsba-heart.is-page { width: 100%; height: 44px; border-radius: 12px; }
/* Horizon template: sits in the share row */
.horizon_ticket_share .itsba-heart-wrap { margin: 0 6px 0 0; }
