/*
Theme Name: Айдер Васибов
Theme URI: https://example.com/
Author: Отдел маркетинга
Description: Тема личного бренда Айдера Васибова с журналом. Винтажная «постерная» эстетика (синий, кремовая бумага, ржавый акцент), SEO-разметка schema.org, хлебные крошки, авторские циклы статей, направления, кейсы, СМИ, события.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aider
*/

/* ===== Токены ===== */
:root {
	--navy: #123C59;
	--navy-deep: #0B2D46;
	--navy-line: #24506F;
	--paper: #F3EBD6;
	--paper-alt: #EFE6CF;
	--card: #FAF5E8;
	--line: #E3D6B7;
	--line-strong: #D9CBA8;
	--rust: #DB5D1C;
	--rust-text: #9E5430;
	--terra: #DF886C;
	--ink: #2A241C;
	--ink-soft: #4A4235;
	--muted: #6B604A;
	--light: #F6EDD9;
	--light-soft: #E2D8C0;
	--frame: #0B2D46;
	--f-display: 'Oswald', 'Arial Narrow', sans-serif;
		--f-sans: 'Open Sans', system-ui, -apple-system, sans-serif;
	--radius: 12px;
	--shadow: 0 4px 16px rgba(42, 36, 28, .08);
	--wrap: 1280px;
}

