.shorts {
	position: relative;
	margin-top: 24px;
	margin-bottom: 24px;
	padding-bottom: 40px;
	clear: both;
}

.shorts .section-header {
	margin-bottom: 16px;
}

.shorts-glider .glider-track {
	gap: 12px;
}

.shorts .glider-arrow {
	position: absolute;
	top: calc(50% - 12px);
}

.shorts .glider-arrow.disabled {
	display: none;
}

.shorts .glider-prev {
	transform: rotate(90deg);
}

.shorts .glider-next {
	transform: rotate(-90deg);
}

.shorts .slider__dots {
	bottom: 0;
}

.short {
	position: relative;
	height: 290px !important;
	border-radius: 12px;
	overflow: hidden;
}

.shorts-glider:not(.glider) {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	overflow: hidden;
}

.shorts-glider:not(.glider) .short {
	flex-shrink: 0;
	width: 190px;
}

.short-cover {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

.short-title {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 80px;
	display: flex;
	align-items: flex-end;
	padding: 10px;
	font-size: 14px;
	color: #fff;
	font-weight: 600;
	line-height: 20px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 43.75%);
}

.short-play {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.short-play span {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: auto;
	margin-right: auto;
	width: 64px;
	height: 64px;
	background-color: rgba(0, 0, 0, .3);
	border-radius: 50%;
	color: #fff;
	font-size: 40px;
}

.short-play .svg-icon {
	transition: transform ease .1s;
}

.short-play:hover .svg-icon {
	transform: scale(.92);
}

@media (max-width: 991.98px) {
	.shorts-glider {
		left: -12px;
		width: calc(100% + 24px);
		padding-left: 12px;
		padding-right: 12px;
	}

	.shorts .glider-arrow {
		display: none;
		background-color: var(--whisper-200);
	}

	.shorts .glider-prev {
		left: -9px;
	}

	.shorts .glider-next {
		right: -9px;
	}
}

@media (max-width: 575.98px) {
	.short {
		height: 225px !important;
	}
}

@media (min-width: 992px) {
	.shorts-glider {
		margin-left: 48px;
		margin-right: 48px;
	}

	.shorts .glider-prev {
		left: 0;
	}

	.shorts .glider-next {
		right: 0;
	}
}


/* Modal */
.shorts-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 50px 24px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .25s ease, visibility .25s ease;
}

.shorts-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.shorts-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(54, 48, 59, .5)
}

.shorts-modal__content {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	max-width: 430px;
	max-height: 640px;
	transform: scale(.97);
	opacity: 0;
	border-radius: 12px;
	transition: transform .25s ease, opacity .25s ease;
}

.shorts-modal.is-open .shorts-modal__content {
	transform: scale(1);
	opacity: 1;
}

.shorts-modal__player {
	position: relative;
	width: 100%;
	height: 100%;
	aspect-ratio: 9 / 16;
	overflow: hidden;
	isolation: isolate;
	background: #000;
	touch-action: pan-y;
	border-radius: 12px;
}

.shorts-modal__video {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #000;
	opacity: 0;
	transform: translate3d(0, 0, 0);
	pointer-events: none;
}

.shorts-modal__video.is-active {
	z-index: 1;
	opacity: 1;
	pointer-events: auto;
}

.shorts-modal__video.is-entering-next,
.shorts-modal__video.is-entering-prev {
	z-index: 3;
	opacity: 1;
	pointer-events: none;
	animation-duration: 300ms;
	animation-timing-function: cubic-bezier(.22, .61, .36, 1);
	animation-fill-mode: both;
}

.shorts-modal__video.is-entering-next {
	animation-name: shorts-enter-next;
}

.shorts-modal__video.is-entering-prev {
	animation-name: shorts-enter-prev;
}

/* Horizontal animations */
@keyframes shorts-enter-next {
	from {
		transform: translate3d(100%, 0, 0);
	}

	to {
		transform: translate3d(0, 0, 0);
	}
}

@keyframes shorts-enter-prev {
	from {
		transform: translate3d(-100%, 0, 0);
	}

	to {
		transform: translate3d(0, 0, 0);
	}
}

.shorts-modal__title {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 5;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 40px 16px 16px;
	color: #fff;
	background: linear-gradient(transparent, rgba(0, 0, 0, .8));
}

.shorts-modal__title-text {
	font-size: 16px;
	font-weight: 600;
}

