/* Hamenagen - כפתור סגירת באנר (כפיית עיצוב מול Elementor / תבנית) */

.hm-ad-banner,
aside.hm-ad-banner,
.hm-home .hm-ad-banner,
.hm-post .hm-ad-banner,
.elementor-widget-shortcode .hm-ad-banner,
.elementor-element .hm-ad-banner {
	position: relative !important;
	padding: 0 !important;
	border: none !important;
	box-sizing: border-box !important;
}

.hm-ad-banner button.hm-ad-banner__close,
.hm-ad-banner button.hm-ad-banner__close[type="button"],
button.hm-ad-banner__close,
.hm-home .hm-ad-banner button.hm-ad-banner__close,
.hm-post .hm-ad-banner button.hm-ad-banner__close,
.hm-post aside.hm-ad-banner button.hm-ad-banner__close,
.elementor-widget-shortcode .hm-ad-banner button.hm-ad-banner__close,
.elementor-element .hm-ad-banner button.hm-ad-banner__close {
	-webkit-appearance: none !important;
	appearance: none !important;
	position: absolute !important;
	top: 12px !important;
	inset-inline-start: 12px !important;
	inset-inline-end: auto !important;
	right: auto !important;
	left: 12px !important;
	bottom: auto !important;
	z-index: 20 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 28px !important;
	min-width: 28px !important;
	max-width: 28px !important;
	height: 28px !important;
	min-height: 28px !important;
	max-height: 28px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 50% !important;
	background: rgba(0, 0, 0, 0.62) !important;
	background-color: rgba(0, 0, 0, 0.62) !important;
	background-image: none !important;
	color: #fff !important;
	font-family: Arial, sans-serif !important;
	font-size: 20px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	text-align: center !important;
	text-decoration: none !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	box-shadow: none !important;
	cursor: pointer !important;
	opacity: 1 !important;
	transform: none !important;
	transition: background 0.15s ease, transform 0.15s ease !important;
	box-sizing: border-box !important;
	float: none !important;
	overflow: visible !important;
}

[dir="rtl"] .hm-ad-banner button.hm-ad-banner__close,
[dir="rtl"] button.hm-ad-banner__close {
	left: 12px !important;
	right: auto !important;
}

.hm-ad-banner button.hm-ad-banner__close:hover,
.hm-ad-banner button.hm-ad-banner__close:focus,
.hm-ad-banner button.hm-ad-banner__close:focus-visible,
button.hm-ad-banner__close:hover,
button.hm-ad-banner__close:focus,
button.hm-ad-banner__close:focus-visible {
	background: rgba(0, 0, 0, 0.82) !important;
	background-color: rgba(0, 0, 0, 0.82) !important;
	color: #fff !important;
	transform: scale(1.05) !important;
	outline: none !important;
	box-shadow: none !important;
	border: none !important;
}

.hm-ad-banner button.hm-ad-banner__close span,
button.hm-ad-banner__close span {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	height: auto !important;
	line-height: 1 !important;
	color: inherit !important;
	font-size: inherit !important;
	font-family: inherit !important;
	background: none !important;
	border: none !important;
	box-shadow: none !important;
}

.hm-ad-banner--homepage,
.hm-home .hm-ad-banner--homepage {
	display: block !important;
	margin: 1.5rem 0 !important;
}

.hm-ad-banner--homepage-hero,
.hm-home-hero .hm-ad-banner--homepage-hero {
	display: block !important;
}

.hm-ad-banner--singer,
.hm-singer-archive .hm-ad-banner--singer {
	display: block !important;
	margin: 1.25rem 0 1.5rem !important;
	width: 100% !important;
}

.hm-ad-banner--events,
.hm-events-archive .hm-ad-banner--events,
.hm-ad-banner--music-map,
.hm-ad-banner--music-news-archive {
	display: block !important;
	margin: 1.5rem 0 0 !important;
	width: 100% !important;
}

.hm-ad-banner--singer .hm-ad-creative-banner,
.hm-ad-banner--singer .hm-ad-creative-banner img,
.hm-ad-banner--events .hm-ad-creative-banner,
.hm-ad-banner--events .hm-ad-creative-banner img,
.hm-ad-banner--music-map .hm-ad-creative-banner,
.hm-ad-banner--music-map .hm-ad-creative-banner img,
.hm-ad-banner--music-news-archive .hm-ad-creative-banner,
.hm-ad-banner--music-news-archive .hm-ad-creative-banner img,
.hm-singer-archive .hm-ad-banner--singer .hm-ad-creative-banner,
.hm-singer-archive .hm-ad-banner--singer .hm-ad-creative-banner img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
}

.hm-magazine-archive-ad-image .hm-ad-rotator,
.hm-magazine-archive-ad-image .hm-ad-creative-banner,
.hm-magazine-archive-ad-image .hm-ad-creative-banner img,
.hm-chizuk-ad-image .hm-ad-rotator,
.hm-chizuk-ad-image .hm-ad-creative-banner,
.hm-chizuk-ad-image .hm-ad-creative-banner img,
.hm-va-ad-image .hm-ad-rotator,
.hm-va-ad-image .hm-ad-creative-banner,
.hm-va-ad-image .hm-ad-creative-banner img,
.hm-mna-ad-image .hm-ad-rotator,
.hm-mna-ad-image .hm-ad-creative-banner,
.hm-mna-ad-image .hm-ad-creative-banner img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
}

.hm-magazine-archive-ad-image .hm-ad-creative-banner img,
.hm-chizuk-ad-image .hm-ad-creative-banner img,
.hm-mna-ad-image .hm-ad-creative-banner img,
.hm-va-ad-image .hm-ad-creative-banner img {
	object-fit: contain !important;
}

.hm-va-ad-card {
	background: #f8f8fa !important;
	border: 1px dashed #ddd !important;
	border-radius: 16px !important;
	padding: 16px !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 280px !important;
	position: relative !important;
}

.hm-va-ad-image {
	width: 100% !important;
	max-width: 280px !important;
	aspect-ratio: 1 / 1 !important;
	border-radius: 12px !important;
	overflow: hidden !important;
	background: #fff !important;
}

.hm-va-ad-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
	display: block !important;
}

.hm-va-ad-label {
	margin-top: 10px !important;
	font-size: 11px !important;
	color: #aaa !important;
}

.hm-ad-banner--archive,
.hm-programs-archive .hm-ad-banner--archive {
	display: block !important;
}

.hm-ad-banner--homepage .hm-home__mail-banner,
.hm-home .hm-ad-banner--homepage .hm-home__mail-banner {
	margin: 0 !important;
}