/* =====================================================
   BPR – Berita & Kegiatan Styles
   ===================================================== */

.bpr-berita-wrap {
    max-width: 900px;
    margin: 0 auto;
}

/* ── List Postingan ── */
.bpr-post-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Card Postingan ── */
.bpr-post-card {
    display: flex;
    gap: 0;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.15s ease;
}

.bpr-post-card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

/* ── Thumbnail ── */
.bpr-post-thumb {
    width: 220px;
    min-width: 220px;
    height: 150px;
    flex-shrink: 0;
    overflow: hidden;
}

.bpr-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.bpr-post-card:hover .bpr-thumb-img {
    transform: scale(1.04);
}

.bpr-thumb-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    background: #E6F1FB;
    color: #185FA5;
    text-decoration: none;
    font-size: 12px;
}

/* ── Body Konten ── */
.bpr-post-body {
    padding: 1.1rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ── Meta (tanggal) ── */
.bpr-post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.bpr-post-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #667085;
}

/* ── Judul ── */
.bpr-post-title {
    font-size: 15px;
    font-weight: 600;
    color: #101828;
    margin: 0 0 8px;
    line-height: 1.45;
}

.bpr-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}

.bpr-post-title a:hover {
    color: #185FA5;
}

/* ── Excerpt ── */
.bpr-post-excerpt {
    font-size: 13.5px;
    color: #475467;
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Footer Card ── */
.bpr-post-footer {
    margin-top: 12px;
}

.bpr-btn-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #185FA5;
    text-decoration: none;
    transition: gap 0.15s;
}

.bpr-btn-read:hover {
    gap: 10px;
    text-decoration: none;
}

/* ── Pagination ── */
.bpr-pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.bpr-pagination .page-numbers {
    display: inline-flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bpr-pagination .page-numbers li a,
.bpr-pagination .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid #d0d5dd;
    font-size: 13px;
    color: #475467;
    text-decoration: none;
    transition: all 0.15s;
    background: #ffffff;
}

.bpr-pagination .page-numbers li a:hover {
    background: #f0f6ff;
    border-color: #185FA5;
    color: #185FA5;
}

.bpr-pagination .page-numbers li span.current {
    background: #185FA5;
    border-color: #185FA5;
    color: #ffffff;
    font-weight: 600;
}

/* ── Kosong ── */
.bpr-empty {
    color: #667085;
    font-style: italic;
}

/* ── Responsive Mobile ── */
@media (max-width: 600px) {
    .bpr-post-card {
        flex-direction: column;
    }

    .bpr-post-thumb {
        width: 100%;
        min-width: 100%;
        height: 180px;
    }

    .bpr-post-body {
        padding: 1rem;
    }
}
