/* GGD Card v0.1 — כרטיס סיור בקוד (במקום תבנית הלופ 14270) */

/* הכרטיס ממלא את תא הרשת של אלמנטור (גבהים שווים כמו קודם) */
.e-loop-item:has(.ggd-card) > .elementor-element,
.e-loop-item:has(.ggd-card) .elementor-widget-container,
.ggd-tp-card .elementor:has(.ggd-card) > .elementor-element { height: 100%; }

a.ggd-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, .13);
	overflow: hidden;
	text-decoration: none;
	color: #333;
}
a.ggd-card:hover,
a.ggd-card:focus { color: #333; }

.ggd-card__img { display: block; line-height: 0; }
.ggd-card__img img {
	display: block;
	width: 100%;
	height: 250px;
	object-fit: cover;
	border-radius: 0;
}

.ggd-card__body {
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex: 1;
	padding: 16px;
}

a.ggd-card .ggd-card__title {
	margin: 0;
	font-family: "Rubik", sans-serif;
	font-size: 22px;
	font-weight: 500;
	line-height: 22px;
	color: #290644;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 66px;
}

.ggd-card__meta { display: block; }

.ggd-card__foot {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
}
.ggd-card__foot p { margin: 0; }

/* המחיר — אותם ערכים כמו בכרטיס של אלמנטור (שם הסגנון מגיע דרך עטיפת הווידג'ט) */
.ggd-card__foot .ggd-card-price-col { font-family: "Rubik", sans-serif; font-size: 20px; font-weight: 600; line-height: 1.1; }
.ggd-card__foot .ggd-card-price-label { font-size: 11px; font-weight: 500; line-height: 1.1; }
.ggd-card__foot .ggd-card-price-primary,
.ggd-card__foot .ggd-card-price-primary * { font-size: 18px; font-weight: 700; line-height: 1.1; }
.ggd-card__foot .ggd-card-price-secondary { font-size: 14px; font-weight: 500; line-height: 1.1; }
.ggd-card__foot .ggd-card-price-empty { font-size: 14px; font-weight: 400; }