/* PewPush slider. Without JavaScript it is a swipeable scroll-snap strip. */
.pps { position: relative; width: 100%; overflow: hidden; border-radius: var(--pps-radius, 0); background: #111; }
.pps-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: var(--pps-ratio, 16 / 9); }
.pps-full .pps-track { aspect-ratio: auto; height: var(--pps-height, 520px); }
/* Fit on screen: never taller than the viewport less the site header; cover crops around the focal point. */
.pps-fit .pps-track { width: 100%; max-height: max(240px, calc(100vh - var(--pps-offset, 120px))); max-height: max(240px, calc(100svh - var(--pps-offset, 120px))); }
.pps-track::-webkit-scrollbar { display: none; }
.pps-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; overflow: hidden; }
.pps-link { display: block; width: 100%; height: 100%; color: inherit; }
.pps-slide picture, .pps-img { display: block; width: 100%; height: 100%; }
.pps-img { object-fit: cover; }
.pps-overlay { position: absolute; inset: 0; background: #000; pointer-events: none; }
.pps-layers { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 0.4em; padding: clamp(16px, 5%, 56px); color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); pointer-events: none; }
.pps-layers a { pointer-events: auto; }
.pps-headline { margin: 0; font-size: clamp(1.4rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; max-width: 24ch; }
.pps-text { margin: 0; font-size: clamp(1rem, 1.8vw, 1.35rem); max-width: 48ch; }
.pps-buttons { margin: 0.4em 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.pps-at-top-left { justify-content: flex-start; align-items: flex-start; }
.pps-at-top { justify-content: flex-start; align-items: center; text-align: center; }
.pps-at-top-right { justify-content: flex-start; align-items: flex-end; text-align: right; }
.pps-at-left { justify-content: center; align-items: flex-start; }
.pps-at-center { justify-content: center; align-items: center; text-align: center; }
.pps-at-right { justify-content: center; align-items: flex-end; text-align: right; }
.pps-at-bottom-left { justify-content: flex-end; align-items: flex-start; }
.pps-at-bottom { justify-content: flex-end; align-items: center; text-align: center; }
.pps-at-bottom-right { justify-content: flex-end; align-items: flex-end; text-align: right; }
.pps-arrow, .pps-pause, .pps-dot { cursor: pointer; border: 0; }
/* Round arrows. Themes style every <button> (padding, min-width, line-height), so reset all of it
   and draw the chevron in CSS: a text glyph sits on the font's baseline, not in the middle. */
.pps .pps-arrow { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); box-sizing: border-box; width: 44px; height: 44px; min-width: 0; min-height: 0; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.45); color: #fff; font-size: 0; line-height: 0; letter-spacing: 0; text-indent: 0; box-shadow: none; display: none; align-items: center; justify-content: center; }
.pps .pps-arrow:hover, .pps .pps-arrow:focus { background: rgba(0, 0, 0, 0.65); color: #fff; transform: translateY(-50%); }
.pps.pps-js .pps-arrow { display: flex; }
.pps .pps-arrow > span { display: none; }
.pps .pps-arrow::before { content: ""; display: block; width: 12px; height: 12px; border: solid currentColor; border-width: 0 3px 3px 0; box-sizing: border-box; }
.pps .pps-prev::before { transform: translateX(2px) rotate(135deg); }
.pps .pps-next::before { transform: translateX(-2px) rotate(-45deg); }
.pps .pps-prev { left: 12px; right: auto; }
.pps .pps-next { right: 12px; left: auto; }
.pps-controls { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; align-items: center; gap: 10px; pointer-events: none; }
.pps-controls > * { pointer-events: auto; }
.pps-dots { display: none; gap: 8px; }
.pps-js .pps-dots { display: flex; }
/* Dots and the pause button get the same theme reset as the arrows. */
.pps .pps-dot { box-sizing: border-box; flex: 0 0 auto; width: 10px; height: 10px; min-width: 0; min-height: 0; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 50%; font-size: 0; line-height: 0; background: rgba(255, 255, 255, 0.55); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25); }
.pps .pps-dot:hover, .pps .pps-dot:focus { background: rgba(255, 255, 255, 0.8); }
.pps .pps-dot[aria-current="true"] { background: #fff; transform: scale(1.25); }
.pps .pps-pause { display: none; position: relative; box-sizing: border-box; flex: 0 0 auto; width: 30px; height: 30px; min-width: 0; min-height: 0; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.45); color: #fff; font-size: 0; line-height: 0; box-shadow: none; align-items: center; justify-content: center; }
.pps .pps-pause:hover, .pps .pps-pause:focus { background: rgba(0, 0, 0, 0.65); }
.pps.pps-js .pps-pause { display: flex; }
.pps .pps-pause-icon { display: block; position: relative; width: 9px; height: 12px; }
.pps .pps-pause-icon::before, .pps .pps-pause-icon::after { content: ""; position: absolute; top: 0; width: 3px; height: 12px; background: #fff; }
.pps .pps-pause-icon::before { left: 0; }
.pps .pps-pause-icon::after { right: 0; }
.pps.pps-paused .pps-pause-icon::before { left: 1px; width: 0; height: 0; background: none; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.pps.pps-paused .pps-pause-icon::after { display: none; }
.pps-arrow:focus-visible, .pps-dot:focus-visible, .pps-pause:focus-visible, .pps-link:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
/* Fade: slides stacked, the active one on top. */
.pps-js.pps-mode-fade .pps-track { display: block; position: relative; overflow: hidden; }
.pps-js.pps-mode-fade .pps-slide { position: absolute; inset: 0; opacity: 0; transition: opacity var(--pps-speed, 600ms) ease; }
.pps-js.pps-mode-fade .pps-slide.is-active { opacity: 1; z-index: 1; }
.pps-js.pps-mode-slide .pps-track { scroll-behavior: smooth; }
/* Ken Burns: a slow zoom on the active slide. */
.pps-kenburns .pps-slide.is-active .pps-img { animation: pps-zoom 12s ease-out both; }
@keyframes pps-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) {
  .pps-js.pps-mode-slide .pps-track { scroll-behavior: auto; }
  .pps-js.pps-mode-fade .pps-slide { transition: none; }
  .pps-kenburns .pps-slide.is-active .pps-img { animation: none; }
}
@media (max-width: 640px) { .pps .pps-arrow { width: 36px; height: 36px; } .pps .pps-arrow::before { width: 10px; height: 10px; } }
