/*
 * أخبار الكلية داخل القالب الموحّد للكلية (ucx)
 * الهيدر والفوتر وشريط العنوان من قالب الكلية؛ هنا نخفي العناصر المكررة من صفحة الأخبار القديمة
 * ونوحّد ألوانها بلون الكلية (--ucx-c).
 */
#uwPageTop.ucx .uw-news-in-ucx {
    --uw-primary: var(--ucx-c, #0b8793);
    --bs-primary: var(--ucx-c, #0b8793);
    --bs-link-color: var(--ucx-c-deep, var(--ucx-c, #075e67));
    background: transparent !important;
}

/* عناصر مكررة: المسار وهوية الكلية وعنوان الأرشيف موجودة في رأس قالب الكلية */
#uwPageTop.ucx .uw-news-in-ucx :is(.uw-news-breadcrumb, .uw-news-college-identity, .uw-news-archive-title-block, .uw-news-details-breadcrumb, .uw-news-details-college-identity) {
    display: none !important;
}
#uwPageTop.ucx .uw-news-in-ucx .uw-news-archive-heading:empty,
#uwPageTop.ucx .uw-news-in-ucx .uw-news-archive-heading:not(:has(> :not(.uw-news-college-identity):not(.uw-news-archive-title-block))) { display: none !important; }
#uwPageTop.ucx .uw-news-in-ucx .uw-news-archive-header {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    padding-top: 0 !important;
    min-height: 0 !important;
}
#uwPageTop.ucx .uw-news-in-ucx .uw-news-archive-header::before,
#uwPageTop.ucx .uw-news-in-ucx .uw-news-archive-header::after { display: none !important; }
#uwPageTop.ucx .uw-news-in-ucx .uw-news-archive-shell { padding-top: 24px; }

/* لون الكلية بدل الأزرق العام */
#uwPageTop.ucx .uw-news-in-ucx :is(.btn-primary, .uw-btn-primary, .page-item.active .page-link, .uw-news-pagination a.active, [aria-current="page"].page-link) {
    background: var(--ucx-c, #0b8793) !important;
    border-color: var(--ucx-c, #0b8793) !important;
    color: #fff !important;
    background-image: none !important;
}
#uwPageTop.ucx .uw-news-in-ucx :is(.btn-outline-primary, .uw-btn-soft) {
    color: var(--ucx-c, #0b8793) !important;
    border-color: var(--ucx-c, #0b8793) !important;
    background: transparent !important;
}
#uwPageTop.ucx .uw-news-in-ucx :is(.btn-outline-primary, .uw-btn-soft):hover { background: var(--ucx-c, #0b8793) !important; color: #fff !important; }
#uwPageTop.ucx .uw-news-in-ucx a:not([class]) { color: var(--ucx-c-deep, var(--ucx-c, #075e67)); }
#uwPageTop.ucx .uw-news-in-ucx :is(.uw-news-archive-meta i, .uw-page-kicker, .uw-page-kicker i) { color: var(--ucx-c, #0b8793) !important; }
#uwPageTop.ucx .uw-news-in-ucx .uw-news-details-college-bar { justify-content: flex-end; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; }
#uwPageTop.ucx .uw-news-in-ucx .uw-news-details-back { color: var(--ucx-c, #0b8793) !important; border-color: color-mix(in srgb, var(--ucx-c, #0b8793) 35%, #fff) !important; }
#uwPageTop.ucx .uw-news-in-ucx::before,
#uwPageTop.ucx .uw-news-in-ucx::after { display: none !important; }
#uwPageTop.ucx .uw-news-in-ucx .uw-news-archive-kicker { color: var(--ucx-c, #0b8793) !important; }
