/* =========================================================
   Custom Hero Banner Widget — Styles
   ========================================================= */

.chb-wrapper {
	position: relative;
	display: flex;
	align-items: stretch;
	width: 100%;
	overflow: hidden;
	min-height: 580px;
}

/* ---------- Content column ---------- */
.chb-content {
	width: 38%;
	background-color: #EDE6DD;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 60px 64px;
	box-sizing: border-box;
	position: relative;
	z-index: 2;
}

.chb-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	background: #fff;
	color: #8a7a5c;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	padding: 10px 16px;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
	margin-bottom: 24px;
}

.chb-badge-icon {
	display: inline-flex;
	color: #d4af7a;
	font-size: 12px;
}

.chb-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 42px;
	font-weight: 500;
	line-height: 1.15;
	color: #1c1c1c;
	margin: 0 0 20px 0;
}

.chb-description {
	font-size: 16px;
	line-height: 1.6;
	color: #5c5750;
	margin: 0 0 28px 0;
	max-width: 440px;
}

/* ---------- Feature list ---------- */
.chb-features {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
	margin-bottom: 28px;
}

.chb-feature-item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.chb-feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #1c1c1c;
	font-size: 16px;
	line-height: 1;
}

.chb-feature-icon svg,
.chb-feature-icon i {
	width: 1em;
	height: 1em;
}

.chb-feature-text {
	font-size: 14px;
	color: #3a3630;
	white-space: nowrap;
}

/* ---------- Divider ---------- */
.chb-divider {
	width: 100%;
	max-width: 460px;
	height: 1px;
	background: rgba(0,0,0,0.12);
	margin-bottom: 24px;
}

/* ---------- Actions row (arrows + button) ---------- */
.chb-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	max-width: 460px;
}

.chb-nav-arrows {
	display: flex;
	gap: 12px;
}

.chb-arrow {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: none;
	background: #ffffff;
	color: #1c1c1c;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0,0,0,0.08);
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
	padding: 0;
}

.chb-arrow:hover {
	background: #1c1c1c;
	color: #ffffff;
	transform: translateY(-1px);
}

.chb-arrow svg {
	pointer-events: none;
}

.chb-arrow.swiper-button-disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.chb-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: #0f1f33;
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	padding: 14px 24px;
	border-radius: 6px;
	white-space: nowrap;
	transition: background-color 0.25s ease;
}

.chb-button:hover {
	background-color: #1c3a5e;
	color: #ffffff;
}

.chb-button-icon {
	display: inline-flex;
	font-size: 13px;
}

.chb-button-icon svg,
.chb-button-icon i {
	width: 1em;
	height: 1em;
}

/* ---------- Media / slider column ---------- */
.chb-media {
	width: 62%;
	position: relative;
	overflow: hidden;
}

.chb-swiper {
	width: 100%;
	height: 100%;
	min-height: 580px;
}

.chb-swiper .swiper-wrapper {
	height: 100%;
}

.chb-swiper .swiper-slide {
	height: 100%;
}

.chb-swiper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* ---------- Vertical dot pagination (right edge, like reference) ---------- */
.chb-pagination {
	position: absolute !important;
	top: 50%;
	right: 24px;
	left: auto !important;
	width: auto !important;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	z-index: 3;
}

.chb-pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	background: rgba(255,255,255,0.5);
	opacity: 1;
	margin: 0 !important;
	border-radius: 50%;
	transition: all 0.25s ease;
}

.chb-pagination .swiper-pagination-bullet-active {
	background: #ffffff;
	height: 22px;
	border-radius: 4px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
	.chb-content {
		padding: 48px 40px;
	}
	.chb-title {
		font-size: 34px;
	}
}

@media (max-width: 767px) {
	.chb-wrapper {
		flex-direction: column;
		min-height: auto;
	}
	.chb-content,
	.chb-media {
		width: 100% !important;
	}
	.chb-media {
		order: -1;
	}
	.chb-swiper,
	.chb-swiper .swiper-slide,
	.chb-swiper img {
		min-height: 320px;
		height: 320px;
	}
	.chb-content {
		padding: 40px 24px;
	}
	.chb-title {
		font-size: 28px;
	}
	.chb-features {
		gap: 10px 20px;
	}
	.chb-actions {
		flex-wrap: wrap;
	}
}
