/* Timeline container */
.ndlu-timeline {
    border-left: 4px solid #ff2b58; /* primary color for vertical line */
    margin-left: 20px;
    padding-left: 30px;
    position: relative;
}

/* Timeline title */
.ndlu-timeline .ndlu-title {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #cd0026; /* secondary color for title */
    letter-spacing: 0.5px;
}

/* Individual timeline item */
.ndlu-item {
    position: relative;
    margin-bottom: 25px;
    cursor: default;
}

/* Timeline dot */
.ndlu-dot {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #ff2b58, #cd0026);
    border-radius: 50%;
    position: absolute;
    left: -32px;
    top: 5px;
    border: 2px solid #fff;
    box-shadow: 0 0 6px rgba(255,43,88,0.5), 0 0 3px rgba(205,0,38,0.4);
    transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
}

/* Scroll/glow effect (for mobile-friendly reveal) */
.ndlu-dot.reveal-glow.active {
    filter: drop-shadow(0 0 10px rgba(255,43,88,0.7)) drop-shadow(0 0 6px rgba(205,0,38,0.6));
    transform: scale(1.3);
}

/* Pulse animation for latest dot */
@keyframes ndlu-pulse {
    0% { transform: scale(1); opacity: 0.7; filter: drop-shadow(0 0 6px rgba(255,43,88,0.5)) drop-shadow(0 0 3px rgba(205,0,38,0.4)); }
    50% { transform: scale(1.5); opacity: 1; filter: drop-shadow(0 0 14px rgba(255,43,88,0.7)) drop-shadow(0 0 8px rgba(205,0,38,0.6)); }
    100% { transform: scale(1); opacity: 0.7; filter: drop-shadow(0 0 6px rgba(255,43,88,0.5)) drop-shadow(0 0 3px rgba(205,0,38,0.4)); }
}

.ndlu-dot.pulse {
    animation: ndlu-pulse 2s infinite;
}

/* Card styling */
.ndlu-card {
    background: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    border-left: 4px solid #cd0026;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

/* Card tap/active effect for mobile */
.ndlu-card:active {
    transform: translateX(5px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

/* Datetime */
.ndlu-datetime {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 6px;
}

/* Heading */
.ndlu-heading {
    font-weight: 700;
    margin-bottom: 6px;
    color: #ff2b58; /* primary color */
}

/* Content */
.ndlu-content {
    margin-bottom: 6px;
    color: #333;
    line-height: 1.5;
}

/* Images */
.ndlu-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: 8px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .ndlu-timeline {
        border-left-width: 3px;
        padding-left: 20px;
        margin-left: 15px;
    }
    .ndlu-dot {
        left: -26px;
        width: 14px;
        height: 14px;
    }
    .ndlu-card {
        padding: 10px 14px;
    }
    .ndlu-timeline .ndlu-title {
        font-size: 1.25em;
    }
}


.ndlu-live-badge {
    display: inline-block;
    background: #ff0033;
    color: #fff;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 1px;
    margin-bottom: 12px;
    animation: ndlu-blink 1.4s infinite ease-in-out;
}

@keyframes ndlu-blink {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}


/* LIVE update box */
.ndlu-live-box {
    position: relative;
    border-left: 4px solid #ff2b58 !important;
    background: #fff7f9;
}

/* Time in top-right */
.ndlu-live-box .ndlu-time-ago {
    position: absolute;
    right: 12px;
    top: 10px;
    font-size: 0.8em;
    color: #444;
    font-weight: 600;
}

/* Larger LIVE badge (fixed) */
.ndlu-live-floating {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #ff2b58;
    color: #fff;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(255, 43, 88, 0.4);
    animation: liveBlink 1.5s infinite;
    cursor: pointer;
}

@keyframes liveBlink {
    0% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); opacity: 0.9; }
}
/* WhatsApp share button inside latest update box */
.ndlu-wa-share {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: #25D366;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    padding: 0;
}

.ndlu-wa-share img {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

.ndlu-wa-share:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}
