/*
 * Тема газеты: три колонки — меню разделов (липкое), содержимое, правая колонка (липкая).
 * Цвета — переменные газеты --np-* (inc/papers.php), шрифты — PT Serif и Onest.
 */

:root {
	--np-gap: 56px;
	--np-pad: 40px;
	--np-max: 1440px;
	--np-serif: "PT Serif", Georgia, "Times New Roman", serif;
	--np-sans: Onest, system-ui, -apple-system, "Segoe UI", sans-serif;
	--np-photo-shadow: 0 1px 2px rgba(var(--np-shadow), .08), 0 6px 16px rgba(var(--np-shadow), .10);
	--np-card-shadow: 0 1px 3px rgba(var(--np-shadow), .06), 0 8px 22px rgba(var(--np-shadow), .08);
}

body {
	margin: 0;
	background: var(--np-ground);
	color: var(--np-text);
	font-family: var(--np-sans);
	font-size: 18px;
	line-height: 1.55;
	-webkit-text-size-adjust: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

a[href^="tel:"] {
	white-space: nowrap;
}

a:hover,
a:focus-visible {
	color: var(--np-rubric);
	text-decoration: underline;
	text-underline-offset: 3px;
}

:focus-visible {
	outline: 3px solid var(--np-rubric);
	outline-offset: 2px;
}

img {
	max-width: 100%;
	height: auto;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.np-skip {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 1000;
	padding: 10px 16px;
	border-radius: 6px;
	background: var(--np-accent);
	color: #fff;
}

.np-skip:focus {
	top: 12px;
	color: #fff;
}

/* Сброс отступов групп блоков между колонками. */
.np-shell > *,
.np-main > *,
.wp-site-blocks > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

/* ---------------------------------------------------------------------- Шапка */

.np-mast {
	box-sizing: border-box;
	max-width: var(--np-max);
	margin: 0 auto;
	padding: 30px var(--np-pad) 26px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 40px;
}

.np-mast__brand {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 32px;
}

.np-logo {
	margin: 0;
	font-size: inherit;
	line-height: 0;
}

.np-logo__img {
	display: block;
	width: 240px;
	height: auto;
}

.np-logo a:hover {
	opacity: .9;
}

.np-mast__sub {
	max-width: 320px;
	margin: 0;
	font: italic 400 17px/1.35 var(--np-serif);
	color: var(--np-text2);
}

.np-rule {
	height: 3px;
	border-top: 3px solid var(--np-accent);
	border-bottom: 1px solid var(--np-accent);
}

.np-search {
	display: flex;
	gap: 8px;
	align-items: center;
}

.np-search input {
	box-sizing: border-box;
	width: 260px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--np-field);
	border-radius: 6px;
	background: #fff;
	font: 16px var(--np-sans);
	color: var(--np-text);
}

.np-search button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 6px;
	background: var(--np-accent);
	color: #fff;
	cursor: pointer;
}

.np-search--side,
.np-menu-btn,
.np-side__close {
	display: none;
}

.np-search--page {
	margin: 0 0 24px;
}

.np-search--page input {
	flex: 1 1 auto;
	width: auto;
	max-width: 520px;
}

.np-menu-btn {
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 12px 0 8px;
	border: 1px solid var(--np-field);
	border-radius: 6px;
	background: #fff;
	color: var(--np-ink);
	font: 600 16px var(--np-sans);
	cursor: pointer;
}

/* ---------------------------------------------------------------------- Три колонки */

.np-shell {
	box-sizing: border-box;
	max-width: var(--np-max);
	margin: 0 auto;
	padding: 52px var(--np-pad) 88px;
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr) 300px;
	gap: var(--np-gap);
	align-items: stretch;
}

.np-shell--wide {
	grid-template-columns: minmax(0, 1fr);
}

.np-main {
	min-width: 0;
}

/* Липкие колонки: короткая — прилипает верхом; выше экрана — прокручивается со страницей
 * и прилипает низом (верх задаёт assets/js/front.js). */
.np-side__in,
.np-aside__in {
	position: sticky;
	top: var(--np-stick, 28px);
}

