/* v350: blog.makeitearn.com - выдача поиска по базе знаний (blog-search.js) внутри карточки .ask-answer: строки статей
   с темой, подсветкой найденных слов, разделом и фрагментом; пустой результат - подсказки и вопрос в чат/Telegram */
.ask-answer .bs-list { display: grid; gap: 2px; }
.bs-item { position: relative; display: grid; gap: 4px; min-width: 0; padding: 12px 40px 12px 14px; border-radius: 14px; color: var(--text); text-decoration: none; transition: background-color .2s ease; }
.bs-item::after { content: "→"; position: absolute; right: 14px; top: 13px; color: var(--accent); transition: transform .25s var(--ease); }
.bs-item:hover, .bs-item.is-active { background: var(--surface); }
.bs-item.is-active { box-shadow: inset 0 0 0 1px rgba(219, 156, 66, .45); }
.bs-item:hover::after, .bs-item.is-active::after { transform: translateX(3px); }
.bs-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bs-item__tag { justify-self: start; max-width: 100%; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 11.5px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.bs-item__title { font-weight: 600; font-size: 15.5px; line-height: 1.35; overflow-wrap: anywhere; }
.bs-item__sec { display: flex; align-items: flex-start; gap: 6px; color: var(--text-2); font-size: 13px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.bs-item__sec svg { flex: none; width: 13px; height: 13px; margin-top: 2px; color: var(--accent); }
.bs-item__snip { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; color: var(--muted); font-size: 13.5px; line-height: 1.5; overflow-wrap: anywhere; }
.bs-item mark { padding: 0 1px; border-radius: 3px; background: rgba(219, 156, 66, .22); color: inherit; }
.bs-item__title mark { background: rgba(219, 156, 66, .28); }
.bs-empty { padding: 2px 14px 12px; color: var(--muted); }
.bs-ask { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 12px; }
.bs-ask__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text); font: 700 14px/1.2 var(--font-body); text-decoration: none; text-align: center; cursor: pointer; transition: background-color .2s ease, box-shadow .2s ease, transform .15s ease; }
.bs-ask__btn:hover { box-shadow: inset 0 0 0 1px #cfcfca; }
.bs-ask__btn--chat { background: var(--text); color: #fff; box-shadow: none; }
.bs-ask__btn--chat:hover { background: var(--accent); box-shadow: none; }
.bs-ask__btn:active { transform: scale(.97); }
.bs-ask__btn:focus-visible, .bs-tags .ask__chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bs-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 14px 12px; }
.bs-tags .ask__chip { background: var(--surface); }
@media (max-width: 600px) {
  .bs-item { padding: 11px 34px 11px 12px; }
  .bs-item::after { right: 12px; }
  .bs-ask { padding: 0 12px 12px; }
  .bs-ask__btn { flex: 1 1 100%; }
  .bs-item__snip { -webkit-line-clamp: 2; }
}
