/* ============================================================
   Taj Story Timeline Widget — Front-end Styles
   ============================================================ */

/* ---------- Wrapper ---------- */
.taj-tl-wrapper {
    background-color: #111111;
    width: 100%;
    box-sizing: border-box;
}

/* ---------- Grid ---------- */
.taj-tl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 80px;
    width: 100%;
}

/* ---------- Cell ---------- */
.taj-tl-cell {
    display: flex;
    align-items: flex-start;
    position: relative;
    min-height: 120px;
}

/* Left cell: card then dot */
.taj-tl-cell--left {
    flex-direction: row;
    justify-content: flex-start;
}

/* Right cell: dot then card */
.taj-tl-cell--right {
    flex-direction: row;
    justify-content: flex-start;
}

/* ---------- Card ---------- */
.taj-tl-card {
    flex: 1;
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 28px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* ---------- Dot Wrap ---------- */
.taj-tl-dot-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    position: relative;
    align-self: center;
}

/* ---------- Dot ---------- */
.taj-tl-dot {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #c8102e;
    flex-shrink: 0;
}

.taj-tl-dot.glow {
    box-shadow: 0 0 10px 3px rgba(200, 16, 46, 0.5);
}

/* ---------- Label ---------- */
.taj-tl-label {
    display: block;
    color: #c8102e;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* ---------- Heading ---------- */
.taj-tl-heading {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    padding: 0;
    line-height: 1.2;
}

/* ---------- Description ---------- */
.taj-tl-desc {
    color: #aaaaaa;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .taj-tl-grid {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

    .taj-tl-cell--left,
    .taj-tl-cell--right {
        flex-direction: column;
    }

    .taj-tl-dot-wrap {
        width: 100%;
        height: 30px;
        order: -1;
    }

    .taj-tl-cell--right .taj-tl-dot-wrap {
        order: -1;
    }
}
