/**
 * Live Coverage - Public Styles v2.0
 * تصميم احترافي عصري متفوق
 */

/* === الحاوية الرئيسية === */
.lc-coverage-container {
    max-width: 100%;
    margin: 30px 0;
    font-family: 'Tajawal', 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    direction: rtl;
    text-align: right;
    background: #fafbfc;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* === الترويسة المحسّنة === */
.lc-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: #fff;
    padding: 32px 30px 28px;
    position: relative;
    overflow: hidden;
}

.lc-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.lc-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #ef4444 100%);
    background-size: 200% 100%;
    animation: lc-gradient-flow 3s linear infinite;
}

@keyframes lc-gradient-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.lc-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    animation: lc-pulse-shadow 2s infinite;
    position: relative;
    z-index: 2;
}

@keyframes lc-pulse-shadow {
    0%, 100% { box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(239, 68, 68, 0.7); }
}

.lc-live-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: lc-blink 1.2s infinite;
}

@keyframes lc-blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.lc-ended-badge {
    display: inline-block;
    background: rgba(100, 116, 139, 0.3);
    color: #cbd5e1;
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
    border: 1px solid rgba(203, 213, 225, 0.2);
}

.lc-title {
    font-size: 30px;
    font-weight: 800;
    margin: 12px 0;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

.lc-description {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.lc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 13px;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
    position: relative;
    z-index: 2;
}

.lc-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lc-meta .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #ef4444;
}

/* === صندوق الملخص الراقي === */
.lc-summary-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: none;
    padding: 22px 26px;
    margin: 0;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.lc-summary-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom, #f59e0b, #d97706);
}

.lc-summary-header {
    font-weight: 800;
    color: #92400e;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.lc-summary-header::before {
    content: '⚡';
    font-size: 18px;
}

.lc-summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lc-summary-list li {
    padding: 10px 0;
    border-bottom: 1px dashed rgba(146, 64, 14, 0.2);
    position: relative;
    padding-right: 22px;
    transition: all 0.3s;
}

.lc-summary-list li:hover {
    padding-right: 28px;
}

.lc-summary-list li::before {
    content: "▸";
    color: #d97706;
    position: absolute;
    right: 0;
    font-size: 14px;
    top: 12px;
    font-weight: bold;
    transition: all 0.3s;
}

.lc-summary-list li:hover::before {
    color: #f59e0b;
    right: 4px;
}

.lc-summary-list li:last-child {
    border-bottom: none;
}

.lc-summary-list a {
    color: #78350f;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 14px;
}

.lc-summary-list a:hover {
    color: #ef4444;
}

