/*
Theme Name: znachenie
Description: Лёгкая адаптивная стартовая тема для контентных сайтов и блогов.
Author: Jana Smoll
Version: 1.0.75
Text Domain: znachenie
*/

/* =========================
   RESET / НОРМАЛИЗАЦИЯ
   ========================= */

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

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
}

main {
	display: block;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
	border: 0;
}

pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

a {
	background-color: transparent;
}

abbr[title] {
	border-bottom: none;
	text-decoration: underline dotted;
}

b,
strong {
	font-weight: bolder;
}

code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

img {
	border-style: none;
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button,
input {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	appearance: button;
	-webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

fieldset {
	padding: 0;
	border: 0;
	margin: 0;
}

legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

progress {
	vertical-align: baseline;
}

textarea {
	overflow: auto;
}

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	appearance: textfield;
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

details {
	display: block;
}

summary {
	display: list-item;
}

template {
	display: none;
}

[hidden] {
	display: none;
}

/* =========================
   БАЗА САЙТА
   ========================= */


:root {
	--znachenie-bg: #FCFCFB;
	--znachenie-surface: #FBFAF7;
	--znachenie-soft: #E8EEF6;
	--znachenie-text: #243246;
	--znachenie-ink: #0A1B33;
	--znachenie-muted: #5B677A;
	--znachenie-line: #90A4BF;
	--znachenie-border: rgba(144, 164, 191, 0.38);
	--znachenie-brand: #0E3F7A;
	--znachenie-icon-size: 65px;
	--znachenie-divider-width: 380px;
}


body {
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.65;
	background-color: var(--znachenie-bg);
	color: var(--znachenie-text);
}

a {
	color: var(--znachenie-brand);
	text-decoration: none;
	transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover,
a:focus {
	color: var(--znachenie-brand);
	text-decoration: underline;
}

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

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

header,
nav,
main,
footer,
section,
article,
aside {
	display: block;
}

.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background-color: var(--znachenie-bg);
}

.site-content {
	flex: 1;
	padding: 24px 0 32px;
	background-color: var(--znachenie-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Montserrat", Arial, sans-serif;
	color: var(--znachenie-brand);
	line-height: 1.2;
	margin-top: 0;
	margin-bottom: 0.6em;
	font-weight: 700;
}

p {
	margin-top: 0;
	margin-bottom: 1em;
}

ul,
ol {
	margin: 0 0 1em 1.5em;
	padding: 0;
}

/* =========================
   КЛАСС ДЛЯ ЧИТАТЕЛЕЙ ЭКРАНА
   ========================= */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--znachenie-bg);
	clip: auto !important;
	clip-path: none;
	color: var(--znachenie-ink);
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* =========================
   ШАПКА
   ========================= */

.site-header {
	background-color: var(--znachenie-bg);
	border-bottom: 1px solid var(--znachenie-line);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 0 12px;
}

.site-branding {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.site-title {
	font-size: 24px;
	font-weight: 700;
	margin: 0;
	line-height: 1.2;
}

.site-title a {
	font-size: 28px;
	font-weight: 700;
	color: #0E3F7A;
	text-decoration: none;
}

.site-description {
	font-size: 15px;
	color: var(--znachenie-muted);
	margin: 0;
	line-height: 1.4;
}

.main-navigation {
	font-size: 16px;
}

.main-navigation .menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation .menu li {
	margin: 0;
	padding: 0;
}

.main-navigation .menu li a {
	display: inline-block;
	padding: 0;
	color: var(--znachenie-muted);
	line-height: 1.4;
}

.main-navigation .menu li a:hover,
.main-navigation .menu li a:focus {
	background-color: transparent;
	color: var(--znachenie-brand);
	text-decoration: underline;
}

/* =========================
   СПИСОК ЗАПИСЕЙ (index.php)
   ========================= */

.post-card {
	background-color: transparent;
	padding: 0 0 20px;
	margin-bottom: 28px;
}

.post-card__header {
	margin-bottom: 10px;
}

.post-card__title {
	font-size: 28px;
	line-height: 1.2;
	margin: 0 0 8px;
}

.post-card__title a {
	color: var(--znachenie-ink);
}

.post-card__title a:hover,
.post-card__title a:focus {
	color: var(--znachenie-brand);
}

.post-card__title a:hover {
	text-decoration: underline;
}

.post-card__meta {
	font-size: 14px;
	color: var(--znachenie-muted);
	margin-bottom: 12px;
}

.post-card__excerpt {
	font-size: 18px;
	color: var(--znachenie-text);
	line-height: 1.7;
}

.posts-navigation {
	margin-top: 32px;
	display: flex;
	justify-content: center;
}

.posts-navigation .page-numbers {
	display: inline-block;
	margin: 0 6px;
	padding: 0;
	font-size: 16px;
	color: var(--znachenie-text);
	background: transparent;
}

.posts-navigation .page-numbers.current,
.posts-navigation .page-numbers:hover,
.posts-navigation .page-numbers:focus {
	background-color: transparent;
	color: var(--znachenie-brand);
	text-decoration: underline;
}

/* =========================
   ОТДЕЛЬНАЯ ЗАПИСЬ (single.php)
   ========================= */

.post-single {
	background-color: transparent;
	padding: 0;
}

.post-single__header {
	margin-bottom: 20px;
}

.post-single__title {
	font-size: 36px;
	line-height: 1.15;
	margin: 0 0 10px;
}

.post-single__meta {
	font-size: 14px;
	color: var(--znachenie-muted);
}

.post-layout .container {
	max-width: 860px;
	padding-top: 40px;
	padding-bottom: 40px;
}

.post-single__lead {
	margin: 20px 0 28px;
	font-size: 19px;
	line-height: 1.6;
	color: var(--znachenie-muted);
}

.post-single__lead p:last-child {
	margin-bottom: 0;
}

.post-single__thumbnail {
	margin: 0 0 28px;
}

.post-single__thumbnail img {
	display: block;
	width: 100%;
	height: auto;
}

.post-single__content {
	font-size: 17px;
	color: var(--znachenie-text);
	line-height: 1.7;
}

.post-single__content p {
	margin-bottom: 1em;
}

.post-single__content h2,
.post-single__content h3,
.post-single__content h4 {
	margin-top: 1.3em;
	margin-bottom: 0.5em;
}

.post-single__content h2 {
	font-size: 30px;
	line-height: 1.25;
}

.post-single__content h3 {
	font-size: 24px;
	line-height: 1.3;
}

.post-single__content h4 {
	font-size: 20px;
	line-height: 1.35;
}


/* =========================
   СТРАНИЦА (page.php)
   ========================= */

.page-single {
	background-color: transparent;
	padding: 0;
}

.page-single__header {
	margin-bottom: 20px;
}

.page-single__title {
	font-size: 36px;
	line-height: 1.15;
	margin: 0;
}

.page-single__content {
	font-size: 17px;
	color: var(--znachenie-text);
	line-height: 1.7;
}

.page-single__content p {
	margin-bottom: 1em;
}

.page-links {
	margin-top: 16px;
	font-size: 15px;
}

.page-header {
	margin-bottom: 20px;
}

.page-title {
	font-size: 30px;
	margin: 0 0 8px;
	line-height: 1.2;
}

.page-description {
	font-size: 16px;
	color: var(--znachenie-muted);
}

/* =========================
   404 / НИЧЕГО НЕ НАЙДЕНО
   ========================= */

.no-results,
.not-found {
	background-color: transparent;
	padding: 0;
}

/* =========================
   ФОРМА ПОИСКА
   ========================= */

.search-form {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	max-width: 420px;
}

.search-form label {
	flex: 1;
}

.search-form .search-field {
	width: 100%;
	padding: 10px 0;
	border: 0;
	outline: none;
	background: transparent;
	font-size: 16px;
	color: var(--znachenie-text);
}

.search-form .search-submit {
	padding: 10px 0;
	border: 0;
	background-color: transparent;
	color: var(--znachenie-brand);
	font-size: 16px;
	cursor: pointer;
	font-weight: 600;
}

.search-form .search-submit:hover {
	background-color: transparent;
	text-decoration: underline;
}

/* =========================
   ФУТЕР
   ========================= */

.site-footer {
	margin-top: auto;
	background-color: var(--znachenie-bg);
	border-top: 1px solid var(--znachenie-line);
	padding: 24px 0;
	font-size: 15px;
	color: var(--znachenie-muted);
}

.site-footer__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.site-footer__copyright {
	white-space: nowrap;
}

/* =========================
   КОММЕНТАРИИ
   ========================= */

.comments-area {
	margin-top: 40px;
	background-color: transparent;
	padding: 0;
	font-size: 15px;
}

.comment-list {
	list-style: none;
	margin: 0 0 1em 0;
	padding: 0;
}

.comment {
	margin-bottom: 18px;
}

.comment-meta {
	margin-bottom: 4px;
	font-size: 13px;
	color: var(--znachenie-muted);
}

.comment-content {
	font-size: 15px;
	line-height: 1.7;
}

/* =========================
   БЛОК-РЕДАКТОР (МИНИМУМ)
   ========================= */

.alignwide {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.alignfull {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.wp-block-image {
	margin-bottom: 1em;
}

/* =========================
   ГЛАВНАЯ СТРАНИЦА
   ========================= */

.front-page main.front-page {
	padding-top: 16px;
	background-color: var(--znachenie-bg);
}

.front-hero {
	margin-bottom: 40px;
}

.front-hero__inner {
	background-color: transparent;
	padding: 0;
}

.front-hero__title {
	font-size: 40px;
	line-height: 1.15;
	margin-bottom: 12px;
}

.front-hero__subtitle {
	font-size: 20px;
	color: var(--znachenie-muted);
	margin-bottom: 14px;
	line-height: 1.6;
}

.front-hero__text {
	font-size: 18px;
	color: var(--znachenie-text);
	line-height: 1.7;
}

.front-latest__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}

.front-latest__title {
	font-size: 30px;
	margin: 0;
	line-height: 1.2;
}

.front-latest__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

@media (min-width: 768px) {
	.front-latest__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.front-latest__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* =========================
   КНОПКА БУРГЕРА
   ========================= */

.menu-toggle {
	display: none;
	align-items: center;
	gap: 6px;
	padding: 0;
	border: 0;
	background-color: transparent;
	font-size: 16px;
	color: var(--znachenie-brand);
	cursor: pointer;
}

.menu-toggle__text {
	line-height: 1;
}

.menu-toggle__icon {
	position: relative;
	width: 18px;
	height: 14px;
	display: inline-block;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after,
.menu-toggle__icon span {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	height: 2px;
	background-color: var(--znachenie-brand);
	border-radius: 999px;
}

.menu-toggle__icon span {
	top: 6px;
}

.menu-toggle__icon::before {
	top: 0;
}

.menu-toggle__icon::after {
	bottom: 0;
}

/* =========================
   АДАПТИВ
   ========================= */

@media (max-width: 767px) {
	.site-header__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.menu-toggle {
		display: inline-flex;
		align-self: flex-end;
		margin-left: auto;
	}

	.main-navigation {
		display: none;
		width: 100%;
		margin-top: 8px;
	}

	.main-navigation.main-navigation--open {
		display: block;
	}

	.main-navigation .menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.main-navigation .menu li a {
		display: block;
		width: 100%;
	}

	.site-footer__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.post-single,
	.page-single {
		padding: 0;
	}

	.post-single__title,
	.page-single__title,
	.entry-title {
		font-size: 30px;
	}

	.front-hero__title {
		font-size: 32px;
	}

	.front-latest__title,
	.page-title {
		font-size: 26px;
	}

	.post-card__title {
		font-size: 24px;
	}
}

@media (min-width: 960px) {
	.site-header__inner {
		padding: 18px 0 14px;
	}

	.post-single,
	.page-single {
		padding: 0;
	}
}

/* =========================
   BREADCRUMBS
   ========================= */

.breadcrumbs {
	margin-bottom: 24px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--znachenie-muted);
}

.breadcrumbs a {
	color: var(--znachenie-brand);
	text-decoration: none;
}

.breadcrumbs a:hover {
	text-decoration: underline;
}

.breadcrumbs-separator {
	margin: 0 6px;
	color: var(--znachenie-line);
}

/* =========================
   GENERIC ENTRY TITLE
   ========================= */

.entry-title {
	font-size: 36px;
	line-height: 1.15;
	margin: 0 0 12px;
	color: var(--znachenie-brand);
}

/* =========================
   SONNIK CATEGORY ARCHIVE
   ========================= */

.catalog-archive-page .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

.catalog-archive-header {
	max-width: 860px;
	margin-bottom: 36px;
}

.catalog-archive-title {
	font-size: 38px;
	line-height: 1.15;
	margin: 0 0 14px;
	color: var(--znachenie-brand);
}

.catalog-archive-description {
	font-size: 18px;
	line-height: 1.6;
	color: var(--znachenie-muted);
}

.catalog-archive-description p:last-child {
	margin-bottom: 0;
}

.catalog-archive-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px 24px;
}

@media (min-width: 768px) {
	.catalog-archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.catalog-archive-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.catalog-card {
	background: transparent;
}

.catalog-card__thumb {
	display: block;
	margin-bottom: 18px;
}

.catalog-card__thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.catalog-card__content {
	display: block;
}





.catalog-card__title {
	font-size: 26px;
	line-height: 1.2;
	margin: 0 0 12px;
}

.catalog-card__title a {
	color: var(--znachenie-ink);
	text-decoration: none;
}

.catalog-card__title a:hover,
.catalog-card__title a:focus {
	color: var(--znachenie-brand);
	text-decoration: underline;
}

.catalog-card__excerpt {
	font-size: 17px;
	line-height: 1.7;
	color: var(--znachenie-text);
	margin-bottom: 14px;
}

.catalog-card__excerpt p:last-child {
	margin-bottom: 0;
}

.catalog-card__meta {
	font-size: 14px;
	line-height: 1.4;
	color: var(--znachenie-muted);
}

.catalog-archive-empty {
	font-size: 18px;
	color: var(--znachenie-muted);
}

@media (max-width: 767px) {
	.entry-title {
		font-size: 30px;
	}

	.catalog-archive-title {
		font-size: 32px;
	}

	.catalog-card__title {
		font-size: 22px;
	}
}

/* =========================
   SONNIK ALPHABET INDEX
   ========================= */

.catalog-index {
	margin: 0 0 48px;
}

.catalog-index__title {
	margin: 0 0 20px;
	font-size: 28px;
	line-height: 1.2;
	color: var(--znachenie-ink);
}

.catalog-index__alphabet {
	display: flex;
	flex-wrap: wrap;
	gap: 7px 10px;
	padding: 0 0 20px;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--znachenie-line);
}

.catalog-index__alphabet a,
.catalog-index__alphabet span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 30px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.catalog-index__alphabet a {
	color: var(--znachenie-brand);
}

.catalog-index__alphabet a:hover,
.catalog-index__alphabet a:focus {
	text-decoration: underline;
}

.catalog-index__alphabet span {
	color: var(--znachenie-line);
}

.catalog-index__groups {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 44px;
	row-gap: 28px;
}

.catalog-index__group {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	scroll-margin-top: 100px;
}

.catalog-index__letter {
	margin: 0;
	font-size: 30px;
	line-height: 1;
	color: var(--znachenie-brand);
}

.catalog-index__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.catalog-index__list li {
	margin: 0 0 8px;
}

.catalog-index__list li:last-child {
	margin-bottom: 0;
}

.catalog-index__list a {
	color: var(--znachenie-text);
	font-size: 17px;
	line-height: 1.45;
	text-decoration: none;
}

.catalog-index__list a:hover,
.catalog-index__list a:focus {
	color: var(--znachenie-brand);
	text-decoration: underline;
}

@media (max-width: 767px) {
	.catalog-index {
		margin-bottom: 38px;
	}

	.catalog-index__title {
		font-size: 24px;
	}

	.catalog-index__groups {
		grid-template-columns: 1fr;
		row-gap: 24px;
	}
}

/* =========================
   FRONT PAGE
   ========================= */

.front-page {
	background-color: var(--znachenie-bg);
}

.front-page .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px 56px;
}

.front-hero {
	margin-bottom: 56px;
}

.front-hero__inner {
	max-width: 860px;
	background: var(--znachenie-bg);
	padding: 0;
}

.front-hero__title {
	font-size: 42px;
	line-height: 1.1;
	margin: 0 0 16px;
	color: var(--znachenie-brand);
}

.front-hero__subtitle {
	font-size: 20px;
	line-height: 1.5;
	color: var(--znachenie-muted);
	margin-bottom: 16px;
}

.front-hero__text {
	font-size: 18px;
	line-height: 1.7;
	color: var(--znachenie-text);
	max-width: 860px;
}

.front-hero__text p:last-child {
	margin-bottom: 0;
}

.front-latest {
	margin-top: 0;
}

.front-latest__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 28px;
}

.front-latest__title {
	font-size: 32px;
	line-height: 1.15;
	margin: 0;
	color: var(--znachenie-brand);
}

.front-latest__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px 24px;
}

.front-more {
	margin-top: 32px;
}

.front-more__link {
	display: inline-block;
	font-size: 18px;
	font-weight: 600;
	color: var(--znachenie-brand);
	text-decoration: none;
}

.front-more__link:hover {
	text-decoration: underline;
}

@media (min-width: 768px) {
	.front-latest__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.front-latest__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.front-page .container {
		padding: 32px 20px 48px;
	}

	.front-hero {
		margin-bottom: 44px;
	}

	.front-hero__title {
		font-size: 36px;
	}

	.front-hero__subtitle {
		font-size: 18px;
	}

	.front-hero__text {
		font-size: 18px;
	}

	.front-latest__title {
		font-size: 30px;
	}
}


/* =========================
   QUICK MEANING
   ========================= */

.quick-meaning {
	margin: 40px 0 48px;
	padding: 28px 32px;
	background: var(--znachenie-soft);
	position: relative;
}

.quick-meaning::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 6px;
	background: var(--znachenie-brand);
}

