.nw__back { text-decoration: none; }
.rq .nw__year { margin: 0 0 14px; padding-left: 12px; border-left: 4px solid var(--rq-primary); font-size: 22px; font-weight: 700; line-height: 1.35; }
.nw__list { display: grid; gap: 14px; margin: 0 0 22px; padding: 0; list-style: none; }
.rq .nw__item { display: grid; grid-template-columns: 280px minmax(0, 1fr); border: 1px solid var(--rq-border); border-radius: 14px; background: #fff; color: var(--rq-text); text-decoration: none; overflow: hidden; box-shadow: var(--rq-shadow); transition: border-color .15s, box-shadow .15s; }
.rq .nw__item:hover, .rq .nw__item:focus-visible { border-color: var(--rq-primary); box-shadow: 0 6px 18px rgba(16, 24, 40, .12); }
.nw__item img { display: block; width: 100%; height: 100%; min-height: 190px; max-height: 260px; object-fit: cover; }
.nw__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 24px; line-height: 1.5; }
.nw__body:only-child { grid-column: 1 / -1; }
.nw__body b { font-size: 19px; font-weight: 700; line-height: 1.3; }
.nw__date { margin: 0; color: var(--rq-muted); font-size: 14px; }
.rq .nw__archive { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border: 1px solid var(--rq-border); border-radius: 14px; background: #fff; color: var(--rq-text); text-decoration: none; box-shadow: var(--rq-shadow); }
.rq .nw__archive:hover, .rq .nw__archive:focus-visible { border-color: var(--rq-primary); }
.nw__archive > i { flex: none; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: var(--rq-primary-soft); color: var(--rq-primary); font-size: 24px; }
.nw__archive b { display: block; font-size: 17px; }
.nw__archive small { display: block; color: var(--rq-muted); font-size: 14px; }
.nw__article, .nw__empty { padding: 24px 28px; }
.rq .nw__article h2 { margin: 0 0 6px; font-size: 24px; font-weight: 700; line-height: 1.3; }
.nw__text { max-width: 95ch; margin: 16px 0 20px; font-size: 16px; line-height: 1.6; }
.nw__text img { max-width: 100%; height: auto; }
@media (max-width: 767px) { .rq .nw__item { grid-template-columns: minmax(0, 1fr); } .nw__item img { max-height: 220px; } .nw__body, .nw__article, .nw__empty { padding: 18px; } }
/* Карточки на главной (main.php) */
.nw-main__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; align-items: stretch; }
.nw-main__list > li { display: flex; }
.rq .nw-main__item { display: flex; flex-direction: column; flex: 1; border: 1px solid var(--rq-border); border-radius: 14px; background: #fff; color: var(--rq-text); text-decoration: none; overflow: hidden; box-shadow: var(--rq-shadow); transition: border-color .15s, box-shadow .15s; }
.rq .nw-main__item:hover, .rq .nw-main__item:focus-visible { border-color: var(--rq-primary); box-shadow: 0 6px 18px rgba(16, 24, 40, .12); }
.nw-main__item img { display: block; width: 100%; height: 190px; padding: 8px; object-fit: contain; background: #fff; border-bottom: 1px solid var(--rq-border); }
.nw-main__item .nw__body { flex: 1; }
.nw-main__more { margin-top: auto; color: var(--rq-primary); font-weight: 600; }
.nw-main__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 14px 2px 0; }
.rq .nw-main__links a { text-decoration: none; }
.nw__photo { display: block; max-width: 560px; margin: 16px 0 0; border: 1px solid var(--rq-border); border-radius: 12px; overflow: hidden; }
.nw__photo img { display: block; width: 100%; height: auto; }
