/* הכר את האמן — כרטיס צד בעמוד שירים חדשים (אתר מקורי) */

.hm-archive-meet-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
	gap: clamp(14px, 1.6vw, 22px);
	align-items: start;
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
	padding-inline: max(5.25rem, 4.5vw);
	box-sizing: border-box;
	overflow-x: clip;
}

.hm-archive-meet-layout__main {
	min-width: 0;
	max-width: 100%;
	container-type: inline-size;
	container-name: hm-meet-main;
}

.hm-archive-meet-layout .hm-archive-grid-wrapper {
	max-width: none !important;
	margin: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	min-width: 0 !important;
}

.hm-archive-meet-layout .hm-archive-grid-wrapper:not([data-view="list"]) .hm-archive-grid {
	min-width: 0 !important;
	width: 100% !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.hm-archive-meet-layout .hm-archive-card,
.hm-archive-meet-layout .hm-mna-ad-card {
	min-width: 0 !important;
	max-width: 100%;
}

@container hm-meet-main (min-width: 560px) {
	.hm-archive-meet-layout .hm-archive-grid-wrapper:not([data-view="list"]) .hm-archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@container hm-meet-main (min-width: 780px) {
	.hm-archive-meet-layout .hm-archive-grid-wrapper:not([data-view="list"]) .hm-archive-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@container hm-meet-main (min-width: 1120px) {
	.hm-archive-meet-layout .hm-archive-grid-wrapper:not([data-view="list"]) .hm-archive-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}

.hm-archive-meet-layout__aside {
	min-width: 0;
	max-width: 100%;
	padding-top: 20px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	position: sticky;
	top: calc(var(--hm-h-total-h, 120px) + 12px);
	align-self: start;
	z-index: 1;
	max-height: calc(100dvh - var(--hm-h-total-h, 120px) - 24px);
	overflow-x: hidden;
	overflow-y: auto;
	scrollbar-width: thin;
}

.hm-meet-singer {
	--hm-ms-brand: #cb1e53;
	--hm-ms-navy: #20215a;
	--hm-ms-font: "פולין", "Polin", sans-serif;
	position: static;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 1.15rem 1rem 1.25rem;
	border-radius: 16px;
	background: var(--hm-site-surface, #fff);
	border: 1px solid var(--hm-site-border, rgba(32, 33, 90, 0.14));
	box-shadow: 0 8px 24px rgba(32, 33, 90, 0.08);
	font-family: var(--hm-ms-font);
	color: var(--hm-site-text, #333);
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.hm-meet-singer__eyebrow {
	margin: 0 0 0.2rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--hm-ms-brand);
	font-family: var(--hm-ms-font);
}

.hm-meet-singer__cadence {
	margin: 0 0 0.9rem;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--hm-site-muted, #666);
	font-family: var(--hm-ms-font);
}

.hm-meet-singer__avatar-link {
	display: block;
	position: relative;
	width: 132px;
	height: 132px;
	flex-shrink: 0;
	margin: 0 0 0.85rem;
	border-radius: 50%;
	overflow: hidden;
	box-shadow:
		0 0 0 1px rgba(32, 33, 90, 0.12),
		0 8px 28px rgba(32, 33, 90, 0.12);
	transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.hm-meet-singer__avatar-link:hover {
	transform: scale(1.03);
	box-shadow:
		0 0 0 2px var(--hm-ms-brand),
		0 12px 32px rgba(203, 30, 83, 0.18);
}

.hm-meet-singer__avatar {
	display: block;
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	object-position: center;
}

.hm-meet-singer__avatar--ph {
	background: var(--hm-site-surface-soft, #f7f6ff);
}

.hm-meet-singer__name {
	margin: 0 0 0.2rem;
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.25;
	color: var(--hm-ms-navy);
	font-family: var(--hm-ms-font);
}

.hm-meet-singer__name a {
	color: inherit !important;
	text-decoration: none !important;
}

.hm-meet-singer__name a:hover {
	color: var(--hm-ms-brand) !important;
}

.hm-meet-singer__role {
	margin: 0 auto 1rem;
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding: 0.18rem 0.7rem;
	border-radius: 999px;
	background: rgba(32, 33, 90, 0.07);
	color: var(--hm-ms-navy);
	font-size: 0.78rem;
	font-weight: 700;
	font-family: var(--hm-ms-font);
}

a.hm-meet-singer__cta,
.hm-meet-singer__cta {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 40px !important;
	padding: 0.45rem 1.15rem !important;
	border-radius: 999px !important;
	background: var(--hm-ms-brand) !important;
	color: #fff !important;
	font-size: 0.88rem !important;
	font-weight: 700 !important;
	font-family: var(--hm-ms-font) !important;
	text-decoration: none !important;
	border: 0 !important;
	box-shadow: 0 6px 16px rgba(203, 30, 83, 0.28) !important;
	transition: filter 0.2s ease, transform 0.2s ease !important;
}

a.hm-meet-singer__cta:hover,
.hm-meet-singer__cta:hover {
	filter: brightness(1.06);
	color: #fff !important;
	transform: translateY(-1px);
}

.hm-meet-singer__skip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 36px;
	margin-top: 0.7rem;
	padding: 0.35rem 0.9rem;
	border-radius: 999px;
	border: 1px dashed rgba(32, 33, 90, 0.35);
	background: transparent;
	color: var(--hm-ms-navy);
	font-size: 0.78rem;
	font-weight: 700;
	font-family: var(--hm-ms-font);
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.hm-meet-singer__skip:hover,
.hm-meet-singer__skip:focus-visible {
	background: rgba(32, 33, 90, 0.06);
	border-color: var(--hm-ms-navy);
}

.hm-meet-singer__skip[disabled],
.hm-meet-singer__skip[aria-busy="true"] {
	opacity: 0.55;
	cursor: wait;
}

.hm-ad-banner--meet-singer-rail {
	--hm-hero-side-w: 160px;
	display: block;
	position: relative;
	width: min(var(--hm-hero-side-w), 100%);
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 0;
	border: none;
	border-radius: 12px;
	overflow: hidden;
	line-height: 0;
	flex-shrink: 0;
	align-self: center;
	aspect-ratio: 320 / 900;
	box-sizing: border-box;
}

.hm-ad-banner--meet-singer-rail .hm-ad-creative-banner,
.hm-ad-banner--meet-singer-rail .hm-ad-rotator,
.hm-ad-banner--meet-singer-rail .hm-ad-rotator__slide,
.hm-ad-banner--meet-singer-rail .hm-ad-rotator__slide.is-active {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
}

.hm-ad-banner--meet-singer-rail .hm-ad-creative-banner,
.hm-ad-banner--meet-singer-rail .hm-ad-rotator {
	border-radius: 12px;
	background: linear-gradient(180deg, #e8eaf2 0%, #f4f5fa 45%, #e8eaf2 100%);
	overflow: hidden;
	aspect-ratio: 320 / 900;
	height: 100%;
}

.hm-ad-banner--meet-singer-rail .hm-ad-rotator .hm-ad-creative-banner {
	width: 100% !important;
	height: 100% !important;
}

.hm-ad-banner--meet-singer-rail .hm-ad-creative-banner img,
.hm-ad-banner--meet-singer-rail .hm-ad-rotator .hm-ad-creative-banner img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
	object-position: center top;
	border-radius: 12px;
	vertical-align: middle;
}

.hm-ad-banner--meet-singer-rail > .hm-ad-banner__close,
.hm-ad-banner--meet-singer-rail button.hm-ad-banner__close {
	top: 8px !important;
	left: 8px !important;
	right: auto !important;
	width: 24px !important;
	height: 24px !important;
	min-width: 24px !important;
	min-height: 24px !important;
	font-size: 16px !important;
}

html[data-hm-theme="dark"] .hm-meet-singer {
	background: rgba(255, 255, 255, 0.06);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

html[data-hm-theme="dark"] .hm-meet-singer__name {
	color: #fff;
}

html[data-hm-theme="dark"] .hm-meet-singer__role {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

html[data-hm-theme="dark"] .hm-meet-singer__avatar-link {
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.1),
		0 8px 28px rgba(0, 0, 0, 0.35);
}

html[data-hm-theme="dark"] .hm-meet-singer__skip {
	border-color: rgba(255, 255, 255, 0.28);
	color: #fff;
}

html[data-hm-theme="dark"] .hm-meet-singer__skip:hover,
html[data-hm-theme="dark"] .hm-meet-singer__skip:focus-visible {
	background: rgba(255, 255, 255, 0.08);
	border-color: #fff;
}

@media (max-width: 1480px) {
	.hm-archive-meet-layout {
		grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
	}

	.hm-meet-singer__avatar-link {
		width: 112px;
		height: 112px;
	}
}

@media (max-width: 1200px) {
	.hm-archive-meet-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
		padding-inline: max(1rem, 3.5vw);
	}

	.hm-archive-meet-layout__aside {
		order: 2;
		position: static;
		max-height: none;
		overflow: visible;
		padding-top: 0;
		width: 100%;
		margin-top: 8px;
	}

	.hm-archive-meet-layout__main {
		order: 1;
	}

	.hm-ad-banner--meet-singer-rail {
		display: none !important;
	}

	.hm-meet-singer {
		position: static;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		text-align: start;
		gap: 0 1rem;
		padding: 0.95rem 1rem;
		width: 100%;
		box-sizing: border-box;
	}

	.hm-meet-singer__eyebrow,
	.hm-meet-singer__cadence {
		width: 100%;
		text-align: start;
		margin-bottom: 0.15rem;
	}

	.hm-meet-singer__cadence {
		margin-bottom: 0.65rem;
	}

	.hm-meet-singer__avatar-link {
		width: 88px;
		height: 88px;
		margin: 0;
		flex-shrink: 0;
	}

	.hm-meet-singer__name {
		flex: 1;
		min-width: 0;
		margin: 0;
	}

	.hm-meet-singer__role {
		margin: 0.15rem 0 0;
	}

	.hm-meet-singer__cta {
		margin-inline-start: auto;
	}

	.hm-meet-singer__skip {
		flex-basis: 100%;
		margin-top: 0.75rem;
		margin-inline-start: 0;
	}
}

@media (max-width: 600px) {
	.hm-archive-meet-layout {
		padding-inline: max(0.85rem, 3.5vw);
		gap: 12px;
	}

	.hm-meet-singer {
		padding: 0.8rem 0.85rem;
	}

	.hm-meet-singer__avatar-link {
		width: 72px;
		height: 72px;
	}

	.hm-meet-singer__name {
		font-size: 1rem;
	}

	.hm-meet-singer__cta {
		width: 100%;
		margin-inline-start: 0;
	}
}

@media (max-height: 820px) and (min-width: 1201px) {
	.hm-ad-banner--meet-singer-rail {
		--hm-hero-side-w: 132px;
	}
}
