.public-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.news-wrapper {
    max-width: none;
    margin: 0;
    padding: 0 0 80px;
    background: #f7f9fc;
}

.news-page-head {
    display: block;
    margin: 0 0 48px;
    padding: 68px 0 54px;
    border: 0;
    border-bottom: 1px solid #e3e9f1;
    border-radius: 0;
    background: #ffffff;
}

.news-page-head-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
}

.news-page-head h1 {
    max-width: 760px;
    margin: 0;
    color: var(--public-heading);
    font-size: 44px;
    font-weight: 780;
    line-height: 1.08;
}

.news-page-lead {
    max-width: 650px;
    margin: 18px 0 0;
    color: var(--public-muted);
    font-size: 17px;
    line-height: 1.6;
}

.news-toolbar {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.news-tabs {
    display: inline-flex;
    gap: 3px;
    padding: 4px;
    border: 1px solid #d8e0ea;
    border-radius: 7px;
    background: #f4f7fb;
}

.news-filter-btn {
    min-height: 34px;
    padding: 0 11px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #475467;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
}

.news-filter-btn:hover,
.news-filter-btn:focus-visible,
.news-filter-btn.active {
    background: #ffffff;
    color: #123f8c;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .08);
}

.news-search {
    position: relative;
    display: inline-flex;
    width: 230px;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid #d0d9e5;
    border-radius: 7px;
    background: #ffffff;
    color: #667085;
}

.news-search:focus-within { border-color: #7da8e8; box-shadow: 0 0 0 3px rgba(23, 92, 211, .12); }
.news-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--public-heading); font: inherit; font-size: 13px; }

.news-feed,
.news-pagination,
.news-empty-filter,
.news-wrapper > .btn-back {
    width: min(1180px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

.news-list .news-feed { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.news-item-compact {
    display: flex;
    min-height: 260px;
    flex-direction: column;
    margin: 0;
    padding: 26px;
    border: 1px solid var(--public-border);
    border-left: 1px solid var(--public-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(16, 24, 40, .03);
}

.news-item-compact:hover { border-color: #aebed1; box-shadow: 0 10px 24px rgba(16, 24, 40, .08); transform: translateY(-1px); }
.news-item-compact.news-unread { border-color: #91b6eb; background: #fbfdff; }
.news-item-compact.news-important,
.news-item-compact.news-urgent { border-left: 1px solid var(--public-border); }

.news-feed .news-item-compact:first-child {
    grid-column: 1 / -1;
    min-height: 0;
    padding: 32px;
    border-color: #b8cff0;
    background: #eef5ff;
}

.news-card-kicker { margin-bottom: 14px; }
.news-type-pill,
.badge { border-radius: 5px; }
.news-compact-header h4 { margin: 0 0 12px; color: var(--public-heading); font-size: 21px; line-height: 1.3; }
.news-feed .news-item-compact:first-child .news-compact-header h4 { max-width: 850px; font-size: 27px; }
.news-compact-header h4 a { color: inherit; }
.news-compact-header h4 a:hover,
.news-compact-header h4 a:focus-visible { color: var(--public-accent); }
.news-compact-meta,
.news-meta { gap: 14px; color: #667085; font-size: 12px; }
.news-compact-preview { margin: 12px 0 0; color: #405166; font-size: 14px; line-height: 1.65; }
.news-feed .news-item-compact:first-child .news-compact-preview { max-width: 850px; font-size: 15px; }
.news-compact-footer { margin-top: auto; padding-top: 18px; border-top: 1px solid #e4e9f0; }

.btn-read-more,
.btn-back,
.btn-primary,
.reaction-btn {
    border: 1px solid #b8c6d8;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: none;
    color: #174d91;
    text-shadow: none;
}

.btn-read-more { padding: 8px 12px; font-size: 12px; font-weight: 750; }
.btn-read-more:hover,
.btn-back:hover,
.btn-primary:hover,
.reaction-btn:hover { border-color: #7da8e8; background: #f6f9fe; color: #123f8c; transform: none; }
.reaction-btn.active { border-color: #7da8e8; background: #eaf2ff; color: #123f8c; }

.news-detail .news-page-head { margin-bottom: 40px; }
.news-detail .news-toolbar { display: none; }
.news-detail-head { padding-top: 48px; }
.news-detail-head .news-detail-head-inner { display: block; }
.news-breadcrumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 30px; color: #98a2b3; font-size: 13px; }
.news-breadcrumbs a { color: #475467; font-weight: 700; text-decoration: none; }
.news-breadcrumbs a:hover,
.news-breadcrumbs a:focus-visible { color: var(--public-accent); text-decoration: underline; }
.news-detail-head .news-card-kicker { margin-bottom: 16px; }
.news-detail-head h1 { max-width: 920px; font-size: 46px; line-height: 1.12; }
.news-detail-meta { margin-top: 22px; }
.news-detail .news-feed { display: block; width: min(940px, calc(100% - 40px)); }
.news-detail .btn-back { margin-bottom: 18px; }
.news-item {
    max-width: none;
    margin: 0;
    padding: 38px 44px;
    border: 1px solid var(--public-border);
    border-left: 1px solid var(--public-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 5px 16px rgba(16, 24, 40, .04);
}
.news-header { margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid #e4e9f0; }
.news-title-row h3 { color: var(--public-heading); font-size: 31px; line-height: 1.22; }
.news-full-content { padding: 0; background: transparent; }
.news-full-content p,
.news-full-content li { color: #405166; font-size: 15px; line-height: 1.75; }
.news-full-content h2,
.news-full-content h3 { color: var(--public-heading); }
.news-actions,
.news-comment-form { border-top: 1px solid #e4e9f0; }

.news-pagination { margin-top: 30px; }
.news-page-link { border-color: #c4cfdd; border-radius: 6px; color: #344054; }
.news-page-link.active { border-color: var(--public-accent); background: var(--public-accent); color: #ffffff; }
.news-page-disabled { border-color: #e0e5ec; background: #eef1f5; color: #98a2b3; }

@media (max-width: 1040px) {
    .news-page-head-inner { align-items: flex-start; flex-direction: column; gap: 28px; }
    .news-toolbar { width: 100%; justify-content: flex-start; }
}

@media (max-width: 760px) {
    .news-page-head { padding: 54px 0 42px; }
    .news-page-head h1 { font-size: 36px; }
    .news-toolbar { align-items: stretch; flex-direction: column; }
    .news-tabs { max-width: 100%; overflow-x: auto; }
    .news-search { width: 100%; }
    .news-list .news-feed { grid-template-columns: 1fr; }
    .news-feed .news-item-compact:first-child { grid-column: auto; }
    .news-item { padding: 28px 24px; }
    .news-detail-head h1 { font-size: 34px; }
}

@media (max-width: 560px) {
    .news-feed,
    .news-pagination,
    .news-empty-filter,
    .news-wrapper > .btn-back,
    .news-detail .news-feed { width: min(100% - 28px, 1180px); }
    .news-item-compact,
    .news-feed .news-item-compact:first-child { padding: 22px; }
    .news-feed .news-item-compact:first-child .news-compact-header h4,
    .news-title-row h3 { font-size: 23px; }
    .news-page-prev,
    .news-page-next { width: 100%; }
}