/* ===== База ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
	margin: 0;
	font-family: var(--f-sans);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background-color: var(--paper);
	background-image:
		linear-gradient(rgba(150, 125, 80, .09) 1px, transparent 1px),
		linear-gradient(90deg, rgba(150, 125, 80, .09) 1px, transparent 1px);
	background-size: 28px 28px;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }
a:hover { opacity: .82; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; }
button, input, select, textarea { font: inherit; }
.screen-reader-text, .sr-only {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto;
	background: var(--card); padding: 12px 18px; border-radius: var(--radius);
}

/* ===== Сетка и секции ===== */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 820px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sec { padding-top: 80px; padding-bottom: 80px; }
.sec--tight { padding-top: 48px; padding-bottom: 48px; }
.sec--top0 { padding-top: 0; }
.bg-alt { background: var(--paper-alt); }
.bg-grey { background: #EDEDED; }
.bg-navy { background: var(--navy); color: var(--light); }
.bg-navy .h2, .bg-navy .h1 { color: var(--light); }
.bg-navy p { color: var(--light-soft); }
.grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--wide { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid--narrow { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split > .split__side { flex: 1 1 280px; }
.split > .split__main { flex: 999 1 560px; min-width: 0; }
.split--center { align-items: center; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.row--between { justify-content: space-between; }
.center { text-align: center; }

/* ===== Типографика ===== */
.eyebrow {
	margin: 0 0 10px; font-family: var(--f-display); font-weight: 600; font-size: 14px;
	letter-spacing: .1em; text-transform: uppercase; color: var(--rust-text);
}
.bg-navy .eyebrow { color: var(--terra); }
.h1, .h2, .h3 { margin: 0; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; color: var(--navy-deep); }
.h1 { font-size: clamp(40px, 6vw, 88px); line-height: .98; }
.h1--xl { font-size: clamp(52px, 8vw, 116px); line-height: .95; letter-spacing: .01em; }
.h2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.04; }
.h2--sm { font-size: clamp(26px, 3vw, 40px); }
.h3 { font-size: 22px; line-height: 1.12; }
.h3 a, .h2 a { text-decoration: none; }
.lead { margin: 22px 0 0; font-family: var(--f-sans); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; max-width: 760px; }
.num { font-family: var(--f-display); font-weight: 700; line-height: 1; color: var(--rust); }
.meta {
	font-family: var(--f-sans); font-weight: 600; font-size: 12px; letter-spacing: .06em;
	text-transform: uppercase; color: var(--muted);
}
.meta--accent { color: var(--rust-text); }
.meta a { text-decoration: none; }
.muted { color: var(--ink-soft); }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }

.divider {
	display: flex; align-items: center; justify-content: center; gap: 18px; margin: 40px 0 0;
	font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: .06em;
	text-transform: uppercase; color: var(--navy-deep);
}
.divider::before, .divider::after { content: ''; flex: 0 1 160px; height: 2px; background: var(--navy-deep); }
.divider i { width: 12px; height: 12px; border-radius: 50%; background: var(--rust); }

.rule {
	display: flex; align-items: center; justify-content: center; gap: 14px;
	font-family: var(--f-display); font-weight: 600; font-size: 14px; letter-spacing: .12em;
	text-transform: uppercase; color: var(--rust-text);
}
.rule::before, .rule::after { content: ''; width: 48px; height: 2px; background: var(--navy-deep); }
.rule--left { justify-content: flex-start; }

/* ===== Кнопки и чипы ===== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 12px 28px; border-radius: 999px; border: 2px solid var(--rust);
	background: var(--rust); color: #fff; cursor: pointer; text-decoration: none;
	font-family: var(--f-sans); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
}
.btn--outline { background: transparent; color: var(--navy-deep); border-color: var(--navy-deep); }
.btn--light { background: transparent; color: var(--light); border-color: var(--light); }
.btn--sm { min-height: 44px; padding: 8px 20px; font-size: 13px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
	display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px;
	border: 2px solid var(--navy-deep); border-radius: 999px; color: var(--navy-deep); text-decoration: none;
	font-family: var(--f-sans); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
}
.pill.is-active, .pill[aria-current] { background: var(--navy-deep); color: var(--light); }
/* a.tag, а не .tag: WordPress ставит класс «tag» на <body> теговых страниц. */
a.tag {
	display: inline-flex; align-items: center; min-height: 36px; padding: 4px 14px; border: 1px solid var(--navy-deep);
	border-radius: 999px; font-family: var(--f-sans); font-weight: 700; font-size: 12px; letter-spacing: .06em;
	text-transform: uppercase; text-decoration: none; color: var(--navy-deep);
}

/* ===== Карточки и заглушки ===== */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.card--pad { padding: 32px 28px; }
.poster { background: var(--card); border: 3px solid var(--frame); border-radius: var(--radius); padding: clamp(28px, 5vw, 64px); }
.framed { border: 3px solid var(--frame); border-radius: var(--radius); }
.ph {
	border-radius: var(--radius);
	display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px;
	background: repeating-linear-gradient(135deg, #EADFC4 0 14px, #E3D6B7 14px 28px);
	font-family: var(--f-display); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.thumb { width: 100%; object-fit: cover; border-radius: var(--radius); }
.photo { width: 100%; object-fit: cover; border: 3px solid var(--frame); border-radius: var(--radius); }
.photo--4x5 { aspect-ratio: 4 / 5; }
.photo--4x3 { aspect-ratio: 4 / 3; }

.post-card { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px 24px; }
.post-card > *:not(.thumb):not(.ph) { padding-left: 8px; padding-right: 8px; }
.post-card__title { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 24px; line-height: 1.08; text-transform: uppercase; color: var(--navy-deep); }
.post-card__title a { text-decoration: none; }
.post-card__excerpt { margin: 0; font-family: var(--f-sans); font-size: 15px; flex-grow: 1; }
.post-card__foot { display: flex; justify-content: space-between; gap: 12px; }
.post-card__more { color: var(--navy-deep); }

.stat { display: flex; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.stat .num { font-size: 30px; }

/* Ряды-ячейки внутри карточки (цифры, таймлайн, этапы) */
.cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); list-style: none; margin: 0; padding: 0; }
.cells > * { padding: 28px; border-right: 1px solid var(--line); }
.cells > *:last-child { border-right: 0; }
.cells--navy > * { border-color: var(--navy-line); }

/* ===== Шапка ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--light); box-shadow: 0 6px 18px rgba(11, 45, 70, .25); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--light); }
.brand__mark { font-family: var(--f-display); font-weight: 700; font-size: 28px; color: var(--terra); }
.brand__mark img { max-height: 44px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--f-display); font-weight: 700; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; }
.brand__tag { font-family: var(--f-sans); font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #C9BFA6; }
.nav ul { display: flex; flex-wrap: wrap; gap: 4px 26px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 0; text-decoration: none; font-family: var(--f-sans); font-weight: 600; font-size: 15px; }
.nav .current-menu-item > a, .nav .current-menu-ancestor > a, .nav .current_page_parent > a { color: var(--terra); }
.nav .sub-menu { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--light); background: none; border: 0; cursor: pointer; border-radius: 50%; }
.nav-toggle { display: none; }
.header-cta { min-height: 44px; padding: 10px 24px; font-size: 14px; }

@media (max-width: 1000px) {
	.nav-toggle { display: inline-flex; }
	.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-top: 1px solid var(--navy-line); padding: 8px 24px 20px; }
	.nav.is-open { display: block; }
	.nav ul { flex-direction: column; gap: 0; }
	.nav a { padding: 12px 0; border-bottom: 1px solid var(--navy-line); font-size: 18px; }
}
@media (max-width: 600px) {
	.site-header__inner { gap: 8px; padding-left: 16px; padding-right: 16px; }
	.brand__tag, .search-link { display: none; }
	.header-actions { margin-left: auto; gap: 4px; }
	.header-cta { padding: 8px 16px; font-size: 13px; white-space: nowrap; }
	.hero__text .row > .btn, .hero-btns > .btn { flex: 1 1 100%; }
}

/* ===== Крошки ===== */
.crumbs {
	display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 28px; padding: 0;
	font-family: var(--f-sans); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.crumbs a { text-decoration: none; color: var(--navy-deep); }
.crumbs--center { justify-content: center; }
.page-head { padding-top: 40px; padding-bottom: 40px; }

/* ===== Главная: hero и блоки ===== */
.hero { padding-top: 56px; padding-bottom: 24px; }
.hero__grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero__text { flex: 999 1 540px; min-width: 0; }
.hero__photo { flex: 1 1 320px; margin: 0; min-width: 0; }
.hero__photo figcaption { margin-top: 10px; }
.hero__manifest { margin: 22px 0 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; text-transform: uppercase; color: var(--rust); max-width: 720px; }
.hero__lead { margin: 20px 0 0; max-width: 600px; font-size: 17px; }
.hero .row { margin-top: 32px; }

.facts .num { font-size: 42px; }
.facts .fact__label, .label-up { margin-top: 10px; font-family: var(--f-display); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; color: var(--navy-deep); }

.timeline .num { font-size: 38px; }
.timeline .num--navy, .num--navy { color: var(--navy-deep); }
.timeline__title { margin-top: 16px; font-weight: 700; color: var(--navy-deep); line-height: 1.35; }
.timeline p { margin: 10px 0 0; color: var(--ink-soft); font-size: 14px; }

.svc-card { display: flex; flex-direction: column; gap: 14px; min-height: 280px; padding: 32px 28px 28px; text-decoration: none; }
.svc-card .num { font-size: 34px; }
.svc-card__title { font-family: var(--f-display); font-weight: 700; font-size: 24px; line-height: 1.1; text-transform: uppercase; color: var(--navy-deep); }
.svc-card__text { color: var(--ink-soft); font-size: 15px; flex-grow: 1; }

.series-banner {
	display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between;
	background: var(--navy); color: var(--light); border-radius: var(--radius); padding: 32px; text-decoration: none; margin-bottom: 36px;
}
.series-banner__title { margin-top: 8px; font-family: var(--f-display); font-weight: 700; font-size: 30px; line-height: 1.1; text-transform: uppercase; }
.series-banner__main { flex: 999 1 420px; min-width: 0; }
.series-banner__progress { flex: 1 1 300px; }
.series-banner__count { display: flex; justify-content: space-between; font-family: var(--f-display); font-weight: 600; font-size: 15px; text-transform: uppercase; margin-bottom: 12px; }
.segments { display: grid; grid-template-columns: repeat(var(--n, 14), minmax(0, 1fr)); gap: 4px; }
.segments span { height: 8px; border-radius: 2px; }

.video-box { position: relative; aspect-ratio: 16 / 9; background: var(--navy-deep); border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.video-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.video-box__play { position: relative; width: 84px; height: 84px; border-radius: 50%; background: var(--rust); color: #fff; display: flex; align-items: center; justify-content: center; }
.video-embed { position: relative; aspect-ratio: 16 / 9; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius); }

.list-links { list-style: none; margin: 0; padding: 0; }
.list-links a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid #CFCFCF; text-decoration: none; }
.list-links b { display: block; color: var(--navy-deep); }

.review { margin: 0; display: flex; flex-direction: column; gap: 20px; padding: 32px 28px; }
.review__mark { font-family: var(--f-display); font-weight: 700; font-size: 64px; line-height: .6; color: var(--terra); }
.review blockquote { margin: 0; font-family: var(--f-sans); font-size: 17px; line-height: 1.55; flex-grow: 1; }
.review figcaption { border-top: 1px solid var(--line); padding-top: 18px; }
.review__name { display: block; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; color: var(--navy-deep); }

.cta-final { padding-top: 88px; padding-bottom: 88px; }
.cta-final .h2 { font-size: clamp(38px, 5.5vw, 80px); line-height: .98; white-space: pre-line; }

/* ===== Формы ===== */
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.lbl { font-family: var(--f-sans); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-deep); }
.bg-navy .lbl { color: var(--light); }
.field { width: 100%; min-height: 52px; padding: 14px 18px; border: 2px solid var(--line-strong); border-radius: 12px; background: #fff; color: var(--ink); }
.field:focus { border-color: var(--navy-deep); outline: none; }
.field--round { border-radius: 999px; }
textarea.field { min-height: 130px; resize: vertical; }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--ink-soft); }
.bg-navy .consent { color: var(--light-soft); }
.consent input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--rust); }
.form .btn { grid-column: 1 / -1; }
.form--inline { display: flex; flex-wrap: wrap; gap: 12px; }
.form--inline .field { flex: 1 1 220px; width: auto; border-radius: 999px; }
.form--inline .btn, .form--inline .consent { grid-column: auto; }
.form--inline .consent { flex-basis: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { padding: 14px 18px; border-radius: var(--radius); background: #E3F0DF; color: #1F4A1A; font-weight: 600; }
.form-notice--err { background: #F6DCD3; color: #7A2A10; }

/* ===== Пагинация ===== */
.pager ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; margin: 48px 0 0; padding: 0; }
.pager a, .pager span {
	display: flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px;
	border-radius: 999px; border: 2px solid var(--navy-deep); text-decoration: none; color: var(--navy-deep);
	font-family: var(--f-sans); font-weight: 700;
}
.pager .current { background: var(--navy-deep); color: var(--light); }
.pager .dots { border-color: transparent; }

/* ===== Статья ===== */
.article-head { padding-top: 40px; text-align: center; }
.article-head .h1 { margin: 18px auto 0; max-width: 1000px; font-size: clamp(40px, 6vw, 84px); }
.article-head .lead { margin-left: auto; margin-right: auto; font-style: italic; }
.article-meta { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px; }
.article-meta .author { display: flex; align-items: center; gap: 10px; color: var(--navy-deep); }
.article-meta .author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: center 22%; }
.article-cover { margin: 40px auto 0; }
.article-cover img, .article-cover .ph { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border: 3px solid var(--frame); border-radius: var(--radius); }
.article-cover figcaption { margin-top: 10px; text-align: center; }
.article-layout { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.article-aside { flex: 1 1 260px; position: sticky; top: 100px; }
.article-body { flex: 999 1 560px; min-width: 0; max-width: 780px; }
.toc { padding: 24px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.toc a { display: flex; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 500; font-size: 15px; text-transform: uppercase; color: var(--navy-deep); }
.toc a .num { font-size: 15px; }
.toc a.is-active { color: var(--rust); }
.share { padding: 24px; margin-top: 20px; }
.share .row { gap: 10px; }
.share a, .share button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--navy-deep); display: inline-flex; align-items: center; justify-content: center; color: var(--navy-deep); background: none; cursor: pointer; text-decoration: none; font-family: var(--f-sans); font-weight: 700; font-size: 13px; }
@media (max-width: 900px) { .article-aside { position: static; } }

/* Текст записи (и страниц) */
.prose { font-family: var(--f-sans); font-size: 19px; line-height: 1.75; color: var(--ink); }
.prose > * { margin-top: 0; margin-bottom: 20px; }
.prose h2 { display: flex; align-items: baseline; gap: 16px; margin: 56px 0 20px; font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; text-transform: uppercase; color: var(--navy-deep); }
.prose h2 .h-num { font-family: var(--f-display); font-weight: 700; font-size: 36px; color: var(--rust); }
.prose h3 { margin: 36px 0 14px; font-family: var(--f-display); font-weight: 700; font-size: 22px; text-transform: uppercase; color: var(--navy-deep); }
.prose a { color: var(--rust-text); text-underline-offset: 3px; }
.prose blockquote, .prose .wp-block-quote, .prose .wp-block-pullquote { margin: 36px 0; padding: 4px 0 4px 28px; border-left: 4px solid var(--rust); font-size: 26px; line-height: 1.4; color: var(--navy-deep); }
.prose blockquote cite { display: block; margin-top: 12px; font-family: var(--f-display); font-style: normal; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.prose figure { margin: 32px 0; }
.prose figure img { border: 3px solid var(--frame); border-radius: var(--radius); }
.prose figcaption, .prose .wp-element-caption { margin-top: 10px; font-family: var(--f-display); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--f-sans); font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line-strong); text-align: left; }
.prose--dropcap > p:first-of-type::first-letter, .prose .has-drop-cap:not(:focus)::first-letter {
	float: left; font-family: var(--f-display); font-weight: 700; font-size: 84px; line-height: .78; margin: 10px 14px 0 0; color: var(--rust);
}
.prose details { border-top: 1px solid var(--line-strong); padding: 20px 0; margin: 0; font-family: var(--f-sans); font-size: 16px; }
.prose details:last-of-type { border-bottom: 1px solid var(--line-strong); }
.prose summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-family: var(--f-display); font-weight: 700; font-size: 20px; text-transform: uppercase; color: var(--navy-deep); }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: '+'; color: var(--rust); }
.prose details[open] summary::after { content: '−'; }
.prose details > :not(summary) { margin: 12px 0 0; color: var(--ink-soft); font-family: var(--f-sans); font-size: 17px; }

