
/************************************/
/***       13. Our Blog css       ***/
/************************************/

.our-blog{
	padding: 100px 0 70px;
}

.post-item{
    height: calc(100% - 30px);
    margin-bottom: 30px;
}

.post-featured-image{
    margin-bottom: 30px;
}

.post-featured-image a{
    cursor: none;
}

.post-featured-image figure,
.post-featured-image a{
    display: block;
	border-radius: 40px;
}

.post-featured-image img{
    width: 100%;
    aspect-ratio: 1 / 0.63;
    object-fit: cover;
	border-radius: 40px;
    transition: all 0.4s ease-in-out;
}

.post-item:hover .post-featured-image img{
    transform: scale(1.1);
}

.post-item-body{
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.post-item-content{
	width: 65%;
}

.post-item-content h2{
    font-size: 20px;
	font-weight: 600;
	line-height: 1.4em;
}

.post-item-content h2 a{
    color: inherit;
}

.post-item-btn{
	text-align: right;
	margin-left: 20px;
}

.post-item-btn a{
	background-color: var(--accent-color);
	border-radius: 10px;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease-in-out;
}

.post-item-btn a:hover{
	background-color: var(--secondary-color);
}

.post-item-btn a img{
	max-width: 24px;
	transition: all 0.3s ease-in-out;
}

.post-item-btn a:hover img{
	transform: rotate(45deg);
}

/************************************/
/***       Responsive css        ***/
/************************************/

@media only screen and (max-width: 991px) {
    .our-blog {
        padding: 50px 0 20px;
    }

    .post-featured-image {
        margin-bottom: 20px;
    }

    .post-featured-image figure, 
	.post-featured-image a,
	.post-featured-image img {
        aspect-ratio: 1 / 0.73;
        border-radius: 30px;
    }

    .post-item-content {
        width: auto;
    }

    .post-item-content h2 {
        font-size: 18px;
    }

    .post-item-btn {
        margin-left: 10px;
    }

    .post-item-btn a {
        width: 40px;
        height: 40px;
    }

}