.admin-bar .np-side__in,
.admin-bar .np-aside__in {
	top: var(--np-stick, 60px);
}

.np-aside__in {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 2px 2px 24px;
}

/* ---------------------------------------------------------------------- Меню слева */

.np-menu {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.np-menu a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0 12px;
	border-radius: 6px;
	font: 500 17px/1.25 var(--np-sans);
	color: var(--np-ink);
}

.np-menu a:hover,
.np-menu a:focus-visible {
	background: var(--np-surface);
	color: var(--np-ink);
	text-decoration: none;
}

.np-menu a.is-current {
	background: var(--np-accent);
	color: #fff;
	font-weight: 700;
}

.np-special {
	margin: 22px 0 8px;
	padding: 12px 6px 10px;
	border-left: 4px solid var(--np-accent);
	border-radius: 8px;
	background: var(--np-soft);
}

.np-special__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 4px 8px 6px;
	font: 700 14px/1.2 var(--np-sans);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--np-accent);
}

.np-menu--special a {
	font-weight: 600;
}

.np-side__label {
	margin: 26px 12px 8px;
	font: 700 13px/1.2 var(--np-sans);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--np-muted);
}

/* Соцсети */
.np-social {
	margin: 30px 12px 0;
}

.np-social__title {
	margin: 0 0 10px;
	font: 700 13px/1.2 var(--np-sans);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--np-muted);
}

.np-social__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.np-social__list a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	border: 1px solid var(--np-field);
	border-radius: 50%;
	background: #fff;
	color: var(--np-accent);
	font: 700 14px var(--np-sans);
	text-decoration: none;
}

.np-social__list a:hover,
.np-social__list a:focus-visible {
	background: var(--np-accent);
	border-color: var(--np-accent);
	color: #fff;
}

.np-social__f {
	font-size: 18px;
}

.np-social--footer {
	margin: 0;
}

.np-social--footer .np-social__list a {
	border-color: var(--np-accent);
	background: var(--np-accent);
	color: #fff;
}

/* ---------------------------------------------------------------------- Общие элементы */

.np-kicker {
	margin: 0 0 4px;
	font: 700 14px/1.2 var(--np-sans);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--np-rubric);
}

.np-kicker a {
	color: inherit;
}

.np-by {
	margin: 0;
	font: 400 15px/1.4 var(--np-sans);
	color: var(--np-muted);
}

.np-more {
	font: 600 15px/1.2 var(--np-sans);
	color: var(--np-rubric);
	white-space: nowrap;
}

.np-crumbs {
	margin: 0 0 20px;
	font-size: 15px;
	color: var(--np-muted);
}

.np-crumbs a {
	color: var(--np-muted);
	text-decoration: underline;
	text-decoration-color: var(--np-field);
	text-underline-offset: 3px;
}

.np-crumbs__sep {
	margin: 0 2px;
}

.np-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--np-accent);
	border-radius: 6px;
	background: var(--np-accent);
	color: #fff;
	font: 700 16px/1.2 var(--np-sans);
	text-decoration: none;
	cursor: pointer;
}

.np-btn:hover,
.np-btn:focus-visible {
	filter: brightness(1.15);
	color: #fff;
	text-decoration: none;
}

.np-btn--line {
	border-color: var(--np-field);
	background: #fff;
	color: var(--np-ink);
	font-weight: 600;
	font-size: 15px;
}

.np-btn--line:hover,
.np-btn--line:focus-visible {
	filter: none;
	border-color: var(--np-accent);
	color: var(--np-accent);
}

.np-btn--wide {
	display: flex;
	width: 100%;
	min-height: 52px;
	margin-top: 16px;
	border: 2px solid var(--np-accent);
	background: transparent;
	color: var(--np-accent);
}

.np-btn--wide:hover {
	filter: none;
	background: var(--np-accent);
	color: #fff;
}

.np-btn--light {
	border-color: #fff;
	background: #fff;
	color: var(--np-accent);
}

