.reviews {
	padding: 40px 10px;
	background-color: #F6FBFF;
	position: relative;
	font-family: PT Sans;
	padding: 40px 0 20px;
}

.ratings{
	width: 1290px;
	height: 322.5px;
	background: url("ratings_bg.webp") no-repeat center/cover;
	margin: 0 auto;
	display: flex;
	align-items: center;
}

.ratings__titleblock{
	margin-left: 270px;
	width: 515px;
	height: 242.5px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.ratings__title{
	font-size: 40px;
    color: black;
    text-align: left;
    position: relative;
}

.ratings__title::after {
	content: "";
    position: absolute;
    bottom: -15px;
    height: 3px;
    width: 58px;
    background: #ea9d00;
    left: 0px;
}

.ratings__subtitle{
	font-size: 20px;
	padding-top: 20px;
	color: black;
}

.ratings__list{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
	width: 470px;
	height: 242.5px;
	gap: 15px;
}

.ratings__item{
	width: 225px;
	height: 115px;
	background-color: white;
	border-radius: 20px;
	padding: 20px;
	display: flex;
	flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.reviews__list {
	max-width: 1290px;
    list-style: none;
    margin: 0 auto;
    padding: 14px;
    display: flex;
	overflow-x: hidden;
    overflow-y: hidden;
}

.reviews__slider{
    position: relative;
    max-width: 1430px;
    margin: 0 auto 20px auto;
}

.reviews__list__buttons {
	position: absolute;
	display: flex;
	top: calc(50% - 30px);
	justify-content: space-between;
	width: 1430px;
}

.reviews__item {
	padding: 20px;
    border-radius: 16px;
    background-color: white;
	box-shadow: 0px 0px 12px 0px #304BD81A, 0px 0px 2px 0px #0638551A;
    margin-right: 15px;
    scroll-snap-align: start;
	width: 305px;
	min-width: 305px;
	height: 315px;
    min-height: 315px;
    display: flex;
    flex-wrap: wrap;
	align-content: space-between;
	/*align-items: self-end;*/
}

.reviews__item-title {
	font-weight: 700;
    text-transform: uppercase;
	color: black;
	margin-bottom: 5px;
}

.reviews__name {
	font-size: 16px;
    color: #666666;
	margin-bottom: 0;
}

.reviews__description{
    font-size: 16px;
	line-height: 21px;
    color: black;
	height: 190px;
	overflow-y: auto;
}

.reviews__date {
	color: #999999;
	font-size: 14px;
	margin-bottom: 0;
}

.reviews__item-footer {
	display: flex;
    justify-content: space-between;
    width: 100%;
}

.reviews__link {
    text-decoration: none;
    border-radius: 30px;
    border: 1px solid #216CB4;
    color: #216CB4;
    padding: 13px;
    width: 155px;
    display: block;
    text-align: center;
    margin: auto;
	position: relative;
	z-index: 9999;
}

.reviews__list__button-slider {
	border: 1px solid #CFCFD0;
	border-radius: 40px;
	background-color: white;
	width: 60px;
	height: 60px;
	background-repeat: no-repeat;
    background-size: 8px 12px;
    background-position: center;
}

.reviews__list__button-slider--left {
	background-image: url('icon-arrow-left.svg');
}

.reviews__list__button-slider--right {
	background-image: url('icon-arrow-right.svg');
}

@media (max-width: 1450px){
	.reviews__list{
		overflow-x: scroll;
	}
	.reviews__list__buttons {
		position: absolute;
		display: flex;
		justify-content: space-between;
		width: 100%;
		margin-top: 14px;
		top: auto;
	}
	.reviews__list__button-slider--left{
		margin-left: 30px;
	}
	.reviews__list__button-slider--right{
		margin-right: 30px;
	}
}

@media (min-width: 500px) and (max-width: 1450px){
	.reviews__list__buttons {
		position: absolute;
		display: flex;
		justify-content: center;
		width: 100%;
		margin-top: 14px;
		top: auto;
	}
	.reviews__list__button-slider--left{
		margin-right: 120px;
	}
	.reviews__list__button-slider--right{
		margin-left: 120px;
	}
}

@media (min-width: 1000px) and (max-width: 1299px){
	.ratings{
		width: 100%;
		background: #D8F0FF;
		margin: 0 auto;
		justify-content: center;
	}
	.ratings__titleblock{
		margin-left: 0px;
	}
}

@media (min-width: 768px) and (max-width: 999px){
	.ratings{
		width: 100%;
		height: 400px;
		background: #D8F0FF;
		margin: 0 auto;
		justify-content: center;
		flex-direction: column;
	}
	.ratings__titleblock{
		height: 200px;
		justify-content: flex-start;
		text-align: center;
		margin: 0 auto;
	}
	.ratings__title {
		text-align: center;
	}
	.ratings__title::after{
		left: 45%;
	}
	.ratings__list{
		width: auto;
		height: 125px;
	}
}

@media (min-width: 500px) and (max-width: 767px){
	.ratings{
		width: 100%;
		flex-direction: column;
		height: 525px;
	}
	.ratings__titleblock{
		height: 200px;
		justify-content: flex-start;
		text-align: center;
		margin: 0 auto;
	}
	.ratings__title::after{
		left: 45%;
	}
	.ratings__title {
		text-align: center;
	}
}

@media (min-width: 390px) and (max-width: 499px){
	.ratings{
		flex-direction: column;
		width: calc(100% - 30px);
		min-width: 360px;
		height: 330px;
		border-radius: 20px;
		padding: 15px;
	}
	.ratings__titleblock{
		width: 330px;
		height: 110px;
		justify-content: flex-start;
		text-align: center;
		margin: 0 auto;
	}
	.ratings__title {
		font-size: 27px;
		text-align: center;
		margin-top: 0px;
		margin-bottom: 5px;
	}
	.ratings__title::after{
		left: 40%;
	}
	.ratings__subtitle{
		font-size: 17px;
		line-height: 22px;
	}
	.ratings__list{
		width: 330px;
		flex-direction: column;
		gap: 8px;
	}
	.ratings__item{
		width: 330px;
		height: 52px;
		padding: 14px;
		flex-direction: row;
		justify-content: space-between;
		flex-wrap: nowrap;
	}
	.ratings__item-service{
		width: auto;
		height: 24px;
	}
	.ratings__item-rating{
		width: auto;
		height: 16px;
	}
	.reviews__list__button-slider--left{
		margin-left: 15px;
	}
	.reviews__list__button-slider--right{
		margin-right: 15px;
	}
}

@media (min-width: 320px) and (max-width: 389px){
	.ratings{
		flex-direction: column;
		width: 100%;
		min-width: 320px;
		height: 330px;
		padding: 15px;
	}
	.ratings__titleblock{
		width: 300px;
		height: 110px;
		justify-content: flex-start;
		text-align: center;
		margin: 0 auto;
	}
	.ratings__title {
		font-size: 24px;
		text-align: center;
		margin-top: 0px;
		margin-bottom: 5px;
	}
	.ratings__title::after{
		left: 40%;
	}
	.ratings__subtitle{
		font-size: 15px;
		line-height: 20px;
	}
	.ratings__list{
		width: 300px;
		flex-direction: column;
		gap: 8px;
	}
	.ratings__item{
		width: 300px;
		height: 52px;
		padding: 14px;
		flex-direction: row;
		justify-content: space-between;
		flex-wrap: nowrap;
	}
	.ratings__item-service{
		width: auto;
		height: 24px;
	}
	.ratings__item-rating{
		width: auto;
		height: 16px;
	}
	.reviews__list__button-slider--left{
		margin-left: 15px;
	}
	.reviews__list__button-slider--right{
		margin-right: 15px;
	}
}