.elementor-widget-dc-history-timeline .dc-history-timeline {
    --dc-history-min-height: 700px;
    --dc-history-content-width: 1280px;
    --dc-history-bg-start: #00437d;
    --dc-history-bg-end: #0059ab;
    --dc-history-gradient-angle: 90deg;
    --dc-history-bg-image: none;
    --dc-history-bg-position: center center;
    --dc-history-image-opacity: 0.08;
    --dc-history-radius: 0px;
    --dc-history-badge-color: #ffffff;
    --dc-history-badge-bg: rgba(255,255,255,0.10);
    --dc-history-badge-border: rgba(255,255,255,0.45);
    --dc-history-heading-color: #ffffff;
    --dc-history-badge-heading-gap: 16px;
    --dc-history-heading-timeline-gap: 52px;
    --dc-history-timeline-width: 100%;
    --dc-history-top-height: 124px;
    --dc-history-bottom-height: 124px;
    --dc-history-active-year: #ffffff;
    --dc-history-active-title: #ffffff;
    --dc-history-active-description: #ffffff;
    --dc-history-inactive-opacity: 0.46;
    --dc-history-line-color: rgba(255,255,255,0.82);
    --dc-history-line-size: 2px;
    --dc-history-dot-size: 10px;
    --dc-history-dot-active: #ffffff;
    --dc-history-dot-inactive: rgba(255,255,255,0.38);
    --dc-history-glow: rgba(255,255,255,0.55);
    --dc-history-transition: 280ms;

    position: relative;
    width: 100%;
    min-width: 0;
    min-height: var(--dc-history-min-height);
    overflow: hidden;
    border-radius: var(--dc-history-radius);
    background: linear-gradient(var(--dc-history-gradient-angle), var(--dc-history-bg-start) 0%, var(--dc-history-bg-end) 100%);
    isolation: isolate;
    box-sizing: border-box;
}

.elementor-widget-dc-history-timeline .dc-history-timeline__photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--dc-history-bg-image);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: var(--dc-history-bg-position);
    opacity: var(--dc-history-image-opacity);
    pointer-events: none;
}

.elementor-widget-dc-history-timeline .dc-history-timeline__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: inherit;
    padding: 168px 24px 88px;
    box-sizing: border-box;
}

.elementor-widget-dc-history-timeline .dc-history-timeline__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.elementor-widget-dc-history-timeline .dc-history-timeline__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    margin: 0 0 var(--dc-history-badge-heading-gap);
    padding: 9px 14px;
    border: 1px solid var(--dc-history-badge-border);
    border-radius: 999px;
    background: var(--dc-history-badge-bg);
    color: var(--dc-history-badge-color);
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.elementor-widget-dc-history-timeline .dc-history-timeline__badge-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: currentColor;
}

.elementor-widget-dc-history-timeline .dc-history-timeline__heading {
    max-width: 100%;
    margin: 0;
    color: var(--dc-history-heading-color);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -0.025em;
}

.elementor-widget-dc-history-timeline .dc-history-timeline__viewport {
    width: min(var(--dc-history-timeline-width), var(--dc-history-content-width));
    max-width: 100%;
    margin: var(--dc-history-heading-timeline-gap) auto 0;
    overflow: visible;
}

.elementor-widget-dc-history-timeline .dc-history-timeline__track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--dc-history-item-count), minmax(0, 1fr));
    width: 100%;
    min-width: 0;
}

.elementor-widget-dc-history-timeline .dc-history-timeline__axis {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--dc-history-top-height);
    height: var(--dc-history-line-size);
    transform: translateY(-50%);
    background: var(--dc-history-line-color);
    pointer-events: none;
}

.elementor-widget-dc-history-timeline .dc-history-timeline__item {
    position: relative;
    display: grid;
    grid-template-rows: var(--dc-history-top-height) 0 var(--dc-history-bottom-height);
    min-width: 0;
    text-align: center;
}

.elementor-widget-dc-history-timeline .dc-history-timeline__top,
.elementor-widget-dc-history-timeline .dc-history-timeline__bottom {
    position: relative;
    display: flex;
    min-width: 0;
    padding-inline: 18px;
    box-sizing: border-box;
}

.elementor-widget-dc-history-timeline .dc-history-timeline__top {
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 24px;
}

.elementor-widget-dc-history-timeline .dc-history-timeline__bottom {
    align-items: flex-start;
    justify-content: center;
    padding-top: 24px;
}

.elementor-widget-dc-history-timeline .dc-history-timeline__node-row {
    position: relative;
    z-index: 3;
    height: 0;
}

