/* ============================================================
   Horizontal Timeline — 3265d00d

   Sizing is fluid between 768px and 1366px. The --tl-fluid token
   below resolves to 0px at 768 and 1px at 1366, so multiplying it
   by a unitless number interpolates any value across that band.
   Every Elementor control writes to a --tl-* variable, so leaving
   a control empty keeps the fluid value; setting one pins it.
   ============================================================ */

.timeline-3265d00d-wrapper {
    --tl-fluid: clamp(0px, calc((100vw - 768px) / 598), 1px);

    /* fluid: value at 768px  ->  value at 1366px */
    --tl-gap: calc(8px + var(--tl-fluid) * 6);          /*  8 -> 14 */
    --tl-marker-size: calc(32px + var(--tl-fluid) * 12); /* 32 -> 44 */
    --tl-connector: calc(14px + var(--tl-fluid) * 14);   /* 14 -> 28 */
    --tl-card-pad: calc(10px + var(--tl-fluid) * 6);     /* 10 -> 16 */
    --tl-pad-y: calc(6px + var(--tl-fluid) * 4);         /*  6 -> 10 */

    --tl-line-thickness: 4px;
    --tl-line-color: #e2e8f0;
    --tl-line-style: solid;
    --tl-line-inset: 0px;
    --tl-hover-lift: 4px;
    --tl-marker-scale: 1.15;
    --tl-transition: 0.3s;

    position: relative;
    width: 100%;
    display: block;
}

/* Clips sideways only, so card shadows and the hover lift are not
   cut off at the top and bottom edges. */
.timeline-3265d00d-viewport {
    width: 100%;
    overflow: hidden;
}
@supports (overflow: clip) {
    .timeline-3265d00d-viewport {
        overflow-x: clip;
        overflow-y: visible;
    }
}

.timeline-3265d00d-track {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    gap: var(--tl-gap);
    padding: var(--tl-pad-y) 0;
}

/* Centre line — drawn as a border so solid/dashed/dotted all work. */
.timeline-3265d00d-main-line {
    position: absolute;
    left: var(--tl-line-inset);
    right: var(--tl-line-inset);
    top: 50%;
    transform: translateY(-50%);
    height: 0;
    border-top: var(--tl-line-thickness) var(--tl-line-style) var(--tl-line-color);
    z-index: 1;
}

.timeline-3265d00d-no-line .timeline-3265d00d-main-line {
    display: none;
}

/* --- Event -------------------------------------------------
   5 rows: [top card | connector | marker | connector | bottom card]
   The two 1fr rows always match, so the marker is centred in every
   event and every marker lands on the line, whatever the card height.
   ----------------------------------------------------------- */
.timeline-3265d00d-event {
    position: relative;
    z-index: 2;
    flex: 1 1 0;
    min-width: 0;
    display: grid;
    grid-template-rows: 1fr var(--tl-connector) auto var(--tl-connector) 1fr;
    justify-items: center;
}

.timeline-3265d00d-pos-top .timeline-3265d00d-card {
    grid-row: 1;
    align-self: end;
}
.timeline-3265d00d-pos-top .timeline-3265d00d-connector {
    grid-row: 2;
}
.timeline-3265d00d-event .timeline-3265d00d-marker {
    grid-row: 3;
}
.timeline-3265d00d-pos-bottom .timeline-3265d00d-connector {
    grid-row: 4;
}
.timeline-3265d00d-pos-bottom .timeline-3265d00d-card {
    grid-row: 5;
    align-self: start;
}

/* Marker */
.timeline-3265d00d-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: var(--tl-marker-size);
    height: var(--tl-marker-size);
    font-size: calc(0.78rem + var(--tl-fluid) * 3);
    border-radius: 50%;
    border-style: solid;
    border-width: 4px;
    border-color: #ffffff;
    background-color: #3b82f6;
    color: #ffffff;
    font-weight: 700;
    line-height: 1;
    z-index: 3;
    transition: transform var(--tl-transition) cubic-bezier(0.175, 0.885, 0.32, 1.275),
                background-color var(--tl-transition) ease,
                border-color var(--tl-transition) ease,
                box-shadow var(--tl-transition) ease;
}
.timeline-3265d00d-event:hover .timeline-3265d00d-marker {
    transform: scale(var(--tl-marker-scale));
}
.timeline-3265d00d-marker svg {
    fill: currentColor;
    width: calc(var(--tl-marker-size) * 0.45);
    height: calc(var(--tl-marker-size) * 0.45);
}

/* Connector stem */
.timeline-3265d00d-connector {
    width: 2px;
    height: 100%;
    background-color: #3b82f6;
    opacity: 0.7;
}

