.zlh-container {
    width: 100%;
}

.zlh-container--boxed {
    width: 1140px;
    max-width: 100%;
    margin-inline: auto;
}

.zlh-road {
    --zlh-road-curve: 36;
    --zlh-road-curve-ends: 0;
    --zlh-progress: 0;
    --zlh-motion-path: none;
    --zlh-bus-offset-x: 0px;
    --zlh-bus-offset-y: 0px;
    --zlh-bus-rotation-offset: 0deg;
    --zlh-bus-end-rotation-offset: 0deg;
    --zlh-bus-rotation-live: var(--zlh-bus-rotation-offset);
    --zlh-dot-ring-size: 7px;
    --zlh-nav-scroll-offset: 0px;
    position: relative;
    width: 100%;
}

.zlh-road__items {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 90px;
}

.zlh-road__item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
    align-items: center;
}

.zlh-road__item.is-left .zlh-road__column--content {
    grid-column: 1;
    justify-self: end;
}

.zlh-road__item.is-right .zlh-road__column--content {
    grid-column: 3;
}

.zlh-road__column--marker {
    grid-column: 2;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.zlh-road__item.is-left .zlh-road__column--spacer {
    grid-column: 3;
}

.zlh-road__item.is-right .zlh-road__column--spacer {
    grid-column: 1;
}

.zlh-road__column--content {
    width: 100%;
    max-width: 420px;
}

.zlh-road__content {
    position: relative;
    box-sizing: border-box;
    border-radius: 18px;
}

.zlh-road__year {
    margin-bottom: 12px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
}

.zlh-road__description :is(p, ul, ol) {
    margin: 0;
}

.zlh-road__description :is(p, ul, ol) + :is(p, ul, ol) {
    margin-top: 12px;
}

.zlh-road__dot {
    position: relative;
    z-index: 3;
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    box-shadow: 0 0 0 var(--zlh-dot-ring-size) rgba(255, 255, 255, .08);
    transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.zlh-road__item.is-active .zlh-road__dot {
    transform: scale(1.05);
}

.zlh-road__svg {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.zlh-road__path {
    fill: none;
    stroke-width: 10px;
    stroke-linecap: butt;
    stroke-linejoin: round;
}

.zlh-road__path--progress {
    stroke-dasharray: var(--zlh-progress) 1;
}

.zlh-road__bus {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4;
    width: 44px;
    opacity: 0;
    offset-position: 0 0;
    offset-path: var(--zlh-motion-path);
    offset-distance: calc(var(--zlh-progress) * 100%);
    offset-anchor: center;
    offset-rotate: auto var(--zlh-bus-rotation-live);
    transform: translate(var(--zlh-bus-offset-x), var(--zlh-bus-offset-y));
    pointer-events: none;
    will-change: offset-distance, transform;
    backface-visibility: hidden;
}

.zlh-road.is-progress-started .zlh-road__bus {
    opacity: 1;
}

.zlh-road[data-follow-path="0"] .zlh-road__bus {
    offset-rotate: var(--zlh-bus-rotation-live);
}

.zlh-road__bus :is(svg, img) {
    display: block;
    width: 100%;
    height: auto;
}

.zlh-road__bus img {
    max-width: none;
    object-fit: contain;
}

.zlh-road__navigation {
    --zlh-nav-edge: 24px;
    position: fixed !important;
    z-index: 100 !important;
    display: flex;
    gap: 10px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .2s ease, visibility .2s ease;
}

.zlh-road__navigation.is-layout-vertical {
    flex-direction: column;
}

.zlh-road__navigation.is-position-top-left {
    top: var(--zlh-nav-edge);
    left: var(--zlh-nav-edge);
}

.zlh-road__navigation.is-position-top-center,
.zlh-road__navigation.is-position-bottom-center {
    left: 50%;
    transform: translateX(-50%);
}

.zlh-road__navigation.is-position-top-center,
.zlh-road__navigation.is-position-top-right,
.zlh-road__navigation.is-position-top-left {
    top: var(--zlh-nav-edge);
}

.zlh-road__navigation.is-position-top-right,
.zlh-road__navigation.is-position-middle-right,
.zlh-road__navigation.is-position-bottom-right {
    right: var(--zlh-nav-edge);
}

.zlh-road__navigation.is-position-middle-left,
.zlh-road__navigation.is-position-middle-right {
    top: 50%;
    transform: translateY(-50%);
}

.zlh-road__navigation.is-position-middle-left,
.zlh-road__navigation.is-position-bottom-left {
    left: var(--zlh-nav-edge);
}

.zlh-road__navigation.is-position-bottom-left,
.zlh-road__navigation.is-position-bottom-center,
.zlh-road__navigation.is-position-bottom-right {
    bottom: var(--zlh-nav-edge);
}

.zlh-road__navigation.is-layout-horizontal {
    flex-direction: row;
}

.zlh-road__navigation.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.zlh-road__nav-button {
    appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff;
    background: #702382;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1 !important;
    transition: color .2s ease, background-color .2s ease, opacity .2s ease, transform .2s ease;
}

.zlh-road__nav-button:not(:disabled):hover {
    color: #fff;
    background: #009BBB;
    transform: scale(1.05);
}

.zlh-road__nav-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.zlh-road__nav-button:disabled {
    opacity: .3;
    cursor: default;
    pointer-events: none;
}

.zlh-road__nav-button svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 1024px) {
    .zlh-road__item {
        grid-template-columns: 1fr 96px 1fr;
    }
}

@media (max-width: 767px) {
    .zlh-road__items {
        gap: 56px;
    }

    .zlh-road__item {
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: 18px;
        align-items: flex-start;
    }

    .zlh-road .zlh-road__item .zlh-road__column--marker {
        grid-column: 1;
        min-height: 100%;
    }

    .zlh-road .zlh-road__item .zlh-road__column--content {
        grid-column: 2;
        justify-self: stretch;
        max-width: 100%;
    }

    .zlh-road__column--spacer {
        display: none;
    }

    .zlh-road__year {
        font-size: 24px;
    }
}
