.ub-news-link {
    position: relative;
    background: #f15a24;
    overflow: visible !important;
}
.ub-news-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #c62828;
    color: #fff;
    font: 800 12px/1 Arial, sans-serif;
}
.ub-news-badge[hidden] { display: none; }
.ub-news-link:focus-visible { outline: 3px solid #172235; outline-offset: 4px; }
.ub-news-date {
    display: block;
    margin-bottom: 6px;
    color: #626b78;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}
.ub-news-card .content { margin: 20px; }
.ub-news-card .ub-news-title {
    margin: 0 0 12px;
    color: #172235;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}
.ub-news-card .ub-news-text {
    margin: 0;
    color: #596371;
    font-size: 15px;
    line-height: 1.65;
}
.theme-dark .ub-news-date { color: #bfc7d1; }
.theme-dark .ub-news-title { color: #fff; }
.theme-dark .ub-news-text { color: #d1d7df; }
