/* =============================== Video panel ============================ */

.bb-vpanel {
	padding: 22px 20px 24px;
	border-radius: var(--bb-radius);
	background: var(--bb-grey-bg);
	height: 100%;
}

.bb-vpanel .bb-sec-head__title {
	color: var(--bb-heading);
}

/* ----------------------------------------------------------- main video */

.bb-vpanel__main {
	position: relative;
	display: block;
	aspect-ratio: 1.62;
	border-radius: var(--bb-radius-sm);
	overflow: hidden;
	background: var(--bb-navy);
}

.bb-vpanel__main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--bb-ease);
}

.bb-vpanel__main:hover img {
	transform: scale(1.05);
}

.bb-vpanel__main::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(14, 33, 72, 0) 45%, rgba(14, 33, 72, .72) 100%);
	pointer-events: none;
}

.bb-vpanel__main-title {
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 12px;
	z-index: 2;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ------------------------------------------------------------ play button */

.bb-vpanel__play {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: var(--bb-navy);
	box-shadow: 0 6px 20px rgba(0, 0, 0, .28);
	transition: transform .25s var(--bb-ease), background-color .25s var(--bb-ease);
}

.bb-vpanel__play .bb-icon {
	width: 17px;
	height: 17px;
	margin-left: 2px;
}

.bb-vpanel__main:hover .bb-vpanel__play,
.bb-vpanel__thumb:hover .bb-vpanel__play {
	transform: translate(-50%, -50%) scale(1.1);
	background: var(--bb-saffron);
	color: #fff;
}

.bb-vpanel__play--sm {
	width: 34px;
	height: 34px;
}

.bb-vpanel__play--sm .bb-icon {
	width: 11px;
	height: 11px;
}

/* --------------------------------------------------------------- thumbs */

.bb-vpanel__thumbs {
	--bb-vcols: 3;

	display: grid;
	grid-template-columns: repeat(var(--bb-vcols), minmax(0, 1fr));
	gap: 10px;
	margin-top: 10px;
}

.bb-vpanel__thumb {
	position: relative;
	display: block;
	aspect-ratio: 1.35;
	border-radius: var(--bb-radius-sm);
	overflow: hidden;
	background: var(--bb-navy);
}

.bb-vpanel__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s var(--bb-ease);
}

.bb-vpanel__thumb:hover img {
	transform: scale(1.07);
}

.bb-vpanel__title {
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 6px;
	z-index: 2;
	color: #fff;
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.35;
	text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ------------------------------------------------------------ breakpoints */

@media (max-width: 767px) {
	.bb-vpanel {
		padding: 18px 16px 20px;
	}

	.bb-vpanel__play {
		width: 46px;
		height: 46px;
	}
}