/* === مؤشر التحديث التلقائي === */
.lc-auto-refresh-indicator {
    background: linear-gradient(90deg, #f0fdf4 0%, #dcfce7 50%, #f0fdf4 100%);
    color: #166534;
    padding: 12px 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-bottom: 1px solid #bbf7d0;
}

.lc-refresh-dot {
    width: 9px;
    height: 9px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: lc-ripple 2s infinite;
}

@keyframes lc-ripple {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* === قائمة التحديثات مع الخط الزمني === */
.lc-updates-list {
    background: #fff;
    padding: 30px 25px;
    position: relative;
}

/* الخط الزمني الرأسي */
.lc-updates-list::before {
    content: '';
    position: absolute;
    top: 30px;
    bottom: 30px;
    right: 47px;
    width: 2px;
    background: linear-gradient(to bottom, 
        #e5e7eb 0%, 
        #d1d5db 50%, 
        #e5e7eb 100%);
}

/* === التحديث الواحد === */
.lc-update {
    padding: 0 0 30px 0;
    margin-right: 60px;
    position: relative;
    animation: lc-slide-in 0.6s ease-out;
}

.lc-update:last-child {
    padding-bottom: 0;
}

/* النقطة على الخط الزمني */
.lc-update::before {
    content: '';
    position: absolute;
    right: -23px;
    top: 8px;
    width: 14px;
    height: 14px;
    background: #fff;
    border: 3px solid #94a3b8;
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s;
    box-shadow: 0 0 0 4px #fff;
}

.lc-update:hover::before {
    transform: scale(1.2);
    border-color: #475569;
}

/* تنسيق التحديثات العاجلة */
.lc-update.lc-breaking::before {
    background: #ef4444;
    border-color: #dc2626;
    box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(239, 68, 68, 0.3);
    animation: lc-breaking-pulse 1.5s infinite;
}

@keyframes lc-breaking-pulse {
    0%, 100% { box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(239, 68, 68, 0.3); }
    50% { box-shadow: 0 0 0 4px #fff, 0 0 0 10px rgba(239, 68, 68, 0.5); }
}

.lc-update.lc-pinned::before {
    background: #f59e0b;
    border-color: #d97706;
    box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(245, 158, 11, 0.3);
}

@keyframes lc-slide-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Meta التحديث === */
.lc-update-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #64748b;
    flex-wrap: wrap;
}

.lc-update-time {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #fff;
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.lc-update-time .dashicons {
    color: #fbbf24;
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.lc-update-date {
    color: #94a3b8;
    font-size: 12px;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
}

.lc-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.lc-breaking-badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    animation: lc-breaking-badge-pulse 2s infinite;
}

@keyframes lc-breaking-badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.lc-pinned-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.lc-update-meta .dashicons {
    font-size: 13px;
    width: 13px;
    height: 13px;
}

/* === محتوى التحديث === */
.lc-update-body {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 22px;
    transition: all 0.3s;
    position: relative;
}

.lc-update-body:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* تنسيق العاجل */
.lc-update.lc-breaking .lc-update-body {
    background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
    border-color: #fecaca;
    border-right: 4px solid #ef4444;
}

/* تنسيق المثبت */
.lc-update.lc-pinned .lc-update-body {
    background: linear-gradient(135deg, #fffbeb 0%, #fff 100%);
    border-color: #fde68a;
    border-right: 4px solid #f59e0b;
}

.lc-update.lc-pinned.lc-breaking .lc-update-body {
    background: linear-gradient(135deg, #fef2f2 0%, #fffbeb 50%, #fff 100%);
    border-right: 4px solid #ef4444;
}

/* === العنوان === */
.lc-update-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 14px;
    color: #0f172a;
    line-height: 1.4;
    letter-spacing: -0.3px;
}

/* === المحتوى === */
.lc-update-content {
    color: #334155;
    line-height: 1.9;
    font-size: 16px;
}

.lc-update-content p {
    margin: 0 0 14px;
}

.lc-update-content p:last-child {
    margin-bottom: 0;
}

/* === Bullet Points احترافية === */
.lc-update-content ul,
.lc-update-content ol {
    margin: 14px 0;
    padding-right: 0;
    list-style: none;
}

.lc-update-content ul li,
.lc-update-content ol li {
    position: relative;
    padding-right: 28px;
    margin-bottom: 12px;
    line-height: 1.8;
    color: #334155;
}

/* تصميم بولت احترافي */
.lc-update-content ul li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.lc-update-content ul li::after {
    content: '';
    position: absolute;
    right: 3px;
    top: 19px;
    width: 2px;
    height: calc(100% - 14px);
    background: linear-gradient(to bottom, rgba(239, 68, 68, 0.3), transparent);
}

.lc-update-content ul li:last-child::after {
    display: none;
}

/* أرقام للقوائم المرقمة */
.lc-update-content ol {
    counter-reset: lc-counter;
}

.lc-update-content ol li {
    counter-increment: lc-counter;
}

.lc-update-content ol li::before {
    content: counter(lc-counter);
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    top: 6px;
    right: -2px;
    box-shadow: 0 2px 6px rgba(30, 41, 59, 0.3);
}

/* للأخبار العاجلة - بولت أحمر أكثر بروزاً */
.lc-update.lc-breaking .lc-update-content ul li::before {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
    width: 9px;
    height: 9px;
}

/* للمثبتة - بولت برتقالي */
.lc-update.lc-pinned .lc-update-content ul li::before {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
}

/* === تنسيق Bold و Italic === */
.lc-update-content strong {
    color: #0f172a;
    font-weight: 700;
}

.lc-update-content em {
    color: #475569;
    font-style: italic;
}

/* === الصور والفيديوهات === */
.lc-update-image {
    margin: 16px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.lc-update-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.lc-update-image img {
    width: 100%;
    height: auto;
    display: block;
}

.lc-update-video {
    margin: 16px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.lc-update-video iframe,
.lc-update-video video {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.lc-update-tweet {
    margin: 16px 0;
}

/* === الاقتباس === */
.lc-update-quote {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-right: 4px solid #1e293b;
    padding: 18px 22px;
    margin: 16px 0;
    font-style: italic;
    color: #334155;
    border-radius: 0 12px 12px 0;
    font-size: 17px;
    line-height: 1.8;
    position: relative;
}

.lc-update-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 15px;
    font-size: 50px;
    color: rgba(30, 41, 59, 0.15);
    font-family: serif;
    line-height: 1;
}

/* === رابط المشاركة === */
.lc-update-share {
    margin-top: 14px;
    text-align: left;
    display: flex;
    gap: 8px;
    justify-content: flex-start;
}

.lc-share-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f5f9;
}

.lc-share-link:hover {
    color: #fff;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* === حالات خاصة === */
.lc-no-updates,
.lc-error {
    text-align: center;
    padding: 50px 20px;
    color: #94a3b8;
    font-size: 16px;
}

.lc-error {
    color: #dc2626;
    background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
    border-radius: 12px;
    border: 1px solid #fecaca;
    margin: 20px;
}

/* === توهج للتحديث الجديد === */
.lc-update.lc-new-update .lc-update-body {
    animation: lc-highlight 3s ease-out;
}

@keyframes lc-highlight {
    0% {
        background: #fef9c3;
        box-shadow: 0 0 0 4px #fde047, 0 8px 24px rgba(253, 224, 71, 0.4);
        transform: scale(1.02);
    }
    100% {
        background: #fff;
        box-shadow: none;
        transform: scale(1);
    }
}

/* === متجاوب === */
@media (max-width: 768px) {
    .lc-coverage-container {
        margin: 15px 0;
        border-radius: 12px;
    }
    
    .lc-title {
        font-size: 22px;
    }
    
    .lc-header {
        padding: 22px 18px;
    }
    
    .lc-updates-list {
        padding: 20px 15px;
    }
    
    .lc-updates-list::before {
        right: 22px;
    }
    
    .lc-update {
        margin-right: 35px;
    }
    
    .lc-update::before {
        right: -19px;
        width: 12px;
        height: 12px;
    }
    
    .lc-update-body {
        padding: 16px 18px;
    }
    
    .lc-update-title {
        font-size: 17px;
    }
    
    .lc-update-content {
        font-size: 15px;
    }
    
    .lc-meta {
        font-size: 12px;
        gap: 12px;
    }
    
    .lc-update-meta {
        gap: 8px;
    }
    
    .lc-update-content ul li,
    .lc-update-content ol li {
        padding-right: 22px;
    }
}

/* === توافق مع Dark Mode === */
.tie-dark-mode .lc-coverage-container,
body.dark-mode .lc-coverage-container {
    background: #0f172a;
}

.tie-dark-mode .lc-updates-list,
body.dark-mode .lc-updates-list {
    background: #0f172a;
}

.tie-dark-mode .lc-update-body,
body.dark-mode .lc-update-body {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

.tie-dark-mode .lc-update-title,
body.dark-mode .lc-update-title {
    color: #f8fafc;
}

.tie-dark-mode .lc-update-content,
body.dark-mode .lc-update-content {
    color: #cbd5e1;
}

.tie-dark-mode .lc-update::before,
body.dark-mode .lc-update::before {
    box-shadow: 0 0 0 4px #0f172a;
}

.tie-dark-mode .lc-summary-box,
body.dark-mode .lc-summary-box {
    background: linear-gradient(135deg, #422006 0%, #292524 100%);
    color: #fde68a;
}

.tie-dark-mode .lc-summary-list a,
body.dark-mode .lc-summary-list a {
    color: #fcd34d;
}

/* === زر "اقرأ المزيد" v4.0 === */
.lc-read-more-wrapper {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed #e5e7eb;
}

.lc-update-excerpt {
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
    font-style: italic;
    background: #f8fafc;
    padding: 10px 14px;
    border-radius: 6px;
    border-right: 3px solid #cbd5e1;
}

.lc-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.2);
    position: relative;
    overflow: hidden;
}

.lc-read-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: right 0.6s;
}

.lc-read-more-btn:hover::before {
    right: 100%;
}

.lc-read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 41, 59, 0.35);
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff !important;
}

.lc-read-more-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.lc-read-more-btn:hover .lc-read-more-icon {
    transform: translateX(-5px);
}

/* تصميم مخصص للأخبار العاجلة */
.lc-update.lc-breaking .lc-read-more-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.lc-update.lc-breaking .lc-read-more-btn:hover {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* تصميم مخصص للمثبتة */
.lc-update.lc-pinned .lc-read-more-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.lc-update.lc-pinned .lc-read-more-btn:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* متجاوب */
@media (max-width: 768px) {
    .lc-read-more-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .lc-update-excerpt {
        font-size: 13px;
        padding: 8px 12px;
    }
}

/* ========================================
   بطاقة Timeline - Live Coverage v6.1
   مثل تصميم الجزيرة
   ======================================== */

.lc-card {
    direction: rtl;
    font-family: 'Tajawal', 'Cairo', 'Segoe UI', sans-serif;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    max-width: 100%;
    margin: 20px 0;
    border: 1px solid #e2e8f0;
}

/* ============= الترويسة ============= */
.lc-card-header {
    position: relative;
    display: block;
    text-decoration: none !important;
    color: #fff !important;
    overflow: hidden;
    min-height: 280px;
    background: var(--lc-card-color, #1e3a8a);
}

.lc-card-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.lc-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.lc-card-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.lc-card-overlay {
    position: relative;
    z-index: 2;
    padding: 24px 22px 22px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.lc-card-badges {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.lc-card-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dc2626;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.4);
}

.lc-card-badge-ended {
    background: #64748b;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.lc-card-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: lc-card-pulse 1.5s infinite;
}

@keyframes lc-card-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

.lc-card-type {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.lc-card-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 0 10px !important;
    line-height: 1.4 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.lc-card-summary {
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* ============= الميتا ============= */
.lc-card-meta {
    display: flex;
    gap: 16px;
    padding: 12px 22px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    flex-wrap: wrap;
}

/* ============= التايم لاين ============= */
.lc-card-timeline {
    padding: 18px 22px 8px;
    position: relative;
}

.lc-card-timeline::before {
    content: '';
    position: absolute;
    right: 32px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: linear-gradient(to bottom, var(--lc-card-color, #1e3a8a) 0%, #e2e8f0 100%);
}

.lc-timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    text-decoration: none !important;
    color: inherit !important;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.3s ease;
}

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

.lc-timeline-item:hover {
    background: #f8fafc;
    margin: 0 -10px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 8px;
}

.lc-timeline-dot {
    width: 14px;
    height: 14px;
    background: #fff;
    border: 3px solid var(--lc-card-color, #1e3a8a);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
    z-index: 1;
    position: relative;
    box-shadow: 0 0 0 4px #fff;
}

.lc-timeline-item.is-breaking .lc-timeline-dot {
    background: #dc2626;
    border-color: #dc2626;
    box-shadow: 0 0 0 4px #fff, 0 0 12px rgba(220, 38, 38, 0.6);
    animation: lc-card-pulse 2s infinite;
}

.lc-timeline-content {
    flex: 1;
    min-width: 0;
}

.lc-timeline-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.lc-timeline-time {
    color: #94a3b8;
    font-weight: 700;
}

.lc-timeline-breaking {
    background: #fee2e2;
    color: #dc2626;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 10px;
}

.lc-timeline-pinned {
    background: #fef3c7;
    color: #92400e;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 10px;
}

.lc-timeline-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.6;
}

/* ============= زر CTA ============= */
.lc-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: var(--lc-card-color, #1e3a8a);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800;
    font-size: 14px;
    transition: background 0.3s ease;
}

.lc-card-cta:hover {
    background: #0f172a;
    color: #fff !important;
}

/* ============= متجاوب ============= */
@media (max-width: 600px) {
    .lc-card-title { font-size: 18px !important; }
    .lc-card-summary { font-size: 13px; }
    .lc-card-overlay { padding: 18px 16px 16px; }
    .lc-card-timeline { padding: 14px 16px 4px; }
    .lc-card-timeline::before { right: 24px; }
}

/* ========================================
   Live Coverage Card Widget v6.2
   تصميم Liquid Glass احترافي
   ======================================== */

.lc-card-widget-area {
    margin: 0 0 30px 0;
    direction: rtl;
}

.lc-widget-card {
    font-family: 'Tajawal', 'Cairo', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--lc-grad-start, #991b1b) 0%, var(--lc-grad-end, #dc2626) 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    max-width: 100%;
    position: relative;
}

/* تأثير Liquid Glass - طبقة شفافة */
.lc-widget-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 0%, rgba(255,255,255,0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 100%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ============= ترويسة ============= */
.lc-widget-header {
    position: relative;
    display: block;
    text-decoration: none !important;
    color: #fff !important;
    overflow: hidden;
    min-height: 240px;
    z-index: 1;
}

.lc-widget-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.lc-widget-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0.75;
}

.lc-widget-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--lc-grad-start, #991b1b) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    z-index: 1;
}

.lc-widget-overlay {
    position: relative;
    z-index: 2;
    padding: 22px 20px 20px;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.lc-widget-badges {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.lc-widget-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.95);
    color: #dc2626;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.lc-widget-ended {
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.lc-widget-dot {
    width: 8px;
    height: 8px;
    background: #dc2626;
    border-radius: 50%;
    animation: lc-widget-pulse 1.5s infinite;
}

@keyframes lc-widget-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

.lc-widget-type {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
}

.lc-widget-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 0 10px !important;
    line-height: 1.4 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.lc-widget-summary {
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* ============= الميتا ============= */
.lc-widget-meta {
    display: flex;
    gap: 14px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ============= التايم لاين ============= */
.lc-widget-timeline {
    padding: 14px 20px 6px;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.05);
}

.lc-widget-timeline::before {
    content: '';
    position: absolute;
    right: 28px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: rgba(255, 255, 255, 0.25);
}

.lc-widget-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 11px 0;
    text-decoration: none !important;
    color: inherit !important;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.25s ease;
}

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

.lc-widget-item:hover {
    background: rgba(255, 255, 255, 0.08);
    margin: 0 -8px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 6px;
}

.lc-widget-tdot {
    width: 12px;
    height: 12px;
    background: #fff;
    border: 2px solid var(--lc-grad-end, #dc2626);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
    z-index: 1;
    position: relative;
    box-shadow: 0 0 0 3px var(--lc-grad-end, #dc2626);
}

.lc-widget-item.is-breaking .lc-widget-tdot {
    background: #fbbf24;
    border-color: #fff;
    box-shadow: 0 0 0 3px #fff, 0 0 12px rgba(251, 191, 36, 0.7);
    animation: lc-widget-pulse 2s infinite;
}

.lc-widget-tcontent {
    flex: 1;
    min-width: 0;
}

.lc-widget-tmeta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    margin-bottom: 3px;
    flex-wrap: wrap;
}

.lc-widget-ttime {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
}

.lc-widget-tbreaking {
    background: #fbbf24;
    color: #78350f;
    padding: 2px 7px;
    border-radius: 3px;
    font-weight: 800;
    font-size: 9px;
}

.lc-widget-ttitle {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.55;
}

/* ============= زر CTA ============= */
.lc-widget-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: rgba(0, 0, 0, 0.25);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800;
    font-size: 13px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1;
}

.lc-widget-cta:hover {
    background: rgba(0, 0, 0, 0.45);
    color: #fff !important;
}

.lc-widget-arrow {
    transition: transform 0.3s ease;
}

.lc-widget-cta:hover .lc-widget-arrow {
    transform: translateX(-5px);
}

/* ============= متجاوب ============= */
@media (max-width: 600px) {
    .lc-widget-title { font-size: 17px !important; }
    .lc-widget-summary { font-size: 12px; }
    .lc-widget-overlay { padding: 16px 14px 14px; min-height: 200px; }
    .lc-widget-header { min-height: 200px; }
    .lc-widget-timeline { padding: 10px 14px 4px; }
    .lc-widget-timeline::before { right: 20px; }
    .lc-widget-ttitle { font-size: 13px; }
}
