:root {
  color-scheme: dark;
  --bg: #0b0c0d;
  --panel: #141619;
  --paper: #f4f0e8;
  --ink: #17191b;
  --muted: #aeb2b7;
  --line: rgba(255,255,255,.14);
  --acid: #d8ff45;
  --content: 740px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: #f5f5f3; font-family: Arial, Helvetica, sans-serif; line-height: 1.65; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.article-header {
  width: min(1180px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.article-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.05; text-transform: uppercase; letter-spacing: .04em; }
.article-brand span { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(216,255,69,.55); border-radius: 50%; color: var(--acid); font-weight: 800; }
.article-brand strong { font-size: 13px; }
.article-header nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.article-header nav a { text-underline-offset: 4px; }
.header-telegram { padding: 11px 16px; border-radius: 999px; background: var(--acid); color: #111; font-weight: 700; text-decoration: none; }

.breadcrumbs { width: min(1180px, calc(100% - 48px)); margin: 22px auto; display: flex; gap: 9px; align-items: center; color: #aeb2b7; font-size: 13px; overflow: hidden; white-space: nowrap; }
.breadcrumbs a { color: #fff; text-underline-offset: 3px; }
.breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; }

.longread { background: var(--paper); color: var(--ink); }
.article-hero { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0 64px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 64px; align-items: center; }
.eyebrow { margin: 0 0 16px; color: #73786f; font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.article-hero h1, .hub-hero h1 { margin: 0; max-width: 850px; font-size: clamp(42px, 6vw, 78px); line-height: .98; letter-spacing: -.055em; }
.article-lead { margin: 28px 0 0; max-width: 720px; font-size: 21px; line-height: 1.55; color: #363a3e; }
.author-card { margin-top: 30px; display: flex; align-items: center; gap: 14px; }
.author-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.author-card div { display: grid; }
.author-card strong { font-size: 15px; }
.author-card span, .author-card small { color: #666b70; font-size: 13px; }
.article-hero-image { margin: 0; }
.article-hero-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 3px; }
figcaption { margin-top: 8px; color: #73787d; font-size: 12px; }

.article-layout { width: min(1040px, calc(100% - 48px)); margin: 0 auto; padding: 70px 0 96px; display: grid; grid-template-columns: minmax(0, var(--content)) 230px; gap: 60px; align-items: start; }
.article-content { font-size: 19px; line-height: 1.75; }
.article-content p { margin: 0 0 1.25em; }
.article-content h2 { scroll-margin-top: 20px; margin: 2.4em 0 .75em; font-size: clamp(29px, 4vw, 42px); line-height: 1.12; letter-spacing: -.035em; }
.article-content ul, .article-content ol { margin: 0 0 1.55em; padding-left: 1.35em; }
.article-content li { margin: .55em 0; padding-left: .25em; }
.article-content li::marker { color: #687900; font-weight: 800; }
.article-toc { margin: 0 0 55px; padding: 22px 24px; border: 1px solid rgba(23,25,27,.15); background: rgba(255,255,255,.42); }
.article-toc summary { cursor: pointer; font-weight: 800; font-size: 16px; }
.article-toc ol { margin: 15px 0 0; columns: 2; column-gap: 34px; font-size: 15px; line-height: 1.5; }
.article-toc a { text-underline-offset: 3px; }
.article-inline-image { margin: 40px 0 50px; }
.article-inline-image img { width: 100%; max-height: 520px; object-fit: cover; }
.article-side { position: sticky; top: 24px; padding: 20px; border-top: 3px solid #1b1d1f; background: #e8e3d8; font-size: 14px; }
.article-side strong { display: block; font-size: 18px; }
.article-side p { margin: 10px 0 14px; color: #4e5357; }
.article-side a { font-weight: 700; text-underline-offset: 3px; }
.article-sources { margin-top: 52px; padding-top: 12px; border-top: 1px solid rgba(23,25,27,.18); }
.article-sources h2 { font-size: 25px; }
.article-sources ol { font-size: 14px; }
.article-cta { margin-top: 64px; padding: 34px; background: #17191b; color: #fff; }
.article-cta span { color: var(--acid); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.article-cta h2 { margin: 12px 0 10px; color: #fff; font-size: 33px; }
.article-cta p { color: #c8cbce; }
.article-cta a { display: inline-flex; margin-top: 8px; padding: 14px 18px; background: var(--acid); color: #111; font-size: 15px; font-weight: 800; text-decoration: none; }

.related { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 78px 0 90px; }
.related .eyebrow { color: #9da18e; }
.related > h2 { margin: 0 0 28px; font-size: clamp(34px, 5vw, 58px); line-height: 1; letter-spacing: -.045em; }
.related > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.related > div > a { display: grid; min-height: 210px; padding: 26px; background: var(--panel); text-decoration: none; }
.related span { color: var(--acid); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.related strong { margin-top: 14px; font-size: 23px; line-height: 1.12; }
.related small { align-self: end; margin-top: 22px; color: #aaafb4; font-size: 14px; }

.article-footer { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 34px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 32px; font-size: 13px; }
.article-footer > div { display: grid; color: #b5b8bc; }
.article-footer strong { color: #fff; }
.article-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; }
.article-footer a { text-underline-offset: 3px; }
.health-strip { width: min(1180px, calc(100% - 48px)); margin: 0 auto 32px; padding: 16px 18px; border: 1px solid var(--line); color: #c7cacf; font-size: 13px; }
.health-strip strong { color: #fff; }
.mobile-telegram { display: none; }

.hub-main { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.hub-main .breadcrumbs { width: 100%; }
.hub-hero { padding: 68px 0 60px; max-width: 960px; }
.hub-hero > p:last-child { max-width: 760px; margin: 28px 0 0; color: #b8bdc2; font-size: 20px; }
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.hub-card { min-height: 350px; padding: 34px; display: flex; flex-direction: column; background: var(--panel); }
.hub-card > span { color: var(--acid); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hub-card h2 { margin: 24px 0 14px; font-size: clamp(28px, 4vw, 42px); line-height: 1.05; letter-spacing: -.04em; }
.hub-card h2 a { text-decoration: none; }
.hub-card p { margin: 0; color: #b9bdc1; font-size: 16px; }
.hub-read { margin-top: auto; padding-top: 28px; color: #fff; font-weight: 800; text-underline-offset: 4px; }
.hub-author { margin: 90px 0; display: grid; grid-template-columns: 360px 1fr; gap: 58px; align-items: center; }
.hub-author img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.hub-author h2 { margin: 0; font-size: clamp(40px, 6vw, 68px); line-height: 1; }
.hub-author p:not(.eyebrow) { max-width: 650px; color: #c0c3c6; font-size: 18px; }
.hub-author a { display: inline-flex; padding: 13px 17px; background: var(--acid); color: #111; font-weight: 800; text-decoration: none; }

@media (max-width: 900px) {
  .article-hero { grid-template-columns: 1fr; gap: 38px; }
  .article-hero-image img { aspect-ratio: 16/10; }
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; }
  .hub-author { grid-template-columns: 280px 1fr; gap: 35px; }
}

@media (max-width: 680px) {
  .article-header { width: calc(100% - 24px); min-height: 74px; }
  .article-brand span { width: 42px; height: 42px; }
  .article-brand strong { display: none; }
  .article-header nav { gap: 13px; font-size: 12px; }
  .article-header nav a:nth-child(2) { display: none; }
  .header-telegram { padding: 9px 12px; }
  .breadcrumbs { width: calc(100% - 24px); margin: 16px auto; }
  .article-hero { width: calc(100% - 24px); padding: 46px 0 42px; }
  .article-hero h1, .hub-hero h1 { font-size: clamp(40px, 13vw, 58px); }
  .article-lead { font-size: 18px; }
  .author-card { align-items: flex-start; }
  .author-card span { font-size: 12px; }
  .article-hero-image img { aspect-ratio: 4/3; }
  .article-layout { width: calc(100% - 28px); padding: 46px 0 68px; }
  .article-content { font-size: 17px; line-height: 1.72; overflow-wrap: anywhere; }
  .article-content h2 { margin-top: 2.1em; }
  .article-toc { padding: 18px; }
  .article-toc ol { columns: 1; }
  .article-cta { padding: 25px 20px; }
  .article-cta h2 { font-size: 28px; }
  .related { width: calc(100% - 24px); padding: 60px 0 100px; }
  .related > div { grid-template-columns: 1fr; }
  .article-footer { width: calc(100% - 24px); flex-direction: column; padding-bottom: 90px; }
  .article-footer nav { justify-content: flex-start; }
  .health-strip { width: calc(100% - 24px); margin-bottom: 90px; }
  .mobile-telegram { position: fixed; z-index: 10; left: 12px; right: 12px; bottom: 12px; display: block; padding: 14px 16px; border-radius: 2px; background: var(--acid); color: #111; font-size: 14px; font-weight: 800; text-align: center; text-decoration: none; box-shadow: 0 10px 35px rgba(0,0,0,.38); }
  .hub-main { width: calc(100% - 24px); }
  .hub-hero { padding: 48px 0 42px; }
  .hub-hero > p:last-child { font-size: 17px; }
  .hub-grid { grid-template-columns: 1fr; }
  .hub-card { min-height: 310px; padding: 25px; }
  .hub-author { margin: 64px 0 100px; grid-template-columns: 1fr; gap: 28px; }
  .hub-author img { aspect-ratio: 4/3; object-position: center 30%; }
}
