.atlasblog-buying-guide {
	display: grid;
	grid-template-columns: 210px minmax(0, 1fr);
	gap: 26px;
	align-items: stretch;
	padding: 34px 28px 26px;
	border-radius: 18px;
	background: #eef1f8;
	direction: rtl;
}

.atlasblog-buying-guide__side {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 250px;
	padding: 0 8px;
	overflow: hidden;
}

.atlasblog-buying-guide__heading {
	margin: 0 0 18px;
	color: #1f2937;
	font-size: 24px;
	font-weight: 900;
	line-height: 1.5;
}

.atlasblog-buying-guide__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #1f2937;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.atlasblog-buying-guide__side-image {
	position: absolute;
	right: 26px;
	bottom: 0;
	max-width: 150px;
	max-height: 170px;
	object-fit: contain;
}

.atlasblog-buying-guide__illustration {
	position: absolute;
	right: 42px;
	bottom: 6px;
	width: 92px;
	height: 140px;
	border-radius: 44px 44px 10px 10px;
	background: linear-gradient(180deg, #ffcc4d 0%, #ffb31a 100%);
}

.atlasblog-buying-guide__illustration::before {
	position: absolute;
	top: -20px;
	right: 18px;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 62px 54px 0 -20px #253583, -35px 84px 0 -22px #253583;
	content: "";
}

.atlasblog-buying-guide__main {
	position: relative;
	min-width: 0;
}

.atlasblog-buying-guide__viewport {
	overflow: hidden;
}

.atlasblog-buying-guide__track {
	--atlasblog-buying-guide-columns: 3;
	--atlasblog-buying-guide-gap: 24px;
	display: flex;
	gap: var(--atlasblog-buying-guide-gap);
	will-change: transform;
}

.atlasblog-buying-guide__card {
	flex: 0 0 calc((100% - (var(--atlasblog-buying-guide-gap) * (var(--atlasblog-buying-guide-columns) - 1))) / var(--atlasblog-buying-guide-columns));
	overflow: hidden;
	border-radius: 14px;
	background: #fff;
}

.atlasblog-buying-guide__image-link {
	position: relative;
	display: block;
	min-height: 210px;
	overflow: hidden;
	color: #fff;
	text-decoration: none;
}

.atlasblog-buying-guide__image {
	position: absolute;
	inset: 0;
	background-color: #d9dce7;
	background-position: center;
	background-size: cover;
	transition: transform 0.4s ease;
}

.atlasblog-buying-guide__image::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(35, 49, 105, 0) 35%, rgba(50, 69, 151, 0.85) 100%);
	content: "";
}

.atlasblog-buying-guide__card:hover .atlasblog-buying-guide__image,
.atlasblog-buying-guide__card:focus-within .atlasblog-buying-guide__image {
	transform: scale(1.06);
}

.atlasblog-buying-guide__content {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 14px;
	padding: 0 18px 18px;
}

.atlasblog-buying-guide__title {
	color: #fff;
	font-size: 15px;
	font-weight: 900;
	line-height: 1.8;
	text-align: right;
}

.atlasblog-buying-guide__date {
	flex: 0 0 auto;
	color: rgba(255, 255, 255, 0.9);
	font-size: 12px;
	line-height: 1.6;
}

.atlasblog-buying-guide__arrow {
	position: absolute;
	top: 43%;
	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: #fff !important;
	box-shadow: 0 10px 24px rgba(30, 41, 59, 0.12);
	color: #8b93a3;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
}

.atlasblog-buying-guide__arrow:hover,
.atlasblog-buying-guide__arrow:focus,
.atlasblog-buying-guide__arrow:active {
	border: 0 !important;
	outline: 0 !important;
	background: #fff !important;
	color: #8b93a3;
	box-shadow: 0 10px 24px rgba(30, 41, 59, 0.12);
}

.atlasblog-buying-guide__arrow--prev {
	right: -20px;
}

.atlasblog-buying-guide__arrow--next {
	left: -20px;
}

.atlasblog-buying-guide__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 24px;
}

.atlasblog-buying-guide__dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #f3dda0;
	transition: width 0.25s ease, background 0.25s ease;
}

.atlasblog-buying-guide__dot.is-active {
	width: 28px;
	background: #ffc400;
}

.atlasblog-buying-guide__empty {
	padding: 16px;
	border-radius: 12px;
	background: #f5f5f5;
	color: #555;
	text-align: center;
}

@media (max-width: 1024px) {
	.atlasblog-buying-guide {
		grid-template-columns: 1fr;
	}

	.atlasblog-buying-guide__side {
		min-height: auto;
	}

	.atlasblog-buying-guide__side-image,
	.atlasblog-buying-guide__illustration {
		display: none;
	}

	.atlasblog-buying-guide__track {
		--atlasblog-buying-guide-columns: 2;
	}
}

@media (max-width: 767px) {
	.atlasblog-buying-guide {
		padding: 24px 18px;
	}

	.atlasblog-buying-guide__track {
		--atlasblog-buying-guide-columns: 1;
	}

	.atlasblog-buying-guide__image-link {
		min-height: 190px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.atlasblog-buying-guide__image,
	.atlasblog-buying-guide__dot {
		transition: none;
	}

	.atlasblog-buying-guide__card:hover .atlasblog-buying-guide__image,
	.atlasblog-buying-guide__card:focus-within .atlasblog-buying-guide__image {
		transform: none;
	}
}