.np-btn--light:hover,
.np-btn--light:focus-visible {
	color: var(--np-accent);
}

.np-empty {
	padding: 24px;
	border: 1px dashed var(--np-field);
	border-radius: 6px;
	background: #fff;
	color: var(--np-muted);
}

/* Фото: сдержанное закругление и мягкая тень (логотип и значки — без теней). */
.np-img,
.np-article__body img,
.np-article__photo img {
	border-radius: 4px;
	box-shadow: var(--np-photo-shadow);
}

/* ---------------------------------------------------------------------- Карточки материалов */

.np-item__img {
	display: block;
	line-height: 0;
}

.np-item__img .np-img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.np-item__title {
	margin: 0 0 6px;
	font: 700 20px/1.25 var(--np-serif);
	color: var(--np-ink);
}

.np-item__title a {
	color: inherit;
}

.np-item__lead {
	margin: 0 0 8px;
	font: 400 19px/1.5 var(--np-serif);
	color: var(--np-text2);
}

.np-item__date {
	margin: 4px 0 0;
	font-size: 15px;
	color: var(--np-muted);
}

.np-item--card .np-item__body {
	padding-top: 14px;
}

.np-item--row {
	padding: 16px 0;
	border-top: 1px solid var(--np-line);
}

.np-item--row .np-item__title {
	font-size: 19px;
	line-height: 1.3;
	margin-bottom: 4px;
}

.np-item--row-img {
	display: flex;
	gap: 22px;
	padding: 0 0 24px;
}

.np-item--row-img .np-item__img {
	flex: none;
	width: 160px;
}

.np-item--row-img .np-item__title {
	font-size: 19px;
	line-height: 1.3;
}

.np-rows--list .np-item--row-img {
	padding: 24px 0;
	border-top: 1px solid var(--np-line);
}

.np-rows--list .np-item--row-img .np-item__title {
	font-size: 21px;
}

.np-rows--list .np-item--row-img .np-item__img {
	width: 200px;
}

.np-item--lead .np-item__img .np-img {
	aspect-ratio: 16 / 9;
	border-radius: 6px;
}

.np-item--lead .np-item__body {
	padding-top: 20px;
}

.np-item--lead .np-item__title {
	margin: 0 0 10px;
	font-size: clamp(28px, 3vw, 38px);
	line-height: 1.15;
}

.np-grid {
	display: grid;
	gap: 40px 32px;
}

.np-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.np-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.np-rows {
	margin-top: 24px;
}

.np-rows--img {
	margin-top: 0;
}

/* Список без картинок после карточек — отдельным блоком: отступ, линия плотнее, заголовки мельче. */
.np-grid + .np-rows {
	margin-top: 40px;
	border-top: 2px solid var(--np-field);
}

.np-grid + .np-rows .np-item--row:first-child {
	border-top: 0;
}

.np-grid + .np-rows .np-item__title {
	font-size: 18px;
}

/* ---------------------------------------------------------------------- Свежий номер */

.np-issue__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 20px;
	margin-bottom: 24px;
}

.np-issue__title {
	margin: 0;
	font: 700 30px/1.15 var(--np-serif);
	color: var(--np-ink);
}

.np-issue__title a {
	color: inherit;
}

.np-issue__meta {
	margin: 0;
	font-size: 16px;
	color: var(--np-muted);
}

.np-issue__meta a {
	font-weight: 600;
	color: var(--np-accent);
}

.np-issue__no {
	font-weight: 700;
	color: var(--np-ink);
}

.np-sec {
	margin-top: 64px;
}

.np-sec__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 24px;
	padding-top: 14px;
	border-top: 3px solid var(--np-accent);
}

.np-sec__title {
	margin: 0;
	font: 700 26px/1.15 var(--np-serif);
	color: var(--np-ink);
}

.np-sec--special {
	padding: 10px 28px 32px;
	min-width: 0;
	border-left: 4px solid var(--np-accent);
	border-radius: 8px;
	background: var(--np-soft);
}

.np-sec--special .np-sec__head {
	border-top: 0;
}