.quick-meaning h2 {
	margin: 0 0 18px;
	font-size: 30px;
	line-height: 1.15;
	color: var(--znachenie-brand);
}

.quick-meaning p {
	margin-bottom: 18px;
	font-size: 17px;
	line-height: 1.75;
	color: var(--znachenie-text);
}

.quick-meaning p:last-child {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.quick-meaning {
		margin: 32px 0 40px;
		padding: 22px 20px 22px 24px;
	}

	.quick-meaning h2 {
		font-size: 28px;
	}

	.quick-meaning p {
		font-size: 18px;
		line-height: 1.7;
	}
}

/* =========================
   COMMENTS: DREAMBOOK
   ========================= */

.comments-area {
	margin-top: 56px;
	padding-top: 8px;
	background: var(--znachenie-bg);
	font-family: "Montserrat", Arial, sans-serif;
}

.comments-area .comments-title,
.comments-area .comment-reply-title {
	font-size: 30px;
	line-height: 1.2;
	margin: 0 0 24px;
	color: var(--znachenie-brand);
}

.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-list .comment {
	margin: 0 0 28px;
	padding: 0 0 28px;
	border-bottom: 0;
}

.comment-body {
	padding: 0;
	background: transparent;
}

.comment-meta {
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--znachenie-muted);
}

.comment-author {
	font-size: 18px;
	font-weight: 700;
	color: var(--znachenie-ink);
}

.comment-author .fn a,
.comment-author a {
	color: var(--znachenie-ink);
	text-decoration: none;
}

.comment-author .fn a:hover,
.comment-author a:hover {
	text-decoration: underline;
}

.comment-metadata a {
	color: var(--znachenie-muted);
	text-decoration: none;
	font-size: 14px;
}

.comment-metadata a:hover {
	text-decoration: underline;
}

.comment-content {
	margin-top: 12px;
	font-size: 17px;
	line-height: 1.75;
	color: var(--znachenie-text);
}

.comment-content p:last-child {
	margin-bottom: 0;
}

.reply {
	margin-top: 12px;
}

.reply a,
.comment-reply-link {
	font-size: 15px;
	font-weight: 600;
	color: var(--znachenie-ink);
	text-decoration: none;
}

.reply a:hover,
.comment-reply-link:hover {
	text-decoration: underline;
}

.comment-respond {
	margin-top: 40px;
}

.comment-notes,
.logged-in-as,
.comment-form-cookies-consent {
	font-size: 14px;
	line-height: 1.6;
	color: var(--znachenie-muted);
}

.comment-form {
	display: grid;
	gap: 18px;
}

.comment-form p {
	margin: 0;
}

.comment-form label {
	display: block;
	margin-bottom: 8px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--znachenie-ink);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 14px 0;
	border: 0;
	border-bottom: 1px solid var(--znachenie-line);
	background: var(--znachenie-bg);
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.6;
	color: var(--znachenie-text);
	outline: none;
	box-shadow: none;
	border-radius: 0;
}

.comment-form textarea {
	min-height: 140px;
	resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-bottom-color: var(--znachenie-brand);
}

.form-submit {
	margin-top: 8px;
}

.comment-form .submit {
	display: inline-block;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--znachenie-brand);
	cursor: pointer;
}

.comment-form .submit:hover {
	text-decoration: underline;
}

.comment-navigation {
	margin: 24px 0;
	font-size: 15px;
}

.comment-navigation a {
	color: var(--znachenie-ink);
	text-decoration: none;
}

.comment-navigation a:hover {
	text-decoration: underline;
}

@media (max-width: 767px) {
	.comments-area .comments-title,
	.comments-area .comment-reply-title {
		font-size: 28px;
	}

	.comment-content {
		font-size: 17px;
	}

	.comment-form input[type="text"],
	.comment-form input[type="email"],
	.comment-form input[type="url"],
	.comment-form textarea {
		font-size: 17px;
	}
}

/* =========================
   DREAMBOOK FAST NAV
   ========================= */

.dream-nav {
	margin: 40px 0 48px;
	padding: 28px 32px;
	background: var(--znachenie-soft);
	border-radius: 0;
}

.dream-nav h2,
.dream-nav__title,
.dream-nav > p:first-child,
.dream-nav > strong:first-child,
.dream-nav > div:first-child:not(.dream-nav__section) {
	margin: 0 0 24px;
	font-size: 30px;
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -0.018em;
	color: var(--znachenie-brand);
}

.dream-nav__section + .dream-nav__section {
	margin-top: 22px;
}

.dream-nav__section h3,
.dream-nav__section-title,
.dream-nav__section > p:first-child,
.dream-nav__section > strong:first-child,
.dream-nav__section > div:first-child:not(.dream-nav__tags):not(.dream-nav__more) {
	margin: 0 0 12px;
	font-size: 20px;
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -0.012em;
	color: var(--znachenie-brand);
}

.dream-nav__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* Ignore stray line breaks inside flex tag rows.
   A <br> becomes an empty flex item and creates an extra left gap after wrapping. */
.dream-nav__tags > br {
	display: none;
}

.dream-nav__tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	background: var(--znachenie-bg);
	border: 1px solid var(--znachenie-line);
	color: var(--znachenie-brand);
	text-decoration: none;
	font-size: 16px;
	line-height: 1.35;
	white-space: nowrap;
}

.dream-nav__tag:hover,
.dream-nav__tag:focus {
	background: var(--znachenie-bg);
	border-color: var(--znachenie-brand);
	color: var(--znachenie-ink);
	text-decoration: none;
}

.dream-nav__more {
	margin-top: 12px;
}

.dream-nav__more summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	list-style: none;
	font-size: 15px;
	font-weight: 600;
	color: var(--znachenie-brand);
}

.dream-nav__more summary::-webkit-details-marker {
	display: none;
}

.dream-nav__more summary::after {
	content: "▾";
	font-size: 14px;
	transition: transform 0.2s ease;
}

.dream-nav__more[open] summary::after {
	transform: rotate(180deg);
}

.dream-nav__tags--more {
	margin-top: 12px;
}

@media (max-width: 767px) {
	.dream-nav {
		margin: 32px 0 40px;
		padding: 22px 20px;
	}

	.dream-nav h2,
	.dream-nav__title,
	.dream-nav > p:first-child,
	.dream-nav > strong:first-child,
	.dream-nav > div:first-child:not(.dream-nav__section) {
		font-size: 28px;
	}

	.dream-nav__section h3,
	.dream-nav__section-title,
	.dream-nav__section > p:first-child,
	.dream-nav__section > strong:first-child,
	.dream-nav__section > div:first-child:not(.dream-nav__tags):not(.dream-nav__more) {
		font-size: 19px;
	}

	.dream-nav__tags {
		gap: 8px;
	}

	.dream-nav__tag {
		font-size: 15px;
		padding: 9px 14px;
	}
}

/* =========================
   SONNIK SECTION DIVIDERS
   ========================= */

.sonnik-section,
.znachenie-section {
	position: relative;
	margin-top: 56px;
	padding-top: 102px;
}

.sonnik-section::before,
.znachenie-section::before {
	content: "";
	position: absolute;
	top: 32px;
	left: 50%;
	transform: translateX(-50%);
	width: min(420px, 100%);
	height: 2px;
	background: linear-gradient(
		to right,
		var(--znachenie-brand) 0 31%,
		transparent 31% 69%,
		var(--znachenie-brand) 69% 100%
	);
	z-index: 1;
}

.sonnik-section::after,
.znachenie-section::after {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 65px;
	height: 65px;
	background-color: var(--znachenie-bg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	padding: 0 8px;
	box-sizing: content-box;
	z-index: 2;
}

.sonnik-section > h2,
.znachenie-section > h2 {
	margin: 0 0 18px;
	text-align: center;
	line-height: 1.15;
	color: var(--znachenie-brand);
}

.sonnik-section--woman::after,
.znachenie-section--woman::after {
	background-image: url("assets/icons/sections/woman.svg");
}

.sonnik-section--man::after,
.znachenie-section--man::after {
	background-image: url("assets/icons/sections/man.svg");
}

.sonnik-section--dreambook::after,
.znachenie-section--dreambook::after {
	background-image: url("assets/icons/sections/dreambook.svg");
}

.sonnik-section--details::after,
.znachenie-section--details::after {
	background-image: url("assets/icons/sections/details.svg");
}

.sonnik-section--whattodo::after,
.znachenie-section--whattodo::after {
	background-image: url("assets/icons/sections/whattodo.svg");
}

@media (max-width: 768px) {
	.sonnik-section,
	.znachenie-section {
		margin-top: 44px;
		padding-top: 84px;
	}

	.sonnik-section::before,
	.znachenie-section::before {
		top: 26px;
		width: min(280px, 100%);
		height: 1.5px;
	}

	.sonnik-section::after,
	.znachenie-section::after {
		width: 54px;
		height: 54px;
		padding: 0 6px;
	}

	.sonnik-section > h2,
	.znachenie-section > h2 {
		margin: 0 0 14px;
	}
}


/* =========================
   BACK TO TOP BUTTON
   ========================= */

.back-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: 54px;
	height: 54px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--znachenie-brand);
	border-radius: 999px;
	background: var(--znachenie-brand);
	color: #ffffff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	box-shadow:
		0 10px 24px rgba(10, 27, 51, 0.18),
		0 3px 8px rgba(10, 27, 51, 0.10);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition:
		opacity 0.2s ease,
		transform 0.2s ease,
		visibility 0.2s ease,
		background-color 0.2s ease,
		box-shadow 0.2s ease;
	z-index: 200;
}

.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-to-top:hover {
	background: #0A1B33;
	box-shadow:
		0 14px 30px rgba(10, 27, 51, 0.24),
		0 4px 10px rgba(10, 27, 51, 0.12);
}

.back-to-top:focus-visible {
	outline: 2px solid #0E3F7A;
	outline-offset: 3px;
}

@media (max-width: 768px) {
	.back-to-top {
		right: 14px;
		bottom: 14px;
		width: 48px;
		height: 48px;
		font-size: 22px;
	}
}


/* =========================
   DREAM ANALYSIS BOX
   ========================= */

.dream-analysis-box {
	margin: 56px 0 0;
	padding: 28px 32px;
	background: var(--znachenie-soft);
}

.dream-analysis-box__head {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 22px;
}

.dream-analysis-box__icon {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	display: block;
}

.dream-analysis-box h2 {
	margin: 0;
	font-size: 30px;
	line-height: 1.15;
	color: var(--znachenie-brand);
}

.dream-analysis-box p {
	margin: 0 0 20px;
}

.dream-analysis-box p:last-child {
	margin-bottom: 0;
}

