/* سایدبارِ هوشمندِ بلاگ و خبر (آیتم ۱۹۰) — فایلِ مستقل؛ Tailwindِ پیش‌بیلد کلاسِ تازه ندارد. */
.bs-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.bs-main { min-width: 0; }
.bs-aside { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
@media (min-width: 1024px) {
    .bs-layout--side { grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; }
    .bs-layout--side .bs-aside { position: sticky; top: 5.5rem; max-height: calc(100vh - 7rem); overflow-y: auto; scrollbar-width: thin; }
}
.bs-block { padding: 1rem; border-radius: 1rem; }
.bs-title { margin: 0 0 .75rem; font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; line-height: 1.7; color: var(--surface-fg, #fafaf9); }
.bs-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.bs-item { display: flex; gap: .75rem; align-items: center; text-decoration: none; color: inherit; }
.bs-thumb { flex: none; width: 4.5rem; height: 3.4rem; border-radius: .6rem; overflow: hidden; background: rgba(127,127,127,.15); }
.bs-item__t { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.bs-item__t b { font-weight: 700; font-size: .85rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bs-item__t small { font-size: .7rem; opacity: .65; }
.bs-item:hover .bs-item__t b { color: var(--accent-ink, #8b5cf6); }
.bs-ads { display: flex; flex-direction: column; gap: .75rem; }
.bs-ad { position: relative; display: block; border-radius: .8rem; overflow: hidden; text-decoration: none; color: inherit; border: 1px solid rgba(127,127,127,.25); }
.bs-ad img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.bs-ad__t { display: block; padding: .5rem .7rem; font-size: .85rem; font-weight: 700; line-height: 1.6; }
.bs-ad__tag { position: absolute; top: .4rem; left: .4rem; padding: .05rem .4rem; border-radius: .4rem; font-size: .6rem; background: rgba(0,0,0,.6); color: #fff; }
