/* «Как купить криптовалюту в России» (/crypto/how-to-buy; README, одноимённый
   раздел, разметка — lib/buy-crypto-render.js). Только на этой странице.
   Цвета и скругления — переменные темы: текст читается во всех девяти темах. */
.hb-sec { min-width: 0; }
/* Карточка во всю колонку, строка текста — не длиннее ~90 знаков */
.hb-sec > p, .hb-sec > ol, .hb-sec > dl, .hb-sec > h3 { max-width: 820px; }
.hb-sec h2 { margin-top: 0; scroll-margin-top: 80px; }
.hb-sec h3 { margin: 18px 0 6px; font-size: 16px; }
.hb-sec h3:first-of-type { margin-top: 4px; }
.hb-sec p, .hb-sec li, .hb-sec dd { line-height: 1.6; }
.hb-intro .lead { margin: 0 0 10px; font-size: 16.5px; color: var(--text); }
.hb-steps { margin: 8px 0; padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.hb-terms { margin: 0; display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 10px 20px; }
.hb-terms dt { font-weight: 600; }
.hb-terms dd { margin: 0; }
/* Курсы: две плитки-ссылки на страницы пар; место под изменение за сутки
   занято и без числа — плитки одной высоты */
.hb-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 4px 0 12px; max-width: 640px; }
.hb-tile { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--au-line); border-radius: var(--au-r-ctl); color: var(--text); text-decoration: none; }
.hb-tile:hover { border-color: var(--accent); }
.hb-tile-l { color: var(--muted); font-size: 13px; }
.hb-tile b { font-size: 22px; font-variant-numeric: tabular-nums; }
.hb-tile small { font-size: 13px; color: var(--muted); }
.hb-tile small.up { color: var(--green); }
.hb-tile small.down { color: var(--red); }
.hb-prem { margin: 0 0 10px; }
.hb-amounts { max-width: 460px; }
/* У .div-table на телефоне последний столбец скрыт, а здесь это биткоин */
.div-table.hb-amounts th:last-child, .div-table.hb-amounts td:last-child { display: table-cell; }
.hb-rel { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
@media (max-width: 640px) {
  .hb-terms { grid-template-columns: 1fr; gap: 2px; }
  .hb-terms dd { margin-bottom: 10px; }
  .hb-tile b { font-size: 19px; }
  .hb-intro .lead { font-size: 15.5px; }
}
