/* Архив новостей /news/ — карточки (разметка: GetBodyContentNews в core/page/page.front.index.php).
   Календарик даты — в news-calendar.css. */

#content .nws {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #3d4a5c;
}
/* в стилях сайта «body, p, td, div… {font:12px Tahoma; color:#444}» и «a {font:12px Tahoma}»
   бьют каждый элемент напрямую — внутри архива возвращаем наследование */
#content .nws div,
#content .nws p,
#content .nws td,
#content .nws li,
#content .nws a {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
#content .nws div,
#content .nws p,
#content .nws td { color: inherit; }

#content .nws .nws-sub {
    margin: -12px 0 18px;
    font-size: 14px;
    color: #6b7788;
}

/* листалка: «Страница:» прячем (номер есть в подзаголовке), ссылки — круглыми кнопками */
#content .nws .pager {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 12px;           /* без gap: спрятанная «Страница:» — пустой элемент ряда, gap дал бы отступ слева */
    padding: 0;
    font-size: 0;
    background: none;
    border: 0;
}
#content .nws .pager a,
#content .nws .pager b {
    display: inline-block;
    box-sizing: border-box;
    min-width: 34px;
    height: 34px;
    margin: 0 6px 6px 0;
    padding: 0 12px;
    border: 1px solid #dde5ef;
    border-radius: 999px;
    background: #fff;
    color: #014090;
    font: 600 13px/32px "Segoe UI", Roboto, Arial, sans-serif;
    text-align: center;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease;
}
#content .nws .pager a:hover { background: #eef5fd; border-color: #b9cfe9; }
#content .nws .pager b { background: #014090; border-color: #014090; color: #fff; }
#content .nws .pager-bottom { margin: 22px 0 8px; }

/* карточка новости */
#content .nws .nws-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 0 0 12px;
    padding: 18px 22px;
    border: 1px solid #dde5ef;
    border-radius: 14px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
#content .nws .nws-item:hover { border-color: #c9d9ee; box-shadow: 0 12px 26px -20px rgba(1, 64, 144, .6); }
#content .nws .nws-date { flex: 0 0 auto; }
#content .nws .nws-body {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #2b3440;
}
#content .nws .nws-body p { margin: 0 0 8px; padding: 0; }
#content .nws .nws-body h3 {
    margin: 4px 0 6px;
    padding: 0;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.35;
}
#content .nws .nws-body a { color: #0a6ebd; }
#content .nws .nws-body img { max-width: 100%; height: auto; border-radius: 8px; }
