.hover-video{
  position: relative;
  display: block;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}

.hover-video__image{
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  vertical-align: top;
}

.hover-video::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  box-shadow:
    inset 0 0 0 10px #fff,
    inset 0 0 0 1px rgba(0,0,0,0.12);
}

.hover-sequence__poster,
.hover-sequence__layer{
  transition: opacity var(--hover-sequence-fade, .25s) ease;
}

.hover-sequence__poster{
  z-index: 1;
  opacity: 1;
}

.hover-sequence__layer{
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  pointer-events: none;
}

.hover-sequence.is-active .hover-sequence__poster{
  opacity: 0;
}

.hover-sequence__layer.is-visible{
  opacity: 1;
  z-index: 2;
}

.bhs-editor__section{
  margin-bottom: 20px;
}

.bhs-editor__label{
  font-weight: 600;
  margin-bottom: 8px;
}

.bhs-editor__empty{
  width: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  font-weight: 300;
  line-height: 1;
  color: #b42318;
  border: 2px dashed #b42318;
  background: #fff5f5;
  box-shadow:
    inset 0 0 0 10px #fff,
    inset 0 0 0 1px rgba(180,35,24,0.25);
}

.bhs-editor__filled{
  border: 1px solid #ddd;
  padding: 8px;
  background: #fff;
}

.bhs-editor__poster-preview,
.bhs-editor__static-image{
  display: block;
  width: 100%;
  height: auto;
}

.bhs-editor__actions,
.bhs-editor__thumb-actions{
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.bhs-editor__thumb-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.bhs-editor__thumb-card{
  border: 1px solid #ddd;
  background: #fff;
  padding: 8px;
}

.bhs-editor__thumb-image{
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.bhs-editor__thumb-meta,
.bhs-editor__hint{
  margin: 8px 0;
  color: #50575e;
  font-size: 12px;
}

.bhs-editor__settings{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.bhs-editor__static-preview{
  margin-top: 16px;
  max-width: 480px;
}
