/* =====================================================================
   «Брешь» — «Досье инцидентов»
   Журналистика кибербезопасности на светлой бумаге: картотечные вкладки,
   листы дела с полями протокола, номера дел из даты публикации,
   чёрные плашки-«редакции» вместо заголовков разделов, красные штампы.
   Montserrat 800 капслоком — заголовки, Inter — текст, IBM Plex Mono — метаданные.
   ===================================================================== */

.theme-bresh {
  --br-paper: #EFEDE7;
  --br-sheet: #FBFAF6;
  --br-manila: #E2DFD6;
  --br-manila-2: #D5D1C5;
  --br-ink: #111111;
  --br-ink-2: #2B2A27;
  --br-mute: #5E5B55;
  --br-rule: rgba(17, 17, 17, .13);
  --br-rule-2: rgba(17, 17, 17, .3);
  --br-red: #C8171E;
  --br-red-ink: #A8121A;   /* мелкий красный текст на манильской бумаге */
  --br-red-hi: #FF5A5F;    /* красный на чёрном */
  --br-on-dark: #D9D6CE;
  --br-on-dark-2: #A9A59B;
  --br-line-dark: rgba(239, 237, 231, .2);
  --br-disp: var(--f-montserrat), 'Arial Black', Arial, sans-serif;
  --br-sans: var(--f-inter), system-ui, -apple-system, 'Segoe UI', sans-serif;
  --br-mono: var(--f-plexmono), ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --br-space: clamp(52px, 6.4vw, 96px);
  background: var(--br-paper);
  color: var(--br-ink);
  font-family: var(--br-sans);
  font-feature-settings: 'kern', 'liga';
}
.theme-bresh ::selection { background: var(--br-ink); color: var(--br-paper); }
.theme-bresh h1, .theme-bresh h2, .theme-bresh h3 { color: inherit; overflow-wrap: break-word; }

/* фокус — красная рамка; на чёрных полях — светло-красная */
.theme-bresh a:focus-visible,
.theme-bresh button:focus-visible,
.theme-bresh input:focus-visible,
.theme-bresh textarea:focus-visible,
.theme-bresh select:focus-visible { outline: 2px solid var(--br-red); outline-offset: 3px; }
.theme-bresh .br-band a:focus-visible,
.theme-bresh .br-proto a:focus-visible,
.theme-bresh .br-ftr a:focus-visible { outline-color: var(--br-red-hi); }