.inline-cta { margin: 40px 0; background: var(--navy); color: var(--light); border-radius: var(--radius); padding: 28px 32px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; font-family: var(--f-sans); }
.inline-cta__title { margin-top: 4px; font-family: var(--f-display); font-weight: 700; font-size: 22px; text-transform: uppercase; }

.sources { margin-top: 56px; font-family: var(--f-sans); }
.sources ul { list-style: none; margin: 0; padding: 0; }
.sources li { padding: 16px 0; border-top: 1px solid var(--line-strong); }
.sources a { text-decoration: none; }
.sources b { display: block; font-family: var(--f-display); font-size: 18px; text-transform: uppercase; color: var(--navy-deep); }

.author-card { margin-top: 40px; padding: 28px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; font-family: var(--f-sans); font-size: 16px; }
.author-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center 22%; border: 3px solid var(--navy-deep); }
.author-card__name { font-family: var(--f-display); font-weight: 700; font-size: 22px; text-transform: uppercase; color: var(--navy-deep); }

.nav-pair { display: flex; flex-wrap: wrap; gap: 28px; }
.nav-pair a, .nav-pair div { flex: 1 1 360px; padding: 28px; text-decoration: none; }
.nav-pair .next { text-align: right; }
.nav-pair__title { margin-top: 8px; font-family: var(--f-display); font-weight: 700; font-size: 22px; text-transform: uppercase; color: var(--navy-deep); }
.is-dim { opacity: .65; }

