.hero {
	position: relative;
	width: 100%;
}

.hero__media {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__slide {
	flex: 0 0 100%;
	min-height: 70vh;
	position: relative;
}

.hero__content::after {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: clamp(2rem, 6vw, 4rem);
	color: #fff;
	background: linear-gradient(
		to top,
		rgba(0,0,0,.6),
		rgba(0,0,0,0)
	);
}

.hero__slider {
	width: 100%;
	max-height:80vh;
	min-height: 70vh;
}

.hero__slider .card__track {
	height: 100%;
}

.hero__slider img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero + section {
	margin-top: clamp(2rem, 6vw, 4rem);
}

.hero {
  margin-bottom: var(--section-gap);
}

.hero__content {
/*   max-width: 72ch; */
}

.hero__title {
  line-height: 1.1;
  margin-bottom: .75rem;
	color: var(--text-inverse);
}

.hero-actions {
	display: flex;
	gap: 0.75rem;
	z-index: 3;
}

.hero-action {
	background: rgba(0,0,0,.45);
	color: #fff;
	border-radius: 999px;
	padding: .5rem 1rem;
	backdrop-filter: blur(4px);
}

.hero--video-active .hero-slider {
	opacity: 0;
	pointer-events: none;
}

.hero-video-layer {
	position: absolute;
	inset: 0;
	z-index: 2;
}

.hero-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-actions {
	display: flex;
	gap: 0.75rem;
	z-index: 3;
}

.hero-action {
	background: rgba(0,0,0,.45);
	color: #fff;
	border-radius: 999px;
	padding: .5rem 1rem;
	backdrop-filter: blur(4px);
}

.hero--video-active .hero-slider {
	opacity: 0;
	pointer-events: none;
}

.hero-video-layer {
	position: absolute;
	inset: 0;
	z-index: 2;
}

.hero-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	max-height: 480px;
}

@media (min-width:780px) {
	
	.hero__video video.hero__video-el {
	max-height: 480px;
	min-width: 100%;
	object-fit: cover;
	object-position: center;
}

	
	
}
	