.dream-analysis-box__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 8px;
	padding: 9px 16px;
	background: var(--znachenie-brand);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.2;
	border: 1px solid var(--znachenie-brand);
	border-radius: 14px;
	box-shadow: 0 4px 10px rgba(10, 27, 51, 0.08);
	transition:
		background-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.dream-analysis-box__button:hover {
	background: var(--znachenie-ink);
	color: #fff;
	text-decoration: none;
	box-shadow: 0 8px 16px rgba(10, 27, 51, 0.12);
	transform: translateY(-1px);
}

.dream-analysis-box__button:focus-visible {
	outline: 2px solid rgba(14, 63, 122, 0.28);
	outline-offset: 3px;
}

.dream-analysis-box__button-wrap {
	margin-top: 16px;
	text-align: center;
}

@media (max-width: 768px) {
	.dream-analysis-box {
		margin-top: 44px;
		padding: 22px 20px;
	}

	.dream-analysis-box__head {
		gap: 12px;
		margin-bottom: 14px;
	}

	.dream-analysis-box__icon {
		width: 34px;
		height: 34px;
	}

	.dream-analysis-box h2 {
		font-size: 24px;
	}
}

/* =========================
   DREAM ANALYSIS PAGE
   ========================= */

.dream-analysis-page {
	margin: 0 auto;
}

.dream-analysis-page section + section {
	margin-top: 56px;
}

.dream-analysis-hero,
.dream-analysis-form-block,
.dream-analysis-final {
	padding: 36px 40px;
	background: var(--znachenie-soft);
}

.dream-analysis-hero h1 {
	margin: 0 0 18px;
	color: var(--znachenie-brand);
}

.dream-analysis-hero__lead {
	max-width: 860px;
	margin: 0;
	font-size: 20px;
	line-height: 1.7;
}

.dream-analysis-hero__actions {
	margin-top: 24px;
}

.dream-analysis-section h2,
.dream-analysis-form-block h2 {
	margin: 0 0 22px;
	color: var(--znachenie-brand);
}

.dream-analysis-list,
.dream-analysis-cards,
.dream-analysis-fields,
.dream-analysis-faq {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 22px;
}

.dream-analysis-list__item,
.dream-analysis-card,
.dream-analysis-fields__item,
.dream-analysis-faq__item {
	padding: 20px 22px;
	background: #FCFCFB;
	border: 1px solid rgba(144, 164, 191, 0.45);
}

.dream-analysis-list__item h3,
.dream-analysis-fields__item h3,
.dream-analysis-faq__item h3 {
	margin: 0 0 10px;
	color: var(--znachenie-brand);
	font-size: 22px;
	line-height: 1.25;
}

.dream-analysis-card p,
.dream-analysis-list__item p,
.dream-analysis-fields__item p,
.dream-analysis-faq__item p {
	margin: 0;
}

.dream-analysis-form-block__lead {
	margin: 0 0 18px;
}

.dream-analysis-form-placeholder {
	padding: 22px 24px;
	background: #FCFCFB;
	border: 1px dashed rgba(14, 63, 122, 0.28);
	color: var(--znachenie-muted);
}

.dream-analysis-form-note {
	margin: 16px 0 0;
	font-size: 15px;
	color: var(--znachenie-muted);
}

.dream-analysis-final__text {
	margin: 0;
	font-size: 22px;
	line-height: 1.6;
	color: var(--znachenie-brand);
	max-width: 860px;
}

.dream-analysis-final__actions {
	margin-top: 22px;
}

.dream-analysis-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 18px;
	background: var(--znachenie-brand);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	line-height: 1.2;
	border: 1px solid var(--znachenie-brand);
	border-radius: 18px;
	box-shadow: 0 6px 14px rgba(10, 27, 51, 0.10);
	transition:
		background-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.dream-analysis-button:hover {
	background: var(--znachenie-ink);
	color: #fff;
	text-decoration: none;
	box-shadow: 0 10px 20px rgba(10, 27, 51, 0.14);
	transform: translateY(-1px);
}

.dream-analysis-button:focus-visible {
	outline: 2px solid rgba(14, 63, 122, 0.28);
	outline-offset: 3px;
}

@media (max-width: 768px) {
	.dream-analysis-page section + section {
		margin-top: 40px;
	}

	.dream-analysis-hero,
	.dream-analysis-form-block,
	.dream-analysis-final {
		padding: 24px 20px;
	}

	.dream-analysis-hero__lead,
	.dream-analysis-final__text {
		font-size: 18px;
	}

	.dream-analysis-list,
	.dream-analysis-cards,
	.dream-analysis-fields,
	.dream-analysis-faq {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.dream-analysis-list__item,
	.dream-analysis-card,
	.dream-analysis-fields__item,
	.dream-analysis-faq__item {
		padding: 18px;
	}

	.dream-analysis-list__item h3,
	.dream-analysis-fields__item h3,
	.dream-analysis-faq__item h3 {
		font-size: 20px;
	}
}
/* =========================
   SONNIK HOME: POPULAR + ALL
   ========================= */

.catalog-popular {
	margin: 0 0 38px;
}

.catalog-popular__title,
.catalog-all__title {
	margin: 0 0 18px;
	font-size: 28px;
	line-height: 1.2;
	color: var(--znachenie-ink);
}

/*
 * Популярное — компактная навигационная подборка, а не вторая лента карточек.
 * На широком экране: 3 колонки × 2 ряда для шести материалов.
 */
.catalog-popular__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px 24px;
}

.catalog-popular-card {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.catalog-popular-card__thumb {
	display: block;
	width: 64px;
	height: 64px;
	margin: 0;
	overflow: hidden;
}

.catalog-popular-card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.catalog-popular-card__title {
	margin: 0;
	font-size: 18px;
	line-height: 1.25;
	font-weight: 700;
}

.catalog-popular-card__title a {
	color: var(--znachenie-ink);
	text-decoration: none;
}

.catalog-popular-card__title a:hover,
.catalog-popular-card__title a:focus {
	color: var(--znachenie-brand);
	text-decoration: underline;
}

.catalog-popular__all-link {
	margin: 18px 0 0;
	font-size: 16px;
	font-weight: 700;
}

.catalog-popular__all-link a {
	color: var(--znachenie-brand);
	text-decoration: none;
}

.catalog-popular__all-link a:hover,
.catalog-popular__all-link a:focus {
	text-decoration: underline;
}

.catalog-all {
	scroll-margin-top: 96px;
}

.catalog-archive-page--paged .catalog-archive-header {
	margin-bottom: 30px;
}

@media (max-width: 999px) {
	.catalog-popular__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 639px) {
	.catalog-popular {
		margin-bottom: 34px;
	}

	.catalog-popular__title,
	.catalog-all__title {
		font-size: 24px;
	}

	.catalog-popular__grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.catalog-popular-card {
		grid-template-columns: 56px minmax(0, 1fr);
		gap: 11px;
	}

	.catalog-popular-card__thumb {
		width: 56px;
		height: 56px;
	}

	.catalog-popular-card__title {
		font-size: 17px;
	}
}

/* =========================
   СВЯЗАННЫЕ МАТЕРИАЛЫ ПО СУЩНОСТИ
   ========================= */

.entity-related {
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid var(--znachenie-border);
}

.entity-related__title {
	margin: 0 0 18px;
	font-size: 22px;
	line-height: 1.3;
}

.entity-related__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 20px;
}

.entity-related__item {
	margin: 0;
}

.entity-related__card {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.entity-related__thumb {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	overflow: hidden;
	background: #f5f5f5;
}

.entity-related__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.entity-related__thumb--empty::before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	background: #f1f3f5;
}

.entity-related__link-title {
	display: block;
	font-size: 16px;
	line-height: 1.4;
	color: var(--znachenie-brand);
}

.entity-related__card:hover .entity-related__link-title,
.entity-related__card:focus .entity-related__link-title {
	text-decoration: underline;
}

@media (max-width: 640px) {
	.entity-related__list {
		grid-template-columns: 1fr;
	}

	.entity-related__thumb {
		flex-basis: 64px;
		width: 64px;
		height: 64px;
	}
}



/* =========================
   ДАТЫ ПУБЛИКАЦИИ И ОБНОВЛЕНИЯ
   ========================= */
.post-single__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
}

.post-single__meta-item {
	display: inline-flex;
	gap: 4px;
}


/* =========================
   МЕТА ДАННЫЕ СТАТЬИ
   ========================= */

.post-single__meta-author a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.post-single__meta-author a:hover,
.post-single__meta-author a:focus {
    color: var(--znachenie-brand);
}

/* =========================
   ИСТОЧНИКИ СТАТЬИ
   ========================= */

.article-sources {
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid var(--znachenie-border);
    color: var(--znachenie-muted);
    font-size: 14px;
    line-height: 1.6;
}

.article-sources > h2:first-child,
.article-sources > h3:first-child {
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--znachenie-text);
    font-size: 20px;
    line-height: 1.35;
}

.article-sources ol,
.article-sources ul {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 22px;
}

.article-sources li + li {
    margin-top: 7px;
}

.article-sources p {
    margin-top: 8px;
    margin-bottom: 8px;
}

.article-sources a {
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}


/* =========================
   СТРАНИЦА АВТОРА
   ========================= */

.author-page {
	padding-bottom: 48px;
}

.author-profile {
	display: grid;
	grid-template-columns: 128px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	margin: 26px 0 42px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--znachenie-border);
}

.author-profile__avatar img {
	display: block;
	width: 128px;
	height: 128px;
	object-fit: cover;
	border-radius: 50%;
}

.author-profile__eyebrow {
	margin: 0 0 5px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--znachenie-muted);
}

.author-profile__name {
	margin: 0 0 18px;
	font-size: clamp(30px, 4vw, 42px);
	line-height: 1.15;
}

.author-profile__bio {
	max-width: 780px;
}

.author-profile__bio > :first-child {
	margin-top: 0;
}

.author-profile__bio > :last-child {
	margin-bottom: 0;
}

.author-profile__bio h2,
.author-profile__bio h3 {
	margin-top: 24px;
	margin-bottom: 10px;
}

.author-articles {
	margin-top: 34px;
}

.author-articles__title {
	margin: 0 0 20px;
	font-size: 26px;
	line-height: 1.25;
}

.author-articles__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.author-article-card {
	margin: 0;
}

.author-article-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.author-article-card__thumb {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	margin-bottom: 10px;
	background: #f3f4f6;
}

.author-article-card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.author-article-card__title {
	margin: 0;
	font-size: 17px;
	line-height: 1.4;
	color: var(--znachenie-brand);
}

.author-article-card__link:hover .author-article-card__title,
.author-article-card__link:focus .author-article-card__title {
	text-decoration: underline;
}

@media (max-width: 820px) {
	.author-articles__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.author-profile {
		grid-template-columns: 80px minmax(0, 1fr);
		gap: 18px;
	}

	.author-profile__avatar img {
		width: 80px;
		height: 80px;
	}

	.author-articles__grid {
		grid-template-columns: 1fr;
	}
}


/* =========================
   FRONT PAGE — 1.0.27
   ========================= */

.front-hero {
	margin-bottom: 42px;
}

.front-hero__title {
	font-size: 40px;
	line-height: 1.12;
	margin: 0 0 10px;
}

.front-hero__subtitle {
	margin-bottom: 12px;
}

.front-hero__text {
	max-width: 780px;
}

.front-sections,
.front-popular,
.front-latest {
	margin-top: 44px;
}

.front-section-title,
.front-latest__title {
	margin: 0 0 22px;
	font-size: 30px;
	line-height: 1.2;
	color: var(--znachenie-brand);
}

.front-sections__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 26px;
}

.front-section-card {
	display: block;
	padding: 14px 0;
	border-bottom: 1px solid var(--znachenie-border);
	color: var(--znachenie-text);
	text-decoration: none;
}

.front-section-card__title {
	display: block;
	margin-bottom: 3px;
	font-size: 18px;
	line-height: 1.3;
	color: var(--znachenie-brand);
}

.front-section-card__text {
	display: block;
	font-size: 14px;
	line-height: 1.45;
	color: var(--znachenie-muted);
}

.front-section-card:hover .front-section-card__title,
.front-section-card:focus .front-section-card__title {
	text-decoration: underline;
}

.front-popular__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px 24px;
}

.front-popular-card {
	margin: 0;
}

.front-popular-card__link {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--znachenie-text);
	text-decoration: none;
}

.front-popular-card__thumb {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	overflow: hidden;
	background: #f1f3f5;
}

.front-popular-card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.front-popular-card__title {
	font-size: 15px;
	line-height: 1.4;
	color: var(--znachenie-brand);
}

.front-popular-card__link:hover .front-popular-card__title,
.front-popular-card__link:focus .front-popular-card__title {
	text-decoration: underline;
}

.front-latest__header {
	margin-bottom: 22px;
}

@media (max-width: 900px) {
	.front-popular__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.front-hero {
		margin-bottom: 34px;
	}

	.front-hero__title {
		font-size: 34px;
	}

	.front-sections,
	.front-popular,
	.front-latest {
		margin-top: 36px;
	}

	.front-section-title,
	.front-latest__title {
		font-size: 27px;
	}

	.front-sections__grid,
	.front-popular__grid {
		grid-template-columns: 1fr;
	}

	.front-section-card {
		padding: 12px 0;
	}
}


/* =========================
   VISUAL POLISH — 1.0.28
   Только косметика: структура и логика шаблонов не меняются.
   Палитра сохраняет существующие синие и нейтральные цвета темы.
   ========================= */

/* Общий ритм и типографика */
body {
	line-height: 1.68;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--znachenie-ink);
	letter-spacing: -0.012em;
}

p,
ul,
ol {
	text-wrap: pretty;
}

