/* =====================================================================
   ОБРАЗ — общая дизайн-система
   Один набор компонентов, два цветовых режима:
   - [data-theme="dark"]  — главная страница (плакатная, эмоциональная)
   - [data-theme="light"] — страницы выпусков (книжная, спокойная)
   Структурные токены (шрифты, радиусы, переходы) — общие для всех.
   ===================================================================== */

:root{
  /* Google Fonts (Inter) отключён — сайт не должен обращаться к внешним
     зарубежным сервисам (см. схему согласия РКН, без трансграничной
     передачи ПД). Системный стек подобран так, чтобы визуально быть
     максимально близким к Inter: та же геометрия гротеска, похожие
     пропорции цифр и засечек нет ни там, ни там.
     Suisse Intl по-прежнему не подключена — см. примечание в Задании 1;
     как появятся легальные файлы шрифта (свои, не Google) — здесь же
     меняется одна строка. */
  --font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius: 2px;
  --ease: .15s ease;
}

/* ---------- тёмная тема (главная) ---------- */
:root,
[data-theme="dark"]{
  --bg: #0B0A08;
  --paper: #17150F;
  --paper-2: #1E1B14;
  --ink: #F5F2EA;
  --muted: #938F82;
  --accent: #E5158C;
  --accent-text: #E5158C;
  --line: #2C2820;
  --topbar-bg: rgba(11,10,8,0.85);
}

/* ---------- светлая тема (страницы выпусков) ---------- */
[data-theme="light"]{
  --bg: #FFFFFF;
  --paper: #FAFAF8;
  --paper-2: #F1EFE9;
  --ink: #14120C;
  --muted: #6E695C;
  --accent: #E5158C;
  --accent-text: #C10E75; /* та же маджента, но затемнена для текстового AA-контраста на белом */
  --line: #E7E4DA;
  --topbar-bg: rgba(255,255,255,0.88);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; }
.display{
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 600; /* Semibold — крупные заголовки и номера выпусков */
}

/* ===== top bar (общая для всех страниц) ===== */
.topbar{
  position: sticky;
  top:0;
  z-index: 50;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 22px clamp(20px, 5vw, 64px);
  background: var(--topbar-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar .word{
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}
.topbar .word img{
  height: 20px;
  width: auto;
  display: block;
}
.topbar .nav{
  display:flex;
  align-items:center;
  gap: clamp(16px, 3vw, 32px);
}
.topbar .nav a{
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--ease);
}
.topbar .nav a:hover,
.topbar .nav a[aria-current="page"]{ color: var(--accent-text); }

/* ===== меню: восстановлено 27.08.2026 ===== */
.menu-toggle{
  position:relative; width:38px; height:38px; padding:0; border:0;
  background:transparent; color:var(--ink); cursor:pointer;
  display:grid; place-items:center; flex:0 0 auto;
}
.menu-toggle-icon{ position:relative; display:block; width:18px; height:14px; }
.menu-toggle-icon span{
  position:absolute; left:0; width:18px; height:2px; background:currentColor;
  border-radius:2px; transition:transform var(--ease),opacity var(--ease),top var(--ease);
}
.menu-toggle-icon span:nth-child(1){top:0}
.menu-toggle-icon span:nth-child(2){top:6px}
.menu-toggle-icon span:nth-child(3){top:12px}
.menu-toggle.is-open .menu-toggle-icon span:nth-child(1),
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1){top:6px;transform:rotate(45deg)}
.menu-toggle.is-open .menu-toggle-icon span:nth-child(2),
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2){opacity:0}
.menu-toggle.is-open .menu-toggle-icon span:nth-child(3),
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3){top:6px;transform:rotate(-45deg)}
.site-menu{
  position:fixed; top:65px; left:0; right:0; z-index:49;
  padding:18px clamp(20px,5vw,64px) 22px; background:var(--bg);
  border-bottom:1px solid var(--line); opacity:0; visibility:hidden;
  pointer-events:none; transform:translateY(-8px);
  transition:opacity var(--ease),transform var(--ease),visibility var(--ease);
}
.site-menu.is-open,.site-menu[aria-hidden="false"]{
  opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0);
}
.site-menu-list{
  margin:0; padding:0; list-style:none; display:flex; align-items:baseline;
  gap:clamp(18px,3vw,38px); flex-wrap:wrap;
}
.site-menu-list li{margin:0;padding:0;list-style:none}
.site-menu-list a{
  color:var(--ink); text-decoration:none; font-size:14px; font-weight:500;
  letter-spacing:.02em; transition:color var(--ease);
}
.site-menu-list a:hover{color:var(--accent-text)}
.site-menu-sub{margin-left:7px;color:var(--muted);font-size:12.5px}
@media(max-width:700px){
  .site-menu{top:65px;padding-top:24px;padding-bottom:28px}
  .site-menu-list{display:block}
  .site-menu-list li{margin-bottom:16px}
  .site-menu-list li:last-child{margin-bottom:0}
  .site-menu-list a{font-size:17px}
  .site-menu-sub{display:block;margin:4px 0 0}
}


