/**
 * Hamenagen - גריד כל האמנים [hm_singers_grid]
 * השראה: עמוד בית (אמנים מובילים) + Spotify
 * פונט: פולין | כפתורים: !important
 */

.hm-singers-grid {
	--hm-sg-brand: #cb1e53;
	--hm-sg-accent: #fa8504;
	--hm-sg-navy: #26235a;
	--hm-sg-radius: 16px;
	--hm-sg-radius-pill: 999px;
	--hm-sg-transition: 0.25s ease;
	--hm-sg-font: "פולין", "Polin", sans-serif;
	--hm-sg-avatar: clamp(120px, 14vw, 168px);
	--hm-sg-pad-x: 7%;

	direction: rtl;
	font-family: var(--hm-sg-font) !important;
	color: var(--hm-sg-text) !important;
	background: var(--hm-sg-page-bg);
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	padding: clamp(1.25rem, 3vw, 2.5rem) var(--hm-sg-pad-x) 3rem !important;
	box-sizing: border-box;
	overflow-x: clip;
	transition: background var(--hm-sg-transition), color var(--hm-sg-transition);
}

.hm-singers-grid *,
.hm-singers-grid *::before,
.hm-singers-grid *::after {
	box-sizing: border-box;
}

.hm-singers-grid,
.hm-singers-grid *,
.hm-singers-grid *::before,
.hm-singers-grid *::after,
.hm-singers-grid input,
.hm-singers-grid button,
.hm-singers-grid-notice {
	font-family: var(--hm-sg-font) !important;
}

html[data-hm-theme="light"] .hm-singers-grid,
html:not([data-hm-theme]) .hm-singers-grid {
	--hm-sg-page-bg: #f4f5f8;
	--hm-sg-heading: #20215a;
	--hm-sg-text: #333333;
	--hm-sg-text-muted: #666666;
	--hm-sg-surface: #ffffff;
	--hm-sg-surface-soft: #f7f6ff;
	--hm-sg-border: rgba(32, 33, 90, 0.14);
	--hm-sg-shadow: 0 8px 24px rgba(32, 33, 90, 0.08);
	--hm-sg-avatar-ring: rgba(32, 33, 90, 0.12);
	--hm-sg-avatar-glow: rgba(32, 33, 90, 0.1);
	--hm-sg-chip-bg: #ffffff;
	--hm-sg-chip-active-bg: #20215a;
	--hm-sg-chip-active-text: #ffffff;
	--hm-sg-search-bg: #ffffff;
}

html[data-hm-theme="dark"] .hm-singers-grid {
	--hm-sg-page-bg: #0b0b24;
	--hm-sg-heading: #ffffff;
	--hm-sg-text: #ffffff;
	--hm-sg-text-muted: #b3b3b3;
	--hm-sg-surface: rgba(255, 255, 255, 0.06);
	--hm-sg-surface-soft: rgba(255, 255, 255, 0.04);
	--hm-sg-border: rgba(255, 255, 255, 0.12);
	--hm-sg-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
	--hm-sg-avatar-ring: rgba(255, 255, 255, 0.08);
	--hm-sg-avatar-glow: rgba(203, 30, 83, 0.18);
	--hm-sg-chip-bg: rgba(255, 255, 255, 0.08);
	--hm-sg-chip-active-bg: #ffffff;
	--hm-sg-chip-active-text: #0b0b24;
	--hm-sg-search-bg: rgba(255, 255, 255, 0.08);
}

/* === כפיית כפתורים/אינפוטים === */
.hm-singers-grid input[type="search"],
.hm-singers-grid .hm-singers-grid__search {
	-webkit-appearance: none !important;
	appearance: none !important;
	box-sizing: border-box !important;
	width: 100% !important;
	min-height: unset !important;
	height: auto !important;
	line-height: 1.4 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	box-shadow: none !important;
}

.hm-singers-grid button,
.hm-singers-grid .hm-singers-grid__chip {
	-webkit-appearance: none !important;
	appearance: none !important;
	box-sizing: border-box !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	cursor: pointer !important;
}

/* === Header === */
.hm-singers-grid__header {
	margin-bottom: clamp(1rem, 2.5vw, 1.75rem);
}

.hm-singers-grid__pr-actions {
	display: flex;
	justify-content: flex-start;
	margin-bottom: 1rem;
}

.hm-singers-grid__add-singer {
	display: inline-flex;
	align-items: center;
	padding: 10px 22px;
	border-radius: var(--hm-sg-radius-pill);
	background: var(--hm-sg-brand) !important;
	color: #fff !important;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none !important;
	transition: opacity 0.2s ease;
}

