/* ==========================================================================
   Core Business — assets/css/core-business-grid.css
   Shared by [core_business_slider] and [core_business_grid]
   ========================================================================== */

.kis-cb-wrap {
	background: #0b0d10;
	padding: 40px 20px;
}

/* ---- Plain grid ([core_business_grid]) ---- */
.kis-cb-grid {
	display: flex;
	gap: 24px;
	max-width: 1300px;
	margin: 0 auto;
	flex-wrap: wrap;
}

/* ---- Slider pre-init layout ---- */
.kis-cb-slider {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	max-width: 1300px;
	margin: 0 auto;
}

.kis-cb-slider.slick-initialized {
	display: block;
}

/* ---- Card ---- */
.kis-cb-card {
	position: relative;
	min-height: 400px;
	border-radius: 14px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: flex-end;
	transition: box-shadow 0.4s ease;
}

.kis-cb-grid .kis-cb-card {
	flex: 1 1 0;
	min-width: 0;
	transition: flex-grow 0.5s ease, box-shadow 0.4s ease;
}

.kis-cb-grid .kis-cb-card:hover {
	flex-grow: 2.4;
	box-shadow: 0 25px 50px rgba(0,0,0,0.55);
	z-index: 5;
}

.kis-cb-slider .kis-cb-card {
	margin: 0 12px;
}

.kis-cb-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(9, 17, 29, 0.25) 0%, rgba(9, 17, 29, 0.45) 28%, #0d1826 65%, #0d1826 100%);
	transition: background 0.4s ease, opacity 0.4s ease;
	z-index: 1;
}

.kis-cb-card:hover .kis-cb-overlay {
	background: linear-gradient(180deg, rgba(198,146,64,0.15) 0%, rgba(10,12,15,0.88) 75%);
}

.kis-cb-content {
	z-index: 2;
	padding: 26px;
	color: #fff;
	width: 100%;
}

.kis-cb-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 40px;
	position: absolute;
	top: 10px;
}

.kis-cb-icon img {
	height: 100%;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.kis-cb-title {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 10px;
	line-height: 1.3;
}

.kis-cb-desc {
	font-size: 14px;
	line-height: 1.6;
	color: #92a4bc;
	margin: 0 0 18px;
}

.kis-cb-divider {
	display: block;
	height: 1px;
	width: 100%;
	background: #1B2B42;
	margin-bottom: 14px;
}

/* ==========================================================================
   Card Footer (Tags + Read More Button)
   ========================================================================== */

.kis-cb-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	width: 100%;
}

.kis-cb-tags {
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ---- Read More Button (Hidden by default, shown on Card Hover) ---- */
.kis-cb-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	color: #2DA5DD;
	text-decoration: none;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transform: translateX(10px);
	transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.kis-cb-card:hover .kis-cb-btn {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}

.kis-cb-btn:hover {
	color: #fff;
	text-decoration: none;
}

.kis-cb-btn .kis-cb-btn-arrow {
	transition: transform 0.2s ease;
}

.kis-cb-btn:hover .kis-cb-btn-arrow {
	transform: translateX(3px);
}

/* ---- Slider arrows (desktop) ---- */
.kis-cb-slider .slick-prev,
.kis-cb-slider .slick-next {
	width: 40px;
	height: 40px;
	z-index: 3;
}
.kis-cb-slider .slick-prev { left: -50px; }
.kis-cb-slider .slick-next { right: -50px; }
.kis-cb-slider .slick-prev:before,
.kis-cb-slider .slick-next:before {
	color: #2DA5DD;
	font-size: 30px;
}

.kis-cb-slider .slick-dots li button:before {
	color: #fff;
	opacity: 0.4;
}
.kis-cb-slider .slick-dots li.slick-active button:before {
	opacity: 1;
	color: #2DA5DD;
}

/* ---- Grid: loader + pagination ---- */
.kis-cb-loader {
	text-align: center;
	color: rgba(255,255,255,0.6);
	font-size: 13px;
	padding: 20px 0;
	letter-spacing: 0.05em;
}

.kis-cb-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 30px;
}

.kis-cb-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 8px;
	border-radius: 6px;
	color: rgba(255,255,255,0.7);
	background: rgba(255,255,255,0.05);
	text-decoration: none;
	font-size: 13px;
}

.kis-cb-pagination .page-numbers.current {
	background: #2DA5DD;
	color: #0b0d10;
	font-weight: 600;
}

.kis-cb-sentinel {
	height: 1px;
}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 768px) {
	.kis-cb-grid {
		flex-direction: column;
	}

	.kis-cb-grid .kis-cb-card {
		flex: 1 1 auto;
	}

	.kis-cb-grid .kis-cb-card:hover {
		flex-grow: 1;
	}

	.kis-cb-card {
		min-height: 360px;
	}
	
	/* Mobile par Read More hamesha visible rakhne ke liye (Optional) */
	.kis-cb-btn {
		opacity: 1;
		visibility: visible;
		transform: translateX(0);
	}
}