
/* מרכז הלמידה. Heebo הוא גופן האתר וכבר נטען, וגם ספרות המונים כתובות בו.
   אין כאן @font-face: קובץ ספרות של Frank Ruhl Libre לא נבנה אף פעם, והפניה לקובץ
   שלא קיים היא 404 בכל טעינה. כשהוא ייבנה ויעלה עם רישיון OFL לידו, הכלל יחזור. */
.zd {
	--nv: #0d294b;
	--br: #f5b70b;
	--tl: #0f766e;
	--pk: #ee2b73;
	--znk-dim: var(--nv);
	--zd-line: #e6e9ef;
	--zd-mut: #5b6472;
	color: var(--nv);
}

.zd * {
	box-sizing: border-box;
}

.zd a {
	color: inherit;
}

.zd-grid {
	display: grid;
	grid-template-columns: 1fr 330px;
	gap: 28px;
	align-items: start;
}

.zd-side {
	position: sticky;
	top: 16px;
}

.zd-crumbs {
	font-size: 14px;
	color: var(--zd-mut);
	margin: 0 0 12px;
}

.zd-hero {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 24px;
	align-items: center;
	margin: 0 0 28px;
}

.zd-hero-img {
	max-width: 100%;
	height: auto;
}

.zd-kicker {
	color: var(--tl);
	font-weight: 700;
	margin: 0 0 6px;
}

.zd-h1 {
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 10px;
}

.zd-sub {
	color: var(--zd-mut);
	margin: 0 0 18px;
	max-width: 46ch;
}

.zd-counters {
	display: flex;
	gap: 22px;
	list-style: none;
	padding: 0;
	margin: 0 0 18px;
}

.zd-counter {
	display: flex;
	flex-direction: column;
}

.zd-num {
	font-family: "Heebo", sans-serif;
	font-weight: 900;
	font-variant-numeric: lining-nums tabular-nums;
	font-size: 34px;
	line-height: 1;
	color: var(--nv);
}

.zd-lbl {
	font-size: 13px;
	color: var(--zd-mut);
}

.zd-cta {
	display: inline-block;
	border: 0;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	border-radius: 999px;
	padding: 12px 22px;
	text-decoration: none;
}

.zd-cta-psy {
	background: var(--br);
	color: var(--nv);
}

.zd-cta-am {
	background: var(--nv);
	color: #fff;
}

.zd-hero-cta {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.zd-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.zd-search input {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--zd-line);
	border-radius: 12px;
	font: inherit;
}

.zd-empty {
	color: var(--zd-mut);
	margin: 10px 2px 0;
}

.zd-chips {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: 16px 0 24px;
}

.zd-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	font-weight: 700;
	border: 1px solid var(--znk-dim);
	color: var(--znk-dim);
	border-radius: 999px;
	padding: 7px 14px;
}

.zd-chip-short {
	display: none;
}

.zd-chip.zd-soon {
	opacity: .7;
}

.zd-soon-tag {
	font-style: normal;
	font-size: 12px;
}

.zd-rail {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	list-style: none;
	padding: 0;
	margin: 0 0 28px;
}

.zd-card a {
	display: block;
	height: 100%;
	text-decoration: none;
	padding: 14px;
	border: 1px solid var(--zd-line);
	border-top: 3px solid var(--znk-dim);
	border-radius: 12px;
}

.zd-card-t {
	display: block;
	font-weight: 700;
}

.zd-card-d {
	display: block;
	font-size: 13px;
	color: var(--zd-mut);
	margin-top: 4px;
}

.zd-sticker {
	float: inline-end;
	font-style: normal;
	font-size: 12px;
	font-weight: 700;
	color: var(--pk);
}

/* הרכבת נשלחת ניטרלית (ראו znk_cl_hub_recent): עד ארבעה כרטיסים ובלי מדבקות. הסקריפט
   המוטבע מוסיף is-fresh ומסתיר או חושף לפי שעון הדפדפן. */
.zd-new:not(.is-fresh) .zd-card:nth-child(n+5), .zd-card[hidden], .zd-sticker[hidden] {
	display: none;
}

.zd-dim-h {
	font-size: 20px;
	margin: 26px 0 12px;
}

.zd-cluster {
	border: 1px solid var(--zd-line);
	border-radius: 14px;
	padding: 12px 16px;
	margin: 0 0 12px;
}

.zd-c-h {
	cursor: pointer;
	font-size: 17px;
	min-height: 44px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.zd-c-i {
	display: inline-block;
	min-width: 1.6em;
	color: var(--znk-dim);
	font-weight: 800;
}

.zd-c-n {
	color: var(--zd-mut);
	font-size: 13px;
	font-weight: 400;
}

.zd-rows {
	list-style: none;
	padding: 0;
	margin: 10px 0 0;
}

.zd-row a {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	padding: 9px 2px;
	border-bottom: 1px solid var(--zd-line);
}

.zd-t {
	flex: 1 1 auto;
}

.zd-h {
	color: var(--zd-mut);
	font-size: 13px;
	white-space: nowrap;
}

.zd-a {
	color: var(--znk-dim);
}

.zd-draft {
	font-style: normal;
	font-size: 12px;
	color: var(--pk);
	margin-inline-start: 6px;
}

/* שש שורות בדסקטופ, וה-:target פותח את כולן. */
.zd-cluster .zd-row:nth-child(n+7) {
	display: none;
}

.zd-cluster:target .zd-row {
	display: block;
}

.zd-cluster:target .zd-more {
	display: none;
}

.zd-more {
	margin: 10px 0 0;
}

.zd-more a {
	color: var(--znk-dim);
	font-weight: 700;
	text-decoration: none;
}

.zd-more-m {
	display: none;
}

.zd-practice {
	margin: 10px 0 0;
}

.zd-practice a {
	color: var(--tl);
	font-weight: 700;
	text-decoration: none;
}

.zd-cta-row {
	margin: 18px 0 26px;
}

.zd-soon-card, .zd-gl, .zd-side-card, .zd-end-card {
	border: 1px solid var(--zd-line);
	border-radius: 14px;
	padding: 16px;
}

.zd-side-card {
	margin: 0 0 12px;
}

.zd-gl-list {
	list-style: none;
	padding: 0;
	margin: 10px 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.zd-gl-i a {
	display: inline-block;
	border: 1px solid var(--zd-line);
	border-radius: 999px;
	padding: 6px 12px;
	text-decoration: none;
}

.zd-end {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 28px 0 0;
}

@media (max-width: 600px) {
	/* minmax(0,…): a 1fr track grew to the rail's scroll width and widened the page to ~450px */
	.zd-grid, .zd-end, .zd-hero {
		grid-template-columns: minmax(0, 1fr);
	}
	
	.zd-main, .zd-side, .zd-new, .zd-rail {
		min-width: 0;
	}
	
	.zd-rail {
		max-width: 100%;
	}
	
	.zd-side {
		position: static;
	}
	
	.zd-chip-full {
		display: none;
	}
	
	.zd-chip-short {
		display: inline;
	}
	
	.zd-rail {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		gap: 10px;
		padding-bottom: 6px;
	}
	
	.zd-card {
		flex: 0 0 72%;
		scroll-snap-align: start;
	}
	
	.zd-cluster .zd-row:nth-child(n+5) {
		display: none;
	}
	
	.zd-cluster:target .zd-row {
		display: block;
	}
	
	.zd-more-d {
		display: none;
	}
	
	.zd-more-m {
		display: inline;
	}
	
	.zd-gl-d {
		display: none;
	}
	
	.zd-counters {
		gap: 14px;
	}
}
