/* =========================================================
   Kurs Posts widget (popis ostalih objava)
   ========================================================= */

.kurs-posts-heading {
	margin: 0 0 16px;
	font-family: var( --kurs-font-family-heading );
	font-size: var( --kurs-font-h6 );
}

.kurs-posts-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.kurs-posts-item {
	display: flex;
	gap: 12px;
	text-decoration: none;
	color: inherit;
}

.kurs-posts-item-thumb {
	flex: 0 0 80px;
	width: 80px;
	height: 80px;
	background-size: cover;
	background-position: center;
	border-radius: 8px;
}

.kurs-posts-item-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
}

.kurs-posts-item-body {
	min-width: 0;
}

.kurs-posts-item-title {
	margin: 0;
	font-family: var( --kurs-font-family-heading );
	/* Manja stavka skale (16-18px) umjesto "text-big" (22-25px): naslov u popisu
	   mora stati uz sličicu od 80px, a u uskoj koloni je velika slova brzo pune. */
	font-size: var( --kurs-font-text-base );
	line-height: 1.3;
	/* Najviše 3 retka (mijenja se u widgetu: Stil > Najviše redaka naslova). */
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	overflow-wrap: anywhere;
}

.kurs-posts-item-date {
	font-family: var( --kurs-font-family-body );
	font-size: var( --kurs-font-text-small );
	color: #888888;
}

@media ( max-width: 600px ) {
	.kurs-posts-item-thumb {
		flex-basis: 64px;
		width: 64px;
		height: 64px;
	}
}


/* Potpis fotografije kao sitan redak ispod naslova. */
.kurs-posts-item-credit {
	display: block;
	margin-top: .15em;
	font-size: 12px;
	line-height: 1.3;
	opacity: .7;
}
/* Otvorena objava u popisu (kad nije iskljucena). */
.kurs-posts-item--current {
	padding-left: 9px;
	border-left: 3px solid var( --e-global-color-accent, #00a6ff );
}
