/*
 * News list (page-news.php). Layout: naujienos.html.
 *
 * The chips, the grid and the card come from the object gallery (objects.css,
 * loaded with this file); .nwgrid turns the card into the news variant. The
 * date line (.nw-date) is in main.css, shared with the post page.
 *
 * Added on top of the source: the excerpt is clamped to two lines, as the task
 * asks, and the card is a flex column so a short excerpt cannot leave a card
 * shorter than its neighbours.
 */

.nwgrid .gcard{display:flex; flex-direction:column}
.nwgrid .gcard .im{aspect-ratio:16/10}
.nwgrid .gcard .tx{flex:1; padding:15px 18px 20px}
.nwgrid .gcard h3{font-size:18px; line-height:1.3; margin:7px 0 8px; transition:color .18s}
.nwgrid .gcard p{
	margin:0; font-size:14px; line-height:1.55; color:var(--mut);
	display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; line-clamp:2; overflow:hidden;
}
.nwgrid .gcard:hover h3{color:var(--brand-d)}
