/**
 * Theme Name:     Divi Child
 * Author:         Elegant Themes
 * Template:       Divi
 * Text Domain:	   divi-child
 * Description:    Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
 */

.custom-blog-carousel {
	box-sizing: border-box;
	overflow: hidden;
	padding: 12px 48px 44px;
	position: relative;
	width: 100%;
}

.custom-blog-carousel .swiper-wrapper {
	align-items: stretch;
}

.custom-blog-carousel .swiper-slide {
	display: flex;
	height: auto;
}

.custom-blog-carousel .carousel-card {
	background: #fff;
	border: 1px solid #e8e5df;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	width: 100%;
}

.custom-blog-carousel .carousel-image {
	aspect-ratio: 4 / 3;
	background: #f4f2ef;
	overflow: hidden;
	position: relative;
}

.custom-blog-carousel .carousel-image > a,
.custom-blog-carousel .carousel-image img {
	display: block;
	height: 100%;
	width: 100%;
}

.custom-blog-carousel .carousel-image img {
	object-fit: cover;
}

.custom-blog-carousel .carousel-date {
	background: #b89659;
	bottom: 0;
	color: #fff;
	font-size: 13px;
	left: 0;
	padding: 7px 12px;
	position: absolute;
}

.custom-blog-carousel .carousel-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px;
}

.custom-blog-carousel .carousel-content h3 {
	font-size: 20px;
	line-height: 1.4;
	margin: 0 0 12px;
}

.custom-blog-carousel .carousel-content h3 a {
	color: #1b1717;
	text-decoration: none;
}

.custom-blog-carousel .carousel-content p {
	flex: 1;
	line-height: 1.65;
	margin: 0 0 18px;
}

.custom-blog-carousel .carousel-content .read-more {
	color: #b89659;
	font-weight: 600;
	text-decoration: none;
}

.custom-blog-carousel .swiper-button-prev,
.custom-blog-carousel .swiper-button-next {
	color: #b89659;
	height: 36px;
	margin-top: -18px;
	width: 28px;
}

.custom-blog-carousel .swiper-button-prev::after,
.custom-blog-carousel .swiper-button-next::after {
	font-size: 28px;
	font-weight: 600;
}

@media (max-width: 767px) {
	.custom-blog-carousel {
		padding: 8px 34px 40px;
	}

	.custom-blog-carousel .carousel-content {
		padding: 18px;
	}
}
