/*
Theme Name: РК-Пресс
Theme URI: https://rk-press.ru/
Author: Редакция «РК-Пресс»
Description: Городской гид Петрозаводска и Карелии. Главная по сценариям «Жить / Гулять / Ехать», фото-карточки, готовые маршруты, сезонный блок; статья с крупной обложкой, оглавлением и блоком «Коротко». Палитра — вода, гранит, хвоя. JSON-LD Article/FAQPage.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: rkpress
*/

:root {
	--bg: #f3f2ee;          /* светлый гранит */
	--surface: #ffffff;
	--ink: #17201d;         /* почти чёрная хвоя */
	--text: #2b3431;
	--muted: #616b67;
	--line: #dedbd3;
	--spruce: #1f3f35;      /* ельник */
	--spruce-2: #2c5a4b;
	--lake: #35555f;        /* онежская вода */
	--lake-soft: #e4ebea;
	--moss-soft: #e8ece2;
	--granite: #c9b2a6;     /* розовый гранит */
	--granite-soft: #f1e8e2;
	--berry: #a8432f;       /* брусника */
	--radius: 16px;
	--radius-s: 10px;
	--sans: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--wrap: 1200px;
	--gut: 16px;
	--shadow: 0 1px 2px rgba(23, 32, 29, .06), 0 6px 20px rgba(23, 32, 29, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--spruce-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--berry); }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.ico { width: 20px; height: 20px; flex: none; }

/* ------------------------------------------------------------------ шапка */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top__row { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand .mark { color: var(--spruce); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand__tag { display: none; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 18px; box-shadow: 0 12px 24px rgba(23, 32, 29, .08); }
.nav.is-open { display: block; }
.nav__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
.nav__list a { display: block; padding: 10px 0; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; }
.nav__list .current-menu-item > a, .nav__list a:hover { color: var(--spruce-2); }
.nav__search { display: flex; margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg); }
.nav__search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 11px 14px; font: inherit; font-size: 16px; color: var(--ink); }
.nav__search input:focus { outline: none; }
.nav__search button { border: 0; background: transparent; padding: 0 14px; color: var(--spruce); cursor: pointer; }

