.apss-slider,
.apss-slider * { box-sizing: border-box; }
.apss-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 28px auto 20px;
    clear: both;
    color: #fff;
}
.apss-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: #111;
    border-radius: 5px;
    touch-action: pan-y;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}
.apss-viewport:active { cursor: grabbing; }
.apss-slider.apss-is-dragging,
.apss-slider.apss-is-dragging * { cursor: grabbing !important; }
.apss-slider img { -webkit-user-drag: none !important; user-drag: none; }
.apss-viewport.apss-is-dragging { cursor: grabbing; }
.apss-viewport, .apss-lightbox-stage { -webkit-user-select: none; user-select: none; }
.apss-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 190px;
    max-height: 680px;
}
.apss-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s cubic-bezier(.22, .61, .36, 1), visibility .8s linear;
    will-change: opacity;
    isolation: isolate;
}
.apss-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.apss-slide-backdrop {
    position: absolute;
    z-index: 0;
    inset: -3%;
    display: block;
    width: 106%;
    height: 106%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    filter: blur(18px);
    opacity: .72;
    transform: scale(1.04);
    pointer-events: none;
}
.apss-slide::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.15), rgba(0,0,0,.04) 50%, rgba(0,0,0,.15));
    pointer-events: none;
}
.apss-zoom-trigger {
    position: relative;
    z-index: 2;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline-offset: -4px;
    background: transparent !important;
    box-shadow: none !important;
    color: inherit;
    cursor: grab;
    appearance: none;
    -webkit-appearance: none;
}
.apss-zoom-trigger::after {
    content: "⤢";
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    background: rgba(0,0,0,.48);
    color: #fff;
    font-size: 23px;
    line-height: 1;
    opacity: 0;
    transform: scale(.92);
    transition: opacity .2s ease, transform .2s ease;
    pointer-events: none;
}
.apss-zoom-trigger:hover::after,
.apss-zoom-trigger:focus-visible::after { opacity: 1; transform: scale(1); }
.apss-slide-image {
    position: relative;
    z-index: 2;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 680px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto !important;
    padding: 0;
    border: 0;
    box-shadow: none;
    -webkit-user-drag: none;
    user-select: none;
}
.apss-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 54px;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 8px;
    background: rgba(0,0,0,.56);
    color: #fff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, opacity .2s ease, transform .2s ease;
    box-shadow: none;
}
.apss-arrow:hover,
.apss-arrow:focus-visible { background: rgba(0,0,0,.88); color: #fff; }
.apss-prev { left: 14px; }
.apss-next { right: 14px; }
.apss-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 30px;
    padding: 8px 2px 0;
    color: #666;
}
.apss-dots { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.apss-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    min-width: 8px;
    min-height: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #b9b9b9;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
    box-shadow: none;
}
.apss-dot.is-active { background: #c92828; transform: scale(1.25); }
.apss-dot:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.apss-counter { color: #666; font-size: 13px; white-space: nowrap; }

/* Full-screen image zoom viewer */
.apss-lightbox[aria-hidden="true"] { display: none; }
.apss-lightbox.is-open {
    position: fixed !important;
    z-index: 999999 !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100vw !important;
    height: 100dvh !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 56px 64px 64px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(8,9,12,.97) !important;
    color: #fff !important;
    box-shadow: none !important;
    isolation: isolate;
}
body.apss-lightbox-open { overflow: hidden !important; }
.apss-lightbox-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    touch-action: pan-y;
    cursor: grab;
}
.apss-lightbox-stage:active { cursor: grabbing; }
.apss-lightbox-image {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 92vw !important;
    max-height: 84vh !important;
    object-fit: contain;
    object-position: center;
    margin: auto !important;
    padding: 0;
    border: 0;
    border-radius: 2px;
    box-shadow: 0 12px 55px rgba(0,0,0,.3);
    -webkit-user-drag: none;
    user-select: none;
}
.apss-lightbox-close,
.apss-lightbox-arrow {
    position: absolute;
    z-index: 3;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.25) !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.12) !important;
    color: #fff !important;
    font-family: Arial, sans-serif;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    box-shadow: none !important;
    transition: background .2s ease;
}
.apss-lightbox-close:hover,
.apss-lightbox-arrow:hover { background: rgba(255,255,255,.26) !important; }
.apss-lightbox-close { top: 16px; right: 18px; font-size: 34px; }
.apss-lightbox-arrow { top: 50%; width: 48px !important; height: 58px !important; border-radius: 8px !important; transform: translateY(-50%); font-size: 42px; }
.apss-lightbox-prev { left: 18px; }
.apss-lightbox-next { right: 18px; }
.apss-lightbox-counter {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}
.apss-lightbox-hint {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 !important;
    color: rgba(255,255,255,.58);
    font-size: 11px;
    text-align: center;
    white-space: nowrap;
}
@media (hover: none) {
    .apss-zoom-trigger::after { opacity: .85; transform: none; width: 30px; height: 30px; font-size: 20px; }
}
@media (max-width: 600px) {
    .apss-slider { margin-top: 20px; }
    .apss-slides { aspect-ratio: 4 / 3; min-height: 170px; }
    .apss-arrow { width: 36px; height: 44px; font-size: 30px; border-radius: 6px; }
    .apss-prev { left: 7px; }
    .apss-next { right: 7px; }
    .apss-dots { gap: 6px; }
    .apss-dot { width: 7px; height: 7px; min-width: 7px; min-height: 7px; }
    .apss-lightbox.is-open { padding: 48px 8px 54px !important; }
    .apss-lightbox-image { max-width: 96vw !important; max-height: 80vh !important; }
    .apss-lightbox-close { top: 8px; right: 8px; }
    .apss-lightbox-arrow { width: 38px !important; height: 46px !important; min-width: 38px !important; min-height: 46px !important; background: rgba(0,0,0,.4) !important; }
    .apss-lightbox-prev { left: 6px; }
    .apss-lightbox-next { right: 6px; }
    .apss-lightbox-counter { bottom: 24px; }
    .apss-lightbox-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .apss-slide, .apss-arrow, .apss-dot, .apss-zoom-trigger::after { transition: none; }
}