/* ---------- общие детали ---------- */
.theme-bresh .br-kick {
  font: 600 11px/1 var(--br-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--br-red-ink);
}
.theme-bresh .br-no { font: 500 11px/1.2 var(--br-mono); letter-spacing: .05em; color: var(--br-mute); font-variant-numeric: tabular-nums; }
.theme-bresh .br-meta {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px;
  font: 500 11.5px/1.4 var(--br-mono); color: var(--br-mute); letter-spacing: .02em; font-variant-numeric: tabular-nums;
}
.theme-bresh .br-meta > span { white-space: nowrap; }
/* в узких карточках дата — отдельной строкой, без ведущей косой черты */
.theme-bresh .br-folder-top .br-meta > span:first-child,
.theme-bresh .br-sch-card .br-meta > span:first-child,
.theme-bresh .br-also .br-meta > span:first-child { flex-basis: 100%; }
.theme-bresh .br-folder-top .br-meta > span:nth-child(2) i,
.theme-bresh .br-sch-card .br-meta > span:nth-child(2) i,
.theme-bresh .br-also .br-meta > span:nth-child(2) i { display: none; }
.theme-bresh .br-meta i { font-style: normal; color: #A8A49A; margin-right: 8px; }

/* бирка-вещдок: срезанный угол и пробитое отверстие */
.theme-bresh .br-tag {
  position: relative; display: inline-flex; align-items: center; height: 24px; padding: 1px 11px 0 23px; flex: none;
  background: var(--br-manila); color: var(--br-ink); white-space: nowrap;
  font: 600 10.5px/1 var(--br-mono); letter-spacing: .1em; text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
}
.theme-bresh .br-tag::before {
  content: ''; position: absolute; left: 10px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
  background: var(--br-paper); box-shadow: inset 0 0 0 1px var(--br-rule-2);
}
.theme-bresh .br-tag-dark { background: var(--br-ink); color: var(--br-paper); }
.theme-bresh .br-tag-dark::before { background: var(--br-ink-2); box-shadow: none; }
.theme-bresh a.br-tag:hover { background: var(--br-ink); color: var(--br-paper); }

/* штамп: двойная рамка, лёгкий наклон, красная «краска» */
.theme-bresh .br-stamp {
  display: inline-flex; align-items: center; flex: none; white-space: nowrap;
  padding: 7px 11px 6px; color: var(--br-red); border: 2px solid currentColor; outline: 1px solid currentColor; outline-offset: 2px;
  font: 800 11px/1 var(--br-disp); letter-spacing: .18em; text-transform: uppercase;
  transform: rotate(-4deg); opacity: .92; mix-blend-mode: multiply; user-select: none;
}

/* обложка-«приложение к делу»: белые поля, фотоуголки, монохром для фотографий */
.theme-bresh .cover { background: var(--br-manila); border-radius: 0; }
.theme-bresh a:hover .cover img { transform: none; }
.theme-bresh .br-ev { position: relative; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--br-rule); box-shadow: 0 14px 26px -22px rgba(17, 17, 17, .55); }
.theme-bresh .br-ev::before,
.theme-bresh .br-ev::after { content: ''; position: absolute; z-index: 2; width: 16px; height: 16px; background: var(--br-ink); pointer-events: none; }
.theme-bresh .br-ev::before { top: 3px; left: 3px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.theme-bresh .br-ev::after { right: 3px; bottom: 3px; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.theme-bresh .br-ev-photo .cover img { filter: grayscale(1) contrast(1.08); transition: filter .45s ease; }
.theme-bresh a:hover .br-ev-photo .cover img { filter: none; }
.theme-bresh .br-ev-label {
  position: absolute; z-index: 3; left: 18px; bottom: -11px; padding: 5px 8px 4px;
  background: var(--br-sheet); border: 1px solid var(--br-ink); color: var(--br-ink);
  font: 600 10px/1 var(--br-mono); letter-spacing: .12em; text-transform: uppercase;
}

/* заголовки-«плашки»: чёрная полоса, на которой проступает текст */
.theme-bresh .br-shead {
  display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px 18px;
  border-bottom: 3px solid var(--br-ink); margin-bottom: 22px;
}
.theme-bresh .br-shead h2 {
  order: -1; background: var(--br-ink); color: var(--br-paper); padding: 11px 16px 9px;
  font: 800 clamp(19px, 1.9vw, 25px)/1 var(--br-disp); letter-spacing: .02em; text-transform: uppercase;
}
.theme-bresh .br-shead h2 a:hover { color: var(--br-red-hi); }
.theme-bresh .br-shead .br-kick { padding-bottom: 10px; }
.theme-bresh .br-shead-note,
.theme-bresh .br-shead-all {
  margin-left: auto; padding-bottom: 10px; font: 500 11.5px/1 var(--br-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--br-mute);
}
.theme-bresh .br-shead-all { display: inline-flex; gap: 8px; color: var(--br-red-ink); font-weight: 600; }
.theme-bresh .br-shead-all:hover { color: var(--br-ink); }
.theme-bresh .br-shead-all i, .theme-bresh .br-case-open i, .theme-bresh .br-proto-all i, .theme-bresh .br-folder-all i { font-style: normal; transition: transform .2s ease; }
.theme-bresh a:hover > i { transform: translateX(3px); }

/* кнопки: прямоугольные, машинописные */
.theme-bresh .btn {
  border-radius: 0; background: var(--br-ink); color: var(--br-paper); box-shadow: none;
  font: 600 12px/1 var(--br-mono); letter-spacing: .12em; text-transform: uppercase; padding: 15px 20px 14px;
  transition: background .15s ease, color .15s ease;
}
.theme-bresh .btn:hover { background: var(--br-red); color: #fff; transform: none; opacity: 1; }
.theme-bresh .btn.ghost { background: transparent; color: var(--br-ink); box-shadow: inset 0 0 0 1.5px var(--br-ink); }
.theme-bresh .btn.ghost:hover { background: var(--br-ink); color: var(--br-paper); }
.theme-bresh .kicker { font-family: var(--br-mono); font-weight: 600; font-size: 11px; letter-spacing: .14em; color: var(--br-red-ink); }
.theme-bresh .meta { font-family: var(--br-mono); font-size: 12px; color: var(--br-mute); font-variant-numeric: tabular-nums; }
.theme-bresh .meta .dot { width: 4px; height: 4px; border-radius: 0; opacity: .5; }
.theme-bresh .progress { background: var(--br-red); height: 3px; }

/* =====================================================================
   ШАПКА
   ===================================================================== */
.theme-bresh .br-hdr { position: relative; z-index: 20; background: var(--br-paper); }

.theme-bresh .br-band { background: var(--br-ink); color: var(--br-on-dark); }
.theme-bresh .br-band-in {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 34px;
  font: 500 11px/1 var(--br-mono); letter-spacing: .1em; text-transform: uppercase;
}
.theme-bresh .br-band-cls { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; white-space: nowrap; }
.theme-bresh .br-band-cls i { width: 8px; height: 8px; background: var(--br-red-hi); flex: none; }
.theme-bresh .br-band-cls span { color: var(--br-on-dark-2); font-weight: 500; }
.theme-bresh .br-band-date { color: var(--br-on-dark); white-space: nowrap; }
.theme-bresh .br-band-links { display: flex; gap: 22px; align-items: center; }
.theme-bresh .br-band-links a { display: inline-flex; gap: 7px; align-items: center; color: #fff; white-space: nowrap; padding: 4px 0; }
.theme-bresh .br-band-links a:hover, .theme-bresh .br-band-links a[aria-current='page'] { color: var(--br-red-hi); }

.theme-bresh .br-mast {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 3vw, 44px);
  padding-top: clamp(20px, 2.4vw, 30px); padding-bottom: clamp(18px, 2.2vw, 26px);
}

/* логотип: чёрная плашка с пробоиной, в пробоине — красный */
.theme-bresh .br-logo { position: relative; display: inline-block; justify-self: start; isolation: isolate; }
.theme-bresh .br-logo-bar {
  display: block; background: var(--br-ink); color: var(--br-paper);
  font: 800 clamp(38px, 5vw, 68px)/1 var(--br-disp); letter-spacing: .03em; text-transform: uppercase;
  padding: .16em .24em .12em .22em;
  clip-path: polygon(0 0, 60% 0, 63.5% 22%, 62% 33%, 65.5% 56%, 66.2% 39%, 68.6% 27%, 67.6% 13%, 70.5% 0, 100% 0, 100% 100%, 0 100%);
}
.theme-bresh .br-logo::before {
  content: ''; position: absolute; z-index: -1; left: 59%; width: 13%; top: 0; height: 60%; background: var(--br-red);
}
.theme-bresh .br-logo:hover .br-logo-bar { color: #fff; }

.theme-bresh .br-mast-note {
  margin: 0; max-width: 52ch; padding-left: 18px; border-left: 2px solid var(--br-ink);
  font: 400 14px/1.5 var(--br-sans); color: var(--br-mute);
}
.theme-bresh .br-mast-note b { display: block; margin-bottom: 5px; font: 600 11.5px/1.35 var(--br-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--br-ink); }
.theme-bresh .br-mast-note span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.theme-bresh .br-find {
  display: inline-flex; align-items: center; gap: 11px; width: 264px; height: 46px; padding: 0 12px 0 14px;
  background: var(--br-sheet); border: 1.5px solid var(--br-ink); color: var(--br-ink);
  font: 500 12.5px/1 var(--br-mono); letter-spacing: .04em; transition: box-shadow .15s ease, transform .15s ease;
}
.theme-bresh .br-find-text { flex: 1; color: var(--br-mute); }
.theme-bresh .br-find-key { font-size: 12px; padding: 4px 6px 3px; border: 1px solid var(--br-rule-2); color: var(--br-mute); }
.theme-bresh .br-find:hover { box-shadow: 4px 4px 0 var(--br-ink); transform: translate(-2px, -2px); }
.theme-bresh .br-find[aria-current='page'] { border-color: var(--br-red); box-shadow: 4px 4px 0 var(--br-red); }

/* рубрики — картотечные вкладки на чёрной линейке */
.theme-bresh .br-tabs { position: relative; }
.theme-bresh .br-tabs::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--br-ink); pointer-events: none; }
.theme-bresh .br-tabs-in {
  display: flex; align-items: flex-end; gap: 3px; overflow-x: auto; scrollbar-width: none;
  scroll-snap-type: x proximity; overscroll-behavior-x: contain;
}
.theme-bresh .br-tabs-in::-webkit-scrollbar { display: none; }
.theme-bresh .br-tab {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 1px 22px 3px;
  background: var(--br-manila); color: var(--br-ink); white-space: nowrap; scroll-snap-align: start;
  font: 600 12px/1 var(--br-mono); letter-spacing: .09em; text-transform: uppercase;
  clip-path: polygon(11px 0, calc(100% - 11px) 0, 100% 100%, 0 100%);
  transition: background .15s ease, color .15s ease, height .15s ease;
}
.theme-bresh .br-tab + .br-tab { margin-left: -8px; }
.theme-bresh .br-tab-no { color: var(--br-red-ink); font-weight: 500; }
.theme-bresh .br-tab:hover { background: var(--br-manila-2); }
.theme-bresh .br-tab[aria-current='page'] { z-index: 1; height: 47px; background: var(--br-ink); color: var(--br-paper); }
.theme-bresh .br-tab[aria-current='page'] .br-tab-no { color: var(--br-red-hi); }
.theme-bresh .br-tab:focus-visible { outline-offset: -10px; outline-color: var(--br-red); z-index: 2; }
.theme-bresh .br-tab[aria-current='page']:focus-visible { outline-color: var(--br-red-hi); }

/* =====================================================================
   ГЛАВНАЯ — первая полоса: главное дело + хронология
   ===================================================================== */
.theme-bresh .br-home { padding-top: clamp(28px, 3.6vw, 52px); }
.theme-bresh .br-empty { margin: 0 auto; padding-top: 24px; padding-bottom: 24px; font: 500 13px/1.5 var(--br-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--br-mute); }
.theme-bresh .br-front { display: grid; grid-template-columns: minmax(0, 1fr) 344px; gap: clamp(28px, 3.4vw, 52px); align-items: start; }

.theme-bresh .br-case { position: relative; padding-top: 34px; isolation: isolate; }
.theme-bresh .br-case-tab {
  position: absolute; z-index: 2; top: 0; left: 0; height: 35px; display: inline-flex; align-items: center; gap: 10px; padding: 1px 34px 0 18px;
  background: var(--br-sheet); border: 1px solid var(--br-rule); border-bottom: 0;
  font: 600 12px/1 var(--br-mono); letter-spacing: .06em; color: var(--br-ink); font-variant-numeric: tabular-nums;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 0 100%);
}
.theme-bresh .br-case-tab span { color: var(--br-mute); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: 10.5px; }
.theme-bresh .br-case-link {
  position: relative; display: block; background: var(--br-sheet); border: 1px solid var(--br-rule);
  padding: clamp(20px, 2.6vw, 36px) clamp(20px, 2.8vw, 40px) clamp(24px, 2.8vw, 38px);
  box-shadow: 0 30px 50px -40px rgba(17, 17, 17, .5);
}
/* подложенный лист под главным делом */
.theme-bresh .br-case-link::before {
  content: ''; position: absolute; z-index: -1; inset: 9px -9px -9px 9px; background: var(--br-manila); border: 1px solid var(--br-rule);
}
.theme-bresh .br-case-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; min-height: 30px; }
.theme-bresh .br-case-stamp { font-size: 11.5px; transform: rotate(-5deg) translateY(-4px); }
.theme-bresh .br-case-title {
  font: 800 44px/1.03 var(--br-disp); letter-spacing: -.012em; text-transform: uppercase;
  margin: 0 0 clamp(22px, 2.6vw, 32px); text-wrap: balance;
}
.theme-bresh .br-case-title.br-len-m { font-size: 38px; line-height: 1.05; }
.theme-bresh .br-case-title.br-len-l { font-size: 32px; line-height: 1.07; }
.theme-bresh .br-case-link:hover .br-case-title,
.theme-bresh .br-also-item a:hover h3,
.theme-bresh .br-sch-card:hover h3,
.theme-bresh .br-folder-top a:hover h3 { text-decoration: underline; text-decoration-color: var(--br-red); text-decoration-thickness: 3px; text-underline-offset: .16em; }
.theme-bresh .br-case-body { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(22px, 2.6vw, 36px); align-items: start; }
.theme-bresh .br-case-lede { margin: 0 0 22px; font: 400 17px/1.58 var(--br-sans); color: var(--br-ink-2); }
.theme-bresh .br-case-open {
  display: inline-flex; gap: 10px; align-items: center; margin-top: 20px;
  font: 600 12px/1 var(--br-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--br-red);
}