/* ------------------------------------------------------------ общие блоки */
.tag { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--spruce-2); background: var(--moss-soft); padding: 3px 10px; border-radius: 999px; text-decoration: none; }
.tag:hover { color: var(--spruce); background: #dbe3d3; }
.tag--soft { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.chips a span { color: var(--muted); font-size: 13px; }
.chips a:hover { border-color: var(--spruce-2); color: var(--spruce-2); }
.chips a[aria-current="page"] { background: var(--spruce); border-color: var(--spruce); color: #fff; }
.chips a[aria-current="page"] span { color: #bcd3c9; }
.chips--light a { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .35); color: #fff; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.chips--light a:hover { background: #fff; color: var(--spruce); border-color: #fff; }
.btn { display: inline-block; padding: 11px 20px; border-radius: 12px; background: var(--spruce); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.btn:hover { background: var(--spruce-2); color: #fff; }
.btn--ghost { background: transparent; color: var(--spruce); border: 1px solid var(--spruce); }
.btn--ghost:hover { background: var(--spruce); color: #fff; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin: 0 0 18px; }
.sec-title { font-size: 24px; margin: 0; }
.sec-sub { margin: 0; color: var(--muted); font-size: 15.5px; flex-basis: 100%; }
.sec-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; text-decoration: none; }
.sec-link .ico { width: 18px; height: 18px; }

/* --------------------------------------------------------------- карточка */
.card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-width: 0; }
.card__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--lake-soft); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__img img { transform: scale(1.03); }
.card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body .tag { align-self: flex-start; }
.card__title { font-size: 18px; margin: 0; line-height: 1.3; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--spruce-2); }
.card__ex { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.card__meta { margin: auto 0 0; font-size: 13px; color: var(--muted); }
.card--row { flex-direction: row; }
.card--row .card__img { flex: 0 0 38%; aspect-ratio: auto; min-height: 118px; }
.card--row .card__body { padding: 12px 14px; gap: 6px; }
.card--row .card__title { font-size: 16px; }
.card--row .tag { font-size: 12px; padding: 2px 8px; }
.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

/* ------------------------------------------------------------------ главная */
.hero { position: relative; min-height: 540px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--lake); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 28, 24, .15) 0%, rgba(15, 28, 24, .25) 40%, rgba(15, 28, 24, .78) 100%); }
.hero__in { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 76px; }
.hero__eyebrow { margin: 0 0 10px; font-size: 14px; font-weight: 500; letter-spacing: .04em; color: #d6e6e1; }
.hero__title { color: #fff; font-size: 34px; line-height: 1.1; margin: 0 0 12px; max-width: 14em; letter-spacing: -.02em; }
.hero__sub { margin: 0 0 22px; font-size: 17px; line-height: 1.5; max-width: 34em; color: #eef3f1; }
.hero__search { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 6px 6px 6px 14px; max-width: 560px; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.hero__search .ico { color: var(--muted); }
.hero__search input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 16px; padding: 8px 4px; color: var(--ink); background: transparent; }
.hero__search input:focus { outline: none; }
.hero__search button { border: 0; background: var(--spruce); color: #fff; font: 600 15px var(--sans); padding: 11px 16px; border-radius: 10px; cursor: pointer; }
.hero__search button:hover { background: var(--spruce-2); }

.quick { position: relative; z-index: 2; margin-top: -40px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick__item { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); border: 1px solid transparent; transition: border-color .2s, transform .2s; }
.quick__item:hover { border-color: var(--spruce-2); color: var(--ink); transform: translateY(-2px); }
.quick__ico { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; background: var(--lake-soft); color: var(--lake); }
.quick__item:nth-child(2) .quick__ico { background: var(--moss-soft); color: var(--spruce-2); }
.quick__item:nth-child(3) .quick__ico { background: var(--granite-soft); color: var(--berry); }
.quick__item:nth-child(4) .quick__ico { background: #e7e9ef; color: #3f4a6b; }
.quick__text { display: flex; flex-direction: column; line-height: 1.25; }
.quick__text strong { font-size: 16px; }
.quick__text span { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

.scn { margin-top: 44px; display: grid; gap: 14px; }
.scn__cover { position: relative; border-radius: 20px; overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; color: #fff; background: var(--spruce); }
.scn__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scn__cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 28, 24, .05) 0%, rgba(15, 28, 24, .45) 45%, rgba(15, 28, 24, .88) 100%); }
.scn__over { position: relative; z-index: 1; padding: 20px; }
.scn__label { display: inline-block; margin: 0 0 8px; padding: 4px 12px; border-radius: 999px; background: #fff; color: var(--spruce); font-weight: 700; font-size: 14px; }
.scn--gulyat .scn__label { color: var(--berry); }
.scn--ehat .scn__label { color: var(--lake); }
.scn__title { color: #fff; font-size: 28px; margin: 0 0 8px; }
.scn__text { margin: 0; font-size: 16px; line-height: 1.5; color: #eaf1ee; max-width: 30em; }
.scn__cards { display: grid; grid-template-columns: 1fr; gap: 12px; }

.routes { margin-top: 56px; }
.routes__grid { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.route { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; color: #fff; text-decoration: none; scroll-snap-align: start; background: var(--lake); }
.route img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.route:hover img { transform: scale(1.04); }
.route::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 28, 24, .05) 30%, rgba(15, 28, 24, .85) 100%); }
.route__over { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.route__dur { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--spruce); font-size: 13px; font-weight: 600; }
.route__dur .ico { width: 16px; height: 16px; }
.route__name { font-size: 22px; font-weight: 700; line-height: 1.15; }
.route__h { font-size: 14.5px; line-height: 1.4; color: #dfe9e5; }
.route:hover { color: #fff; }

.season { position: relative; margin-top: 56px; color: #fff; overflow: hidden; background: var(--spruce); }
.season__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.season::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 30, 26, .88) 0%, rgba(14, 30, 26, .7) 55%, rgba(14, 30, 26, .35) 100%); }
.season__in { position: relative; z-index: 1; padding-top: 44px; padding-bottom: 44px; display: grid; gap: 22px; }
.season__label { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: #c9ddd5; letter-spacing: .03em; }
.season__title { color: #fff; font-size: 34px; margin: 0 0 10px; }
.season__text { margin: 0; font-size: 16.5px; line-height: 1.55; color: #eaf1ee; max-width: 32em; }
.season__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.season__list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: #fff; text-decoration: none; font-weight: 500; line-height: 1.35; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.season__list a:hover { background: #fff; color: var(--spruce); }

.how { margin-top: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 28px; padding-bottom: 8px; }
.how__text { margin: 0; max-width: 46em; color: var(--muted); font-size: 16px; }
.how__text strong { color: var(--ink); }

/* ------------------------------------------------------------------ статья */
.art__head { padding-top: 26px; }
.art__head > * { max-width: 860px; }
.art__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.art__title { font-size: 30px; line-height: 1.15; margin: 0 0 14px; letter-spacing: -.02em; }
.art__lede { font-size: 19px; line-height: 1.5; color: var(--text); margin: 0 0 16px; }
.art__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 0 0 22px; font-size: 14px; color: var(--muted); }
.art__by { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.art__by .mark { width: 26px; height: 26px; color: var(--spruce); }
.art__cover { margin: 0 auto; }
.art__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; background: var(--lake-soft); }
.art__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 26px; }
.art__main { min-width: 0; max-width: 740px; }
.art__rail { display: none; }

.brief { background: var(--moss-soft); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 22px; border-left: 4px solid var(--spruce-2); }
.brief__title { margin: 0 0 6px; font-weight: 700; color: var(--spruce); font-size: 15px; letter-spacing: .02em; }
.brief__body > :first-child { margin-top: 0; }
.brief__body > :last-child { margin-bottom: 0; }
.brief__body ul { padding-left: 1.1em; }

.toc-m { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); margin: 0 0 24px; }
.toc-m summary { cursor: pointer; padding: 12px 16px; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; }
.toc-m summary::-webkit-details-marker { display: none; }
.toc-m summary::after { content: '+'; color: var(--muted); font-weight: 400; }
.toc-m[open] summary::after { content: '−'; }
.toc-m .toc { padding: 0 16px 14px; }
.toc-m .toc__title { display: none; }
.toc__title { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.toc__list { margin: 0; padding: 0; list-style: none; counter-reset: t; }
.toc__list li { counter-increment: t; }
.toc__list a { display: flex; gap: 10px; padding: 6px 0; color: var(--text); text-decoration: none; font-size: 15px; line-height: 1.4; }
.toc__list a::before { content: counter(t); flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--lake-soft); color: var(--lake); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.toc__list a:hover { color: var(--spruce-2); }

.entry { font-size: 17.5px; line-height: 1.7; }
.entry > :first-child { margin-top: 0; }
.entry h2 { font-size: 24px; margin: 1.8em 0 .6em; }
.entry h3 { font-size: 19.5px; margin: 1.5em 0 .5em; }
.entry p, .entry ul, .entry ol { margin: 0 0 1.05em; }
.entry ul, .entry ol { padding-left: 1.25em; }
.entry li { margin: .3em 0; }
.entry ul li::marker { color: var(--spruce-2); }
.entry ol li::marker { font-weight: 700; color: var(--lake); }
.entry strong { color: var(--ink); }
.entry blockquote { margin: 1.4em 0; padding: 14px 18px; background: var(--lake-soft); border-radius: var(--radius-s); color: var(--ink); }
.entry blockquote p:last-child { margin-bottom: 0; }
.entry figure { margin: 1.6em 0; }
.entry figure img, .entry > p img { border-radius: 14px; width: 100%; height: auto; }
.entry figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.entry .wp-block-table, .entry table { display: block; overflow-x: auto; }
.entry table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 1.4em 0; background: var(--surface); border-radius: var(--radius-s); }
.entry table, .entry thead, .entry tbody, .entry tr { border: 0 !important; }
.entry th, .entry td { text-align: left; padding: 10px 12px; border: 0 !important; border-bottom: 1px solid var(--line) !important; vertical-align: top; }
.entry .wp-block-table { margin: 1.4em 0; border-radius: var(--radius-s); box-shadow: var(--shadow); }
.entry .wp-block-table table { margin: 0; }
.entry th { background: var(--bg); color: var(--ink); font-weight: 600; }
.entry hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.entry iframe { max-width: 100%; border-radius: 14px; }

.byline { display: flex; gap: 14px; align-items: flex-start; margin: 36px 0 0; padding: 18px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); font-size: 15px; line-height: 1.55; }
.byline .mark { flex: none; width: 44px; height: 44px; color: var(--spruce); }
.byline p { margin: 0 0 6px; color: var(--muted); }
.byline__name { color: var(--ink) !important; font-weight: 700; }
.byline a { font-weight: 600; font-size: 14.5px; }

.more { margin-top: 48px; }

.offer { margin: 28px 0; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 10px; }
.offer__label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.offer__title { font-weight: 700; font-size: 18px; margin: 0; color: var(--ink); }
.offer__text p { margin: 0 0 .5em; }
.offer__btn { align-self: flex-start; padding: 10px 18px; border-radius: 10px; background: var(--berry); color: #fff; text-decoration: none; font-weight: 600; }
.offer__btn:hover { background: #8e3726; color: #fff; }
.offer__note { margin: 0; font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------------------ рубрика */
.rub__head { padding-top: 30px; padding-bottom: 24px; }
.rub__title { font-size: 32px; margin: 0 0 10px; letter-spacing: -.02em; }
.rub__desc { color: var(--muted); font-size: 17px; max-width: 42em; }
.rub__desc p { margin: 0; }
.grid--rub { gap: 18px; }
.empty { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); max-width: 640px; }
.empty p { margin: 0 0 12px; }
.pagination { margin: 28px 0 0; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; padding: 0 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.pagination .current { background: var(--spruce); border-color: var(--spruce); color: #fff; }
.sform { display: flex; gap: 8px; max-width: 520px; margin: 16px 0; }
.sform input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 16px; background: var(--surface); }
.sform button { padding: 0 18px; border: 0; border-radius: 12px; background: var(--spruce); color: #fff; font: 600 15px var(--sans); cursor: pointer; }
.nf__code { font-size: 64px; font-weight: 700; color: var(--granite); margin: 0; line-height: 1; }

/* ------------------------------------------------------------------ подвал */
.foot { margin-top: 64px; background: var(--spruce); color: #c8d6d0; font-size: 15px; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: var(--granite); }
.foot__in { display: grid; gap: 22px; padding-top: 36px; padding-bottom: 20px; }
.brand--foot { color: #fff; }
.brand--foot .mark { color: #2f6b59; }
.foot__brand p { margin: 12px 0 0; max-width: 30em; line-height: 1.55; }
.foot__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot__list--muted a { color: #c8d6d0; }
.foot__copy { font-size: 13px; color: #9fb4ab; padding-top: 16px; padding-bottom: 28px; margin: 0 auto; background: linear-gradient(rgba(255, 255, 255, .12), rgba(255, 255, 255, .12)) var(--gut) 0 / calc(100% - 2 * var(--gut)) 1px no-repeat; }

/* ============================================================ ≥561: планшет */
@media (min-width: 561px) {
	:root { --gut: 24px; }
	.brand__tag { display: block; }
	.quick { grid-template-columns: repeat(4, 1fr); margin-top: -46px; }
	.hero { min-height: 560px; }
	.hero__title { font-size: 44px; }
	.grid { grid-template-columns: 1fr 1fr; gap: 18px; }
	.scn__cards { grid-template-columns: 1fr 1fr; }
	.card--row { flex-direction: column; }
	.card--row .card__img { flex: none; aspect-ratio: 3 / 2; min-height: 0; }
	.routes__grid { grid-auto-columns: 46%; }
	.art__title { font-size: 38px; }
	.rub__title { font-size: 40px; }
	.foot__in { grid-template-columns: 1.4fr 1fr; }
	.foot__brand { grid-column: 1 / -1; }
	.nav__list { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================ ≥921: десктоп */
@media (min-width: 921px) {
	:root { --gut: 32px; }
	body { font-size: 17.5px; }
	.top__row { min-height: 68px; gap: 24px; }
	.nav-toggle { display: none; }
	.nav { display: flex !important; position: static; padding: 0; background: transparent; border: 0; box-shadow: none; align-items: center; gap: 18px; }
	.nav__list { display: flex; gap: 2px; }
	.nav__list a { padding: 8px 11px; border-radius: 10px; font-size: 15.5px; }
	.nav__list a:hover, .nav__list .current-menu-item > a { background: var(--moss-soft); color: var(--spruce); }
	.nav__search { margin: 0; width: 210px; }
	.nav__search input { padding: 8px 12px; font-size: 15px; }
	.hero { min-height: 620px; }
	.hero__in { padding-bottom: 96px; }
	.hero__title { font-size: 58px; }
	.hero__sub { font-size: 19px; }
	.quick { gap: 16px; margin-top: -56px; }
	.quick__item { flex-direction: row; align-items: center; padding: 18px; gap: 14px; }
	.quick__ico { width: 46px; height: 46px; }
	.scn { grid-template-columns: 5fr 7fr; gap: 20px; margin-top: 64px; align-items: stretch; }
	.scn--flip { grid-template-columns: 7fr 5fr; }
	.scn--flip .scn__cover { order: 2; }
	.scn__cover { min-height: 460px; border-radius: 22px; }
	.scn__over { padding: 28px; }
	.scn__title { font-size: 32px; }
	.scn__cards { gap: 16px; }
	.scn__cards .card__title { font-size: 17px; }
	.routes { margin-top: 72px; }
	.routes__grid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
	.sec-title { font-size: 30px; }
	.sec-sub { flex-basis: auto; }
	.season { margin-top: 72px; }
	.season__in { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 72px; }
	.season__title { font-size: 44px; }
	.how { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }
	.grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
	.grid--rub .card--big { grid-column: span 2; grid-row: span 2; }
	.grid--rub .card--big .card__img { aspect-ratio: auto; flex: 1 1 auto; min-height: 340px; position: relative; }
	.grid--rub .card--big .card__img img { position: absolute; inset: 0; }
	.grid--rub .card--big .card__body { flex: 0 0 auto; }
	.grid--rub .card--big .card__title { font-size: 26px; }
	.grid--rub .card--big .card__ex { font-size: 16.5px; }
	.art__head { padding-top: 40px; }
	.art__title { font-size: 46px; }
	.art__lede { font-size: 21px; }
	.art__cover img { border-radius: 22px; }
	.art__grid.has-toc { grid-template-columns: minmax(0, 740px) 280px; justify-content: space-between; gap: 48px; margin-top: 36px; }
	.art__grid { margin-top: 36px; }
	.has-toc .toc-m { display: none; }
	.art__rail { display: block; }
	.art__sticky { position: sticky; top: 92px; background: var(--surface); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); max-height: calc(100vh - 110px); overflow: auto; }
	.entry h2 { font-size: 27px; }
	.foot__in { grid-template-columns: 1.3fr 1fr 1fr; }
	.foot__brand { grid-column: auto; }
	.foot__list { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}
