/* The desktop hero stays photographic. Only small screens receive video. */
.pws-hero-video,
.pws-hero-video-toggle { display: none; }
.pws-hero-video-toggle[hidden] { display: none !important; }

@media (max-width: 900px) {
  .elementor-100 [data-id="41af337"].pws-video-hero {
    position: relative;
    isolation: isolate;
    background-color: #102341 !important;
    background-image: url("assets/media/workplace-collaboration-poster.webp") !important;
    background-size: cover !important;
    background-position: 35% center !important;
  }
  .pws-video-hero > .pws-hero-video {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--pws-video-focus, 35%) center;
    pointer-events: none;
  }
  .elementor-100 [data-id="41af337"].pws-video-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(16,35,65,.28) 0%, rgba(16,35,65,.63) 38%, rgba(16,35,65,.88) 100%);
    pointer-events: none;
  }
  .pws-video-hero > .e-con-inner { position: relative; z-index: 2; }
  .pws-video-hero [data-id="0e46edf"] h1,
  .pws-video-hero [data-id="6cf7183"] p { text-shadow: 0 1px 6px rgba(0,0,0,.35); }
  .pws-video-hero .pws-hero-video-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    gap: 8px;
    width: fit-content;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 24px;
    background: rgba(16,35,65,.45);
    color: #fff;
    font: 600 12px/1.3 'DM Sans',Arial,sans-serif;
    text-transform: none;
    letter-spacing: .1px;
    text-align: center;
    box-shadow: none;
    cursor: pointer;
  }
  .pws-video-hero .pws-hero-video-toggle:hover { background: rgba(16,35,65,.75); color: #fff; }
  .pws-hero-video-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
  .pws-hero-video-toggle .elementor-button-content-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .pws-hero-video-toggle svg { display: block; width: 16px; height: 16px; fill: currentColor; }
  .pws-hero-video-toggle[data-state="playing"] .pws-video-play-icon,
  .pws-hero-video-toggle[data-state="paused"] .pws-video-pause-icon { display: none; }
  .pws-video-unavailable > .pws-hero-video { display: none; }
}