/* Card */
.timeline-3265d00d-card {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    border-radius: 12px;
    padding: var(--tl-card-pad);
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    transition: transform var(--tl-transition) ease,
                box-shadow var(--tl-transition) ease,
                background-color var(--tl-transition) ease,
                border-color var(--tl-transition) ease;
}
.timeline-3265d00d-pos-top:hover .timeline-3265d00d-card {
    transform: translateY(calc(-1 * var(--tl-hover-lift)));
}
.timeline-3265d00d-pos-bottom:hover .timeline-3265d00d-card {
    transform: translateY(var(--tl-hover-lift));
}

/* Whole-card link */
.timeline-3265d00d-link-overlay {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 2;
}
.timeline-3265d00d-link-overlay:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Fluid type — applies until a Typography control is set in the panel. */
.timeline-3265d00d-date {
    display: inline-block;
    font-size: calc(0.72rem + var(--tl-fluid) * 2);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: calc(4px + var(--tl-fluid) * 4);
    color: #3b82f6;
    overflow-wrap: break-word;
}
.timeline-3265d00d-title {
    font-size: calc(0.95rem + var(--tl-fluid) * 3.2);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 calc(6px + var(--tl-fluid) * 4) 0;
    color: #1e293b;
    overflow-wrap: break-word;
    transition: color var(--tl-transition) ease;
}
.timeline-3265d00d-desc {
    font-size: calc(0.8rem + var(--tl-fluid) * 1.6);
    line-height: 1.5;
    margin: 0;
    color: #64748b;
    overflow-wrap: break-word;
}

/* ============================================================
   Carousel mode — 768px to 1366px
   Fitting every card in this range makes them unreadably narrow,
   so instead a set number is shown per view and the rest are
   reached by swiping. scroll-snap guarantees a card is never
   left half-visible at the edge.
   ============================================================ */
.timeline-3265d00d-nav-bar {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 14px;
}

.timeline-3265d00d-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: opacity var(--tl-transition) ease, background-color var(--tl-transition) ease;
}
.timeline-3265d00d-nav svg {
    width: 22px;
    height: 22px;
    fill: #1e293b;
}
.timeline-3265d00d-nav[disabled] {
    opacity: 0.35;
    cursor: default;
}

.timeline-3265d00d-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}
.timeline-3265d00d-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: background-color var(--tl-transition) ease, transform var(--tl-transition) ease;
}
.timeline-3265d00d-dot.is-active {
    background-color: #3b82f6;
    transform: scale(1.35);
}

