/* כפתור סימניה בכרטיס — מצב ריק / מלא */
.hm-save-btn {
	position: relative;
}

.hm-save-btn svg path {
	transition: fill 0.15s ease, stroke 0.15s ease;
}

.hm-save-btn:not(.is-saved) svg path {
	fill: none;
	stroke: currentColor;
}

.hm-save-btn.is-saved svg path {
	fill: currentColor;
	stroke: currentColor;
}

/* שורטקוד — רשת כרטיסים */
.hsp-saved-grid {
	display: grid;
	grid-template-columns: repeat(var(--hsp-columns, 3), minmax(0, 1fr));
	gap: 1.25rem;
	margin: 1rem 0;
}

@media (max-width: 900px) {
	.hsp-saved-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.hsp-saved-grid {
		grid-template-columns: 1fr;
	}
}

.hsp-card {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	background: #fff;
}

.hsp-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.hsp-card__thumb {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #e8ecf2;
}

.hsp-card__thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hsp-card__thumb-placeholder {
	width: 100%;
	height: 100%;
	min-height: 140px;
	background: linear-gradient(135deg, #e0e7ef, #f0f4f8);
}

.hsp-card__body {
	padding: 0.85rem 1rem 1rem;
}

.hsp-card__title {
	margin: 0 0 0.35rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
}

.hsp-card__meta {
	font-size: 0.8rem;
	opacity: 0.65;
}

.hsp-shortcode-notice,
.hsp-shortcode-empty {
	margin: 1rem 0;
	padding: 0.75rem 1rem;
	border-radius: 8px;
	background: #f4f6f9;
}
