/*
Theme Name: Наукоград Королёв — Редакция 2026
Theme URI: https://newskorolev.ru/
Author: Наукоград Королёв
Description: Самостоятельная редакционная block theme, собранная по измеренной композиционной системе Arzamas.
Version: 2.4.0
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: newskorolev-editorial-2026
*/

:root {
	--nk-black: #000;
	--nk-charcoal: #1a1a1a;
	--nk-paper: #f0f0e9;
	--nk-yellow: #fee500;
	--nk-promo: #fecf00;
	--nk-line: #dedede;
	--nk-radius: 20px;
	--nk-sans: Arial, Helvetica, sans-serif;
	--nk-serif: Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	background: var(--nk-black);
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: #fff;
	color: #1a1a1a;
	font-family: var(--nk-sans);
	font-size: 15px;
	line-height: 20.01px;
}

body,
button,
input,
textarea {
	-webkit-font-smoothing: antialiased;
}

.wp-site-blocks {
	padding: 0;
}

.wp-site-blocks > * {
	margin-block-start: 0 !important;
}

.wp-block-group,
.wp-block-query,
.wp-block-post-template,
.wp-block-post-template > li,
.wp-block-post-featured-image,
.wp-block-post-title,
.wp-block-post-excerpt,
.wp-block-post-date,
.wp-block-post-terms,
p {
	margin-block-start: 0;
	margin-block-end: 0;
}

.wp-block-post-template {
	padding: 0;
	list-style: none;
}

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

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

.nk-ed-header {
	position: relative;
	z-index: 30;
	height: 60px;
	background: var(--nk-black);
	color: #fff;
}

.home .nk-ed-header {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 80;
}

.admin-bar.home .nk-ed-header {
	top: 32px;
}

.home .nk-ed-home {
	padding-top: 60px;
}

.nk-ed-header-inner {
	display: flex;
	align-items: center;
	width: 100%;
	height: 60px;
	padding: 0 18px 0 22px;
}

.nk-ed-brand {
	flex: 0 0 64px;
	margin: 0 !important;
	font-family: var(--nk-serif);
	font-size: 0;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.nk-ed-brand a {
	color: #fff;
}

.nk-ed-brand a::after {
	font-family: var(--nk-serif);
	font-size: 20px;
	font-weight: 700;
	content: "НК";
}

.nk-ed-navigation {
	display: flex;
	align-items: center;
	gap: 25px;
	height: 60px;
}

.nk-ed-navigation p {
	font-size: 15px;
	font-weight: 700;
	line-height: 18px;
	white-space: nowrap;
}

.nk-ed-navigation a:hover,
.nk-ed-navigation a:focus-visible {
	color: var(--nk-yellow);
}

.nk-ed-districts-toggle {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 60px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 18px;
}

.nk-ed-districts-toggle:hover,
.nk-ed-districts-toggle:focus-visible,
.nk-ed-districts-open .nk-ed-districts-toggle {
	color: var(--nk-yellow);
}

.nk-ed-districts-toggle span {
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform 180ms ease;
}

.nk-ed-districts-open .nk-ed-districts-toggle span {
	transform: translateY(2px) rotate(225deg);
}

.nk-ed-menu-button {
	display: none;
}

.nk-ed-search-toggle {
	border: 0;
	margin-left: auto;
	display: grid;
	min-width: 157px;
	height: 36px;
	padding: 0 16px;
	border-radius: 20px;
	background: var(--nk-yellow);
	color: #000;
	cursor: pointer;
	font-size: 12px;
	font-weight: 700;
	place-items: center;
}

.nk-ed-search-toggle:hover,
.nk-ed-search-toggle:focus-visible {
	background: #fff;
}

.nk-ed-districts-panel {
	position: fixed;
	top: 60px;
	right: 0;
	left: 0;
	z-index: 74;
	padding: 28px 56px 34px;
	border-bottom: 1px solid #d5d5d0;
	background: var(--nk-paper);
	color: #111;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-105%);
	transition: opacity 180ms ease, transform 240ms ease;
}

.admin-bar .nk-ed-districts-panel {
	top: 92px;
}

.nk-ed-districts-open .nk-ed-districts-panel {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.nk-ed-districts-panel-inner {
	display: grid;
	grid-template-columns: 210px minmax(0, 1fr);
	gap: 32px;
	width: 100%;
	max-width: 1568px;
	margin: 0 auto;
}

.nk-ed-districts-title {
	padding-top: 12px;
	font-family: var(--nk-serif);
	font-size: 27px;
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 30px;
}

.nk-ed-districts-panel nav {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
}

.nk-ed-districts-panel nav a {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 76px;
	padding: 13px 15px;
	border-radius: 12px;
	background: #fff;
	transition: background-color 160ms ease, color 160ms ease;
}

.nk-ed-districts-panel nav a:hover,
.nk-ed-districts-panel nav a:focus-visible {
	background: var(--nk-yellow);
	color: #000;
}

.nk-ed-districts-panel nav strong {
	font-size: 15px;
	line-height: 18px;
}

.nk-ed-districts-panel nav span {
	color: #888;
	font-size: 11px;
	line-height: 14px;
}

.nk-ed-districts-panel nav a:hover span,
.nk-ed-districts-panel nav a:focus-visible span {
	color: #333;
}

.nk-ed-search-panel {
	position: fixed;
	top: 60px;
	right: 0;
	left: 0;
	z-index: 75;
	height: 60px;
	padding: 0 24px;
	border-bottom: 1px solid #ddd;
	background: #fff;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-100%);
	transition: opacity 180ms ease, transform 220ms ease;
}

.admin-bar .nk-ed-search-panel {
	top: 92px;
}

.nk-ed-search-open .nk-ed-search-panel {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.nk-ed-search-panel form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	width: 100%;
	max-width: 1568px;
	height: 100%;
	margin: 0 auto;
}

.nk-ed-search-panel input {
	width: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	color: #111;
	font-size: 20px;
}

.nk-ed-search-panel button {
	border: 0;
	background: transparent;
	cursor: pointer;
	font-size: 15px;
	font-weight: 700;
}

.nk-ed-drawer-backdrop,
.nk-ed-mobile-drawer {
	display: none;
}

.nk-ed-stories {
	overflow: hidden;
	padding: 8px 0 56px;
	border-radius: 0 0 48px 48px;
	background: var(--nk-black);
	color: #fff;
}

.nk-ed-dashboard {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	width: calc(100% - 112px);
	margin: 0 auto;
}

.nk-ed-hero-query {
	grid-column: span 3;
	min-width: 0;
}

.nk-ed-hero-query .wp-block-post-template,
.nk-ed-hero-query .wp-block-post-template > li {
	height: 100%;
}

.nk-ed-hero {
	position: relative;
	isolation: isolate;
	height: calc((100vw - 160px) * 0.375);
	overflow: hidden;
	border-radius: var(--nk-radius);
	background: #252525;
	color: #fff;
}

.nk-ed-hero::after,
.nk-ed-card::after {
	position: absolute;
	z-index: -1;
	inset: 0;
	content: "";
	pointer-events: none;
}

.nk-ed-hero::after {
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.5) 58%, rgba(0, 0, 0, 0.12) 100%);
}

