.fr-timeline-wheel {
    --fr-timeline-text-color: var(--e-global-color-secondary, #ffffff);
    --fr-timeline-year-color: var(--fr-timeline-text-color);
    --fr-timeline-year-active-color: var(--fr-timeline-text-color);
    --fr-timeline-year-hover-color: var(--fr-timeline-year-active-color);
    --fr-timeline-year-hover-background-color: transparent;
    --fr-timeline-year-active-background-color: transparent;
    --fr-timeline-title-color: var(--fr-timeline-text-color);
    --fr-timeline-description-color: var(--fr-timeline-text-color);
    --fr-timeline-line-color: var(--fr-timeline-text-color);
    --fr-timeline-overlay-color: rgba(0, 0, 0, 0.5);
    --fr-timeline-wheel-vertical-gap: clamp(24px, 6.25%, 50px);

    position: relative;
    isolation: isolate;
    height: 400px;
    overflow: hidden;
    font-family: var(--e-global-typography-4c20bd3-font-family, inherit), Sans-serif;
    background: #111;
}

.fr-timeline-wheel__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s linear;
}

.fr-timeline-wheel__bg.is-visible {
    opacity: 1;
}

.fr-timeline-wheel__wheel {
    opacity: 0.5;
    position: absolute;
    top: var(--fr-timeline-wheel-vertical-gap);
    bottom: var(--fr-timeline-wheel-vertical-gap);
    right: 10px;
    width: 80px;
    box-sizing: border-box;
    overflow-y: scroll;
    text-align: left;
    padding: 0;
    margin: 0;
    border-left: 1px solid var(--fr-timeline-line-color);
    user-select: none;
    -webkit-user-select: none;
    transition: opacity 0.2s ease;
    scrollbar-width: none;
    z-index: 30;
}

.fr-timeline-wheel__wheel::-webkit-scrollbar {
    display: none;
}

.fr-timeline-wheel__year {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    background-color: transparent !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    font-family: inherit;
    color: var(--fr-timeline-year-color);
    font-size: 12px;
    line-height: 1.2;
    padding: 20px 0 20px 20px;
    margin: 0;
    opacity: 0.4;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    transition: font-size 0.5s ease, opacity 0.5s ease, font-weight 0.5s ease, transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 31;
}

.fr-timeline-wheel__year-label {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    vertical-align: middle;
}

.fr-timeline-wheel__year:hover {
    color: var(--fr-timeline-year-hover-color);
    background-color: var(--fr-timeline-year-hover-background-color) !important;
    opacity: 1;
}

.fr-timeline-wheel__year:focus,
.fr-timeline-wheel__year:focus-visible,
.fr-timeline-wheel__year:active {
    color: var(--fr-timeline-year-color);
    background-color: transparent !important;
    outline: none;
}

.fr-timeline-wheel__year.is-active {
    color: var(--fr-timeline-year-active-color);
    font-size: 20px;
    opacity: 1;
    font-weight: 700;
    background-color: var(--fr-timeline-year-active-background-color) !important;
}

.fr-timeline-wheel__year.is-active,
.fr-timeline-wheel__year.is-active:hover,
.fr-timeline-wheel__year.is-active:focus,
.fr-timeline-wheel__year.is-active:focus-visible,
.fr-timeline-wheel__year.is-active:active {
    color: var(--fr-timeline-year-active-color);
    background-color: var(--fr-timeline-year-active-background-color) !important;
}

.fr-timeline-wheel__overlay {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 12px;
    margin: 0 100px;
    color: var(--fr-timeline-text-color);
    z-index: 10;
    pointer-events: none;
}

.fr-timeline-wheel__title {
    color: var(--fr-timeline-title-color);
    margin: 0 0 0.6em;
    font-size: 1.8em;
    line-height: 1.15;
}

.fr-timeline-wheel__description {
    color: var(--fr-timeline-description-color);
    margin: 0;
    font-size: 1em;
    line-height: 1.5;
}

.fr-timeline-wheel-empty {
    padding: 20px;
    border: 1px dashed #cccccc;
    background: #fafafa;
}

@media (min-width: 768px) {
    .fr-timeline-wheel {
        height: 500px;
    }

    .fr-timeline-wheel__wheel {
        padding: 0;
        left: 10px;
        right: auto;
        width: 120px;
        border-left: 0;
        border-right: 1px solid var(--fr-timeline-line-color);
        text-align: right;
    }

    .fr-timeline-wheel__year {
        font-size: 18px;
        padding: 20px 20px 20px 0;
        margin: 0;
        text-align: right;
    }

    .fr-timeline-wheel__year.is-active {
        font-size: 22px;
    }

    .fr-timeline-wheel__overlay {
        font-size: 14px;
        margin: 0 150px;
    }
}

@media (min-width: 1024px) {
    .fr-timeline-wheel {
        height: 800px;
    }

    .fr-timeline-wheel__wheel {
        padding: 0;
        width: 250px;
    }

    .fr-timeline-wheel__year {
        font-size: 24px;
        padding-right: 30px;
    }

    .fr-timeline-wheel__year.is-active {
        font-size: 36px;
    }

    .fr-timeline-wheel__overlay {
        font-size: 20px;
        margin: 0 300px;
    }
}