.hm-singers-grid__add-singer:hover {
	opacity: 0.9;
	color: #fff !important;
}

.hm-singers-grid__title-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 0.5rem;
}

.hm-singers-grid__seo-intro {
	margin: 0 0 1.25rem;
	max-width: 40rem;
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--hm-sg-muted, #6b7280);
}

.hm-singers-grid__title {
	margin: 0;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 800;
	line-height: 1.15;
	color: var(--hm-sg-heading) !important;
	letter-spacing: -0.02em;
}

.hm-singers-grid__count {
	margin: 0;
	display: inline-flex;
	align-items: baseline;
	gap: 0.35rem;
	color: var(--hm-sg-text-muted) !important;
	font-size: 0.95rem;
	font-weight: 500;
}

.hm-singers-grid__count-num {
	font-weight: 700;
	color: var(--hm-sg-text) !important;
}

/* === Search === */
.hm-singers-grid__search-wrap {
	position: relative;
	max-width: 420px;
	margin-bottom: 1rem;
}

.hm-singers-grid__search-label {
	position: absolute;
	inset-inline-end: 1rem;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	pointer-events: none;
	color: var(--hm-sg-text-muted);
}

.hm-singers-grid__search-icon {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.hm-singers-grid__search {
	display: block !important;
	width: 100% !important;
	padding-block: 0.85rem !important;
	padding-inline-start: 1rem !important;
	padding-inline-end: 2.75rem !important;
	border: 1px solid var(--hm-sg-border) !important;
	border-radius: var(--hm-sg-radius-pill) !important;
	background: var(--hm-sg-search-bg) !important;
	color: var(--hm-sg-text) !important;
	font-size: 0.95rem !important;
	font-weight: 500 !important;
	transition: border-color var(--hm-sg-transition), background var(--hm-sg-transition);
}

.hm-singers-grid__search::placeholder {
	color: var(--hm-sg-text-muted) !important;
	opacity: 1 !important;
}

.hm-singers-grid__search:focus {
	outline: none !important;
	border-color: var(--hm-sg-brand) !important;
}

.hm-singers-grid__search:focus-visible {
	outline: 2px solid var(--hm-sg-brand) !important;
	outline-offset: 2px !important;
}

/* === Filters === */
.hm-singers-grid__filters {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 0.5rem !important;
	width: 100% !important;
}

/* ז׳אנרים ליד תפקיד — בלי stretch שדוחף הצידה */
.hm-singers-grid .hm-tax-filters {
	display: inline-flex !important;
	flex: 0 0 auto !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	gap: 0.5rem !important;
}

.hm-singers-grid .hm-tax-filter {
	flex: 0 0 auto !important;
}

.hm-singers-grid .hm-tax-filter__btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	padding: 0.55rem 1.1rem !important;
	min-height: unset !important;
	height: auto !important;
	border: 1px solid var(--hm-sg-border) !important;
	border-radius: var(--hm-sg-radius-pill) !important;
	background: var(--hm-sg-chip-bg) !important;
	background-color: var(--hm-sg-chip-bg) !important;
	color: var(--hm-sg-text) !important;
	font-size: 0.85rem !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	box-shadow: none !important;
}

.hm-singers-grid .hm-tax-filter__btn:hover {
	border-color: var(--hm-sg-brand) !important;
	background: var(--hm-sg-chip-bg) !important;
	color: var(--hm-sg-text) !important;
	transform: translateY(-1px) !important;
}

.hm-singers-grid .hm-tax-filter.is-open .hm-tax-filter__btn,
.hm-singers-grid .hm-tax-filter.has-value .hm-tax-filter__btn {
	background: var(--hm-sg-chip-active-bg) !important;
	background-color: var(--hm-sg-chip-active-bg) !important;
	color: var(--hm-sg-chip-active-text) !important;
	border-color: transparent !important;
	box-shadow: 0 2px 8px rgba(32, 33, 90, 0.18) !important;
}

.hm-singers-grid .hm-tax-filter__count[hidden] {
	display: none !important;
}

.hm-singers-grid .hm-singers-grid__select,
.hm-singers-grid .hm-singers-grid__sort-label,
.hm-singers-grid .hm-singers-grid__filter-sep,
.hm-singers-grid .hm-singers-grid__chip {
	flex: 0 0 auto !important;
}

