.postitems ul {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin: 15px 0 0;
}

.postitems li,
.postitems li:nth-child(-n+4) {
	display: block;
	width: auto;
	height: 184px;
	margin: 0;
	padding: 14px;
	border-radius: 6px;
	background-color: #fff;
	text-align: center;
	vertical-align: initial;
	overflow: hidden;
}

.postitems li .thumbnail {
	display: flex;
	height: 100%;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

.postitems li .thumb {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	margin: 0 0 12px;
	border-radius: 4px;
	object-fit: cover;
	background: #eef3fb;
}

.postitems li .tit {
	display: -webkit-box;
	height: 42px;
	overflow: hidden;
	color: #111827;
	font-size: 15px;
	line-height: 1.4;
	text-align: center;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.postitems li:hover {
	box-shadow: 0 10px 28px rgba(16, 24, 40, 0.08);
}

@media (max-width: 768px) {
	.postitems ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		margin: 0;
	}

	.postitems ul::before {
		display: none;
	}

	.postitems li,
	.postitems li:nth-child(-n+4) {
		width: auto;
		height: 164px;
		margin: 0 !important;
		padding: 10px;
		border-radius: 0;
	}

	.postitems li .tit {
		height: 38px;
		font-size: 13px;
		text-align: center;
	}
}