.nk-ed-card::after {
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.82) 5%, rgba(0, 0, 0, 0.58) 58%, rgba(0, 0, 0, 0.08) 100%);
}

.nk-ed-hero .wp-block-post-featured-image,
.nk-ed-card .wp-block-post-featured-image {
	position: absolute;
	z-index: -2;
	inset: 0;
	width: 100%;
	height: 100%;
}

.nk-ed-hero .wp-block-post-featured-image a,
.nk-ed-card .wp-block-post-featured-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.nk-ed-hero .wp-block-post-featured-image img,
.nk-ed-card .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms ease;
}

/* Архивные обложки часто уже содержат крупные белые надписи. Затемнение
   сохраняет чистую редакционную типографику поверх изображения. */
.nk-ed-hero .wp-block-post-featured-image img {
	opacity: 0.42;
}

.nk-ed-card .wp-block-post-featured-image img {
	opacity: 0.62;
}

.nk-ed-hero:hover .wp-block-post-featured-image img,
.nk-ed-card:hover .wp-block-post-featured-image img {
	transform: scale(1.025);
}

.nk-ed-label {
	display: inline-flex;
	align-items: center;
	width: max-content;
	min-height: 38px;
	padding: 0 16px;
	border: 2px solid rgba(255, 255, 255, 0.95);
	border-radius: 999px;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	line-height: 34px;
}

.nk-ed-hero-label {
	position: absolute;
	top: 23px;
	left: 22px;
	z-index: 2;
}

.nk-ed-hero-copy {
	position: absolute;
	right: 48px;
	bottom: 34px;
	left: 22px;
	z-index: 2;
}

