.breakdance .rp-project-timeline-el {
    --rp-tl-bar: #EDE4DC;
    --rp-tl-year: #3A322E;
    --rp-tl-bubble: #FFFFFF;
    --rp-tl-heading: #3A322E;
    --rp-tl-title: #2C2623;
    --rp-tl-subtitle: #2C2623;
    --rp-tl-text: #9A9088;
    --rp-tl-stem: #D4C8BE;
    --rp-tl-tick: rgba(58, 50, 46, 0.16);
    --rp-tl-bar-h: 52px;
    --rp-tl-lane-step: 110px;
    --rp-tl-stem-base: 56px;
    --rp-tl-base-pad: 184px;
    --rp-tl-year-min: 220px;
    --rp-tl-anchor-size: 14px;
    width: 100%;
}

.breakdance .rp-project-timeline-el .rp-timeline {
    position: relative;
    overflow: visible;
    color: var(--rp-tl-text);
}

.breakdance .rp-project-timeline-el .rp-timeline__title {
    position: relative;
    z-index: 1;
    margin: 0 0 28px;
    color: var(--rp-tl-heading);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
}

.breakdance .rp-project-timeline-el .rp-timeline__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.breakdance .rp-project-timeline-el .rp-timeline__axis {
    box-sizing: content-box;
    min-width: calc(var(--rp-tl-years, 6) * var(--rp-tl-year-min));
    padding: 0 170px;
}

.breakdance .rp-project-timeline-el .rp-timeline__canvas {
    position: relative;
    --rp-tl-pad-top: calc(var(--rp-tl-base-pad, 184px) + ((var(--rp-tl-lanes-above, 1) - 1) * var(--rp-tl-lane-step)));
    --rp-tl-pad-bottom: calc(var(--rp-tl-base-pad, 184px) + ((var(--rp-tl-lanes-below, 1) - 1) * var(--rp-tl-lane-step)));
    padding-top: var(--rp-tl-pad-top);
    padding-bottom: var(--rp-tl-pad-bottom);
}

.breakdance .rp-project-timeline-el .rp-timeline__canvas.is-empty {
    --rp-tl-pad-top: 0px;
    --rp-tl-pad-bottom: 0px;
}

.breakdance .rp-project-timeline-el .rp-timeline__bar {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(var(--rp-tl-years, 6), minmax(0, 1fr));
    height: var(--rp-tl-bar-h);
    background: var(--rp-tl-bar);
    border-radius: 8px;
}

.breakdance .rp-project-timeline-el .rp-timeline__year {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.breakdance .rp-project-timeline-el .rp-timeline__year:not(:last-child) {
    box-shadow: inset -2px 0 0 rgba(58, 50, 46, 0.3) !important;
}

.breakdance .rp-project-timeline-el .rp-timeline__tick:not(:last-child) {
    box-shadow: inset -1px 0 0 var(--rp-tl-tick);
}

.breakdance .rp-project-timeline-el .rp-timeline__year-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rp-tl-year);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    pointer-events: none;
}

.breakdance .rp-project-timeline-el .rp-timeline__bubble {
    position: absolute;
    left: var(--rp-tl-pos);
    z-index: calc(6 - var(--rp-tl-lane, 0));
    display: flex;
    align-items: center;
    width: max-content;
    max-width: 260px;
}

.breakdance .rp-project-timeline-el .rp-timeline__bubble.is-above {
    bottom: calc(var(--rp-tl-pad-bottom) + var(--rp-tl-bar-h) - (var(--rp-tl-anchor-size) / 2));
    flex-direction: column;
    transform: translateX(-50%);
}

.breakdance .rp-project-timeline-el .rp-timeline__bubble.is-below {
    top: calc(var(--rp-tl-pad-top) + var(--rp-tl-bar-h) - (var(--rp-tl-anchor-size) / 2));
    flex-direction: column-reverse;
    transform: translateX(-50%);
}

.breakdance .rp-project-timeline-el .rp-timeline__card {
    width: 100%;
    min-width: 196px;
    padding: 18px 20px;
    background: var(--rp-tl-bubble);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(58, 50, 46, 0.12);
    box-sizing: border-box;
}

