/* ==========================================================================
   СКИН «EDITORIAL» — глянец.
   Крупная Didone (Bodoni Moda), много воздуха, чёрное на кремовом,
   единственный акцент — синий 2027. Тонкие линейки, строгие колонки.
   Все правила начинаются с .mag--editorial — скины можно грузить вместе.
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Instrument+Serif:ital@0;1&family=Newsreader:ital,opsz,wght@0,6..72,300..700;1,6..72,300..700&family=Schibsted+Grotesk:wght@400..800&family=Caveat:wght@500;700&family=Courier+Prime:wght@400;700&display=swap");

.mag--editorial {
  --m-paper: #f8f4ec;
  --m-paper2: #ece5d8;
  --m-ink: #111010;
  --m-ink2: #6a6359;
  --m-rule: #d8cfbf;
  --m-accent: #1f4fd8;
  --m-accent-ink: #ffffff;
  --m-inv-bg: #0f0e0d;
  --m-inv-ink: #f4eee3;
  --f-mast: "Bodoni Moda", Didot, "Bodoni 72", serif;
  --f-head: "Instrument Serif", "Times New Roman", serif;
  --f-body: "Newsreader", Georgia, serif;
  --f-ui: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-num: "Bodoni Moda", Didot, serif;
  --f-hand: "Caveat", cursive;
  --mast-glyph: .86;
  --mast-track: -.035em;
}
/* оптический размер Bodoni: на крупном кегле — максимальный контраст штрихов */
.mag--editorial .cv-mast, .mag--editorial .ed-title, .mag--editorial .rs-num,
.mag--editorial .nb-v, .mag--editorial .bk-big, .mag--editorial .uf-mark { font-optical-sizing: auto; font-variation-settings: "opsz" 96; }
.mag--editorial .pg-in { font-variation-settings: "opsz" 12; }

/* ---------- обложка ---------- */
.mag--editorial .cv-mast { font-weight: 600; text-shadow: 0 .4cqw 3cqw rgba(0,0,0,.18); }
.mag--editorial .cv-lead-n { font-weight: 400; }
.mag--editorial .cv-lead-t em, .mag--editorial .cl-s { font-family: var(--f-head); }
.mag--editorial .cl-k::before { content: ""; display: block; width: 4cqw; height: .3cqw; background: var(--m-accent); margin-bottom: 1cqw; }
.mag--editorial .cv-lines .cl:first-child .cl-k::before { width: 7cqw; }

/* ---------- содержание ---------- */
.mag--editorial .ed-title { font-weight: 400; font-style: italic; }
.mag--editorial .toc-t { font-size: 1.4em; }

/* ---------- заголовки разделов: акцентное слово синим курсивом ---------- */
.mag--editorial .st-title em, .mag--editorial .iv-title em, .mag--editorial .ob-title em,
.mag--editorial .tl-title em, .mag--editorial .fr-title em, .mag--editorial .dc-title em,
.mag--editorial .lt-title em, .mag--editorial .vc-title em, .mag--editorial .rs-title em { color: var(--m-accent); }
.mag--editorial .nb-title em { color: #7fa0ff; }

/* выносы — с тонкой синей линейкой сверху */
.mag--editorial .st-pull, .mag--editorial .iv-pull { border-top: .35cqw solid var(--m-accent); }

/* причины — Didone-цифры, без лишнего */
.mag--editorial .rs-num { font-weight: 500; font-style: italic; }

/* «Currently obsessed» — иконки чернилами, номер синим */
.mag--editorial .ob-card .ico { color: var(--m-ink); width: 3.6cqw; height: 3.6cqw; }

/* «В цифрах» — чёрная страница, цифры как в финансовом развороте */
.mag--editorial .pg-numbers .nb-v { font-weight: 500; }
.mag--editorial .pg-numbers .nb-bar > span { background: #7fa0ff; }
.mag--editorial .ch-title em { color: var(--m-accent); }
.mag--editorial .pg-numbers .kicker { color: #7fa0ff; }

/* таймлайн — подписи «Месяц · Год · Место» */
.mag--editorial .tl-i::after { background: var(--m-accent); border-color: var(--m-paper); box-shadow: 0 0 0 .2cqw var(--m-accent); }

/* друзья — огромное слово Bodoni, точка синим */
.mag--editorial .fr-word { font-style: italic; font-weight: 400; }

/* «Моменты» — тонкая чёрная рамка-паспарту не нужна: чистые края */
.mag--editorial .mo-title { font-family: var(--f-mast); font-style: italic; letter-spacing: -.03em; }

/* словарь — как настоящая словарная статья */
.mag--editorial .dc-title { font-family: var(--f-mast); font-style: italic; letter-spacing: -.02em; }

/* прогнозы — синяя страница 2027 */
.mag--editorial .pd-title em { font-style: italic; }

/* разворот-цитата */
.mag--editorial .uf-q { font-style: italic; }
.mag--editorial .pg-unfQuote { background: #f3ede1; }

/* письмо — наборное по умолчанию, с подписью от руки */
.mag--editorial .lt-body { font-family: var(--f-body); font-style: italic; font-variation-settings: "opsz" 24; }
.mag--editorial .letter--hand .lt-body { font-family: var(--f-hand); font-style: normal; }
.mag--editorial .lt-body > p:first-child::first-letter { font: 400 3.4em/.8 var(--f-mast); float: left; padding: .05em .1em 0 0; color: var(--m-accent); font-style: normal; }
.mag--editorial .letter--hand .lt-body > p:first-child::first-letter { font: inherit; float: none; padding: 0; color: inherit; }

/* задняя обложка — тихая «реклама» на кремовом */
.mag--editorial .bk-big em { color: var(--m-accent); }
