.post-list {
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	max-width: 980px;
	margin: auto;
}

@media screen and (max-width: 600px) {
	.post-list {
		display: block;
		max-width: 366px;
	}
}

.post-list-item {
	overflow: hidden;
	border-radius: 16px;
	background-color: var(--card-bg);
	margin-bottom: 21px;
	transition: all 200ms ease;
}

.post-list-item:nth-child(2n-1) {
	margin-right: 8px;
}

.post-list-item:nth-child(2n) {
	margin-left: 8px;
}

@media screen and (max-width: 600px) {
	.post-list-item:nth-child(n) {
		margin-left: 0;
		margin-right: 0;
	}
}

.post-list-item .cover-img {
	overflow: hidden;
	height: 266px;
}

.post-list-item .cover-img img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	   object-fit: cover;
	-webkit-filter: brightness(1);
	        filter: brightness(1);
	transition: transform 400ms cubic-bezier(0.4, 0, 0.25, 1), -webkit-filter 400ms cubic-bezier(0.4, 0, 0.25, 1);
	transition: transform 400ms cubic-bezier(0.4, 0, 0.25, 1), filter 400ms cubic-bezier(0.4, 0, 0.25, 1);
	transition: transform 400ms cubic-bezier(0.4, 0, 0.25, 1), filter 400ms cubic-bezier(0.4, 0, 0.25, 1), -webkit-filter 400ms cubic-bezier(0.4, 0, 0.25, 1);
}

.post-list-item:hover .cover-img img,
.post-list-item > a:focus .cover-img img {
	transform: scale(1.03);
	-webkit-filter: brightness(0.85);
	        filter: brightness(0.85);
}

.post-list-item .title {
	font-size: 24px;
	line-height: 1.16667;
	font-weight: 700;
	letter-spacing: 0.009em;
	max-height: 7em;
	color: var(--card-title);
	overflow: hidden;
}

.post-list-item .content {
	padding: 28px 32px;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.post-list-item .cover-img + .content {
	height: max-content;
}

.post-list-item a,
.post-list-item a:hover,
.post-list-item a:focus,
.post-list-item a:active,
.post-list-item a:link,
.post-list-item a:visited {
	font-weight: 700;
	font-size: 24px;
	color: var(--black);
	text-decoration: none;
}

.post-list-item .categories {
	color: var(--link);
	margin-bottom: 6px;
	font-weight: 600;
	font-size: 11px;
}

.post-list-item .categories span {
	margin-right: 6px;
	text-decoration: none;
}

.post-list-item .excerpt {
	margin: 5px 0 0;
}

.post-list-item .excerpt p {
	margin: 0;
	padding: 0;
}

.post-list-item .excerpt,
.post-list-item .excerpt a {
	font-size: 12px;
	color: var(--black-2);
	font-weight: 400;
}

@media screen and (max-width: 800px) {
	.post-list-item .content {
		font-size: 12px;
	}
}

.post-list-item .time {
	font-size: 14px;
	line-height: 1.28577;
	font-weight: 500;
	letter-spacing: -0.016em;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	color: var(--card-time);
	margin-top: 12px;
}

.post-list-item .read-more {
	text-align: right;
}

.post-list-item .read-more button {
	font-size: 12px;
	outline: none;
	border: none;
	background-color: var(--blue);
	color: var(--white-txt-on-blue-bg);
	padding: 6px 12px;
	border-radius: 32px;
	cursor: pointer;
}

/* in archive page, use a more compact list view */

.post-list.archives {
	display: block;
	max-width: 980px;
	margin: auto;
	margin-bottom: 42px;
}

.post-list.archives .post-list-item {
	border-radius: 0;
	background-color: initial;
	padding: 21px 0;
	margin: 0;
	border-bottom: 1px solid var(--border-color);
	transition: all 200ms ease;
}

.post-list.archives .post-list-item:nth-child(n) {
	margin-left: 0;
	margin-right: 0;
}

.post-list.archives .post-list-item:last-child {
	border-bottom: none;
}

.post-list.archives .post-list-item a {
	display: flex;
}

.post-list.archives .post-list-item .content {
	width: 100%;
}

.post-list.archives .post-list-item .cover-img {
	min-height: 180px;
	min-width: 180px;
	height: 20vw;
	width: 20vw;
	max-width: 250px;
	max-height: 250px;
	border-radius: 16px;
	flex-shrink: 0;
}

.post-list.archives .post-list-item .cover-img img {
	aspect-ratio: 1;
}