.posts-item .fit-cover {
	object-fit: contain !important;
}

.posts-item.card {
	padding: 0 !important;
}
.posts-item .item-thumbnail {
	width: 100%;
	padding-bottom: 138% !important;
}
.posts-item .item-thumbnail.doc img,
.posts-item .item-thumbnail.docx img,
.posts-item .item-thumbnail.txt img,
.posts-item .item-thumbnail.pdf img,
.posts-item .item-thumbnail.xls img,
.posts-item .item-thumbnail.xlsx img {
	transform-origin: top;
    transform-box: fill-box;
    transform-style: flat;
    transform: scale(1.3);
    height: 79%;
}
.posts-item .item-thumbnail.doc img:hover,
.posts-item .item-thumbnail.docx img:hover,
.posts-item .item-thumbnail.txt img:hover,
.posts-item .item-thumbnail.pdf img:hover,
.posts-item .item-thumbnail.xls img:hover,
.posts-item .item-thumbnail.xlsx img:hover {
	transform: scale(1.4);
}
.posts-item.card .item-body {
	padding: 10px !important;
}


.posts-item.list .item-thumbnail {
	width: 100px;
	padding-bottom: 138% !important;
}
.posts-item .item-thumbnail.ppt img,
.posts-item .item-thumbnail.pptx img {
	border-radius: 8px;
    bottom: calc(50% - 26px);
    height: auto;
}

.posts-item {
	position: relative;
	padding: 10px;
}

.posts-item .rar:after,
.posts-item .zip:after,
.posts-item .tar:after,
.posts-item .gz:after,
.posts-item .ppt:after,
.posts-item .pptx:after,
.posts-item .doc:after,
.posts-item .docx:after,
.posts-item .xls:after,
.posts-item .xlsx:after,
.posts-item .pdf:after,
.posts-item .txt:after {
	content: '';
	position: absolute;
    bottom: 10px;
    right: 0;
    height: 20px;
    width: 50px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.posts-item .rar:after,
.posts-item .zip:after,
.posts-item .tar:after,
.posts-item .gz:after {
	background-image: url(../../../assets/img/zip.png);
}
.posts-item .ppt:after,
.posts-item .pptx:after {
	background-image: url(../../../assets/img/ppt.png);
}
.posts-item .doc:after,
.posts-item .docx:after {
	background-image: url(../../../assets/img/doc.png);
}
.posts-item .xls:after,
.posts-item .xlsx:after {
	background-image: url(../../../assets/img/xls.png);
}
.posts-item .pdf:after {
	background-image: url(../../../assets/img/pdf.png);
}
.posts-item .txt:after {
	background-image: url(../../../assets/img/txt.png);
}

/*.xls .fit-cover,
.xlsx .fit-cover,
.doc .fit-cover,
.docx .fit-cover,
.pdf .fit-cover,
.txt .fit-cover {
	object-fit: cover !important;
	border-radius: 0 !important;
}
.posts-item .item-thumbnail {
	border-radius: 0 !important;
}*/


.posts-item .text-ellipsis {
	display:-webkit-box;overflow:hidden;text-overflow:ellipsis;word-wrap:break-word;white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;
}
@media (max-width: 767px) {
	.posts-item:not(.no-thumb) .item-excerpt {
    	display:-webkit-box;
	}
}





.posts-item .item-thumbnail {
	width: 130px;
}

body.maosiji-com-diy0278:not(.dark-theme) .posts-item .item-thumbnail {
	border: 1px solid rgba(222,222,223,1);
}
body.maosiji-com-diy0278:not(.dark-theme) .posts-item .item-thumbnail:hover {
	--tw-shadow: 0 0.5rem 0.75rem -0.15rem rgba(0, 0, 0, 0.1),0 0.2rem 0.3rem -0.1rem rgba(0, 0, 0, 0.05);
    box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);
}
body.dark-theme.maosiji-com-diy0278 .posts-item .item-thumbnail {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	border-radius: 8px;
	background-color: rgb(57 58 60);
    background-clip: padding-box;
}
body.dark-theme.maosiji-com-diy0278 .posts-item .item-thumbnail.doc,
body.dark-theme.maosiji-com-diy0278 .posts-item .item-thumbnail.docx {
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
	border-radius: 8px;
	background-color: rgb(57 58 60);
    background-clip: padding-box;
}
.maosiji-com-diy0278 .posts-item .item-thumbnail.doc > a > img,
.maosiji-com-diy0278 .posts-item .item-thumbnail.docx > a > img,
.maosiji-com-diy0278 .posts-item .item-thumbnail.pdf > a > img
.maosiji-com-diy0278 .posts-item .item-thumbnail.txt > a > img
.maosiji-com-diy0278 .posts-item .item-thumbnail.zip > a > img
.maosiji-com-diy0278 .posts-item .item-thumbnail.xls > a > img
.maosiji-com-diy0278 .posts-item .item-thumbnail.xlsx > a > img {
	height: 79%;
}
.maosiji-com-diy0278 .posts-item .item-thumbnail.zip > a > img {
	bottom: 0%;
}
.posts-item.card .item-thumbnail.ppt img,
.posts-item.card .item-thumbnail.pptx img {
	bottom: calc(50% - 61px);
}
.site-layout-2 .posts-item.card .item-thumbnail.ppt img,
.site-layout-2 .posts-item.card .item-thumbnail.pptx img {
	bottom: calc(50% - 40px);
}
@media only screen and (max-width: 767px) {
	.posts-item.card .item-thumbnail.ppt img,
	.posts-item.card .item-thumbnail.pptx img {
		bottom: calc(50% - 31px);
	}
}



.posts-item .item-heading{
    font-size: 15px;
}
.text-ellipsis {
    font-size: 13px;
}

.posts-item.card {
	background: none;
	box-shadow: none;
}
.posts-item.card .item-body {
	background: #F5F6F7;
	/*padding-left: 0 !important; 字灵*/
	margin-top: 0;
}
.dark-theme .posts-item.card .item-body{
	background: #292A2D;
}
@media (max-width: 767px) {
	.site-layout-2 .card,
	.posts-item.card {
	    width: calc(33.333% - 10px);
	}
}
@media (min-width: 992px) {
 .site-layout-1 .posts-item:not(.card) {
    margin: 8px;
    display: inline-flex;
    width: calc(50% - 16px);
   }
   .fluid-widget .card, .site-layout-1 .card,
    .site-layout-2 .card {
	    width: calc(20% - 16px);
	}
}
@media (max-width: 767px) {
   .posts-item .post-graphic:not(.order1) {
    margin-right: 12px;
   }
}
.posts-item .post-graphic:not(.order1) {
 margin-right: 10px;
}