/* Цикл: список выпусков */
.issues { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.issue { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding: 16px 24px 16px 16px; text-decoration: none; }
.issue .thumb, .issue .ph { flex: 0 0 120px; width: 120px; height: 90px; aspect-ratio: auto; }
.issue .num { flex: 0 0 90px; font-size: 34px; }
.issue__body { flex: 1 1 320px; min-width: 0; }
.issue__title { margin-top: 4px; font-family: var(--f-display); font-weight: 700; font-size: 22px; line-height: 1.15; text-transform: uppercase; color: var(--navy-deep); }

/* Направление: строки хаба */
.svc-row { display: flex; flex-wrap: wrap; overflow: hidden; }
.svc-row__media { flex: 1 1 360px; min-height: 300px; display: block; position: relative; }
.svc-row__media img, .svc-row__media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-row__body { flex: 999 1 520px; min-width: 0; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-strong); font-size: 17px; }
.checklist .icon { color: var(--rust); flex-shrink: 0; margin-top: 3px; }
.dots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 24px; }
.dots li { display: flex; gap: 10px; align-items: baseline; }
.dots li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--rust); flex-shrink: 0; transform: translateY(-2px); }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-strong); }
.steps .num { flex: 0 0 52px; font-size: 32px; color: var(--navy-deep); }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 36px 30px; }
.plan--featured { background: var(--navy); color: var(--light); }
.plan__title { font-family: var(--f-display); font-weight: 700; font-size: 24px; text-transform: uppercase; }
.plan__price { font-family: var(--f-display); font-weight: 700; font-size: 38px; line-height: 1; }
.plan .btn { margin-top: auto; }

