/* Elementor Timeline Widget v1.0.4 */
/* ============================================================
   Elementor Timeline Widget — timeline.css
   ============================================================ */

/* ── Layout ── */
.etw-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    --etw-circle: 72px;
}

/* Vertical connector line */
.etw-list.etw-has-line::before {
    content: '';
    position: absolute;
    left: calc(var(--etw-circle) / 2);
    top: calc(var(--etw-circle) * 0.9);
    bottom: calc(var(--etw-circle) * 0.9);
    width: 2px;
    background: linear-gradient(to bottom, #B8963E, transparent);
    pointer-events: none;
    z-index: 0;
}

.etw-item {
    display: flex;
    align-items: center;
    gap: 28px;
    position: relative;
    margin-bottom: 32px;
}

.etw-item:last-child {
    margin-bottom: 0;
}

/* ── Bubble ── */
.etw-number {
    flex: 0 0 var(--etw-circle);
    width: var(--etw-circle);
    height: var(--etw-circle);
    border-radius: 50%;
    background-color: #1B2A4A;
    border: 2px solid #B8963E;
    color: #B8963E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 6px rgba(184, 150, 62, 0.15);
    flex-shrink: 0;
    user-select: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.etw-number:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 9px rgba(184, 150, 62, 0.12);
}

/* Arrow chevron pointing from bubble to card */
.etw-number.etw-has-chevron::after {
    content: '';
    position: absolute;
    right: -13px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 11px solid #FFFFFF;
    filter: drop-shadow(-2px 0 2px rgba(27, 42, 74, 0.07));
}

/* ── Card ── */
.etw-card {
    flex: 1;
    background-color: #FFFFFF;
    border-radius: 6px;
    padding: 22px 28px 24px;
    box-shadow: 0 2px 20px rgba(27, 42, 74, 0.08);
    min-width: 0; /* prevent flex overflow */
}

.etw-card-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.etw-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 19px;
    font-weight: 700;
    color: #1B2A4A;
    margin: 0 0 4px;
    line-height: 1.3;
}

.etw-subtitle {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #B8963E;
    white-space: nowrap;
    flex-shrink: 0;
}

.etw-desc {
    font-size: 14.5px;
    line-height: 1.65;
    color: #6B6B6B;
    margin: 0;
}

/* ── Scroll Reveal ── */
@media (prefers-reduced-motion: no-preference) {
    .etw-list.etw-animate .etw-item {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.45s ease, transform 0.45s ease;
    }

    .etw-list.etw-animate .etw-item.etw-visible {
        opacity: 1;
        transform: none;
    }
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .etw-list {
        --etw-circle: 54px;
    }

    .etw-number {
        font-size: 16px;
    }

    .etw-title {
        font-size: 16px;
    }

    .etw-card {
        padding: 16px 18px 18px;
    }

    .etw-item {
        gap: 16px;
    }

    .etw-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .etw-list {
        --etw-circle: 46px;
    }

    .etw-number {
        font-size: 14px;
    }

    .etw-title {
        font-size: 15px;
    }
}
