#compare {
	background-image: url("../../images/how-it-works/compare-back.jpg");
	background-image: image-set(url("../../images/how-it-works/compare-back.jpg") 1x,
			url("../../images/how-it-works/compare-back@2x.jpg") 2x);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	padding-top: 65px;
	padding-bottom: 71px;
}

#compare .title {
	font-size: 46px;
	line-height: 1;
	margin-bottom: 20px;
}

#compare p {
	font-size: 22px;
	line-height: 30px;
	max-width: 710px;
}

#compare .grid-cont {
	/* overflow: hidden;
    overflow-x: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none; */
	display: flex;
	justify-content: center;
    width: max-content;
    margin: 35px auto 0;
	padding: 0 15px;
	position: relative;
}
#compare .grid-cont:before{
	content: '';
	display: block;
	width: 261px;
	height: 361px;
	max-width: 29%;
	position: absolute;
	left: -220px;
	bottom: 0;
	z-index: 3;
	background-image: url("../../images/how-it-works/frog.png");
	background-image: image-set(url("../../images/how-it-works/frog.png") 1x,
			url("../../images/how-it-works/frog@2x.png") 2x);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

#compare .grid-cont::-webkit-scrollbar {
	/* display: none; */
}

#compare .grid-wrapper {
	overflow: hidden;
	overflow-x: visible;
	padding: 29px 15px 29px 15px;
	margin: 14px -15px 0 -15px;
	position: relative;
}

#compare .grid-wrapper::-webkit-scrollbar {
	display: none;
}


#compare .grid {
	display: grid;
	grid-template-columns: 588fr 196fr 228fr;
	align-items: stretch;
	box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.3);
	position: relative;
	z-index: 2;
	width: 1112px;
	max-width: 100%;
	margin: 0 auto;
}

#compare .image {
	padding: 0 12px;
}

#compare .grid>* {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	position: relative;
}

#compare .grid>*:nth-child(1),
#compare .grid>*:nth-child(2),
#compare .grid>*:nth-child(3) {
	height: 74px;
}

#compare .grid>*:nth-child(2) img {
	position: relative;
	z-index: 4;
	margin-bottom: 13px;
	background-color: var(--light-green);
}

#compare .grid>*:nth-child(2)::before {
	content: '';
	position: absolute;
	background-color: var(--light-green);
	left: 0;
	right: 0;
	top: -29px;
	bottom: 0;
	box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.3);
	z-index: 2;
}
#compare .check.last::after {
	content: '';
	position: absolute;
	background-color: var(--light-green);
	left: 0;
	right: 0;
	height: 29px;
	bottom: -29px;
	box-shadow: 0px 8px 8px -4px rgba(0, 0, 0, 0.3);
	z-index: 2;
}

#compare .grid p {
	width: 100%;
}

#compare .x,
#compare .spacer,
#compare .text {
	background-color: #fff;
}

#compare .spacer span {
	font-size: 30px;
}
#compare .text {
	border-top: 1px solid #CBCBCB;
	justify-content: start;
	padding: 28px;
	height: auto;
	font-size: 20px;
	line-height: 33px;
	color: #000;
}

#compare .x,
#compare .check {
	border-top: 1px solid #CBCBCB;
	height: 100%;
}
#compare .check {
	background-color: var(--light-green);
}

#compare .grid>*:nth-last-child(-n + 2) {
	border-bottom: none;
}

#compare .image,
#compare .image img,
#compare .check {
	position: relative;
	z-index: 2;
}

@media screen and (max-width: 567px) {
	#compare {
		padding-top: 30px;
		padding-bottom: 51px;
	}

	#compare .inner {
		padding: 0;
	}

	#compare .title {
		font-size: 36px;
		line-height: 40px;
		margin-bottom: 20px;
	}

	#compare .grid-cont {
		margin-top: 2px;
        width: auto;
	}

	#compare .grid-cont:before{
		display: none;
	}
	#compare .grid>*:nth-child(1),
	#compare .grid>*:nth-child(2),
	#compare .grid>*:nth-child(3) {
		height: 58px;
	}

	#compare .spacer span {
		font-size: 20px;
		line-height: 1;
		text-align: center;
	}

	#compare p {
		font-size: 18px;
		line-height: 26px;
		padding: 0 24px;
	}

	#compare .image {
		padding: 0 0;
	}

	#compare .grid {
		width: auto;
		grid-template-columns: 183fr 95fr 82fr;
	}

	#compare .grid .image img {
		width: 80px;
		height: auto;
		margin-top: 8px;
		margin-bottom: -2px;
	}

	#compare .grid p {
		text-align: center;
	}

	#compare .grid-wrapper {
		margin-top: 35px;
		padding: 15px 15px 25px 15px;
	}

	#compare .check img {
		width: 28px;
		height: 28px;
	}

	#compare .text {
		font-size: 13px;
		line-height: 20px;
		padding: 21px 8px 17px 12px;
	}

	#compare .grid>* {
		height: unset;
	}
}