/* IT-WEB24 Carousel */
.itw24-carousel {
	--itw24-gap: 14px;
	position: relative;
	width: 100%;
	font-family: custom-montserrat, sans-serif;
}

.itw24-carousel__viewport {
	position: relative;
	display: flex;
	align-items: stretch;
	gap: 0;
}

.itw24-carousel__track {
	display: flex;
	gap: var(--itw24-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 8px 4px 16px;
	width: 100%;
}

.itw24-carousel__track::-webkit-scrollbar {
	display: none;
}

.itw24-carousel__slide {
	flex: 0 0 calc((100% - (var(--itw24-cols, 4) - 1) * var(--itw24-gap)) / var(--itw24-cols, 4));
	scroll-snap-align: start;
	min-width: 0;
}

.itw24-carousel__card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 24px;
	padding: 28px 22px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.itw24-carousel__card:hover {
	transform: translateY(-4px);
	border-color: #fdba74;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.07);
}

.itw24-carousel--equal-height .itw24-carousel__card {
	min-height: 100%;
}

.itw24-carousel__badge {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: rgba(242, 105, 36, 0.1);
	font-size: 22px;
	margin-bottom: 16px;
	flex-shrink: 0;
}

.itw24-carousel__badge--icon {
	color: #F26924;
	font-size: 18px;
}

.itw24-carousel__badge--icon i,
.itw24-carousel__badge--icon svg {
	width: 20px;
	height: 20px;
}

.itw24-carousel__image {
	margin: -28px -22px 16px;
	border-radius: 24px 24px 0 0;
	overflow: hidden;
}

.itw24-carousel__image img {
	display: block;
	width: 100%;
	height: 160px;
	object-fit: cover;
}

.itw24-carousel__title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: #111827;
	font-family: custom-montserrat, sans-serif;
}

.itw24-carousel__content {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	color: #6b7280;
	font-family: custom-montserrat, sans-serif;
}

.itw24-carousel__content p {
	margin: 0 0 0.5em;
	color: inherit;
}

.itw24-carousel__content p:last-child {
	margin-bottom: 0;
}

.itw24-carousel__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: auto;
	padding: 10px 16px;
	border-radius: 999px;
	background: #F26924;
	color: #fff !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
	align-self: flex-start;
	transition: background 0.2s ease;
}

.itw24-carousel__btn:hover {
	background: #d45515;
	color: #fff !important;
}

.itw24-carousel__card-link {
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

/* Arrows */
.itw24-carousel__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #111827;
	display: grid;
	place-items: center;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
	padding: 0;
	font-size: 18px;
	line-height: 1;
}

.itw24-carousel__arrow:hover {
	background: #F26924;
	border-color: #F26924;
	color: #fff;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.07);
}

.itw24-carousel__arrow--prev {
	left: -8px;
}

.itw24-carousel__arrow--next {
	right: -8px;
}

.itw24-carousel__arrow:disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

/* Dots */
.itw24-carousel__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 8px;
}

.itw24-carousel__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	padding: 0;
	background: #e5e7eb;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.itw24-carousel__dot.is-active {
	background: #F26924;
	transform: scale(1.2);
}

@media (max-width: 1024px) {
	.itw24-carousel {
		--itw24-cols: 2;
	}

	.itw24-carousel__arrow--prev {
		left: 0;
	}

	.itw24-carousel__arrow--next {
		right: 0;
	}
}

@media (max-width: 767px) {
	.itw24-carousel {
		--itw24-cols: 1;
	}

	.itw24-carousel__arrow {
		width: 40px;
		height: 40px;
	}
}
