.elementor-460 .elementor-element.elementor-element-f6988fa{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:80px;--padding-bottom:80px;--padding-left:20px;--padding-right:20px;}.elementor-460 .elementor-element.elementor-element-f6988fa:not(.elementor-motion-effects-element-type-background), .elementor-460 .elementor-element.elementor-element-f6988fa > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-tef_surface );}/* =========================================
   Competition Timeline — New Design
========================================= */

.tline {
    --tl-primary: var(--tewido-elementra-color-primary);
    --tl-primary-dark: var(--tewido-elementra-color-primary-700);
    --tl-primary-soft: var(--tewido-elementra-color-primary-25);
    --tl-primary-border: var(--tewido-elementra-color-primary-100);

    --tl-gold: var(--tewido-elementra-color-secondary);
    --tl-gold-light: var(--tewido-elementra-color-secondary-100);
    --tl-gold-dark: var(--tewido-elementra-color-secondary-800);

    --tl-heading: var(--tewido-elementra-color-heading);
    --tl-body: var(--tewido-elementra-color-body);
    --tl-muted: var(--tewido-elementra-color-gray-500);
    --tl-border: var(--tewido-elementra-color-gray-100);
    --tl-line: var(--tewido-elementra-color-gray-200);
    --tl-surface: var(--tewido-elementra-color-surface);

    list-style: none;
    position: relative;
    margin: 0;
    padding: 12px 0 0;
}

/* =========================================
   Timeline Item
========================================= */

.tstep {
    position: relative;
    display: grid;
    grid-template-columns: 104px 32px minmax(0, 1fr);
    grid-template-areas: "date rail card";
    column-gap: 20px;
    align-items: stretch;
    min-width: 0;
}

/* =========================================
   Date Block
========================================= */

.tstep__date {
    grid-area: date;
    align-self: start;
    margin: 0;
    padding-top: 24px;
    text-align: start;
}

.tstep__date time {
    display: block;
}

.tstep__date b {
    display: block;
    color: var(--tl-heading);
    font-size: 29px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.05em;
    font-variant-numeric: tabular-nums;
    transition: color 180ms ease;
}

.tstep__date span {
    display: block;
    margin-top: 7px;
    color: var(--tl-muted);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.7;
}

.tstep--done .tstep__date b {
    color: var(--tewido-elementra-color-gray-400);
}

.tstep--done .tstep__date span {
    color: var(--tewido-elementra-color-gray-400);
}

/* Upcoming date */

.tstep--next .tstep__date b {
    color: var(--tl-primary);
}

/* =========================================
   Timeline Rail
========================================= */

.tstep__rail {
    grid-area: rail;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    min-width: 0;
}

.tstep__rail::after {
    content: "";
    display: block;
    flex: 1 1 auto;
    width: 2px;
    min-height: 28px;
    margin-top: 12px;
    border-radius: 999px;
    background: var(--tl-line);
}

.tstep--done .tstep__rail::after {
    background: var(--tewido-elementra-color-primary-200);
}

.tstep--last .tstep__rail::after {
    display: none;
}

/* =========================================
   Timeline Marker
========================================= */

.tstep__dot {
    position: relative;
    z-index: 1;
    display: block;
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    margin-top: 32px;
    border: 2px solid var(--tewido-elementra-color-gray-300);
    border-radius: 50%;
    background: var(--tl-surface);
    box-shadow: 0 0 0 4px var(--tl-surface);
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.tstep--done .tstep__dot {
    border-color: var(--tewido-elementra-color-primary-300);
    background: var(--tewido-elementra-color-primary-300);
}

.tstep--next .tstep__dot {
    width: 15px;
    height: 15px;
    margin-top: 30px;
    border-color: var(--tl-primary);
    background: var(--tl-primary);
    box-shadow:
        0 0 0 4px var(--tl-surface),
        0 0 0 7px var(--tl-primary-border);
}

/* Final event marker */

.tstep--last .tstep__dot {
    width: 19px;
    height: 19px;
    margin-top: 29px;
    border: 3px solid var(--tl-gold);
    background: var(--tl-primary);
    box-shadow:
        0 0 0 4px var(--tl-surface),
        0 0 0 7px var(--tl-gold-light);
}

/* =========================================
   Event Card
========================================= */

.tstep__card {
    grid-area: card;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px 20px;
    flex-wrap: wrap;
    min-width: 0;
    margin: 0 0 18px;
    padding: 21px 24px;
    overflow: hidden;

    border: 1px solid var(--tl-border);
    border-radius: 12px;

    background: var(--tl-surface);

    box-shadow:
        0 2px 5px rgba(26, 26, 26, 0.025),
        0 1px 2px rgba(26, 26, 26, 0.015);

    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease,
        transform 180ms ease;
}

.tstep__card h3 {
    flex: 1 1 240px;
    min-width: 0;
    margin: 0;

    color: var(--tl-heading);

    font-size: 16px;
    font-weight: 650;
    line-height: 1.9;

    overflow-wrap: anywhere;
}

/* Completed events */

.tstep--done .tstep__card {
    border-color: var(--tewido-elementra-color-gray-100);
    background: var(--tewido-elementra-color-gray-25);
    box-shadow: none;
}

.tstep--done .tstep__card h3 {
    color: var(--tewido-elementra-color-gray-500);
}

/* =========================================
   Upcoming Event
========================================= */

.tstep--next .tstep__card {
    border-color: var(--tl-primary);
    background: var(--tl-primary-soft);

    box-shadow:
        0 0 0 1px rgba(122, 20, 51, 0.035),
        0 5px 18px rgba(122, 20, 51, 0.055);
}

.tstep--next .tstep__card::before {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;

    width: 4px;

    background: var(--tl-primary);
}

.tstep--next .tstep__card h3 {
    color: var(--tl-primary);
}

/* =========================================
   Final Event — Full Highlight
========================================= */

.tstep--last .tstep__card {
    position: relative;

    border: 1px solid var(--tl-primary);
    border-radius: 14px;

    background: var(--tl-primary);

    box-shadow:
        0 8px 24px rgba(122, 20, 51, 0.16),
        inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

/* Gold accent */

.tstep--last .tstep__card::before {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;

    width: 5px;

    background: var(--tl-gold);
}

/* Final event title */

.tstep--last .tstep__card h3 {
    color: var(--tewido-elementra-color-surface);

    font-size: 17px;
    font-weight: 750;
    line-height: 1.8;
}

/* Final event date */

.tstep--last .tstep__date b {
    color: var(--tl-primary);
}

.tstep--last .tstep__date span {
    color: var(--tl-gold-dark);
    font-weight: 700;
}

/* Final event tag */

.tstep--last .tag {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.09);
    color: var(--tewido-elementra-color-surface);
}

.tstep--last .tag .i {
    color: var(--tl-gold);
}

/* =========================================
   Status Tags
========================================= */

.tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    flex: 0 0 auto;

    padding: 7px 12px;

    border: 1px solid var(--tl-border);
    border-radius: 7px;

    background: var(--tl-surface);
    color: var(--tl-muted);

    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;

    white-space: nowrap;
}

