/* Existing HTMLMediaElement controls shared by catalogues, article heroes
   and local video CEs. Geometry belongs to each surrounding stage. */
.pw-video__player-shell { position: relative; width: 100%; height: 100%; min-width: 0; background: #000; }
.pw-video__player-shell > video { position: absolute; inset: 0; }
.pw-video__player-shell:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.pw-video__controls { position: absolute; z-index: 2; inset: auto 0 0; display: flex; align-items: center; gap: clamp(.2rem,1vw,.75rem); height: clamp(2.8rem,6vw,5.357142857rem); padding: 0 clamp(.4rem,4vw,5.111071429rem); color: #fff; background: linear-gradient(30deg,rgb(78 37 131 / 75%),rgb(137 27 21 / 75%)); opacity: 1; transition: opacity .1s; }
.pw-video__player-shell.is-idle .pw-video__controls { opacity: 0; pointer-events: none; transition-duration: 1s; }
.pw-video__player-shell.is-idle { cursor: none; }
.pw-video__control { flex: 0 0 auto; display: grid; place-items: center; width: clamp(1.9rem,3vw,2.652rem); height: 2.75rem; padding: 0; border: 0; background: transparent; color: #fff; font: inherit; font-size: 1.15rem; cursor: pointer; }
.pw-video__control svg { width: 1.35rem; height: 1.35rem; fill: currentColor; }
.pw-video__control[data-media-icon] svg { display: none; }
.pw-video__control[data-media-icon]::before { content: ''; width: 1.35rem; height: 1.35rem; background: var(--pw-media-icon) center / contain no-repeat; }
.pw-video__control[data-media-icon="play"] { --pw-media-icon: url('../Images/VideoControls/play.svg'); }
.pw-video__control[data-media-icon="pause"] { --pw-media-icon: url('../Images/VideoControls/pause.svg'); }
.pw-video__control[data-media-icon="volume"] { --pw-media-icon: url('../Images/VideoControls/sound.svg'); }
.pw-video__control[data-media-icon="muted"] { --pw-media-icon: url('../Images/VideoControls/mute.svg'); }
.pw-video__control[data-media-icon="fullscreen"], .pw-video__control[data-media-icon="exitFullscreen"] { --pw-media-icon: url('../Images/VideoControls/size.svg'); }
.pw-video__control:hover, .pw-video__control:focus-visible { text-shadow: 0 0 .8rem #fff; }
.pw-video__control:focus-visible, .pw-video__range:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.pw-video__time { flex: 0 0 auto; min-width: 2.8rem; color: #fff; font: 700 clamp(.68rem,1.4vw,1rem)/1 "Nunito Sans",sans-serif; text-align: center; }
.pw-video__range { appearance: none; min-width: 0; height: 2.75rem; margin: 0; border: 0; border-radius: 0; background: transparent; color: #fff; cursor: pointer; }
.pw-video__range::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(to right,#fff var(--pw-range-value,0%),rgb(255 255 255 / 35%) var(--pw-range-value,0%)); }
.pw-video__range::-webkit-slider-thumb { appearance: none; width: 9px; height: 9px; margin-top: -3px; border: 0; border-radius: 50%; background: #fff; }
.pw-video__range::-moz-range-track { height: 3px; background: rgb(255 255 255 / 35%); }
.pw-video__range::-moz-range-progress { height: 3px; background: #fff; }
.pw-video__range::-moz-range-thumb { width: 9px; height: 9px; border: 0; border-radius: 50%; background: #fff; }
.pw-video__player-shell:fullscreen { width: 100%; height: 100%; }
.pw-video__player-shell:fullscreen > video { width: 100%; height: 100%; object-fit: contain; }
@media(prefers-reduced-motion: reduce) { .pw-video__controls, .pw-video__player-shell.is-idle .pw-video__controls { transition: none; } }
.pw-video__range--progress { flex: 1 1 auto; }
.pw-video__range--volume { flex: 0 1 5rem; width: clamp(2.7rem,8vw,5rem); }

@media(max-width: 420px) {
 .pw-video__controls { gap: .15rem; padding-inline: .25rem; }
 .pw-video__control { width: 1.65rem; }
 .pw-video__time { min-width: 2rem; font-size: .62rem; }
 .pw-video__range--progress { width: 0; }
 .pw-video__range--volume { flex-basis: 2.2rem; width: 2.2rem; }
}

.pw-video__player-shell > video { width: 100%; height: 100%; min-width: 0; min-height: 0; aspect-ratio: auto; object-fit: contain; background: #000; }
.pw-video__target { position: absolute; inset: 0; }
.pw-video__start { position: absolute; z-index: 1; top: 50%; left: 50%; translate: -50% -50%; display: grid; place-items: center; width: clamp(3rem,12vw,10rem); aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: #0009; color: #fff; cursor: pointer; }
.pw-video__start svg { width: 50%; height: 50%; fill: currentColor; }
.pw-video__start:hover { background: #000c; }
.pw-video__start:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.pw-video__start[hidden] { display: none; }
.pw-video__player-shell:fullscreen > video { transform: none; }
