/* KB Item List — front end + editor */
.kb-item-list {
	/* KollelBudget colors */
	--kb-orange: #f26f21;
	--kb-orange-dark: #d35400;
	--kb-blue: #1ba1e2;
	--kb-line: #d4ecf8;
	--kb-img: 180px;
	font-family: Arial, Helvetica, sans-serif;
	margin: 1.5em 0;
}
.kb-item-list--img-small { --kb-img: 130px; }
.kb-item-list--img-large { --kb-img: 240px; }

/* Picture on the left, words centered next to it */
.kb-item {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 0 0 14px;
	padding: 14px 18px;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 6px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	box-sizing: border-box;
}
.kb-item:last-child { margin-bottom: 0; }

.kb-item__media {
	flex: 0 0 var(--kb-img);
	max-width: var(--kb-img);
}
.kb-item__media a { display: block; }
.kb-item__img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.15s ease;
}
.kb-item__media a:hover .kb-item__img { transform: scale(1.03); }

.kb-item__body {
	flex: 1 1 auto;
	min-width: 0;
	text-align: center;
}
.kb-item .kb-item__title {
	margin: 0 0 12px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.1em;
	font-weight: 700;
	color: #222;
	text-transform: none;
	line-height: 1.4;
}
.kb-item .kb-item__title a { color: var(--kb-orange); text-decoration: none; }
.kb-item .kb-item__title a:hover { color: var(--kb-orange-dark); text-decoration: underline; }
.kb-item__text a { color: var(--kb-orange); }
.kb-item__text a:hover { color: var(--kb-orange-dark); }

.kb-item__price {
	margin: 0;
	font-size: 1.15em;
	font-weight: 700;
	color: #222;
}
.kb-item__price s,
.kb-item__price del {
	font-weight: 400;
	color: #888;
}

.kb-item__text { margin: 10px 0 0; }
.kb-item__text p { margin: 0 0 0.5em; }
.kb-item__text p:last-child { margin-bottom: 0; }

/* Phones: keep the picture next to the words, just smaller */
@media (max-width: 600px) {
	.kb-item { gap: 14px; padding: 10px 12px; margin-bottom: 12px; }
	.kb-item__media {
		flex-basis: min(var(--kb-img), 38%);
		max-width: min(var(--kb-img), 38%);
	}
	.kb-item .kb-item__title { font-size: 1em; margin-bottom: 8px; }
	.kb-item__price { font-size: 1.05em; }
}
