/**
 * Hamenagen - Hero עמוד בית (Dark / Light)
 * פונט: פולין בלבד | כפתורים/אינפוטים: !important מול דריסות ערכת נושא
 */

/* === רוחב מלא - פריצה ממכל עטיפת Elementor/תבנית === */
.hm-homepage {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	overflow-x: clip;
	position: relative;
}

.hm-home-hero {
	--hm-hero-brand: #cb1e53;
	--hm-hero-brand-glow: rgba(203, 30, 83, 0.45);
	--hm-hero-radius: 16px;
	--hm-hero-radius-pill: 999px;
	--hm-hero-transition: 0.25s ease;
	--hm-hero-font: "פולין";

	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	overflow: hidden;
	overflow-x: clip;
	font-family: "פולין" !important;
	direction: rtl;
	color: var(--hm-hero-text);
	background: var(--hm-hero-bg);
	transition: background var(--hm-hero-transition), color var(--hm-hero-transition);
}

/* פונט פולין על כל תוכן ההירו */
.hm-home-hero,
.hm-home-hero *,
.hm-home-hero *::before,
.hm-home-hero *::after,
.hm-home-hero input,
.hm-home-hero button,
.hm-home-hero textarea,
.hm-home-hero select,
.hm-home-hero .sls-results,
.hm-home-hero .sls-item {
	font-family: "פולין" !important;
}

.hm-home-hero *,
.hm-home-hero *::before,
.hm-home-hero *::after {
	box-sizing: border-box;
}

/* === כפיית עיצוב כפתורים ואינפוטים (דריסות Elementor / WP) === */
.hm-home-hero input[type="search"],
.hm-home-hero input[type="text"],
.hm-home-hero .hm-home-hero__search-input,
.hm-home-hero .sls-search-input {
	-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: var(--hm-hero-shadow) !important;
}

.hm-home-hero button,
.hm-home-hero [type="button"],
.hm-home-hero a.hm-home-hero__btn,
.hm-home-hero .hm-home-hero__btn,
.hm-home-hero .hm-home-hero__theme-toggle,
.hm-home-hero .hm-home-hero__carousel-btn,
.hm-home-hero .hm-home-hero__show-all,
.hm-home-hero .hm-home-hero__quick-link,
.hm-home-hero .hm-home-hero__modal-close,
.hm-home-hero .hm-hero-plcard__play,
.hm-home-hero .hm-hero-song-tile__play,
.hm-home-hero .hm-hero-song-rank__play {
	-webkit-appearance: none !important;
	appearance: none !important;
	box-sizing: border-box !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	text-decoration: none !important;
	line-height: 1.3 !important;
	min-height: unset !important;
}

.hm-home-hero--dark {
	--hm-hero-bg: #16162E;
	--hm-hero-bg-soft: #12121f;
	--hm-hero-surface: rgba(255, 255, 255, 0.06);
	--hm-hero-surface-hover: rgba(255, 255, 255, 0.1);
	--hm-hero-border: rgba(255, 255, 255, 0.1);
	--hm-hero-text: #f5f5f7;
	--hm-hero-text-muted: rgba(245, 245, 247, 0.65);
	--hm-hero-search-bg: rgba(255, 255, 255, 0.95);
	--hm-hero-search-text: #1a1a2e;
	--hm-hero-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}

.hm-home-hero--light {
	--hm-hero-bg: #f4f5f8;
	--hm-hero-bg-soft: #ffffff;
	--hm-hero-surface: #ffffff;
	--hm-hero-surface-hover: #f7f6ff;
	--hm-hero-border: rgba(32, 33, 90, 0.1);
	--hm-hero-text: #20215a;
	--hm-hero-text-muted: #666;
	--hm-hero-search-bg: #ffffff;
	--hm-hero-search-text: #20215a;
	--hm-hero-shadow: 0 8px 32px rgba(32, 33, 90, 0.12);
}

/* רקע */
.hm-home-hero__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
}

.hm-home-hero--dark .hm-home-hero__bg {
	background:
		radial-gradient(ellipse 80% 50% at 50% -10%, rgba(203, 30, 83, 0.18), transparent 55%),
		radial-gradient(ellipse 60% 40% at 90% 80%, rgba(38, 35, 90, 0.5), transparent 50%),
		var(--hm-hero-bg);
}

.hm-home-hero--light .hm-home-hero__bg {
	background:
		radial-gradient(ellipse 70% 45% at 50% 0%, rgba(203, 30, 83, 0.08), transparent 55%),
		var(--hm-hero-bg);
}

.hm-home-hero__wave {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 120px;
	opacity: 0.15;
	background: repeating-linear-gradient(90deg,
			transparent,
			transparent 8px,
			var(--hm-hero-brand) 8px,
			var(--hm-hero-brand) 10px);
	mask-image: linear-gradient(to top, black, transparent);
}