@media (min-width: 768px) and (max-width: 1366px) {
    .timeline-3265d00d-wrapper:not(.timeline-3265d00d-fit) .timeline-3265d00d-viewport {
        overflow-x: auto;
        overflow-y: hidden;
        /* room for the card shadow and hover lift, which overflow-y clips */
        padding: 18px 0;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .timeline-3265d00d-wrapper:not(.timeline-3265d00d-fit) .timeline-3265d00d-viewport::-webkit-scrollbar {
        display: none;
    }

    /* A plain length here on purpose: the fluid --tl-gap is itself a calc(),
       and nesting it inside the basis arithmetic below invalidates the whole
       declaration at computed-value time. */
    .timeline-3265d00d-wrapper:not(.timeline-3265d00d-fit) .timeline-3265d00d-track {
        justify-content: flex-start;
        gap: var(--tl-cgap, 16px);
    }

    /* snap-align:start, not center — with start alignment every snap
       position lands a card flush to the left edge, so the visible run is
       always whole cards. Centering only works out for odd counts. */
    .timeline-3265d00d-wrapper:not(.timeline-3265d00d-fit) .timeline-3265d00d-track .timeline-3265d00d-event {
        max-width: none;
        scroll-snap-align: start;
        flex: 0 0 calc((100% - var(--tl-cgap, 16px) * 2) / 3);
    }

    .timeline-3265d00d-has-nav .timeline-3265d00d-nav-bar {
        display: flex;
    }
}

/* Per-view counts. Literal divisors only — see the note above. */
@media (min-width: 768px) and (max-width: 1024px) {
    .timeline-3265d00d-wrapper:not(.timeline-3265d00d-fit)[data-pv-tablet="1"] .timeline-3265d00d-track .timeline-3265d00d-event {
        flex: 0 0 100%;
    }
    .timeline-3265d00d-wrapper:not(.timeline-3265d00d-fit)[data-pv-tablet="2"] .timeline-3265d00d-track .timeline-3265d00d-event {
        flex: 0 0 calc((100% - var(--tl-cgap, 16px) * 1) / 2);
    }
    .timeline-3265d00d-wrapper:not(.timeline-3265d00d-fit)[data-pv-tablet="3"] .timeline-3265d00d-track .timeline-3265d00d-event {
        flex: 0 0 calc((100% - var(--tl-cgap, 16px) * 2) / 3);
    }
    .timeline-3265d00d-wrapper:not(.timeline-3265d00d-fit)[data-pv-tablet="4"] .timeline-3265d00d-track .timeline-3265d00d-event {
        flex: 0 0 calc((100% - var(--tl-cgap, 16px) * 3) / 4);
    }
    .timeline-3265d00d-wrapper:not(.timeline-3265d00d-fit)[data-pv-tablet="5"] .timeline-3265d00d-track .timeline-3265d00d-event {
        flex: 0 0 calc((100% - var(--tl-cgap, 16px) * 4) / 5);
    }
}

@media (min-width: 1025px) and (max-width: 1366px) {
    .timeline-3265d00d-wrapper:not(.timeline-3265d00d-fit)[data-pv-laptop="1"] .timeline-3265d00d-track .timeline-3265d00d-event {
        flex: 0 0 100%;
    }
    .timeline-3265d00d-wrapper:not(.timeline-3265d00d-fit)[data-pv-laptop="2"] .timeline-3265d00d-track .timeline-3265d00d-event {
        flex: 0 0 calc((100% - var(--tl-cgap, 16px) * 1) / 2);
    }
    .timeline-3265d00d-wrapper:not(.timeline-3265d00d-fit)[data-pv-laptop="3"] .timeline-3265d00d-track .timeline-3265d00d-event {
        flex: 0 0 calc((100% - var(--tl-cgap, 16px) * 2) / 3);
    }
    .timeline-3265d00d-wrapper:not(.timeline-3265d00d-fit)[data-pv-laptop="4"] .timeline-3265d00d-track .timeline-3265d00d-event {
        flex: 0 0 calc((100% - var(--tl-cgap, 16px) * 3) / 4);
    }
    .timeline-3265d00d-wrapper:not(.timeline-3265d00d-fit)[data-pv-laptop="5"] .timeline-3265d00d-track .timeline-3265d00d-event {
        flex: 0 0 calc((100% - var(--tl-cgap, 16px) * 4) / 5);
    }
}

@media (prefers-reduced-motion: reduce) {
    .timeline-3265d00d-wrapper:not(.timeline-3265d00d-fit) .timeline-3265d00d-viewport {
        scroll-behavior: auto;
    }
}

/* --- Mobile: stack vertically, still no horizontal scroll ---
   Selectors below deliberately match the desktop specificity —
   a media query adds none of its own, so a bare `.card` rule
   would lose to `.pos-top .card` and the grid rows would break.
   Stacked cards have room again, so sizes go back to full.
   ----------------------------------------------------------- */
@media (max-width: 767px) {
    .timeline-3265d00d-wrapper {
        --tl-gap: 16px;
        --tl-marker-size: 44px;
        --tl-connector: 24px;
        --tl-card-pad: 16px;
        --tl-pad-y: 0px;
    }
    .timeline-3265d00d-track {
        flex-direction: column;
        align-items: center;
    }
    .timeline-3265d00d-event {
        width: 100%;
        grid-template-rows: auto var(--tl-connector) auto;
    }
    .timeline-3265d00d-event .timeline-3265d00d-marker {
        grid-row: 1;
        justify-self: center;
    }
    .timeline-3265d00d-pos-top .timeline-3265d00d-connector,
    .timeline-3265d00d-pos-bottom .timeline-3265d00d-connector {
        grid-row: 2;
        justify-self: center;
    }
    .timeline-3265d00d-pos-top .timeline-3265d00d-card,
    .timeline-3265d00d-pos-bottom .timeline-3265d00d-card {
        grid-row: 3;
        align-self: start;
    }
    .timeline-3265d00d-title {
        font-size: 1.15rem;
    }
    .timeline-3265d00d-desc {
        font-size: 0.9rem;
    }
    .timeline-3265d00d-date {
        font-size: 0.85rem;
    }
    .timeline-3265d00d-marker {
        font-size: 1rem;
    }
    .timeline-3265d00d-main-line {
        top: 0;
        bottom: 0;
        left: 50%;
        right: auto;
        height: auto;
        width: 0;
        border-top: none;
        border-left: var(--tl-line-thickness) var(--tl-line-style) var(--tl-line-color);
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .timeline-3265d00d-marker,
    .timeline-3265d00d-card,
    .timeline-3265d00d-title {
        transition: none;
    }
    .timeline-3265d00d-event:hover .timeline-3265d00d-marker,
    .timeline-3265d00d-pos-top:hover .timeline-3265d00d-card,
    .timeline-3265d00d-pos-bottom:hover .timeline-3265d00d-card {
        transform: none;
    }
}

/* Touch devices: sticky :hover states are more annoying than useful. */
@media (hover: none) {
    .timeline-3265d00d-event:hover .timeline-3265d00d-marker,
    .timeline-3265d00d-pos-top:hover .timeline-3265d00d-card,
    .timeline-3265d00d-pos-bottom:hover .timeline-3265d00d-card {
        transform: none;
    }
}