.shorts-modal__control {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	padding: 12px;
	color: #fff;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 43.75%);
	z-index: 5;
}

.shorts-modal__control-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.shorts-modal__control-header .button--icon {
	font-size: 24px;
	color: #fff;
}

.shorts-modal__control-header .button--icon .svg-icon {
	pointer-events: none;
}

.shorts-modal__play,
.shorts-modal__control-header--volume {
	flex-shrink: 0;
}

.shorts-modal__control-header--volume {
	position: relative;
}

.shorts-modal__control-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
}

.shorts-modal__seek {
	width: 100%;
	height: 5px;
	accent-color: #fff;
	cursor: pointer;
}

.shorts-modal__volume {
	position: absolute;
	top: -100%;
	left: 0;
	width: 65px;
	height: 5px;
	accent-color: #fff;
	transform: rotate(-90deg);
	transform-origin: 10px 0;
	cursor: pointer;
}

.shorts-modal__volume:not(.show) {
	display: none;
}

.shorts-modal__close {
	position: absolute;
	z-index: 10;
	top: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	cursor: pointer;
	background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zLjE3NTc0IDMuMTc1NzRDMy40MTAwNSAyLjk0MTQyIDMuNzg5OTUgMi45NDE0MiA0LjAyNDI2IDMuMTc1NzRMMjAuODI0MyAxOS45NzU3QzIxLjA1ODYgMjAuMjEwMSAyMS4wNTg2IDIwLjU4OTkgMjAuODI0MyAyMC44MjQzQzIwLjU4OTkgMjEuMDU4NiAyMC4yMTAxIDIxLjA1ODYgMTkuOTc1NyAyMC44MjQzTDMuMTc1NzQgNC4wMjQyNkMyLjk0MTQyIDMuNzg5OTUgMi45NDE0MiAzLjQxMDA1IDMuMTc1NzQgMy4xNzU3NFoiIGZpbGw9IiNEOUQ5RDkiLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yMC44MjQzIDMuMTc1NzRDMjAuNTkgMi45NDE0MiAyMC4yMTAxIDIuOTQxNDIgMTkuOTc1NyAzLjE3NTc0TDMuMTc1NzQgMTkuOTc1N0MyLjk0MTQyIDIwLjIxMDEgMi45NDE0MiAyMC41ODk5IDMuMTc1NzQgMjAuODI0M0MzLjQxMDA1IDIxLjA1ODYgMy43ODk5NSAyMS4wNTg2IDQuMDI0MjYgMjAuODI0M0wyMC44MjQzIDQuMDI0MjZDMjEuMDU4NiAzLjc4OTk1IDIxLjA1ODYgMy40MTAwNSAyMC44MjQzIDMuMTc1NzRaIiBmaWxsPSIjRDlEOUQ5Ii8+Cjwvc3ZnPgo=");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px;
	background-color: rgba(0, 0, 0, .3);
	border-radius: 0 12px;
}

.shorts-modal__close:hover {
	background-color: rgba(0, 0, 0, .5);
}

.shorts-modal__prev,
.shorts-modal__next {
	position: absolute;
	z-index: 5;
	top: 50%;
}

.shorts-modal__prev {
	left: -52px;
	transform: rotate(90deg);
}

.shorts-modal__next {
	right: -52px;
	transform: rotate(-90deg);
}

.shorts-modal__prev:disabled,
.shorts-modal__next:disabled {
	opacity: 0;
}

.shorts-modal-open {
	overflow: hidden;
}

@media (max-width: 767.98px) {
	.shorts-modal {
		padding: 50px 12px;
	}

	.shorts-modal__content {
		max-height: 504px;
	}

	.shorts-modal__player {
		aspect-ratio: auto;
	}

	.shorts-modal__video {
		object-fit: contain;
	}

	.shorts-modal__prev,
	.shorts-modal__next {
		display: none;
	}

	/*.shorts-modal__prev {
		left: 0;
	}

	.shorts-modal__next {
		right: 0;
	}*/
}

@media (prefers-reduced-motion: reduce) {
	.shorts-modal,
	.shorts-modal__content,
	.shorts-modal__close,
	.shorts-modal__prev,
	.shorts-modal__next {
		transition: none;
	}

	.shorts-modal__video.is-entering-next,
	.shorts-modal__video.is-entering-prev {
		animation-duration: 1ms;
	}
}