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

/* =========================
   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 {
	--atlas-bg: #FCFCFB;
	--atlas-surface: #FBFAF7;
	--atlas-soft: #E8EEF6;
	--atlas-text: #243246;
	--atlas-ink: #0A1B33;
	--atlas-muted: #5B677A;
	--atlas-line: #90A4BF;
	--atlas-brand: #0E3F7A;
	--atlas-gold: #C9A96B;
	--atlas-icon-size: 65px;
	--atlas-divider-width: 380px;
}


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

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

a:hover,
a:focus {
	color: var(--atlas-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(--atlas-bg);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Montserrat", Arial, sans-serif;
	color: var(--atlas-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(--atlas-bg);
	clip: auto !important;
	clip-path: none;
	color: var(--atlas-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(--atlas-bg);
	border-bottom: 1px solid var(--atlas-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(--atlas-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(--atlas-muted);
	line-height: 1.4;
}

.main-navigation .menu li a:hover,
.main-navigation .menu li a:focus {
	background-color: transparent;
	color: var(--atlas-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(--atlas-ink);
}

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

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

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

.post-card__excerpt {
	font-size: 18px;
	color: var(--atlas-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(--atlas-text);
	background: transparent;
}

.posts-navigation .page-numbers.current,
.posts-navigation .page-numbers:hover,
.posts-navigation .page-numbers:focus {
	background-color: transparent;
	color: var(--atlas-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(--atlas-muted);
}

.post-single__content {
	font-size: 17px;
	color: var(--atlas-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;
}

.post-single__footer {
	margin-top: 24px;
	font-size: 15px;
	color: var(--atlas-muted);
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
}

.post-single__cats strong,
.post-single__tags strong {
	font-weight: 600;
}

.post-navigation {
	margin-top: 32px;
	font-size: 15px;
	display: flex;
	justify-content: space-between;
}

/* =========================
   СТРАНИЦА (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(--atlas-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(--atlas-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(--atlas-text);
}

.search-form .search-submit {
	padding: 10px 0;
	border: 0;
	background-color: transparent;
	color: var(--atlas-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(--atlas-bg);
	border-top: 1px solid var(--atlas-line);
	padding: 24px 0;
	font-size: 15px;
	color: var(--atlas-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(--atlas-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(--atlas-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(--atlas-muted);
	margin-bottom: 14px;
	line-height: 1.6;
}

.front-hero__text {
	font-size: 18px;
	color: var(--atlas-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(--atlas-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(--atlas-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(--atlas-muted);
}

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

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

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

/* =========================
   SINGLE DREAMBOOK
   ========================= */

.dreambook-single .container {
	max-width: 860px;
	margin: 0 auto;
	padding: 40px 20px;
}

.dreambook-article {
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.68;
	color: var(--atlas-text);
}

.dreambook-header {
	margin-bottom: 32px;
}

.dreambook-terms {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 16px;
}

.dreambook-term {
	display: inline-block;
	padding: 0;
	background: transparent;
	color: var(--atlas-muted);
	font-size: 14px;
	text-decoration: none;
}

.dreambook-term:hover,
.dreambook-term:focus {
	color: var(--atlas-brand);
}

.dreambook-term:hover {
	background: transparent;
	text-decoration: underline;
}

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

.dreambook-meta {
	font-size: 14px;
	color: var(--atlas-muted);
	margin-bottom: 20px;
}

.dreambook-lead {
	margin-bottom: 28px;
	font-size: 19px;
	line-height: 1.6;
	color: var(--atlas-muted);
}

.dreambook-lead p:last-child {
	margin-bottom: 0;
}

.dreambook-thumbnail {
	margin-bottom: 28px;
}

.dreambook-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0;
}

.dreambook-content h2 {
	margin-top: 42px;
	margin-bottom: 16px;
	font-size: 28px;
	line-height: 1.25;
}

.dreambook-content h3 {
	margin-top: 30px;
	margin-bottom: 14px;
	font-size: 22px;
	line-height: 1.3;
}

.dreambook-content p {
	margin-bottom: 18px;
}

.dreambook-content ul,
.dreambook-content ol {
	margin-bottom: 20px;
	padding-left: 22px;
}

.dreambook-footer {
	margin-top: 40px;
	padding-top: 24px;
}

.dreambook-back-link {
	color: var(--atlas-brand);
	text-decoration: none;
	font-weight: 600;
}

.dreambook-related {
	margin-top: 56px;
	padding-top: 8px;
}

.dreambook-related__title {
	font-size: 30px;
	line-height: 1.2;
	margin: 0 0 24px;
	color: var(--atlas-brand);
}

.dreambook-related__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
}