.hm-singers-grid__chip {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0.55rem 1.1rem !important;
	border: 1px solid var(--hm-sg-border) !important;
	border-radius: var(--hm-sg-radius-pill) !important;
	background: var(--hm-sg-chip-bg) !important;
	color: var(--hm-sg-text) !important;
	font-size: 0.85rem !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	min-height: unset !important;
	height: auto !important;
	width: auto !important;
	transition: background var(--hm-sg-transition), color var(--hm-sg-transition), border-color var(--hm-sg-transition), transform var(--hm-sg-transition);
}

.hm-singers-grid__chip:hover {
	border-color: var(--hm-sg-brand) !important;
	transform: translateY(-1px);
}

.hm-singers-grid__chip.is-active {
	background: var(--hm-sg-chip-active-bg) !important;
	color: var(--hm-sg-chip-active-text) !important;
	border-color: transparent !important;
	box-shadow: 0 2px 8px rgba(32, 33, 90, 0.18);
}

.hm-singers-grid__chip:focus-visible {
	outline: 2px solid var(--hm-sg-brand) !important;
	outline-offset: 2px !important;
}

.hm-singers-grid__sort-label {
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--hm-sg-text-muted, #666);
	align-self: center;
	margin-inline-start: 0.5rem;
	white-space: nowrap;
}

.hm-singers-grid__filter-sep {
	display: inline-block;
	width: 1px;
	align-self: stretch;
	min-height: 1.6rem;
	margin-inline: 0.35rem;
	background: var(--hm-sg-border);
	align-self: center;
	height: 1.4rem;
}

.hm-singers-grid__select {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	padding: 0.55rem 1.1rem 0.55rem 2rem;
	border: 1px solid var(--hm-sg-border);
	border-radius: var(--hm-sg-radius-pill);
	background-color: var(--hm-sg-chip-bg);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 0.65rem center;
	background-size: 14px 14px;
	color: var(--hm-sg-text);
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	max-width: 12rem;
	transition: background-color var(--hm-sg-transition), border-color var(--hm-sg-transition), color var(--hm-sg-transition), transform var(--hm-sg-transition);
}

.hm-singers-grid__select:hover {
	border-color: var(--hm-sg-brand);
	transform: translateY(-1px);
}

.hm-singers-grid__select:focus {
	outline: none;
	border-color: var(--hm-sg-brand);
	box-shadow: 0 0 0 2px rgba(32, 33, 90, 0.12);
}

.hm-singers-grid__select.is-active {
	background-color: var(--hm-sg-chip-active-bg);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
	color: var(--hm-sg-chip-active-text);
	border-color: transparent;
	box-shadow: 0 2px 8px rgba(32, 33, 90, 0.18);
}

html[data-hm-theme="dark"] .hm-singers-grid__select.is-active {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230b0b24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
}

.hm-singers-grid__chip-arrow {
	margin-inline-start: 0.25rem;
	opacity: 0.6;
	transition: opacity var(--hm-sg-transition);
}

.hm-singers-grid__chip.is-active .hm-singers-grid__chip-arrow {
	opacity: 1;
}

.hm-singers-grid__chip-arrow.is-up {
	transform: rotate(0deg);
}

/* === Grid === */
.hm-singers-grid__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem) clamp(0.75rem, 2vw, 1.5rem);
}

@media (min-width: 640px) {
	.hm-singers-grid__grid {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	}
}