/* ===== kicker / section label (общие) ===== */
.kicker{
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 22px;
  font-weight: 500;
}
.section-label{
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
  display:flex;
  align-items:center;
  gap:16px;
  font-weight: 500;
}
.section-label::after{
  content:'';
  flex:1;
  height:1px;
  background: var(--line);
}

/* ===== footer (общий) ===== */
footer{
  padding: 40px clamp(20px,5vw,64px) 60px;
  border-top: 1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  flex-wrap: wrap;
  gap: 20px;
}
footer .fw{
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.04em;
}
footer .fmeta{
  font-size: 12.5px;
  color: var(--muted);
  line-height:1.7;
}
footer a{ color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
footer a:hover{ color: var(--ink); }

/* ===== форма подписки: общий инлайн-элемент "поле + кнопка" ===== */
.notify-field{
  display:flex;
  align-items:stretch;
  max-width: 420px;
  border-bottom: 1px solid var(--line);
  transition: border-color var(--ease);
}
.notify-field:focus-within{ border-color: var(--ink); }
.notify-field input[type="email"]{
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 12px 4px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.notify-field input[type="email"]::placeholder{ color: var(--muted); }
.notify-field button{
  border: none;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  padding: 12px 4px 12px 14px;
  cursor: pointer;
  white-space: nowrap;
  display:inline-flex;
  align-items:center;
  gap: 8px;
  transition: color var(--ease);
}
.notify-field button span{ color: var(--accent-text); transition: transform var(--ease); }
.notify-field button:hover{ color: var(--accent-text); }
.notify-field button:hover span{ transform: translateX(3px); }
.notify-field button:disabled{
  opacity: .35;
  cursor: not-allowed;
  pointer-events: none;
}

/* ===== форма подписки: обёртка поле+чекбокс согласия ===== */
.notify-field-group{
  display:flex;
  flex-direction: column;
  gap: 12px;
}
.notify-consent{
  display:flex;
  align-items:flex-start;
  gap: 8px;
  max-width: 440px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  cursor: pointer;
}
.notify-consent input[type="checkbox"]{
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.notify-consent a{ color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.notify-consent a:hover{ color: var(--ink); }

/* ===== юридические страницы (/privacy/, /newsletter-data-consent/, /marketing-consent/ и т.п.) ===== */
.legal-page{
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(56px,8vw,90px) clamp(24px,5vw,32px) clamp(60px,8vw,100px);
}
.legal-mast{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 18px;
}
.legal-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px,4vw,38px);
  line-height: 1.2;
  margin: 0 0 14px;
}
.legal-updated{
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 48px;
}
.legal-body{
  font-size: 16px;
  line-height: 1.75;
}
.legal-body p{ margin: 0 0 1.4em; }
.legal-body h2{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  margin: 2em 0 0.8em;
  padding-top: 1.4em;
  border-top: 1px solid var(--line);
}
.legal-body h2:first-of-type{ border-top: none; padding-top: 0; margin-top: 1.6em; }
.legal-body h3{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  margin: 1.8em 0 0.6em;
}
.legal-body a{ color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover{ color: var(--accent-text); }
.legal-body .legal-note{
  font-size: 14.5px;
  color: var(--muted);
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* ===== notify-block: секция на странице выпуска ===== */
.notify-block{
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(40px,6vw,70px) clamp(24px,5vw,32px);
  border-top: 1px solid var(--line);
  text-align: center;
}
.notify-block .kicker{ margin-bottom: 14px; }
.notify-block p{
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 40ch;
  margin: 0 auto 26px;
}
.notify-block .notify-field-group{ align-items: center; }
.notify-block .notify-field{ margin: 0 auto; }
.notify-block .notify-consent{ text-align: left; }

/* ===== компактный вариант в футере ===== */
.footer-notify{
  width: 100%;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  display:flex;
  align-items:flex-start;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-notify .fn-label{
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 13px;
}
.footer-notify .notify-field-group{ flex: 1; min-width: 260px; }
.footer-notify .notify-field{ max-width: 300px; }

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

/* ===== hero ===== */
.hero{
  position: relative;
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  min-height: 86vh;
  border-bottom: 1px solid var(--line);
}
.hero-text{
  position: relative;
  padding: clamp(40px,7vw,90px) clamp(24px,5vw,72px);
  display:flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}
.hero-headline{
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 0.98;
  margin: 0 0 28px;
}
.hero-sub{
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}
.hero-image{
  position: relative;
  overflow: hidden;
  background: #000;
}
.hero-image img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.mark{
  position:absolute;
  background: var(--accent);
}
.hero-text .mark:nth-child(1){ width:44px; height:10px; top:14%; left:8%; }
.hero-text .mark:nth-child(2){ width:10px; height:44px; top:42%; left:2%; }
.hero-text .mark:nth-child(3){ width:30px; height:10px; bottom:10%; left:14%; opacity:.7;}

@media (max-width: 860px){
  .hero{ grid-template-columns: 1fr; min-height: auto; }
  .hero-image{ height: 60vh; order: -1; }
}

/* ===== актуальный анонс (главная) ===== */
.preorder-announce{
  padding: clamp(50px,8vw,90px) clamp(24px,5vw,72px);
  border-bottom: 1px solid var(--line);
}
.announce-grid{
  display:grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(32px,5vw,72px);
  align-items:center;
}
.announce-headline{
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.05;
  margin: 0 0 26px;
}
.announce-link{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
  transition: color var(--ease), border-color var(--ease);
}
.announce-link span{ color: var(--accent-text); transition: transform var(--ease); }
.announce-link:hover{ color: var(--accent-text); border-color: var(--accent-text); }
.announce-link:hover span{ transform: translateX(3px); }

.cover-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;margin-top:28px}
.cover-action{
  display:inline-flex;align-items:center;gap:9px;min-height:42px;padding:10px 0 8px;
  border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none;
  font-size:14.5px;font-weight:500;transition:color var(--ease),border-color var(--ease);
}
.cover-action span{color:var(--accent-text);transition:transform var(--ease)}
.cover-action:hover{color:var(--accent-text);border-color:var(--accent-text)}
.cover-action:hover span{transform:translateX(3px)}
.cover-action.buy{padding:11px 16px;border:1px solid var(--accent);background:var(--accent);color:#fff}
.cover-action.buy span{color:#fff}
.cover-action.buy:hover{background:var(--accent-text);border-color:var(--accent-text);color:#fff}
.ebook-link{display:inline-flex;align-items:center;gap:8px;color:var(--muted);text-decoration:none;font-size:14px;font-weight:500;white-space:nowrap;transition:color var(--ease)}
.ebook-link span{color:var(--accent-text);transition:transform var(--ease)}
.ebook-link:hover{color:var(--ink)}
.ebook-link:hover span{transform:translateX(3px)}
.announce-actions{margin-top:0}

.announce-cover{
  max-width: 340px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}
.announce-cover img{ width:100%; display:block; }

@media (max-width: 860px){
  .announce-grid{ grid-template-columns: 1fr; }
  .announce-cover{ max-width: 260px; margin: 0; order: -1; }
}

/* ===== список выпусков (главная, "Выпуски") ===== */
.issues{
  padding: clamp(50px,8vw,100px) clamp(20px,5vw,64px);
}
.issue{
  display:grid;
  grid-template-columns: 120px 200px 1fr auto;
  gap: 32px;
  align-items:center;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.issue:last-child{ border-bottom: 1px solid var(--line); }

.issue-num{
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--paper-2);
  -webkit-text-stroke: 1.5px var(--line);
  line-height: 1;
}
.issue.is-live .issue-num{ color: var(--ink); -webkit-text-stroke: 0; }

.issue-thumb{
  display:block;
  width: 140px;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow:hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}
.issue-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.issue-thumb.placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align:center;
  padding: 10px;
}

.issue-info .title{
  font-family: var(--font-display);
  font-size: 26px;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.issue-info .desc{
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 44ch;
}

.issue{transition:border-color var(--ease)}
.issue:hover{border-top-color:var(--accent-text)}
.issue-info .title a{color:inherit;text-decoration:none}
.issue-info .title a:hover{color:var(--accent-text)}
.issue-actions{justify-self:end;display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.issue-cta,.issue-buy{
  display:inline-flex;align-items:center;gap:10px;font-size:13.5px;font-weight:500;
  letter-spacing:.03em;white-space:nowrap;text-decoration:none;
}
.issue-cta{color:var(--ink)}
.issue-cta span{color:var(--accent-text);transition:transform var(--ease)}
.issue-cta:hover{color:var(--accent-text)}
.issue-cta:hover span{transform:translateX(3px)}
.issue-buy{padding:11px 15px;border:1px solid var(--accent);background:var(--accent);color:#fff}
.issue-buy span{color:#fff;transition:transform var(--ease)}
.issue-buy:hover{background:var(--accent-text);border-color:var(--accent-text)}
.issue-buy:hover span{transform:translateX(3px)}
.issue-ebook{display:inline-flex;align-items:center;gap:8px;color:var(--muted);text-decoration:none;font-size:13px;font-weight:500;white-space:nowrap}
.issue-ebook span{color:var(--accent-text);transition:transform var(--ease)}
.issue-ebook:hover{color:var(--ink)}
.issue-ebook:hover span{transform:translateX(3px)}

@media (max-width: 860px){
  .issue{ grid-template-columns: 1fr; gap: 18px; text-align:left; }
  .issue-num{ font-size: 40px; }
  .issue-thumb{ width: 110px; }
  .issue-actions{ justify-self:start; align-items:flex-start; }
}

/* =====================================================================
   СТРАНИЦА ВЫПУСКА (issue-01.html, issue-02.html, ...)
   Единый шаблон: меняются только номер, обложка, тексты, статус и ссылки.
   ===================================================================== */

/* ---- масштаб/статус выпуска (верх страницы) ---- */
.issue-hero{
  padding: clamp(56px,9vw,110px) clamp(24px,5vw,72px) clamp(40px,6vw,70px);
  text-align: center;
}
.issue-hero .mast{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 18px;
}
.issue-hero .num-title{
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1;
  margin: 0 0 28px;
}
.issue-hero .status{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.issue-hero .status .dot{
  width:6px; height:6px; border-radius:50%;
  background: var(--accent);
  flex-shrink:0;
}
.issue-hero .status.is-live{ color: var(--ink); }
.issue-hero .status.is-preorder{ color: var(--accent-text); }

.issue-cover{
  max-width: 560px;
  margin: clamp(36px,6vw,64px) auto 0;
}
.issue-cover img{
  width:100%;
  display:block;
  border: 1px solid var(--line);
}
.issue-cover.is-placeholder{
  aspect-ratio: 3/4;
  border: 1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---- текстовый блок описания ---- */
.issue-about{
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(40px,7vw,80px) clamp(24px,5vw,32px);
  font-size: 17px;
  line-height: 1.75;
}
.issue-about p{ margin: 0 0 1.4em; }
.issue-about p:last-child{ margin-bottom: 0; }

/* ---- техническая информация ---- */
.issue-meta{
  max-width: 640px;
  margin: 0 auto;
  padding: 0 clamp(24px,5vw,32px) clamp(50px,7vw,80px);
  border-top: 1px solid var(--line);
  padding-top: 32px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(140px,1fr));
  gap: 20px 32px;
}
.issue-meta .item .label{
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.issue-meta .item .value{ font-size: 14.5px; }

/* ---- развороты ---- */
.spreads{
  padding: clamp(50px,8vw,100px) clamp(20px,5vw,64px);
  border-top: 1px solid var(--line);
}
.spreads-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px,2.5vw,28px);
  max-width: 1100px;
  margin: 0 auto;
}
.spreads-grid img{ width:100%; display:block; }
.spread-full{ grid-column: 1 / -1; }

@media (max-width: 700px){
  .spreads-grid{ grid-template-columns: 1fr; }
  .spread-full{ grid-column: auto; }
}

/* ---- блок покупки / предзаказа ---- */
.purchase{
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(50px,7vw,90px) clamp(24px,5vw,32px);
  border-top: 1px solid var(--line);
  text-align: center;
}
.purchase .p-title{
  font-size: clamp(24px,3.4vw,36px);
  margin: 0 0 12px;
}
.purchase .p-note{
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 auto 32px;
}
.purchase .p-note.p-note-small{
  font-size: 13.5px;
  margin: 22px auto 32px;
}
.purchase-actions{
  display:flex;
  flex-wrap: wrap;
  justify-content:center;
  gap: 14px;
}
.p-btn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 15px 26px;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: all var(--ease);
}
.p-btn:hover{ background: var(--ink); color: var(--bg); }
.p-btn.primary{
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.p-btn.primary:hover{ background: var(--accent-text); border-color: var(--accent-text); }

.payment-note{
  max-width: 640px;
  margin: clamp(28px,4vw,40px) auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display:flex;
  flex-wrap:wrap;
  justify-content: center;
  align-items:center;
  gap: 18px;
  text-align:center;
}
.payment-note .label{
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--muted);
  line-height: 1.6;
}
.payment-note .label b{ color: var(--ink); }
.contact-links{
  display:flex;
  flex-wrap: wrap;
  justify-content:center;
  gap: 10px;
}
.contact-links a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight: 500;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  transition: border-color var(--ease), background var(--ease);
}
.contact-links a:hover{ border-color: var(--accent-text); }
.contact-links .cdot{
  width:6px; height:6px; border-radius:50%; background: var(--accent);
  flex-shrink:0;
}

/* =====================================================================
   РЕДАКЦИОННЫЕ БЛОКИ ВНУТРИ СТРАНИЦЫ ВЫПУСКА
   ("Что внутри") — крупные изображения, короткие подписи, без карточек.
   ===================================================================== */
.hero-lead{
  max-width: 560px;
  margin: 18px auto 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.editorial-block{
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(50px,7vw,90px) clamp(20px,5vw,48px);
  border-top: 1px solid var(--line);
}

.editorial-intro{
  max-width: 640px;
  margin: 0 auto clamp(28px,4vw,44px);
  font-size: 17px;
  line-height: 1.75;
}

.editorial-full{ margin: clamp(28px,4vw,48px) 0; }
.editorial-full img{ width:100%; display:block; }

.editorial-pair{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px,2.5vw,28px);
  margin: clamp(28px,4vw,48px) 0;
}
.editorial-pair img{ width:100%; display:block; }
@media (max-width: 700px){
  .editorial-pair{ grid-template-columns: 1fr; }
}

.editorial-material{
  max-width: 640px;
  margin: clamp(24px,3vw,36px) auto 0;
}
.editorial-material-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px,3vw,30px);
  text-transform: uppercase;
  margin: 0 0 8px;
}
.editorial-material-subtitle{
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 12px;
}
.editorial-material-author{
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.editorial-material-spaced{ margin-top: 36px; }

.editorial-quote{
  max-width: 640px;
  margin: clamp(24px,3.5vw,40px) auto 0;
  padding-left: 22px;
  border-left: 2px solid var(--accent);
  font-size: 18px;
  line-height: 1.6;
  font-style: italic;
}

.editorial-list{
  max-width: 640px;
  margin: clamp(20px,3vw,32px) auto;
  padding: 0;
  list-style: none;
}
.editorial-list li{
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.5;
}
.editorial-list li:last-child{ border-bottom: 1px solid var(--line); }

/* ---- Содержание ---- */
.contents-columns{
  max-width: 1040px;
  margin: clamp(32px,4vw,48px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px,3vw,40px);
}
.contents-columns .rubric{ margin-bottom: 28px; }
.contents-columns .rubric-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 12px;
}
.contents-columns .rubric-item{
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 10px;
}
.contents-columns .rubric-item .author{
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  font-style: italic;
}
.contents-columns .rubric-item .page-num{
  color: var(--muted);
  margin-right: 8px;
  font-variant-numeric: tabular-nums;
}

/* ---- краткий тематический обзор ("В номере", 6-7 тем) ---- */
.topics-teaser{
  max-width: 820px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(17px,2.2vw,22px);
  line-height: 1.8;
  text-align: center;
}
.topics-teaser .sep{
  color: var(--muted);
  margin: 0 12px;
  font-weight: 400;
}
@media (max-width: 860px){
  .contents-columns{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .contents-columns{ grid-template-columns: 1fr; }
}

/* ---- переходы между выпусками, внизу страницы ---- */
.issue-nav{
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(36px,5vw,56px) clamp(24px,5vw,32px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--line);
}
.issue-nav a{
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--ease);
}
.issue-nav a span{ color: var(--accent-text); transition: transform var(--ease); }
.issue-nav a:hover{ color: var(--accent-text); }
.issue-nav a:hover span{ transform: translateX(3px); }
.issue-nav a.back:hover span{ transform: translateX(-3px); }

/* =====================================================================
   СТРАНИЦА /about/ — «О журнале». Институциональная, тёмная тема,
   двухколоночная сетка (метка раздела слева / контент справа) на десктопе.
   ===================================================================== */
.about-page{
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(20px,5vw,64px);
}

.about-hero{
  padding: clamp(56px,9vw,110px) 0 clamp(48px,7vw,80px);
  border-bottom: 1px solid var(--line);
}
.about-hero h1{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px,6.4vw,80px);
  text-transform: uppercase;
  line-height: 1.02;
  margin: 0 0 clamp(32px,5vw,52px);
}
.about-hero .lead{
  max-width: 760px;
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--ink);
}
.about-hero .lead p{ margin: 0 0 1.3em; }
.about-hero .lead p:last-child{ margin-bottom: 0; }

.about-section{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(24px,4vw,64px);
  padding: clamp(48px,7vw,80px) 0;
  border-bottom: 1px solid var(--line);
}
.about-page > .about-section:last-of-type{ border-bottom: none; }
.about-section h2{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0;
}
@media (max-width: 760px){
  .about-section{ grid-template-columns: 1fr; gap: 16px; }
}

.about-entry{ margin-bottom: 30px; }
.about-entry:last-child{ margin-bottom: 0; }
.about-entry .role{
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}
.about-entry .name{
  font-size: 19px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}
.about-entry .bio{
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin: 6px 0 0;
  max-width: 62ch;
}

/* Рецензенты — визуально более весомый вариант того же компонента */
.about-reviewers .about-entry .name{ font-size: 21px; }
.about-reviewers .about-entry{ margin-bottom: 40px; }
.about-reviewers .about-entry .bio{ font-size: 15.5px; line-height: 1.7; }

.about-prose{
  max-width: 680px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink);
}
.about-prose p{ margin: 0 0 1.3em; }
.about-prose p:last-child{ margin-bottom: 0; }

.about-reqs dl{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  margin: 0;
  max-width: 560px;
}
.about-reqs dt{
  color: var(--muted);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.about-reqs dd{ margin: 0; font-size: 15px; overflow-wrap: break-word; word-break: break-word; }
@media (max-width: 600px){
  .about-reqs dl{ grid-template-columns: 1fr; gap: 2px 0; }
  .about-reqs dt{ white-space: normal; margin-top: 14px; }
  .about-reqs dt:first-child{ margin-top: 0; }
}
.about-reqs a{ color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.about-reqs a:hover{ color: var(--accent-text); }
.about-reqs .about-note{
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.6;
}

.about-bank{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-width: 480px;
}
.about-bank summary{
  cursor: pointer;
  padding: 15px 20px;
  font-size: 14px;
  color: var(--muted);
  list-style: none;
}
.about-bank summary::-webkit-details-marker{ display: none; }
.about-bank summary{ display: flex; justify-content: space-between; align-items: center; }
.about-bank summary::after{ content: '+'; color: var(--accent); font-size: 16px; }
.about-bank[open] summary::after{ content: '–'; }
.about-bank .bank-body{
  padding: 0 20px 20px;
  border-top: 1px solid var(--line);
  margin-top: 2px;
}
.about-bank .bank-body dl{ margin-top: 16px; }

.about-org-name{
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 24px;
}
.about-imprint dl{ margin-bottom: 20px; }
.about-imprint .copyright{
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 62ch;
  margin-top: 24px;
}

/* =====================================================================
   /order.php — страница оформления заказа
   ===================================================================== */
.order-page{
  max-width: 1280px;
  margin: 0 auto;
  padding: 44px clamp(20px,5vw,64px) 80px;
}
.order-mast{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.10em;
  color: var(--muted);
  text-align: left;
  margin-bottom: 12px;
}
.order-title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px,4.8vw,58px);
  line-height: 1.04;
  text-align: left;
  margin: 0 0 34px;
}

.order-layout{
  display: grid;
  grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  max-width: 1040px;
}

.order-product{
  border: 1px solid #D9D5CC;
  background: #FBFAF7;
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.order-product-cover{
  margin-bottom: 24px;
}
.order-product-cover img{
  display: block;
  width: 100%;
  max-width: 210px;
  height: auto;
  border: 1px solid var(--line);
}
.order-product-meta{
  margin-top: auto;
}
.order-product .issue-name{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.order-product .format-name{
  font-size: 15px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 24px;
}
.order-product .price{
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  margin: 0;
}
.order-product .price.tbd{
  font-size: 16px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.35;
}

.order-form-panel{
  border: 1px solid #D9D5CC;
  background: #FBFAF7;
  border-radius: var(--radius);
  padding: 24px 30px 26px;
}
.order-note-top{
  text-align: left !important;
  margin: 0 0 22px !important;
}
.order-form{
  width: 100%;
}
.order-form fieldset{
  border: none;
  padding: 0;
  margin: 0 0 22px;
}
.order-form fieldset + fieldset{
  padding-top: 2px;
}
.order-form legend{
  font-size: 15px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #4F4B42;
  margin-bottom: 18px;
  padding: 0;
  font-weight: 700;
  width: 100%;
}
.order-field{
  display: grid;
  grid-template-columns: 185px minmax(0,1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 12px;
}
.order-field label{
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}
.order-field input[type="text"],
.order-field input[type="email"],
.order-field input[type="tel"]{
  width: 100%;
  border: 1px solid #D6D2C8;
  background: #F1F0EC;
  padding: 11px 14px;
  font-size: 16px;
  line-height: 1.3;
  font-family: var(--font-body);
  color: var(--ink);
  outline: none;
  border-radius: var(--radius);
  transition: border-color var(--ease), background var(--ease), box-shadow var(--ease);
}
.order-field input:focus{
  border-color: #8B867B;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(20,18,12,0.035);
}

.order-radio-group{
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border: 1px solid #D6D2C8;
  background: #F1F0EC;
  border-radius: var(--radius);
}
.order-radio{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  cursor: pointer;
}
.order-radio input{ accent-color: var(--accent); }

.order-consent{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: #5E594F;
  line-height: 1.55;
  margin: 6px 0 20px;
  padding: 0;
}
.order-consent input{
  margin-top: 3px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.order-consent-text{ padding-left: 0; }
.order-consent a{
  color: #5E594F;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.order-consent a:hover{ color: var(--ink); }

.order-submit{
  display: block;
  width: 100%;
  padding: 15px 18px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  border: none;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: background var(--ease);
}
.order-submit:hover{ background: var(--accent-text); }
.order-submit:disabled{ opacity: .4; cursor: not-allowed; }

.order-note{
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.55;
}
.order-note-left{
  text-align: left;
  margin: -2px 0 0 203px;
}

[data-theme="light"] body{
  background: #F0EEE9;
}
[data-theme="light"] .topbar{
  background: rgba(248,247,243,0.92);
}

@media (max-width: 900px){
  .order-page{
    padding-top: 36px;
  }
  .order-layout{
    grid-template-columns: 1fr;
    max-width: 720px;
  }
  .order-product{
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    align-items: end;
  }
  .order-product-cover{
    margin: 0;
  }
  .order-product-cover img{
    max-width: 140px;
  }
  .order-product-meta{
    margin: 0;
  }
  .order-field{
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .order-note-left{
    margin-left: 0;
  }
}

@media (max-width: 560px){
  .order-title{
    font-size: 36px;
    margin-bottom: 26px;
  }
  .order-form-panel,
  .order-product{
    padding: 20px;
  }
  .order-product{
    grid-template-columns: 110px 1fr;
  }
  .order-product-cover img{
    max-width: 110px;
  }
  .order-radio-group{
    flex-direction: column;
    gap: 10px;
  }
}

.order-error{
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(60px,10vw,120px) 20px;
}
.order-error h1{ font-family: var(--font-display); font-weight: 600; font-size: 26px; margin: 0 0 16px; }
.order-error p{ color: var(--muted); font-size: 15px; line-height: 1.6; }
.order-error a{ color: var(--ink); text-decoration: underline; }

.footer-notify .fn-static{font-size:13px;color:var(--muted);padding-top:13px}