/* поля протокола */
.theme-bresh .br-fields { margin: 0; display: grid; border-top: 1.5px solid var(--br-ink); }
.theme-bresh .br-fields > div { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 9px 0 8px; border-bottom: 1px dashed var(--br-rule-2); }
.theme-bresh .br-fields dt { font: 500 10px/1.35 var(--br-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--br-mute); }
.theme-bresh .br-fields dd { margin: 0; font: 500 13px/1.4 var(--br-mono); color: var(--br-ink); font-variant-numeric: tabular-nums; }

/* подшитые листы под главным */
.theme-bresh .br-also { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.theme-bresh .br-also-item a {
  position: relative; display: flex; flex-direction: column; gap: 12px; height: 100%;
  padding: 18px 22px 20px; background: var(--br-sheet); border: 1px solid var(--br-rule);
}
.theme-bresh .br-also-item a::after {
  content: ''; position: absolute; top: -1px; right: -1px; width: 22px; height: 22px;
  background: linear-gradient(225deg, var(--br-paper) 50%, var(--br-manila-2) 50%);
}
.theme-bresh .br-also-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-right: 18px; }
.theme-bresh .br-also-item h3 { font: 800 18.5px/1.17 var(--br-disp); letter-spacing: -.005em; text-transform: uppercase; }
.theme-bresh .br-also-item p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--br-mute); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.theme-bresh .br-also-item .br-meta { margin-top: auto; }

/* хронология поступлений */
.theme-bresh .br-colhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-bottom: 3px solid var(--br-ink); }
.theme-bresh .br-colhead h2 {
  background: var(--br-ink); color: var(--br-paper); padding: 10px 14px 8px;
  font: 800 15px/1 var(--br-disp); letter-spacing: .12em; text-transform: uppercase;
}
.theme-bresh .br-colhead span { padding-bottom: 9px; font: 500 10.5px/1 var(--br-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--br-mute); }
.theme-bresh .br-chron-list { list-style: none; margin: 0; padding: 8px 0 0; position: relative; }
.theme-bresh .br-chron-list::before { content: ''; position: absolute; left: 52px; top: 0; bottom: 6px; width: 1px; background: var(--br-rule-2); }
.theme-bresh .br-chron-day {
  display: block; margin: 14px 0 2px 70px;
  font: 600 10.5px/1 var(--br-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--br-red-ink);
}
.theme-bresh .br-chron-list li:first-child .br-chron-day { margin-top: 8px; }
.theme-bresh .br-chron-item { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 28px; padding: 11px 0 12px; }
.theme-bresh .br-chron-item::before {
  content: ''; position: absolute; left: 48px; top: 15px; width: 9px; height: 9px;
  background: var(--br-paper); border: 1.5px solid var(--br-ink);
}
.theme-bresh .br-chron-now .br-chron-item::before { background: var(--br-red); border-color: var(--br-red); }
.theme-bresh .br-chron-item time { padding-top: 1px; font: 600 13px/1.35 var(--br-mono); color: var(--br-ink); font-variant-numeric: tabular-nums; }
.theme-bresh .br-chron-cat { display: block; margin-bottom: 5px; font: 500 10px/1.2 var(--br-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--br-mute); }
.theme-bresh .br-chron-item h3 { font: 600 15.5px/1.38 var(--br-sans); letter-spacing: -.005em; text-transform: none; }
.theme-bresh .br-chron-item:hover h3,
.theme-bresh .br-reg-row:hover h3,
.theme-bresh .br-folder-list a:hover h3,
.theme-bresh .br-talk-item:hover h3 { text-decoration: underline; text-decoration-color: var(--br-red); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* =====================================================================
   «Как защититься» — памятки на чёрном поле
   ===================================================================== */
.theme-bresh .br-proto { margin-top: var(--br-space); background: var(--br-ink); color: var(--br-paper); padding: clamp(40px, 5vw, 76px) 0; }
.theme-bresh .br-proto-in { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(28px, 4.4vw, 72px); align-items: start; }
.theme-bresh .br-proto-head .br-kick { color: var(--br-red-hi); }
.theme-bresh .br-proto-head h2 { margin: 16px 0 16px; font: 800 clamp(28px, 2.9vw, 40px)/1 var(--br-disp); letter-spacing: -.01em; text-transform: uppercase; }
.theme-bresh .br-proto-head h2 a:hover { color: var(--br-red-hi); }
.theme-bresh .br-proto-head p { margin: 0 0 24px; font-size: 15.5px; line-height: 1.55; color: var(--br-on-dark); }
.theme-bresh .br-proto-all {
  display: inline-flex; gap: 10px; align-items: center; padding: 13px 16px 12px; box-shadow: inset 0 0 0 1.5px var(--br-paper);
  font: 600 11.5px/1 var(--br-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--br-paper);
  transition: background .15s ease, color .15s ease;
}
.theme-bresh .br-proto-all:hover { background: var(--br-paper); color: var(--br-ink); }
.theme-bresh .br-proto-list {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--br-line-dark); border-left: 1px solid var(--br-line-dark);
}
.theme-bresh .br-proto-list li { border-right: 1px solid var(--br-line-dark); border-bottom: 1px solid var(--br-line-dark); }
.theme-bresh .br-proto-item {
  display: grid; grid-template-columns: 22px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 14px; row-gap: 10px;
  height: 100%; padding: 22px 22px 22px 20px; transition: background .2s ease;
}
.theme-bresh .br-proto-item:hover { background: #1C1B19; }
.theme-bresh .br-box { grid-row: 1 / span 3; position: relative; width: 20px; height: 20px; margin-top: -3px; border: 1.5px solid var(--br-paper); }
.theme-bresh .br-box::after {
  content: ''; position: absolute; left: 5px; top: 0; width: 6px; height: 11px;
  border-right: 2.5px solid var(--br-red-hi); border-bottom: 2.5px solid var(--br-red-hi);
  transform: rotate(45deg) scale(0); transform-origin: 60% 60%; transition: transform .2s ease;
}
.theme-bresh .br-proto-item:hover .br-box::after { transform: rotate(45deg) scale(1); }
.theme-bresh .br-proto-no { font: 500 10.5px/1 var(--br-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--br-red-hi); }
.theme-bresh .br-proto-item h3 { font: 700 17px/1.32 var(--br-sans); letter-spacing: -.01em; text-transform: none; }
.theme-bresh .br-proto-item:hover h3 { text-decoration: underline; text-decoration-color: var(--br-red-hi); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.theme-bresh .br-proto-meta { align-self: end; font: 500 11px/1.3 var(--br-mono); color: var(--br-on-dark-2); }

/* =====================================================================
   Реестр самого читаемого
   ===================================================================== */
.theme-bresh .br-reg { margin-top: var(--br-space); }
.theme-bresh .br-reg .br-shead { margin-bottom: 0; }
.theme-bresh .br-reg-cols,
.theme-bresh .br-reg-row { display: grid; grid-template-columns: 52px 150px minmax(0, 1fr) 170px 150px; gap: 22px; align-items: baseline; }
.theme-bresh .br-reg-cols { padding: 12px 0 10px; border-bottom: 1px solid var(--br-ink); font: 500 10px/1 var(--br-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--br-mute); }
.theme-bresh .br-reg-cols span:last-child { text-align: right; }
.theme-bresh .br-reg-list { list-style: none; margin: 0; padding: 0; }
.theme-bresh .br-reg-row { padding: 17px 0 16px; border-bottom: 1px solid var(--br-rule); }
.theme-bresh .br-reg-n { font: 800 24px/1 var(--br-disp); color: var(--br-red); font-variant-numeric: tabular-nums; }
.theme-bresh .br-reg-case { font: 500 12px/1 var(--br-mono); letter-spacing: .04em; color: var(--br-mute); }
.theme-bresh .br-reg-row h3 { font: 700 17.5px/1.35 var(--br-sans); letter-spacing: -.01em; text-transform: none; }
.theme-bresh .br-reg-cat { font: 500 11px/1.3 var(--br-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--br-ink-2); }
.theme-bresh .br-reg-views { position: relative; display: block; padding-bottom: 9px; text-align: right; font: 600 14px/1 var(--br-mono); font-variant-numeric: tabular-nums; }
.theme-bresh .br-reg-views::before,
.theme-bresh .br-reg-views::after { content: ''; position: absolute; right: 0; bottom: 0; height: 3px; }
.theme-bresh .br-reg-views::before { left: 0; background: var(--br-rule); }
.theme-bresh .br-reg-views::after { width: var(--w, 0); background: var(--br-red); }

/* =====================================================================
   Схемы мошенников
   ===================================================================== */
.theme-bresh .br-sch { margin-top: var(--br-space); }
.theme-bresh .br-sch-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.theme-bresh .br-sch-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.theme-bresh .br-sch-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.theme-bresh .br-sch-card {
  display: flex; flex-direction: column; gap: 13px; height: 100%; padding: 16px 20px 20px;
  background: var(--br-sheet); border: 1px solid var(--br-rule); border-top: 5px solid var(--br-red);
}
.theme-bresh .br-sch-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 600 10.5px/1 var(--br-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--br-red-ink); }
.theme-bresh .br-warn {
  display: grid; place-items: end center; width: 24px; height: 21px; padding-bottom: 2px;
  background: var(--br-red); color: #fff; font: 800 12px/1 var(--br-disp); clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.theme-bresh .br-sch-card h3 { font: 800 18px/1.18 var(--br-disp); letter-spacing: -.005em; text-transform: uppercase; }
.theme-bresh .br-sch-card p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--br-mute); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.theme-bresh .br-sch-card .br-meta { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--br-rule-2); }