.np-prev {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 16px;
	border: 1px solid var(--np-line);
	border-radius: 6px;
	background: #fff;
	box-shadow: var(--np-card-shadow);
	color: var(--np-ink);
}

.np-prev:hover,
.np-prev:focus-visible {
	border-color: var(--np-accent);
	color: var(--np-ink);
	text-decoration: none;
}

.np-prev__img {
	flex: none;
	width: 96px;
	line-height: 0;
}

.np-prev__img .np-img {
	width: 96px;
	height: 72px;
	object-fit: cover;
	box-shadow: none;
}

.np-prev__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 15px;
	color: var(--np-muted);
}

.np-prev__text strong {
	font: 700 18px/1.25 var(--np-serif);
	color: var(--np-ink);
}

.np-prev--extra {
	box-shadow: none;
	background: transparent;
}

/* ---------------------------------------------------------------------- Правая колонка */

.np-official .np-sec__head,
.np-toc__head {
	margin-bottom: 8px;
	padding-top: 12px;
	border-top: 3px solid var(--np-accent);
}

.np-official .np-sec__title,
.np-toc__title {
	margin: 0;
	font: 700 24px/1.2 var(--np-serif);
	color: var(--np-ink);
}

.np-official .np-sec__head,
.np-toc__head {
	padding-top: 0;
	border-top: 0;
}

.np-official .np-rows {
	margin-top: 0;
}

.np-official .np-item--row:first-child {
	border-top: 0;
}

.np-official .np-item__title {
	font-size: 18px;
}

.np-toc__meta {
	margin: 2px 0 0;
	font-size: 15px;
	color: var(--np-muted);
}

.np-toc__list {
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

.np-toc__list a {
	display: block;
	padding: 13px 0;
	border-bottom: 1px solid var(--np-line);
	font: 700 17px/1.3 var(--np-serif);
	color: var(--np-ink);
}

.np-toc__list a.is-current {
	padding-left: 12px;
	border-left: 4px solid var(--np-rubric);
	color: var(--np-rubric);
}

.np-toc__all {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-top: 6px;
	font-size: 16px;
	font-weight: 700;
	white-space: normal;
}

/* ---------------------------------------------------------------------- Архивы */

.np-archive__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 14px 24px;
	margin-bottom: 26px;
}

.np-archive__title {
	margin: 0;
	font: 700 36px/1.15 var(--np-serif);
	color: var(--np-ink);
}

.np-archive__meta {
	margin: 6px 0 0;
	font-size: 16px;
	color: var(--np-muted);
}

.np-archive__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.np-archive__desc {
	margin: -4px 0 20px;
	color: var(--np-text2);
}

.np-chips,
.np-years {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 8px;
	padding: 0;
	list-style: none;
}

.np-chip {
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid var(--np-field);
	border-radius: 20px;
	background: #fff;
	color: var(--np-ink);
	font: 500 15px var(--np-sans);
	cursor: pointer;
}

.np-chip:hover,
.np-chip:focus-visible {
	border-color: var(--np-ink);
	color: var(--np-ink);
	text-decoration: none;
}

.np-chip.is-on {
	border-color: var(--np-ink);
	background: var(--np-ink);
	color: #fff;
}

.np-years {
	margin-bottom: 12px;
}

.np-copy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 22px 0 8px;
	font-size: 15px;
	color: var(--np-muted);
}

.np-copy__btn {
	border-color: var(--np-accent);
	color: var(--np-accent);
}

.np-copy__btn.is-done {
	background: var(--np-accent);
	color: #fff;
}

.np-line {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 4px 24px;
	padding: 20px 0;
	border-top: 1px solid var(--np-line);
}

.np-line[hidden] {
	display: none;
}

.np-line__cat {
	font: 700 13px/1.5 var(--np-sans);
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--np-rubric);
}

.np-line__title {
	margin: 0 0 4px;
	font: 700 20px/1.3 var(--np-serif);
	color: var(--np-ink);
}

.np-pages ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.np-pages .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--np-field);
	border-radius: 6px;
	background: #fff;
	color: var(--np-ink);
	font-weight: 600;
}