@media (min-width: 1024px) {
	.hm-singers-grid__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

/* === Card - Spotify-style circle + name + role === */
.hm-singers-grid__card-wrap {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
}

.hm-singers-grid__follow-wrap {
	position: absolute;
	z-index: 4;
	top: 0.35rem;
	inset-inline-start: calc(50% + var(--hm-sg-avatar) / 2 - 1.1rem);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.hm-singers-grid button.hm-singers-grid__follow,
.hm-singers-grid .hm-singers-grid__follow {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 2.15rem !important;
	height: 2.15rem !important;
	min-width: 2.15rem !important;
	min-height: 2.15rem !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 50% !important;
	border: 1.5px solid var(--hm-sg-border) !important;
	background: var(--hm-sg-surface) !important;
	color: var(--hm-sg-heading) !important;
	box-shadow: 0 4px 14px rgba(32, 33, 90, 0.12) !important;
	cursor: pointer !important;
	transition:
		transform 0.2s ease,
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		box-shadow 0.2s ease !important;
	line-height: 1 !important;
}

.hm-singers-grid button.hm-singers-grid__follow:hover,
.hm-singers-grid .hm-singers-grid__follow:hover {
	transform: scale(1.08) !important;
	border-color: var(--hm-sg-brand) !important;
	color: var(--hm-sg-brand) !important;
	box-shadow: 0 6px 18px rgba(203, 30, 83, 0.18) !important;
}

.hm-singers-grid button.hm-singers-grid__follow:focus-visible,
.hm-singers-grid .hm-singers-grid__follow:focus-visible {
	outline: 2px solid var(--hm-sg-accent) !important;
	outline-offset: 2px !important;
}

.hm-singers-grid button.hm-singers-grid__follow.is-following,
.hm-singers-grid .hm-singers-grid__follow.is-following {
	background: var(--hm-sg-brand) !important;
	border-color: var(--hm-sg-brand) !important;
	color: #fff !important;
	box-shadow: 0 6px 18px rgba(203, 30, 83, 0.28) !important;
}

.hm-singers-grid button.hm-singers-grid__follow.is-following:hover,
.hm-singers-grid .hm-singers-grid__follow.is-following:hover {
	filter: brightness(1.05);
	color: #fff !important;
}

.hm-singers-grid button.hm-singers-grid__follow.is-locked,
.hm-singers-grid .hm-singers-grid__follow.is-locked {
	opacity: 0.92;
}

.hm-singers-grid__follow-icon {
	display: none;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
}

.hm-singers-grid__follow-icon--outline {
	display: inline-flex;
}

.hm-singers-grid__follow.is-following .hm-singers-grid__follow-icon--outline {
	display: none;
}

.hm-singers-grid__follow.is-following .hm-singers-grid__follow-icon--fill {
	display: inline-flex;
}

.hm-singers-grid__follow-icon svg {
	display: block;
	width: 18px;
	height: 18px;
}

.hm-singers-grid__follow-tip {
	position: absolute;
	top: calc(100% + 0.45rem);
	inset-inline-start: auto;
	inset-inline-end: 0;
	width: min(15.5rem, 72vw);
	padding: 0.7rem 0.8rem;
	border-radius: 12px;
	background: var(--hm-sg-surface);
	border: 1px solid var(--hm-sg-border);
	box-shadow: var(--hm-sg-shadow);
	color: var(--hm-sg-text);
	text-align: start;
	animation: hm-sg-follow-tip-in 0.22s ease;
	z-index: 6;
}

@keyframes hm-sg-follow-tip-in {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hm-singers-grid__follow-tip::before {
	content: "";
	position: absolute;
	top: -6px;
	inset-inline-start: auto;
	inset-inline-end: 0.85rem;
	width: 10px;
	height: 10px;
	background: var(--hm-sg-surface);
	border-top: 1px solid var(--hm-sg-border);
	border-inline-end: 1px solid var(--hm-sg-border);
	transform: rotate(45deg);
}

.hm-singers-grid__follow-tip-text {
	margin: 0 0 0.45rem;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--hm-sg-heading);
}

.hm-singers-grid__follow-tip-link {
	display: inline-block;
	margin-top: 0.2rem;
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--hm-sg-brand) !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
}

.hm-singers-grid__follow-tip-link--premium {
	color: var(--hm-sg-accent) !important;
}

.hm-singers-grid__follow-tip-link:hover {
	opacity: 0.88;
}

html[data-hm-theme="dark"] .hm-singers-grid button.hm-singers-grid__follow,
html[data-hm-theme="dark"] .hm-singers-grid .hm-singers-grid__follow {
	background: rgba(255, 255, 255, 0.1) !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
	color: #fff !important;
}

html[data-hm-theme="dark"] .hm-singers-grid button.hm-singers-grid__follow.is-following,
html[data-hm-theme="dark"] .hm-singers-grid .hm-singers-grid__follow.is-following {
	background: var(--hm-sg-brand) !important;
	color: #fff !important;
}

.hm-singers-grid__card-wrap:has(.hm-singers-grid__yt-swap) .hm-singers-grid__avatar {
	margin-bottom: 1.15rem;
}

.hm-singers-grid__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	text-decoration: none !important;
	color: var(--hm-sg-text) !important;
	gap: 0.65rem;
	padding: 0.5rem 0.25rem;
	border-radius: var(--hm-sg-radius);
	transition: transform var(--hm-sg-transition);
	min-width: 0;
	width: 100%;
}

.hm-singers-grid__card:hover {
	transform: scale(1.04);
}

.hm-singers-grid__avatar {
	position: relative;
	display: block;
	width: var(--hm-sg-avatar);
	height: var(--hm-sg-avatar);
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	background: var(--hm-sg-surface-soft);
	box-shadow:
		0 0 0 1px var(--hm-sg-avatar-ring),
		0 8px 28px var(--hm-sg-avatar-glow);
	transition: box-shadow var(--hm-sg-transition);
}

