.sh-home .sh-videos {
	padding-top: var(--sh-section-y);
	padding-bottom: var(--sh-section-y);
}

.sh-home .sh-videos__tabs {
	display: flex;
	align-items: center;
	justify-content: center;
	width: max-content;
	max-width: 100%;
	margin: 0 auto 38px;
	padding: 6px;
	border: 1px solid rgba(28, 122, 190, 0.08);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 8px 24px rgba(18, 74, 126, 0.08);
}

.sh-home .sh-videos__tabs button {
	min-height: 42px;
	margin: 0;
	padding: 0 36px;
	border: 0;
	border-radius: 7px !important;
	background: transparent !important;
	color: #5f7d96 !important;
	font-size: 14px;
	font-weight: 800;
	text-transform: none !important;
}

.sh-home .sh-videos__tabs button.is-active {
	background: var(--sh-primary) !important;
	color: #fff !important;
}

.sh-home .sh-videos__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
	gap: 32px;
	align-items: stretch;
}

.sh-home .sh-videos__main {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 430px;
	border-radius: 10px;
	background: linear-gradient(180deg, #b9c6d0, #8d9aa5);
	overflow: hidden;
	box-shadow: 0 18px 36px rgba(23, 56, 88, 0.1);
}

.sh-home .sh-videos__main::after  {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 20%;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(8, 18, 28, 0.64));
}

.sh-home .sh-videos__play {
	position: relative;
	z-index: 1;
	width: 56px;
	height: 56px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.sh-home .sh-videos__play::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 52%;
	border-top: 9px solid transparent;
	border-bottom: 9px solid transparent;
	border-left: 13px solid var(--sh-primary);
	transform: translate(-50%, -50%);
}

.sh-home .sh-videos__main > div {
	position: absolute;
	z-index: 1;
	left: 24px;
	bottom: 20px;
	color: #fff;
}

.sh-home .sh-videos__caption-title {
	margin: 0 0 3px;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.32);
}

.sh-home .sh-videos__main span {
	display: block;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.32);
}

.sh-home .sh-videos__list {
	display: grid;
	gap: 10px;
	align-content: start;
	max-height: 430px;
	overflow-y: auto;
	padding-right: 8px;
	scrollbar-width: thin;
	scrollbar-color: rgba(0, 151, 220, 0.35) rgba(220, 236, 248, 0.7);
}

.sh-home .sh-videos__list[hidden] {
	display: none;
}

.sh-home .sh-videos__list::-webkit-scrollbar {
	width: 6px;
}

.sh-home .sh-videos__list::-webkit-scrollbar-track {
	border-radius: 999px;
	background: rgba(220, 236, 248, 0.7);
}

.sh-home .sh-videos__list::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: rgba(0, 151, 220, 0.35);
}

.sh-home .sh-videos__list button {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	align-items: center;
	min-height: 74px;
	margin: 0;
	padding: 0 24px 0 0;
	border: 0;
	border-radius: 8px;
	background: #fff;
	color: var(--sh-text);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.45;
	text-align: left;
	text-transform: none !important;
	box-shadow: 0 10px 22px rgba(23, 56, 88, 0.06);
	overflow: hidden;
}

.sh-home .sh-videos__list strong {
	display: grid;
	gap: 4px;
	padding-left: 18px;
	color: var(--sh-text);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.35;
	text-transform: none;
}

.sh-home .sh-videos__list small {
	color: #6f879d;
	font-size: 12px;
	font-weight: 700;
	text-transform: none;
}

.sh-home .sh-videos__list span {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	margin-left: 0;
	background: #dcecf8;
	background-size: cover;
	background-position: center;
	border-radius: 8px 0 0 8px;
	color: transparent;
	font-size: 0;
	overflow: hidden;
}

.sh-home .sh-videos__list span::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 4px 12px rgba(23, 56, 88, 0.08);
	transform: translate(-50%, -50%);
	z-index: 1;
}

.sh-home .sh-videos__list span::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 7px solid var(--sh-primary);
	transform: translate(-35%, -50%);
	z-index: 2;
}

@media (max-width: 767px) {
	.sh-home .sh-videos__tabs {
		justify-content: flex-start;
		width: 100%;
		margin-bottom: 22px;
		overflow-x: auto;
	}

	.sh-home .sh-videos__tabs button {
		flex: 0 0 auto;
		min-height: 38px;
		padding: 0 24px;
		font-size: 12px;
		white-space: nowrap;
	}

	.sh-home .sh-videos__layout {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.sh-home .sh-videos__main {
		min-height: 320px;
		border-radius: 8px;
	}

	.sh-home .sh-videos__list {
		gap: 8px;
		max-height: 300px;
		padding-right: 6px;
	}

	.sh-home .sh-videos__list button {
		grid-template-columns: 96px minmax(0, 1fr);
		min-height: 64px;
		padding-right: 14px;
		border-radius: 8px;
		font-size: 13px;
	}
}