.elementor-widget-dc-history-timeline .dc-history-timeline__dot {
    appearance: none;
    -webkit-appearance: none;
    position: absolute;
    left: 50%;
    top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    transform: translate(-50%, -50%);
    cursor: pointer;
    box-shadow: none;
}

.elementor-widget-dc-history-timeline .dc-history-timeline__dot-core {
    display: block;
    width: var(--dc-history-dot-size);
    height: var(--dc-history-dot-size);
    border-radius: 50%;
    background: var(--dc-history-dot-inactive);
    box-shadow: 0 0 0 0 transparent;
    transform: scale(1);
    transition:
        background-color var(--dc-history-transition) ease,
        box-shadow var(--dc-history-transition) ease,
        transform var(--dc-history-transition) ease;
}

.elementor-widget-dc-history-timeline .dc-history-timeline__item::before {
    content: '';
    position: absolute;
    left: 50%;
    z-index: 2;
    width: 1px;
    height: 25px;
    transform: translateX(-50%);
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.62) 0 5px,
        transparent 5px 10px
    );
    opacity: var(--dc-history-inactive-opacity);
    transition: opacity var(--dc-history-transition) ease;
    pointer-events: none;
}

.elementor-widget-dc-history-timeline .dc-history-timeline__item--year-top::before {
    top: calc(var(--dc-history-top-height) - 34px);
}

.elementor-widget-dc-history-timeline .dc-history-timeline__item--year-bottom::before {
    top: calc(var(--dc-history-top-height) + 9px);
}

.elementor-widget-dc-history-timeline .dc-history-timeline__year {
    appearance: none;
    -webkit-appearance: none;
    display: inline-block;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--dc-history-active-year);
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    opacity: var(--dc-history-inactive-opacity);
    cursor: pointer;
    transform: translateY(0) scale(1);
    transition:
        color var(--dc-history-transition) ease,
        opacity var(--dc-history-transition) ease,
        text-shadow var(--dc-history-transition) ease,
        transform var(--dc-history-transition) ease;
}

.elementor-widget-dc-history-timeline .dc-history-timeline__copy {
    width: 100%;
    max-width: 280px;
    opacity: var(--dc-history-inactive-opacity);
    transform: translateY(0);
    transition:
        opacity var(--dc-history-transition) ease,
        transform var(--dc-history-transition) ease;
}

.elementor-widget-dc-history-timeline .dc-history-timeline__item-title {
    margin: 0 0 10px;
    color: var(--dc-history-active-title);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    transition: color var(--dc-history-transition) ease;
}

.elementor-widget-dc-history-timeline .dc-history-timeline__description {
    margin: 0;
    color: var(--dc-history-active-description);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    transition: color var(--dc-history-transition) ease;
}

.elementor-widget-dc-history-timeline .dc-history-timeline__item.is-active::before,
.elementor-widget-dc-history-timeline .dc-history-timeline__item:has([data-dc-history-trigger]:hover)::before {
    opacity: 1;
}

.elementor-widget-dc-history-timeline .dc-history-timeline__item.is-active .dc-history-timeline__year,
.elementor-widget-dc-history-timeline .dc-history-timeline__item:has([data-dc-history-trigger]:hover) .dc-history-timeline__year {
    opacity: 1;
    text-shadow: 0 0 22px var(--dc-history-glow);
    transform: translateY(-1px) scale(1.015);
}

.elementor-widget-dc-history-timeline .dc-history-timeline__item.is-active .dc-history-timeline__copy,
.elementor-widget-dc-history-timeline .dc-history-timeline__item:has([data-dc-history-trigger]:hover) .dc-history-timeline__copy {
    opacity: 1;
}

.elementor-widget-dc-history-timeline .dc-history-timeline__item.is-active .dc-history-timeline__dot-core,
.elementor-widget-dc-history-timeline .dc-history-timeline__item:has([data-dc-history-trigger]:hover) .dc-history-timeline__dot-core {
    background: var(--dc-history-dot-active);
    box-shadow: 0 0 0 5px rgba(255,255,255,0.10), 0 0 18px var(--dc-history-glow);
    transform: scale(1.08);
}

.elementor-widget-dc-history-timeline .dc-history-timeline__year:focus-visible,
.elementor-widget-dc-history-timeline .dc-history-timeline__dot:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}