.np-pages .page-numbers.current {
	border-color: var(--np-accent);
	background: var(--np-accent);
	color: #fff;
}

.np-pages .page-numbers.dots {
	border: 0;
	background: none;
}

/* ---------------------------------------------------------------------- Материал */

.np-article {
	max-width: 720px;
}

.np-article__title {
	margin: 12px 0 20px;
	font: 700 clamp(30px, 3.4vw, 44px)/1.12 var(--np-serif);
	color: var(--np-ink);
}

.np-article__lead {
	margin: 0 0 26px;
	font: 400 22px/1.5 var(--np-serif);
	color: var(--np-text2);
}

.np-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 28px;
	margin-bottom: 32px;
	padding: 18px 0;
	border-top: 1px solid var(--np-line);
	border-bottom: 1px solid var(--np-line);
}

.np-article__date {
	margin: 6px 0 0;
	font-size: 15px;
	color: var(--np-muted);
}

.np-article__date a {
	color: inherit;
}

.np-credits {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 2px 12px;
	margin: 0;
	font: 400 17px/1.45 var(--np-sans);
}

.np-credits__row {
	display: contents;
}

.np-credits dt {
	color: var(--np-muted);
}

.np-credits dd {
	margin: 0;
	font-weight: 700;
	color: var(--np-ink);
}

.np-credits__row--norole dd {
	grid-column: 1 / -1;
}