::selection {
	background: var(--znachenie-soft);
	color: var(--znachenie-ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid var(--znachenie-brand);
	outline-offset: 3px;
}

/* Шапка */
.site-header {
	border-bottom-color: var(--znachenie-border);
}

.site-header__inner {
	padding-top: 18px;
	padding-bottom: 15px;
}

.site-title a {
	font-size: 29px;
	letter-spacing: -0.025em;
}

.site-description {
	font-size: 14px;
}

.main-navigation .menu {
	gap: 20px;
}

.main-navigation .menu li a {
	font-size: 15px;
	font-weight: 500;
	text-underline-offset: 4px;
}

.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a,
.main-navigation .current-category-ancestor > a {
	color: var(--znachenie-brand);
	font-weight: 700;
}

/* Хлебные крошки */
.breadcrumbs {
	margin-bottom: 28px;
	font-size: 13px;
	line-height: 1.55;
}

.breadcrumbs a {
	text-underline-offset: 3px;
}

/* Статья */
.post-layout .container {
	padding-top: 46px;
	padding-bottom: 58px;
}

.post-single__header {
	margin-bottom: 26px;
}

.post-single__title {
	max-width: 820px;
	font-size: clamp(34px, 5vw, 42px);
	line-height: 1.12;
	letter-spacing: -0.026em;
	margin-bottom: 14px;
}

.post-single__meta {
	gap: 7px 20px;
	font-size: 13px;
	line-height: 1.55;
}

.post-single__meta-item {
	align-items: baseline;
}

.post-single__meta-author a {
	text-underline-offset: 3px;
}

.post-single__lead {
	margin-top: 22px;
	margin-bottom: 30px;
	font-size: 18px;
	line-height: 1.7;
	color: var(--znachenie-text);
}

.post-single__thumbnail {
	margin-bottom: 34px;
}

.post-single__content {
	line-height: 1.76;
}

.post-single__content p {
	margin-top: 0;
	margin-bottom: 1.08em;
}

.post-single__content h2,
.post-single__content h3,
.post-single__content h4 {
	letter-spacing: -0.018em;
}

.post-single__content h2 {
	margin-top: 1.75em;
	margin-bottom: 0.62em;
	font-size: 29px;
}

.post-single__content h3 {
	margin-top: 1.55em;
	margin-bottom: 0.55em;
	font-size: 23px;
}

.post-single__content h4 {
	margin-top: 1.4em;
	font-size: 19px;
}

.post-single__content a:not(.dream-nav__tag):not(.dream-analysis-button):not(.dream-analysis-box__button) {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.post-single__content ul,
.post-single__content ol {
	padding-left: 1.35em;
	margin-top: 0.7em;
	margin-bottom: 1.3em;
}

.post-single__content li + li {
	margin-top: 0.38em;
}

.post-single__content blockquote {
	margin: 1.7em 0;
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--znachenie-line);
	color: var(--znachenie-muted);
}

.post-single__content blockquote > :last-child {
	margin-bottom: 0;
}

.post-single__content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5em 0 2em;
	font-size: 15px;
	line-height: 1.55;
}

.post-single__content th,
.post-single__content td {
	padding: 11px 12px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--znachenie-border);
}

.post-single__content th {
	background: rgba(232, 238, 246, 0.55);
	color: var(--znachenie-ink);
	font-weight: 700;
}

.post-single__content figcaption {
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--znachenie-muted);
}

/* Источники и связанные материалы */
.article-sources {
	margin-top: 48px;
	padding-top: 24px;
	border-top-color: var(--znachenie-border);
}

.article-sources > h2:first-child,
.article-sources > h3:first-child {
	font-size: 19px;
	letter-spacing: -0.01em;
}

.entity-related {
	margin-top: 34px;
	padding-top: 26px;
	border-top-color: var(--znachenie-border);
}

.entity-related__title {
	margin-bottom: 20px;
	font-size: 21px;
}

.entity-related__list {
	gap: 16px 28px;
}

.entity-related__card {
	gap: 14px;
}

.entity-related__thumb {
	flex-basis: 68px;
	width: 68px;
	height: 68px;
	background: var(--znachenie-soft);
}

.entity-related__link-title {
	font-size: 15px;
	line-height: 1.45;
	color: var(--znachenie-ink);
}

.entity-related__card:hover .entity-related__link-title,
.entity-related__card:focus .entity-related__link-title {
	color: var(--znachenie-brand);
}

/* Каталоги рубрик */
.catalog-archive-page .container {
	padding-top: 46px;
	padding-bottom: 64px;
}

.catalog-archive-header {
	margin-bottom: 42px;
}

.catalog-archive-title {
	font-size: clamp(34px, 5vw, 42px);
	letter-spacing: -0.025em;
	margin-bottom: 16px;
}

.catalog-archive-description {
	max-width: 790px;
	font-size: 17px;
	line-height: 1.7;
	color: var(--znachenie-text);
}

.catalog-index {
	margin-bottom: 54px;
}

.catalog-index__title,
.catalog-popular__title,
.catalog-all__title {
	font-size: 27px;
	letter-spacing: -0.018em;
	margin-bottom: 20px;
}

.catalog-index__alphabet {
	gap: 5px 8px;
	padding-bottom: 18px;
	margin-bottom: 30px;
	border-bottom-color: var(--znachenie-border);
}

.catalog-index__alphabet a,
.catalog-index__alphabet span {
	min-width: 27px;
	height: 31px;
	font-size: 15px;
}

.catalog-index__alphabet a {
	text-underline-offset: 4px;
}

.catalog-index__alphabet span {
	color: rgba(91, 103, 122, 0.45);
}

.catalog-index__groups {
	column-gap: 54px;
	row-gap: 32px;
}

.catalog-index__group {
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 14px;
}

.catalog-index__letter {
	font-size: 28px;
}

.catalog-index__list li {
	margin-bottom: 7px;
}

.catalog-index__list a {
	font-size: 16px;
	line-height: 1.5;
}

.catalog-popular {
	margin-bottom: 46px;
}

.catalog-popular__grid {
	gap: 16px 28px;
}

.catalog-popular-card {
	grid-template-columns: 60px minmax(0, 1fr);
	gap: 13px;
}

.catalog-popular-card__thumb {
	width: 60px;
	height: 60px;
}

.catalog-popular-card__title {
	font-size: 16px;
	line-height: 1.35;
}

.catalog-popular__all-link {
	margin-top: 20px;
	font-size: 15px;
}

.catalog-archive-grid {
	gap: 36px 28px;
}

.catalog-card__thumb {
	margin-bottom: 14px;
	background: var(--znachenie-soft);
}

.catalog-card__thumb img {
	transition: opacity 0.18s ease;
}

.catalog-card__thumb:hover img,
.catalog-card__thumb:focus img {
	opacity: 0.9;
}

.catalog-card__title {
	font-size: 21px;
	line-height: 1.3;
	margin-bottom: 0;
}

/* Пагинация */
.navigation.pagination,
.posts-navigation {
	margin-top: 44px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px 15px;
}

.navigation.pagination .page-numbers,
.posts-navigation .page-numbers {
	margin: 0;
	padding: 2px 0 4px;
	font-size: 14px;
	line-height: 1.3;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}

.navigation.pagination .page-numbers.current,
.posts-navigation .page-numbers.current {
	color: var(--znachenie-brand);
	font-weight: 700;
	border-bottom-color: var(--znachenie-brand);
	text-decoration: none;
}

.navigation.pagination a.page-numbers:hover,
.navigation.pagination a.page-numbers:focus,
.posts-navigation a.page-numbers:hover,
.posts-navigation a.page-numbers:focus {
	color: var(--znachenie-brand);
	border-bottom-color: var(--znachenie-border);
	text-decoration: none;
}

/* Главная */
.front-page .container {
	padding-top: 52px;
	padding-bottom: 72px;
}

.front-hero {
	margin-bottom: 0;
	padding-bottom: 42px;
	border-bottom: 1px solid var(--znachenie-border);
}

.front-hero__inner {
	max-width: 880px;
}

.front-hero__title {
	font-size: clamp(38px, 5vw, 46px);
	line-height: 1.08;
	letter-spacing: -0.03em;
	margin-bottom: 12px;
}

.front-hero__subtitle {
	font-size: 18px;
	line-height: 1.55;
	margin-bottom: 14px;
}

.front-hero__text {
	max-width: 820px;
	font-size: 17px;
	line-height: 1.72;
}

.front-sections,
.front-popular,
.front-latest {
	margin-top: 52px;
}

.front-section-title,
.front-latest__title {
	font-size: 28px;
	letter-spacing: -0.018em;
	margin-bottom: 22px;
}

.front-sections__grid {
	column-gap: 38px;
	row-gap: 0;
}

.front-section-card {
	position: relative;
	padding: 16px 28px 16px 0;
	border-bottom-color: var(--znachenie-border);
}

.front-section-card::after {
	content: '→';
	position: absolute;
	right: 2px;
	top: 17px;
	color: var(--znachenie-line);
	font-size: 18px;
	line-height: 1;
	transition: color 0.15s ease, transform 0.15s ease;
}

.front-section-card:hover::after,
.front-section-card:focus::after {
	color: var(--znachenie-brand);
	transform: translateX(2px);
}

.front-section-card__title {
	font-size: 17px;
	margin-bottom: 4px;
}

.front-section-card__text {
	max-width: 470px;
	font-size: 13px;
	line-height: 1.55;
}

.front-popular__grid {
	gap: 17px 28px;
}

.front-popular-card__link {
	gap: 13px;
}

.front-popular-card__thumb {
	flex-basis: 62px;
	width: 62px;
	height: 62px;
	background: var(--znachenie-soft);
}

.front-popular-card__title {
	font-size: 15px;
	line-height: 1.45;
	color: var(--znachenie-ink);
}

.front-popular-card__link:hover .front-popular-card__title,
.front-popular-card__link:focus .front-popular-card__title {
	color: var(--znachenie-brand);
}

/* В 1.0.27 у блока новых материалов не было своих стилей карточек. */
.front-latest__grid {
	gap: 34px 26px;
}

.front-latest .sonnik-card {
	min-width: 0;
}

.front-latest .sonnik-card__thumb {
	display: block;
	margin-bottom: 13px;
	background: var(--znachenie-soft);
}

.front-latest .sonnik-card__thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: opacity 0.18s ease;
}

.front-latest .sonnik-card__thumb:hover img,
.front-latest .sonnik-card__thumb:focus img {
	opacity: 0.9;
}

.front-latest .sonnik-card__title {
	margin: 0;
	font-size: 20px;
	line-height: 1.32;
	letter-spacing: -0.012em;
}

.front-latest .sonnik-card__title a {
	color: var(--znachenie-ink);
	text-decoration: none;
}

.front-latest .sonnik-card__title a:hover,
.front-latest .sonnik-card__title a:focus {
	color: var(--znachenie-brand);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Страница автора */
.author-page {
	padding-bottom: 60px;
}

.author-profile {
	gap: 30px;
	margin-top: 30px;
	margin-bottom: 46px;
	padding-bottom: 38px;
	border-bottom-color: var(--znachenie-border);
}

.author-profile__name {
	letter-spacing: -0.025em;
}

.author-profile__bio {
	font-size: 16px;
	line-height: 1.72;
}

.author-articles__title {
	font-size: 27px;
	letter-spacing: -0.015em;
}

.author-article-card__thumb {
	background: var(--znachenie-soft);
}

.author-article-card__title {
	font-size: 16px;
	line-height: 1.45;
	color: var(--znachenie-ink);
}

.author-article-card__link:hover .author-article-card__title,
.author-article-card__link:focus .author-article-card__title {
	color: var(--znachenie-brand);
}

/* Комментарии */
.comments-area {
	margin-top: 50px;
	padding-top: 28px;
	border-top: 1px solid var(--znachenie-border);
}

.comments-area .comments-title,
.comments-area .comment-reply-title {
	font-size: 26px;
	color: var(--znachenie-ink);
}

.comment-list .comment {
	padding-bottom: 24px;
	border-bottom: 1px solid var(--znachenie-border);
}

/* Поиск */
.search-form {
	border-bottom: 1px solid var(--znachenie-line);
}

.search-form .search-field,
.search-form .search-submit {
	padding-top: 11px;
	padding-bottom: 11px;
}

/* Футер */
.site-footer {
	border-top-color: var(--znachenie-border);
	padding-top: 28px;
	padding-bottom: 28px;
	font-size: 13px;
}

/* Убираем старую «глянцевость»: без золотого акцента, теней и скруглённых CTA. */
.dream-analysis-box__button,
.dream-analysis-button {
	border-radius: 0;
	box-shadow: none;
	transform: none;
}

.dream-analysis-box__button:hover,
.dream-analysis-button:hover {
	box-shadow: none;
	transform: none;
}

.back-to-top {
	width: 46px;
	height: 46px;
	border-radius: 0;
	box-shadow: none;
	font-size: 21px;
}

.back-to-top:hover {
	box-shadow: none;
}

/* Мобильная доводка */
@media (max-width: 767px) {
	.container {
		padding-left: 18px;
		padding-right: 18px;
	}

	.site-header__inner {
		padding-top: 14px;
		padding-bottom: 12px;
	}

	.site-title a {
		font-size: 26px;
	}

	.post-layout .container,
	.catalog-archive-page .container {
		padding-top: 32px;
		padding-bottom: 46px;
	}

	.breadcrumbs {
		margin-bottom: 22px;
	}

	.post-single__title {
		font-size: 33px;
	}

	.post-single__content h2 {
		font-size: 26px;
	}

	.post-single__content h3 {
		font-size: 21px;
	}

	.post-single__content table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.catalog-archive-title {
		font-size: 33px;
	}

	.catalog-archive-header {
		margin-bottom: 34px;
	}

	.catalog-index__title,
	.catalog-popular__title,
	.catalog-all__title,
	.front-section-title,
	.front-latest__title {
		font-size: 24px;
	}

	.catalog-archive-grid {
		gap: 30px;
	}

	.catalog-card__title {
		font-size: 20px;
	}

	.front-page .container {
		padding-top: 36px;
		padding-bottom: 52px;
	}

	.front-hero {
		padding-bottom: 34px;
	}

	.front-hero__title {
		font-size: 36px;
	}

	.front-sections,
	.front-popular,
	.front-latest {
		margin-top: 42px;
	}

	.front-latest__grid {
		gap: 28px;
	}

	.entity-related__list {
		gap: 14px;
	}

	.entity-related__thumb {
		flex-basis: 60px;
		width: 60px;
		height: 60px;
	}

	.author-profile {
		margin-top: 22px;
		margin-bottom: 36px;
		padding-bottom: 30px;
	}

	.site-footer__inner {
		align-items: flex-start;
	}

	.back-to-top {
		width: 42px;
		height: 42px;
	}
}


/* ==========================================================
   ZNACHENIE.PRO 1.0.29 — EDITORIAL VISUAL LAYER
   Cosmetic-only refinement inspired by the former 1.2.2–1.4.x
   visual direction. No template, query or content logic changes.
   ========================================================== */

:root {
	--zn-editorial-soft: #D9E7F6;
	--zn-editorial-soft-2: #EAF2FA;
	--zn-editorial-surface: #F1F6FC;
	--zn-editorial-line: #C6D8EB;
	--zn-editorial-quiet: #6385AD;
}

body {
	background: var(--znachenie-bg);
	color: var(--znachenie-text);
	-webkit-font-smoothing: antialiased;
}

.container {
	max-width: 1240px;
	padding-left: 28px;
	padding-right: 28px;
}

h1, h2, h3, h4, h5, h6 {
	letter-spacing: -0.025em;
}

a {
	text-underline-offset: 3px;
}

::selection {
	background: #CFE0F2;
	color: var(--znachenie-ink);
}

/* Header — scrolls with the page instead of staying sticky. */
.site-header {
	position: relative;
	top: auto;
	z-index: 500;
	background: rgba(252, 252, 251, 0.96);
	border-bottom: 1px solid rgba(14, 63, 122, 0.14);
	backdrop-filter: blur(12px);
	box-shadow: none;
}

.admin-bar .site-header {
	top: auto;
}

.site-header__inner {
	min-height: 76px;
	padding-top: 11px;
	padding-bottom: 11px;
	gap: 28px;
}

.site-title {
	line-height: 1.05;
	letter-spacing: -0.04em;
}

.site-title a {
	font-size: 29px;
	font-weight: 800;
	color: var(--znachenie-ink);
}

.site-description {
	margin-top: 3px;
	font-size: 11px;
	line-height: 1.35;
	color: var(--znachenie-muted);
}

.main-navigation .menu {
	gap: 5px;
}

.main-navigation .menu li a {
	padding: 9px 11px;
	font-size: 14px;
	font-weight: 600;
	color: var(--znachenie-text);
	transition: background-color .16s ease, color .16s ease;
}

.main-navigation .menu li a:hover,
.main-navigation .menu li a:focus,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
	background: var(--zn-editorial-soft);
	color: var(--znachenie-brand);
	text-decoration: none;
}