/* События */
.event { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding: 28px 32px; }
.event__date { flex: 0 0 140px; text-align: center; border-right: 2px solid var(--navy-deep); padding-right: 32px; }
.event__date .num { font-size: 56px; }
.event__body { flex: 999 1 380px; min-width: 0; }
.event__title { margin-top: 4px; font-family: var(--f-display); font-weight: 700; font-size: 26px; line-height: 1.1; text-transform: uppercase; color: var(--navy-deep); }
@media (max-width: 600px) { .event__date { border-right: 0; padding-right: 0; text-align: left; } }

/* Материалы */
.res-card { overflow: hidden; display: flex; flex-direction: column; }
.res-card__cover { padding: 36px 28px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; border-bottom: 3px solid var(--frame); }
.res-card__cover--navy { background: var(--navy); color: var(--light); }
.res-card__cover--rust { background: var(--rust); color: #fff; }
.res-card__cover--paper { background: var(--paper-alt); color: var(--navy-deep); }
.res-card__title { font-family: var(--f-display); font-weight: 700; font-size: 28px; line-height: 1.05; text-transform: uppercase; }
.res-card__body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }

/* Контакты */
.channel { display: flex; align-items: center; gap: 18px; padding: 22px 24px; text-decoration: none; }
.channel__icon { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--light); background: var(--navy); font-family: var(--f-display); font-weight: 700; }
.channel__icon--rust { background: var(--rust); }
.channel__value { font-family: var(--f-display); font-weight: 700; font-size: 20px; color: var(--navy-deep); }
.channel__go { margin-left: auto; color: var(--rust); }

