/* ── Blog Category Page ────────────────────────────────── */

.bs-bc {
    max-width: 100%;
}

/* Hero */
.bs-bc-hero {
    margin-bottom: 12px;
}

.bs-bc-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px;
    line-height: 1.25;
}

.bs-bc-subtitle {
    font-size: 15px;
    color: #555;
    margin: 0;
    max-width: 720px;
    line-height: 1.55;
}

/* Category link in meta row */
.bs-bc-catlink {
    color: #206389;
    text-decoration: none;
    transition: color 0.15s ease;
}

.bs-bc-catlink:hover {
    color: #1DB0E1;
}


/* ── Highlights (3 featured posts) ────────────────────── */

.bs-bc-highlights {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
}

.bs-bc-hl--main {
    flex: 3;
    min-width: 0;
}

.bs-bc-hl-side {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.bs-bc-hl--side {
    flex: 1;
}

.bs-bc-hl__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.bs-bc-hl__link:hover .bs-bc-hl__title {
    color: #1DB0E1;
}

.bs-bc-hl__img {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.bs-bc-hl__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bs-bc-hl--main .bs-bc-hl__img {
    height: 260px;
}

.bs-bc-hl--side .bs-bc-hl__img {
    height: 120px;
}

.bs-bc-hl__body {
    padding: 4px 0 0;
}

.bs-bc-hl__title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 2px 0 4px;
    line-height: 1.35;
    transition: color 0.15s ease;
}

.bs-bc-hl--side .bs-bc-hl__title {
    font-size: 15px;
    margin: 2px 0 2px;
}

.bs-bc-hl__excerpt {
    font-size: 14px;
    color: #555;
    margin: 0 0 2px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bs-bc-hl__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 0;
    font-size: 13px;
    line-height: 1.4;
    color: #888;
    margin-top: 4px;
}

.bs-bc-hl__meta > span + span::before,
.bs-bc-hl__meta > span + a::before,
.bs-bc-hl__meta > a + span::before,
.bs-bc-hl__meta > a + a::before {
    content: "\00b7";
    margin: 0 6px;
    color: #aaa;
}

/* ── Native Ad Banner ─────────────────────────────────── */

.bs-bc-ad-banner {
    padding: 8px 0 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.5;
}

.bs-bc-ad-banner a {
    color: #206389;
    font-weight: 600;
}

.bs-bc-ad-banner:empty {
    display: none;
}

/* ── Post List ────────────────────────────────────────── */

.bs-bc-posts {
    display: flex;
    flex-direction: column;
}

.bs-bc-post {
    border-bottom: 1px solid #eee;
}

.bs-bc-post:last-child {
    border-bottom: none;
}

.bs-bc-post__link {
    display: flex;
    gap: 16px;
    padding: 8px 0 0;
    text-decoration: none;
    color: inherit;
}

.bs-bc-post__link:hover .bs-bc-post__title {
    color: #1DB0E1;
}

.bs-bc-post__img {
    width: 200px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.bs-bc-post__img img {
    width: 100%;
    height: 134px;
    object-fit: cover;
    display: block;
}

.bs-bc-post__placeholder {
    width: 100%;
    height: 134px;
    background: #f0f0f0;
    border-radius: 8px;
}

.bs-bc-post__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.bs-bc-post__title {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0 0 2px;
    line-height: 1.35;
    transition: color 0.15s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bs-bc-post__excerpt {
    font-size: 13px;
    color: #555;
    margin: 0 0 2px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bs-bc-post__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 0;
    padding: 4px 0 8px;
    margin-left: 216px;
    font-size: 13px;
    line-height: 1.4;
    color: #888;
}

.bs-bc-post__meta > :nth-child(n+2)::before {
    content: "\00b7";
    margin: 0 6px;
    color: #aaa;
}
}


/* ── Pagination ───────────────────────────────────────── */

.bs-bc-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 24px 0 8px;
}

.bs-bc-pagination a,
.bs-bc-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.bs-bc-pagination a.page-numbers {
    color: #333;
    background: #f5f5f5;
}

.bs-bc-pagination a.page-numbers:hover {
    background: #e0e0e0;
    color: #000;
}

.bs-bc-pagination span.page-numbers.current {
    background: #1DB0E1;
    color: #fff;
}

.bs-bc-pagination span.page-numbers.dots {
    background: none;
    color: #888;
}

.bs-bc-pagination a.prev,
.bs-bc-pagination a.next {
    font-weight: 600;
}

/* ── Category Description Widget ──────────────────────── */

.bs-catdesc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.bs-catdesc p {
    margin: 0 0 12px;
}

.bs-catdesc p:last-child {
    margin-bottom: 0;
}

/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 768px) {
    .bs-bc-title {
        font-size: 24px;
    }

    .bs-bc-highlights {
        flex-direction: column;
    }

    .bs-bc-hl--main .bs-bc-hl__img {
        height: 200px;
    }

    .bs-bc-hl-side {
        flex-direction: row;
    }

    .bs-bc-hl--side .bs-bc-hl__img {
        height: 100px;
    }

    .bs-bc-hl--side .bs-bc-hl__title {
        font-size: 14px;
    }

    .bs-bc-post__link {
        flex-direction: column;
        gap: 10px;
    }

    .bs-bc-post__meta {
        margin-left: 0;
    }

    .bs-bc-post__img {
        width: 100%;
    }

    .bs-bc-post__img img {
        height: 180px;
    }

    .bs-bc-post__placeholder {
        height: 180px;
    }
}