.hm-singers-grid__card:hover .hm-singers-grid__avatar {
	box-shadow:
		0 0 0 2px var(--hm-sg-brand),
		0 12px 36px var(--hm-sg-avatar-glow);
}

.hm-singers-grid__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
}

.hm-singers-grid__yt-swap {
	position: absolute;
	z-index: 2;
	top: calc(var(--hm-sg-avatar) - 18px);
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: 0.2rem 0.35rem;
	border-radius: 999px;
	background: rgba(20, 20, 20, 0.88);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
	max-width: calc(100% - 0.5rem);
}

.hm-singers-grid__yt-thumb {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
	border: 1.5px solid #ff0000;
	flex-shrink: 0;
	background: #333;
}

.hm-singers-grid__yt-thumb--empty {
	display: inline-block;
	box-sizing: border-box;
	background: #222;
	border-color: #c00;
}

.hm-singers-grid__yt-swap-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 !important;
	padding: 0.2rem 0.45rem !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #ff0000 !important;
	color: #fff !important;
	font-size: 0.68rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	cursor: pointer !important;
	white-space: nowrap !important;
	width: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	box-shadow: none !important;
}

.hm-singers-grid__yt-swap-btn:hover {
	filter: brightness(1.08);
}

.hm-singers-grid__yt-swap-btn:disabled {
	opacity: 0.7;
	cursor: wait !important;
}

.hm-singers-grid__yt-toast {
	position: fixed;
	z-index: 99999;
	bottom: 1.25rem;
	left: 50%;
	transform: translateX(-50%) translateY(120%);
	max-width: min(90vw, 360px);
	padding: 0.65rem 1rem;
	border-radius: 10px;
	background: #1a1a1a;
	color: #fff;
	font-size: 0.9rem;
	text-align: center;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
	opacity: 0;
	pointer-events: none;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.hm-singers-grid__yt-toast.is-visible {
	transform: translateX(-50%) translateY(0);
	opacity: 1;
}

.hm-singers-grid__yt-toast.is-error {
	background: #8b1a1a;
}

.hm-singers-grid__name {
	display: block;
	width: 100%;
	font-size: clamp(0.9rem, 1.8vw, 1rem);
	font-weight: 700;
	line-height: 1.25;
	color: var(--hm-sg-text) !important;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hm-singers-grid__role {
	display: -webkit-box;
	width: 100%;
	font-size: 0.82rem;
	font-weight: 500;
	line-height: 1.25;
	color: var(--hm-sg-text-muted) !important;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.hm-singers-grid__meta-sep,
.hm-singers-grid__songs {
	font-weight: 500;
	color: inherit;
}

.hm-singers-grid__empty {
	grid-column: 1 / -1;
	margin: 2rem 0;
	text-align: center;
	color: var(--hm-sg-text-muted) !important;
	font-size: 1rem;
}

/* === Infinite scroll sentinel === */
.hm-singers-grid__footer {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 4.5rem;
	margin-top: 1.75rem;
	padding: 0.5rem 0 1.25rem;
}

.hm-singers-grid__infinite {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease;
	color: var(--hm-sg-muted, #6b7280);
	font-size: 0.9rem;
	font-weight: 600;
}

.hm-singers-grid__footer.is-busy .hm-singers-grid__infinite {
	opacity: 1;
	visibility: visible;
}

.hm-singers-grid__spinner {
	width: 1.15rem;
	height: 1.15rem;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: hm-sg-spin 0.7s linear infinite;
}

@keyframes hm-sg-spin {
	to {
		transform: rotate(360deg);
	}
}

.hm-singers-grid.is-loading .hm-singers-grid__grid {
	opacity: 0.55;
	pointer-events: none;
	transition: opacity var(--hm-sg-transition);
}

.hm-singers-grid-notice {
	direction: rtl;
	font-family: var(--hm-sg-font) !important;
	padding: 1rem;
}

/* === Elementor overrides === */
.elementor-widget-shortcode .hm-singers-grid button.hm-singers-grid__chip,
.elementor-element .hm-singers-grid button.hm-singers-grid__chip {
	width: auto !important;
	min-width: unset !important;
}

.elementor-widget-shortcode .hm-singers-grid,
.elementor-widget-shortcode .hm-singers-grid *,
.elementor-element .hm-singers-grid,
.elementor-element .hm-singers-grid * {
	font-family: "פולין", "Polin", sans-serif !important;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}