.tag .i {
    display: block;
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
}

.tag--next {
    border-color: var(--tl-primary-border);
    background: var(--tl-surface);
    color: var(--tl-primary);
}

.tag--done {
    border-style: dashed;
    background: var(--tewido-elementra-color-gray-50);
    color: var(--tl-muted);
}

/* =========================================
   Hover
========================================= */

@media (hover: hover) and (pointer: fine) {
    .tstep:not(.tstep--done):not(.tstep--last) .tstep__card:hover {
        transform: translateY(-2px);
        border-color: var(--tewido-elementra-color-gray-200);

        box-shadow:
            0 6px 18px rgba(26, 26, 26, 0.055),
            0 2px 5px rgba(26, 26, 26, 0.025);
    }

    .tstep--next .tstep__card:hover {
        border-color: var(--tl-primary);
        box-shadow: 0 8px 22px rgba(122, 20, 51, 0.09);
    }

    .tstep--last .tstep__card:hover {
        transform: translateY(-2px);
        border-color: var(--tl-gold);

        box-shadow:
            0 12px 28px rgba(122, 20, 51, 0.20),
            0 0 0 1px rgba(213, 158, 62, 0.15);
    }
}

/* =========================================
   Tablet
========================================= */

@media (max-width: 1024px) {
    .tstep {
        grid-template-columns: 86px 26px minmax(0, 1fr);
        column-gap: 16px;
    }

    .tstep__date b {
        font-size: 25px;
    }

    .tstep__card {
        padding: 19px 20px;
    }

    .tstep__card h3 {
        font-size: 15px;
    }
}

/* =========================================
   Mobile
========================================= */

@media (max-width: 640px) {
    .tline {
        padding-top: 8px;
    }

    .tstep {
        grid-template-areas:
            "rail date"
            "rail card";

        grid-template-columns: 18px minmax(0, 1fr);

        column-gap: 13px;
        row-gap: 9px;
    }

    .tstep__date {
        padding-top: 0;
    }

    .tstep__date time {
        display: flex;
        align-items: baseline;
        flex-wrap: wrap;
        gap: 5px 9px;
    }

    .tstep__date b {
        font-size: 21px;
        line-height: 1.4;
    }

    .tstep__date span {
        margin-top: 0;
        font-size: 11px;
    }

    .tstep__rail {
        grid-row: 1 / span 2;
    }

    .tstep__dot {
        width: 11px;
        height: 11px;
        margin-top: 5px;
    }

    .tstep--next .tstep__dot {
        width: 13px;
        height: 13px;
        margin-top: 4px;
    }

    .tstep--last .tstep__dot {
        width: 15px;
        height: 15px;
        margin-top: 3px;
    }

    .tstep__rail::after {
        min-height: 20px;
        margin-top: 10px;
    }

    .tstep__card {
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;

        margin-bottom: 17px;
        padding: 16px;

        border-radius: 10px;
    }

    .tstep__card h3 {
        flex: 0 1 auto;
        width: 100%;
        font-size: 14px;
        line-height: 1.9;
    }

    .tstep--last .tstep__card {
        padding: 18px 17px;
    }

    .tstep--last .tstep__card h3 {
        font-size: 15px;
    }

    .tag {
        padding: 6px 10px;
        font-size: 11px;
    }
}

/* =========================================
   Small Mobile
========================================= */

@media (max-width: 380px) {
    .tstep {
        grid-template-columns: 15px minmax(0, 1fr);
        column-gap: 10px;
    }

    .tstep__card {
        padding: 13px;
    }

    .tstep--last .tstep__card {
        padding: 15px;
    }

    .tstep__date b {
        font-size: 19px;
    }

    .tstep__date span {
        font-size: 10px;
    }
}

/* =========================================
   Reduced Motion
========================================= */

@media (prefers-reduced-motion: reduce) {
    .tstep__card,
    .tstep__dot,
    .tstep__date b {
        transition: none;
    }
}