:root {
  color-scheme: light;
  /* Палитра оригинала (снимок Web Archive 2023-01-09, настройки темы OnePress):
     шапка #fce661, меню #626262, hover меню #ff5057, кнопки темы #03c4eb, логотип #ff5075/#a8f0ff/#626262 */
  --header: #fce661;       /* жёлтая шапка, как в оригинале */
  --brand: #ff5057;        /* розовый оригинала: полосы, номера (с тёмным текстом) */
  --btn: #03c4eb;          /* голубые кнопки оригинала; текст на них тёмный (7.9:1) */
  --btn-hover: #02addf;
  --accent: #00738c;       /* ссылки: голубой оригинала, затемнённый до 5.5:1 на белом */
  --accent-dark: #005566;
  --tint: #fffbe0;         /* светло-жёлтая подложка */
  --tint-line: #f5e48a;
  --sky: #e6f9fd;          /* светло-голубая подложка */
  --sky-line: #9be6f6;
  --bg: #fff;
  --card: #fff;
  --text: #1f1f1f;
  --muted: #5c5c5c;
  --line: #ececec;
  --head: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  --ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --read: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--ui); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--head); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.4vw, 30px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
section { margin: 64px 0; }

/* header */
.top { border-bottom: 3px solid var(--brand); background: var(--header); position: sticky; top: 0; z-index: 10; }
.bar { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 800 22px var(--head); }
.logo img { height: 40px; width: auto; }
.menu { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.menu a { font-weight: 600; color: #3a3a3a; text-decoration: none; padding: 10px 12px; border-radius: 8px; }
.menu a:hover, .menu a[aria-current] { color: var(--text); background: rgba(255,255,255,.55); box-shadow: inset 0 -3px 0 var(--brand); }
.burger { display: none; margin-left: auto; font-size: 22px; background: #fff; border: 1px solid var(--line); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; }
@media (max-width: 960px) {
  .burger { display: block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 67px; background: var(--header); flex-direction: column; padding: 8px 20px 16px; border-bottom: 1px solid var(--line); }
  .menu.open { display: flex; }
  .menu a { padding: 12px 8px; }
}

/* buttons, labels */
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--btn); color: var(--text); font-weight: 700; text-decoration: none; border: 2px solid var(--btn); }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--text); }
.btn.ghost { background: #fff; color: var(--accent-dark); border-color: var(--btn); }
.btn.ghost:hover { background: var(--sky); color: var(--accent-dark); }
.eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0 0 12px; }
.kicker { font-size: 13px; color: var(--accent); font-weight: 600; margin: 0 0 6px; }
.chip { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--sky); color: var(--accent-dark); border: 1px solid var(--sky-line); text-decoration: none; }
.t { font-family: var(--head); font-weight: 700; font-size: 18px; line-height: 1.3; margin: 0 0 6px; }
.t a { color: var(--text); text-decoration: none; }
.t a:hover { color: var(--accent); }
.desc { color: var(--muted); margin: 0; font-size: 15px; }

/* section heading */
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-bottom: 3px solid var(--line); margin-bottom: 24px; }
.head h2 { margin: 0; padding-bottom: 10px; position: relative; }
.head h2::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--brand); }
.head a { padding: 10px 0; font-weight: 600; text-decoration: none; }

/* hero */
.hero { background: var(--tint); border-bottom: 1px solid var(--tint-line); padding: 56px 0; margin: 0; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 34em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-card { background: #fff; border: 1px solid var(--tint-line); border-radius: 14px; padding: 24px; box-shadow: 0 10px 30px rgba(0, 115, 140, .08); }
.hero-card audio { width: 100%; margin-top: 14px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding: 36px 0; } }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: var(--sky-line); box-shadow: 0 8px 24px rgba(0, 115, 140, .08); }
.feat { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.lead-card { background: var(--sky); border: 1px solid var(--sky-line); border-radius: 14px; padding: 28px; }
.lead-card .t { font-size: 24px; }
.rows { display: grid; gap: 12px; }
.row { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
@media (max-width: 860px) { .feat { grid-template-columns: 1fr; } }

/* popular / numbered */
.pop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pop .card { position: relative; padding-top: 52px; }
.num { position: absolute; top: 16px; left: 20px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--text); font: 700 14px/30px var(--ui); text-align: center; }
@media (max-width: 860px) { .pop { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; } .pop .card { scroll-snap-align: start; } }

/* topics block */
.topics { background: var(--tint); border: 1px solid var(--tint-line); border-radius: 14px; padding: 32px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 24px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--tint-line); color: var(--text); text-decoration: none; font-weight: 600; }
.pill small { color: var(--accent); font-weight: 700; }
.pill:hover { border-color: var(--accent); }

/* wide rows (episode list) */
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.list .meta { font-size: 13px; color: var(--muted); margin: 0 0 4px; }

/* about */
.about { background: var(--tint); border: 1px solid var(--tint-line); border-radius: 14px; padding: 32px; display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: start; }
.facts { display: flex; gap: 32px; flex-wrap: wrap; margin: 20px 0; }
.facts b { display: block; font: 800 34px var(--head); color: var(--accent); }
@media (max-width: 700px) { .about { grid-template-columns: 1fr; } .about img { width: 96px; } }

/* article */
.page { max-width: 760px; margin: 40px auto 64px; padding: 0 20px; }
.page .body { font: 18px/1.7 var(--read); }
.page .body p { margin: 0 0 1em; }
.crumbs { font-size: 14px; margin-bottom: 16px; }
.crumbs a { text-decoration: none; }
.player { background: var(--sky); border: 1px solid var(--sky-line); border-radius: 12px; padding: 16px; margin: 20px 0 28px; }
.player audio { width: 100%; }
.player p { margin: 8px 0 0; font-size: 14px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0; }
.nav2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.nav2 a { display: block; padding: 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--text); }
.nav2 a:hover { border-color: var(--tint-line); }
.nav2 small { display: block; color: var(--muted); }

/* footer */
.foot { background: var(--tint); border-top: 3px solid var(--brand); padding: 40px 0 24px; margin-top: 64px; }
.foot-name { font: 800 22px var(--head); color: var(--text); margin: 0; }
.social { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.social a, .links a { display: inline-block; padding: 10px 6px; }
.links { display: flex; gap: 12px; flex-wrap: wrap; margin: 0; }
