/**
 * Hamenagen - ארכיון תוכניות [hm_programs_archive]
 * כפייה מול Elementor / תבנית — !important בכללי ליבה.
 */

body.hm-programs-archive-active .site-main.hm-programs-archive-template {
	max-width: none !important;
	width: 100% !important;
	margin: 0 auto !important;
	padding: 0 !important;
	background: transparent !important;
}

.hm-home.hm-programs-archive,
.hm-programs-archive {
	max-width: 1080px !important;
	width: 100% !important;
	padding-top: 0.5rem !important;
	padding-bottom: 2rem !important;
	box-sizing: border-box !important;
	float: none !important;
}

.hm-home.hm-programs-archive .hm-programs-archive__toolbar,
.hm-programs-archive .hm-programs-archive__toolbar {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 0.85rem 1.25rem !important;
	margin: 0 0 1.25rem !important;
	width: 100% !important;
	float: none !important;
}

.hm-home.hm-programs-archive .hm-programs-archive__status,
.hm-programs-archive .hm-programs-archive__status {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
	color: var(--hm-text-muted) !important;
	width: auto !important;
}

.hm-home.hm-programs-archive .hm-programs-archive__count,
.hm-programs-archive .hm-programs-archive__count {
	font-weight: 700 !important;
	color: var(--hm-heading) !important;
}

.hm-home.hm-programs-archive .hm-programs-archive__filters,
.hm-programs-archive .hm-programs-archive__filters {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}

.hm-home.hm-programs-archive button.hm-programs-archive__chip,
.hm-programs-archive button.hm-programs-archive__chip {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0.4rem 0.85rem !important;
	border: 1px solid var(--hm-card-border) !important;
	border-radius: 999px !important;
	background: var(--hm-surface) !important;
	background-image: none !important;
	color: var(--hm-heading) !important;
	font-family: "פולין", "Polin", sans-serif !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	text-decoration: none !important;
	box-shadow: none !important;
	cursor: pointer !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

.hm-home.hm-programs-archive button.hm-programs-archive__chip svg,
.hm-programs-archive button.hm-programs-archive__chip svg {
	display: block !important;
	flex-shrink: 0 !important;
	width: 16px !important;
	height: 16px !important;
	fill: currentColor !important;
}

.hm-home.hm-programs-archive .hm-programs-archive__chip-n,
.hm-programs-archive .hm-programs-archive__chip-n {
	font-weight: 700 !important;
	opacity: 0.7 !important;
}

.hm-home.hm-programs-archive button.hm-programs-archive__chip:hover,
.hm-programs-archive button.hm-programs-archive__chip:hover {
	border-color: var(--hm-heading) !important;
	color: var(--hm-heading) !important;
	background: var(--hm-surface) !important;
}

.hm-home.hm-programs-archive button.hm-programs-archive__chip.is-active,
.hm-programs-archive button.hm-programs-archive__chip.is-active {
	background: var(--hm-heading) !important;
	border-color: var(--hm-heading) !important;
	color: #fff !important;
}

html[data-hm-theme="dark"] .hm-home.hm-programs-archive button.hm-programs-archive__chip.is-active,
html[data-hm-theme="dark"] .hm-programs-archive button.hm-programs-archive__chip.is-active {
	color: #0b0b24 !important;
}

.hm-home.hm-programs-archive button.hm-programs-archive__chip.is-active .hm-programs-archive__chip-n,
.hm-programs-archive button.hm-programs-archive__chip.is-active .hm-programs-archive__chip-n {
	opacity: 0.85 !important;
}

.hm-home.hm-programs-archive .hm-programs-archive__list,
.hm-programs-archive .hm-programs-archive__list {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 1.15rem 1rem !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	flex-direction: unset !important;
}

.hm-home.hm-programs-archive article.hm-programs-archive__card,
.hm-programs-archive article.hm-programs-archive__card {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.55rem !important;
	min-width: 0 !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.hm-home.hm-programs-archive article.hm-programs-archive__card[hidden],
.hm-programs-archive article.hm-programs-archive__card[hidden] {
	display: none !important;
}

.hm-home.hm-programs-archive a.hm-programs-archive__cover,
.hm-programs-archive a.hm-programs-archive__cover {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 16 / 10 !important;
	border-radius: 10px !important;
	overflow: hidden !important;
	background: var(--hm-surface-soft, rgba(32, 33, 90, 0.08)) !important;
	box-shadow: var(--hm-shadow) !important;
	border: 1px solid var(--hm-card-border) !important;
	text-decoration: none !important;
	transition: transform 0.22s ease, box-shadow 0.22s ease !important;
}

.hm-home.hm-programs-archive a.hm-programs-archive__cover img,
.hm-programs-archive a.hm-programs-archive__cover img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	transition: transform 0.45s ease !important;
}

.hm-home.hm-programs-archive .hm-programs-archive__cover-ph,
.hm-programs-archive .hm-programs-archive__cover-ph {
	width: 100% !important;
	height: 100% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 2rem !important;
	opacity: 0.4 !important;
	color: var(--hm-heading) !important;
}

.hm-home.hm-programs-archive article.hm-programs-archive__card:hover a.hm-programs-archive__cover,
.hm-programs-archive article.hm-programs-archive__card:hover a.hm-programs-archive__cover {
	transform: translateY(-3px) !important;
	box-shadow: 0 12px 28px rgba(32, 33, 90, 0.14) !important;
}

.hm-home.hm-programs-archive article.hm-programs-archive__card:hover a.hm-programs-archive__cover img,
.hm-programs-archive article.hm-programs-archive__card:hover a.hm-programs-archive__cover img {
	transform: scale(1.04) !important;
}

html[data-hm-theme="dark"] .hm-home.hm-programs-archive article.hm-programs-archive__card:hover a.hm-programs-archive__cover,
html[data-hm-theme="dark"] .hm-programs-archive article.hm-programs-archive__card:hover a.hm-programs-archive__cover {
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45) !important;
}