/* טוגל מצב */
.hm-home-hero__theme-toggle {
	position: fixed;
	top: 50%;
	left: 1rem;
	transform: translateY(-50%);
	z-index: 100;
	width: 44px !important;
	height: 44px !important;
	padding: 0 !important;
	border-radius: 50% !important;
	border: 1px solid var(--hm-hero-border) !important;
	background: var(--hm-hero-surface) !important;
	color: var(--hm-hero-text) !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: var(--hm-hero-shadow) !important;
	transition: transform var(--hm-hero-transition), background var(--hm-hero-transition);
}

.hm-home-hero__theme-toggle:hover {
	transform: translateY(-50%) scale(1.06);
	background: var(--hm-hero-surface-hover);
}

.hm-home-hero__theme-toggle svg {
	width: 20px;
	height: 20px;
}

.hm-home-hero--dark .hm-home-hero__theme-icon--light,
.hm-home-hero--light .hm-home-hero__theme-icon--dark {
	display: none;
}

/* מבנה פנימי - רוחב מלא עם ריווח צדדי */
.hm-home-hero__inner {
	position: relative;
	z-index: 1;
	width: 100% !important;
	max-width: none !important;
	margin: 0 auto;
	padding: clamp(0.65rem, 1.8vw, 1.1rem) clamp(1.25rem, 4vw, 3rem) 3rem;
}

/* באנר חשיפה גבוהה מעל הכותרת */
.hm-home-hero .hm-ad-banner--homepage-hero {
	display: block !important;
	position: relative !important;
	width: 100% !important;
	max-width: 1100px;
	margin: 0 auto clamp(1.25rem, 3vw, 1.75rem) !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 12px;
	overflow: visible;
	line-height: 0;
}

/* כפתור X בתוך גבולות הבאנר (לא בולט החוצה) */
.hm-home-hero .hm-ad-banner--homepage-hero>.hm-ad-banner__close,
.hm-home-hero .hm-ad-banner--homepage-hero button.hm-ad-banner__close {
	top: 12px !important;
	left: 12px !important;
	right: auto !important;
	bottom: auto !important;
	inset-inline-start: 12px !important;
	inset-inline-end: auto !important;
	margin: 0 !important;
	transform: none !important;
}

.hm-home-hero .hm-ad-banner--homepage-hero .hm-ad-creative-banner,
.hm-home-hero .hm-ad-banner--homepage-hero .hm-ad-creative-banner img,
.hm-home-hero .hm-ad-banner--homepage-hero .hm-ad-rotator {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	margin: 0 !important;
}