.np-credits a {
	color: var(--np-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.np-ext {
	margin-left: 4px;
	vertical-align: -1px;
}

.np-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.np-article__photo {
	margin: 0 0 36px;
}

.np-article__photo img {
	display: block;
	width: 100%;
	height: auto;
}

.np-article__photo figcaption,
.np-article__body figcaption,
.np-article__body .wp-caption-text {
	margin-top: 10px;
	font-size: 15px;
	color: var(--np-muted);
}

.np-article__body {
	font: 400 21px/1.65 var(--np-serif);
	color: var(--np-text);
	overflow-wrap: anywhere;
}

.np-article__body > * {
	margin-top: 0;
	margin-bottom: 1.1em;
}

.np-article__body h2,
.np-article__body h3,
.np-article__body h4 {
	margin-top: 1.4em;
	margin-bottom: .6em;
	font-family: var(--np-serif);
	color: var(--np-ink);
}

.np-article__body a {
	color: var(--np-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.np-article__body blockquote,
.np-article__body .wp-block-quote {
	margin: 8px 0 30px;
	padding: 6px 0 6px 26px;
	border-left: 4px solid var(--np-pick);
	font: italic 400 23px/1.5 var(--np-serif);
	color: var(--np-accent);
}

.np-article__body img {
	display: block;
	height: auto;
	margin: 0 auto;
}

.np-article__body .wp-caption,
.np-article__body figure {
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.np-article__body .alignleft {
	float: left;
	margin: 6px 24px 12px 0;
	max-width: 50%;
}

.np-article__body .alignright {
	float: right;
	margin: 6px 0 12px 24px;
	max-width: 50%;
}

.np-article__body hr {
	clear: both;
	border: 0;
	border-top: 1px solid var(--np-line);
}

.np-article__body table {
	width: 100%;
	border-collapse: collapse;
	font: 16px/1.45 var(--np-sans);
}

.np-article__body th,
.np-article__body td {
	padding: 8px 10px;
	border: 1px solid var(--np-line);
	text-align: left;
}

html.np-fs-1 .np-article__body {
	font-size: 23px;
}

html.np-fs-2 .np-article__body {
	font-size: 26px;
}

.np-pn {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 24px;
	margin-top: 24px;
	padding: 28px 0;
	border-top: 1px solid var(--np-line);
	clear: both;
}

.np-pn a {
	flex: 1 1 240px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.np-pn span {
	font-size: 15px;
	color: var(--np-muted);
}

.np-pn strong {
	font: 700 19px/1.3 var(--np-serif);
	color: var(--np-ink);
}

.np-pn__next {
	text-align: right;
}

.np-related {
	margin-top: 40px;
}

.np-related .np-item__title {
	font-size: 18px;
}

/* Страницы */
.np-page .np-article__title {
	margin-top: 0;
}

.np-contacts {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
	line-height: 1.6;
}

.np-contacts span {
	color: var(--np-muted);
}

.np-article__body .np-contacts {
	font: 18px/1.7 var(--np-sans);
}

.np-team {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
	margin: 24px 0;
	padding: 0;
	list-style: none;
	font-family: var(--np-sans);
}

.np-person {
	display: flex;
	gap: 14px;
	padding: 16px;
	border: 1px solid var(--np-line);
	border-radius: 6px;
	background: #fff;
	box-shadow: var(--np-card-shadow);
}

.np-person__photo {
	flex: none;
	width: 84px;
	height: 84px;
	object-fit: cover;
	border-radius: 50%;
	box-shadow: none;
}

.np-person__name {
	margin: 0 0 2px;
	font: 700 19px/1.25 var(--np-serif);
}

.np-person__pos {
	margin: 0 0 6px;
	font-size: 15px;
	color: var(--np-muted);
}

.np-sub__prices table {
	max-width: 420px;
}

.np-404 {
	max-width: 640px;
}

/* ---------------------------------------------------------------------- Полоса подписки */

.np-band {
	background: var(--np-accent);
	color: #fff;
}

.np-band__in {
	box-sizing: border-box;
	max-width: var(--np-max);
	margin: 0 auto;
	padding: 40px var(--np-pad);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 40px;
}

.np-band__title {
	margin: 0 0 4px;
	font: 700 28px/1.2 var(--np-serif);
	color: #fff;
}

.np-band p {
	margin: 0;
	font-size: 17px;
}

.np-band a:not(.np-btn) {
	color: #fff;
	text-decoration: underline;
}

/* ---------------------------------------------------------------------- Подвал */

.np-footer {
	border-top: 3px solid var(--np-accent);
	background: var(--np-surface);
}

.np-foot {
	box-sizing: border-box;
	max-width: var(--np-max);
	margin: 0 auto;
	padding: 52px var(--np-pad) 32px;
	font-size: 16px;
	color: var(--np-text2);
}

.np-foot__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 36px 48px;
}

.np-foot__brand {
	grid-column: span 2;
	min-width: 0;
}

.np-foot__logo {
	display: block;
	width: 150px;
	height: auto;
	margin-bottom: 12px;
}

.np-foot__title {
	margin: 0 0 8px;
	font: 700 15px/1.2 var(--np-sans);
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--np-ink);
}

.np-foot__title + ul + .np-foot__title,
.np-foot__links + .np-foot__title {
	margin-top: 20px;
}

.np-foot__links,
.np-imprint {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 1.6;
}

.np-foot__links li {
	margin: 0 0 4px;
}

.np-foot__links small {
	display: block;
	color: var(--np-muted);
}

.np-imprint span {
	color: var(--np-muted);
}

.np-foot__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid var(--np-line);
	font-size: 15px;
	color: var(--np-muted);
}

/* ---------------------------------------------------------------------- Адаптив */

@media (max-width: 1280px) {
	:root {
		--np-gap: 40px;
		--np-pad: 32px;
	}
}

@media (max-width: 1100px) {
	.np-shell {
		grid-template-columns: minmax(0, 1fr) 300px;
	}

	.np-shell--wide {
		grid-template-columns: minmax(0, 1fr);
	}

	.np-menu-btn,
	.np-side__close {
		display: inline-flex;
	}

	.np-side {
		position: fixed;
		inset: 0 auto 0 0;
		z-index: 200;
		width: min(320px, 88vw);
		background: var(--np-ground);
		box-shadow: 0 0 40px rgba(0, 0, 0, .25);
		transform: translateX(-105%);
		transition: transform .2s ease;
		visibility: hidden;
	}

	.np-side.is-open {
		transform: none;
		visibility: visible;
	}

	.np-side__in {
		position: static;
		height: 100%;
		max-height: none;
		overflow-y: auto;
		overscroll-behavior: contain;
		box-sizing: border-box;
		padding: 16px 16px 32px;
	}

	.np-side__close {
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		margin: 0 0 8px auto;
		border: 0;
		border-radius: 6px;
		background: transparent;
		color: var(--np-ink);
		cursor: pointer;
		float: right;
	}

	.np-search--side {
		display: flex;
		clear: both;
		margin-bottom: 14px;
	}

	.np-search--side input {
		flex: 1 1 auto;
		width: auto;
		min-width: 0;
	}

	.np-overlay {
		position: fixed;
		inset: 0;
		z-index: 150;
		background: rgba(0, 0, 0, .35);
	}
}

@media (max-width: 800px) {
	:root {
		--np-pad: 16px;
		--np-gap: 40px;
		--np-photo-shadow: 0 1px 2px rgba(var(--np-shadow), .08), 0 4px 12px rgba(var(--np-shadow), .10);
	}

	.np-shell {
		grid-template-columns: minmax(0, 1fr);
		padding-top: 24px;
		padding-bottom: 56px;
	}

	.np-sec {
		margin-top: 48px;
	}

	.np-grid--2,
	.np-grid--3 {
		gap: 32px;
	}

	.np-aside__in {
		position: static;
	}

	.np-mast {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.np-mast__brand {
		gap: 8px 12px;
	}

	.np-logo__img {
		width: 170px;
	}

	.np-mast__sub {
		flex-basis: 100%;
		font-size: 15px;
	}

	.np-mast > .np-search {
		display: none;
	}

	.np-grid--2,
	.np-grid--3 {
		grid-template-columns: minmax(0, 1fr);
	}

	.np-issue__title {
		font-size: 25px;
	}

	.np-archive__title {
		font-size: 28px;
	}

	.np-item--row-img .np-item__img,
	.np-rows--list .np-item--row-img .np-item__img {
		width: 110px;
	}

	.np-line {
		grid-template-columns: minmax(0, 1fr);
	}

	.np-article__body {
		font-size: 20px;
		line-height: 1.62;
	}

	/* Выключка по ширине из старых текстов на узком экране даёт «дыры» между словами. */
	.np-article__body [style*="justify"] {
		text-align: left !important;
	}

	.np-article__photo {
		margin-left: calc(-1 * var(--np-pad));
		margin-right: calc(-1 * var(--np-pad));
	}

	.np-article__photo img {
		border-radius: 0;
	}

	.np-article__photo figcaption {
		padding: 0 var(--np-pad);
	}

	.np-tools {
		width: 100%;
	}

	.np-tools .np-btn {
		flex: 1 1 0;
		min-height: 48px;
	}

	.np-pn__next {
		text-align: left;
	}

	.np-sec--special {
		padding: 4px 14px 18px;
	}

	.np-sec__title {
		font-size: 23px;
	}

	.np-foot__brand {
		grid-column: auto;
	}

	.np-article__body .alignleft,
	.np-article__body .alignright {
		float: none;
		max-width: 100%;
		margin: 0 0 1em;
	}
}

@media (prefers-reduced-motion: reduce) {
	.np-side {
		transition: none;
	}
}

/* ---------------------------------------------------------------------- Печать */

@media print {
	.np-side,
	.np-aside,
	.np-mast > .np-search,
	.np-menu-btn,
	.np-rule,
	.np-tools,
	.np-pn,
	.np-related,
	.np-band,
	.np-footer,
	.np-skip,
	#wpadminbar {
		display: none !important;
	}

	body {
		background: #fff;
	}

	.np-shell {
		display: block;
		padding: 0;
	}

	.np-article {
		max-width: none;
	}

	.np-img,
	.np-article__body img,
	.np-article__photo img {
		box-shadow: none;
	}

	.np-article__body a::after {
		content: " (" attr(href) ")";
		font-size: 12px;
		color: #555;
	}
}

/* Выравнивание по ширине из блочного редактора — тоже по левому краю. */
.np-article__body .has-text-align-justify {
	text-align: left;
}
