/* Страница «Все разборы»: шапка, поиск, карточки на светлом фоне. Остальное берётся из home.css. */

.rz { background: var(--cream); }
.rz-top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--cream) 88%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgb(23 23 26 / .08); }
.rz-top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.rz-top .hbar__nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.rz-top .hbar__nav a { display: inline-flex; align-items: center; min-height: 44px; }
.rz-top .hbar__nav a[href="./"] { background: var(--ink); color: var(--paper); }
.rz-top .hbar__nav a.is-cat { min-height: 32px; padding: 0 10px; align-self: center; background: #E5356F; color: #fff; }

/* первый экран: заголовок и поиск на мягком розовом свечении */
.rz-hero { position: relative; overflow: hidden; padding: clamp(40px, 9vh, 110px) 0 clamp(26px, 5vh, 56px); }
.rz-hero::before { content: ""; position: absolute; inset: -30% -20% auto auto; width: min(90vw, 760px); aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--rose) 34%, transparent), transparent);
  pointer-events: none; }
.rz-hero__in { position: relative; display: grid; gap: 16px; }
.rz-hero h1 { font-size: clamp(2.8rem, 14vw, 8rem); }
.rz-hero h1 span { color: var(--rose); }
.rz-hero__lead { max-width: 32em; font-size: 1.1rem; color: #3b3b42; }

.rz-search { position: relative; max-width: 760px; margin-top: 10px; }
.rz-search__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rz-search__icon { position: absolute; left: 22px; top: 50%; width: 24px; height: 24px; transform: translateY(-50%); color: var(--rose); pointer-events: none; }
.rz-search input { width: 100%; min-height: 66px; padding: 0 64px 0 60px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--paper); color: var(--ink); font: 600 1.1rem/1.2 var(--font); -webkit-appearance: none; appearance: none;
  box-shadow: 0 14px 40px rgb(60 20 40 / .1); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.rz-search input::placeholder { color: #6b6b72; font-weight: 500; }
.rz-search input::-webkit-search-cancel-button { display: none; }
.rz-search input:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 5px color-mix(in srgb, var(--rose) 22%, transparent); }
.rz-search__clear { position: absolute; right: 10px; top: 50%; display: grid; place-items: center; width: 46px; height: 46px;
  padding: 0; border: 0; border-radius: 50%; background: var(--ink); color: var(--paper); transform: translateY(-50%); cursor: pointer; }
.rz-search__clear[hidden] { display: none; }
.rz-search__clear svg { width: 18px; height: 18px; }
.rz-search__clear:hover { background: var(--rose); }

.rz-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { min-height: 42px; padding: 0 18px; border: 1.5px solid rgb(23 23 26 / .2); border-radius: 999px; background: transparent;
  color: var(--ink); font: 700 .95rem/1 var(--font); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* список */
.rz-list { padding: 8px 0 clamp(80px, 14vh, 160px); }
.rz-count { font: 600 .85rem/1 ui-monospace, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; color: #55555c; margin-bottom: 18px; }
.rz-grid { display: grid; gap: 22px; }
.rz .topic { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 rgb(23 23 26 / .06), 0 18px 44px rgb(60 20 40 / .07); }
.rz .topic__lead { color: #45454c; }
.rz .topic__num { color: #A0175A; }
.rz .topic__go { color: #C2205A; }
.rz .topic__tags li { background: var(--blush); color: var(--ink); }
.rz .topic[hidden] { display: none; }

.rz-empty { display: grid; gap: 14px; justify-items: start; max-width: 34em; padding: 34px 0; }
.rz-empty[hidden] { display: none; }
.rz-empty__title { font-size: clamp(1.8rem, 7vw, 3rem); }

@media (min-width: 860px) {
  .rz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1240px) {
  .rz-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rz .topic__title { font-size: clamp(1.4rem, 2vw, 1.9rem); }
}
