/* Fixed layout boxes + translated media reproduce Legacy's fixed .heading
   without moving the subsequent content or reading layout on every scroll. */
[data-parallax-hero] { overflow: clip; }
[data-parallax-media] { transform: translate3d(0,var(--pw-hero-offset,0px),0); }
.pw-hero__viewport .pw-hero__arrows { top:var(--pw-hero-scroll,0px); bottom:auto; height:var(--pw-hero-visible-height,100%); }
.pw-hero__arrow { max-height:100%; }
/* Unmodified Legacy SVGs. Keep the shared buttons, labels, focus and hit areas.
   Hide the old text glyph also in already cached frontend markup. */
.pw-hero__arrow[data-hero-previous], .pw-hero__arrow[data-hero-next] {
    font-size:0;
    background-position:center;
    background-repeat:no-repeat;
    background-size:contain;
}
.pw-hero__arrow[data-hero-previous] { background-image:url("../Images/Hero/slideshow-left.svg"); }
.pw-hero__arrow[data-hero-next] { background-image:url("../Images/Hero/slideshow-right.svg"); }
.pw-article-hero__controls { top:var(--pw-hero-controls-offset,0px); }
/* Legacy pi18.js uses 21:9 for article headers at every viewport width. */
.pw-article-hero .pw-article-hero__viewport { aspect-ratio:var(--pw-hero-aspect); }
.pw-article-hero__slide picture { display:block; width:100%; height:100%; }
.pw-article-hero__slide video[data-parallax-video] {
    height:100%;
    object-fit:contain;
    object-position:50% 50%;
}
.pw-back-to-top {
    position:fixed; right:clamp(1rem,3.1vw,3.6rem); bottom:clamp(1rem,3.1vw,3.6rem);
    z-index:15; display:grid; place-items:center; width:2.9rem; height:2.9rem;
    padding:0; border:1px solid #1d1d1b; color:#1d1d1b; background:#fff url("../Images/Hero/BackToTop.svg") center / 100% 100% no-repeat;
    font:300 2rem/1 sans-serif; cursor:pointer;
    transform:translateY(var(--pw-top-offset,0px));
}
.pw-back-to-top[hidden] { display:none; }
.pw-back-to-top:focus-visible { outline:3px solid var(--pw-blue); outline-offset:3px; }

.pw-back-to-top > span { visibility:hidden; }

/* Existing consent player, scoped exclusively to article heroes. */
.pw-article-hero__consent { height: 100%; }
.pw-article-hero__consent .pw-video { width: 100%; height: 100%; margin: 0; padding: 0; }
.pw-article-hero__consent .pw-video > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.pw-article-hero__consent .pw-video__frame { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.pw-article-hero video:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