.hm-home-hero .hm-ad-banner--homepage-hero .hm-ad-creative-banner,
.hm-home-hero .hm-ad-banner--homepage-hero .hm-ad-rotator {
	border-radius: 12px;
	background: linear-gradient(110deg, #e8eaf2 0%, #f4f5fa 45%, #e8eaf2 100%);
	background-size: 200% 100%;
	min-height: clamp(72px, 12vw, 140px);
	overflow: hidden;
}

.hm-home-hero .hm-ad-banner--homepage-hero .hm-ad-creative-banner img {
	border-radius: 12px;
	object-fit: contain;
	vertical-align: middle;
}

/* פתיחה */
.hm-home-hero__intro {
	text-align: center;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.hm-home-hero__headline {
	margin: 0 0 0.75rem;
	font-size: clamp(1.75rem, 4.5vw, 3rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.hm-home-hero__headline-accent {
	color: var(--hm-hero-brand);
}

.hm-home-hero__subline {
	/* margin: 0 0 1.75rem; */
	font-size: clamp(0.95rem, 2vw, 1.15rem);
	color: var(--hm-hero-text-muted);
}

/* חיפוש */
.hm-home-hero__search {
	position: relative;
	max-width: 640px;
	margin: 0 auto 1.25rem;
	z-index: 1111;
}

.hm-home-hero__search-icon {
	position: absolute;
	right: 1.25rem;
	top: 65%;
	transform: translateY(-50%);
	width: 22px;
	height: 22px;
	color: var(--hm-hero-text-muted);
	pointer-events: none;
	z-index: 2;
}

.hm-home-hero__search-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.hm-home-hero__search-input {
	width: 100% !important;
	padding: 1rem 3rem 1rem 1.25rem !important;
	margin: 0 !important;
	border: none !important;
	border-radius: var(--hm-hero-radius-pill) !important;
	background: var(--hm-hero-search-bg) !important;
	color: var(--hm-hero-search-text) !important;
	font-size: 1rem !important;
	font-weight: 400 !important;
	box-shadow: var(--hm-hero-shadow) !important;
	outline: none !important;
	transition: box-shadow var(--hm-hero-transition);
}

.hm-home-hero__search-input:focus {
	box-shadow: 0 0 0 3px var(--hm-hero-brand-glow), var(--hm-hero-shadow) !important;
	border: none !important;
}

.hm-home-hero__search-input::placeholder {
	color: rgba(32, 33, 90, 0.45) !important;
	opacity: 1 !important;
}

.hm-home-hero__search-results.sls-results {
	background: var(--hm-hero-search-bg);
	color: var(--hm-hero-search-text);
	border-radius: var(--hm-hero-radius);
	border: 1px solid var(--hm-hero-border);
}

/* כפתורי פעולה */
.hm-home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

.hm-home-hero__btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem !important;
	margin: 0 !important;
	border-radius: var(--hm-hero-radius-pill) !important;
	font-size: 0.95rem !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	white-space: nowrap;
	cursor: pointer !important;
	border: 2px solid transparent !important;
	transition: transform var(--hm-hero-transition), background var(--hm-hero-transition), border-color var(--hm-hero-transition);
}

.hm-home-hero__btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	line-height: 0;
}

.hm-home-hero__btn-text {
	line-height: 1;
}

.hm-home-hero__btn:hover {
	transform: translateY(-2px);
}

.hm-home-hero__btn-icon svg {
	width: 18px;
	height: 18px;
	display: block;
	flex-shrink: 0;
}

.hm-home-hero__btn--primary {
	background: var(--hm-hero-brand) !important;
	color: #fff !important;
	border-color: var(--hm-hero-brand) !important;
}

.hm-home-hero__btn--primary:hover {
	filter: brightness(1.08);
}

.hm-home-hero__btn--ghost {
	background: transparent !important;
	color: var(--hm-hero-text) !important;
	border-color: var(--hm-hero-border) !important;
}

.hm-home-hero--dark .hm-home-hero__btn--ghost {
	background: rgba(255, 255, 255, 0.04) !important;
}

.hm-home-hero__btn--ghost:hover {
	border-color: var(--hm-hero-brand) !important;
}

/* בלוקים */
.hm-home-hero__block {
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.hm-home-hero__block-head,
.hm-home-hero__col-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.hm-home-hero__block-head>p {
	display: none;
	margin: 0;
	padding: 0;
}

.hm-home-hero__block-title,
.hm-home-hero__col-title {
	margin: 0;
	font-size: clamp(1.1rem, 2.2vw, 1.35rem);
	font-weight: 700;
	display: inline-flex;
	align-items: flex-end;
	gap: 0.5rem;
}

.hm-home-hero__col-title-link {
	color: inherit;
	text-decoration: none;
	display: inline-flex;
	align-items: flex-end;
	gap: 0.5rem;
}

.hm-home-hero__col-title-link:hover {
	color: var(--hm-hero-brand);
}

.hm-home-hero__block-icon svg {
	width: 22px;
	height: 22px;
	color: var(--hm-hero-brand);
}

.hm-home-hero__show-all {
	background: none !important;
	border: none !important;
	color: var(--hm-hero-brand) !important;
	font-size: 0.9rem !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	padding: 0.25rem 0 !important;
	text-decoration: none !important;
}

.hm-home-hero__show-all:hover {
	text-decoration: underline;
}

/* קרוסלת פלייליסטים */
.hm-home-hero__carousel-nav {
	display: flex;
	gap: 0.5rem;
	flex-shrink: 0;
}

.hm-home-hero__carousel-btn {
	width: 36px !important;
	height: 36px !important;
	padding: 0 !important;
	border-radius: 50% !important;
	border: 1px solid var(--hm-hero-border) !important;
	background: var(--hm-hero-surface) !important;
	color: var(--hm-hero-text) !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: background var(--hm-hero-transition), border-color var(--hm-hero-transition);
}

.hm-home-hero__carousel-btn:hover:not(:disabled) {
	background: var(--hm-hero-surface-hover);
	border-color: var(--hm-hero-brand);
}

.hm-home-hero__carousel-btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.hm-home-hero__carousel-btn svg {
	width: 18px;
	height: 18px;
}

.hm-home-hero__carousel-wrap {
	position: relative;
	margin: 0 -0.5rem;
}

.hm-home-hero__carousel {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 0.5rem;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.hm-home-hero__carousel::-webkit-scrollbar {
	display: none;
}

.hm-home-hero__carousel:focus-visible {
	outline: 2px solid var(--hm-hero-brand);
	outline-offset: 4px;
	border-radius: var(--hm-hero-radius);
}

/* כרטיס פלייליסט - תמונת רקע מלאה + טקסט מעל */
.hm-hero-plcard {
	flex: 0 0 min(220px, 72vw);
	scroll-snap-align: start;
	position: relative;
	aspect-ratio: 3 / 2;
	border-radius: 12px;
	border: 2px solid rgba(255, 255, 255, 0.06);
	overflow: hidden;
	cursor: pointer;
	transition: border-color var(--hm-hero-transition), box-shadow var(--hm-hero-transition);
}

.hm-hero-plcard:hover,
.hm-hero-plcard.is-active {
	border-color: var(--hm-hero-brand);
	box-shadow: 0 0 0 1px var(--hm-hero-brand), 0 10px 28px var(--hm-hero-brand-glow);
}

.hm-hero-plcard.is-loading {
	opacity: 0.7;
	pointer-events: none;
}

.hm-hero-plcard--featured {
	border-color: var(--hm-hero-brand);
	box-shadow: 0 0 0 1px var(--hm-hero-brand), 0 12px 32px var(--hm-hero-brand-glow);
}

.hm-hero-plcard__badge {
	display: inline-block;
	margin-bottom: 0.35rem;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.02em;
	color: #fff;
	background: linear-gradient(135deg, var(--hm-hero-brand) 0%, #e85a82 100%);
	box-shadow: 0 4px 14px rgba(203, 30, 83, 0.45);
	pointer-events: none;
}

.hm-hero-plcard__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(145deg, var(--hm-hero-pl-tint, #26235a) 0%, #0a0a12 100%);
}

.hm-hero-plcard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hm-hero-plcard__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.28) 42%),
		linear-gradient(0deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 48%, rgba(0, 0, 0, 0.22) 100%);
}

.hm-hero-plcard__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 0.9rem 1rem 1rem;
}

.hm-hero-plcard__head {
	flex: 1;
	text-align: right;
}

.hm-hero-plcard__title {
	margin: 0 0 0.2rem;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.25;
	/* תמיד לבן - טקסט מעל תמונה; !important מול body.hm-header-v2-active h3 במצב בהיר */
	color: #fff !important;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.hm-hero-plcard__title-link {
	color: inherit !important;
	text-decoration: none;
	display: inline;
}

.hm-hero-plcard__title-link:hover,
.hm-hero-plcard__title-link:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hm-hero-plcard__desc {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 400;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.92) !important;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
	display: -webkit-box;
	line-clamp: 2;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hm-hero-plcard__count {
	position: absolute;
	bottom: 0.85rem;
	left: 0.85rem;
	font-size: 0.72rem;
	font-weight: 500;
	line-height: 0.4;
	color: #fff;
	background: rgba(0, 0, 0, 0.38);
	padding: 0.35rem 0.65rem;
	border-radius: var(--hm-hero-radius-pill);
	backdrop-filter: blur(4px);
}

.hm-hero-plcard__play {
	position: absolute;
	bottom: 0.75rem;
	right: 0.75rem;
	width: 40px !important;
	height: 40px !important;
	padding: 0 !important;
	border-radius: 50% !important;
	border: none !important;
	background: linear-gradient(135deg, #e91e63 0%, #cb1e53 55%, #9c27b0 100%) !important;
	color: #fff !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: 0 4px 14px rgba(203, 30, 83, 0.5) !important;
	opacity: 1;
	transform: none;
	transition: transform var(--hm-hero-transition), box-shadow var(--hm-hero-transition);
}

.hm-hero-plcard__play svg {
	width: 16px;
	height: 16px;
	margin-right: -2px;
}

.hm-hero-plcard__play:hover,
.hm-hero-plcard__play:focus-visible {
	transform: scale(1.06);
	box-shadow: 0 6px 18px rgba(203, 30, 83, 0.65) !important;
}

/* גישה מהירה */
.hm-home-hero__quick {
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
	padding: 1rem 0;
	border-top: 1px solid var(--hm-hero-border);
	border-bottom: 1px solid var(--hm-hero-border);
}

.hm-home-hero__quick-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	gap: 0.5rem 1.25rem;
}

.hm-home-hero__quick-link {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	gap: 0.4rem;
	min-width: 72px;
	padding: 0.5rem !important;
	background: none !important;
	border: none !important;
	color: var(--hm-hero-text-muted) !important;
	font-size: 0.72rem !important;
	text-decoration: none !important;
	cursor: pointer !important;
	transition: color var(--hm-hero-transition), transform var(--hm-hero-transition);
}

.hm-home-hero__quick-link:hover {
	color: var(--hm-hero-text);
	transform: translateY(-2px);
}

.hm-home-hero__quick-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--hm-hero-surface);
	border: 1px solid var(--hm-hero-border);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background var(--hm-hero-transition), border-color var(--hm-hero-transition);
}

