.ce-image-box-carousel {
	position: relative;
	width: 100%;
	overflow: hidden;
	box-sizing: border-box;
}

.ce-image-box-carousel *,
.ce-image-box-carousel *::before,
.ce-image-box-carousel *::after {
	box-sizing: border-box;
}

.ce-ibc-swiper {
	width: 100%;
	overflow: hidden;
}

.ce-ibc-card {
	position: relative;
	display: block;
	width: 100%;
	padding: 40px 30px;
}

.ce-ibc-thumb {
	position: relative;
	height: 560px;
	overflow: hidden;
	background: #111;
}

.ce-ibc-thumb a {
	position: relative;
	display: flex;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.ce-ibc-img-link::before,
.ce-ibc-img-link::after {
	position: absolute;
	z-index: 3;
	content: "";
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.ce-ibc-img-link::before {
	top: 20px;
	right: 10px;
	bottom: 20px;
	left: 10px;
	border-top: 1px solid #d7b83f;
	border-bottom: 1px solid #d7b83f;
	transform: scale(0, 1);
	transform-origin: 0 0;
}

.ce-ibc-img-link::after {
	top: 10px;
	right: 20px;
	bottom: 10px;
	left: 20px;
	border-right: 1px solid #d7b83f;
	border-left: 1px solid #d7b83f;
	transform: scale(1, 0);
	transform-origin: 100% 0;
}

.ce-ibc-slide:hover .ce-ibc-img-link::before,
.ce-ibc-slide:hover .ce-ibc-img-link::after {
	opacity: 0.6;
	transform: scale(1);
}

.ce-ibc-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1);
	transition: transform 0.5s ease-in-out;
}

.ce-ibc-thumb:hover .ce-ibc-image,
.ce-ibc-slide:hover .ce-ibc-image {
	transform: scale(1.1);
}

.ce-ibc-content {
	position: absolute;
	right: 0;
	bottom: 25px;
	left: 0;
	z-index: 4;
	display: block;
	width: 100%;
	padding: 0 20px;
	overflow: hidden;
	text-align: center;
}

.ce-ibc-content::before {
	--ce-ibc-overlay-color: rgba(0, 0, 0, 0.5);
	--ce-ibc-overlay-height: 160px;
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 0;
	height: var(--ce-ibc-overlay-height);
	content: "";
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, var(--ce-ibc-overlay-color) 100%);
	pointer-events: none;
}

.ce-ibc-content-inner {
	position: relative;
	z-index: 1;
	display: flex;
	min-height: var(--ce-ibc-overlay-height, 160px);
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
}

.ce-ibc-title {
	position: relative;
	z-index: 1;
	margin: 0;
}

.ce-ibc-title-link {
	position: relative;
	display: block;
	width: 100%;
	color: #d7b83f;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: transform 0.35s ease, color 0.25s ease;
}

.ce-ibc-title-link:hover,
.ce-ibc-title-link:focus {
	color: #d7b83f;
	text-decoration: none;
}

.ce-ibc-description {
	position: relative;
	z-index: 1;
	max-height: 0;
	margin: 0 auto;
	max-width: 86%;
	overflow: hidden;
	color: #fff;
	font-size: 15px;
	line-height: 1.5;
	opacity: 0;
	visibility: hidden;
	transform: translate3d(0, 18px, 0);
	transition: max-height 0.35s ease, margin-top 0.35s ease, opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.ce-ibc-read-more {
	position: relative;
	z-index: 1;
	display: inline-flex;
	max-height: 0;
	margin-top: 0;
	padding-bottom: 5px;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
	color: #fff;
	font-size: 15px;
	line-height: 1.2;
	text-decoration: none;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transform: translate3d(0, 30px, 0);
	transition: max-height 0.35s ease, margin-top 0.35s ease, opacity 0.35s ease, transform 0.35s ease, color 0.25s ease, visibility 0.35s ease;
}

.ce-ibc-read-more:hover,
.ce-ibc-read-more:focus {
	color: #fff;
	text-decoration: none;
}

.ce-ibc-slide:hover .ce-ibc-read-more {
	max-height: 48px;
	margin-top: 12px;
	opacity: 1;
	visibility: visible;
	transform: translate3d(0, 0, 0);
}

.ce-ibc-slide:hover .ce-ibc-description {
	max-height: 140px;
	margin-top: 8px;
	opacity: 1;
	visibility: visible;
	transform: translate3d(0, -12px, 0);
}

.ce-ibc-arrow {
	position: absolute;
	top: 50%;
	z-index: 8;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 64px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #d7b83f;
	font-size: 58px;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.ce-ibc-arrow:hover,
.ce-ibc-arrow:focus {
	opacity: 0.8;
	transform: translateY(-50%) scale(1.05);
}

.ce-ibc-prev {
	left: 0;
}

.ce-ibc-next {
	right: 0;
}

.ce-ibc-pagination {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin-top: 14px;
	line-height: 1;
}

.ce-ibc-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
	position: relative;
	bottom: auto;
	left: auto;
	width: 100%;
}

.ce-ibc-pagination .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	margin: 0 !important;
	border-radius: 999px;
	background: #fff;
	opacity: 1;
	transition: width 0.22s ease, background-color 0.22s ease;
}

.ce-ibc-pagination .swiper-pagination-bullet-active {
	width: 34px;
	background: #d7b83f;
}

@media (max-width: 767px) {
	.ce-ibc-card {
		padding: 20px 0;
	}

	.ce-ibc-title-link {
		font-size: 20px;
	}

	.ce-ibc-arrow {
		display: none;
	}
}
