/* Overlay only: the existing hero keeps its dimensions, mask and source image. */
.supra-cover > .supra-cover-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: transparent;
  cursor: pointer;
}
.supra-cover > .supra-cover-video[hidden] { display: none !important; }
.supra-cover-scroll > .supra-cover-video {
  cursor: default;
  pointer-events: none;
  transition: opacity 160ms linear;
}
.supra-cover-scroll > figcaption[hidden] { display: none !important; }
.supra-cover-tools {
  position: absolute;
  z-index: 2;
  top: calc(var(--mask-top, 0%) + 18px);
  right: calc(var(--mask-right, 0%) + var(--gutter));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  max-width: calc(100% - var(--mask-left, 0%) - var(--mask-right, 0%) - 2 * var(--gutter));
  gap: 0 8px;
  color: #111;
  background: #fff;
  padding: 0 8px;
  font: var(--editorial-label-size, 12px)/1.4 Areal, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: uppercase;
  mix-blend-mode: normal;
}
.supra-cover-actions { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.supra-cover-actions button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-transform: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
}
.supra-cover-actions button:hover { text-decoration-style: double; }
.supra-cover-actions button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.supra-cover-actions button:disabled { cursor: wait; text-decoration: none; }
.supra-cover-status { flex-basis: 100%; text-align: right; }
.supra-cover-status:empty { display: none; }
.supra-cover-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media print {
  .supra-cover > .supra-cover-video,
  .supra-cover-tools { display: none !important; }
}
