﻿
.live-story-timeline-wrap {
    position: relative;
}

.live-story-item-row {
    display: flex;
    position: relative;
    padding-bottom: 25px;
}

.timeline-line-indicator {
    width: 40px;
    min-width: 40px;
    position: relative;
    display: flex;
    justify-content: center;
}

    /* Dotted Timeline Line */
    .timeline-line-indicator:before {
        background-image: linear-gradient(to bottom, #bebebe 50%, transparent 50%);
        background-repeat: repeat-y;
        background-size: 1px 10px;
        bottom: -25px;
        content: "";
        left: 18px;
        position: absolute;
        top: 28px;
        width: 1px;
    }


/* Last item tak line */
.live-story-item-row:last-child .timeline-line-indicator:before {
    bottom: 0;
}

/* Static Red Dot */
.live-dot-pulse {
    width: 14px;
    height: 14px;
    background: #fff;
    border: 3px solid #ff0000;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    margin-top: 5px;
}

    /* Animation remove */
    .live-dot-pulse:after {
        display: none;
    }

.live-head-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .live-head-wrap h2 {
        margin: 0;
    }

.live-badgestory {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #f44336;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 10px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #f44336;
    border-radius: 50%;
    animation: liveBlink 1s infinite;
}

@keyframes liveBlink {
    0%,100% {
        opacity: 1;
    }

    50% {
        opacity: .2;
    }
}
/* Main Container - Ab isme koi background nahi hai */
.live-badge {
    position: absolute;
    top: 6px;
    left: 23px;
    /*z-index: 9999;*/
    display: inline-flex;
    align-items: center;
    gap: 6px; /* Dot aur Red text ke beech ka gap */
}

    /* 🔥 Dot - Iska apna koi background container nahi hai, ye khula chalega */
    .live-badge .live-dot {
        width: 10px;
        height: 10px;
        background-color: #ff0000 !important; /* Pure Red Dot */
        border-radius: 50%;
        flex-shrink: 0;
        display: inline-block;
        animation: liveBlink 1s infinite ease-in-out;
    }

/* 1. Main badge jisme background hoga */
.live-badge {
    position: absolute;
    top: 6px;
    left: 23px;
    /*z-index: 9999;*/
    background: #f44336;
    color: #fff;
    padding: 2px 8px 0px 8px; /* Right side mein jagah banayi taaki dot fit ho sake */
    border-radius: 4px;
    font-size: 15px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
} 
 .live-badge .live-dot {
        position: absolute;
        left: -15px; 
        top: 50%;
        transform: translateY(-50%);
        width: 10px;
        height: 10px;
        background: #f44336 !important;
        border-radius: 50%;
        /* Animation */
        animation: liveBlink 1s infinite;
    }

@keyframes liveBlink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.storypagetag {
    background: #f44336;
    color: #fff;
    font-size: 19px;
    padding: 3px 6px 0px 6px;
    line-height: 1;
    border-radius: 4px;
    font-weight: 600;
    z-index: 99;
    margin-right: 10px;
}

.splstoryhead {
    font-size: 28px;
}

@media (max-width: 768px) {
    .splstoryhead {
        line-height: 1.4;
    }
}
