/* Live Updates Component Styles */

.live-updates-feed {
    font-family: inherit;
    margin: 2rem 0;
    text-align: left; /* Default */
}

[dir="rtl"] .live-updates-feed,
body.rtl .live-updates-feed {
    text-align: right;
}

.lu-feed-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 0.5rem;
}

.lu-global-contact {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}
.lu-global-contact a {
    margin-inline-start: 1rem;
    color: #b02a2a;
    text-decoration: none;
    font-weight: 600;
}
.lu-global-contact a:hover {
    text-decoration: underline;
}

.lu-timeline {
    position: relative;
    padding-inline-start: 1.5rem;
    border-inline-start: 2px solid #dee2e6;
}

.lu-item {
    position: relative;
    margin-bottom: 2rem;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.lu-item::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: -1.5rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #dee2e6;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px #dee2e6;
    transform: translateX(-50%);
}

/* RTL Support for the timeline node */
[dir="rtl"] .lu-timeline {
    padding-inline-start: 1.5rem;
    border-inline-start: 2px solid #dee2e6;
    border-inline-end: 0;
}

[dir="rtl"] .lu-timeline .lu-item::before,
body.rtl .lu-timeline .lu-item::before {
    left: auto;
    right: -1.5rem;
    transform: translateX(50%);
}

[dir="rtl"] .lu-item-meta,
body.rtl .lu-item-meta {
    flex-direction: row;
}

[dir="rtl"] .lu-item-footer,
body.rtl .lu-item-footer {
    flex-direction: row;
}

.lu-item.type-urgent::before {
    background: #dc3545;
    box-shadow: 0 0 0 2px #dc3545;
}
.lu-item.type-notice::before {
    background: #ffc107;
    box-shadow: 0 0 0 2px #ffc107;
}
.lu-item.type-routine::before {
    background: #0d6efd;
    box-shadow: 0 0 0 2px #0d6efd;
}
.lu-item.type-announcement::before {
    background: #6f42c1;
    box-shadow: 0 0 0 2px #6f42c1;
}

.lu-item-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.lu-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: #fff;
    letter-spacing: 0.5px;
}
.type-urgent .lu-badge { background: #dc3545; }
.type-notice .lu-badge { background: #ffc107; color: #000; }
.type-routine .lu-badge { background: #0d6efd; }
.type-announcement .lu-badge { background: #6f42c1; }

.lu-date {
    font-size: 0.85rem;
    color: #6c757d;
}

.lu-item-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.lu-item-summary, .lu-item-content {
    font-size: 1rem;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.lu-item-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f3f5;
    font-size: 0.9rem;
}

.lu-read-more {
    color: #b02a2a;
    font-weight: 600;
    text-decoration: none;
}
.lu-read-more:hover {
    text-decoration: underline;
}

.lu-item-contact {
    color: #6c757d;
}

/* --- Upper Banner Styles --- */
.lu-main-banner {
    background: #b02a2a;
    color: #ffffff;
    text-align: center;
    padding: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1000;
}
.lu-main-banner a {
    color: #fff;
    text-decoration: underline;
    margin-inline-start: 0.5rem;
}
.lu-main-banner a:hover {
    color: #f8f9fa;
}