/* No glossy UI — retain the flat direction */
.front-hero,
.front-section-card,
.front-popular-card,
.catalog-archive-header,
.catalog-index,
.catalog-popular-card,
.catalog-card,
.post-single__thumbnail,
.entity-related__thumb,
.author-profile,
.author-article-card,
.article-sources,
blockquote,
.wp-block-quote,
button,
input,
textarea,
select,
.back-to-top {
	border-radius: 0 !important;
	box-shadow: none !important;
}

/* Homepage */
.front-page .container {
	padding-top: 42px;
	padding-bottom: 82px;
}

.front-hero {
	margin: 0 0 58px;
	padding: clamp(34px, 5vw, 58px);
	border: 0;
	background: #E1ECF7;
}

.front-hero__inner {
	max-width: 850px;
}

.front-hero__title {
	margin: 0 0 18px;
	font-size: clamp(46px, 6vw, 68px);
	line-height: 1;
	letter-spacing: -0.052em;
	color: var(--znachenie-ink);
}

.front-hero__subtitle {
	margin-bottom: 14px;
	font-size: clamp(19px, 2vw, 22px);
	line-height: 1.45;
	font-weight: 600;
	color: var(--znachenie-brand);
}

.front-hero__text {
	max-width: 760px;
	font-size: 17px;
	line-height: 1.75;
	color: var(--znachenie-muted);
}

.front-sections,
.front-popular,
.front-latest {
	margin-top: 58px;
}

.front-section-title,
.front-latest__title {
	margin: 0 0 26px;
	font-size: clamp(28px, 3vw, 36px);
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--znachenie-ink);
}

.front-sections__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}

.front-section-card {
	min-height: 164px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 22px;
	border: 0;
	background: var(--zn-editorial-surface);
	text-decoration: none;
	transition: background-color .16s ease;
}

.front-section-card::after {
	top: 20px;
	right: 20px;
	color: var(--zn-editorial-quiet);
}

.front-section-card:hover,
.front-section-card:focus {
	background: #D8E7F6;
	text-decoration: none;
}

.front-section-card__title {
	margin-bottom: 8px;
	font-size: 19px;
	line-height: 1.2;
	color: var(--znachenie-ink);
}

.front-section-card__text {
	display: block;
	min-height: 3.1em;
	font-size: 13px;
	line-height: 1.55;
	color: var(--znachenie-muted);
}

.front-popular__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px 18px;
}

.front-popular-card {
	background: var(--zn-editorial-surface);
}

.front-popular-card__link {
	min-height: 84px;
	padding: 11px 14px;
	gap: 14px;
}

.front-popular-card__thumb {
	flex-basis: 62px;
	width: 62px;
	height: 62px;
}

.front-popular-card__title {
	font-size: 15px;
	line-height: 1.42;
	font-weight: 650;
	color: var(--znachenie-ink);
}

.front-latest__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 38px 24px;
}

.front-latest .sonnik-card__thumb {
	margin-bottom: 15px;
	background: var(--zn-editorial-soft-2);
}

.front-latest .sonnik-card__thumb img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.front-latest .sonnik-card__title {
	font-size: 21px;
	line-height: 1.28;
	letter-spacing: -0.02em;
}

/* Shared archive/catalog */
.catalog-archive-page .container {
	padding-top: 38px;
	padding-bottom: 74px;
}

.breadcrumbs {
	margin-bottom: 24px;
	font-size: 13px;
	color: #7B8798;
}

.breadcrumbs a {
	color: var(--znachenie-muted);
}

.catalog-archive-header {
	max-width: 900px;
	margin-bottom: 46px;
	padding: 34px 38px;
	border: 0;
	background: var(--zn-editorial-soft-2);
}

.catalog-archive-title {
	margin: 0;
	font-size: clamp(38px, 5vw, 54px);
	line-height: 1.04;
	letter-spacing: -0.045em;
	color: var(--znachenie-ink);
}

.catalog-archive-description {
	max-width: 760px;
	margin-top: 16px;
	font-size: 17px;
	line-height: 1.72;
	color: var(--znachenie-muted);
}

.catalog-index,
.catalog-popular,
.catalog-all {
	margin-top: 50px;
}

.catalog-index__title,
.catalog-popular__title,
.catalog-all__title {
	margin: 0 0 24px;
	font-size: clamp(26px, 3vw, 34px);
	line-height: 1.15;
	letter-spacing: -0.028em;
	color: var(--znachenie-ink);
}

.catalog-index__alphabet {
	padding: 17px 20px;
	margin-bottom: 34px;
	border: 0;
	background: var(--zn-editorial-soft-2);
}

.catalog-index__alphabet a,
.catalog-index__alphabet span {
	min-width: 26px;
	height: 30px;
}

.catalog-index__alphabet a {
	font-weight: 700;
	text-decoration: none;
}

.catalog-index__alphabet a:hover,
.catalog-index__alphabet a:focus {
	text-decoration: underline;
}

.catalog-index__groups {
	column-gap: 64px;
	row-gap: 34px;
}

.catalog-index__letter {
	font-size: 30px;
	line-height: 1;
	color: var(--znachenie-brand);
}

.catalog-popular__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px 18px;
}

.catalog-popular-card {
	min-height: 82px;
	padding: 10px 14px;
	background: var(--zn-editorial-surface);
}

.catalog-popular-card__title {
	font-size: 16px;
	line-height: 1.35;
}

.catalog-popular__all-link {
	margin-top: 20px;
	font-weight: 650;
}

.catalog-archive-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 38px 24px;
}

.catalog-card {
	background: transparent;
}

.catalog-card__thumb {
	display: block;
	margin-bottom: 15px;
	background: var(--zn-editorial-soft-2);
}

.catalog-card__thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.catalog-card__title {
	margin: 0;
	font-size: 21px;
	line-height: 1.28;
	letter-spacing: -0.018em;
}

.catalog-card__title a {
	color: var(--znachenie-ink);
	text-decoration: none;
}

.catalog-card__title a:hover,
.catalog-card__title a:focus {
	color: var(--znachenie-brand);
	text-decoration: none;
}

.navigation.pagination,
.posts-navigation {
	margin-top: 48px;
}

.navigation.pagination .page-numbers,
.posts-navigation .page-numbers {
	min-width: 38px;
	height: 38px;
	display: inline-grid;
	place-items: center;
	padding: 0 10px;
	border: 0;
	background: var(--zn-editorial-soft-2);
	color: var(--znachenie-text);
	text-decoration: none;
}

.navigation.pagination .page-numbers.current,
.posts-navigation .page-numbers.current,
.navigation.pagination a.page-numbers:hover,
.navigation.pagination a.page-numbers:focus,
.posts-navigation a.page-numbers:hover,
.posts-navigation a.page-numbers:focus {
	background: var(--znachenie-brand);
	color: #fff;
	text-decoration: none;
}

/* Editorial article */
.post-layout .container {
	max-width: 980px;
	padding-top: 36px;
	padding-bottom: 70px;
}

.post-layout .breadcrumbs,
.post-single__header,
.post-single__content,
.entity-related,
.comments-area {
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
}

.post-single__header {
	margin-bottom: 34px;
}

.post-single__title {
	margin: 0 0 18px;
	font-size: clamp(40px, 6vw, 60px);
	line-height: 1.04;
	letter-spacing: -0.047em;
	color: var(--znachenie-ink);
}

.post-single__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 7px 18px;
	margin-top: 18px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--znachenie-muted);
}

.post-single__meta-author a {
	font-weight: 700;
	text-decoration: none;
}

.post-single__lead {
	margin-top: 22px;
	font-size: 20px;
	line-height: 1.65;
	color: #56657A;
}

.post-single__thumbnail {
	margin-top: 30px;
	background: var(--zn-editorial-soft-2);
}

.post-single__thumbnail img {
	display: block;
	width: 100%;
	height: auto;
}

.post-single__content {
	font-size: 18px;
	line-height: 1.8;
	color: var(--znachenie-text);
}

.post-single__content p,
.post-single__content ul,
.post-single__content ol {
	margin-bottom: 1.25em;
}

.post-single__content h2 {
	margin: 2.15em 0 .72em;
	font-size: clamp(28px, 4vw, 36px);
	line-height: 1.14;
	letter-spacing: -0.035em;
	color: var(--znachenie-ink);
}

.post-single__content h3 {
	margin: 1.75em 0 .62em;
	font-size: clamp(22px, 3vw, 28px);
	line-height: 1.2;
	letter-spacing: -0.025em;
	color: var(--znachenie-brand);
}

.post-single__content h4 {
	margin: 1.5em 0 .58em;
	font-size: 21px;
	line-height: 1.25;
	color: var(--znachenie-ink);
}

.post-single__content a {
	text-decoration: underline;
	text-decoration-color: rgba(14, 63, 122, .34);
	text-decoration-thickness: 1px;
}

.post-single__content a:hover,
.post-single__content a:focus {
	text-decoration-color: currentColor;
}

.post-single__content figure {
	margin-top: 30px;
	margin-bottom: 30px;
}

.post-single__content img {
	border-radius: 0 !important;
	box-shadow: none !important;
}

.post-single__content figcaption {
	margin-top: 9px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--znachenie-muted);
	text-align: center;
}

.post-single__content blockquote,
.post-single__content .wp-block-quote {
	margin: 30px 0;
	padding: 20px 24px;
	border: 0 !important;
	border-left: 3px solid var(--znachenie-brand) !important;
	background: var(--zn-editorial-soft-2);
	color: var(--znachenie-text);
}

.post-single__content table {
	width: 100%;
	margin: 30px 0;
	border: 0 !important;
	border-collapse: collapse;
	background: transparent;
	font-size: 15px;
}

.post-single__content th,
.post-single__content td {
	padding: 13px 14px;
	border: 0 !important;
	border-bottom: 1px solid var(--zn-editorial-line) !important;
	text-align: left;
	vertical-align: top;
}

.post-single__content th {
	background: var(--zn-editorial-soft-2);
	color: var(--znachenie-ink);
	font-weight: 750;
}

.post-single__content tr:last-child td {
	border-bottom: 0 !important;
}

.post-single__content details,
.post-single__content .wp-block-details {
	margin: 12px 0;
	padding: 15px 0;
	border: 0 !important;
	border-bottom: 1px solid var(--zn-editorial-line) !important;
	background: transparent;
}

/* Existing content blocks inherit the old flat editorial feel */
.quick-meaning,
.info-panel {
	border: 0 !important;
	background: var(--zn-editorial-soft);
	box-shadow: none !important;
	border-radius: 0 !important;
}

.toc-panel,
.dream-nav {
	border: 0 !important;
	background: var(--zn-editorial-soft-2);
	box-shadow: none !important;
	border-radius: 0 !important;
}

.dream-nav__tag {
	border: 0 !important;
	border-radius: 0 !important;
	background: var(--zn-editorial-soft);
}

/* Sources stay quiet, not a card */
.article-sources {
	margin-top: 48px;
	padding-top: 26px;
	border-top: 1px solid var(--zn-editorial-line);
	background: transparent;
}

.article-sources h2,
.article-sources h3 {
	font-size: 23px;
	color: var(--znachenie-ink);
}

.article-sources li,
.article-sources p {
	font-size: 14px;
	line-height: 1.65;
	color: var(--znachenie-muted);
}

/* Related entity materials */
.entity-related {
	margin-top: 56px;
	padding-top: 34px;
	border-top: 1px solid var(--zn-editorial-line);
}

.entity-related__title {
	margin-bottom: 22px;
	font-size: 28px;
	letter-spacing: -0.025em;
	color: var(--znachenie-ink);
}

.entity-related__list {
	gap: 12px 22px;
}

.entity-related__card {
	min-height: 86px;
	padding: 8px 10px;
	background: var(--zn-editorial-surface);
}

.entity-related__thumb,
.entity-related__thumb--empty {
	flex-basis: 68px;
	width: 68px;
	height: 68px;
	background: var(--zn-editorial-soft);
}

.entity-related__link-title {
	font-size: 15px;
	line-height: 1.42;
	font-weight: 650;
	color: var(--znachenie-ink);
}

.entity-related__card:hover .entity-related__link-title,
.entity-related__card:focus .entity-related__link-title {
	color: var(--znachenie-brand);
}

