/* Isolated editorial gallery. No .pw-hero or shared carousel selectors. */
.pw-article-gallery { width: 100%; color: #1d1d1b; }
.pw-article-gallery__viewport { position: relative; overflow: hidden; background: #02090e; }
.pw-article-gallery__slide { aspect-ratio: var(--pw-hero-aspect,21 / 9); }
.pw-article-gallery__slide picture { display: block; width: 100%; height: 100%; }
.pw-article-gallery__slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pw-article-gallery.is-enhanced .pw-article-gallery__track { display: flex; transition: transform 450ms ease; }
.pw-article-gallery.is-enhanced .pw-article-gallery__slide { flex: 0 0 100%; min-width: 0; }
.pw-article-gallery__arrows { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.pw-article-gallery__arrows button { pointer-events: auto; width: clamp(2rem,4.39vw,5.1rem); height: clamp(2.5rem,5.23vw,6.1rem); border: 0; border-radius: 0; padding: 0; background-color: #9c9b9b; background-position: center; background-repeat: no-repeat; background-size: contain; cursor: pointer; }
.pw-article-gallery__previous { background-image: url('../Images/Hero/slideshow-left.svg'); }
.pw-article-gallery__next { background-image: url('../Images/Hero/slideshow-right.svg'); }
.pw-article-gallery__pages { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(.1rem,.3vw,.35rem); padding: .55rem 1rem; background: linear-gradient(30deg,#4e2583,#891b15); }
.pw-article-gallery__pages button { border: 0; border-radius: 0; min-width: 1.5rem; min-height: 2.75rem; padding: .25rem 0; background: transparent; color: #aaa; font: 700 clamp(.7rem,1.1vw,.9rem)/1.4 "Nunito Sans",sans-serif; cursor: pointer; }
.pw-article-gallery__pages button + button::before { content: '|'; padding-right: .35rem; color: #aaa; }
.pw-article-gallery__pages [aria-current="true"] { color: #fff; }
.pw-article-gallery__caption { width: min(calc(100% - 2rem),var(--pw-content-reading)); margin: auto; padding-block: 1.5rem; font: 300 clamp(1rem,1.25vw,1.5rem)/1.5 "Nunito Sans",sans-serif; overflow-wrap: anywhere; }
.pw-article-gallery__caption p { margin: 0 0 .5rem; }
.pw-article-gallery :is(a,button):focus-visible, .pw-article-gallery:focus-visible { outline: 3px solid var(--pw-cyan); outline-offset: -3px; }
.pw-article-gallery [hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { .pw-article-gallery.is-enhanced .pw-article-gallery__track { transition: none; } }
