.atlasblog-category-grid-two {
	position: relative;
	padding: 42px 64px 44px;
	border-radius: 16px;
	background: #fff;
	direction: rtl;
}

.atlasblog-category-grid-two::after {
	position: absolute;
	right: 0;
	bottom: -38px;
	left: 0;
	z-index: 0;
	height: 78px;
	border-radius: 0 0 50% 50% / 0 0 100% 100%;
	background: #fff;
	content: "";
	pointer-events: none;
}

.atlasblog-category-grid-two__viewport {
	position: relative;
	z-index: 1;
	overflow: hidden;
}

.atlasblog-category-grid-two__track {
	--atlasblog-category-grid-two-columns: 7;
	--atlasblog-category-grid-two-gap: 30px;
	display: flex;
	gap: var(--atlasblog-category-grid-two-gap);
	align-items: start;
	direction: rtl;
	will-change: transform;
}

.atlasblog-category-grid-two__item {
	display: flex;
	flex: 0 0 calc((100% - (var(--atlasblog-category-grid-two-gap) * (var(--atlasblog-category-grid-two-columns) - 1))) / var(--atlasblog-category-grid-two-columns));
	flex-direction: column;
	align-items: center;
	gap: 13px;
	color: inherit;
	text-align: center;
	text-decoration: none;
}

.atlasblog-category-grid-two__icon-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: rgba(74, 92, 148, 0.08);
	color: #58679b;
	transition: transform 0.3s ease, background 0.3s ease;
}

.atlasblog-category-grid-two__icon-wrap::before {
	position: absolute;
	inset: -6px;
	border-radius: inherit;
	background: rgba(74, 92, 148, 0.08);
	filter: blur(8px);
	content: "";
	opacity: 0.75;
}

.atlasblog-category-grid-two__icon {
	position: relative;
	z-index: 1;
	display: block;
	width: 34px;
	height: 34px;
	object-fit: contain;
}

.atlasblog-category-grid-two__icon--placeholder {
	border: 2px solid currentColor;
	border-radius: 8px;
}

.atlasblog-category-grid-two__title {
	color: #1e2530;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.8;
	transition: transform 0.3s ease;
}

.atlasblog-category-grid-two__item:hover .atlasblog-category-grid-two__icon-wrap,
.atlasblog-category-grid-two__item:focus .atlasblog-category-grid-two__icon-wrap {
	background: rgba(74, 92, 148, 0.13);
	transform: translateY(-4px);
}

.atlasblog-category-grid-two__item:hover .atlasblog-category-grid-two__title,
.atlasblog-category-grid-two__item:focus .atlasblog-category-grid-two__title {
	transform: translateY(-2px);
}

.atlasblog-category-grid-two__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0 !important;
	border-radius: 50%;
	background: #ffffff00 !important;
	box-shadow: none !important;
	color: #77808f;
	font-size: 28px;
	line-height: 1;
	text-decoration: none !important;
	cursor: pointer;
	transform: translateY(-50%);
}

.atlasblog-category-grid-two__arrow:hover,
.atlasblog-category-grid-two__arrow:focus,
.atlasblog-category-grid-two__arrow:active {
	border: 0 !important;
	outline: 0 !important;
	background: #ffffff00 !important;
	box-shadow: none !important;
	color: #77808f;
	text-decoration: none !important;
}

.atlasblog-category-grid-two__arrow::before {
	position: absolute;
	top: 50%;
	z-index: -1;
	width: 36px;
	height: 117px;
	background-image: url("../../img/Curve-Arrow.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	content: "";
	transform: translateY(-50%);
}

.atlasblog-category-grid-two__arrow--prev {
	right: -20px;
}

.atlasblog-category-grid-two__arrow--prev::before {
	right: 15px;
	transform: translateY(-50%) rotate(359deg);
}

.atlasblog-category-grid-two__arrow--next {
	left: -20px;
}

.atlasblog-category-grid-two__arrow--next::before {
	left: 15px;
	transform: translateY(-50%) rotate(179deg);
}

@media (max-width: 1024px) {
	.atlasblog-category-grid-two {
		padding-inline: 48px;
	}

	.atlasblog-category-grid-two__track {
		--atlasblog-category-grid-two-columns: 4;
	}
}

@media (max-width: 767px) {
	.atlasblog-category-grid-two {
		padding: 34px 30px 40px;
	}

	.atlasblog-category-grid-two__track {
		--atlasblog-category-grid-two-columns: 2;
		--atlasblog-category-grid-two-gap: 22px;
	}

	.atlasblog-category-grid-two__arrow {
		width: 34px;
		height: 34px;
		font-size: 22px;
	}

	.atlasblog-category-grid-two__arrow--prev {
		right: -12px;
	}

	.atlasblog-category-grid-two__arrow--next {
		left: -12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.atlasblog-category-grid-two__icon-wrap,
	.atlasblog-category-grid-two__title {
		transition: none;
	}

	.atlasblog-category-grid-two__item:hover .atlasblog-category-grid-two__icon-wrap,
	.atlasblog-category-grid-two__item:focus .atlasblog-category-grid-two__icon-wrap,
	.atlasblog-category-grid-two__item:hover .atlasblog-category-grid-two__title,
	.atlasblog-category-grid-two__item:focus .atlasblog-category-grid-two__title {
		transform: none;
	}
}