/* Author archive */
.author-page .container {
	padding-top: 38px;
	padding-bottom: 72px;
}

.author-profile {
	max-width: 980px;
	margin: 24px 0 52px;
	padding: 34px 38px;
	border: 0;
	background: var(--zn-editorial-soft-2);
}

.author-profile__avatar img {
	border-radius: 0 !important;
}

.author-profile__eyebrow {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--znachenie-brand);
}

.author-profile__name {
	font-size: clamp(36px, 5vw, 52px);
	line-height: 1.05;
	letter-spacing: -0.04em;
	color: var(--znachenie-ink);
}

.author-profile__bio {
	font-size: 16px;
	line-height: 1.75;
}

.author-articles__title {
	font-size: 32px;
	color: var(--znachenie-ink);
}

.author-articles__grid {
	gap: 34px 24px;
}

.author-article-card {
	background: transparent;
}

.author-article-card__thumb {
	margin-bottom: 13px;
	background: var(--zn-editorial-soft-2);
}

.author-article-card__title {
	font-size: 19px;
	line-height: 1.32;
	color: var(--znachenie-ink);
}

/* Comments/forms */
.comments-area {
	margin-top: 54px;
	padding-top: 32px;
	border-top: 1px solid var(--zn-editorial-line);
}

.comments-area .comments-title,
.comments-area .comment-reply-title {
	font-size: 28px;
	color: var(--znachenie-ink);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	border: 1px solid #C9D5E3;
	border-radius: 0 !important;
	box-shadow: none;
	background: #fff;
}

.comment-form input[type="submit"] {
	border-radius: 0 !important;
	box-shadow: none;
	background: var(--znachenie-brand);
}

/* Footer */
.site-footer {
	margin-top: 62px;
	padding-top: 42px;
	padding-bottom: 30px;
	border-top: 1px solid var(--zn-editorial-line);
	background: #E4EDF7;
	color: var(--znachenie-muted);
}

/* Sonnik section dividers remain exactly functional, only spacing is refined */
.sonnik-section,
.znachenie-section {
	margin-top: 2.2em;
	margin-bottom: 2.2em;
}

/* Responsive */
@media (max-width: 1080px) {
	.front-sections__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.front-latest__grid,
	.catalog-archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.container {
		padding-left: 20px;
		padding-right: 20px;
	}

	.site-header__inner {
		min-height: 68px;
	}

	.main-navigation {
		background: var(--znachenie-bg);
		border-bottom: 1px solid var(--zn-editorial-line);
		box-shadow: none;
	}

	.front-hero {
		padding: 34px 28px;
	}

	.front-sections__grid,
	.front-popular__grid,
	.catalog-popular__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.catalog-archive-header,
	.author-profile {
		padding: 28px 26px;
	}

	.post-layout .container {
		padding-top: 28px;
	}

	.post-single__content {
		font-size: 17px;
	}
}

@media (max-width: 600px) {
	.container {
		padding-left: 16px;
		padding-right: 16px;
	}

	.site-title a {
		font-size: 24px;
	}

	.front-page .container {
		padding-top: 26px;
	}

	.front-hero {
		margin-bottom: 42px;
		padding: 28px 20px;
	}

	.front-hero__title {
		font-size: 42px;
	}

	.front-sections,
	.front-popular,
	.front-latest {
		margin-top: 44px;
	}

	.front-sections__grid,
	.front-popular__grid,
	.front-latest__grid,
	.catalog-popular__grid,
	.catalog-archive-grid {
		grid-template-columns: 1fr;
	}

	.front-section-card {
		min-height: 138px;
	}

	.catalog-archive-header,
	.author-profile {
		padding: 24px 20px;
	}

	.catalog-archive-title {
		font-size: 38px;
	}

	.catalog-index__alphabet {
		padding: 14px 12px;
	}

	.post-single__title {
		font-size: 38px;
	}

	.post-single__lead {
		font-size: 18px;
	}

	.post-single__content h2 {
		font-size: 28px;
	}

	.post-single__content h3 {
		font-size: 23px;
	}

	.entity-related__title {
		font-size: 25px;
	}

	.entity-related__list {
		grid-template-columns: 1fr;
	}
}


/* =========================================================
   1.0.33 — homepage hero, closer to the earlier editorial design
   Cosmetic only: no template/query/content logic changes.
   ========================================================= */

.front-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(38px, 5vw, 64px);
	background: #d7e7f5;
}

.front-hero::after {
	content: "";
	position: absolute;
	right: -90px;
	top: -120px;
	width: 360px;
	height: 360px;
	background: rgba(255,255,255,.22);
	border-radius: 50%;
	pointer-events: none;
}

.front-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
	grid-template-areas:
		"title subtitle"
		"title text";
	gap: 10px 46px;
	align-items: end;
	max-width: none;
	padding: 0;
	background: transparent !important;
}

.front-hero__title {
	grid-area: title;
	align-self: center;
	max-width: 620px;
	margin: 0;
	font-size: clamp(54px, 7vw, 82px);
	line-height: .94;
	letter-spacing: -0.06em;
}

.front-hero__subtitle {
	grid-area: subtitle;
	align-self: end;
	margin: 0;
	padding: 26px 28px 8px;
	background: rgba(255,255,255,.82);
	font-size: clamp(18px, 1.8vw, 21px);
	line-height: 1.45;
	font-weight: 700;
	color: var(--znachenie-brand);
}

.front-hero__text {
	grid-area: text;
	align-self: start;
	max-width: none;
	margin: 0;
	padding: 4px 28px 26px;
	background: rgba(255,255,255,.82);
	font-size: 16px;
	line-height: 1.7;
	color: var(--znachenie-muted);
}

.front-hero__text p {
	margin-top: 0;
}

.front-hero__text p:last-child {
	margin-bottom: 0;
}

@media (max-width: 900px) {
	.front-hero__inner {
		grid-template-columns: 1fr;
		grid-template-areas:
			"title"
			"subtitle"
			"text";
		gap: 0;
	}

	.front-hero__title {
		margin-bottom: 28px;
	}

	.front-hero__subtitle {
		padding-top: 22px;
	}

	.front-hero__text {
		padding-bottom: 22px;
	}
}

@media (max-width: 600px) {
	.front-hero {
		padding: 30px 20px;
	}

	.front-hero::after {
		display: none;
	}

	.front-hero__title {
		font-size: 46px;
	}

	.front-hero__subtitle {
		padding: 20px 20px 7px;
		font-size: 18px;
	}

	.front-hero__text {
		padding: 4px 20px 20px;
		font-size: 16px;
	}
}


/* =========================================================
   1.0.34 — compact editorial homepage hero
   Cosmetic only.
   ========================================================= */

.front-hero {
	padding: clamp(34px, 4.5vw, 54px);
	background: #d7e7f5;
}

.front-hero::after {
	display: none;
}

.front-hero__inner {
	display: grid;
	grid-template-columns: minmax(260px, .82fr) minmax(360px, 1.18fr);
	grid-template-areas:
		"title text"
		"subtitle text";
	gap: 10px 48px;
	align-items: start;
	max-width: 1040px;
	margin: 0 auto;
	padding: 0;
	background: transparent !important;
}

.front-hero__title {
	grid-area: title;
	margin: 0;
	max-width: none;
	font-size: clamp(36px, 4vw, 44px);
	line-height: 1.05;
	letter-spacing: -0.035em;
	color: #0b2341;
}

.front-hero__subtitle {
	grid-area: subtitle;
	margin: 0;
	padding: 0;
	background: transparent;
	font-size: 16px;
	line-height: 1.55;
	font-weight: 600;
	color: var(--znachenie-brand);
}

.front-hero__text {
	grid-area: text;
	margin: 0;
	max-width: none;
	padding: 24px 28px;
	background: rgba(255,255,255,.78);
	font-size: 16px;
	line-height: 1.7;
	color: var(--znachenie-muted);
}

.front-hero__text p {
	margin: 0;
}

@media (max-width: 820px) {
	.front-hero__inner {
		grid-template-columns: 1fr;
		grid-template-areas:
			"title"
			"subtitle"
			"text";
		gap: 12px;
	}

	.front-hero__text {
		margin-top: 10px;
	}
}

@media (max-width: 600px) {
	.front-hero {
		padding: 28px 20px;
	}

	.front-hero__title {
		font-size: 34px;
	}

	.front-hero__text {
		padding: 20px;
	}
}


/* =========================================================
   1.0.35 — meaningful homepage hero + compact header search
   ========================================================= */

.site-branding {
	flex: 0 0 auto;
}

.main-navigation {
	margin-left: auto;
}

.site-header-search {
	flex: 0 0 188px;
}

.site-header-search__form {
	display: flex;
	align-items: stretch;
	width: 100%;
	border-bottom: 1px solid rgba(14, 63, 122, .34);
}

.site-header-search__field {
	min-width: 0;
	width: 100%;
	height: 36px;
	padding: 6px 4px;
	border: 0 !important;
	background: transparent;
	color: var(--znachenie-text);
	font: inherit;
	font-size: 14px;
	outline: none;
}

.site-header-search__field::placeholder {
	color: var(--znachenie-muted);
	opacity: .8;
}

.site-header-search__form:focus-within {
	border-bottom-color: var(--znachenie-brand);
}

.site-header-search__submit {
	flex: 0 0 34px;
	width: 34px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0 !important;
	background: transparent !important;
	color: var(--znachenie-brand);
	cursor: pointer;
}

.site-header-search__submit:hover,
.site-header-search__submit:focus {
	color: var(--znachenie-ink);
}

.front-hero__title {
	max-width: 360px;
	font-size: clamp(34px, 3.6vw, 42px);
	line-height: 1.08;
	letter-spacing: -0.04em;
}

@media (max-width: 1120px) {
	.site-header__inner {
		gap: 18px;
	}

	.main-navigation .menu li a {
		padding-left: 7px;
		padding-right: 7px;
	}

	.site-header-search {
		flex-basis: 155px;
	}
}

@media (max-width: 900px) and (min-width: 768px) {
	.site-header__inner {
		flex-wrap: wrap;
	}

	.site-header-search {
		flex: 0 0 190px;
		margin-left: auto;
	}
}

@media (max-width: 767px) {
	.site-header-search {
		order: 4;
		flex: 0 0 auto;
		width: 100%;
		margin-top: 4px;
	}

	.site-header-search__form {
		max-width: none;
	}

	.front-hero__title {
		max-width: 520px;
		font-size: 32px;
	}
}


/* =========================================================
   1.0.41 — содержание: аккуратные маркеры без разделителей
   ========================================================= */

.article-toc {
	margin: 30px 0 38px;
	padding: 24px 26px 22px;
	background: #e5f0fa;
}

.article-toc__title {
	margin: 0 0 12px;
	font-size: 20px;
	line-height: 1.35;
	font-weight: 700;
	color: var(--znachenie-text);
}

.article-toc__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.article-toc__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 7px 0;
	font-size: 16px;
	line-height: 1.5;
}

.article-toc__item::before {
	content: "";
	flex: 0 0 auto;
	width: 7px;
	height: 7px;
	margin-top: 0.58em;
	border-radius: 50%;
	background: var(--znachenie-brand);
	box-shadow: 0 0 0 4px rgba(15, 63, 105, 0.10);
}

.article-toc a {
	display: block;
	min-width: 0;
	color: var(--znachenie-brand);
	text-decoration: none !important;
	text-decoration-line: none !important;
	border-bottom: 0 !important;
}

.article-toc a:hover,
.article-toc a:focus {
	color: var(--znachenie-text);
	text-decoration: none !important;
	text-decoration-line: none !important;
	border-bottom: 0 !important;
}

.article-toc a:focus-visible {
	outline: 2px solid rgba(15, 63, 105, 0.25);
	outline-offset: 3px;
}

.post-single__content h2[id] {
	scroll-margin-top: 28px;
}


/* 1.0.42 — TOC links must never inherit article underline styles. */
.post-single__content .article-toc a,
.post-single__content .article-toc a:visited,
.post-single__content .article-toc a:hover,
.post-single__content .article-toc a:focus {
	text-decoration: none !important;
	text-decoration-line: none !important;
	border-bottom: 0 !important;
	box-shadow: none;
}

@media (max-width: 600px) {
	.article-toc {
		margin: 24px 0 32px;
		padding: 20px 20px 18px;
	}

	.article-toc__title {
		font-size: 19px;
	}

	.article-toc__item {
		gap: 11px;
		padding: 6px 0;
		font-size: 15px;
	}
}


/* =========================================================
   1.0.38 — Quick answer из post_meta
   ========================================================= */

.post-quick-answer {
	margin: 0 0 30px;
	font-size: 19px;
	line-height: 1.7;
	color: var(--znachenie-ink);
}

.post-quick-answer p {
	margin: 0;
}

.post-quick-answer p + p {
	margin-top: 12px;
}

/* Quick answer в режиме обычного содержания выводится перед автоматическим ToC. */
.post-single__content > h2#kratkoe-tolkovanie-sna + .post-quick-answer {
	margin-top: 0;
	margin-bottom: 24px;
}

@media (max-width: 600px) {
	.post-quick-answer {
		margin-bottom: 24px;
		font-size: 18px;
		line-height: 1.65;
	}
}

/* =========================
   1.0.39 — Dream-nav: remove stray <br> flex gaps
   ========================= */


/* =========================================================
   1.0.43 — editorial footer
   ========================================================= */

.site-footer {
	margin-top: 72px;
	padding: 0;
	border-top: 1px solid var(--zn-editorial-line);
	background: #E4EDF7;
	color: var(--znachenie-muted);
	font-size: 15px;
}

.site-footer__main {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(170px, .8fr) minmax(190px, .8fr);
	gap: 56px;
	padding: 46px 0 40px;
}

.site-footer__about {
	max-width: 540px;
}

.site-footer__kicker {
	margin-bottom: 11px;
	font-size: 12px;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--zn-editorial-quiet);
}

.site-footer__title {
	margin: 0 0 14px;
	font-size: 27px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--znachenie-ink);
}

.site-footer__description {
	max-width: 500px;
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: #52677F;
}

.site-footer__heading {
	margin: 2px 0 15px;
	font-size: 15px;
	line-height: 1.4;
	font-weight: 700;
	color: var(--znachenie-ink);
}

