/* 统一配图比例，避免竖图把版面撑乱 */

.image.main {
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.image.main img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.image.fit {
	aspect-ratio: 3 / 2;
	overflow: hidden;
}

.image.fit img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.posts article .image {
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.posts article .image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* 首页 Banner 横屏也保持稳定高度 */
#banner .image {
	align-self: stretch;
	min-height: 22em;
}

#banner .image img {
	min-height: 22em;
}