@media (max-width: 1024px) and (min-width: 768px) {
    .elementor-widget-dc-history-timeline .dc-history-timeline {
        --dc-history-min-height: 620px;
        --dc-history-heading-timeline-gap: 42px;
    }

    .elementor-widget-dc-history-timeline .dc-history-timeline__inner {
        padding: 90px 24px 70px;
    }

    .elementor-widget-dc-history-timeline .dc-history-timeline__heading {
        font-size: 36px;
    }

    .elementor-widget-dc-history-timeline .dc-history-timeline__viewport {
        max-width: none;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
    }

    .elementor-widget-dc-history-timeline .dc-history-timeline__track {
        min-width: max(880px, 100%);
    }

    .elementor-widget-dc-history-timeline .dc-history-timeline__year {
        font-size: 42px;
    }

    .elementor-widget-dc-history-timeline .dc-history-timeline__item-title {
        font-size: 15px;
    }

    .elementor-widget-dc-history-timeline .dc-history-timeline__description {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .elementor-widget-dc-history-timeline .dc-history-timeline {
        --dc-history-min-height: 0px;
        --dc-history-heading-timeline-gap: 36px;
        --dc-history-dot-size: 9px;
    }

    .elementor-widget-dc-history-timeline .dc-history-timeline__inner {
        min-height: 0;
        padding: 56px 20px;
    }

    .elementor-widget-dc-history-timeline .dc-history-timeline__badge {
        min-height: 34px;
        font-size: 12px;
    }

    .elementor-widget-dc-history-timeline .dc-history-timeline__heading {
        font-size: 30px;
        line-height: 1.18;
    }

    .elementor-widget-dc-history-timeline .dc-history-timeline__viewport {
        width: min(100%, 560px);
        margin-top: var(--dc-history-heading-timeline-gap);
        overflow: visible;
    }

    .elementor-widget-dc-history-timeline .dc-history-timeline__track {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .elementor-widget-dc-history-timeline .dc-history-timeline__axis {
        left: 20px;
        right: auto;
        top: 0;
        bottom: 0;
        width: var(--dc-history-line-size);
        height: auto;
        transform: none;
    }

    .elementor-widget-dc-history-timeline .dc-history-timeline__item,
    .elementor-widget-dc-history-timeline .dc-history-timeline__item--year-top,
    .elementor-widget-dc-history-timeline .dc-history-timeline__item--year-bottom {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        grid-template-rows: auto auto;
        min-height: 142px;
        padding: 0 0 30px;
        text-align: left;
    }

    .elementor-widget-dc-history-timeline .dc-history-timeline__item:last-child {
        min-height: 0;
        padding-bottom: 0;
    }

    .elementor-widget-dc-history-timeline .dc-history-timeline__item::before {
        display: none;
    }

    .elementor-widget-dc-history-timeline .dc-history-timeline__node-row {
        grid-column: 1;
        grid-row: 1 / span 2;
        position: relative;
        height: 100%;
    }

    .elementor-widget-dc-history-timeline .dc-history-timeline__dot {
        left: 20px;
        top: 26px;
        transform: translate(-50%, -50%);
    }

    .elementor-widget-dc-history-timeline .dc-history-timeline__top,
    .elementor-widget-dc-history-timeline .dc-history-timeline__bottom {
        display: contents;
    }

    .elementor-widget-dc-history-timeline .dc-history-timeline__year {
        grid-column: 2;
        grid-row: 1;
        justify-self: start;
        align-self: start;
        margin: 0 0 12px;
        font-size: 40px;
    }

    .elementor-widget-dc-history-timeline .dc-history-timeline__copy {
        grid-column: 2;
        grid-row: 2;
        max-width: none;
        align-self: start;
    }

    .elementor-widget-dc-history-timeline .dc-history-timeline__item-title {
        margin-bottom: 7px;
        font-size: 16px;
    }

    .elementor-widget-dc-history-timeline .dc-history-timeline__description {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Reorder alternating desktop markup into one consistent mobile reading order. */
    .elementor-widget-dc-history-timeline .dc-history-timeline__item--year-bottom .dc-history-timeline__bottom .dc-history-timeline__year,
    .elementor-widget-dc-history-timeline .dc-history-timeline__item--year-top .dc-history-timeline__top .dc-history-timeline__year {
        grid-column: 2;
        grid-row: 1;
    }

    .elementor-widget-dc-history-timeline .dc-history-timeline__item--year-bottom .dc-history-timeline__top .dc-history-timeline__copy,
    .elementor-widget-dc-history-timeline .dc-history-timeline__item--year-top .dc-history-timeline__bottom .dc-history-timeline__copy {
        grid-column: 2;
        grid-row: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .elementor-widget-dc-history-timeline .dc-history-timeline__year,
    .elementor-widget-dc-history-timeline .dc-history-timeline__copy,
    .elementor-widget-dc-history-timeline .dc-history-timeline__dot-core,
    .elementor-widget-dc-history-timeline .dc-history-timeline__item::before {
        transition-duration: 0ms;
    }
}