.site-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__links li {
	margin: 0;
	padding: 0;
}

.site-footer__links li + li {
	margin-top: 9px;
}

.site-footer__links a,
.site-footer__links a:visited {
	color: #52677F;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color .16s ease, border-color .16s ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus {
	color: var(--znachenie-brand);
	border-bottom-color: rgba(15, 63, 105, .28);
}

.site-footer__links a:focus-visible {
	outline: 2px solid rgba(15, 63, 105, .22);
	outline-offset: 3px;
}

.site-footer__bottom {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 28px;
	padding: 20px 0 24px;
	border-top: 1px solid rgba(99, 133, 173, .26);
	font-size: 13px;
	line-height: 1.55;
	color: #667A91;
}

.site-footer__copyright {
	flex: 0 0 auto;
	white-space: nowrap;
	font-weight: 600;
	color: #52677F;
}

.site-footer__note {
	max-width: 620px;
	text-align: right;
}

@media (max-width: 900px) {
	.site-footer {
		margin-top: 58px;
	}

	.site-footer__main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 34px 46px;
		padding-top: 38px;
		padding-bottom: 34px;
	}

	.site-footer__about {
		grid-column: 1 / -1;
		max-width: 680px;
	}
}

@media (max-width: 600px) {
	.site-footer {
		margin-top: 46px;
	}

	.site-footer__main {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 32px 0 28px;
	}

	.site-footer__about {
		grid-column: auto;
	}

	.site-footer__title {
		font-size: 24px;
	}

	.site-footer__description {
		font-size: 14px;
		line-height: 1.65;
	}

	.site-footer__bottom {
		flex-direction: column;
		gap: 8px;
		padding-top: 17px;
		padding-bottom: 20px;
	}

	.site-footer__copyright {
		white-space: normal;
	}

	.site-footer__note {
		max-width: none;
		text-align: left;
	}
}


/* =========================
   1.0.44 — front-page sections
   ========================= */
/* Keep the text area equal so one-line descriptions do not push titles lower. */
.front-section-card__text {
	min-height: 3.1em;
}


/* =========================================================
   Article tables — clearer editorial treatment
   Version 1.0.50
   ========================================================= */
.post-single__content table {
	border: 1px solid var(--zn-editorial-line) !important;
	background: #fff;
}

.post-single__content th,
.post-single__content td {
	padding: 14px 16px;
	border: 1px solid var(--zn-editorial-line) !important;
}

.post-single__content th {
	background: var(--zn-editorial-soft);
	color: var(--znachenie-brand);
	font-weight: 750;
}

.post-single__content tbody tr:nth-child(even) td {
	background: var(--zn-editorial-surface);
}

.post-single__content tbody tr:last-child td {
	border-bottom: 1px solid var(--zn-editorial-line) !important;
}

@media (max-width: 767px) {
	.post-single__content table {
		font-size: 14px;
	}

	.post-single__content th,
	.post-single__content td {
		padding: 11px 12px;
	}
}


/* =========================================================
   Sonnik sections — remove decorative icons and divider lines
   Version 1.0.51
   ========================================================= */
.sonnik-section,
.znachenie-section {
	padding-top: 0;
}

.sonnik-section::before,
.sonnik-section::after,
.znachenie-section::before,
.znachenie-section::after {
	content: none !important;
	display: none !important;
}

/* =========================================================
   1.0.62 — UI polish: shared editorial tables
   ========================================================= */
/*
 * Tables use one visual language in articles, ordinary pages and the
 * editorial author profile. Lists are intentionally untouched here: they
 * have their own backlog task.
 */
.page-single__content table,
.author-profile__bio table {
	width: 100%;
	margin: 30px 0;
	border: 1px solid var(--zn-editorial-line) !important;
	border-collapse: collapse;
	background: #fff;
	font-size: 15px;
	line-height: 1.55;
}

.page-single__content th,
.page-single__content td,
.author-profile__bio th,
.author-profile__bio td {
	padding: 14px 16px;
	border: 1px solid var(--zn-editorial-line) !important;
	text-align: left;
	vertical-align: top;
}

.page-single__content th,
.author-profile__bio th {
	background: var(--zn-editorial-soft);
	color: var(--znachenie-brand);
	font-weight: 750;
}

.page-single__content tbody tr:nth-child(even) td,
.author-profile__bio tbody tr:nth-child(even) td {
	background: var(--zn-editorial-surface);
}

@media (max-width: 767px) {
	.post-single__content table,
	.page-single__content table,
	.author-profile__bio table {
		display: block;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		font-size: 14px;
	}

	.page-single__content th,
	.page-single__content td,
	.author-profile__bio th,
	.author-profile__bio td {
		padding: 11px 12px;
	}
}

/* =========================================================
   1.0.67 — content lists + homepage editorial polish
   ========================================================= */

/* Content lists only: do not touch navigation, ToC, menus or UI lists. */
:where(.post-single__content, .page-single__content, .author-profile__bio) ul:not(.article-toc__list),
:where(.post-single__content, .page-single__content, .author-profile__bio) ol {
	margin: 1.15em 0 1.45em;
	padding: 0;
}

:where(.post-single__content, .page-single__content, .author-profile__bio) ul:not(.article-toc__list) {
	list-style: none;
}

:where(.post-single__content, .page-single__content, .author-profile__bio) ul:not(.article-toc__list) > li {
	position: relative;
	margin: 0.55em 0;
	padding-left: 1.55em;
}

:where(.post-single__content, .page-single__content, .author-profile__bio) ul:not(.article-toc__list) > li::before {
	content: "";
	position: absolute;
	left: 0.2em;
	top: 0.72em;
	width: 6px;
	height: 6px;
	background: var(--znachenie-brand);
}

:where(.post-single__content, .page-single__content, .author-profile__bio) ol {
	list-style: none;
	counter-reset: zn-content-list;
}

:where(.post-single__content, .page-single__content, .author-profile__bio) ol > li {
	position: relative;
	counter-increment: zn-content-list;
	margin: 0.62em 0;
	padding-left: 2.45em;
}

:where(.post-single__content, .page-single__content, .author-profile__bio) ol > li::before {
	content: counter(zn-content-list) ".";
	position: absolute;
	left: 0;
	top: 0;
	min-width: 1.9em;
	font-weight: 750;
	font-variant-numeric: tabular-nums;
	color: var(--znachenie-brand);
}

:where(.post-single__content, .page-single__content, .author-profile__bio) li > :last-child {
	margin-bottom: 0;
}

:where(.post-single__content, .page-single__content, .author-profile__bio) li > ul,
:where(.post-single__content, .page-single__content, .author-profile__bio) li > ol {
	margin-top: 0.55em;
	margin-bottom: 0.7em;
}

:where(.post-single__content, .page-single__content, .author-profile__bio) ul:not(.article-toc__list) ul > li::before {
	width: 5px;
	height: 5px;
	background: var(--znachenie-line);
}

/* Homepage: clearer editorial hierarchy without card gloss. */
.front-page .container {
	padding-top: 36px;
	padding-bottom: 88px;
}

.front-hero {
	margin: 0 0 64px;
	padding: clamp(38px, 6vw, 68px) clamp(28px, 6vw, 64px);
	background: #E1ECF7;
}

.front-hero__eyebrow {
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .11em;
	text-transform: uppercase;
	color: var(--znachenie-brand);
}

.front-hero__title {
	max-width: 900px;
	margin-bottom: 20px;
	font-size: clamp(44px, 6vw, 70px);
	line-height: .99;
}

.front-hero__subtitle {
	max-width: 800px;
	margin-bottom: 16px;
	font-size: clamp(19px, 2vw, 23px);
}

.front-hero__text {
	max-width: 760px;
	font-size: 17px;
	line-height: 1.72;
}

.front-sections,
.front-popular,
.front-latest,
.front-about {
	margin-top: 64px;
}

.front-section-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 460px);
	align-items: end;
	gap: 26px;
	margin-bottom: 28px;
}

.front-section-title,
.front-latest__title,
.front-about__title {
	margin: 0;
	font-size: clamp(29px, 3vw, 38px);
	line-height: 1.08;
	letter-spacing: -0.035em;
	color: var(--znachenie-ink);
}

.front-section-lead {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: var(--znachenie-muted);
}

.front-sections__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.front-section-card {
	min-height: 156px;
	padding: 24px 52px 22px 24px;
	justify-content: flex-end;
	background: var(--zn-editorial-surface);
}

.front-section-card::after {
	top: 22px;
	right: 24px;
	font-size: 20px;
}

.front-section-card__title {
	font-size: 20px;
	letter-spacing: -0.012em;
}

.front-section-card__text {
	max-width: 330px;
	min-height: 0;
	font-size: 14px;
	line-height: 1.55;
}

.front-popular__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 18px;
}

.front-popular-card__link {
	min-height: 92px;
	padding: 13px 16px;
}

.front-popular-card__thumb {
	flex-basis: 66px;
	width: 66px;
	height: 66px;
}

.front-popular-card__title {
	font-size: 16px;
	line-height: 1.38;
}

.front-latest__header {
	margin-bottom: 28px;
}

.front-latest-card__category {
	display: inline-block;
	margin-bottom: 8px;
	font-size: 11px;
	font-weight: 750;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--znachenie-brand);
}

.front-about {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr);
	gap: 48px;
	padding: 34px 38px;
	background: var(--zn-editorial-soft-2);
}

.front-about__eyebrow {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--znachenie-brand);
}

.front-about__text {
	font-size: 16px;
	line-height: 1.72;
	color: var(--znachenie-text);
}

.front-about__text p:last-child {
	margin-bottom: 0;
}

.front-about__link {
	display: inline-block;
	margin-top: 8px;
	font-weight: 700;
	color: var(--znachenie-brand);
}

@media (max-width: 900px) {
	.front-section-head,
	.front-about {
		grid-template-columns: 1fr;
		gap: 14px;
	}

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

@media (max-width: 640px) {
	:where(.post-single__content, .page-single__content, .author-profile__bio) ol > li {
		padding-left: 2.2em;
	}

	.front-page .container {
		padding-top: 24px;
		padding-bottom: 58px;
	}

	.front-hero {
		margin-bottom: 46px;
		padding: 30px 20px 32px;
	}

	.front-hero__title {
		font-size: 42px;
	}

	.front-sections,
	.front-popular,
	.front-latest,
	.front-about {
		margin-top: 46px;
	}

	.front-sections__grid,
	.front-popular__grid {
		grid-template-columns: 1fr;
	}

	.front-section-card {
		min-height: 128px;
		padding: 20px 48px 18px 20px;
	}

	.front-about {
		padding: 26px 20px;
	}
}


/* =========================================================
   1.0.68 — homepage: editorial landing page
   ========================================================= */
.front-page .container {
	padding-top: 46px;
	padding-bottom: 86px;
}

.front-kicker {
	margin: 0 0 10px;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: .11em;
	text-transform: uppercase;
	color: var(--znachenie-brand);
}

.front-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(235px, .72fr);
	gap: clamp(36px, 6vw, 72px);
	align-items: center;
	margin: 0 0 78px;
	padding: clamp(42px, 6vw, 66px) clamp(30px, 6vw, 62px);
	border: 0;
	background: #E4EEF8;
}

.front-hero__main {
	min-width: 0;
}

.front-hero__title {
	max-width: none;
	margin: 0 0 18px;
	font-size: clamp(48px, 6.4vw, 72px);
	line-height: .98;
	letter-spacing: -0.052em;
	color: var(--znachenie-brand);
}

.front-hero__lead {
	max-width: 720px;
	margin: 0;
	font-size: clamp(17px, 1.65vw, 20px);
	line-height: 1.67;
	color: var(--znachenie-text);
}

.front-search {
	display: flex;
	max-width: 650px;
	margin-top: 26px;
}

.front-search__field {
	min-width: 0;
	flex: 1 1 auto;
	height: 48px;
	padding: 0 15px;
	border: 1px solid rgba(14, 63, 122, .26);
	border-right: 0;
	border-radius: 0;
	background: #fff;
	color: var(--znachenie-ink);
	outline: 0;
}

.front-search__field:focus {
	border-color: var(--znachenie-brand);
	box-shadow: inset 0 0 0 1px var(--znachenie-brand);
}

.front-search__button {
	flex: 0 0 auto;
	height: 48px;
	padding: 0 25px;
	border: 1px solid var(--znachenie-brand);
	border-radius: 0;
	background: var(--znachenie-brand);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.front-search__button:hover,
.front-search__button:focus {
	background: #0A356A;
	border-color: #0A356A;
}

.front-hero__note {
	padding: 28px 26px;
	background: rgba(255, 255, 255, .9);
	color: var(--znachenie-text);
}

.front-hero__note strong {
	display: block;
	margin-bottom: 13px;
	font-size: 17px;
	line-height: 1.45;
	color: var(--znachenie-ink);
}

.front-hero__note p {
	margin: 0;
	font-size: 13px;
	line-height: 1.62;
	color: var(--znachenie-muted);
}

.front-sections,
.front-popular,
.front-latest {
	margin-top: 0;
	margin-bottom: 82px;
}

.front-section-title,
.front-latest__title,
.front-editorial__title {
	margin: 0 0 28px;
	font-size: clamp(30px, 3.3vw, 40px);
	line-height: 1.08;
	letter-spacing: -0.036em;
	color: var(--znachenie-brand);
}

.front-sections__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.front-section-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-height: 148px;
	padding: 22px 48px 20px 22px;
	border: 0;
	background: #F5F8FB;
	color: var(--znachenie-text);
	text-decoration: none;
}

.front-section-card::after {
	content: '→';
	position: absolute;
	top: 21px;
	right: 20px;
	color: var(--znachenie-line);
	font-size: 18px;
	line-height: 1;
	transition: transform .15s ease, color .15s ease;
}

.front-section-card:hover,
.front-section-card:focus {
	background: #EDF3F9;
	text-decoration: none;
}

.front-section-card:hover::after,
.front-section-card:focus::after {
	color: var(--znachenie-brand);
	transform: translateX(2px);
}

.front-section-card__title {
	display: block;
	margin: 0 0 12px;
	font-size: 18px;
	line-height: 1.25;
	letter-spacing: -0.015em;
	color: var(--znachenie-ink);
}

.front-section-card__text {
	display: block;
	max-width: 280px;
	min-height: 0;
	font-size: 13px;
	line-height: 1.55;
	color: var(--znachenie-muted);
}

