/* Notification slider styles */
.notification-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.notification-slider > ol.notification-slider-track {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    will-change: transform;
    transition: transform var(--notification-slider-duration, 400ms) ease-in-out;
}

.notification-slider > ol.notification-slider-track > li.notification-slide {
    flex: 0 0 auto; /* width is controlled via JS (min/maxWidth) */
    box-sizing: border-box;
    width: 100%;
}

/* Make inner article take full slide width */
.notification-slider .notification-slide > article {
    width: 100%;
}

/* Optional: ensure footer links (prev/next) do not shrink */
.notification-slider .notification-slide footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .notification-slider > ol.notification-slider-track {
        transition-duration: 1ms;
    }
}
