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

.video-service {
	width: 100%;
	margin: auto;
	margin-bottom: 20px;
}

.video-service__title {
	font-size: 27px;
    font-weight: bold;
    line-height: 120%;
    margin: 0;
    margin-bottom: 14px;
    position: relative;
    padding-left: 30px;
}

.video-service__title::before {
	content: '';
    width: 48px;
    height: 32px;
    display: block;
    background-image: url(icon-video.png);
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 0;
    bottom: 5px;
    z-index: -1;
}

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

.video-service__item {
	box-sizing: border-box;
	padding: 14px 14px 20px;
	position: relative;
	border-radius: 8px;
	background-color: white;
}

.video-service__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;
}

.video-service__preview {
	border-radius: 8px;
	width: 100%;
	min-width: 330px;
	height: 200px;
	display: block;
	margin-bottom: 16px;
	object-fit: cover;
}

.video-service__tags {
	list-style: none;
	margin: 0;
	padding: 0;
	margin-bottom: 14px;
	font-family: 'PT Sans';
}

.video-service__tag-item {
	background-color: #D8F0FF;
    border-radius: 14px;
    display: inline-block;
    padding: 4px 8px;
    font-size: 13px;
    margin: 5px;
}

.video-service__tag-item:first-child {
	margin-left: 0;
}

.video-service__tag-item:flast-child {
	margin-right: 0;
}

.video-service__description {
	font-size: 17px;
}

.video-service__buttons {
	margin: auto;
    width: 130px;
}

.video-service__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;
}

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

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

.video-service-modal {
    z-index: 100000;
	position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
	background-color: rgb(216 240 255 / 25%);
	backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
}

.video-service-modal--hidden {
	display: none;
}

.video-service-modal__wrapper {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 14px 20px;
	border-radius: 16px;
	background-color: white;
	box-shadow: 0 0 10px rgb(6 56 85 / 10%);
	position: relative;
	margin: 0 14px;
}

.video-service-modal__video {
	padding-bottom: 14px;
	border-radius: 16px;
}

.video-service-modal__title {
	padding-bottom: 14px;
	color: black;
}

.video-service-modal__date {
	color: #666666;
}

.video-service-modal__button-close {
	border: none;
    background-color: #E7EDF4;
    border-radius: 50px;
    width: 40px;
    height: 40px;
    background-image: url(icon-close.svg);
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: -50px;
    right: -40px;
}

.video-service-modal__button-close--near {
    top: -10px;
    right: -10px;
}

@media (min-width: 660px) {
	.video-service__list {
		padding: 10px;
		overflow-x: hidden;
	}

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

@media (min-width: 1380px) {
	.video-service-modal__wrapper {
		width: 748px;
		max-height: 800px;
	}

	.video-service-modal__wrapper--vertical {
		width: 445px;
		max-height: 860px;
	}

	.video-service {
		max-width: 1180px;
		position: relative;
	}

	.video-service__title {
		padding-left: 0;
	}

	.video-service__title::before {
		content: unset;
	}

	.video-service__item {
		width: 316px;
		border-radius: 16px;
		box-shadow: 0 0 10px rgb(6 56 85 / 10%);
	}

	.video-service__list {
		width: 100%;
		/*justify-content: space-between;*/
		justify-content: flex-start;
		padding: 10px 0;
		overflow-x: hidden;
	}

	.video-service__preview {
		min-width: 288px;
		height: 200px;
		cursor: pointer;
	}

	.video-service__buttons {
		position: absolute;
	    display: flex;
	    top: 50%;
	    left: -68px;
	    justify-content: space-between;
	    width: 1314px;
	}
}

.video-service__button-slider--hidden {
    display: none;
}