.hm-home-hero__quick-icon svg {
	width: 20px;
	height: 20px;
}

.hm-home-hero__quick-link:hover .hm-home-hero__quick-icon {
	border-color: var(--hm-hero-brand);
	background: var(--hm-hero-surface-hover);
}

.hm-home-hero__quick-label {
	text-align: center;
	line-height: 1.2;
}

/* גריד - שורה עליונה (אמנים+חדש) ואז פופולאריים ברוחב מלא */
.hm-home-hero__grid {
	display: flex;
	flex-direction: column;
	gap: clamp(1.5rem, 3vw, 2.25rem);
}

.hm-home-hero__row--discover {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}

@media (min-width: 900px) {
	.hm-home-hero__row--discover {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
		align-items: start;
		gap: 0;
	}

	.hm-home-hero__row--discover .hm-home-hero__col--singers {
		border-left: 1px solid var(--hm-hero-border);
		padding-left: clamp(1rem, 2.5vw, 2rem);
	}

	.hm-home-hero__row--discover .hm-home-hero__col--new {
		padding-right: clamp(1rem, 2.5vw, 2rem);
	}
}

.hm-home-hero__col {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
	min-height: 0;
	min-width: 0;
}

.hm-home-hero__col--popular {
	width: 100%;
}

.hm-home-hero__col-head {
	margin-bottom: 1.1rem;
}