/* =====================================================================
   Папки разделов
   ===================================================================== */
.theme-bresh .br-folders {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 4.4vw, 60px) clamp(24px, 3vw, 44px);
  margin-top: var(--br-space); align-items: start;
}
.theme-bresh .br-folder { display: flex; flex-direction: column; min-width: 0; }
.theme-bresh .br-folder-head {
  align-self: flex-start; display: flex; flex-direction: column; gap: 7px; max-width: 100%;
  padding: 13px 46px 11px 20px; margin-bottom: -1px; background: var(--br-manila);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 100%, 0 100%);
}
.theme-bresh .br-folder-code { font: 600 10.5px/1 var(--br-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--br-red-ink); }
.theme-bresh .br-folder-head h2 { font: 800 clamp(20px, 2vw, 24px)/1 var(--br-disp); letter-spacing: .01em; text-transform: uppercase; }
.theme-bresh .br-folder-head h2 a:hover { color: var(--br-red-ink); }
.theme-bresh .br-folder-sheet { flex: 1; display: flex; flex-direction: column; padding: 18px 18px 16px; background: var(--br-manila); }
.theme-bresh .br-folder-top a {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 18px; align-items: start;
  padding: 14px; background: var(--br-sheet); box-shadow: 0 1px 0 var(--br-rule-2), 0 16px 26px -24px rgba(17, 17, 17, .6);
}
.theme-bresh .br-folder-top .br-ev { padding: 6px; }
.theme-bresh .br-folder-top .br-ev::before, .theme-bresh .br-folder-top .br-ev::after { width: 12px; height: 12px; }
.theme-bresh .br-folder-txt { display: flex; flex-direction: column; gap: 9px; min-width: 0; padding-top: 2px; }
.theme-bresh .br-folder-top h3 { font: 800 17.5px/1.18 var(--br-disp); letter-spacing: -.005em; text-transform: uppercase; }
.theme-bresh .br-folder-top p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--br-mute); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.theme-bresh .br-folder-list { list-style: none; margin: 6px 0 0; padding: 0; }
.theme-bresh .br-folder-list a { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 13px 2px 12px; border-bottom: 1px solid var(--br-rule-2); }
.theme-bresh .br-folder-list .br-no { color: var(--br-ink-2); }
.theme-bresh .br-folder-list h3 { font: 600 15.5px/1.4 var(--br-sans); letter-spacing: -.005em; text-transform: none; }
.theme-bresh .br-folder-all {
  align-self: flex-start; display: inline-flex; gap: 8px; padding-top: 16px;
  font: 600 11px/1 var(--br-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--br-red-ink);
}
.theme-bresh .br-folder-all:hover { color: var(--br-ink); }
/* нечётная последняя папка — во всю ширину: дело слева, подшивка справа */
@media (min-width: 901px) {
  .theme-bresh .br-folders-odd > .br-folder:last-child { grid-column: 1 / -1; }
  .theme-bresh .br-folders-odd > .br-folder:last-child .br-folder-sheet { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 28px; align-items: start; }
  .theme-bresh .br-folders-odd > .br-folder:last-child .br-folder-list { margin-top: -12px; }
  .theme-bresh .br-folders-odd > .br-folder:last-child .br-folder-all { grid-column: 2; }
}

/* =====================================================================
   Обсуждают + подписка
   ===================================================================== */