@media (min-width: 768px) {
	.dreambook-related__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.dreambook-card__thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 8 / 5;
	object-fit: cover;
}

.dreambook-related-card__thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 8 / 5;
	object-fit: cover;
}

.dreambook-related-card__title {
	font-size: 22px;
	line-height: 1.25;
	margin: 0 0 10px;
}

.dreambook-related-card__title a {
	color: var(--atlas-ink);
	text-decoration: none;
}

.dreambook-related-card__title a:hover,
.dreambook-related-card__title a:focus {
	color: var(--atlas-brand);
	text-decoration: underline;
}

.dreambook-related-card__excerpt {
	font-size: 16px;
	line-height: 1.65;
	color: var(--atlas-text);
}

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

/* =========================
   ARCHIVE DREAMBOOK
   ========================= */

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

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

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

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

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

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

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

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

.dreambook-card {
	background: transparent;
}

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

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

.dreambook-card__content {
	display: block;
}

.dreambook-card__terms {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.dreambook-card__term {
	font-size: 14px;
	line-height: 1.4;
	color: var(--atlas-muted);
	text-decoration: none;
}

.dreambook-card__term:hover,
.dreambook-card__term:focus {
	color: var(--atlas-brand);
}

.dreambook-card__term:hover {
	text-decoration: underline;
}

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

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

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

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

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

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

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

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

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

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

	.dreambook-related__title {
		font-size: 26px;
	}
}

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

.front-page {
	background-color: var(--atlas-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(--atlas-bg);
	padding: 0;
}

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

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

.front-hero__text {
	font-size: 18px;
	line-height: 1.7;
	color: var(--atlas-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(--atlas-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(--atlas-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;
	}
}

/* =========================
   TAXONOMY DREAMBOOK CATEGORY
   ========================= */

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

.dreambook-taxonomy-header {
	max-width: 860px;
	margin-bottom: 36px;
}

.dreambook-taxonomy-title {
	font-size: 38px;
	line-height: 1.15;
	margin: 0 0 14px;
	color: var(--atlas-brand);
}

.dreambook-taxonomy-description {
	font-size: 18px;
	line-height: 1.6;
	color: var(--atlas-muted);
}

.dreambook-taxonomy-description p:last-child {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.dreambook-taxonomy-title {
		font-size: 34px;
	}
}

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

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

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

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

.quick-meaning p {
	margin-bottom: 18px;
	font-size: 17px;
	line-height: 1.75;
	color: var(--atlas-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(--atlas-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(--atlas-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(--atlas-muted);
}

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

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

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

.comment-metadata a {
	color: var(--atlas-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(--atlas-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(--atlas-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(--atlas-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(--atlas-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(--atlas-line);
	background: var(--atlas-bg);
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.6;
	color: var(--atlas-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(--atlas-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(--atlas-brand);
	cursor: pointer;
}

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

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

.comment-navigation a {
	color: var(--atlas-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(--atlas-soft);
	border-radius: 0;
}

.dream-nav h2 {
	margin: 0 0 24px;
	font-size: 30px;
	line-height: 1.15;
	color: var(--atlas-brand);
}

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

.dream-nav__section h3 {
	margin: 0 0 12px;
	font-size: 20px;
	line-height: 1.25;
	color: var(--atlas-brand);
}

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

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

.dream-nav__tag:hover,
.dream-nav__tag:focus {
	background: var(--atlas-bg);
	border-color: var(--atlas-brand);
	color: var(--atlas-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(--atlas-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 {
		font-size: 28px;
	}

	.dream-nav__section h3 {
		font-size: 19px;
	}

	.dream-nav__tags {
		gap: 8px;
	}

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

/* =========================
   DREAMBOOK BLOCKS
   ========================= */

.atlas-section {
	position: relative;
	margin-top: 56px;
	padding-top: 102px;
}

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

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

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

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

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

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

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

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

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

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

	.atlas-section::after {
		width: 54px;
		height: 54px;
		padding: 0 6px;
	}

	.atlas-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(--atlas-brand);
	border-radius: 999px;
	background: var(--atlas-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(--atlas-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(--atlas-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(--atlas-brand);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.2;
	border: 1px solid var(--atlas-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(--atlas-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(--atlas-soft);
}

.dream-analysis-hero h1 {
	margin: 0 0 18px;
	color: var(--atlas-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(--atlas-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(--atlas-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(--atlas-muted);
}

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

.dream-analysis-final__text {
	margin: 0;
	font-size: 22px;
	line-height: 1.6;
	color: var(--atlas-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(--atlas-brand);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	line-height: 1.2;
	border: 1px solid var(--atlas-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(--atlas-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;
	}
}