/* =====================================================================
   «Обгон» — гоночный постер / пит-лейн.
   Светлый асфальт, карбон, гоночный красный. Oswald (курсивный капслок) + Golos.
   Префикс классов: ob-
   ===================================================================== */

.theme-obgon {
  --ob-asphalt: #EDEDEA;
  --ob-asphalt2: #E0E0DC;
  --ob-paper: #F7F7F5;
  --ob-carbon: #111214;
  --ob-carbon2: #1A1B1E;
  --ob-graphite: #2A2B30;
  --ob-red: #E10600;
  --ob-red-t: #C40500;            /* красный для мелкого текста на светлом — контраст ≥ 4.5 */
  --ob-amber: #FFB800;
  --ob-ink: #111214;
  --ob-text2: #34363B;
  --ob-muted: #5E6066;
  --ob-muted-d: #9EA0A6;          /* приглушённый на тёмном */
  --ob-line: rgba(17, 18, 20, .14);
  --ob-line-d: rgba(255, 255, 255, .12);
  --ob-disp: var(--f-oswald), 'Arial Narrow', sans-serif;
  --ob-body: var(--f-golos), system-ui, sans-serif;
  --ob-skew: -14deg;
  --ob-cut: 22px;
  --ob-ease: cubic-bezier(.2, .7, .2, 1);
  --ob-check: repeating-conic-gradient(var(--ob-carbon) 0 25%, #fff 0 50%) 0 0 / 16px 16px;
  font-family: var(--ob-body);
  background: var(--ob-asphalt);
  color: var(--ob-ink);
  overflow-x: clip;
}
.theme-obgon h1, .theme-obgon h2, .theme-obgon h3 { letter-spacing: .005em; }
.theme-obgon ::selection { background: var(--ob-red); color: #fff; }
.theme-obgon :focus-visible { outline: 3px solid var(--ob-red); outline-offset: 3px; }
.theme-obgon .ob-dark :focus-visible, .theme-obgon .ob-hdr :focus-visible, .theme-obgon .ob-foot :focus-visible { outline-color: #fff; }

/* ---------- Общие детали: косые плашки, «поребрик», мета, срезы обложек ---------- */
.theme-obgon .ob-plate {
  position: relative; isolation: isolate; display: inline-flex; align-items: center;
  padding: 5px 12px 4px; font: 600 12px/1.1 var(--ob-disp); letter-spacing: .08em; text-transform: uppercase;
  color: #fff; white-space: nowrap;
}
.theme-obgon .ob-plate::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ob-red); transform: skewX(var(--ob-skew)); }
.theme-obgon .ob-plate--dark::before { background: var(--ob-carbon); }
.theme-obgon .ob-plate--light { color: var(--ob-ink); }
.theme-obgon .ob-plate--light::before { background: #fff; }
.theme-obgon .ob-plate time { color: inherit; }
.theme-obgon a.ob-plate--link { transition: color .15s; }
.theme-obgon a.ob-plate--link:hover::before { background: var(--ob-carbon); }

.theme-obgon .ob-kerb {
  flex: 1; min-width: 40px; height: 8px;
  background: repeating-linear-gradient(115deg, var(--ob-red) 0 14px, transparent 14px 28px);
  opacity: .9;
}

.theme-obgon .ob-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px;
  font: 500 12.5px/1.3 var(--ob-body); color: var(--ob-muted); font-variant-numeric: tabular-nums;
}
.theme-obgon .ob-meta > * { display: inline-flex; align-items: center; gap: 5px; }
.theme-obgon .ob-meta svg { opacity: .7; }
.theme-obgon .ob-meta time { color: var(--ob-ink); font-weight: 600; }

.theme-obgon .ob-cut { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--ob-cut)), calc(100% - var(--ob-cut)) 100%, 0 100%); }
.theme-obgon .ob-cut--l { --ob-cut: 44px; }
.theme-obgon .ob-cut--s { --ob-cut: 12px; }
.theme-obgon .cover { background: var(--ob-carbon); }
.theme-obgon .cover img { transition: transform .7s var(--ob-ease); }

