/* =============================================
   BFLEX TIMELINE  v3.0.0
   - Inter font
   - Centre vertical line
   - Alternating: image-left/text-right, text-left/image-right
   - Gold dot on centre line
   - Bullet points with • prefix
============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ── Outer wrapper ── */
.bflex-timeline {
    font-family: 'Inter', sans-serif;
    max-width: 900px;
    margin: 60px auto;
    padding: 0 24px;
    position: relative;
}

/* ── Centre vertical line ── */
.bflex-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1.5px;
    background: #d0d0d0;
    transform: translateX(-50%);
    z-index: 0;
}

/* ── Each row ── */
.bflex-timeline .tl-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 80px;
    position: relative;
    gap: 0;
}

/* ── Left column (50%) ── */
.bflex-timeline .tl-left {
    width: 50%;
    padding-right: 52px;
    box-sizing: border-box;
}

/* ── Right column (50%) ── */
.bflex-timeline .tl-right {
    width: 50%;
    padding-left: 52px;
    box-sizing: border-box;
}

/* ── Left column when it holds TEXT (era 2) ── */
.bflex-timeline .tl-left--text {
    text-align: left;
}

/* ── Dot column (zero width, just positions the dot) ── */
.bflex-timeline .tl-dot-wrap {
    position: absolute;
    left: 50%;
    top: 12px;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Gold dot ── */
.bflex-timeline .tl-dot {
    display: block;
    width: 14px;
    height: 14px;
    background: #c8a96e;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px #c8a96e;
    flex-shrink: 0;
}

/* ── Image wrapper ── */
.bflex-timeline .tl-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
    background: #f0ece5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 12px;
    font-style: italic;
    border: 2px dashed #ddd6cc;
}

.bflex-timeline .tl-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

/* ── Heading ── */
.bflex-timeline .tl-heading {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0 0 5px 0;
}

/* ── Subtitle ── */
.bflex-timeline .tl-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 400;
    color: #888;
    font-style: italic;
    display: block;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

/* ── Bullet list ── */
.bflex-timeline .tl-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bflex-timeline .tl-points li {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #2a2a2a;
    line-height: 1.65;
    margin-bottom: 10px;
    padding-left: 14px;
    position: relative;
}

.bflex-timeline .tl-points li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.65;
}

.bflex-timeline .tl-points li:last-child {
    margin-bottom: 0;
}

.bflex-timeline .tl-points li strong {
    font-weight: 700;
    color: #1a1a1a;
}

/* =============================================
   RESPONSIVE – mobile single column
============================================= */
@media (max-width: 640px) {

    .bflex-timeline::before {
        left: 16px;
        transform: none;
    }

    .bflex-timeline .tl-item {
        flex-direction: column;
        padding-left: 38px;
        margin-bottom: 50px;
    }

    .bflex-timeline .tl-dot-wrap {
        left: 16px;
        top: 4px;
        transform: none;
    }

    .bflex-timeline .tl-left,
    .bflex-timeline .tl-right {
        width: 100%;
        padding: 0;
    }

    .bflex-timeline .tl-left {
        margin-bottom: 16px;
    }

    /* On mobile, era 2 shows image above text */
    .bflex-timeline .tl-item:nth-child(2) .tl-left--text {
        order: 2;
    }
    .bflex-timeline .tl-item:nth-child(2) .tl-right {
        order: 1;
        margin-bottom: 16px;
    }
}