.nk-ed-hero-copy .wp-block-post-title {
	display: -webkit-box !important;
	max-width: 820px;
	overflow: hidden;
	color: #fff;
	font-size: 48px;
	font-weight: 700;
	letter-spacing: normal;
	line-height: 48px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.nk-ed-hero-copy .wp-block-post-excerpt {
	display: -webkit-box !important;
	max-width: 590px;
	margin-top: 20px;
	overflow: hidden;
	color: #fff;
	font-size: 20px;
	font-weight: 500;
	line-height: 26px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.nk-ed-hero-copy .wp-block-post-excerpt__more-link {
	display: none;
}

.nk-ed-hero-copy .wp-block-post-date {
	margin-top: 14px;
	font-family: var(--nk-serif);
	font-size: 12px;
	font-style: italic;
	line-height: 16px;
}

.nk-ed-side {
	position: relative;
	display: flex;
	flex-direction: column;
	grid-column: 4;
	grid-row: 1;
	height: calc((100vw - 160px) * 0.375);
	overflow: hidden;
	padding: 24px 24px 3px;
	border-radius: var(--nk-radius);
	background: var(--nk-charcoal);
}

.nk-ed-side::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 118px;
	background: linear-gradient(180deg, rgba(26, 26, 26, 0), var(--nk-charcoal) 85%);
	content: "";
	pointer-events: none;
}

.nk-ed-side-label {
	flex: 0 0 auto;
	margin-bottom: 32px;
}

.nk-ed-side-query {
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
}

.nk-ed-side-query .wp-block-post-template {
	display: grid;
	gap: 20px;
	height: 100%;
	overflow-y: auto;
	overscroll-behavior-y: contain;
	padding-bottom: 96px;
	scrollbar-width: none;
}

.nk-ed-side-query .wp-block-post-template::-webkit-scrollbar {
	display: none;
}

.nk-ed-side-item {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 24px;
	min-height: 72px;
}

.nk-ed-side-item .wp-block-post-featured-image {
	width: 72px;
	height: 72px;
	overflow: hidden;
	border-radius: 9px;
	background: #333;
}

.nk-ed-side-item .wp-block-post-featured-image:empty {
	display: none;
}

.nk-ed-side-item:not(:has(.wp-block-post-featured-image img)) {
	display: block;
}

.nk-ed-side-item:not(:has(.wp-block-post-featured-image img)) .wp-block-post-featured-image {
	display: none;
}

.nk-ed-side-item .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nk-ed-side-copy {
	align-self: center;
	min-width: 0;
}

.nk-ed-side-copy .wp-block-post-terms {
	display: -webkit-box;
	overflow: hidden;
	color: #999;
	font-size: 12px;
	line-height: 14px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.nk-ed-side-copy .wp-block-post-terms__separator {
	margin-right: 4px;
}

.nk-ed-side-copy .wp-block-post-title {
	display: -webkit-box !important;
	margin-top: 2px;
	overflow: hidden;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 19.2px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.nk-ed-card-query {
	grid-column: 1 / -1;
}

.nk-ed-card-query .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.nk-ed-card {
	position: relative;
	isolation: isolate;
	height: calc((100vw - 160px) / 4);
	overflow: hidden;
	border-radius: var(--nk-radius);
	background: #292929;
	color: #fff;
}

.nk-ed-card-label {
	position: absolute;
	top: 24px;
	left: 24px;
	z-index: 2;
}

.nk-ed-card .wp-block-post-title {
	position: absolute;
	right: 24px;
	bottom: 23px;
	left: 24px;
	z-index: 2;
	display: -webkit-box !important;
	max-height: 5.5em;
	overflow: hidden;
	color: #fff;
	font-size: clamp(20px, 1.715vw, 29px);
	font-weight: 500;
	letter-spacing: normal;
	line-height: 1.1;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
}

.nk-ed-promo {
	display: grid;
	grid-template-columns: 420px 630px;
	gap: 122px;
	align-items: start;
	width: calc(100% - 112px);
	min-height: 519px;
	margin: 64px auto 0;
	padding: 80px 34px 116px 122px;
	border-radius: 40px;
	background: var(--nk-promo);
	color: #000;
}

.nk-ed-promo-mark {
	position: relative;
	display: grid;
	width: 420px;
	height: 240px;
	place-items: center;
}

.nk-ed-promo-mark::before,
.nk-ed-promo-mark::after {
	position: absolute;
	top: 0;
	width: 240px;
	height: 240px;
	border-radius: 50%;
	background: #fff;
	content: "";
}

.nk-ed-promo-mark::before {
	left: 0;
}

.nk-ed-promo-mark::after {
	right: 0;
}

.nk-ed-promo-mark p {
	position: relative;
	z-index: 1;
	font-family: var(--nk-serif);
	font-size: 72px;
	font-weight: 700;
	letter-spacing: -0.12em;
}

.nk-ed-promo-copy {
	width: 630px;
	max-width: 630px;
	padding-top: 10px;
}

.nk-ed-promo-copy h2 {
	margin: 0;
	font-family: var(--nk-serif);
	font-size: 40px;
	font-weight: 400;
	letter-spacing: -0.035em;
	line-height: 40px;
}

.nk-ed-promo-copy p {
	max-width: 560px;
	margin-top: 26px;
	font-size: 24px;
	line-height: 28.8px;
}

.nk-ed-promo-copy .wp-block-buttons {
	margin-top: 32px;
}

.nk-ed-promo-copy .wp-block-button__link {
	min-width: 271px;
	padding: 20px 32px;
	border-radius: 32px;
	background: #000;
	color: #fff;
	font-size: 20px;
	font-weight: 500;
	line-height: 20px;
}

.nk-ed-journal {
	padding: 80px 0 160px;
	background: var(--nk-paper);
	color: #181818;
}

.nk-ed-journal-masthead {
	position: relative;
	width: calc(100% - 48px);
	height: clamp(337px, 23.4vw, 393px);
	margin: 0 auto;
	overflow: hidden;
}

.nk-ed-journal-masthead p {
	position: absolute;
	z-index: 2;
	top: 8px;
	left: 51%;
	font-family: var(--nk-serif);
	font-size: 14px;
	line-height: 16px;
}

.nk-ed-journal-masthead h2 {
	position: absolute;
	right: -0.03em;
	bottom: -0.13em;
	left: -0.03em;
	margin: 0;
	font-family: var(--nk-serif);
	font-size: clamp(190px, 22vw, 370px);
	font-weight: 700;
	letter-spacing: -0.075em;
	line-height: 0.82;
	white-space: nowrap;
}

.nk-ed-journal-query {
	width: 100%;
	max-width: none;
	height: calc(clamp(401px, 39.17vw, 658px) + 44px);
	margin: 45px 0 0;
	overflow: hidden;
}

.nk-ed-listing-query .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px 24px;
}

.nk-ed-journal-query .wp-block-post-template {
	display: flex !important;
	gap: 8px;
	width: 100%;
	height: clamp(401px, 39.17vw, 658px);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	padding: 0 10vw;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.nk-ed-journal-query .wp-block-post-template::-webkit-scrollbar {
	display: none;
}

.nk-ed-journal-query .wp-block-post-template > li {
	flex: 0 0 80vw;
	scroll-snap-align: center;
	scroll-snap-stop: always;
}

.nk-ed-journal-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	height: 44px;
}

.nk-ed-journal-dot {
	width: 36px;
	height: 3px;
	padding: 0;
	border: 0;
	background: #d2d2cb;
	cursor: pointer;
	transition: background-color 180ms ease, width 180ms ease;
}

.nk-ed-journal-dot[aria-current="true"] {
	width: 54px;
	background: #1a1a1a;
}

.nk-ed-journal-dot:focus-visible {
	outline: 2px solid #1a1a1a;
	outline-offset: 4px;
}

.nk-ed-journal-card {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	flex-direction: column;
	height: clamp(401px, 39.17vw, 658px);
	overflow: hidden;
	padding: 30px 40px 0;
	background: #e8e8e1;
	text-align: center;
}

.nk-ed-journal-card .wp-block-post-featured-image {
	position: absolute;
	z-index: -1;
	bottom: 0;
	left: 50%;
	width: 61%;
	height: 58%;
	margin: 0;
	border-radius: 0;
	transform: translateX(-50%);
}

.nk-ed-journal-card .wp-block-post-date {
	margin-top: 0;
	color: #8e8e87;
	font-size: 13px;
	line-height: 16px;
	text-transform: uppercase;
}

.nk-ed-journal-card .wp-block-post-title {
	display: -webkit-box !important;
	width: 100%;
	margin-top: 64px;
	overflow: hidden;
	font-family: var(--nk-serif);
	font-size: 58px;
	font-weight: 400;
	letter-spacing: -0.025em;
	line-height: 0.86;
	text-transform: uppercase;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.nk-ed-journal-card .wp-block-post-excerpt,
.nk-ed-journal-query .nk-ed-pagination {
	display: none !important;
}

.nk-ed-journal-card,
.nk-ed-listing-card {
	min-width: 0;
}

.nk-ed-journal-card .wp-block-post-featured-image,
.nk-ed-listing-card .wp-block-post-featured-image {
	overflow: hidden;
	border-radius: 2px;
	background: #ddd;
}

.nk-ed-journal-card .wp-block-post-featured-image img,
.nk-ed-listing-card .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms ease;
}

.nk-ed-journal-card:hover .wp-block-post-featured-image img,
.nk-ed-listing-card:hover .wp-block-post-featured-image img {
	transform: scale(1.02);
}

.nk-ed-listing-card .wp-block-post-date {
	display: block;
	margin-top: 14px;
	color: #999;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 14px;
	text-transform: uppercase;
}

.nk-ed-listing-card .wp-block-post-title {
	margin-top: 8px;
	font-family: var(--nk-serif);
	font-size: 27px;
	font-weight: 400;
	letter-spacing: -0.025em;
	line-height: 1.04;
}

.nk-ed-listing-card .wp-block-post-excerpt {
	display: -webkit-box !important;
	margin-top: 12px;
	overflow: hidden;
	color: #555;
	font-size: 15px;
	line-height: 20px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.nk-ed-journal-actions {
	justify-content: center;
	margin-top: 64px;
}

.nk-ed-journal-actions .wp-block-button__link {
	min-width: 220px;
	padding: 16px 28px;
	border-radius: 999px;
	background: #000;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
}

.nk-ed-pagination {
	gap: 12px;
	margin-top: 64px;
	font-size: 14px;
	font-weight: 700;
}

.nk-ed-pagination a,
.nk-ed-pagination .page-numbers {
	display: inline-grid;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid #aaa;
	border-radius: 999px;
	place-items: center;
}

.nk-ed-home-lower {
	padding: 64px 40px 80px;
	background: #fff;
}

.nk-ed-collection {
	width: 100%;
	margin: 0 auto 64px;
	padding: 48px 40px 56px;
	border-radius: 48px;
	background: #fff;
	color: #161616;
}

.nk-ed-collection--paper {
	background: #f7f7f3;
}

.nk-ed-collection--dark {
	background: #000;
	color: #fff;
}

.nk-ed-collection-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 40px;
}

.nk-ed-collection-head h2 {
	margin: 0;
	font-size: 28px;
	line-height: 32px;
}

.nk-ed-collection-head p {
	font-size: 15px;
	font-weight: 700;
}

.nk-ed-collection-query .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 42px 16px;
}

.nk-ed-collection-card {
	min-width: 0;
}

.nk-ed-collection-card .wp-block-post-featured-image {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 16px;
	background: #ddd;
}

.nk-ed-collection-card .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms ease;
}

