/* WeTheme Blog Carousel */
.wetheme-blog-carousel {
	position: relative;
	direction: rtl;
	width: 100%;
}

/* Header */
.wetheme-blog-carousel .blbc-header {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 24px;
}

.wetheme-blog-carousel .blbc-title {
	margin: 0;
	flex-shrink: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	color: #35425a;
}

.wetheme-blog-carousel .blbc-header-line {
	flex: 1 1 auto;
	height: 1px;
	min-width: 24px;
	background-color: #e3e3e3;
}

.wetheme-blog-carousel .blbc-view-all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	font-size: 14px;
	font-weight: 500;
	color: #8a8a8a;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.wetheme-blog-carousel .blbc-view-all:hover {
	color: #35425a;
}

.wetheme-blog-carousel .blbc-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.wetheme-blog-carousel .blbc-arrow svg {
	display: block;
}

/* Slider + side nav */
.wetheme-blog-carousel .blbc-slider {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
}

.wetheme-blog-carousel .blbc-slider--has-arrows {
	padding: 0 4px;
}

.wetheme-blog-carousel .blbc-carousel-inner {
	flex: 1 1 auto;
	min-width: 0;
}

.wetheme-blog-carousel .blbc-swiper {
	overflow: hidden;
}

.wetheme-blog-carousel .blbc-swiper .swiper-wrapper {
	display: flex;
	align-items: stretch;
}

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

.wetheme-blog-carousel .blbc-side-nav {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background-color: #35425a;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: opacity 0.2s ease, transform 0.2s ease;
	z-index: 2;
}

.wetheme-blog-carousel .blbc-side-nav:hover {
	opacity: 0.92;
	transform: translateY(-1px);
}

.wetheme-blog-carousel .blbc-side-nav.swiper-button-disabled {
	opacity: 0.4;
	cursor: default;
	transform: none;
}

/* Card */
.wetheme-blog-carousel .blbc-card {
	width: 100%;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #ebebeb;
	border-radius: 24px;
	overflow: hidden;
	box-sizing: border-box;
	min-height: 100%;
}

.wetheme-blog-carousel .blbc-thumb {
	display: block;
    padding: 12px 12px 0;
    text-decoration: none;
    height: 220px;
}

.wetheme-blog-carousel .blbc-thumb-img {
	width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 16px;
    background-color: #ebebeb;
}

.wetheme-blog-carousel .blbc-body {
	padding: 16px 18px 10px;
	flex: 1 1 auto;
}

.wetheme-blog-carousel .blbc-excerpt {
	margin: 0;
	font-size: 14px;
	line-height: 1.85;
	color: #555;
	text-align: right;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 3.7em;
}

.wetheme-blog-carousel .blbc-date {
	display: block;
	margin-top: 12px;
	font-size: 13px;
	font-weight: 400;
	color: #9a9a9a;
	text-align: right;
}

.wetheme-blog-carousel .blbc-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 22px;
	border-top: 1px solid #ebebeb;
	margin-top: auto;
}

.wetheme-blog-carousel .blbc-readmore {
	font-size: 14px;
	font-weight: 500;
	color: #35425a;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.wetheme-blog-carousel .blbc-readmore:hover {
	opacity: 0.75;
}

.wetheme-blog-carousel .blbc-card-footer .blbc-arrow {
	color: #35425a;
}

.wetheme-blog-carousel .blbc-empty {
	padding: 24px;
	text-align: center;
	color: #888;
	width: 100%;
}

/* Pagination */
.wetheme-blog-carousel .blbc-pagination {
	position: relative;
	margin-top: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.wetheme-blog-carousel .blbc-pagination.swiper-pagination-bullets {
	width: 100%;
}

.wetheme-blog-carousel .blbc-pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	margin: 0 !important;
	border-radius: 50%;
	background-color: #d5d5d5;
	opacity: 1;
	transition: width 0.25s ease, background-color 0.25s ease, border-radius 0.25s ease;
}

.wetheme-blog-carousel .blbc-pagination .swiper-pagination-bullet-active {
	width: 28px;
	height: 8px;
	border-radius: 999px;
	background-color: #35425a;
}

@media (max-width: 1023px) {
	.wetheme-blog-carousel .blbc-slider--has-arrows {
		padding: 0;
	}

	.wetheme-blog-carousel .blbc-side-nav {
		width: 40px;
		height: 40px;
	}
}

@media (max-width: 767px) {
	.wetheme-blog-carousel .blbc-header {
		margin-bottom: 18px;
		gap: 12px;
	}

	.wetheme-blog-carousel .blbc-title {
		font-size: 17px;
	}

	.wetheme-blog-carousel .blbc-thumb-img {
		min-height: 160px;
	}

	.wetheme-blog-carousel .blbc-slider {
		gap: 8px;
	}

	.wetheme-blog-carousel .blbc-side-nav {
		width: 36px;
		height: 36px;
	}
}
