.dwn-journey-steps {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.dwn-journey-steps *,
.dwn-journey-steps *::before,
.dwn-journey-steps *::after {
    box-sizing: border-box;
}

.dwn-journey-steps__viewport {
    position: relative;
    width: 100%;
    overflow: visible;
}

.dwn-journey-steps__track {
    position: relative;
    display: grid;
    width: 100%;
    align-items: stretch;
}

.dwn-journey-steps__track::before {
    position: absolute;
    z-index: 0;
    right: 0;
    left: 0;
    display: none;
    content: "";
    pointer-events: none;
}

.dwn-journey-connector-yes .dwn-journey-steps__track::before {
    display: block;
}

.dwn-journey-step {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    transition-property: transform, border-color, background-color, box-shadow, color;
    transition-timing-function: ease;
}

.dwn-journey-equal-height-yes .dwn-journey-step {
    height: 100%;
}

.dwn-journey-step__marker {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: color .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.dwn-journey-step__title {
    width: 100%;
    margin: 0;
    padding: 0;
    transition: color .25s ease;
}

.dwn-journey-step__description {
    width: 100%;
    margin: 0;
    padding: 0;
    transition: color .25s ease;
}

.dwn-journey-steps__dots {
    display: none;
    align-items: center;
    justify-content: center;
}

.dwn-journey-steps__dot {
    display: block;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    opacity: .72;
    transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
}

.dwn-journey-steps__dot:hover,
.dwn-journey-steps__dot:focus-visible {
    opacity: 1;
}

.dwn-journey-steps__dot:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.dwn-journey-steps__dot.is-active {
    opacity: 1;
    transform: scale(1.3);
}

@media (max-width: 550px) {
    .dwn-journey-steps__viewport {
        overflow: hidden;
        touch-action: pan-y;
    }

    .dwn-journey-steps__track {
        display: flex !important;
        column-gap: 0 !important;
        row-gap: 0 !important;
        transition: transform .42s cubic-bezier(.22, .61, .36, 1);
        will-change: transform;
    }

    .dwn-journey-steps__track::before {
        display: none !important;
    }

    .dwn-journey-step {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .dwn-journey-steps__dots {
        display: flex;
    }

    .dwn-journey-steps.is-dragging .dwn-journey-steps__track {
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dwn-journey-step,
    .dwn-journey-step__marker,
    .dwn-journey-step__title,
    .dwn-journey-step__description,
    .dwn-journey-steps__track,
    .dwn-journey-steps__dot {
        transition-duration: .01ms !important;
    }
}