.hm-home-hero__col-title {
	flex-wrap: nowrap;
	white-space: nowrap;
}

.hm-home-hero__col-chevron {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 1px solid var(--hm-hero-border);
	color: var(--hm-hero-text-muted);
	flex-shrink: 0;
}

.hm-home-hero__col-chevron svg {
	width: 14px;
	height: 14px;
}

.hm-home-hero__empty {
	margin: 0;
	color: var(--hm-hero-text-muted);
	font-size: 0.9rem;
}

/* זמרים - שורה אופקית */
.hm-home-hero__singers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 0.75rem 1rem;
}

@media (min-width: 900px) {
	.hm-home-hero__singers {
		flex-wrap: nowrap;
		justify-content: center;
		gap: clamp(0.35rem, 1vw, 1rem);
		min-width: 0;
	}
}

.hm-hero-singer {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 0.2rem;
	flex: 0 0 auto;
	width: clamp(72px, 9vw, 104px);
	min-width: 0;
	max-width: 120px;
	text-decoration: none;
	color: var(--hm-hero-text);
	transition: transform var(--hm-hero-transition);
}

@media (max-width: 899px) {
	.hm-hero-singer {
		flex: 0 0 calc(33.333% - 0.5rem);
		width: auto;
	}
}

@media (min-width: 900px) {
	.hm-hero-singer {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
		max-width: 104px;
	}
}

.hm-hero-singer:hover {
	transform: scale(1.04);
}

.hm-hero-singer__avatar {
	position: relative;
	display: block;
	width: clamp(72px, 9vw, 104px);
	height: clamp(72px, 9vw, 104px);
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid var(--hm-hero-border);
	flex-shrink: 0;
	line-height: 0;
}

@media (min-width: 900px) {
	.hm-hero-singer__avatar {
		width: 100%;
		height: auto;
		max-width: 104px;
	}
}

.hm-hero-singer__avatar img,
.hm-hero-singer__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
}