.nk-ed-collection-card:hover .wp-block-post-featured-image img {
	transform: scale(1.02);
}

.nk-ed-collection-card .wp-block-post-date {
	margin-top: 14px;
	color: #888;
	font-size: 11px;
	font-weight: 700;
	line-height: 14px;
	text-transform: uppercase;
}

.nk-ed-collection-card .wp-block-post-title {
	margin-top: 7px;
	font-size: 24px;
	font-weight: 700;
	line-height: 25px;
}

.nk-ed-collection-card .wp-block-post-excerpt {
	display: -webkit-box;
	margin-top: 9px;
	overflow: hidden;
	color: #555;
	font-size: 16px;
	line-height: 21px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.nk-ed-collection--dark .nk-ed-collection-card .wp-block-post-date,
.nk-ed-collection--dark .nk-ed-collection-card .wp-block-post-excerpt {
	color: #aaa;
}

.nk-ed-popular-query .wp-block-post-template > li:first-child {
	grid-column: span 2;
	grid-row: span 2;
}

.nk-ed-popular-query .wp-block-post-template > li:first-child .wp-block-post-featured-image {
	aspect-ratio: 16 / 9;
}

.nk-ed-popular-query .wp-block-post-template > li:first-child .wp-block-post-title {
	max-width: 760px;
	font-size: 42px;
	line-height: 42px;
}

.nk-ed-feature-query .wp-block-post-template {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.nk-ed-feature-query .wp-block-post-template > li:first-child {
	grid-column: 1 / -1;
}

.nk-ed-feature-query .wp-block-post-template > li:first-child .wp-block-post-featured-image {
	aspect-ratio: 2 / 1;
}

.nk-ed-feature-query .wp-block-post-template > li:first-child .wp-block-post-title {
	font-size: 42px;
	line-height: 42px;
}

.nk-ed-newsletter {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 32px;
	align-items: center;
	margin-top: 8px;
	padding: 34px 40px;
	border-radius: 40px;
	background: var(--nk-promo);
	color: #000;
}

.nk-ed-newsletter h2 {
	margin: 0;
	font-family: var(--nk-serif);
	font-size: 34px;
	font-weight: 400;
	line-height: 36px;
}

.nk-ed-newsletter p {
	margin-top: 8px;
	font-size: 16px;
	line-height: 21px;
}

.nk-ed-newsletter .wp-block-button__link {
	padding: 17px 26px;
	border-radius: 999px;
	background: #000;
	color: #fff;
	font-weight: 700;
}

.nk-ed-footer {
	padding: 64px 56px 38px;
	background: #000;
	color: #fff;
}

.nk-ed-footer-inner {
	max-width: 1328px;
	margin: 0 auto;
}

.nk-ed-footer-top {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 80px;
	align-items: start;
}

.nk-ed-footer .wp-block-site-title,
.nk-ed-footer-brand {
	font-family: var(--nk-serif);
	font-size: 38px;
	line-height: 1;
}

.nk-ed-footer-description {
	max-width: 420px;
	margin-top: 18px;
	color: #aaa;
	font-size: 15px;
	line-height: 20px;
}

.nk-ed-footer-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 32px;
}

.nk-ed-footer-links p {
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
}

.nk-ed-footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	margin-top: 62px;
	padding-top: 24px;
	border-top: 1px solid #333;
	color: #777;
}

.nk-ed-footer-bottom p {
	font-size: 12px;
	line-height: 16px;
}

.nk-ed-journal-bar {
	height: 97px;
	border-bottom: 1px solid var(--nk-line);
	background: #fff;
}

.nk-ed-journal-bar-inner {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr) auto;
	align-items: center;
	width: 960px;
	height: 97px;
	margin: 0 auto;
}

.nk-ed-journal-wordmark {
	margin: 0;
	font-family: var(--nk-serif);
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
}

.nk-ed-journal-links {
	display: flex;
	gap: 36px;
}

.nk-ed-journal-links p,
.nk-ed-random {
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}

.nk-ed-random a {
	display: grid;
	height: 44px;
	padding: 0 16px;
	border: 1px solid #ddd;
	place-items: center;
}

.nk-ed-single {
	background: #f3f3f3;
}

.nk-ed-paper {
	width: 1020px;
	min-height: 100vh;
	margin: 0 auto;
	padding: 0 0 90px;
	background: #fff;
}

.nk-ed-article-head {
	width: 660px;
	margin: 0 auto;
	text-align: center;
}

.nk-ed-article-meta {
	display: flex;
	align-content: flex-start;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	min-height: 65px;
	max-height: 78px;
	padding-top: 39px;
	overflow: hidden;
	color: #bfbfbf;
	font-family: var(--nk-serif);
	font-size: 13px;
	font-weight: 700;
	line-height: 26px;
	text-transform: uppercase;
}

.nk-ed-article-meta .wp-block-post-terms {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0 4px;
	max-width: 560px;
}

.nk-ed-article-head > .wp-block-post-title {
	margin-top: 26px;
	font-size: 50px;
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 50px;
}

