/* ═══════════════════════════════════════════════════
   Hark Blog Posts — Base Styles
   Scoped styles are injected inline per instance.
   ═══════════════════════════════════════════════════ */

.hark-bp-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

/* ─── Individual Post ─────────────────────────────── */

.hark-bp-post {
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
}

.hark-bp-post:first-child {
    padding-top: 0;
}

.hark-bp-post:last-child {
    border-bottom: none;
}

/* ─── Date ────────────────────────────────────────── */

.hark-bp-date {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

/* ─── Title ───────────────────────────────────────── */

.hark-bp-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 14px 0;
    padding: 0;
}

.hark-bp-title a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.hark-bp-title a:hover {
    text-decoration: none;
}

/* ─── Excerpt ─────────────────────────────────────── */

.hark-bp-excerpt {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 18px;
}

/* ─── Read More ───────────────────────────────────── */

.hark-bp-readmore a {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hark-bp-readmore a:hover {
    text-decoration: none;
}

.hark-bp-arrow {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.2s ease;
}

.hark-bp-readmore a:hover .hark-bp-arrow {
    transform: translateX(3px);
}

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

.hark-bp-pagination {
    padding: 40px 0 20px;
    text-align: center;
}

.hark-bp-pagination ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.hark-bp-pagination li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hark-bp-pagination li::before {
    display: none !important;
    content: none !important;
}

.hark-bp-pagination a,
.hark-bp-pagination span {
    display: inline-block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #444;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s ease;
    background: #fff;
    line-height: 1.4;
}

.hark-bp-pagination a:hover {
    background: #f5f5f5;
    border-color: #999;
    text-decoration: none;
}

.hark-bp-pagination .current {
    background: #333;
    color: #fff;
    border-color: #333;
}

.hark-bp-pagination .dots {
    border: none;
    background: transparent;
    padding: 8px 6px;
}

.hark-bp-pagination .prev,
.hark-bp-pagination .next {
    font-weight: 600;
}

/* ─── Load More (Infinite Scroll) ─────────────────── */

.hark-bp-load-more-wrap {
    text-align: center;
    padding: 40px 0 20px;
}

.hark-bp-load-more {
    display: inline-block;
    padding: 12px 36px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #333;
    background: transparent;
    border: 2px solid #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hark-bp-load-more:hover {
    background: #333;
    color: #fff;
}

.hark-bp-load-more:disabled {
    opacity: 0.5;
    cursor: default;
}

/* Spinner */
.hark-bp-spinner {
    padding: 20px 0;
}

.hark-bp-spinner-dot {
    width: 30px;
    height: 30px;
    border: 3px solid #ddd;
    border-top-color: #333;
    border-radius: 50%;
    margin: 0 auto;
    animation: hark-spin 0.7s linear infinite;
}

@keyframes hark-spin {
    to { transform: rotate(360deg); }
}

/* ─── No Posts ────────────────────────────────────── */

.hark-bp-no-posts {
    padding: 40px 0;
    text-align: center;
    font-size: 16px;
    color: #999;
}

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

@media (max-width: 768px) {
    .hark-bp-title {
        font-size: 22px;
    }

    .hark-bp-excerpt {
        font-size: 15px;
        line-height: 1.65;
    }

    .hark-bp-post {
        padding: 24px 0;
    }
}