.front-popular__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 24px;
	border-top: 1px solid var(--znachenie-border);
}

.front-popular-card {
	margin: 0;
	border-bottom: 1px solid var(--znachenie-border);
}

.front-popular-card__link {
	display: grid;
	grid-template-columns: 146px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	min-height: 154px;
	padding: 16px 10px;
	color: var(--znachenie-text);
	text-decoration: none;
}

.front-popular-card__link:hover,
.front-popular-card__link:focus {
	text-decoration: none;
}

.front-popular-card__thumb {
	display: block;
	width: 146px;
	height: 108px;
	overflow: hidden;
	background: var(--znachenie-soft);
}

.front-popular-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.front-popular-card__body {
	display: block;
	min-width: 0;
}

.front-card-tag {
	display: inline-block;
	margin: 0 0 10px;
	padding: 4px 8px 3px;
	background: #E8F0F8;
	color: var(--znachenie-brand);
	font-size: 10px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
}

.front-card-tag:hover,
.front-card-tag:focus {
	background: #DCE9F5;
	color: var(--znachenie-brand);
	text-decoration: none;
}

.front-popular-card__title {
	display: block;
	margin: 0 0 7px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.012em;
	color: var(--znachenie-ink);
}

.front-popular-card__excerpt {
	display: block;
	font-size: 13px;
	line-height: 1.55;
	color: var(--znachenie-muted);
}

.front-popular-card__link:hover .front-popular-card__title,
.front-popular-card__link:focus .front-popular-card__title {
	color: var(--znachenie-brand);
	text-decoration: none;
}

.front-editorial {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr);
	gap: clamp(36px, 7vw, 90px);
	align-items: start;
	margin: 0 0 82px;
	padding: 44px 0 46px;
	background: #E7F0F8;
	box-shadow: 0 0 0 100vmax #E7F0F8;
	clip-path: inset(0 -100vmax);
}

.front-editorial__title {
	margin-bottom: 0;
	max-width: 430px;
}

.front-editorial__text {
	max-width: 670px;
	font-size: 15px;
	line-height: 1.72;
	color: var(--znachenie-text);
}

.front-editorial__text p {
	margin-bottom: 15px;
}

.front-editorial__link {
	font-weight: 700;
	color: var(--znachenie-brand);
}

.front-latest {
	margin-bottom: 0;
}

.front-latest__header {
	margin: 0 0 28px;
}

.front-latest__title {
	margin-bottom: 0;
}

.front-latest__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 46px 24px;
}

.front-latest-card {
	min-width: 0;
	margin: 0;
}

.front-latest-card__thumb {
	display: block;
	margin: 0 0 14px;
	overflow: hidden;
	background: var(--znachenie-soft);
}

.front-latest-card__thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform .2s ease, opacity .2s ease;
}

.front-latest-card__thumb:hover img,
.front-latest-card__thumb:focus img {
	transform: scale(1.015);
	opacity: .94;
}

.front-latest-card__content {
	min-width: 0;
}

.front-latest-card__title {
	margin: 1px 0 9px;
	font-size: 20px;
	line-height: 1.32;
	letter-spacing: -0.018em;
}

.front-latest-card__title a {
	color: var(--znachenie-ink);
	text-decoration: none;
}

.front-latest-card__title a:hover,
.front-latest-card__title a:focus {
	color: var(--znachenie-brand);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.front-latest-card__excerpt {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.62;
	color: var(--znachenie-muted);
}

.front-latest-card__date {
	display: block;
	font-size: 11px;
	line-height: 1.3;
	color: #7A8798;
}

@media (max-width: 980px) {
	.front-hero {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.front-hero__note {
		max-width: 620px;
	}

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

	.front-editorial {
		grid-template-columns: 1fr;
		gap: 22px;
	}
}

@media (max-width: 760px) {
	.front-page .container {
		padding-top: 26px;
		padding-bottom: 60px;
	}

	.front-hero,
	.front-sections,
	.front-popular,
	.front-editorial {
		margin-bottom: 56px;
	}

	.front-hero {
		padding: 32px 22px;
	}

	.front-hero__title {
		font-size: clamp(43px, 13vw, 58px);
	}

	.front-search {
		margin-top: 22px;
	}

	.front-popular__grid,
	.front-latest__grid {
		grid-template-columns: 1fr;
	}

	.front-popular-card__link {
		grid-template-columns: 128px minmax(0, 1fr);
	}

	.front-popular-card__thumb {
		width: 128px;
		height: 96px;
	}

	.front-latest__grid {
		gap: 38px;
	}
}

@media (max-width: 560px) {
	.front-sections__grid {
		grid-template-columns: 1fr;
	}

	.front-section-card {
		min-height: 124px;
	}

	.front-search {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.front-search__field,
	.front-search__button {
		height: 46px;
	}

	.front-search__button {
		padding: 0 18px;
	}

	.front-hero__note {
		padding: 22px 20px;
	}

	.front-popular-card__link {
		grid-template-columns: 104px minmax(0, 1fr);
		gap: 14px;
		padding: 14px 0;
	}

	.front-popular-card__thumb {
		width: 104px;
		height: 82px;
	}

	.front-popular-card__excerpt {
		display: none;
	}

	.front-editorial {
		padding: 34px 0 36px;
	}
}


/* =========================================================
   1.0.69 — homepage recommendations + editorial search page
   ========================================================= */

/* Recommended materials: keep every item visually independent. */
.front-popular__grid {
	gap: 14px 18px;
	border-top: 0;
}

.front-popular-card {
	border: 1px solid var(--znachenie-border);
	background: #F7FAFD;
}

.front-popular-card__link {
	min-height: 154px;
	padding: 16px;
}

.front-popular-card:hover,
.front-popular-card:focus-within {
	border-color: rgba(14, 63, 122, .28);
	background: #F2F7FB;
}

/* Search page. */
.search-page .container {
	padding-top: 46px;
	padding-bottom: 86px;
}

.search-page__hero {
	margin-bottom: 42px;
	padding: clamp(32px, 5vw, 50px) clamp(24px, 5vw, 48px);
	background: #E4EEF8;
}

.search-page__kicker {
	margin: 0 0 10px;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: .11em;
	text-transform: uppercase;
	color: var(--znachenie-brand);
}

.search-page__title {
	max-width: 900px;
	margin: 0 0 12px;
	font-size: clamp(34px, 4.7vw, 54px);
	line-height: 1.04;
	letter-spacing: -0.042em;
	color: var(--znachenie-brand);
}

.search-page__title-query {
	color: var(--znachenie-ink);
}

.search-page__meta {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--znachenie-muted);
}

.search-page__form {
	display: flex;
	max-width: 690px;
	margin-top: 24px;
}

.search-page__field {
	min-width: 0;
	flex: 1 1 auto;
	height: 48px;
	padding: 0 15px;
	border: 1px solid rgba(14, 63, 122, .26);
	border-right: 0;
	border-radius: 0;
	background: #fff;
	color: var(--znachenie-ink);
	font: inherit;
	outline: 0;
}

.search-page__field:focus {
	border-color: var(--znachenie-brand);
	box-shadow: inset 0 0 0 1px var(--znachenie-brand);
}

.search-page__submit {
	flex: 0 0 auto;
	height: 48px;
	padding: 0 25px;
	border: 1px solid var(--znachenie-brand);
	border-radius: 0;
	background: var(--znachenie-brand);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.search-page__submit:hover,
.search-page__submit:focus {
	border-color: #0A356A;
	background: #0A356A;
}

.search-results__head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 22px;
}

.search-results__title {
	margin: 0;
	font-size: clamp(26px, 3vw, 34px);
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--znachenie-brand);
}

.search-results__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 18px;
}

.search-result-card {
	min-width: 0;
	margin: 0;
	border: 1px solid var(--znachenie-border);
	background: #fff;
}

.search-result-card__inner {
	display: grid;
	grid-template-columns: 142px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
	height: 100%;
	padding: 15px;
}

.search-result-card__thumb {
	display: block;
	width: 142px;
	height: 104px;
	overflow: hidden;
	background: var(--znachenie-soft);
}

.search-result-card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .2s ease, opacity .2s ease;
}

.search-result-card__thumb:hover img,
.search-result-card__thumb:focus img {
	transform: scale(1.015);
	opacity: .94;
}

.search-result-card__body {
	min-width: 0;
}

.search-result-card__tag {
	display: inline-block;
	margin: 0 0 9px;
	padding: 4px 8px 3px;
	background: #E8F0F8;
	color: var(--znachenie-brand);
	font-size: 10px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
}

.search-result-card__tag:hover,
.search-result-card__tag:focus {
	background: #DCE9F5;
	color: var(--znachenie-brand);
	text-decoration: none;
}

.search-result-card__title {
	margin: 0 0 7px;
	font-size: 18px;
	line-height: 1.32;
	letter-spacing: -0.014em;
}

.search-result-card__title a {
	color: var(--znachenie-ink);
	text-decoration: none;
}

.search-result-card__title a:hover,
.search-result-card__title a:focus {
	color: var(--znachenie-brand);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.search-result-card__excerpt {
	margin: 0 0 11px;
	font-size: 13px;
	line-height: 1.55;
	color: var(--znachenie-muted);
}

.search-result-card__date {
	display: block;
	font-size: 11px;
	line-height: 1.3;
	color: #7A8798;
}

.search-empty {
	max-width: 760px;
	padding: 30px 32px;
	background: #F5F8FB;
}

.search-empty__title {
	margin: 0 0 10px;
	font-size: 28px;
	line-height: 1.15;
	color: var(--znachenie-ink);
}

.search-empty p {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: var(--znachenie-muted);
}

.search-page .posts-navigation {
	margin-top: 42px;
}

@media (max-width: 900px) {
	.search-results__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.front-popular__grid {
		gap: 12px;
	}

	.front-popular-card__link {
		padding: 14px;
	}

	.search-page .container {
		padding-top: 26px;
		padding-bottom: 60px;
	}

	.search-page__hero {
		margin-bottom: 34px;
		padding: 28px 20px;
	}

	.search-page__form {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		margin-top: 20px;
	}

	.search-page__field,
	.search-page__submit {
		height: 46px;
	}

	.search-page__submit {
		padding: 0 18px;
	}

	.search-result-card__inner {
		grid-template-columns: 108px minmax(0, 1fr);
		gap: 14px;
		padding: 13px;
	}

	.search-result-card__thumb {
		width: 108px;
		height: 84px;
	}

	.search-result-card__excerpt {
		display: none;
	}

	.search-empty {
		padding: 24px 20px;
	}
}

@media (max-width: 420px) {
	.search-result-card__inner {
		grid-template-columns: 1fr;
	}

	.search-result-card__thumb {
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
	}
}


/* =========================
   404 PAGE — 1.0.73
   ========================= */

.error-404-page .container {
	padding-top: 46px;
	padding-bottom: 84px;
}

.error-404__hero {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(260px, .65fr);
	gap: 34px;
	align-items: stretch;
	padding: 42px;
	background: #EEF5FA;
}

.error-404__kicker {
	margin: 0 0 8px;
	color: var(--znachenie-brand);
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.error-404__code {
	margin: 0 0 4px;
	color: #B7D3E2;
	font-size: clamp(74px, 10vw, 124px);
	font-weight: 800;
	line-height: .9;
	letter-spacing: -.07em;
}

.error-404__title {
	max-width: 680px;
	margin: 0 0 14px;
	color: var(--znachenie-brand);
	font-size: clamp(34px, 5vw, 52px);
	line-height: 1.03;
	letter-spacing: -.035em;
}

.error-404__text {
	max-width: 650px;
	margin: 0;
	color: var(--znachenie-muted);
	font-size: 16px;
	line-height: 1.65;
}

.error-404__form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	max-width: 610px;
	margin-top: 26px;
}

.error-404__field {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid #CDD9E5;
	border-right: 0;
	border-radius: 0;
	background: #fff;
	color: var(--znachenie-ink);
	outline: 0;
}

.error-404__field:focus {
	border-color: var(--znachenie-brand);
	box-shadow: inset 0 0 0 1px var(--znachenie-brand);
}

.error-404__submit {
	height: 48px;
	padding: 0 24px;
	border: 1px solid var(--znachenie-brand);
	border-radius: 0;
	background: var(--znachenie-brand);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.error-404__submit:hover,
.error-404__submit:focus {
	border-color: #0A356A;
	background: #0A356A;
}

.error-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.error-404__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 15px;
	border: 1px solid var(--znachenie-border);
	background: #fff;
	color: var(--znachenie-brand);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.error-404__button:hover,
.error-404__button:focus {
	border-color: var(--znachenie-brand);
	text-decoration: none;
}

.error-404__button--primary {
	border-color: var(--znachenie-brand);
	background: var(--znachenie-brand);
	color: #fff;
}

.error-404__button--primary:hover,
.error-404__button--primary:focus {
	border-color: #0A356A;
	background: #0A356A;
	color: #fff;
}

.error-404__aside {
	align-self: center;
	padding: 26px;
	background: #fff;
}

.error-404__aside-title {
	margin: 0 0 16px;
	color: var(--znachenie-ink);
	font-size: 18px;
	line-height: 1.3;
}

.error-404__nav {
	display: grid;
	gap: 0;
}

.error-404__nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-top: 1px solid var(--znachenie-border);
	color: var(--znachenie-brand);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.error-404__nav a:last-child {
	border-bottom: 1px solid var(--znachenie-border);
}

.error-404__nav a::after {
	content: "→";
	font-weight: 400;
}

.error-404__nav a:hover,
.error-404__nav a:focus {
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 820px) {
	.error-404__hero {
		grid-template-columns: 1fr;
		padding: 34px;
	}

	.error-404__aside {
		align-self: stretch;
	}
}

@media (max-width: 560px) {
	.error-404-page .container {
		padding-top: 24px;
		padding-bottom: 60px;
	}

	.error-404__hero {
		gap: 24px;
		padding: 26px 20px;
	}

	.error-404__code {
		font-size: 72px;
	}

	.error-404__form {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.error-404__field {
		border-right: 1px solid #CDD9E5;
	}

	.error-404__submit {
		width: 100%;
	}

	.error-404__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.error-404__button {
		width: 100%;
	}

	.error-404__aside {
		padding: 22px 18px;
	}
}