/* 1.1.5: real directional slide motion with a soft fade, in the carousel and lightbox. */
.apss-slide {
    transform: translateX(0);
    transition: opacity .78s cubic-bezier(.22, 1, .36, 1),
                transform .78s cubic-bezier(.22, 1, .36, 1),
                visibility 0s linear .78s;
    will-change: opacity, transform;
}
.apss-slide.is-active {
    transition: opacity .78s cubic-bezier(.22, 1, .36, 1),
                transform .78s cubic-bezier(.22, 1, .36, 1),
                visibility 0s;
}
.apss-slide.apss-entering-next,
.apss-slide.apss-entering-prev {
    z-index: 2;
    visibility: visible;
    opacity: 0;
    transition: none;
}
.apss-slide.apss-entering-next { transform: translateX(6%); }
.apss-slide.apss-entering-prev { transform: translateX(-6%); }
.apss-slide.apss-entering-next.is-active,
.apss-slide.apss-entering-prev.is-active {
    z-index: 2;
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    transition: opacity .78s cubic-bezier(.22, 1, .36, 1),
                transform .78s cubic-bezier(.22, 1, .36, 1),
                visibility 0s;
}
.apss-slide.apss-leaving-next,
.apss-slide.apss-leaving-prev {
    z-index: 1;
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    transition: none;
}
.apss-slide.apss-leaving-next:not(.is-active) {
    opacity: 0;
    transform: translateX(-6%);
    transition: opacity .78s cubic-bezier(.22, 1, .36, 1),
                transform .78s cubic-bezier(.22, 1, .36, 1),
                visibility 0s linear .78s;
}
.apss-slide.apss-leaving-prev:not(.is-active) {
    opacity: 0;
    transform: translateX(6%);
    transition: opacity .78s cubic-bezier(.22, 1, .36, 1),
                transform .78s cubic-bezier(.22, 1, .36, 1),
                visibility 0s linear .78s;
}
.apss-lightbox-image.apss-lightbox-enter-next {
    animation: apss-lightbox-enter-next .68s cubic-bezier(.22, 1, .36, 1) both;
}
.apss-lightbox-image.apss-lightbox-enter-prev {
    animation: apss-lightbox-enter-prev .68s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes apss-lightbox-enter-next {
    from { opacity: 0; transform: translateX(24px) scale(.99); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes apss-lightbox-enter-prev {
    from { opacity: 0; transform: translateX(-24px) scale(.99); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .apss-slide.apss-entering-next.is-active,
    .apss-slide.apss-entering-prev.is-active,
    .apss-slide.apss-leaving-next:not(.is-active),
    .apss-slide.apss-leaving-prev:not(.is-active) {
        transition: none !important;
    }
    .apss-lightbox-image.apss-lightbox-enter-next,
    .apss-lightbox-image.apss-lightbox-enter-prev {
        animation: none !important;
    }
}
