.category-browser-box-btb {
    padding: 32px 10px 0 10px;
    max-width: 1200px;
    margin: 0 auto;
}
.category-heading-btb {
    font-size: 2.6rem;
    margin-bottom: 30px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: -1px;
    color: #232323;
}
.categories-bar-btb {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    margin-bottom: 30px;
    width: 100%;
}
.category-btn-all-btb,
.category-btn-btb {
    background: #ededed;
    color: #222;
    padding: 15px 32px;
    border-radius: 10px;
    font-size: 1.15rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: none;
    outline: none;
    transition: background 0.20s, color 0.20s;
    margin-bottom: 0;
}
.category-btn-all-btb.active {
    background: #126aae;
    color: #fff;
}
.category-btn-btb.active {
    background: #126aae;
    color: #fff;
}
/* smaller text for counts (optional) */
.category-btn-all-btb strong,
.category-btn-btb strong {
    font-weight: 400;
    font-size: 1rem;
    color: #555;
    margin-left: 5px;
}
.categories-bar-btb button:hover,
.categories-bar-btb .category-btn-btb:hover {
    background: #bfd4ea;
    color: #232323;
}

/* Responsive two lines like screenshot */
@media (max-width: 1200px) {
    .categories-bar-btb {
        gap: 13px 13px;
    }
    .category-btn-btb,
    .category-btn-all-btb {
        padding: 12px 18px;
        font-size: 1rem;
    }
}
@media (max-width: 700px) {
    .categories-bar-btb {
        gap: 10px 10px;
    }
    .category-btn-btb,
    .category-btn-all-btb {
        padding: 9px 9px;
        font-size: 0.93rem;
    }
}

/* blog cards grid and pagination - unchanged */
.blog-cards-row-btb {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-bottom: 32px;
}
.single-blog-card-btb {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(2, 53, 121, 0.08);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
    min-height: 370px;
}
.single-blog-card-btb:hover {
    box-shadow: 0 6px 16px rgba(2, 53, 121, 0.12);
}
.blog-card-imgbox-btb {
    width: 100%;
    height: 200px;
    background: #eff2f5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-card-imgbox-btb img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: cover;
}
.blog-card-contentblock-btb {
    padding: 18px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.blog-card-title-btb {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #223d57;
    min-height: 44px;
}
.blog-card-meta-btb {
    font-size: 13px;
    color: #7c8da8;
    margin-bottom: 8px;
}
.blog-card-shortdesc-btb {
    font-size: 15px;
    color: #34495e;
    margin: 0;
    margin-top: auto;
}
.custom-pagination-row-btb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 26px;
}
.custom-paginate-btn-btb {
    border: none;
    background: #fbfbfb;
    color: #2557a7;
    padding: 7px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    transition: background 0.18s;
}
.custom-paginate-btn-btb.active {
    background: #ff9000;
    color: #fff;
}
.custom-paginate-btn-btb.next-btn-btb {
    font-size: 19px;
    padding: 7px 14px;
}
@media (max-width: 990px) {
    .blog-cards-row-btb {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}
@media (max-width: 700px) {
    .blog-cards-row-btb {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}