.nk-ed-deck {
	display: -webkit-box !important;
	margin-top: 30px;
	overflow: hidden;
	color: #262626;
	font-family: var(--nk-serif);
	font-size: 25px;
	line-height: 35px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.nk-ed-author {
	gap: 5px;
	margin-top: 32px;
	font-family: var(--nk-serif);
	font-size: 17px;
	font-style: italic;
	font-weight: 500;
	line-height: 26px;
}

.nk-ed-author .wp-block-post-author-name {
	text-decoration: underline;
}

.nk-ed-share {
	width: 365px;
	margin: 40px auto 0;
	border: 1px solid #ddd;
}

.nk-ed-share p {
	display: grid;
	flex: 1;
	height: 36px;
	font-size: 12px;
	font-weight: 700;
	place-items: center;
}

.nk-ed-share p + p {
	border-left: 1px solid #ddd;
}

.nk-ed-content {
	width: 660px;
	margin: 40px auto 0;
	color: #4c4c4c;
	font-family: var(--nk-serif);
	font-size: 17px;
	line-height: 26px;
}

.nk-ed-content > * {
	max-width: 660px;
	margin-right: auto;
	margin-left: auto;
}

.nk-ed-content p {
	margin-bottom: 20px;
}

.nk-ed-content h2,
.nk-ed-content h3,
.nk-ed-content h4 {
	margin: 40px 0 18px;
	color: #1a1a1a;
	font-family: var(--nk-sans);
	line-height: 1.08;
}

.nk-ed-content h2 {
	font-size: 34px;
}

.nk-ed-content h3 {
	font-size: 26px;
}

.nk-ed-content figure,
.nk-ed-content .wp-block-gallery {
	width: 100%;
	max-width: 660px;
	margin: 32px auto;
}

.nk-ed-content .alignwide {
	width: 900px;
	max-width: 900px;
	margin: 32px 0 32px -120px;
}

.nk-ed-content .alignfull {
	position: relative;
	left: 50%;
	width: 1020px;
	max-width: 1020px;
	margin: 40px 0;
	transform: translateX(-50%);
}

.nk-ed-content img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.nk-ed-content figcaption {
	max-width: 660px;
	margin: 8px auto 0;
	color: #888;
	font-family: var(--nk-serif);
	font-size: 12px;
	line-height: 16px;
}

.nk-ed-gallery-shell {
	position: relative;
	width: 660px;
	max-width: 100%;
	margin: 40px auto;
	padding-bottom: 54px;
}

.nk-ed-gallery-shell.alignwide {
	width: 900px;
	max-width: 900px;
	margin-left: -120px;
}

.nk-ed-content .nk-ed-gallery-shell .nk-ed-gallery {
	display: flex !important;
	gap: 0 !important;
	width: 100%;
	max-width: none;
	height: auto;
	margin: 0;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.nk-ed-content .nk-ed-gallery-shell .nk-ed-gallery::-webkit-scrollbar {
	display: none;
}

.nk-ed-content .nk-ed-gallery-shell .nk-ed-gallery > figure,
.nk-ed-content .nk-ed-gallery-shell .nk-ed-gallery > .gallery-item {
	flex: 0 0 100%;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	scroll-snap-align: center;
	scroll-snap-stop: always;
}

.nk-ed-content .nk-ed-gallery-shell .nk-ed-gallery img {
	width: 100%;
	height: auto;
}

.nk-ed-gallery-control {
	position: absolute;
	bottom: 0;
	width: 46px;
	height: 38px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #111;
	cursor: pointer;
	font-size: 30px;
	line-height: 38px;
}

.nk-ed-gallery-control--prev {
	left: 0;
}

.nk-ed-gallery-control--next {
	right: 0;
}

.nk-ed-gallery-control:disabled {
	opacity: 0.25;
	cursor: default;
}

.nk-ed-gallery-counter {
	position: absolute;
	right: 56px;
	bottom: 0;
	left: 56px;
	height: 38px;
	font-family: var(--nk-serif);
	font-size: 14px;
	line-height: 38px;
	text-align: center;
}

.nk-ed-content blockquote {
	margin: 34px 0;
	padding: 0 0 0 28px;
	border-left: 4px solid var(--nk-yellow);
	font-family: var(--nk-serif);
	font-size: 24px;
	line-height: 32px;
}

.nk-ed-post-terms,
.nk-ed-post-navigation,
.nk-ed-comments {
	width: 660px;
	margin: 60px auto 0;
}

.nk-ed-post-terms {
	color: #888;
	font-size: 13px;
}

.nk-ed-post-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	padding-top: 24px;
	border-top: 1px solid #ddd;
	font-family: var(--nk-serif);
}

.nk-ed-comments {
	padding-top: 40px;
	border-top: 1px solid #ddd;
}

.nk-ed-comments .wp-block-comments-title {
	margin: 0 0 30px;
	font-family: var(--nk-sans);
	font-size: 28px;
	line-height: 32px;
}

.nk-ed-comments .wp-block-comment-template {
	padding: 0;
}

.nk-ed-comments .wp-block-comment-template > li {
	padding: 22px 0;
	border-top: 1px solid #e5e5e5;
}

.nk-ed-comments .wp-block-comment-author-name {
	font-family: var(--nk-sans);
	font-size: 14px;
	font-weight: 700;
}

.nk-ed-comments .wp-block-comment-date,
.nk-ed-comments .wp-block-comment-reply-link {
	color: #888;
	font-family: var(--nk-sans);
	font-size: 11px;
}

.nk-ed-comments .wp-block-comment-content {
	margin-top: 8px;
	font-family: var(--nk-serif);
	font-size: 16px;
	line-height: 23px;
}

.nk-ed-comments .comment-reply-title {
	margin: 40px 0 12px;
	font-family: var(--nk-sans);
	font-size: 22px;
}

.nk-ed-comments label {
	display: block;
	margin-bottom: 7px;
	font-size: 12px;
	font-weight: 700;
}

.nk-ed-comments textarea,
.nk-ed-comments input:not([type="submit"]):not([type="checkbox"]) {
	width: 100%;
	padding: 12px;
	border: 1px solid #bbb;
	border-radius: 0;
	background: #fff;
	font: inherit;
}

.nk-ed-comments textarea {
	min-height: 150px;
	resize: vertical;
}

.nk-ed-comments .form-submit input,
.nk-ed-comments .wp-block-button__link {
	padding: 14px 24px;
	border: 0;
	border-radius: 999px;
	background: #000;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.nk-ed-listing {
	min-height: 70vh;
	padding: 64px 56px 100px;
	background: var(--nk-paper);
}

.nk-ed-listing-title,
.nk-ed-search-form,
.nk-ed-listing-query {
	max-width: 1152px;
	margin-right: auto;
	margin-left: auto;
}

.nk-ed-listing-title {
	margin-top: 0;
	margin-bottom: 42px;
	font-family: var(--nk-serif);
	font-size: 72px;
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 0.95;
}

.nk-ed-search-form {
	margin-bottom: 42px;
}

.nk-ed-search-form .wp-block-search__input {
	border: 1px solid #bbb;
	border-radius: 999px;
}

.nk-ed-search-form .wp-block-search__button {
	border-radius: 999px;
	background: #000;
	color: #fff;
}

@media (min-width: 721px) and (max-width: 1099px) {
	body.home,
	body.blog {
		min-width: 1080px;
	}

	.nk-ed-hero,
	.nk-ed-side {
		height: 363px;
	}

	.nk-ed-card {
		height: 242px;
	}
}

@media (max-width: 1150px) and (min-width: 721px) {
	.nk-ed-navigation {
		gap: 22px;
	}

	.nk-ed-search-toggle {
		display: none;
	}

}

@media (max-width: 720px) {
	html,
	body {
		min-width: 0;
		overflow-x: clip;
	}

	.nk-ed-header,
	.nk-ed-header-inner {
		height: 48px;
	}

	.single .nk-ed-header,
	.single .nk-ed-header-inner {
		height: 60px;
	}

	.nk-ed-header {
		position: relative;
	}

	.admin-bar.home .nk-ed-header {
		top: 46px;
	}

	.home .nk-ed-home {
		padding-top: 48px;
	}

	.nk-ed-header-inner {
		justify-content: center;
		padding: 0 8px;
	}

	.nk-ed-brand {
		position: absolute;
		top: 50%;
		left: 50%;
		width: auto;
		margin: 0 !important;
		font-size: 0;
		transform: translate(-50%, -50%);
	}

	.nk-ed-brand a::after {
		font-size: 20px;
		content: "Наукоград Королёв";
	}

	.nk-ed-menu-button,
	.nk-ed-search-toggle {
		display: block;
		position: absolute;
		top: 50%;
		z-index: 2;
		transform: translateY(-50%);
	}

	.nk-ed-menu-button {
		left: 16px;
		width: 22px;
		height: 18px;
		padding: 0;
		border: 0;
		background: transparent;
		cursor: pointer;
		font-size: 0;
	}

	.nk-ed-menu-button::before,
	.nk-ed-menu-button::after,
	.nk-ed-menu-button span {
		position: absolute;
		left: 0;
		display: block;
		width: 22px;
		border-top: 2px solid #fff;
		content: "";
	}

	.nk-ed-menu-button::before {
		top: 1px;
	}

	.nk-ed-menu-button span {
		top: 8px;
	}

	.nk-ed-menu-button::after {
		top: 15px;
	}

	.nk-ed-navigation {
		display: none !important;
	}

	.nk-ed-districts-panel {
		display: none;
	}

	.nk-ed-search-toggle {
		right: 14px;
		min-width: 0;
		width: 19px;
		height: 19px;
		padding: 0;
		border: 2px solid #fff;
		border-radius: 50%;
		background: transparent;
		margin: 0;
	}

	.nk-ed-search-toggle::after {
		position: absolute;
		display: block;
		right: -5px;
		bottom: -3px;
		width: 7px;
		border-top: 2px solid #fff;
		content: "";
		transform: rotate(48deg);
	}

	.nk-ed-search-toggle span {
		display: none;
	}

	.nk-ed-search-panel {
		top: 48px;
		height: 56px;
		padding: 0 14px;
	}

	.single .nk-ed-search-panel {
		top: 60px;
	}

	.admin-bar .nk-ed-search-panel {
		top: 94px;
	}

	.admin-bar.single .nk-ed-search-panel {
		top: 106px;
	}

	.nk-ed-search-panel input {
		font-size: 17px;
	}

	.nk-ed-drawer-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 88;
		background: rgba(0, 0, 0, 0.72);
		opacity: 0;
		pointer-events: none;
		transition: opacity 220ms ease;
	}

	.nk-ed-mobile-drawer {
		display: flex;
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 90;
		flex-direction: column;
		width: min(330px, calc(100vw - 60px));
		overflow-y: auto;
		overscroll-behavior-y: contain;
		padding: 18px 16px 32px;
		background: var(--nk-charcoal);
		color: #fff;
		pointer-events: none;
		transform: translateX(-105%);
		transition: transform 260ms ease;
	}

	.admin-bar .nk-ed-drawer-backdrop,
	.admin-bar .nk-ed-mobile-drawer {
		top: 46px;
	}

	.nk-ed-drawer-open {
		overflow: hidden;
	}

	.nk-ed-drawer-open .nk-ed-drawer-backdrop {
		opacity: 1;
		pointer-events: auto;
	}

	.nk-ed-drawer-open .nk-ed-mobile-drawer {
		pointer-events: auto;
		transform: translateX(0);
	}

	.nk-ed-drawer-head {
		display: grid;
		grid-template-columns: 40px 1fr 40px;
		align-items: center;
		min-height: 82px;
		border-bottom: 1px solid #555;
	}

	.nk-ed-drawer-close {
		grid-column: 1;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 0;
		background: transparent;
		color: #fff;
		cursor: pointer;
		font-size: 28px;
		text-align: left;
	}

	.nk-ed-drawer-brand {
		grid-column: 2;
		font-family: var(--nk-serif);
		font-size: 30px;
		font-weight: 700;
		text-align: center;
	}

	.nk-ed-mobile-drawer nav {
		display: grid;
		gap: 0;
		padding: 18px 0;
		border-bottom: 1px solid #555;
	}

	.nk-ed-mobile-drawer nav a,
	.nk-ed-drawer-secondary a {
		display: block;
		padding: 13px 8px;
		font-size: 17px;
		font-weight: 700;
		line-height: 22px;
	}

	.nk-ed-mobile-drawer nav a::before {
		margin-right: 14px;
		color: #777;
		content: "•";
	}

	.nk-ed-drawer-districts {
		padding: 22px 8px 24px;
		border-bottom: 1px solid #555;
	}

	.nk-ed-drawer-districts h2 {
		margin: 0 0 16px;
		font-family: var(--nk-serif);
		font-size: 28px;
		line-height: 32px;
	}

	.nk-ed-drawer-districts > div {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2px 12px;
	}

	.nk-ed-drawer-districts a {
		display: block;
		padding: 9px 0;
		border-bottom: 1px solid #333;
		font-size: 14px;
		font-weight: 700;
		line-height: 18px;
	}

	.nk-ed-drawer-secondary {
		display: grid;
		padding-top: 18px;
	}

	.nk-ed-drawer-secondary a:last-child {
		margin-top: 10px;
		border-top: 1px solid #555;
		color: var(--nk-yellow);
	}

	.nk-ed-stories {
		padding: 0 8px 8px;
	}

	.nk-ed-dashboard {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
		width: 100%;
	}

	.nk-ed-hero-query {
		grid-column: 1;
		grid-row: 1;
	}

	.nk-ed-hero {
		height: calc((100vw - 16px) * 0.9);
	}

	.nk-ed-hero-label {
		top: 18px;
		left: 16px;
	}

	.nk-ed-label {
		min-height: 38px;
		font-size: 14px;
		line-height: 34px;
	}

	.nk-ed-hero-copy {
		right: 16px;
		bottom: 17px;
		left: 16px;
	}

	.nk-ed-hero-copy .wp-block-post-title {
		max-width: none;
		font-size: 28px;
		letter-spacing: normal;
		line-height: 28px;
		-webkit-line-clamp: 3;
	}

	.nk-ed-hero-copy .wp-block-post-excerpt {
		max-width: none;
		margin-top: 16px;
		font-size: 14px;
		font-weight: 500;
		line-height: 18.2px;
		-webkit-line-clamp: 4;
	}

	.nk-ed-hero-copy .wp-block-post-date {
		margin-top: 6px;
		font-size: 11px;
		line-height: 14px;
	}

	.nk-ed-card-query {
		grid-column: 1;
		grid-row: 2;
		width: calc(100% + 16px);
		margin: 0 -8px;
		overflow: hidden;
	}

	.nk-ed-card-query .wp-block-post-template {
		display: flex;
		gap: 8px;
		width: 100%;
		overflow-x: auto;
		padding: 0 8px;
		scrollbar-width: none;
	}

	.nk-ed-card-query .wp-block-post-template::-webkit-scrollbar {
		display: none;
	}

	.nk-ed-card-query .wp-block-post-template > li {
		flex: 0 0 calc((100vw - 16px) * 0.56);
	}

	.nk-ed-card {
		height: calc((100vw - 16px) * 0.56);
	}

	.nk-ed-card-label {
		top: 16px;
		left: 16px;
	}

	.nk-ed-card .wp-block-post-title {
		right: 16px;
		bottom: 15px;
		left: 16px;
		max-height: 5em;
		font-size: 20px;
		line-height: 20px;
		-webkit-line-clamp: 5;
	}

	.nk-ed-side {
		grid-column: 1;
		grid-row: 3;
		width: 100%;
		height: auto;
		min-height: 665px;
		padding: 16px 16px 28px;
	}

	.nk-ed-side::after {
		display: none;
	}

	.nk-ed-side-label {
		margin-bottom: 32px;
	}

	.nk-ed-side-query {
		flex: 0 0 auto;
		overflow: visible;
	}

	.nk-ed-side-query .wp-block-post-template {
		gap: 26px;
		height: auto;
		overflow-y: visible;
		padding-bottom: 0;
	}

	.nk-ed-side-item {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 24px;
		min-height: 72px;
	}

	.nk-ed-side-copy .wp-block-post-title {
		font-size: 16px;
		line-height: 19.2px;
	}

	.nk-ed-promo {
		grid-template-columns: 1fr;
		gap: 0;
		width: 100%;
		height: 359px;
		min-height: 359px;
		margin-top: 8px;
		padding: 56px 40px;
		border-radius: 48px;
	}

	.nk-ed-promo-mark {
		display: none;
	}

	.nk-ed-promo-mark::before,
	.nk-ed-promo-mark::after {
		width: 110px;
		height: 110px;
	}

	.nk-ed-promo-mark p {
		font-size: 38px;
	}

	.nk-ed-promo-copy {
		width: auto;
		max-width: none;
		padding-top: 0;
		text-align: center;
		justify-self: auto;
	}

	.nk-ed-promo-copy h2 {
		font-size: 20px;
		line-height: 20px;
	}

	.nk-ed-promo-copy p {
		margin-top: 14px;
		font-size: 16px;
		line-height: 19.2px;
	}

	.nk-ed-promo-copy .wp-block-buttons {
		justify-content: center;
		margin-top: 40px;
	}

	.nk-ed-promo-copy .wp-block-button__link {
		min-width: 209px;
		padding: 18.7px 26px;
		font-size: 16px;
		line-height: 20px;
	}

	.nk-ed-journal {
		width: calc(100% - 16px);
		margin: 0 8px;
		padding: 40px 0 128px;
	}

	.nk-ed-journal-masthead {
		width: 100%;
		height: 116px;
	}

	.nk-ed-journal-masthead p {
		top: 0;
		left: 36%;
		font-size: 11px;
		line-height: 13px;
	}

	.nk-ed-journal-masthead h2 {
		bottom: 0;
		font-size: 25vw;
		line-height: 0.84;
	}

	.nk-ed-journal-query {
		height: 319px;
		margin-top: 32px;
	}

	.nk-ed-listing-query .wp-block-post-template {
		grid-template-columns: 1fr;
		gap: 42px;
	}

	.nk-ed-journal-query .wp-block-post-template {
		display: flex !important;
		gap: 8px;
		height: 275px;
		padding: 0 10%;
	}

	.nk-ed-journal-query .wp-block-post-template > li {
		flex: 0 0 80%;
	}

	.nk-ed-journal-card {
		height: 275px;
		padding: 18px 14px 0;
	}

	.nk-ed-journal-card .wp-block-post-featured-image {
		width: 70%;
		height: 48%;
	}

	.nk-ed-journal-card .wp-block-post-date {
		font-size: 10px;
		line-height: 12px;
	}

	.nk-ed-listing-card .wp-block-post-title {
		font-size: 28px;
	}

	.nk-ed-journal-card .wp-block-post-title {
		margin-top: 30px;
		font-size: 27px;
		line-height: 0.9;
	}

	.nk-ed-journal-actions {
		margin-top: 40px;
	}

	.nk-ed-journal-actions .wp-block-button__link {
		min-width: 209px;
		padding: 15px 24px;
		font-size: 15px;
	}

	.nk-ed-home-lower {
		padding: 8px 8px 48px;
	}

	.nk-ed-collection {
		margin-bottom: 8px;
		padding: 32px 16px 40px;
		border-radius: 36px;
	}

	.nk-ed-collection-head {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
		margin-bottom: 28px;
	}

	.nk-ed-collection-head h2 {
		font-size: 24px;
		line-height: 27px;
	}

	.nk-ed-collection-query .wp-block-post-template,
	.nk-ed-feature-query .wp-block-post-template {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.nk-ed-popular-query .wp-block-post-template > li:first-child,
	.nk-ed-feature-query .wp-block-post-template > li:first-child {
		grid-column: auto;
		grid-row: auto;
	}

	.nk-ed-popular-query .wp-block-post-template > li:first-child .wp-block-post-title,
	.nk-ed-feature-query .wp-block-post-template > li:first-child .wp-block-post-title {
		font-size: 28px;
		line-height: 29px;
	}

	.nk-ed-collection-card .wp-block-post-featured-image,
	.nk-ed-popular-query .wp-block-post-template > li:first-child .wp-block-post-featured-image,
	.nk-ed-feature-query .wp-block-post-template > li:first-child .wp-block-post-featured-image {
		aspect-ratio: 4 / 3;
		border-radius: 14px;
	}

	.nk-ed-collection-card .wp-block-post-title {
		font-size: 23px;
		line-height: 24px;
	}

	.nk-ed-newsletter {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 32px 24px;
		border-radius: 32px;
		text-align: center;
	}

	.nk-ed-newsletter h2 {
		font-size: 28px;
		line-height: 29px;
	}

	.nk-ed-newsletter .wp-block-buttons {
		justify-content: center;
	}

	.nk-ed-footer {
		padding: 40px 16px 28px;
	}

	.nk-ed-footer-inner {
		display: grid !important;
		gap: 14px;
	}

	.nk-ed-footer-top {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.nk-ed-footer .wp-block-site-title,
	.nk-ed-footer-brand {
		font-size: 30px;
	}

	.nk-ed-footer-links {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.nk-ed-footer-bottom {
		align-items: flex-start;
		flex-direction: column;
		margin-top: 36px;
	}

	.nk-ed-journal-bar {
		height: 101px;
		overflow: hidden;
	}

	.nk-ed-journal-bar-inner {
		display: grid;
		grid-template-columns: 1fr;
		width: 100%;
		height: 101px;
	}

	.nk-ed-journal-wordmark {
		display: grid;
		height: 64px;
		border-bottom: 1px solid #e6e6e6;
		font-size: 28px;
		place-items: center;
	}

	.nk-ed-journal-links {
		display: flex;
		gap: 32px;
		height: 37px;
		overflow: hidden;
		padding: 0 24px;
	}

	.nk-ed-journal-links p {
		flex: 0 0 auto;
		color: #aaa;
		font-size: 12px;
		line-height: 37px;
	}

	.nk-ed-random {
		display: none;
	}

	.nk-ed-single {
		background: #fff;
	}

	.nk-ed-paper {
		width: 100%;
		padding-bottom: 64px;
	}

	.nk-ed-article-head,
	.nk-ed-content,
	.nk-ed-post-terms,
	.nk-ed-post-navigation,
	.nk-ed-comments {
		width: calc(100% - 20px);
		max-width: 370px;
	}

	.nk-ed-article-meta {
		gap: 7px;
		min-height: 38px;
		max-height: 60px;
		padding-top: 18px;
		font-size: 11px;
		line-height: 20px;
	}

	.nk-ed-article-head > .wp-block-post-title {
		margin-top: 10px;
		font-size: 27px;
		line-height: 28px;
	}

	.nk-ed-deck {
		margin-top: 8px;
		font-size: 16px;
		line-height: 20px;
		-webkit-line-clamp: 4;
	}

	.nk-ed-author {
		margin-top: 20px;
		font-size: 12px;
		line-height: 25px;
	}

	.nk-ed-share {
		width: 100%;
		margin-top: 20px;
	}

	.nk-ed-share p {
		height: 35px;
	}

	.nk-ed-content {
		margin-top: 30px;
		font-size: 16px;
		line-height: 23px;
	}

	.nk-ed-content > *,
	.nk-ed-content figure,
	.nk-ed-content .wp-block-gallery,
	.nk-ed-content .alignwide,
	.nk-ed-content .alignfull {
		position: static;
		width: 100%;
		max-width: 100%;
		margin-right: 0;
		margin-left: 0;
		transform: none;
	}

	.nk-ed-content > .nk-ed-gallery-shell {
		position: relative;
		width: 100%;
		max-width: 100%;
		margin: 32px 0;
		padding-bottom: 50px;
	}

	.nk-ed-content p {
		margin-bottom: 20px;
	}

	.nk-ed-content h2 {
		font-size: 28px;
	}

	.nk-ed-content h3 {
		font-size: 23px;
	}

	.nk-ed-content blockquote {
		padding-left: 18px;
		font-size: 20px;
		line-height: 26px;
	}

	.nk-ed-post-navigation {
		grid-template-columns: 1fr;
	}

	.nk-ed-comments .wp-block-comments-title {
		font-size: 24px;
		line-height: 28px;
	}

	.nk-ed-listing {
		padding: 42px 10px 72px;
	}

	.nk-ed-listing-title {
		margin-bottom: 32px;
		font-size: 48px;
	}

	.nk-ed-search-form {
		margin-bottom: 32px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.nk-ed-hero .wp-block-post-featured-image img,
	.nk-ed-card .wp-block-post-featured-image img,
	.nk-ed-journal-card .wp-block-post-featured-image img,
	.nk-ed-listing-card .wp-block-post-featured-image img {
		transition: none;
	}

	.nk-ed-search-panel,
	.nk-ed-districts-panel,
	.nk-ed-districts-toggle span,
	.nk-ed-drawer-backdrop,
	.nk-ed-mobile-drawer,
	.nk-ed-journal-dot {
		transition: none;
	}

	.nk-ed-journal-query .wp-block-post-template,
	.nk-ed-content .nk-ed-gallery-shell .nk-ed-gallery {
		scroll-behavior: auto;
	}
}
