.caterogory_carousel {
	display: flex;
	align-items: center;
	overflow: hidden;
	margin-bottom: 64px;
}

ul.carousel_categories {
	padding: 0;
	margin: 0;
	list-style: none;
	display: flex;
	gap: 33px;
	transition: transform 0.3s ease-in-out;
}

.carousel_category {
	flex: 0 0 calc(33.33% - 22px);
}

.carousel_category__link {
	padding: 21px 20px;
	display: block;
	background-color: var(--light-pink);
	border-radius: 24px;
	text-decoration: none;
	min-height: 128px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: background-color 0.3s;
}

.carousel_category__link:hover {
	background-color: var(--pink);
}

.carousel_category__name {
	font-size: 20px;
	line-height: 24px;
	font-weight: 700;
}

.carousel_category__read_more {
	margin-top: auto;
	font-size: 16px;
	line-height: 32px;
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: flex-end;
}

.carousel_category__read_more:after {
	content: '';
	display: block;
	width: 14px;
	height: 10px;
	background: url(../../img/category-arrow.svg);
}

li.carousel_category.highlight .carousel_category__link {
	background-color: var(--pink);
}

.category_carousel__title {
	margin-bottom: 0;
	flex: 0 0 165px;
	font-size: 24px;
	line-height: 29px;
	margin-right: 30px;
}

.caterogory_carousel__wrapper {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	overflow: hidden;
}

.carousel_arrow {
	cursor: pointer;
	top: 50%;
	position: absolute;
	transform: translateY(-50%);
	width: 16px;
	height: 28px;
	z-index: 2;
}

.carousel_arrow.prev {
	left: 0;
	background: url(../../img/arrow-left.svg);
}

.carousel_arrow.next {
	right: 0;
	background: url(../../img/arrow-right.svg);
}

.carousel_categories_inner {
	overflow: hidden;
	max-width: calc(100% - 100px);
	margin: 0 auto;
}

@media (max-width: 991px) {
	.carousel_category {
		flex: 0 0 calc(50% - 17px);
	}	
}

@media (max-width: 767px) {
	.caterogory_carousel {
		display: block;
	}

	.category_carousel__title {
		flex: 1;
		margin-right: 0;
		margin-bottom: 16px;
	}

	.caterogory_carousel {
		text-align: left;
		margin-bottom: 40px;
	}

	.caterogory_carousel__wrapper {
		flex: 0;
	}

	.carousel_categories {
		display: flex;
	}

	.carousel_categories_inner {
		max-width: 100%;
	}

	.carousel_arrow {
		display: none;
	}

	.carousel_category {
		display: flex;
	}

	.carousel_category__link {
		padding: 16px 11px;
		border-radius: 16px;
		flex-grow: 1;
	}

	ul.carousel_categories {
		gap: 16px;
		flex-wrap: wrap;
	}

	.carousel_category {
		flex: 0 0 calc(50% - 8px);
	}

	.carousel_category__name {
		font-size: 14px;
		line-height: 17px;
	}

	.carousel_category__read_more {
		font-size: 12px;
		line-height: 15px;
	}

	.carousel_category__link {
		min-height: 100px;
	}
}
