/* =====================================================================
   BLOG LIST PAGE (blogs.php): category filter + cards
   ===================================================================== */
.bl-section { padding-top: 46px; }

.bl-filter {
    display: flex; align-items: center; gap: 16px;
    background: #fff; border: 1px solid var(--line); border-radius: 20px;
    padding: 12px 14px 12px 20px; margin-bottom: 18px;
    box-shadow: 0 20px 50px -40px rgba(11,11,18,.45);
}
.bl-filter-label { flex: 0 0 auto; font-size: 0.78rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #6B6B80; display: inline-flex; align-items: center; gap: 8px; }
.bl-filter-label i { color: var(--violet); }
.bl-chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.bl-chip {
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
    padding: 8px 8px 8px 16px; border-radius: 999px;
    background: var(--paper-soft); color: var(--ink); font-weight: 600; font-size: 0.9rem; text-decoration: none;
    border: 1px solid transparent; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.bl-chip span {
    min-width: 26px; height: 22px; padding: 0 7px; border-radius: 99px; background: #fff; color: #6B6B80;
    font-size: 0.75rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}
.bl-chip:hover { border-color: var(--violet); color: var(--violet-deep); transform: translateY(-1px); }
.bl-chip.active { background: var(--ink); color: #fff; }
.bl-chip.active span { background: var(--lime); color: #fff; }

.bl-results { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; font-size: 0.92rem; color: #6B6B80; margin: 0 4px 22px; }
.bl-results b { color: var(--ink); }
.bl-clear { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--violet); text-decoration: none; background: #F3F0FF; padding: 4px 10px; border-radius: 99px; }
.bl-clear:hover { background: var(--violet); color: #fff; }

.bl-card-img { display: block; overflow: hidden; }
.bl-card-img img { transition: transform .45s ease; }
.blog-card:hover .bl-card-img img { transform: scale(1.04); }
.bl-card-tag { text-decoration: none; transition: background .2s ease, color .2s ease; }
.bl-card-tag:hover { background: var(--violet); color: #fff; }

@media (max-width: 767.98px) {
    .bl-section { padding-top: 30px; }
    .bl-filter { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 0 14px 16px; border-radius: 18px; }
    .bl-chips { flex-wrap: nowrap; overflow-x: auto; padding: 2px 16px 4px 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .bl-chips::-webkit-scrollbar { display: none; }
}