.hm-hero-singer__name {
	font-size: clamp(0.82rem, 1.5vw, 0.95rem);
	font-weight: 600;
	text-align: center;
	line-height: 1.2;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* שירים - רשימה (מודל) */
.hm-home-hero__songs-tiles:not(.hm-home-hero__songs-tiles--cards) {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.hm-hero-song-tile:not(.hm-hero-song-tile--card) {
	display: grid;
	grid-template-columns: 52px 1fr auto;
	gap: 0.65rem;
	align-items: center;
}

.hm-hero-song-tile:not(.hm-hero-song-tile--card) .hm-hero-song-tile__cover {
	width: 52px;
	height: 52px;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
}

.hm-hero-song-tile__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hm-hero-song-tile__title {
	display: block;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--hm-hero-text);
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hm-hero-song-tile__title:hover {
	color: var(--hm-hero-brand);
}

.hm-hero-song-tile__artist {
	margin: 0;
	font-size: 0.75rem;
	color: var(--hm-hero-text-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hm-hero-song-artist-link {
	color: inherit;
	text-decoration: none;
	display: block;
}

.hm-hero-song-artist-link:hover {
	color: var(--hm-hero-brand);
}

/* שירים חדשים - אריחים ריבועיים בשורה */
.hm-home-hero__songs-tiles--cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(0.75rem, 2vw, 1rem);
	width: 100%;
}

@media (min-width: 900px) {
	.hm-home-hero__songs-tiles--cards {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: clamp(0.65rem, 1.2vw, 1rem);
	}
}

.hm-hero-song-tile--card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55rem;
	min-width: 0;
	width: 100%;
	text-align: center;
}

.hm-hero-song-tile--card .hm-hero-song-tile__cover {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 12px;
	overflow: hidden;
	line-height: 0;
	flex-shrink: 0;
}

.hm-hero-song-tile--card .hm-hero-song-tile__cover img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.hm-hero-song-tile--card .hm-hero-song-tile__meta {
	width: 100%;
	min-width: 0;
}

.hm-hero-song-tile--card .hm-hero-song-tile__artist {
	font-size: clamp(0.8rem, 1.3vw, 0.92rem);
	font-weight: 700;
	color: var(--hm-hero-text);
	margin: 0 0 0.15rem;
}

.hm-hero-song-tile--card .hm-hero-song-tile__title {
	font-size: clamp(0.76rem, 1.2vw, 0.88rem);
	font-weight: 500;
	color: var(--hm-hero-text-muted);
}

.hm-hero-song-tile__play {
	width: 32px !important;
	height: 32px !important;
	padding: 0 !important;
	border-radius: 50% !important;
	border: none !important;
	background: transparent !important;
	color: var(--hm-hero-text-muted) !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	opacity: 0;
	transition: opacity var(--hm-hero-transition), background var(--hm-hero-transition), color var(--hm-hero-transition);
}

.hm-hero-song-tile__play svg {
	width: 14px;
	height: 14px;
}

.hm-hero-song-tile:hover .hm-hero-song-tile__play,
.hm-hero-song-tile__play:focus-visible {
	opacity: 1;
}

.hm-hero-song-tile__play:hover {
	background: var(--hm-hero-brand) !important;
	border-color: var(--hm-hero-brand) !important;
	color: #fff !important;
}

/* פופולאריים - כרטיס שיר (מבנה hm-song-card) */
.hm-home-hero__songs-ranked,
.hm-home-hero__modal-list {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	/* overflow: hidden; */
}

.hm-home-hero__songs-ranked--featured {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}

@media (min-width: 700px) {
	.hm-home-hero__songs-ranked--featured {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.hm-home-hero__songs-ranked--featured {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 0.85rem;
	}
}

.hm-hero-song-rank {
	--hm-rank-h: clamp(56px, 9vw, 78px);
	--hm-rank-play: clamp(40px, 6.5vw, 52px);
	--hm-rank-cover: clamp(36px, 5vw, 48px);
	--hm-rank-gap: clamp(0.45rem, 1.8vw, 0.85rem);
	--hm-rank-num: clamp(1rem, 2vw, 1.35rem);
	--hm-rank-artist: clamp(0.8rem, 1.5vw, 0.95rem);
	--hm-rank-singer: clamp(0.78rem, 1.4vw, 0.95rem);
	--hm-rank-song: clamp(0.72rem, 1.2vw, 0.88rem);

	direction: ltr;
	display: flex;
	align-items: center;
	gap: var(--hm-rank-gap);
	width: 100%;
	height: var(--hm-rank-h);
	padding: 0 clamp(0.55rem, 2vw, 1rem);
	box-sizing: border-box;
	flex: 0 0 auto;
	overflow: hidden;
	border-radius: calc(var(--hm-rank-h) / 2);
	transition: border-color var(--hm-hero-transition), box-shadow var(--hm-hero-transition);
}

.hm-hero-song-rank--featured {
	--hm-rank-h: clamp(64px, 8vw, 80px);
	--hm-rank-play: clamp(42px, 5vw, 50px);
	--hm-rank-cover: clamp(38px, 4.5vw, 46px);
	--hm-rank-singer: clamp(0.82rem, 1.2vw, 0.95rem);
	--hm-rank-song: clamp(0.76rem, 1.1vw, 0.88rem);
	--hm-rank-num: clamp(1.05rem, 1.8vw, 1.3rem);
}

.hm-home-hero--dark .hm-hero-song-rank {
	/* background: linear-gradient(180deg, #071226 0%, #050d1d 100%); */
	border: 2px solid rgba(255, 255, 255, 0.055);
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.025),
		0 10px 28px rgba(0, 0, 0, 0.22);
}

.hm-home-hero--light .hm-hero-song-rank {
	background: linear-gradient(180deg, #ffffff 0%, #eef0f8 100%);
	border: 2px solid rgba(32, 33, 90, 0.08);
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.9),
		0 10px 24px rgba(32, 33, 90, 0.1);
}

.hm-hero-song-rank--modal {
	--hm-rank-h: clamp(68px, 12vw, 92px);
	--hm-rank-play: clamp(48px, 8vw, 62px);
	--hm-rank-cover: clamp(40px, 6.5vw, 52px);
	--hm-rank-gap: clamp(0.65rem, 2.5vw, 1.15rem);
	--hm-rank-num: clamp(1.1rem, 2.4vw, 1.6rem);
	--hm-rank-artist: clamp(0.85rem, 1.8vw, 1.1rem);
	--hm-rank-singer: clamp(0.8rem, 1.6vw, 1rem);
	--hm-rank-song: clamp(0.72rem, 1.4vw, 0.9rem);
}

.hm-hero-song-rank__play {
	width: var(--hm-rank-play) !important;
	height: var(--hm-rank-play) !important;
	padding: 0 !important;
	border-radius: 50% !important;
	border: 3px solid rgba(140, 112, 255, 0.25) !important;
	background: radial-gradient(circle at 50% 45%, #181641 0%, #0f1235 70%) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 auto !important;
	cursor: pointer !important;
	opacity: 1 !important;
	box-shadow:
		inset 0 0 14px rgba(130, 110, 255, 0.18),
		0 6px 18px rgba(0, 0, 0, 0.32) !important;
	transition: border-color var(--hm-hero-transition), box-shadow var(--hm-hero-transition), transform var(--hm-hero-transition) !important;
}

.hm-hero-song-rank__play svg {
	width: calc(var(--hm-rank-play) * 0.42);
	height: calc(var(--hm-rank-play) * 0.42);
	fill: none;
	stroke: #fff;
	stroke-width: 2.8;
	stroke-linejoin: round;
	transform: scaleX(-1);
}

.hm-hero-song-rank__play:hover,
.hm-hero-song-rank__play:focus-visible {
	border-color: rgba(203, 30, 83, 0.55) !important;
	box-shadow:
		inset 0 0 16px rgba(203, 30, 83, 0.22),
		0 8px 22px rgba(0, 0, 0, 0.38) !important;
	transform: scale(1.04);
}

.hm-hero-song-rank__info {
	flex: 1;
	min-width: 0;
	direction: rtl;
	text-align: right;
	line-height: 1.2;
}

.hm-hero-song-rank__singer {
	font-size: var(--hm-rank-singer);
	font-weight: 800;
	color: var(--hm-hero-text);
	margin-bottom: 0.2em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.hm-home-hero--light .hm-hero-song-rank__singer {
	text-shadow: none;
}

.hm-hero-song-rank__song {
	display: block;
	font-size: var(--hm-rank-song);
	font-weight: 700;
	color: var(--hm-hero-text-muted);
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hm-hero-song-rank__song:hover {
	color: var(--hm-hero-brand);
}

.hm-home-hero .hm-hero-song-rank__cover {
	display: block !important;
	position: relative !important;
	width: var(--hm-rank-cover) !important;
	height: var(--hm-rank-cover) !important;
	min-width: var(--hm-rank-cover) !important;
	min-height: var(--hm-rank-cover) !important;
	max-width: var(--hm-rank-cover) !important;
	max-height: var(--hm-rank-cover) !important;
	flex: 0 0 var(--hm-rank-cover) !important;
	align-self: center !important;
	border-radius: 50% !important;
	overflow: hidden !important;
	text-decoration: none !important;
	line-height: 0 !important;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.18),
		0 4px 12px rgba(0, 0, 0, 0.35);
}

.hm-home-hero--light .hm-hero-song-rank__cover {
	box-shadow:
		0 0 0 1px rgba(32, 33, 90, 0.1),
		0 4px 10px rgba(32, 33, 90, 0.12);
}

.hm-home-hero .hm-hero-song-rank__cover img {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: cover !important;
	object-position: center center !important;
	display: block !important;
	border-radius: 50% !important;
}

.hm-hero-song-rank__artist {
	direction: rtl;
	font-size: var(--hm-rank-artist);
	font-weight: 800;
	color: var(--hm-hero-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
	max-width: 28%;
	flex: 0 1 auto;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.hm-home-hero--light .hm-hero-song-rank__artist {
	text-shadow: none;
}

.hm-hero-song-rank__num {
	direction: rtl;
	font-size: var(--hm-rank-num);
	font-weight: 800;
	min-width: 1.4em;
	text-align: center;
	color: var(--hm-hero-text);
	flex: 0 0 auto;
	line-height: 1;
}

/* מודלים */
.hm-home-hero__modal {
	border: none;
	padding: 0;
	margin: auto;
	max-width: min(920px, 96vw);
	max-height: 90vh;
	width: 100%;
	background: transparent;
}

.hm-home-hero__modal::backdrop {
	background: rgba(0, 0, 0, 0.65);
	backdrop-filter: blur(4px);
}

.hm-home-hero__modal-panel {
	background: var(--hm-hero-bg-soft);
	border: 1px solid var(--hm-hero-border);
	border-radius: var(--hm-hero-radius);
	box-shadow: var(--hm-hero-shadow);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	max-height: 90vh;
}

.hm-home-hero__modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid var(--hm-hero-border);
	color: var(--hm-hero-text);
}

.hm-home-hero__modal-title {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 700;
}

.hm-home-hero__modal-close {
	width: 36px !important;
	height: 36px !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 50% !important;
	background: var(--hm-hero-surface) !important;
	color: var(--hm-hero-text) !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.hm-home-hero__modal-close svg {
	width: 18px;
	height: 18px;
}

.hm-home-hero__modal-body {
	padding: 1.25rem;
	overflow-y: auto;
}

.hm-home-hero__modal-grid--singers {
	--hm-modal-singer-avatar: 110px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem 0.5rem;
	justify-items: center;
}

@media (min-width: 900px) {
	.hm-home-hero__modal-grid--singers {
		--hm-modal-singer-avatar: 120px;
		grid-template-columns: repeat(9, minmax(0, 1fr));
	}
}

@media (max-width: 380px) {
	.hm-home-hero__modal-grid--singers {
		--hm-modal-singer-avatar: 88px;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.hm-home-hero__modal-grid--singers .hm-hero-singer--compact {
	width: 100%;
	max-width: var(--hm-modal-singer-avatar);
	min-width: 0;
	flex: none !important;
	gap: 0.2rem;
	padding: 0;
}

.hm-home-hero__modal-grid--singers .hm-hero-singer--compact .hm-hero-singer__avatar {
	width: 100%;
	max-width: var(--hm-modal-singer-avatar);
	height: auto;
	aspect-ratio: 1;
	border: none;
	background: var(--hm-hero-surface);
	box-shadow:
		0 0 0 1px var(--hm-hero-border),
		0 8px 24px rgba(0, 0, 0, 0.12);
	transition: box-shadow var(--hm-hero-transition);
}

.hm-home-hero--light .hm-home-hero__modal-grid--singers .hm-hero-singer--compact .hm-hero-singer__avatar {
	box-shadow:
		0 0 0 1px rgba(32, 33, 90, 0.12),
		0 8px 24px rgba(32, 33, 90, 0.08);
}

.hm-home-hero__modal-grid--singers .hm-hero-singer--compact:hover .hm-hero-singer__avatar {
	box-shadow:
		0 0 0 2px var(--hm-hero-brand),
		0 12px 32px var(--hm-hero-brand-glow);
}

.hm-home-hero__modal-grid--singers .hm-hero-singer--compact .hm-hero-singer__name {
	margin: 0;
	font-size: clamp(0.85rem, 1.4vw, 0.95rem);
	font-weight: 700;
	line-height: 1.15;
}

.hm-home-hero__modal-grid--singers .hm-hero-singer__role {
	display: block;
	width: 100%;
	margin: 0;
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.1;
	color: var(--hm-hero-text-muted);
	text-align: center;
}

.hm-home-hero__modal-grid--songs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(0.65rem, 1.5vw, 0.85rem);
}

@media (min-width: 540px) {
	.hm-home-hero__modal-grid--songs {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 720px) {
	.hm-home-hero__modal-grid--songs {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.hm-home-hero__modal-grid--songs .hm-hero-song-tile--card {
	gap: 0.45rem;
}

.hm-home-hero__modal-grid--songs .hm-hero-song-tile--card .hm-hero-song-tile__cover {
	border-radius: 10px;
}

.hm-home-hero__modal-grid--songs .hm-hero-song-tile--card .hm-hero-song-tile__artist,
.hm-home-hero__modal-grid--songs .hm-hero-song-tile--card .hm-hero-song-tile__title {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}


.hm-home-hero__modal-grid--singers .hm-hero-singer--compact .hm-hero-singer__avatar img,
.hm-home-hero__modal-grid--singers .hm-hero-singer--compact .hm-hero-singer__img {
	position: absolute;
	inset: 0;
}

@media (max-width: 899px) {
	.hm-home-hero__row--discover .hm-home-hero__col {
		padding-bottom: 1.75rem;
		border-bottom: 1px solid var(--hm-hero-border);
	}

	.hm-home-hero__col--popular {
		padding-bottom: 0;
		border-bottom: none;
	}

	.hm-hero-song-rank {
		--hm-rank-h: 56px;
		--hm-rank-play: 40px;
		--hm-rank-cover: 34px;
		--hm-rank-gap: 0.45rem;
		--hm-rank-num: 1rem;
		--hm-rank-artist: 0.8rem;
		--hm-rank-singer: 0.78rem;
		--hm-rank-song: 0.72rem;
		padding: 0 0.55rem;
	}

	.hm-hero-song-rank--modal {
		--hm-rank-h: 68px;
		--hm-rank-play: 48px;
		--hm-rank-cover: 40px;
	}
}

@media (max-width: 767px) {
	.hm-home-hero__theme-toggle {
		top: auto;
		bottom: 5.5rem;
		left: 0.75rem;
		transform: none;
	}

	.hm-home-hero__theme-toggle:hover {
		transform: scale(1.06);
	}
}

/* דריסת site-theme / Elementor - טקסט קריא בשדה החיפוש */
body.hm-header-v2-active .hm-home-hero .hm-home-hero__search-input,
body.hm-header-v2-active .hm-home-hero input[type="search"].sls-search-input {
	background: var(--hm-hero-search-bg) !important;
	background-color: var(--hm-hero-search-bg) !important;
	color: var(--hm-hero-search-text) !important;
	-webkit-text-fill-color: var(--hm-hero-search-text) !important;
	border: none !important;
}

body.hm-header-v2-active .hm-home-hero .hm-home-hero__search-input::placeholder,
body.hm-header-v2-active .hm-home-hero input[type="search"].sls-search-input::placeholder {
	color: rgba(32, 33, 90, 0.45) !important;
	-webkit-text-fill-color: rgba(32, 33, 90, 0.45) !important;
	opacity: 1 !important;
}