.theme-bresh .br-end { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 4.4vw, 72px); margin-top: var(--br-space); align-items: start; }
.theme-bresh .br-end-solo { grid-template-columns: minmax(0, 760px); justify-content: center; }
.theme-bresh .br-talk .br-shead { margin-bottom: 0; }
.theme-bresh .br-talk-list { list-style: none; margin: 0; padding: 0; }
.theme-bresh .br-talk-item { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 20px; align-items: baseline; padding: 17px 0 16px; border-bottom: 1px solid var(--br-rule); }
.theme-bresh .br-talk-n { display: flex; flex-direction: column; gap: 5px; font: 500 10px/1.2 var(--br-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--br-mute); }
.theme-bresh .br-talk-n b { font: 800 30px/1 var(--br-disp); letter-spacing: -.02em; color: var(--br-ink); font-variant-numeric: tabular-nums; }
.theme-bresh .br-talk-item h3 { font: 700 17px/1.36 var(--br-sans); letter-spacing: -.01em; text-transform: none; }

.theme-bresh .br-sub {
  position: relative; padding: clamp(26px, 3vw, 40px); background: var(--br-sheet);
  border: 1.5px solid var(--br-ink); box-shadow: 9px 9px 0 var(--br-ink);
}
.theme-bresh .br-sub-stamp { position: absolute; top: 24px; right: 22px; font-size: 12.5px; transform: rotate(7deg); }
.theme-bresh .br-sub h2 { margin: 16px 0 14px; max-width: 17ch; font: 800 clamp(24px, 2.4vw, 32px)/1.06 var(--br-disp); letter-spacing: -.01em; text-transform: uppercase; }
.theme-bresh .br-sub p { margin: 0 0 20px; max-width: 46ch; font-size: 15.5px; line-height: 1.55; color: var(--br-mute); }
.theme-bresh .br-redact { display: grid; gap: 7px; margin: 0 0 26px; }
.theme-bresh .br-redact i { display: block; height: 11px; background: var(--br-ink); }
.theme-bresh .br-redact i:nth-child(1) { width: 94%; }
.theme-bresh .br-redact i:nth-child(2) { width: 81%; }
.theme-bresh .br-redact i:nth-child(3) { width: 88%; }
.theme-bresh .br-redact i:nth-child(4) { width: 46%; }
.theme-bresh .br-sub-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* =====================================================================
   ПОДВАЛ — чёрная обложка досье
   ===================================================================== */
