.l24h-widget {
    direction: rtl;
    text-align: right;
    font-family: "Tahoma", "Segoe UI", Arial, sans-serif;
    max-width: 360px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 14px 16px;
    box-sizing: border-box;
}

/* En-tête : titre à droite, indicateur live à côté */
.l24h-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.l24h-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

/* Indicateur "live" en #b55e34 */
.l24h-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #b55e34;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.l24h-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #b55e34;
    box-shadow: 0 0 0 0 rgba(181, 94, 52, 0.6);
    animation: l24h-pulse 1.4s infinite;
}

@keyframes l24h-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(181, 94, 52, 0.6); }
    70%  { box-shadow: 0 0 0 7px rgba(181, 94, 52, 0); }
    100% { box-shadow: 0 0 0 0 rgba(181, 94, 52, 0); }
}

/* Ligne horizontale grise avec partie bleue à droite */
.l24h-bar {
    position: relative;
    height: 2px;
    background: #e0e0e0;
    margin: 8px 0 12px;
}

.l24h-bar-blue {
    position: absolute;
    top: 0;
    right: 0;
    width: 55px;
    height: 2px;
    background: #1a73e8;
}

/* Liste des articles */
.l24h-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.l24h-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #f2f2f2;
}

.l24h-item:last-child {
    border-bottom: none;
}

/* Heure en bleu */
.l24h-time {
    flex: 0 0 auto;
    color: #1a73e8;
    font-size: 13px;
    font-weight: 700;
    direction: ltr;
    min-width: 42px;
    text-align: left;
    padding-top: 2px;
}

/* Titre de l'article */
.l24h-link {
    flex: 1 1 auto;
    color: #222;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
    transition: color 0.15s ease;
}

.l24h-link:hover {
    color: #1a73e8;
}

.l24h-empty {
    margin: 0;
    color: #888;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 480px) {
    .l24h-widget {
        max-width: 100%;
    }
    .l24h-link {
        font-size: 14px;
    }
}

/* Respecte la préférence de réduction d'animation */
@media (prefers-reduced-motion: reduce) {
    .l24h-live-dot {
        animation: none;
    }
}
