body{background: rgba(226, 229, 234, 0.3);}
.list-box .col-12{
	position: relative;
	padding: 0 4px;
}
@media (min-width: 992px){
	.container{
		max-width: 900px;
		padding-left: 0;
		padding-right: 0;
	}
}
@media (min-width: 1200px){
	.container{
		max-width: 1170px;
		padding-left: 0;
		padding-right: 0;
	}
}
.list .posts-grid {
	display: block;	
	margin-bottom: 40px;
	background: #FFFFFF;
}
.list .posts-grid .posts-title{
	font-size: 20px;
	color: #333333;
	line-height: 24px;
	margin-bottom: 0;	
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;		
}
.list .posts-grid .posts-sub-title{
	font-size: 14px;
	color: #333333;	
	margin-bottom: 0;
}
.list .posts-grid .posts-info{
	font-size: 14px;
	color: #808080;
	line-height: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;	
	margin-top: 48px;
	margin-bottom: 0;
}
.list .posts-grid .img-news{
    width: 100%;	
	height: 220px;
	object-fit: cover;
}
.list-box .col-lg-4:before {
    background-color: rgba(0,0,0,0.5);
    content: '';
    position: absolute;
    opacity: 0;
    visibility: hidden;
    left: 4px;
    top: 0;
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
    height: 100%;
    width: calc(100% - 8px);
    z-index: 2;
}
.posts-grid:hover .list-box .col-lg-4:before {
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
    opacity: 1;
    visibility: visible;
}
.posts-grid .list-box .col-lg-4 .icon {
    position: absolute;
    top: 0;
    left: 50%;
    margin-top: -1.5rem;
    margin-left: -2rem;
    color: #fff;
    z-index: 10;
    width: 4rem;
    height: 3rem;
    background-color: rgba(42, 129, 239, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease-in-out 0s;
}
.posts-grid:hover .list-box .col-lg-4 .icon {
	top: 50%;
	visibility: visible;
	opacity: 1;
}
.list .list-box{
    align-items: center;	
}
.list .posts-grid .col-lg-8{
	display: flex;
	height: 160px;
	padding: 0 2.5%;
}
.posts-news{
	display: flex;
    flex-direction: column;
    width: 80%;	
    padding-left: 16px;	
}
.posts-grid .posts-bar{
	height: 150px;
    display: flex;
    flex-direction: column;	
	justify-content: space-between;
	align-items: center;
    width: 20%;	
}
.posts-grid .posts-bar .posts-time{
    display: flex;
    flex-direction: column;
}
.posts-grid .posts-bar .posts-time span:first-child{
	font-size: 20px;
	color: #2A81EF;
	font-weight: bold;
}
.posts-grid .posts-bar .posts-time span:last-child{
	font-size: 14px;
	color: #2A81EF;
	text-align: right;
}
.posts-grid .posts-bar .posts-btn {
  position: relative;
  width: 80px;
  height: 28px;
  line-height: 28px;
  border-radius: 20px;
  font-size: 14px;
  color: #27CDAF;  
  text-align: center;
  margin-right: 10px;
  cursor: pointer;
  transition: all 0.3s ease-in-out 0s; 
}
.posts-grid .posts-bar .posts-btn label{
	position: relative;
	cursor: pointer;
}
.posts-grid .posts-bar .posts-btn::after{
	content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    left: 0;
	border: 1px solid #27CDAF;
	transition: all 0.3s ease-in-out 0s;	
}
.posts-grid .posts-bar .posts-btn::before{
	content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    left: 0;
    transform: scale(0);
	transition: all 0.3s ease-in-out 0s;	
}
.posts-grid:hover .posts-bar .posts-btn{
  color: #fff;
}
.posts-grid:hover .posts-bar .posts-btn::before{
    transform: scale(1);	
	background: #2A81EF;
	border: 1px solid #2A81EF;
}
.posts-grid:hover .posts-bar .posts-btn::after{
    transform: scale(0);	
}
.posts-grid .posts-bar .posts-btn.active{
  background: #2A81EF;
  border: 1px solid #2A81EF;
  color: #fff;
}
.posts-grid .posts-bar .posts-btn.active::before{
    transform: scale(1);	
	background: #2A81EF;
	border: 1px solid #2A81EF;	
}
@media (max-width: 990px) {
	.list-box .col-12{
		padding-right: calc(var(--bs-gutter-x) * .5);
		padding-left: calc(var(--bs-gutter-x) * .5);
	}
	.list .posts-grid .posts-info{
		margin-top: 16px;
	}
	.posts-grid .posts-bar{
		height: 120px;
	}
	.list .posts-grid .col-lg-8{
		padding-top: 16px;
	}
	.list-box .col-lg-4:before {
		left: 12px;
		width: calc(100% - 24px);
	}	
}
.list .posts-pagination {
    position: relative;
}
.justify-content-center {
    justify-content: center!important;
}
.list .posts-pagination .posts-page-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #fff;
    color: #2A81EF;
    border: 1px solid #2A81EF;
    transition: all 0.3s ease 0s;
	border-radius: 14px;
	margin-right: 16px;
}
.list .posts-pagination .posts-page-item.active{
	background: #2A81EF;
	color: #fff;
} 
.list .posts-pagination .posts-page-item.toggle-item{
	width: 80px;
	height: 28px;
}
.list .posts-pagination .posts-page-item:hover{
	background: #2A81EF;
	color: #fff;	
}