/* Кнопки — косые параллелограммы */
.theme-obgon .btn {
  position: relative; isolation: isolate; background: none; box-shadow: none; border-radius: 0;
  font: 600 14px/1 var(--ob-disp); letter-spacing: .1em; text-transform: uppercase;
  padding: 14px 26px; color: #fff; transition: transform .15s var(--ob-ease), color .15s;
}
.theme-obgon .btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ob-red); transform: skewX(var(--ob-skew)); transition: background .15s; }
.theme-obgon .btn:hover { transform: translateX(3px); opacity: 1; }
.theme-obgon .btn:hover::before { background: var(--ob-carbon); }
.theme-obgon .btn.ghost { background: none; box-shadow: none; color: var(--ob-ink); }
.theme-obgon .btn.ghost::before { background: transparent; box-shadow: inset 0 0 0 2px currentColor; }
.theme-obgon .btn.ghost:hover { color: #fff; }
.theme-obgon .btn.ghost:hover::before { background: var(--ob-carbon); box-shadow: inset 0 0 0 2px var(--ob-carbon); }
.theme-obgon .btn[disabled] { opacity: .55; cursor: progress; }

/* ---------- Шапка ---------- */
.theme-obgon .ob-hdr { position: relative; z-index: 30; background: var(--ob-carbon); color: #fff; }
@media (min-width: 900px) { .theme-obgon .ob-hdr { position: sticky; top: 0; } }
.theme-obgon .ob-bar-in { display: flex; align-items: center; gap: 22px; min-height: 70px; }
.theme-obgon .ob-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; flex: none; }
.theme-obgon .ob-mark { display: block; color: #fff; transition: transform .3s var(--ob-ease); }
.theme-obgon .ob-logo:hover .ob-mark { transform: translateX(4px); }
.theme-obgon .ob-logo-word {
  font: italic 700 34px/1 var(--ob-disp); text-transform: uppercase; letter-spacing: .02em;
  padding-right: 4px;
}
.theme-obgon .ob-tagline {
  font: 500 12px/1.3 var(--ob-body); color: var(--ob-muted-d); max-width: 150px;
  padding-left: 16px; border-left: 1px solid var(--ob-line-d);
}
.theme-obgon .ob-nav { margin-left: auto; min-width: 0; }
.theme-obgon .ob-nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.theme-obgon .ob-nav-a {
  position: relative; isolation: isolate; display: block; padding: 10px 11px;
  font: 500 15px/1 var(--ob-disp); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  color: #D5D6DA; transition: color .15s;
}
.theme-obgon .ob-nav-a::before {
  content: ''; position: absolute; inset: 4px 2px; z-index: -1; background: var(--ob-red);
  transform: skewX(var(--ob-skew)) scaleX(0); transform-origin: left; transition: transform .25s var(--ob-ease);
}
.theme-obgon .ob-nav-a::after {
  content: ''; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; background: var(--ob-red);
  transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ob-ease);
}
.theme-obgon .ob-nav-a:hover { color: #fff; }
.theme-obgon .ob-nav-a:hover::after { transform: scaleX(1); }
.theme-obgon .ob-nav-a[aria-current='page'] { color: #fff; }
.theme-obgon .ob-nav-a[aria-current='page']::before { transform: skewX(var(--ob-skew)) scaleX(1); }
.theme-obgon .ob-nav-a[aria-current='page']::after { display: none; }
.theme-obgon .ob-search {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 8px; flex: none;
  height: 40px; padding: 0 16px; color: #fff;
  font: 500 14px/1 var(--ob-disp); letter-spacing: .08em; text-transform: uppercase;
}
.theme-obgon .ob-search::before { content: ''; position: absolute; inset: 0; z-index: -1; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); transform: skewX(var(--ob-skew)); transition: background .15s, box-shadow .15s; }
.theme-obgon .ob-search:hover::before, .theme-obgon .ob-search[aria-current='page']::before { background: var(--ob-red); box-shadow: inset 0 0 0 1.5px var(--ob-red); }

/* ливрейная полоса под шапкой: красная, тонкая, клетчатый флаг справа */
.theme-obgon .ob-livery { position: relative; height: 12px; background: var(--ob-asphalt); overflow: hidden; }
.theme-obgon .ob-livery i { position: absolute; left: 0; right: 0; display: block; }
.theme-obgon .ob-livery i:nth-child(1) { top: 0; height: 5px; background: var(--ob-red); }
.theme-obgon .ob-livery i:nth-child(2) { top: 8px; height: 2px; background: var(--ob-carbon); right: 30%; clip-path: polygon(0 0, 100% 0, calc(100% - 2px) 100%, 0 100%); }
.theme-obgon .ob-livery b {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(220px, 30vw);
  background: var(--ob-check); background-size: 12px 12px;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
}
.theme-obgon .ob-hdr::after { content: none; }

/* ---------- Заголовок секции ---------- */
.theme-obgon .ob-sh { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 28px; }
.theme-obgon .ob-sh-main { flex: 1; min-width: 0; }
.theme-obgon .ob-sh-row { display: flex; align-items: center; gap: 18px; }
.theme-obgon .ob-sh-num {
  position: relative; isolation: isolate; flex: none; margin-top: 6px;
  min-width: 52px; padding: 8px 12px 6px; text-align: center; color: #fff;
  font: italic 700 22px/1 var(--ob-disp);
}
.theme-obgon .ob-sh-num::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ob-red); transform: skewX(var(--ob-skew)); }
.theme-obgon .ob-sh-kicker {
  display: inline-block; margin-bottom: 6px;
  font: 600 12px/1 var(--ob-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ob-red-t);
}
.theme-obgon .ob-sh-title {
  font: italic 700 clamp(32px, 4vw, 54px)/.95 var(--ob-disp); text-transform: uppercase; letter-spacing: .01em;
}
.theme-obgon .ob-sh-title a { transition: color .15s; }
.theme-obgon .ob-sh-title a:hover { color: var(--ob-red); }
.theme-obgon .ob-sh-note {
  margin: 8px 0 0; font: 500 13.5px/1.35 var(--ob-body); color: var(--ob-muted);
}
.theme-obgon .ob-sh-note time { color: var(--ob-ink); font-weight: 600; }
.theme-obgon .ob-sh-note span, .theme-obgon .ob-sh-note time { white-space: nowrap; }
.theme-obgon .ob-sh-note i { font-style: normal; color: var(--ob-red); margin: 0 8px; font-weight: 700; }
.theme-obgon .ob-sh-note b { color: var(--ob-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.theme-obgon .ob-sh-title { min-width: 0; }
.theme-obgon .ob-more {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  font: 600 14px/1 var(--ob-disp); letter-spacing: .1em; text-transform: uppercase; color: var(--ob-ink);
  transition: color .15s, gap .2s var(--ob-ease);
}
.theme-obgon .ob-more:hover { color: var(--ob-red); gap: 12px; }
.theme-obgon .ob-arrows { display: flex; gap: 6px; flex: none; }
.theme-obgon .ob-arrows button {
  position: relative; isolation: isolate; width: 46px; height: 38px; display: grid; place-items: center;
  border: 0; background: none; color: #fff; cursor: pointer;
}
.theme-obgon .ob-arrows button::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ob-carbon); transform: skewX(var(--ob-skew)); transition: background .15s; }
.theme-obgon .ob-arrows button:hover:not(:disabled)::before { background: var(--ob-red); }
.theme-obgon .ob-arrows button:disabled { color: rgba(255, 255, 255, .35); cursor: default; }
.theme-obgon .ob-arrows button:disabled::before { background: #8E9095; }

.theme-obgon .ob-sec { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(24px, 3vw, 40px); }

/* ---------- Поул-позиция ---------- */
.theme-obgon .ob-pole { position: relative; max-width: 1680px; margin: 0 auto; background: var(--ob-carbon); overflow: hidden; isolation: isolate; }
.theme-obgon .ob-pole-link { display: block; position: relative; color: #fff; }
.theme-obgon .ob-pole-media { position: absolute; inset: 0; z-index: -2; }
.theme-obgon .ob-pole-media .cover { height: 100%; }
.theme-obgon .ob-pole-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(17, 18, 20, .55), transparent 45%);
}
.theme-obgon .ob-pole-in { position: relative; display: flex; min-height: clamp(500px, 42vw, 620px); }
.theme-obgon .ob-pole-panel {
  --slant: 170px;
  position: relative; z-index: 1; width: min(800px, 66%);
  padding: clamp(40px, 5vw, 64px) calc(var(--slant) + 10px) clamp(36px, 4vw, 52px) 0;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.theme-obgon .ob-pole-panel::before,
.theme-obgon .ob-pole-panel::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -100vw;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
}
.theme-obgon .ob-pole-panel::before { right: 0; z-index: -1; background: linear-gradient(100deg, #111214 55%, #1C1D21); }
.theme-obgon .ob-pole-panel::after { right: -26px; z-index: -2; background: var(--ob-red); }
.theme-obgon .ob-pole-line {
  /* тонкая белая «ливрея» параллельно срезу */
  position: absolute; top: 0; bottom: 0; left: -100vw; right: -44px; z-index: -3; pointer-events: none;
  background: rgba(255, 255, 255, .85);
  clip-path: polygon(calc(100% - 5px) 0, 100% 0, calc(100% - var(--slant)) 100%, calc(100% - var(--slant) - 5px) 100%);
}
.theme-obgon .ob-pole-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 22px; }
.theme-obgon .ob-pos {
  display: inline-grid; place-items: center; min-width: 42px; height: 30px; padding: 0 8px;
  background: #fff; color: var(--ob-carbon); font: italic 700 18px/1 var(--ob-disp);
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.theme-obgon .ob-pole-top .ob-plate { font-size: 13px; padding: 7px 14px 6px; }
.theme-obgon .ob-pole-label { font: 600 12px/1 var(--ob-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ob-muted-d); }
.theme-obgon .ob-pole-title {
  font: italic 700 clamp(36px, 4.4vw, 66px)/.98 var(--ob-disp); text-transform: uppercase; letter-spacing: .005em;
  color: #fff; text-wrap: balance;
}
.theme-obgon .ob-pole-link:hover .ob-pole-title { color: #fff; }
.theme-obgon .ob-pole-lead {
  margin: 20px 0 0; max-width: 54ch; font: 400 clamp(16px, 1.25vw, 18.5px)/1.55 var(--ob-body); color: rgba(255, 255, 255, .78);
}
.theme-obgon .ob-pole-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-top: 28px; }
.theme-obgon .ob-pole .ob-meta { color: rgba(255, 255, 255, .66); font-size: 13.5px; }
.theme-obgon .ob-pole .ob-meta time { color: #fff; }
.theme-obgon .ob-go {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; font: 600 14px/1 var(--ob-disp); letter-spacing: .12em; text-transform: uppercase; color: #fff;
}
.theme-obgon .ob-go::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ob-red); transform: skewX(var(--ob-skew)); transition: background .2s; }
.theme-obgon .ob-go svg { transition: transform .25s var(--ob-ease); }
.theme-obgon .ob-pole-link:hover .ob-go svg { transform: translateX(5px); }
.theme-obgon .ob-pole-link:hover .ob-go::before { background: #fff; }
.theme-obgon .ob-pole-link:hover .ob-go { color: var(--ob-carbon); }
.theme-obgon .ob-pole-link:hover .cover img { transform: scale(1.03); }

/* ---------- Пит-лейн ---------- */
.theme-obgon .ob-pit {
  position: relative; padding: clamp(40px, 5vw, 64px) 0 clamp(28px, 3vw, 40px);
  background: var(--ob-asphalt2);
  border-bottom: 3px solid #fff;
}
.theme-obgon .ob-pit::after {
  /* прерывистая разметка пит-лейна */
  content: ''; position: absolute; left: 0; right: 0; bottom: 12px; height: 3px;
  background: repeating-linear-gradient(90deg, #fff 0 34px, transparent 34px 58px);
}
.theme-obgon .ob-pit-track {
  --pad: max(var(--gap), calc((100% - var(--wrap)) / 2 + var(--gap)));
  list-style: none; margin: 0; display: flex; gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 4px var(--pad) 34px; scroll-padding-inline: var(--pad);
  scrollbar-width: none;
}
.theme-obgon .ob-pit-track::-webkit-scrollbar { display: none; }
.theme-obgon .ob-pit-track > li { flex: 0 0 clamp(250px, 22vw, 292px); scroll-snap-align: start; display: flex; }
.theme-obgon .ob-pc {
  position: relative; display: flex; flex-direction: column; gap: 12px; width: 100%;
  padding: 14px 14px 16px; background: var(--ob-paper);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  transition: background .2s;
}
.theme-obgon .ob-pc::before {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--ob-red);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ob-ease);
}
.theme-obgon .ob-pc:hover { background: #fff; }
.theme-obgon .ob-pc:hover::before { transform: scaleX(1); }
.theme-obgon .ob-pc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 500 12.5px/1 var(--ob-body); color: var(--ob-muted); }
.theme-obgon .ob-pc-top time { color: var(--ob-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.theme-obgon .ob-pc-top time::before { content: ''; width: 7px; height: 7px; background: var(--ob-red); transform: skewX(var(--ob-skew)); }
.theme-obgon .ob-pc-box { font: 600 11.5px/1 var(--ob-disp); letter-spacing: .14em; text-transform: uppercase; color: var(--ob-muted); }
.theme-obgon .ob-pc-media { position: relative; }
.theme-obgon .ob-pc-media .ob-plate { position: absolute; left: 8px; bottom: -11px; }
.theme-obgon .ob-pc-title {
  margin-top: 6px; font: 600 19px/1.12 var(--ob-disp); text-transform: uppercase; letter-spacing: .01em;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .15s;
}
.theme-obgon .ob-pc .ob-meta { margin-top: auto; }
.theme-obgon .ob-pc:hover .ob-pc-title { color: var(--ob-red-t); }
.theme-obgon a:hover .cover img { transform: scale(1.04); }

/* ---------- Стартовая решётка ---------- */
.theme-obgon .ob-gridsec {
  position: relative; color: #fff; background: #0C0D0E;
  padding: clamp(64px, 7vw, 100px) 0 calc(clamp(56px, 6vw, 90px) + 100px);
  clip-path: polygon(0 0, 100% 40px, 100% 100%, 0 calc(100% - 40px));
  margin-top: -1px;
}
.theme-obgon .ob-gridsec::before {
  /* тонкая фактура асфальта: едва заметные диагональные полосы */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 9px);
}
.theme-obgon .ob-gridsec .ob-sh-note { color: var(--ob-muted-d); }
.theme-obgon .ob-gridsec .ob-sh { margin-bottom: 48px; }
.theme-obgon .ob-grid { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 64px; }
.theme-obgon .ob-slot { position: relative; padding: 22px 0 0 92px; }
.theme-obgon .ob-slot:nth-child(even) { top: 100px; }
.theme-obgon .ob-slot::before {
  /* разметка стартового бокса: передняя линия и «усы» */
  content: ''; position: absolute; left: 80px; right: 0; top: 0; height: 30px;
  border: 3px solid rgba(255, 255, 255, .82); border-bottom: 0;
}
.theme-obgon .ob-slot-n {
  position: absolute; left: 0; top: -6px; font: italic 700 66px/1 var(--ob-disp);
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .55);
  transition: color .2s, -webkit-text-stroke-color .2s;
}
.theme-obgon .ob-slot:first-child .ob-slot-n { color: var(--ob-red); -webkit-text-stroke-color: var(--ob-red); }
.theme-obgon .ob-slot:hover .ob-slot-n { -webkit-text-stroke-color: #fff; }
.theme-obgon .ob-gc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: start; padding: 0 16px 0 18px; }
.theme-obgon .ob-gc-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.theme-obgon .ob-gc-cat { font: 600 11.5px/1 var(--ob-body); letter-spacing: .14em; text-transform: uppercase; color: #FF5A4F; }
.theme-obgon .ob-gc-title { font: 600 clamp(18px, 1.55vw, 22px)/1.1 var(--ob-disp); text-transform: uppercase; transition: color .15s; }
.theme-obgon .ob-gc:hover .ob-gc-title { color: #FF5A4F; }
.theme-obgon .ob-gridsec .ob-meta { color: var(--ob-muted-d); }
.theme-obgon .ob-gridsec .ob-meta time { color: #fff; }

/* ---------- Табло ---------- */
.theme-obgon .ob-towersec { padding-top: clamp(48px, 6vw, 84px); }
.theme-obgon .ob-tower-wrap { display: grid; gap: 32px; }
.theme-obgon .ob-tower-wrap.has-radio { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
.theme-obgon .ob-boards { display: grid; gap: 24px; }
.theme-obgon .ob-boards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.theme-obgon .ob-tower {
  background: var(--ob-carbon); color: #fff; padding: 4px 0 18px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  border-top: 5px solid var(--ob-red);
}
.theme-obgon .ob-tower-head, .theme-obgon .ob-tr { display: grid; grid-template-columns: 50px 52px minmax(0, 1fr) 76px; gap: 12px; align-items: center; }
.theme-obgon .ob-tower-head {
  padding: 12px 18px 10px; border-bottom: 1px solid var(--ob-line-d);
  font: 600 10.5px/1 var(--ob-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ob-muted-d);
}
.theme-obgon .ob-tower-head span:last-child { text-align: right; }
.theme-obgon .ob-tower-list { list-style: none; margin: 0; padding: 0; }
.theme-obgon .ob-tr { position: relative; padding: 12px 18px; border-bottom: 1px solid rgba(255, 255, 255, .06); transition: background .15s; }
.theme-obgon .ob-tower-list li:last-child .ob-tr { border-bottom: 0; }
.theme-obgon .ob-tr::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; background: var(--ob-red); transform: scaleY(0); transition: transform .2s var(--ob-ease); }
.theme-obgon .ob-tr:hover { background: rgba(255, 255, 255, .05); }
.theme-obgon .ob-tr:hover::before { transform: scaleY(1); }
.theme-obgon .ob-tr-pos {
  display: grid; place-items: center; width: 40px; height: 30px; background: #fff; color: var(--ob-carbon);
  font: italic 700 17px/1 var(--ob-disp); font-variant-numeric: tabular-nums;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.theme-obgon .ob-tr[data-pos='1'] .ob-tr-pos { background: var(--ob-red); color: #fff; }
.theme-obgon .ob-tr-code {
  position: relative; padding-left: 10px; font: 600 15px/1 var(--ob-disp); letter-spacing: .08em; color: #E6E7EA;
}
.theme-obgon .ob-tr-code::before { content: ''; position: absolute; left: 0; top: -2px; bottom: -2px; width: 3px; background: var(--ob-muted-d); }
.theme-obgon .ob-tr[data-pos='1'] .ob-tr-code::before, .theme-obgon .ob-tr[data-pos='2'] .ob-tr-code::before, .theme-obgon .ob-tr[data-pos='3'] .ob-tr-code::before { background: var(--ob-red); }
.theme-obgon .ob-tr-title {
  font: 500 15px/1.32 var(--ob-body); text-transform: none; letter-spacing: 0; color: #F2F2F0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.theme-obgon .ob-tr-gap { text-align: right; font: 500 16px/1 var(--ob-disp); font-variant-numeric: tabular-nums; color: #fff; white-space: nowrap; }
.theme-obgon .ob-tr:hover .ob-tr-gap { color: #FF5A4F; }

.theme-obgon .ob-radio { background: #fff; padding: 22px 22px 8px; position: relative; clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%); }
.theme-obgon .ob-radio-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 3px solid var(--ob-carbon); color: var(--ob-red); }
.theme-obgon .ob-radio-head h2 { font: italic 700 24px/1 var(--ob-disp); text-transform: uppercase; color: var(--ob-ink); }
.theme-obgon .ob-radio-head span { margin-left: auto; font: 600 11px/1 var(--ob-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ob-muted); }
.theme-obgon .ob-radio ul { list-style: none; margin: 0; padding: 0; }
.theme-obgon .ob-radio li + li { border-top: 1px solid var(--ob-line); }
.theme-obgon .ob-rd { display: grid; gap: 6px; padding: 14px 0; }
.theme-obgon .ob-rd-n { font: 600 12px/1 var(--ob-body); color: var(--ob-red-t); letter-spacing: .04em; }
.theme-obgon .ob-rd-n b { font: italic 700 18px/1 var(--ob-disp); margin-right: 2px; }
.theme-obgon .ob-rd-title { font: 600 17px/1.15 var(--ob-disp); text-transform: uppercase; transition: color .15s; }
.theme-obgon .ob-rd:hover .ob-rd-title { color: var(--ob-red-t); }
.theme-obgon .ob-rd-cat { font: 500 12px/1 var(--ob-body); color: var(--ob-muted); }

/* ---------- Секторы-рубрики ---------- */
.theme-obgon .ob-sector { padding: clamp(44px, 5vw, 72px) 0 clamp(20px, 2vw, 28px); }
.theme-obgon .ob-sec-a { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
.theme-obgon .ob-big { display: flex; flex-direction: column; gap: 14px; }
.theme-obgon .ob-big-media { position: relative; margin-bottom: 8px; }
.theme-obgon .ob-big-media .ob-plate { position: absolute; left: 14px; top: 14px; font-family: var(--ob-body); font-weight: 600; letter-spacing: .04em; text-transform: none; font-size: 12.5px; }
.theme-obgon .ob-big-title { font: italic 700 clamp(26px, 2.6vw, 38px)/1.02 var(--ob-disp); text-transform: uppercase; transition: color .15s; }
.theme-obgon .ob-big:hover .ob-big-title { color: var(--ob-red-t); }
.theme-obgon .ob-big-lead { margin: 0; font: 400 16.5px/1.55 var(--ob-body); color: var(--ob-text2); max-width: 62ch; }
.theme-obgon .ob-sec-list { display: grid; border-top: 3px solid var(--ob-carbon); }
.theme-obgon .ob-row { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--ob-line); align-items: start; }
.theme-obgon .ob-row-body { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.theme-obgon .ob-row-title { font: 600 18.5px/1.12 var(--ob-disp); text-transform: uppercase; transition: color .15s; }
.theme-obgon .ob-row:hover .ob-row-title { color: var(--ob-red-t); }
.theme-obgon .ob-sec-b { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 26px; }
.theme-obgon .ob-sec-b[data-n='2'] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.theme-obgon .ob-sec-b[data-n='3'] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.theme-obgon .ob-card { display: flex; flex-direction: column; gap: 12px; }
.theme-obgon .ob-card-media { position: relative; margin-bottom: 4px; }
.theme-obgon .ob-card-media::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--ob-red);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ob-ease);
}
.theme-obgon .ob-card:hover .ob-card-media::after { transform: scaleX(1); }
.theme-obgon .ob-card-media .ob-plate { position: absolute; left: 10px; bottom: -11px; }
.theme-obgon .ob-card-title { font: 600 20px/1.1 var(--ob-disp); text-transform: uppercase; transition: color .15s; }
.theme-obgon .ob-card:hover .ob-card-title { color: var(--ob-red-t); }

/* тёмный сектор (автоспорт) */
.theme-obgon .ob-sector--dark {
  position: relative; margin: 36px 0 12px; color: #fff; background: var(--ob-carbon);
  padding: clamp(64px, 7vw, 96px) 0 clamp(56px, 6vw, 84px);
  clip-path: polygon(0 32px, 100% 0, 100% calc(100% - 32px), 0 100%);
}
.theme-obgon .ob-sector--dark::after {
  content: ''; position: absolute; right: 0; top: 0; width: min(280px, 34vw); height: 64px;
  background: var(--ob-check); opacity: .9;
  clip-path: polygon(0 32px, 100% 0, 100% 100%, 24px 100%);
  -webkit-mask: linear-gradient(90deg, transparent, #000 60%); mask: linear-gradient(90deg, transparent, #000 60%);
}
.theme-obgon .ob-sector--dark .ob-sh-kicker { color: #FF5A4F; }
.theme-obgon .ob-sector--dark .ob-sh-title a:hover, .theme-obgon .ob-sector--dark .ob-more:hover { color: #FF5A4F; }
.theme-obgon .ob-sector--dark .ob-more { color: #fff; }
.theme-obgon .ob-sector--dark .ob-meta { color: var(--ob-muted-d); }
.theme-obgon .ob-sector--dark .ob-meta time { color: #fff; }
.theme-obgon .ob-sector--dark .ob-big-lead { color: #C9CBD0; }
.theme-obgon .ob-sector--dark .ob-sec-list { border-top-color: var(--ob-red); }
.theme-obgon .ob-sector--dark .ob-row { border-bottom-color: var(--ob-line-d); }
.theme-obgon .ob-sector--dark .ob-big:hover .ob-big-title,
.theme-obgon .ob-sector--dark .ob-row:hover .ob-row-title,
.theme-obgon .ob-sector--dark .ob-card:hover .ob-card-title { color: #FF5A4F; }
.theme-obgon .ob-sector--dark .ob-big-media .ob-plate::before { background: var(--ob-red); }
.theme-obgon .ob-sector--dark + .ob-sector { padding-top: clamp(32px, 4vw, 56px); }

/* ---------- Финишная прямая ---------- */
.theme-obgon .ob-finish-wrap { padding-top: clamp(48px, 6vw, 88px); }
.theme-obgon .ob-finish {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px 48px; align-items: center;
  padding: clamp(32px, 4vw, 56px) clamp(28px, 5vw, 72px); color: #fff; background: var(--ob-red);
  clip-path: polygon(28px 0, 100% 0, calc(100% - 28px) 100%, 0 100%);
  overflow: hidden; isolation: isolate;
}
.theme-obgon .ob-finish::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .07) 0 40px, transparent 40px 120px);
}
.theme-obgon .ob-finish-k { font: 600 12px/1 var(--ob-body); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.theme-obgon .ob-finish h2 { margin: 10px 0 12px; font: italic 700 clamp(32px, 4.2vw, 58px)/.95 var(--ob-disp); text-transform: uppercase; }
.theme-obgon .ob-finish p { margin: 0; max-width: 56ch; font-size: 16.5px; line-height: 1.55; color: rgba(255, 255, 255, .9); }
.theme-obgon .ob-finish-act { display: flex; flex-wrap: wrap; gap: 12px 16px; justify-content: flex-end; }
.theme-obgon .ob-finish .btn.ob-btn-w { color: var(--ob-carbon); }
.theme-obgon .ob-finish .btn.ob-btn-w::before { background: #fff; }
.theme-obgon .ob-finish .btn.ob-btn-w:hover { color: #fff; }
.theme-obgon .ob-finish .btn.ob-btn-w:hover::before { background: var(--ob-carbon); }
.theme-obgon .ob-finish .btn.ghost { color: #fff; }
.theme-obgon .ob-finish .btn.ghost:hover::before { background: var(--ob-carbon); box-shadow: inset 0 0 0 2px var(--ob-carbon); }
.theme-obgon .ob-finish :focus-visible { outline-color: #fff; }

/* ---------- Подвал ---------- */
.theme-obgon .ob-foot { position: relative; margin-top: clamp(56px, 7vw, 100px); background: var(--ob-carbon); color: #BFC1C6; overflow: hidden; font-size: 14.5px; }
.theme-obgon .ob-foot-flag { height: 24px; background: var(--ob-check); background-size: 24px 24px; }
.theme-obgon .ob-foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.3fr); gap: 40px; padding: 56px 0 40px; }
.theme-obgon .ob-foot-brand p { margin: 0; max-width: 40ch; line-height: 1.6; }
.theme-obgon .ob-foot-brand .ob-foot-tag { margin: 16px 0 10px; font: italic 600 18px/1.2 var(--ob-disp); text-transform: uppercase; color: #fff; letter-spacing: .02em; }
.theme-obgon .ob-foot-h { margin: 6px 0 16px; font: 600 11.5px/1 var(--ob-body); letter-spacing: .18em; text-transform: uppercase; color: var(--ob-red); }
.theme-obgon .ob-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.theme-obgon .ob-foot a { transition: color .15s; }
.theme-obgon .ob-foot a:hover { color: #fff; }
.theme-obgon .ob-foot-sec a { display: inline-flex; align-items: baseline; gap: 10px; font: 500 16px/1.1 var(--ob-disp); text-transform: uppercase; letter-spacing: .05em; color: #E6E7EA; }
.theme-obgon .ob-foot-sec a span { font: 500 11px/1 var(--ob-body); letter-spacing: .08em; color: var(--ob-muted-d); min-width: 26px; }
.theme-obgon .ob-foot-sec a:hover { color: var(--ob-red); }
.theme-obgon .ob-foot-net { grid-template-columns: 1fr 1fr; gap: 8px 18px !important; font-size: 13.5px; }
.theme-obgon .ob-foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  padding: 20px 0 22px; border-top: 1px solid var(--ob-line-d); font-size: 12.5px; color: var(--ob-muted-d);
}
.theme-obgon .ob-foot-chk { font: 500 12px/1.4 var(--ob-disp); letter-spacing: .14em; text-transform: uppercase; }
.theme-obgon .ob-foot-word {
  font: italic 700 clamp(96px, 21vw, 330px)/.78 var(--ob-disp); text-transform: uppercase; letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .13);
  white-space: nowrap; text-align: center; margin-bottom: -.06em; user-select: none; pointer-events: none;
}

/* =====================================================================
   Общие страницы: статья, рубрика, поиск, «О проекте», комментарии
   ===================================================================== */
.theme-obgon .progress { height: 4px; background: var(--ob-red); z-index: 100; }

.theme-obgon .breadcrumbs {
  gap: 10px; font: 600 11.5px/1.3 var(--ob-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ob-muted);
}
.theme-obgon .breadcrumbs span { color: var(--ob-red); }
.theme-obgon .breadcrumbs > span:last-child { color: var(--ob-ink); }
.theme-obgon .breadcrumbs a:hover { color: var(--ob-red-t); }
.theme-obgon .article > .breadcrumbs { max-width: calc(1080px + 2 * var(--gap)); padding-top: 30px; }

/* шапка статьи */
.theme-obgon .ob-ah { max-width: calc(1080px + 2 * var(--gap)); margin: 0 auto; padding: 22px var(--gap) 0; }
.theme-obgon .ob-ah-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 22px; }
.theme-obgon .ob-ah-top .ob-plate { font-size: 13px; padding: 7px 15px 6px; }
.theme-obgon .ob-ah-sector { font: 600 11.5px/1 var(--ob-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ob-muted); display: inline-flex; align-items: center; gap: 10px; }
.theme-obgon .ob-ah-sector::before { content: ''; width: 46px; height: 6px; background: repeating-linear-gradient(115deg, var(--ob-red) 0 7px, transparent 7px 13px); }
.theme-obgon .ob-ah-title {
  font: italic 700 clamp(36px, 5.4vw, 74px)/.97 var(--ob-disp); text-transform: uppercase; letter-spacing: .005em;
  max-width: 1040px;
}
.theme-obgon .ob-ah-lead {
  position: relative; margin: 26px 0 0; padding-left: 26px; max-width: 760px;
  font: 400 clamp(18px, 1.55vw, 21px)/1.5 var(--ob-body); color: var(--ob-text2);
}
.theme-obgon .ob-ah-lead::before { content: ''; position: absolute; left: 4px; top: .2em; height: 1.15em; width: 6px; background: var(--ob-red); transform: skewX(var(--ob-skew)); }
.theme-obgon .ob-tele {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 32px;
  margin-top: 30px; padding: 16px 28px 16px 22px; background: var(--ob-carbon); color: #fff;
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
}
.theme-obgon .ob-tele-who { display: flex; align-items: center; gap: 14px; }
.theme-obgon .ob-tele-who b { display: block; font: 600 16px/1.2 var(--ob-body); }
.theme-obgon .ob-tele-who span:not(.avatar) { display: block; font-size: 13px; color: var(--ob-muted-d); }
.theme-obgon .ob-tele .avatar { border-radius: 0; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.theme-obgon .ob-tele-stats { display: flex; flex-wrap: wrap; margin: 0; }
.theme-obgon .ob-tele-stats > div { position: relative; padding: 2px 22px; }
.theme-obgon .ob-tele-stats > div + div::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; background: rgba(255, 255, 255, .2); transform: skewX(var(--ob-skew)); }
.theme-obgon .ob-tele-stats dt { font: 600 10.5px/1 var(--ob-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ob-muted-d); margin-bottom: 7px; }
.theme-obgon .ob-tele-stats dd { margin: 0; font: 500 19px/1 var(--ob-disp); font-variant-numeric: tabular-nums; letter-spacing: .02em; white-space: nowrap; }
.theme-obgon .ob-tele-stats dd a { color: #FF5A4F; }
.theme-obgon .ob-tele-stats dd a:hover { color: #fff; }
.theme-obgon .ob-recipe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; }
.theme-obgon .ob-recipe > div { background: #fff; padding: 14px 18px; border-left: 5px solid var(--ob-red); }
.theme-obgon .ob-recipe dt { font: 600 11px/1 var(--ob-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ob-muted); }
.theme-obgon .ob-recipe dd { margin: 8px 0 0; font: italic 700 24px/1 var(--ob-disp); text-transform: uppercase; }

.theme-obgon .ob-ah-cover { max-width: calc(1080px + 2 * var(--gap)); margin: 32px auto clamp(32px, 4vw, 52px); padding: 0 var(--gap); }
.theme-obgon .ob-ah-frame { position: relative; }
.theme-obgon .ob-ah-frame .cover { clip-path: polygon(0 0, calc(100% - 56px) 0, 100% 56px, 100% 100%, 56px 100%, 0 calc(100% - 56px)); }
.theme-obgon .ob-ah-frame::before, .theme-obgon .ob-ah-frame::after { content: ''; position: absolute; width: 56px; height: 56px; background: var(--ob-red); pointer-events: none; }
.theme-obgon .ob-ah-frame::before { top: 0; right: 0; clip-path: polygon(calc(100% - 40px) 0, calc(100% - 28px) 0, 100% 28px, 100% 40px); }
.theme-obgon .ob-ah-frame::after { bottom: 0; left: 0; clip-path: polygon(0 calc(100% - 40px), 40px 100%, 28px 100%, 0 calc(100% - 28px)); background: var(--ob-carbon); }

/* текст статьи */
.theme-obgon .article-body { --narrow: 740px; }
.theme-obgon .prose { font-family: var(--ob-body); font-size: clamp(17.5px, 1.3vw, 19px); line-height: 1.75; color: #1D1E21; }
.theme-obgon .prose:not(.prose-cont) > p:first-child { font-size: 1.08em; }
.theme-obgon .prose:not(.prose-cont) > p:first-child::first-letter {
  float: left; margin: .06em .12em 0 0; padding: 0 .06em; font: italic 700 4.1em/.82 var(--ob-disp); color: var(--ob-red); text-transform: uppercase;
}
.theme-obgon .prose strong { color: var(--ob-ink); }
.theme-obgon .prose a { color: var(--ob-red-t); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: rgba(225, 6, 0, .35); text-underline-offset: 4px; transition: text-decoration-color .15s; }
.theme-obgon .prose a:hover { text-decoration-color: var(--ob-red); }
.theme-obgon .prose > h2 {
  position: relative; margin-top: 2em; padding-left: 30px;
  font: italic 700 clamp(26px, 2.5vw, 34px)/1.04 var(--ob-disp); text-transform: uppercase;
}
.theme-obgon .prose > h2::before { content: ''; position: absolute; left: 3px; top: .1em; bottom: .12em; width: 12px; background: var(--ob-red); transform: skewX(var(--ob-skew)); }
.theme-obgon .prose > h3 { margin-top: 1.6em; font: 600 22px/1.15 var(--ob-disp); text-transform: uppercase; letter-spacing: .02em; }
.theme-obgon .prose ul { list-style: none; padding-left: 0; }
.theme-obgon .prose ul > li { position: relative; padding-left: 28px; }
.theme-obgon .prose ul > li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 12px; height: 6px; background: var(--ob-red); transform: skewX(var(--ob-skew)); }
.theme-obgon .prose ol { list-style: none; padding-left: 0; counter-reset: ob-ol; }
.theme-obgon .prose ol > li { position: relative; padding-left: 44px; counter-increment: ob-ol; }
.theme-obgon .prose ol > li::before { content: counter(ob-ol, decimal-leading-zero); position: absolute; left: 0; top: .1em; font: italic 700 20px/1.3 var(--ob-disp); color: var(--ob-red); }
.theme-obgon .prose > blockquote {
  position: relative; margin: 2em 0; padding: 26px 30px 26px 74px; border: 0; background: #fff;
  font: italic 500 1.32em/1.35 var(--ob-disp); text-transform: none; letter-spacing: .005em; color: var(--ob-ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}
.theme-obgon .prose > blockquote::before { content: ''; position: absolute; left: 26px; top: 26px; bottom: 26px; width: 10px; background: var(--ob-red); transform: skewX(var(--ob-skew)); box-shadow: 16px 0 0 -2px var(--ob-carbon); }
.theme-obgon .prose blockquote p + p { margin-top: .7em; }
.theme-obgon .prose hr { height: 8px; border: 0; margin: 2.6em 0; background: repeating-linear-gradient(115deg, var(--ob-red) 0 12px, transparent 12px 24px); }
.theme-obgon .prose table { font-size: .88em; background: #fff; }
.theme-obgon .prose th { font: 600 12px/1.2 var(--ob-body); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--ob-carbon); }
.theme-obgon .prose th, .theme-obgon .prose td { padding: 11px 14px; border-bottom: 1px solid var(--ob-line); }
.theme-obgon .prose img { max-width: 100%; height: auto; }
.theme-obgon .prose code { font-size: .88em; padding: 2px 6px; background: var(--ob-asphalt2); }

.theme-obgon .inline-read {
  position: relative; margin: 2.2em 0; padding: 22px 26px 24px; border: 0; border-radius: 0; background: var(--ob-carbon); color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}
.theme-obgon .inline-read-label { justify-self: start; position: relative; isolation: isolate; padding: 4px 10px 3px; font: 600 11.5px/1.2 var(--ob-disp); letter-spacing: .14em; color: #fff; }
.theme-obgon .inline-read-label::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ob-red); transform: skewX(var(--ob-skew)); }
.theme-obgon .inline-read a { margin-top: 6px; font: 600 clamp(19px, 1.6vw, 23px)/1.12 var(--ob-disp); text-transform: uppercase; color: #fff; }
.theme-obgon .inline-read a::after { content: ' →'; color: var(--ob-red); }
.theme-obgon .inline-read a:hover { color: #FF5A4F; }

.theme-obgon .source-note { font-size: 13.5px; color: var(--ob-muted); }
.theme-obgon .tags { gap: 10px 12px; }
.theme-obgon .tag {
  position: relative; isolation: isolate; padding: 7px 14px 6px; border-radius: 0; background: none; color: var(--ob-ink);
  font: 500 13px/1 var(--ob-disp); letter-spacing: .06em; text-transform: uppercase;
}
.theme-obgon .tag::before { content: ''; position: absolute; inset: 0; z-index: -1; box-shadow: inset 0 0 0 1.5px var(--ob-line); background: #fff; transform: skewX(var(--ob-skew)); transition: background .15s, box-shadow .15s; }
.theme-obgon .tag:hover { background: none; color: #fff; }
.theme-obgon .tag:hover::before { background: var(--ob-red); box-shadow: inset 0 0 0 1.5px var(--ob-red); }
.theme-obgon .share { gap: 8px; font: 600 11.5px/1 var(--ob-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ob-muted); }
.theme-obgon .share > span { margin-right: 8px; }
.theme-obgon .share a, .theme-obgon .share button {
  width: 44px; height: 36px; border-radius: 0; background: var(--ob-carbon); color: #fff;
  font: 600 13px/1 var(--ob-disp); letter-spacing: .04em;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); transition: background .15s;
}
.theme-obgon .share a:hover, .theme-obgon .share button:hover { background: var(--ob-red); color: #fff; }
.theme-obgon .inline-cta {
  position: relative; margin-top: 44px; padding: 24px 150px 24px 26px; border-radius: 0; background: var(--ob-carbon); color: #fff; box-shadow: none;
  clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
}
.theme-obgon .inline-cta::after {
  content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 120px; background: var(--ob-check);
  clip-path: polygon(30px 0, 100% 0, calc(100% - 20px) 100%, 10px 100%); opacity: .95;
}
.theme-obgon .inline-cta b { font: italic 700 22px/1.1 var(--ob-disp); text-transform: uppercase; }
.theme-obgon .inline-cta .muted { color: var(--ob-muted-d); font-size: 14.5px; margin-top: 4px; }
.theme-obgon .inline-cta :focus-visible { outline-color: #fff; }

/* комментарии */
.theme-obgon .comments { border-top: 0; padding-top: 0; position: relative; }
.theme-obgon .comments::before { content: ''; display: block; height: 8px; margin-bottom: 30px; background: repeating-linear-gradient(115deg, var(--ob-carbon) 0 12px, transparent 12px 24px); opacity: .9; }
.theme-obgon .comments h2 { font: italic 700 clamp(28px, 3vw, 38px)/1 var(--ob-disp); text-transform: uppercase; }
.theme-obgon .comments h2 small { font: 600 16px/1 var(--ob-disp); color: var(--ob-red-t); letter-spacing: .04em; }
.theme-obgon .c-form { border-radius: 0; background: #fff; box-shadow: none; padding: 20px; border-top: 4px solid var(--ob-carbon); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); }
.theme-obgon .c-form input, .theme-obgon .c-form textarea { border-radius: 0; border: 1.5px solid var(--ob-line); background: var(--ob-paper); font-family: var(--ob-body); }
.theme-obgon .c-form input:focus, .theme-obgon .c-form textarea:focus { outline: none; border-color: var(--ob-carbon); background: #fff; }
.theme-obgon .c-form .btn { margin-right: 8px; }
.theme-obgon .c-item .avatar { border-radius: 0; clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }
.theme-obgon .c-head b { font-weight: 700; }
.theme-obgon .c-badge { position: relative; isolation: isolate; border-radius: 0; background: none; padding: 3px 9px 2px; font: 600 10.5px/1.2 var(--ob-disp); letter-spacing: .12em; text-transform: uppercase; }
.theme-obgon .c-badge::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ob-red); transform: skewX(var(--ob-skew)); }
.theme-obgon .c-actions button:hover, .theme-obgon .c-actions button.liked { color: var(--ob-red-t); }
.theme-obgon .c-replies { border-left: 3px solid var(--ob-red); }

/* «Читайте также» */
.theme-obgon .related { padding-top: clamp(40px, 5vw, 64px); }
.theme-obgon .section-head { align-items: flex-end; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 26px; padding-bottom: 14px; border-bottom: 3px solid var(--ob-carbon); }
.theme-obgon .section-head h2 { font: italic 700 clamp(30px, 3.6vw, 48px)/.95 var(--ob-disp); text-transform: uppercase; }
.theme-obgon .section-head a { font: 600 13.5px/1.2 var(--ob-disp); letter-spacing: .08em; text-transform: uppercase; color: var(--ob-red-t); white-space: normal; }
.theme-obgon .section-head a:hover { color: var(--ob-ink); }
.theme-obgon .related-grid { gap: 30px 26px; }
.theme-obgon .related-card { gap: 12px; }
.theme-obgon .related-card .cover { border-radius: 0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%); }
.theme-obgon .related-card .kicker { font: 600 11.5px/1 var(--ob-body); letter-spacing: .14em; color: var(--ob-red-t); }
.theme-obgon .related-card h3 { font: 600 19px/1.12 var(--ob-disp); text-transform: uppercase; transition: color .15s; }
.theme-obgon .related-card:hover h3 { color: var(--ob-red-t); }

/* рецепт (на случай кулинарных материалов) */
.theme-obgon .recipe-card { border-radius: 0; background: #fff; box-shadow: none; border-top: 5px solid var(--ob-red); }
.theme-obgon .recipe-card h2 { font: italic 700 34px/1 var(--ob-disp); text-transform: uppercase; }
.theme-obgon .recipe-cols h3 { font-family: var(--ob-body); }
.theme-obgon .steps li::before { border-radius: 0; clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); font-family: var(--ob-disp); font-style: italic; }

/* листинги: рубрика и поиск */
.theme-obgon .listing { padding-bottom: 20px; }
.theme-obgon .page-head { position: relative; border-bottom: 0; padding: clamp(28px, 4vw, 52px) 0 26px; margin-bottom: 8px; }
.theme-obgon .page-head::after { content: ''; display: block; height: 10px; margin-top: 26px; background: linear-gradient(90deg, var(--ob-red) 0 62%, transparent 62% 63.2%, var(--ob-carbon) 63.2% 100%); clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.theme-obgon .page-head .kicker {
  position: relative; isolation: isolate; display: inline-block; padding: 5px 12px 4px; margin-bottom: 14px;
  font: 600 12px/1.1 var(--ob-disp); letter-spacing: .14em; color: #fff;
}
.theme-obgon .page-head .kicker::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ob-red); transform: skewX(var(--ob-skew)); }
.theme-obgon .page-head h1 { font: italic 700 clamp(48px, 8vw, 112px)/.9 var(--ob-disp); text-transform: uppercase; letter-spacing: 0; }
.theme-obgon .page-head p { margin-top: 14px; font-size: 15px; color: var(--ob-muted); }
.theme-obgon .listing .list-row { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--ob-line); }
.theme-obgon .listing .list-row .cover { border-radius: 0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.theme-obgon .list-row .meta { font: 500 12.5px/1.3 var(--ob-body); color: var(--ob-muted); gap: 8px 12px; }
.theme-obgon .list-row .meta time { color: var(--ob-ink); font-weight: 600; }
.theme-obgon .list-row .meta .dot { width: 8px; height: 4px; border-radius: 0; background: var(--ob-red); transform: skewX(var(--ob-skew)); opacity: 1; }
.theme-obgon .list-row h2 { margin: 12px 0 12px; font: 600 clamp(22px, 2.3vw, 32px)/1.06 var(--ob-disp); text-transform: uppercase; transition: color .15s; }
.theme-obgon .list-row:hover h2 { color: var(--ob-red-t); }
.theme-obgon .list-row p { font-size: 16px; line-height: 1.55; color: var(--ob-text2); }
.theme-obgon .pager { align-items: center; gap: 18px; margin-top: 40px; font: 600 13px/1 var(--ob-disp); letter-spacing: .1em; text-transform: uppercase; }
.theme-obgon .search-form { gap: 12px; }
.theme-obgon .search-form input { border-radius: 0; border: 2px solid var(--ob-carbon); background: #fff; font-family: var(--ob-body); font-size: 17px; padding: 13px 16px; }
.theme-obgon .search-form input:focus { outline: none; border-color: var(--ob-red); }
.theme-obgon .about-authors .author b { font-weight: 700; }
.theme-obgon main.narrow > .prose { padding-bottom: 12px; }

/* =====================================================================
   Адаптив
   ===================================================================== */
@media (max-width: 1360px) {
  .theme-obgon .ob-search-t { display: none; }
  .theme-obgon .ob-search { width: 46px; padding: 0; justify-content: center; }
}
@media (max-width: 1240px) {
  .theme-obgon .ob-tagline { display: none; }
}
@media (max-width: 1100px) {
  .theme-obgon .ob-nav-a { padding: 10px 9px; font-size: 14px; }
  .theme-obgon .ob-search-t { display: none; }
  .theme-obgon .ob-search { width: 46px; padding: 0; justify-content: center; }
  .theme-obgon .ob-sec-b, .theme-obgon .ob-sec-b[data-n='3'] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-obgon .ob-tower-wrap.has-radio { grid-template-columns: 1fr; }
  .theme-obgon .ob-boards.two { grid-template-columns: 1fr; }
  .theme-obgon .ob-foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  /* шапка в две строки: логотип + поиск, ниже — прокручиваемые рубрики */
  .theme-obgon .ob-bar-in { flex-wrap: wrap; gap: 0 12px; min-height: 0; padding-top: 10px; }
  .theme-obgon .ob-logo-word { font-size: 30px; }
  .theme-obgon .ob-search { margin-left: auto; }
  .theme-obgon .ob-nav { order: 3; flex: 0 0 calc(100% + 2 * var(--gap)); margin: 8px calc(-1 * var(--gap)) 0; border-top: 1px solid var(--ob-line-d); }
  .theme-obgon .ob-nav-list {
    overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; padding: 4px var(--gap);
    -webkit-mask: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
  }
  .theme-obgon .ob-nav-list::-webkit-scrollbar { display: none; }
  .theme-obgon .ob-nav-list li { scroll-snap-align: start; }
  .theme-obgon .ob-nav-list li:last-child { padding-right: 28px; }
  .theme-obgon .ob-nav-a { padding: 11px 12px; }
}
@media (max-width: 860px) {
  /* поул: картинка сверху, косая карбоновая панель снизу */
  .theme-obgon .ob-pole-link { display: flex; flex-direction: column; }
  .theme-obgon .ob-pole-media { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 11; }
  .theme-obgon .ob-pole-media::after { display: none; }
  .theme-obgon .ob-pole-in { min-height: 0; width: 100%; }
  .theme-obgon .ob-pole-line { display: none; }
  .theme-obgon .ob-pole-panel { --slant: 0px; width: 100%; padding: 8px 0 34px; margin-top: -26px; }
  .theme-obgon .ob-pole-panel::before, .theme-obgon .ob-pole-panel::after { left: calc(-1 * var(--gap)); right: calc(-1 * var(--gap)); bottom: 0; }
  .theme-obgon .ob-pole-panel::before { top: -30px; clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%); background: var(--ob-carbon); }
  .theme-obgon .ob-pole-panel::after { top: -44px; clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%); }
  .theme-obgon .ob-pole-top { margin-bottom: 16px; position: relative; }
  .theme-obgon .ob-pole-lead { margin-top: 14px; }
  .theme-obgon .ob-pole-foot { margin-top: 22px; }

  .theme-obgon .ob-grid { grid-template-columns: 1fr; gap: 30px; }
  .theme-obgon .ob-slot:nth-child(even) { top: 0; }
  .theme-obgon .ob-gridsec { padding-bottom: clamp(64px, 8vw, 90px); clip-path: polygon(0 0, 100% 24px, 100% 100%, 0 calc(100% - 24px)); }
  .theme-obgon .ob-sec-a { grid-template-columns: 1fr; }
  .theme-obgon .ob-finish { grid-template-columns: 1fr; clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%); }
  .theme-obgon .ob-finish-act { justify-content: flex-start; }
  .theme-obgon .listing .list-row { grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 20px 0; }
  .theme-obgon .listing .list-row .cover { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); }
  .theme-obgon .list-row h2 { font-size: 19px; margin: 8px 0 0; }
}
@media (min-width: 641px) and (max-width: 860px) {
  .theme-obgon .ob-pole-media { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .theme-obgon .ob-mark { width: 40px; height: 27px; }
  .theme-obgon .ob-logo-word { font-size: 28px; }
  .theme-obgon .ob-livery { height: 10px; }
  .theme-obgon .ob-sh { gap: 14px; margin-bottom: 22px; }
  .theme-obgon .ob-sh-num { min-width: 44px; font-size: 19px; padding: 7px 10px 5px; margin-top: 3px; }
  .theme-obgon .ob-sh-row { gap: 14px; }
  .theme-obgon .ob-sh .ob-kerb { min-width: 24px; height: 6px; }
  .theme-obgon .ob-sh-row:not(:has(.ob-more)) .ob-kerb { display: none; }
  .theme-obgon .ob-sh .ob-more { font-size: 0; gap: 0; width: 40px; height: 34px; justify-content: center; position: relative; isolation: isolate; color: #fff; }
  .theme-obgon .ob-sh .ob-more::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ob-carbon); transform: skewX(var(--ob-skew)); }
  .theme-obgon .ob-sh .ob-more svg { width: 16px; height: 16px; }
  .theme-obgon .ob-sector--dark .ob-sh .ob-more::before { background: var(--ob-red); }
  .theme-obgon .ob-sh-title { font-size: clamp(30px, 9vw, 40px); }
  .theme-obgon .ob-arrows { display: none; }
  .theme-obgon .ob-pole-title { font-size: clamp(30px, 8.6vw, 40px); }
  .theme-obgon .ob-pole-lead { font-size: 15.5px; }
  .theme-obgon .ob-pit-track { gap: 14px; }
  .theme-obgon .ob-pit-track > li { flex-basis: 76vw; }
  .theme-obgon .ob-slot { padding: 16px 0 0 58px; }
  .theme-obgon .ob-slot::before { left: 50px; height: 22px; border-width: 2px; }
  .theme-obgon .ob-slot-n { font-size: 42px; top: -2px; }
  .theme-obgon .ob-gc { display: block; padding: 0 4px 0 12px; }
  .theme-obgon .ob-gc-media { display: none; }
  .theme-obgon .ob-gc-title { font-size: 19px; }
  .theme-obgon .ob-gc .ob-meta { font-size: 12px; gap: 3px 10px; }
  .theme-obgon .ob-tower-head, .theme-obgon .ob-tr { grid-template-columns: 38px minmax(0, 1fr) 54px; gap: 10px; }
  .theme-obgon .ob-tower-head span:nth-child(2), .theme-obgon .ob-tr-code { display: none; }
  .theme-obgon .ob-tr { padding: 12px 14px; }
  .theme-obgon .ob-tower-head { padding: 12px 14px 10px; }
  .theme-obgon .ob-tr-pos { width: 34px; height: 28px; font-size: 15px; }
  .theme-obgon .ob-tr-title { font-size: 14.5px; -webkit-line-clamp: 3; }
  .theme-obgon .ob-tr-gap { font-size: 14px; }
  .theme-obgon .ob-row { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 14px 0; }
  .theme-obgon .ob-row-title { font-size: 17px; }
  .theme-obgon .ob-big-media .ob-cut--l { --ob-cut: 26px; }
  .theme-obgon .ob-sec-b, .theme-obgon .ob-sec-b[data-n] { grid-template-columns: 1fr; gap: 0; }
  .theme-obgon .ob-sec-b .ob-card:first-child { margin-bottom: 14px; }
  .theme-obgon .ob-sec-b .ob-card + .ob-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 14px; row-gap: 8px; padding: 14px 0; border-top: 1px solid var(--ob-line); }
  .theme-obgon .ob-sec-b .ob-card + .ob-card .ob-card-media { grid-row: 1 / 3; margin: 0; }
  .theme-obgon .ob-sec-b .ob-card + .ob-card .ob-cut { --ob-cut: 12px; }
  .theme-obgon .ob-sec-b .ob-card + .ob-card .ob-card-title { font-size: 17px; }
  .theme-obgon .ob-sector--dark .ob-sec-b .ob-card + .ob-card { border-top-color: var(--ob-line-d); }
  .theme-obgon .ob-sector--dark { clip-path: polygon(0 20px, 100% 0, 100% calc(100% - 20px), 0 100%); }
  .theme-obgon .ob-sector--dark::after { height: 40px; clip-path: polygon(0 20px, 100% 0, 100% 100%, 14px 100%); }
  .theme-obgon .ob-foot-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; }

  .theme-obgon .ob-tele { padding: 16px 18px; clip-path: none; }
  .theme-obgon .ob-tele-stats { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 0; padding-top: 14px; border-top: 1px solid var(--ob-line-d); }
  .theme-obgon .ob-tele-stats > div { padding: 0 12px 0 0; }
  .theme-obgon .ob-tele-stats > div + div::before { display: none; }
  .theme-obgon .ob-tele-stats dd { font-size: 17px; }
  .theme-obgon .ob-ah-frame .cover { clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px)); }
  .theme-obgon .ob-ah-frame::before, .theme-obgon .ob-ah-frame::after { display: none; }
  .theme-obgon .ob-ah-cover { padding: 0; }
  .theme-obgon .ob-ah-frame .cover { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%); }
  .theme-obgon .ob-ah-lead { padding-left: 20px; }
  .theme-obgon .ob-recipe { gap: 8px; }
  .theme-obgon .ob-recipe dd { font-size: 19px; }
  .theme-obgon .inline-cta { padding: 22px 20px 26px; clip-path: none; }
  .theme-obgon .inline-cta::after { top: auto; height: 10px; width: 100%; left: 0; clip-path: none; background-size: 10px 10px; }
  .theme-obgon .prose > blockquote { padding: 22px 20px 22px 56px; font-size: 1.2em; }
  .theme-obgon .prose > blockquote::before { left: 18px; top: 22px; bottom: 22px; width: 8px; box-shadow: 12px 0 0 -2px var(--ob-carbon); }
  .theme-obgon .listing .list-row { grid-template-columns: 112px minmax(0, 1fr); }
  .theme-obgon .list-row .meta { font-size: 12px; }
  .theme-obgon .list-row h2 { font-size: 17.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .theme-obgon *, .theme-obgon *::before, .theme-obgon *::after { transition: none !important; animation: none !important; }
  .theme-obgon a:hover .cover img { transform: none; }
  .theme-obgon .ob-pit-track { scroll-behavior: auto; }
}
