/* === Blog Catalog Block === */

.blog-catalog-block {
	padding: 30px 0 40px;
	width: 100%;
}

/* === Section Header === */
.bcb-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	gap: 10px;
}

.bcb-title {
	font-size: 24px;
	font-weight: 800;
	color: var(--text-main, #fff);
	line-height: 1.2;
	margin: 0;
}

.bcb-title-accent {
	color: var(--accent-color, #00E574);
}

.bcb-view-all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(0, 229, 116, 0.1);
	color: var(--accent-color, #00E574);
	padding: 8px 16px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.bcb-view-all i {
	transition: transform 0.3s ease;
}

.bcb-view-all:hover {
	background: var(--accent-color, #00E574);
	color: #000;
}

.bcb-view-all:hover i {
	transform: translateX(4px);
}

/* === Carousel Track === */
.bcb-carousel {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	padding-bottom: 20px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	cursor: grab;
}

.bcb-carousel::-webkit-scrollbar {
	display: none;
}

.bcb-carousel.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
}

/* === Card === */
.bcb-card {
	background-color: var(--bg-surface, #151A23);
	border: 1px solid var(--border-color, #262D3D);
	border-radius: 16px;
	min-width: 280px;
	max-width: 280px;
	flex-shrink: 0;
	scroll-snap-align: start;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.bcb-card:hover {
	transform: translateY(-5px);
	border-color: var(--accent-color, #00E574);
	box-shadow: 0 10px 25px rgba(0, 229, 116, 0.1);
}

/* === Image / Visual Area === */
.bcb-image {
	width: 100%;
	height: 160px;
	position: relative;
	flex-shrink: 0;
	overflow: hidden;
}

.bcb-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.bcb-card:hover .bcb-image img {
	transform: scale(1.05);
}

/* Decorative watermark icon (shown when no image) */
.bcb-watermark {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 60px;
	color: rgba(255, 255, 255, 0.08);
}

/* Category tag over image */
.bcb-tag {
	position: absolute;
	bottom: 10px;
	left: 12px;
	background: rgba(0, 229, 116, 0.15);
	color: var(--accent-color, #00E574);
	border: 1px solid rgba(0, 229, 116, 0.3);
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	backdrop-filter: blur(4px);
}

/* === Content === */
.bcb-content {
	padding: 16px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	gap: 10px;
}

.bcb-card-title {
	font-size: 15px;
	font-weight: 800;
	color: var(--text-main, #fff);
	margin: 0;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bcb-excerpt {
	font-size: 12px;
	color: var(--text-muted, #8A93A6);
	line-height: 1.5;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex-grow: 1;
}

/* === Footer === */
.bcb-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px solid var(--border-color, #262D3D);
	gap: 8px;
}

.bcb-date {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	color: var(--text-muted, #8A93A6);
	white-space: nowrap;
}

.bcb-date i {
	font-size: 10px;
}

.bcb-read-more {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	font-weight: 700;
	color: var(--accent-color, #00E574);
	white-space: nowrap;
	transition: gap 0.3s ease;
}

.bcb-read-more i {
	font-size: 11px;
	transition: transform 0.3s ease;
}

.bcb-card:hover .bcb-read-more i {
	transform: translateX(4px);
}

/* === Responsive === */
@media (min-width: 992px) {
	.bcb-carousel {
		padding-bottom: 24px;
	}
}
