.hero.has-background-film {
  position: relative;
  isolation: isolate;
  overflow: visible;
  background: #071727;
}

.hero-film-video,
.hero-film-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-film-video {
  z-index: -3;
  object-fit: cover;
  object-position: center 42%;
  background: #071727 url("../image/pragmatis-imagefilm.jpg") center / cover no-repeat;
}

.hero-film-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 23, 39, .96) 0%, rgba(7, 23, 39, .86) 40%, rgba(7, 23, 39, .34) 78%, rgba(7, 23, 39, .48) 100%),
    linear-gradient(0deg, rgba(7, 23, 39, .72) 0%, transparent 48%);
}

.has-background-film .hero-grid {
  position: relative;
  grid-template-columns: minmax(0, 760px);
  min-height: 580px;
}

.has-background-film .hero-copy {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .24);
}

.has-background-film .lead {
  color: #d8e7ee;
}

.has-background-film .text-link,
.has-background-film .text-link:hover,
.has-background-film .text-link:focus-visible {
  text-decoration: none;
}

.has-background-film .proof-strip {
  position: relative;
  z-index: 2;
}

.hero-film-control {
  position: absolute;
  right: 0;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 6px 11px 6px 7px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 999px;
  background: rgba(7, 23, 39, .58);
  color: #fff;
  font: inherit;
  font-size: .66rem;
  font-weight: 750;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: border-color .2s ease, background-color .2s ease, transform .15s ease;
}

.hero-film-control:hover,
.hero-film-control:focus-visible {
  border-color: #45b6e8;
  background: rgba(7, 23, 39, .9);
}

.hero-film-control:active {
  transform: scale(.97);
}

.hero-film-control-icon {
  position: relative;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #159bd3;
}

.hero-film-control-icon::before,
.hero-film-control-icon::after {
  content: "";
  position: absolute;
  top: 6px;
  width: 2px;
  height: 9px;
  border-radius: 1px;
  background: #fff;
}

.hero-film-control-icon::before { left: 7px; }
.hero-film-control-icon::after { right: 7px; }

.hero-film-control[aria-pressed="true"] .hero-film-control-icon::before {
  top: 5px;
  left: 8px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #fff;
  border-radius: 0;
  background: transparent;
}

.hero-film-control[aria-pressed="true"] .hero-film-control-icon::after {
  display: none;
}

.imagefilm {
  overflow: hidden;
  background: #edf4f7;
}

.imagefilm-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}

.imagefilm-copy {
  min-width: 0;
  max-width: 500px;
}

.imagefilm-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 2.65vw, 2.65rem);
  hyphens: none;
  overflow-wrap: normal;
}

.imagefilm-copy > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.imagefilm-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.imagefilm-meta span {
  padding: 6px 10px;
  border: 1px solid #b9ced8;
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  color: #3d5b6b;
  font-size: .7rem;
  font-weight: 750;
}

.imagefilm-player-frame {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid #b8ccd6;
  border-radius: 12px;
  background: #071727;
  box-shadow: 0 24px 54px rgba(7, 23, 39, .16);
}

.imagefilm-player-frame::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  z-index: 1;
  height: 4px;
  background: #159bd3;
  pointer-events: none;
}

.imagefilm-player {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #071727;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .imagefilm-grid { grid-template-columns: 1fr; gap: 42px; }
  .imagefilm-copy { max-width: 760px; }
}

@media (max-width: 900px) {
  .has-background-film .hero-grid {
    min-height: 590px;
    padding-bottom: 92px;
  }
  .hero-film-control { bottom: 14px; }
}

@media (max-width: 560px) {
  .hero-film-video { object-position: 60% center; }
  .hero-film-shade {
    background: linear-gradient(0deg, rgba(7, 23, 39, .97) 0%, rgba(7, 23, 39, .82) 58%, rgba(7, 23, 39, .44) 100%);
  }
  .has-background-film .hero-grid {
    min-height: 610px;
    padding-top: 82px;
    padding-bottom: 102px;
  }
  .hero-film-control {
    right: auto;
    left: 0;
    bottom: 18px;
  }
  .imagefilm-copy h2 { font-size: clamp(1.65rem, 6.4vw, 2rem); }
  .imagefilm-player-frame { border-radius: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-film-control { transition: none; }
}

@media (forced-colors: active) {
  .hero-film-shade { background: rgba(0, 0, 0, .8); }
  .hero-film-control,
  .imagefilm-player-frame { border: 2px solid ButtonText; }
}
