.ms-vehicle-video-section {
	display: grid;
	gap: 0.8rem;
	min-width: 0;
}

.ms-vehicle-video-heading p,
.ms-vehicle-video-heading h2 {
	margin: 0;
}

.ms-vehicle-video-frame {
	position: relative;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #071426;
	border: 1px solid rgba(15, 23, 42, 0.16);
	border-radius: 6px;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.ms-vehicle-video-frame iframe,
.ms-vehicle-video-frame video {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	border: 0;
}

.ms-vehicle-video-frame video {
	object-fit: contain;
}

.ms-vehicle-video-frame iframe:focus-visible,
.ms-vehicle-video-frame video:focus-visible {
	outline: 3px solid #c89b3c;
	outline-offset: -3px;
}

.ms-vehicle-card .ms-vehicle-video-badge {
	position: absolute;
	z-index: 2;
	top: 0.85rem;
	right: 0.85rem;
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 0.25rem 0.55rem;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(7, 20, 38, 0.18);
	border-radius: 4px;
	color: #071426;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

@media (max-width: 430px) {
	.ms-vehicle-video-frame {
		border-radius: 4px;
	}
}