.hm-home.hm-programs-archive .hm-programs-archive__kind,
.hm-programs-archive .hm-programs-archive__kind {
	position: absolute !important;
	top: 8px !important;
	inset-inline-start: 8px !important;
	inset-inline-end: auto !important;
	z-index: 2 !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px !important;
	margin: 0 !important;
	padding: 0.18rem 0.5rem !important;
	border-radius: 999px !important;
	background: rgba(32, 33, 90, 0.82) !important;
	color: #fff !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	backdrop-filter: blur(6px);
	pointer-events: none !important;
}

.hm-home.hm-programs-archive .hm-programs-archive__kind svg,
.hm-programs-archive .hm-programs-archive__kind svg {
	display: block !important;
	width: 14px !important;
	height: 14px !important;
	fill: currentColor !important;
	flex-shrink: 0 !important;
}

.hm-home.hm-programs-archive .hm-programs-archive__kind--listen,
.hm-programs-archive .hm-programs-archive__kind--listen {
	background: rgba(203, 30, 83, 0.88) !important;
}

.hm-home.hm-programs-archive .hm-programs-archive__badge,
.hm-programs-archive .hm-programs-archive__badge {
	position: absolute !important;
	top: 8px !important;
	inset-inline-end: 8px !important;
	inset-inline-start: auto !important;
	z-index: 2 !important;
	margin: 0 !important;
	padding: 0.18rem 0.5rem !important;
	border-radius: 999px !important;
	background: #8b87c8 !important;
	color: #fff !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	pointer-events: none !important;
}

.hm-home.hm-programs-archive .hm-programs-archive__body,
.hm-programs-archive .hm-programs-archive__body {
	min-width: 0 !important;
	padding: 0 0.1rem !important;
	margin: 0 !important;
}

.hm-home.hm-programs-archive h3.hm-programs-archive__title,
.hm-programs-archive h3.hm-programs-archive__title {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
	color: var(--hm-heading) !important;
	font-family: "פולין", "Polin", sans-serif !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden !important;
	text-align: start !important;
}

.hm-home.hm-programs-archive h3.hm-programs-archive__title a,
.hm-programs-archive h3.hm-programs-archive__title a {
	color: inherit !important;
	text-decoration: none !important;
	font-family: inherit !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
}

.hm-home.hm-programs-archive h3.hm-programs-archive__title a:hover,
.hm-programs-archive h3.hm-programs-archive__title a:hover {
	color: var(--hm-brand) !important;
}

.hm-home.hm-programs-archive .hm-programs-archive__meta,
.hm-programs-archive .hm-programs-archive__meta {
	margin: 0.2rem 0 0 !important;
	padding: 0 !important;
	font-size: 12px !important;
	line-height: 1.4 !important;
	color: var(--hm-text-muted) !important;
	font-weight: 400 !important;
}

.hm-home.hm-programs-archive .hm-programs-archive__meta-sep,
.hm-programs-archive .hm-programs-archive__meta-sep {
	margin: 0 0.25rem !important;
}

.hm-home.hm-programs-archive .hm-programs-archive__banner,
.hm-programs-archive .hm-programs-archive__banner {
	margin: 0.25rem 0 !important;
	grid-column: 1 / -1 !important;
	width: 100% !important;
	float: none !important;
}

.hm-home.hm-programs-archive .hm-programs-archive__banner--top,
.hm-programs-archive .hm-programs-archive__banner--top {
	margin-bottom: 1.5rem !important;
}

.hm-home.hm-programs-archive .hm-programs-archive__banner--mid,
.hm-programs-archive .hm-programs-archive__banner--mid {
	margin: 0.25rem 0 0.35rem !important;
}

.hm-home.hm-programs-archive .hm-programs-archive__banner--bottom,
.hm-programs-archive .hm-programs-archive__banner--bottom {
	margin-top: 1.75rem !important;
}

.hm-home.hm-programs-archive .hm-programs-archive__banner .hm-home__mail-banner,
.hm-programs-archive .hm-programs-archive__banner .hm-home__mail-banner {
	margin: 0 !important;
}

.hm-home.hm-programs-archive .hm-programs-archive__empty[hidden],
.hm-programs-archive .hm-programs-archive__empty[hidden] {
	display: none !important;
}

@media (max-width: 860px) {
	.hm-home.hm-programs-archive .hm-programs-archive__list,
	.hm-programs-archive .hm-programs-archive__list {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 575px) {
	.hm-home.hm-programs-archive .hm-programs-archive__list,
	.hm-programs-archive .hm-programs-archive__list {
		grid-template-columns: 1fr 1fr !important;
		gap: 0.85rem 0.7rem !important;
	}

	.hm-home.hm-programs-archive h3.hm-programs-archive__title,
	.hm-programs-archive h3.hm-programs-archive__title {
		font-size: 13px !important;
	}

	.hm-home.hm-programs-archive .hm-programs-archive__kind span,
	.hm-programs-archive .hm-programs-archive__kind span {
		display: none !important;
	}

	.hm-home.hm-programs-archive article.hm-programs-archive__card:hover a.hm-programs-archive__cover,
	.hm-programs-archive article.hm-programs-archive__card:hover a.hm-programs-archive__cover {
		transform: none !important;
	}
}
