/* Page backgrounds come from Elementor's site/page settings, including gaps. */
body .clockit-site-main { background: transparent !important; }
html body .clockit-native-padding {
  padding: var(--padding-top, 0px) var(--padding-right, 0px) var(--padding-bottom, 0px) var(--padding-left, 0px) !important;
}
html body .clockit-native-margin {
  margin: var(--margin-top, 0px) var(--margin-right, 0px) var(--margin-bottom, 0px) var(--margin-left, 0px) !important;
}

/* The frame owns sizing; the video fills it without influencing its dimensions. */
.elementor-widget-clockit_film,
.elementor-widget-clockit_film .elementor-widget-container,
.elementor-widget-clockit_film .clockit-film {
  min-width: 0;
  max-width: 100%;
}
.elementor-widget-clockit_film .clockit-film .film-frame {
  box-sizing: border-box;
  width: min(100%, var(--clockit-film-width, 100%));
  max-width: min(100%, var(--clockit-film-max-width, 100%));
  height: var(--clockit-film-height, auto);
  min-width: 0;
  position: relative;
}
.elementor-widget-clockit_film .clockit-film .film-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: auto;
}

/* The film and its motion control share one normal-flow Elementor column. */
.ci-hero-media.e-con {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: center;
  min-width: 0;
  width: 100%;
  gap: var(--row-gap, 12px);
  padding: 0;
}
.ci-hero-media > .ci-motion-switch { min-width: 0; width: 100%; }
.elementor-widget-clockit_motion .ci-motion-control {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}
.elementor-widget-clockit_motion .clockit-motion-toggle {
  max-width: 100%;
  white-space: normal;
  cursor: pointer;
}
/* Own every interaction state; Hello Elementor also sets pink on focus/active.
   Saved Elementor appearance controls have higher specificity than these rules. */
.clockit-site-main .clockit-motion-toggle:is(:hover,:focus,:focus-visible,:active) {
  background: #ffffff08;
  color: #a0ee37;
  border-color: #a0ee37;
  box-shadow: none;
}
.elementor-widget-clockit_film .sound-toggle:is(:hover,:focus,:focus-visible,:active) {
  background: #32442b;
  color: #fff;
  border-color: #ffffff66;
  box-shadow: none;
}
.clockit-site-main :is(.clockit-motion-toggle,.sound-toggle):focus-visible {
  outline: 2px solid #a0ee37;
  outline-offset: 4px;
}