/* Медиа: логотипы СМИ */
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.logos > * { padding: 28px 16px; border-right: 1px solid var(--line); text-align: center; font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* 404 */
.big-404 { font-family: var(--f-display); font-weight: 700; font-size: clamp(120px, 20vw, 240px); line-height: .9; color: var(--rust); }
mark { background: #F2C9A8; color: inherit; padding: 0 2px; }

/* ===== Подвал ===== */
.site-footer { background: var(--navy-deep); color: var(--light-soft); font-size: 15px; }
.site-footer a { color: var(--light); text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-top: 64px; }
.footer-brand { font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; color: var(--light); }
.footer-title { margin: 0 0 14px; font-family: var(--f-sans); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--terra); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-bottom { margin-top: 48px; padding: 22px 0 36px; border-top: 1px solid var(--navy-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: #C9BFA6; }
.footer-bottom ul { flex-direction: row; flex-wrap: wrap; gap: 20px; }
.footer-bottom a { color: #C9BFA6; text-decoration: underline; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.social { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #5D7489; display: inline-flex; align-items: center; justify-content: center; color: var(--light); }

/* ===== Стили блоков WordPress ===== */
.alignwide { margin-left: -80px; margin-right: -80px; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
@media (max-width: 1100px) { .alignwide { margin-left: 0; margin-right: 0; } }
.wp-block-image img { height: auto; }
.wp-block-button__link { border-radius: 999px; background: var(--rust); font-family: var(--f-display); text-transform: uppercase; letter-spacing: .06em; }

/* ===== Видео ===== */
.video-card__media { position: relative; display: block; }
.video-card__media .thumb { display: block; }
.video-card__play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	width: 72px; height: 72px; border-radius: 50%; background: var(--rust); color: #fff;
	display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(11, 45, 70, .35);
	transition: transform .15s;
}
.video-card__media:hover .video-card__play { transform: translate(-50%, -50%) scale(1.08); }
.video-card--featured .video-card__play { width: 96px; height: 96px; }
.video-card--featured .svc-row__media { flex-basis: 600px; min-height: 360px; }
.wp-block-button__link { font-family: var(--f-sans); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.video-card__play { transition: none; }
}
