.home .blog-card--homepage {
	padding: 17px 0 35px;
}

.blog-card-item {
	display: none;
	position: relative;
	border: none;
	border-radius: 0 100px 0 0;
	overflow: hidden;
}

.blog-card-item:first-child {
	display: block;
}

.blog-card-image {
    width: 100%;
    border-radius: 0 100px 0 0;
    height: 125px;
    overflow: hidden;
    position: relative;
}

.blog-card-heading h2 {
    text-align: center;
    max-width: 420px;
    margin: 0 auto 30px;
}

.blog-card-heading h2::before {
    left: 50%;
    transform: translate(-50%, 0);
}

.blog-card-image img {
    width: 100%;
    height: 140%;
    object-fit: cover;
    transition: all ease 0.3s;
    position: absolute;
    top: 50%;
    transform: translate(0, -60%);
}

.blog-card-detail {
	width: 100%;
	display: block;
	background-color: #F8F8F8;
	padding: 25px 35px 35px;
	transition: all ease 0.3s;
	position: relative;
}


.blog-card-detail:before {
    content: "";
    position: absolute;
    background-color: #990033;
    top: 0px;
    left: 0;
    transition: all ease 0.3s;
    width: 278px;
    height: 3px;
}

.blog-card-detail:after {
	content: "";
    position: absolute;
    background-color: #F8F8F8;
    top: 0;
    right: 55px;
    width: 5px;
    height: 3px;
}

.blog-card__border:after {
	content: "";
    position: absolute;
    background-color: #F8F8F8;
    top: 0;
    right: 65px;
    width: 5px;
    height: 3px;
}

.blog-card__border::before {
	content: "";
    position: absolute;
    background-color: #F8F8F8;
    top: 0;
    right: 76px;
    width: 5px;
    height: 3px;
	z-index: 1;
}

.blog-card-detail h3 {
	font-size: 18px;
	font-weight: 500;
	color: #000000;
	padding-bottom: 10px;
	line-height: 1.5em;
	margin: 0;
}

.blog-card-detail h3::before {
	display: none;
}

.blog-card-listing__btn {
	padding: 25px 0 35px;
}

.bg-gray .blog-card-detail {
	background-color: #fff;

}

@media (min-width: 768px) {
	.blog-card-listing {
		display: flex;
		width: calc(100% + 32px);
		margin: 0 -16px;
		align-items: flex-start;
	}

	.blog-card-item {
		width: calc(50% - 32px);
		margin: 0 16px;
		display: flex;
		flex-wrap: wrap;
		background: #F8F8F8;
	}

	.blog-card-item:last-child {
		display: none;
	}

	.home .blog-card--homepage {
	    padding: 22px 0 75px;
	}

	.blog-card-detail:after {
		right: 41px;
	}
	
	.blog-card__border:after {
		right: 51px;
	}
	
	.blog-card__border::before {
		right: 61px;
	}

	.blog-card-item:first-child {
		display: block;
	}

}

@media (min-width: 1200px) {

	.blog-card-item:last-child {
		display: block;
	}

	.blog-card-item {
		width: calc(33.333% - 32px);
	}

	.blog-card-detail {
	    padding: 45px 45px 80px 45px;
	    position: absolute;
	    bottom: 0;
	    left: 0;
	    height: 212px;
	}

	.blog-card-detail .btn {
		position: absolute;
		bottom: 45px;
		left: 45px;
	}

	.blog-card-detail h3 {
	    font-size: 20px;
	}

	.blog-card-image {
		height: 387px;
	}

	.blog-card-detail p {
		height: 0;
		overflow: hidden;
		opacity: 0;
		color: #fff;
		font-size: 18px;
		font-weight: 300;
		line-height: 1.5em;
		transition: all ease 0.3s;
	}

	.blog-card-item:hover .blog-card-detail p {
		height: auto;
		opacity: 1;
	}

	.blog-card-item:hover .blog-card-detail {
		height: 100%;
		background: rgb(28,75,201);
		background: linear-gradient(28deg, rgba(28,75,201,1) 0%, rgba(28,75,201,0.65) 100%);
	}

	.blog-card-item:hover .blog-card-detail h3 {
		color: #fff;
		padding-bottom: 5px;
	}

	.blog-card-item:hover .blog-card-detail .btn {
		color: #fff;
	}

	.blog-card-item:hover .btn-text--blue span::after,
	.blog-card-item:hover .btn-text--blue span::before,
	.blog-card-item:hover .btn-text--blue::before {
		color: #fff;
	}
	.blog-card-item:hover .btn-text--blue svg {
		fill: #fff;
		transform: rotate(180deg);
	}

	.blog-card-item:hover span::after {
	    left: auto;
	    right: 0;
	}

	.blog-card-item:hover span::before {
	    left: 0;
	    content: '\e907';
	}

	.blog-card-item .btn-text span {
	    padding-bottom: 2px;
	}

	.blog-card-item:hover .btn-text::before {
		content: "\e905";
		font-family: 'icomoon';
		height: auto;
		left: 0;
		right: unset;
		bottom: -32px;
		font-size: 66px;
		line-height: 1em;
		color: #FFFFFF;
		width: auto;
		background: transparent;
		transform: rotate(180deg);
	}
	
	.blog-card-item:hover .btn-text::after {
		content: "";
		background: #FFFFFF;
		position: absolute;
		height: 3px;
		line-height: normal;
		margin-left: auto;
		left: unset;
		right: 0;
		bottom: 0;
		top: unset;
		width: calc(100% - 34px);
	}

	.blog-card-item:hover .btn-text [class^="icon-"], 
	.blog-card-item:hover .btn-text::after {
		color: #FFFFFF;
	}

	.blog-card-item:hover .btn-text [class^="icon-"] {
        right: -25px;
    }

	.blog-card-image img {
	    height: 245px;
	    object-fit: cover;
	    top: -60px;
	    transform: unset;
	}

	.blog-card-item:hover .blog-card-image img {
	    height: 100%;
	    object-fit: cover;
	    top: 0;
	}


	.blog-card-heading h2 {
	    max-width: 420px;
	    margin: 0 auto 50px;
	}

	.home .blog-card--homepage {
	    padding: 29px 0 50px;
	}

	.blog-card-detail:after {
		right: 145px;
	}
	
	.blog-card__border:after {
		right: 155px;
	}
	
	.blog-card__border::before {
		right: 165px;
		z-index: 1;
	}

	.blog-card-item:hover .blog-card-detail::before,
	.blog-card-item:hover .blog-card-detail:after,
	.blog-card-item:hover .blog-card__border:after,
	.blog-card-item:hover .blog-card__border::before {
		display: none;
	}

	.blog-card-listing__btn {
		padding: 50px 0 0;
	}
}