.breakdance .rp-project-timeline-el .rp-timeline__section {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.breakdance .rp-project-timeline-el .rp-timeline__section + .rp-timeline__section {
    margin-top: 14px;
}

.breakdance .rp-project-timeline-el .rp-timeline__section-dot {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    margin-top: 5px;
    border-radius: 50%;
    background: var(--rp-tl-dot, #C4A882);
}

.breakdance .rp-project-timeline-el .rp-timeline__section-body {
    min-width: 0;
    overflow-wrap: anywhere;
}

.breakdance .rp-project-timeline-el .rp-timeline__section-title {
    color: var(--rp-tl-title);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.breakdance .rp-project-timeline-el .rp-timeline__section-sub {
    margin-top: 2px;
    color: var(--rp-tl-subtitle);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
}

.breakdance .rp-project-timeline-el .rp-timeline__section-text {
    margin-top: 6px;
    color: var(--rp-tl-text);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
}

.breakdance .rp-project-timeline-el .rp-timeline__section.is-empty {
    color: var(--rp-tl-text);
    font-size: 13px;
}

.breakdance .rp-project-timeline-el .rp-timeline__stem {
    width: 1px;
    height: calc(var(--rp-tl-stem-base) + (var(--rp-tl-lane, 0) * var(--rp-tl-lane-step)));
    background: var(--rp-tl-stem);
    flex-shrink: 0;
}

.breakdance .rp-project-timeline-el .rp-timeline__anchor {
    width: var(--rp-tl-anchor-size);
    height: var(--rp-tl-anchor-size);
    border: 2px solid var(--rp-tl-anchor, #C4A882);
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}

.breakdance .rp-project-timeline-el .rp-timeline__empty {
    padding: 24px 0;
    color: var(--rp-tl-text);
}

@media (max-width: 767px) {
    .breakdance .rp-project-timeline-el .rp-timeline__title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .breakdance .rp-project-timeline-el .rp-timeline__axis {
        --rp-tl-year-min: 180px;
        padding: 0 140px;
    }

    .breakdance .rp-project-timeline-el .rp-timeline__canvas {
        --rp-tl-bar-h: 44px;
    }

    .breakdance .rp-project-timeline-el .rp-timeline__bubble {
        max-width: 220px;
    }

    .breakdance .rp-project-timeline-el .rp-timeline__card {
        padding: 14px 16px;
    }

    .breakdance .rp-project-timeline-el .rp-timeline__year-label {
        font-size: 13px;
    }

    .breakdance .rp-project-timeline-el .rp-timeline.is-vertical-mobile .rp-timeline__scroll {
        overflow-x: visible;
    }

    .breakdance .rp-project-timeline-el .rp-timeline.is-vertical-mobile .rp-timeline__axis {
        min-width: 0;
        padding: 48px 0;
        --rp-tl-year-min: 108px;
        --rp-tl-stem-base: 20px;
        --rp-tl-base-pad: 152px;
        --rp-tl-bar-h: 48px;
        --rp-tl-lane-step: 56px;
    }

    .breakdance .rp-project-timeline-el .rp-timeline.is-vertical-mobile .rp-timeline__canvas {
        min-height: calc(var(--rp-tl-years, 6) * var(--rp-tl-year-min));
        padding-top: 0;
        padding-bottom: 0;
        padding-left: var(--rp-tl-pad-top);
        padding-right: var(--rp-tl-pad-bottom);
        --rp-tl-bar-h: 48px;
    }

    .breakdance .rp-project-timeline-el .rp-timeline.is-vertical-mobile .rp-timeline__canvas.is-empty {
        padding-left: 0;
        padding-right: 0;
    }

    .breakdance .rp-project-timeline-el .rp-timeline.is-vertical-mobile .rp-timeline__bar {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: repeat(var(--rp-tl-years, 6), minmax(var(--rp-tl-year-min), 1fr));
        width: var(--rp-tl-bar-h);
        height: auto;
        min-height: calc(var(--rp-tl-years, 6) * var(--rp-tl-year-min));
    }

    .breakdance .rp-project-timeline-el .rp-timeline.is-vertical-mobile .rp-timeline__year {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: repeat(4, minmax(0, 1fr));
    }

    .breakdance .rp-project-timeline-el .rp-timeline.is-vertical-mobile .rp-timeline__year:not(:last-child) {
        box-shadow: inset 0 -1px 0 var(--rp-tl-tick);
    }

    .breakdance .rp-project-timeline-el .rp-timeline.is-vertical-mobile .rp-timeline__tick:not(:last-child) {
        box-shadow: inset 0 -1px 0 var(--rp-tl-tick);
    }

    .breakdance .rp-project-timeline-el .rp-timeline.is-vertical-mobile .rp-timeline__year-label {
        font-size: 12px;
        letter-spacing: 0.02em;
    }

    .breakdance .rp-project-timeline-el .rp-timeline.is-vertical-mobile .rp-timeline__bubble {
        left: auto;
        max-width: 148px;
    }

    .breakdance .rp-project-timeline-el .rp-timeline.is-vertical-mobile .rp-timeline__bubble.is-above {
        right: calc(var(--rp-tl-pad-bottom) + var(--rp-tl-bar-h) - (var(--rp-tl-anchor-size) / 2));
        top: var(--rp-tl-pos);
        bottom: auto;
        flex-direction: row;
        transform: translateY(-50%);
    }

    .breakdance .rp-project-timeline-el .rp-timeline.is-vertical-mobile .rp-timeline__bubble.is-below {
        left: calc(var(--rp-tl-pad-top) + var(--rp-tl-bar-h) - (var(--rp-tl-anchor-size) / 2));
        right: auto;
        top: var(--rp-tl-pos);
        bottom: auto;
        flex-direction: row-reverse;
        transform: translateY(-50%);
    }

    .breakdance .rp-project-timeline-el .rp-timeline.is-vertical-mobile .rp-timeline__stem {
        width: calc(var(--rp-tl-stem-base) + (var(--rp-tl-lane, 0) * var(--rp-tl-lane-step)));
        height: 1px;
    }

    .breakdance .rp-project-timeline-el .rp-timeline.is-vertical-mobile .rp-timeline__card {
        min-width: 0;
    }
}
