.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	border: 0;
	padding: 0;
	white-space: nowrap;
		-webkit-clip-path: inset(100%);
	clip-path: inset(100%);
	clip: rect(0 0 0 0);
	overflow: hidden;
}

.works-doctor {
	width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-top: 80px;
    padding-bottom: 80px;
	background: linear-gradient(180deg, #D9EAFF 0%, #A9D0FA 100%);
	margin-top: 80px;
	margin-bottom: 50px;
}

.works-doctor__text{
	width: 100%;
	height: 120px;
	margin-bottom: 10px;
}

.works-doctor__title {
	font-size: 30px;
    font-weight: bold;
    line-height: 130%;
    margin: 0;
    margin-bottom: 30px;
    position: relative;
	text-align: center;
	color: black;
}

.works-doctor__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	overflow-x: scroll;
    scroll-snap-type: none;
}

.works-doctor__item {
	box-sizing: border-box;
	padding: 20px;
	position: relative;
	border-radius: 8px;
	background-color: white;
}

/*.video-doctor__item::after {
	content: '';
	width: 40px;
	height: 40px;
	background-image: url(icon-play.svg);
    background-repeat: no-repeat;
    background-position: center;
	position: absolute;
    top: 25px;
    left: 25px;
}*/

.works-doctor__before img, .works-doctor__after img{
	width: 250px;
	height: 110px;
	display: block;
	object-fit: cover;
}

.works-doctor__before::before{
	width: 57px;
	height: 25px;
	background-color: #FFFFFF;
	border: 1px solid #D8F0FF;
	border-radius: 14px 14px 0px 14px;
    content: "До";
    display: block;
    position: absolute;
    right: 20px;
    bottom: 169px;
    text-align: center;
    font-size: 13px;
    line-height: 22.5px;
    color: black;
}

.works-doctor__before img{
	border-radius: 8px 8px 0 0;
	margin-bottom: 1px;
}

.works-doctor__after::before{
	width: 57px;
	height: 25px;
	background: linear-gradient(119.25deg, #5385D6 27.13%, #7DB9E8 86.53%);
	border-image-source: linear-gradient(180deg, #D9EAFF 0%, #A9D0FA 100%);
	border-radius: 14px 0px 14px 14px;
    content: "После";
    display: block;
    position: absolute;
    right: 20px;
    bottom: 143px;
    text-align: center;
    font-size: 13px;
    line-height: 22.5px;
    color: white;
}


.works-doctor__after img{
	border-radius: 0 0 8px 8px;
	margin-bottom: 14px;
}
.works-doctor__worktitle {
	font-size: 17px;
	line-height: 130%;
	font-weight: bold;
	margin-bottom: 10px;
}

.works-doctor__description {
	font-size: 16px;
	line-height: 130%
}

.works-doctor__link{
	display: block;
	width: 110px;
	text-decoration: none;
	background: url('/local/templates/main/components/bitrix/news.list/doctor-works/arrow_right.svg') no-repeat 85px 1px;
}

.works-doctor__link:hover{
	background: url('/local/templates/main/components/bitrix/news.list/doctor-works/arrow_right_hover.svg') no-repeat 85px 1px;
}

.works-doctor__buttons {
	margin: auto;
    width: 130px;
}

.works-doctor__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;
}

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

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



@media (min-width: 1350px) {
	.works-doctor__container {
		max-width: 1200px;
		margin: 0 auto;
	}

	.works-doctor__title {
		padding-left: 0;
	}

	.works-doctor__title::before {
		content: unset;
	}

	.works-doctor__item {
		width: 292.5px;
		border-radius: 16px;
		margin-right: 10px;
		box-shadow: 0px 0px 20px 0px #304BD81A;
		box-shadow: 0px 0px 2px 0px #0638551A;
	}

	.works-doctor__list {
		width: 100%;
		justify-content: flex-start;
		overflow-x: hidden;
	}

	.works-doctor__buttons {
		position: relative;
        display: flex;
        top: -235px;
        left: -67px;
        justify-content: space-between;
        width: 1340px;
	}
}

@media (min-width: 768px) and (max-width: 1349px) {
	.works-doctor {
		padding-top: 40px;
		padding-bottom: 40px;
	}
	.works-doctor__container{
		margin: 0 auto;
		margin-left: 40px;
	}

	.works-doctor__list {
		padding: 10px;
		overflow-x: hidden;
	}

	.works-doctor__item {
		margin-right: 10px;
		box-shadow: 0 0 2px rgb(6 56 85 / 10%);
	}
	.works-doctor__item:first-child{
		margin-left: -1px;
	}
	.works-doctor__item:last-child{
		margin-right: 1px;
	}
	.works-doctor__buttons {
		display: flex;
		justify-content: space-between;
		margin-top: 20px;
	}
}

@media (max-width: 768px) {
	.works-doctor {
		padding-top: 40px;
		padding-bottom: 40px;
	}
	.works-doctor__container{
		margin: 0 auto;
		margin-left: 16px;
	}

	.works-doctor__list {
		padding: 10px;
		overflow-x: hidden;
	}

	.works-doctor__item {
		margin-right: 10px;
		box-shadow: 0 0 2px rgb(6 56 85 / 10%);
	}
	.works-doctor__item:first-child{
		margin-left: -1px;
	}
	.works-doctor__item:last-child{
		margin-right: 1px;
	}

	.works-doctor__buttons {
		display: flex;
		justify-content: space-between;
		margin-top: 20px;
	}
}

.works-doctor__button-slider--hidden {
    display: none;
}