.theme-bresh .br-ftr { margin-top: clamp(64px, 8vw, 120px); background: var(--br-ink); color: var(--br-on-dark); padding: clamp(40px, 5vw, 64px) 0 28px; }
.theme-bresh .br-ftr-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 30px; border-bottom: 1px solid var(--br-line-dark); }
.theme-bresh .br-ftr-logo { position: relative; display: inline-block; isolation: isolate; }
.theme-bresh .br-ftr-logo .br-logo-bar { background: var(--br-paper); color: var(--br-ink); font-size: clamp(40px, 5.4vw, 76px); }
.theme-bresh .br-ftr-logo::before { content: ''; position: absolute; z-index: -1; left: 59%; width: 13%; top: 0; height: 60%; background: var(--br-red-hi); }
.theme-bresh .br-ftr-claim { margin: 0; max-width: 30ch; text-align: right; font: 500 12px/1.5 var(--br-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--br-on-dark-2); }
.theme-bresh .br-ftr-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .85fr) minmax(0, 1.25fr); gap: clamp(24px, 3vw, 44px); padding: 34px 0 38px; }
.theme-bresh .br-ftr h2 { margin: 0 0 16px; font: 600 10.5px/1 var(--br-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--br-on-dark-2); }
.theme-bresh .br-ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.theme-bresh .br-ftr a:hover { color: var(--br-red-hi); }
.theme-bresh .br-ftr-cats a { display: inline-flex; gap: 12px; align-items: baseline; }
.theme-bresh .br-ftr-cats a span { font: 500 11px/1 var(--br-mono); color: var(--br-red-hi); }
.theme-bresh .br-ftr-net { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 18px !important; font-size: 13.5px !important; }
.theme-bresh .br-ftr-memo { position: relative; align-self: start; padding: 20px 20px 22px; border: 1.5px solid var(--br-red-hi); }
.theme-bresh .br-ftr-memo h2 { color: var(--br-red-hi); }
.theme-bresh .br-ftr-memo p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--br-paper); }
.theme-bresh .br-ftr-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--br-line-dark);
  font: 500 11px/1.4 var(--br-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--br-on-dark-2);
}
.theme-bresh .br-ftr-end { display: inline-flex; align-items: center; gap: 6px; }
.theme-bresh .br-ftr-end i { width: 26px; height: 8px; background: #3A3935; }
.theme-bresh .br-ftr-end i:nth-child(2) { width: 14px; }

/* =====================================================================
   СТАТЬЯ — титульный лист дела
   ===================================================================== */
.theme-bresh .article .breadcrumbs { max-width: 1040px; padding-top: clamp(20px, 2.6vw, 32px); }
.theme-bresh .breadcrumbs { font: 500 11px/1.4 var(--br-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--br-mute); }
.theme-bresh .breadcrumbs a:hover { color: var(--br-red-ink); }
.theme-bresh .br-ah { max-width: 1040px; margin: 16px auto 0; padding: 0 var(--gap); isolation: isolate; }
.theme-bresh .br-ah-sheet {
  position: relative; background: var(--br-sheet); border: 1px solid var(--br-rule);
  padding: clamp(22px, 3.4vw, 48px) clamp(20px, 4vw, 56px) clamp(24px, 3vw, 40px);
  box-shadow: 0 30px 50px -40px rgba(17, 17, 17, .5);
}
.theme-bresh .br-ah-sheet::before { content: ''; position: absolute; z-index: -1; inset: 9px -9px -9px 9px; background: var(--br-manila); border: 1px solid var(--br-rule); }
.theme-bresh .br-ah-top { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-bottom: clamp(20px, 2.4vw, 28px); }
.theme-bresh .br-ah-no { font: 600 12px/1 var(--br-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--br-mute); font-variant-numeric: tabular-nums; }
.theme-bresh .br-ah-stamp { margin-left: auto; font-size: 11.5px; transform: rotate(-4deg); }
.theme-bresh .br-ah-title { margin: 0 0 22px; font: 800 clamp(32px, 4.6vw, 60px)/1.02 var(--br-disp); letter-spacing: -.014em; text-transform: uppercase; text-wrap: balance; }
.theme-bresh .br-ah-title.br-len-m { font-size: clamp(29px, 3.9vw, 50px); line-height: 1.04; }
.theme-bresh .br-ah-title.br-len-l { font-size: clamp(26px, 3.3vw, 42px); line-height: 1.06; }
.theme-bresh .br-ah-lede { margin: 0 0 30px; max-width: 62ch; font: 400 clamp(18px, 1.5vw, 21px)/1.55 var(--br-sans); color: var(--br-ink-2); }
.theme-bresh .br-ah-fields { grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1.5px solid var(--br-ink); }
.theme-bresh .br-ah-fields > div { grid-template-columns: 1fr; gap: 7px; align-content: start; padding: 13px 16px 13px 0; border-bottom: 0; }
.theme-bresh .br-ah-fields > div + div { padding-left: 16px; border-left: 1px dashed var(--br-rule-2); }
.theme-bresh .br-ah-fields dd small { display: block; margin-top: 4px; font: 500 11px/1.35 var(--br-mono); color: var(--br-mute); }
.theme-bresh .br-ah-recipe { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; border-bottom: 1.5px solid var(--br-ink); }
.theme-bresh .br-ah-recipe > div { grid-template-columns: 1fr; gap: 7px; padding: 12px 16px 12px 0; border-bottom: 0; }
.theme-bresh .br-ah-recipe > div + div { padding-left: 16px; border-left: 1px dashed var(--br-rule-2); }
.theme-bresh .br-ah-recipe dd { font: 800 22px/1 var(--br-disp); color: var(--br-red); }
.theme-bresh .br-ah-fig { margin: clamp(30px, 3.6vw, 48px) 0 0; padding: 10px; }
.theme-bresh .br-ah-fig::before, .theme-bresh .br-ah-fig::after { width: 22px; height: 22px; }
.theme-bresh .br-ah-fig figcaption {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 12px 2px 2px;
  font: 500 11px/1.4 var(--br-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--br-mute);
}
.theme-bresh .br-ah-fig figcaption b { padding: 4px 7px 3px; background: var(--br-ink); color: var(--br-paper); font-weight: 600; }

/* текст статьи */
.theme-bresh .article-body { padding-top: clamp(30px, 4vw, 56px); }
.theme-bresh .prose { font-family: var(--br-sans); font-size: clamp(17.5px, 1.2vw, 19px); line-height: 1.72; color: #1A1917; }
.theme-bresh .prose:not(.prose-cont) > p:first-child::first-letter {
  float: left; margin: .1em .16em 0 0; padding: .14em .16em .1em; background: var(--br-ink); color: var(--br-paper);
  font: 800 3.05em/.8 var(--br-disp); text-transform: uppercase;
}
.theme-bresh .prose > h2 {
  margin-top: 1.9em; padding-top: 16px; border-top: 3px solid var(--br-ink);
  font: 800 clamp(22px, 2vw, 28px)/1.12 var(--br-disp); letter-spacing: -.005em; text-transform: uppercase;
}
.theme-bresh .prose > h2::before { content: ''; display: inline-block; width: .46em; height: .46em; margin-right: .42em; background: var(--br-red); vertical-align: .1em; }
.theme-bresh .prose > h3 { margin-top: 1.6em; font: 600 15px/1.4 var(--br-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--br-ink); }
.theme-bresh .prose > blockquote {
  position: relative; margin: 2em 0; padding: 22px 26px 22px 28px; background: var(--br-sheet); border: 1px solid var(--br-rule); border-left: 5px solid var(--br-red);
  font: 600 1.14em/1.5 var(--br-sans); letter-spacing: -.01em; text-transform: none; color: var(--br-ink);
}
.theme-bresh .prose ul { list-style: none; padding-left: 0; }
.theme-bresh .prose ul > li { position: relative; padding-left: 1.6em; }
.theme-bresh .prose ul > li::before { content: ''; position: absolute; left: .15em; top: .66em; width: .46em; height: .46em; background: var(--br-ink); }
.theme-bresh .prose ol { list-style: none; padding-left: 0; counter-reset: br-ol; }
.theme-bresh .prose ol > li { position: relative; padding-left: 2.7em; counter-increment: br-ol; }
.theme-bresh .prose ol > li::before {
  content: counter(br-ol, decimal-leading-zero); position: absolute; left: 0; top: .22em; padding: 3px 6px 2px;
  border: 1.5px solid var(--br-red); color: var(--br-red-ink); font: 600 .72em/1.2 var(--br-mono); font-variant-numeric: tabular-nums;
}
.theme-bresh .prose a { color: var(--br-red-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.theme-bresh .prose a:hover { color: var(--br-ink); text-decoration-thickness: 2px; }
.theme-bresh .prose strong { font-weight: 700; color: var(--br-ink); }
.theme-bresh .prose hr { height: 0; background: none; border-top: 1px dashed var(--br-rule-2); }
.theme-bresh .prose table { font-family: var(--br-mono); font-size: .8em; }
.theme-bresh .prose th { border-bottom: 1.5px solid var(--br-ink); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .9em; }
.theme-bresh .prose td { border-bottom: 1px dashed var(--br-rule-2); }
.theme-bresh .prose img { max-width: 100%; height: auto; }
.theme-bresh .prose code { font-family: var(--br-mono); font-size: .86em; padding: 1px 5px; background: var(--br-manila); }

.theme-bresh .inline-read {
  margin: 2.2em 0; padding: 18px 22px 20px; border: 1px solid var(--br-rule); border-top: 3px solid var(--br-ink); border-left: 1px solid var(--br-rule);
  border-radius: 0; background: var(--br-sheet); box-shadow: 7px 7px 0 var(--br-manila); gap: 10px;
}
.theme-bresh .inline-read-label { font-family: var(--br-mono); font-weight: 600; font-size: 10.5px; letter-spacing: .14em; color: var(--br-red-ink); }
.theme-bresh .inline-read a { font: 800 1.02em/1.25 var(--br-disp); letter-spacing: -.005em; text-transform: uppercase; }
.theme-bresh .inline-read a:hover { color: var(--br-red-ink); }

.theme-bresh .source-note { font: 500 12px/1.5 var(--br-mono); letter-spacing: .04em; color: var(--br-mute); padding-top: 14px; border-top: 1px dashed var(--br-rule-2); }
.theme-bresh .source-note a { color: var(--br-ink); text-underline-offset: 3px; }
.theme-bresh .tags { gap: 8px 6px; }
.theme-bresh .tag {
  position: relative; display: inline-flex; align-items: center; height: 26px; padding: 1px 12px 0 24px; border-radius: 0;
  background: var(--br-manila); color: var(--br-ink); font: 500 11px/1 var(--br-mono); letter-spacing: .06em;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
}
.theme-bresh .tag::before { content: ''; position: absolute; left: 10px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--br-paper); box-shadow: inset 0 0 0 1px var(--br-rule-2); }
.theme-bresh .tag:hover { background: var(--br-ink); color: var(--br-paper); }
.theme-bresh .share { font: 500 11px/1 var(--br-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--br-mute); }
.theme-bresh .share a, .theme-bresh .share button {
  border-radius: 0; width: 38px; height: 38px; background: transparent; color: var(--br-ink); box-shadow: inset 0 0 0 1.5px var(--br-ink);
  font: 600 12px/1 var(--br-mono); letter-spacing: .02em;
}
.theme-bresh .share a:hover, .theme-bresh .share button:hover { background: var(--br-ink); color: var(--br-paper); }
.theme-bresh .inline-cta {
  border-radius: 0; background: var(--br-sheet); box-shadow: none; border: 1.5px dashed var(--br-ink); padding: 22px 24px;
  font-family: var(--br-sans);
}
.theme-bresh .inline-cta b { font: 800 16px/1.2 var(--br-disp); text-transform: uppercase; letter-spacing: .01em; }
.theme-bresh .inline-cta .muted { margin-top: 4px; font-size: 14.5px; }

/* комментарии — «показания» */
.theme-bresh .comments { border-top: 3px solid var(--br-ink); font-family: var(--br-sans); }
.theme-bresh .comments h2 { font: 800 26px/1 var(--br-disp); text-transform: uppercase; letter-spacing: .01em; }
.theme-bresh .comments h2 small { font: 600 13px/1 var(--br-mono); color: var(--br-paper); background: var(--br-ink); padding: 5px 8px 4px; align-self: center; }
.theme-bresh .c-form { border-radius: 0; background: var(--br-sheet); box-shadow: none; border: 1px solid var(--br-rule); border-top: 3px solid var(--br-ink); padding: 20px; }
.theme-bresh .c-form input, .theme-bresh .c-form textarea {
  border-radius: 0; background: #fff; border: 1.5px solid var(--br-rule-2); font-family: var(--br-sans); color: var(--br-ink);
}
.theme-bresh .c-form input:focus, .theme-bresh .c-form textarea:focus { border-color: var(--br-ink); }
.theme-bresh .c-form input::placeholder, .theme-bresh .c-form textarea::placeholder { color: #77736B; font-family: var(--br-mono); font-size: 13px; }
.theme-bresh .c-note { font: 500 12px/1.4 var(--br-mono); color: var(--br-mute); }
.theme-bresh .c-item .c-head b { font-weight: 700; }
.theme-bresh .c-item .c-head time { font-family: var(--br-mono); font-size: 11.5px; }
.theme-bresh .c-badge { border-radius: 0; background: var(--br-red); color: #fff; font: 600 10px/1.3 var(--br-mono); letter-spacing: .1em; text-transform: uppercase; padding: 2px 7px 1px; }
.theme-bresh .c-actions { font: 500 12px/1.3 var(--br-mono); }
.theme-bresh .c-actions button:hover, .theme-bresh .c-actions button.liked { color: var(--br-red-ink); }
.theme-bresh .c-replies { border-left: 2px dashed var(--br-rule-2); }
.theme-bresh .avatar { border-radius: 0; }

/* «Читайте также» */
.theme-bresh .related { margin-top: clamp(24px, 3vw, 40px); }
.theme-bresh .section-head { border-top: 0; padding-top: 0; border-bottom: 3px solid var(--br-ink); align-items: flex-end; margin-bottom: 26px; }
.theme-bresh .section-head h2 {
  background: var(--br-ink); color: var(--br-paper); padding: 11px 16px 9px;
  font: 800 clamp(18px, 1.8vw, 23px)/1 var(--br-disp); letter-spacing: .02em; text-transform: uppercase;
}
.theme-bresh .section-head a { padding-bottom: 10px; font: 600 11px/1.2 var(--br-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--br-red-ink); white-space: normal; text-align: right; }
.theme-bresh .section-head a:hover { color: var(--br-ink); }
.theme-bresh .related-grid { gap: 22px; }
.theme-bresh .related-card { gap: 12px; }
.theme-bresh .related-card .cover,
.theme-bresh .listing .list-row .cover { border-radius: 0; }
/* белые поля «фотографии» поверх картинки */
.theme-bresh .related-card .cover::after,
.theme-bresh .listing .list-row .cover::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 7px var(--br-rule);
}
.theme-bresh .related-card h3 { font: 800 16.5px/1.2 var(--br-disp); letter-spacing: -.005em; text-transform: uppercase; }
.theme-bresh .related-card:hover h3 { color: inherit; text-decoration: underline; text-decoration-color: var(--br-red); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* =====================================================================
   РУБРИКА, ПОИСК, «О ПРОЕКТЕ»
   ===================================================================== */
.theme-bresh .listing .breadcrumbs { padding-top: clamp(20px, 2.6vw, 32px); }
.theme-bresh .page-head { padding: clamp(22px, 3vw, 40px) 0 22px; border-bottom: 3px solid var(--br-ink); margin-bottom: 6px; }
.theme-bresh .page-head .kicker {
  position: relative; display: inline-flex; align-items: center; height: 24px; padding: 1px 11px 0 23px;
  background: var(--br-manila); color: var(--br-ink); font-size: 10.5px; clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
}
.theme-bresh .page-head .kicker::before { content: ''; position: absolute; left: 10px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--br-paper); box-shadow: inset 0 0 0 1px var(--br-rule-2); }
.theme-bresh .page-head h1 { margin-top: 16px; font: 800 clamp(40px, 6.4vw, 88px)/.95 var(--br-disp); letter-spacing: -.02em; text-transform: uppercase; }
.theme-bresh .page-head p { margin-top: 14px; font: 500 12px/1.4 var(--br-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--br-mute); }
.theme-bresh .list-row { grid-template-columns: 236px minmax(0, 1fr); gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--br-rule); }
.theme-bresh .list-row h2 { margin: 10px 0 10px; font: 800 clamp(19px, 1.8vw, 24px)/1.16 var(--br-disp); letter-spacing: -.005em; text-transform: uppercase; }
.theme-bresh .list-row p { font-size: 15.5px; line-height: 1.55; color: var(--br-mute); max-width: 70ch; }
.theme-bresh .list-row:hover h2 { color: inherit; text-decoration: underline; text-decoration-color: var(--br-red); text-decoration-thickness: 3px; text-underline-offset: .14em; }
.theme-bresh .pager { align-items: center; font: 500 12px/1 var(--br-mono); letter-spacing: .08em; text-transform: uppercase; }
.theme-bresh .search-form input { min-width: 0; border-radius: 0; border: 1.5px solid var(--br-ink); background: var(--br-sheet); font-family: var(--br-mono); font-size: 15px; }
.theme-bresh .search-form input:focus { box-shadow: 4px 4px 0 var(--br-ink); }
.theme-bresh main.narrow .page-head { border-bottom-width: 3px; }
.theme-bresh .about-authors .author { padding: 14px 16px; background: var(--br-sheet); border: 1px solid var(--br-rule); font-family: var(--br-sans); }
.theme-bresh .about-authors .author b { font: 800 15px/1.2 var(--br-disp); text-transform: uppercase; }
.theme-bresh .about-authors .author span:not(.avatar) { font: 500 11.5px/1.4 var(--br-mono); }

/* =====================================================================
   АДАПТИВ
   ===================================================================== */
@media (max-width: 1180px) {
  .theme-bresh .br-mast { grid-template-columns: auto minmax(0, 1fr); }
  .theme-bresh .br-find { grid-column: 2; justify-self: end; }
  .theme-bresh .br-mast-note { display: none; }
  .theme-bresh .br-front { grid-template-columns: minmax(0, 1fr) 300px; }
  .theme-bresh .br-case-title { font-size: 38px; }
  .theme-bresh .br-case-title.br-len-m { font-size: 33px; }
  .theme-bresh .br-case-title.br-len-l { font-size: 28px; }
  .theme-bresh .br-case-body { grid-template-columns: minmax(0, 1fr); }
  .theme-bresh .br-case-fig { max-width: 560px; }
  .theme-bresh .br-proto-in { grid-template-columns: minmax(0, 1fr); }
  .theme-bresh .br-proto-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: end; }
  .theme-bresh .br-proto-head .br-kick, .theme-bresh .br-proto-head h2, .theme-bresh .br-proto-head p { grid-column: 1; }
  .theme-bresh .br-proto-all { grid-column: 2; grid-row: 1 / span 3; align-self: end; margin-bottom: 24px; }
  .theme-bresh .br-reg-cols, .theme-bresh .br-reg-row { grid-template-columns: 46px minmax(0, 1fr) 150px 130px; }
  .theme-bresh .br-reg-case { display: none; }
  .theme-bresh .br-reg-cols span:nth-child(2) { display: none; }
  .theme-bresh .br-sch-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-bresh .br-sch-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .theme-bresh .br-folder-top a { grid-template-columns: minmax(0, 1fr); }
  .theme-bresh .br-ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .theme-bresh .br-band-date { display: none; }
  .theme-bresh .br-front { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  /* на узком экране хронология идёт сразу за главным делом, подшитые листы — после неё */
  .theme-bresh .br-front-main { display: contents; }
  .theme-bresh .br-chron { order: 2; margin-top: 44px; }
  .theme-bresh .br-also { order: 3; margin-top: 36px; }
  .theme-bresh .br-case-body { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .theme-bresh .br-case-fig { max-width: none; }
  .theme-bresh .br-proto-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-bresh .br-sch-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-bresh .br-folders { grid-template-columns: minmax(0, 1fr); }
  .theme-bresh .br-folder-top a { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .theme-bresh .br-end { grid-template-columns: minmax(0, 1fr); }
  .theme-bresh .br-ah-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-bresh .br-ah-fields > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .theme-bresh .br-ah-fields > div:nth-child(n+3) { border-top: 1px dashed var(--br-rule-2); }
  .theme-bresh .list-row { grid-template-columns: 150px minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 640px) {
  .theme-bresh { --br-space: 52px; }
  .theme-bresh .br-band-in { gap: 12px; min-height: 32px; font-size: 10.5px; }
  .theme-bresh .br-band-cls span { display: none; }
  .theme-bresh .br-band-links { gap: 14px; }
  .theme-bresh .br-band-links a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .theme-bresh .br-mast { gap: 14px; padding-top: 18px; padding-bottom: 16px; }
  .theme-bresh .br-logo-bar { font-size: 36px; }
  .theme-bresh .br-find { width: 46px; padding: 0; justify-content: center; }
  .theme-bresh .br-find-text, .theme-bresh .br-find-key { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .theme-bresh .br-tab { height: 40px; padding: 1px 18px 3px; font-size: 11.5px; }
  .theme-bresh .br-tab[aria-current='page'] { height: 44px; }
  .theme-bresh .br-tabs-in { padding-right: var(--gap); }

  .theme-bresh .br-home { padding-top: 24px; }
  .theme-bresh .br-case { padding-top: 32px; }
  .theme-bresh .br-case-tab { height: 33px; padding: 1px 30px 0 14px; font-size: 11px; }
  .theme-bresh .br-case-link { padding: 18px 16px 22px; }
  .theme-bresh .br-case-link::before { inset: 6px -6px -6px 6px; }
  .theme-bresh .br-case-top { margin-bottom: 16px; }
  .theme-bresh .br-case-stamp { font-size: 10px; padding: 6px 8px 5px; letter-spacing: .14em; }
  .theme-bresh .br-case-title, .theme-bresh .br-case-title.br-len-m { font-size: 27px; line-height: 1.06; }
  .theme-bresh .br-case-title.br-len-l { font-size: 23px; line-height: 1.08; }
  .theme-bresh .br-case-body { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .theme-bresh .br-case-lede { font-size: 16px; }
  .theme-bresh .br-case .br-fields > div { grid-template-columns: 112px minmax(0, 1fr); }
  .theme-bresh .br-also { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 24px; }
  .theme-bresh .br-also-item h3 { font-size: 17px; }
  .theme-bresh .br-chron-list::before { left: 46px; }
  .theme-bresh .br-chron-item { grid-template-columns: 38px minmax(0, 1fr); gap: 24px; }
  .theme-bresh .br-chron-item::before { left: 42px; }
  .theme-bresh .br-chron-day { margin-left: 62px; }

  .theme-bresh .br-proto-head { display: block; }
  .theme-bresh .br-proto-head h2 { font-size: 30px; }
  .theme-bresh .br-proto-all { margin-bottom: 0; }
  .theme-bresh .br-proto-list { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
  .theme-bresh .br-proto-item { padding: 18px 16px 18px 14px; }

  .theme-bresh .br-shead h2 { font-size: 18px; padding: 10px 12px 8px; }
  .theme-bresh .br-shead-note { display: none; }
  .theme-bresh .br-reg-cols { display: none; }
  .theme-bresh .br-reg-row { grid-template-columns: 34px minmax(0, 1fr); gap: 4px 12px; padding: 15px 0 14px; }
  .theme-bresh .br-reg-n { grid-row: 1 / span 2; font-size: 20px; }
  .theme-bresh .br-reg-row h3 { grid-column: 2; font-size: 16px; }
  .theme-bresh .br-reg-cat { grid-column: 2; display: none; }
  .theme-bresh .br-reg-views { grid-column: 2; justify-self: start; min-width: 150px; margin-top: 6px; padding-bottom: 7px; text-align: left; font-size: 12.5px; }
  .theme-bresh .br-reg-views::after { left: 0; right: auto; }
  /* схемы — лента карточек с прокруткой по горизонтали */
  .theme-bresh .br-sch-list, .theme-bresh .br-sch-2, .theme-bresh .br-sch-3 {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gap)); padding: 0 var(--gap) 4px; scroll-padding: 0 var(--gap);
  }
  .theme-bresh .br-sch-list::-webkit-scrollbar { display: none; }
  .theme-bresh .br-sch-list > li { scroll-snap-align: start; }
  .theme-bresh .br-meta > span:first-child { flex-basis: 100%; }
  .theme-bresh .br-meta > span:nth-child(2) i { display: none; }
  .theme-bresh .br-folder-head { padding: 12px 40px 10px 16px; }
  .theme-bresh .br-folder-sheet { padding: 12px 12px 14px; }
  .theme-bresh .br-folder-top a { grid-template-columns: minmax(0, 1fr); padding: 12px; gap: 14px; }
  .theme-bresh .br-folder-top .cover { aspect-ratio: 16 / 9 !important; }
  .theme-bresh .br-folder-list a { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .theme-bresh .br-talk-item { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .theme-bresh .br-talk-n { flex-direction: row; align-items: baseline; gap: 8px; }
  .theme-bresh .br-talk-n b { font-size: 22px; }
  .theme-bresh .br-talk-item h3 { font-size: 16px; }
  .theme-bresh .br-sub { box-shadow: 6px 6px 0 var(--br-ink); margin-right: 6px; }
  .theme-bresh .br-sub-stamp { position: static; display: inline-flex; margin: 0 0 18px 4px; font-size: 10.5px; transform: rotate(-3deg); }
  .theme-bresh .br-sub .br-kick { display: block; }

  .theme-bresh .br-ftr-top { flex-direction: column; align-items: flex-start; }
  .theme-bresh .br-ftr-claim { text-align: left; }
  .theme-bresh .br-ftr-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }

  .theme-bresh .br-ah { margin-top: 12px; }
  .theme-bresh .br-ah-sheet { padding: 20px 16px 22px; }
  .theme-bresh .br-ah-sheet::before { inset: 6px -6px -6px 6px; }
  .theme-bresh .br-ah-stamp { display: none; }
  .theme-bresh .br-ah-title { font-size: 29px; line-height: 1.05; }
  .theme-bresh .br-ah-title.br-len-m { font-size: 25px; line-height: 1.07; }
  .theme-bresh .br-ah-title.br-len-l { font-size: 22px; line-height: 1.1; }
  .theme-bresh .br-ah-lede { font-size: 17px; margin-bottom: 22px; }
  .theme-bresh .br-ah-fields > div { padding: 11px 10px 11px 0; }
  .theme-bresh .br-ah-fields > div + div { padding-left: 10px; }
  .theme-bresh .br-ah-fields > div:nth-child(3) { padding-left: 0; }
  .theme-bresh .br-ah-fig { padding: 6px; margin-top: 26px; }
  .theme-bresh .prose > blockquote { padding: 18px 18px 18px 20px; }
  .theme-bresh .inline-read { box-shadow: 5px 5px 0 var(--br-manila); margin-right: 5px; }
  .theme-bresh .list-row { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 18px 0; }
  .theme-bresh .listing .list-row .cover::after { box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px var(--br-rule); }
  .theme-bresh .list-row h2 { font-size: 16.5px; margin: 6px 0 0; hyphens: auto; }
  .theme-bresh .page-head h1 { font-size: 42px; }
  .theme-bresh .section-head { flex-wrap: wrap; gap: 6px 14px; }
  .theme-bresh .section-head a { margin-left: auto; }
  /* «Читайте также» на телефоне — строки с миниатюрой */
  .theme-bresh .related-grid { gap: 0; }
  .theme-bresh .related-card { grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 14px; row-gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--br-rule); }
  .theme-bresh .related-card .cover { grid-row: 1 / span 2; }
  .theme-bresh .related-card .cover::after { box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px var(--br-rule); }
  .theme-bresh .related-card h3 { font-size: 15px; }
  .theme-bresh .pager { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .theme-bresh *, .theme-bresh *::before, .theme-bresh *::after { transition: none !important; animation: none !important; }
  .theme-bresh .br-find:hover { transform: none; }
}
