/* =====================================
   BLOG.CSS — Blog Cards & Modal Styles
   ===================================== */

/* ---- Blog List Layout ---- */
.pv-blog-container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ---- Blog Entry Card ---- */
.pv-blog-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
    background: rgba(15, 20, 25, 0.85);
    border: 1px solid rgba(0,255,102,0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: 0.15s ease;
}

.pv-blog-card:hover {
    background: rgba(0,255,102,0.08);
    border-color: rgba(0,255,102,0.4);
    box-shadow: 0 0 12px rgba(0,255,102,0.25);
}

/* ---- Blog Content Text ---- */
.pv-blog-title {
    font-weight: bold;
    font-size: 1.05rem;
    color: var(--accent, #00ff66);
}

.pv-blog-desc {
    font-size: 0.82rem;
    color: var(--text-muted, #7aa37a);
    line-height: 1.4;
}

.pv-blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.pv-blog-meta {
    font-size: 0.75rem;
    color: var(--text-muted, #7aa37a);
}

.pv-blog-view {
    font-size: 0.82rem;
    color: var(--accent, #00ff66);
    white-space: nowrap;
}

/* ---- Blog Modal Backdrop ---- */
.pv-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 2000;
    padding: 40px 0;
    overflow-y: auto;
}

/* ---- Blog Modal Box ---- */
.pv-modal {
    background: #111;
    border: 1px solid #00ff66;
    width: 92%;
    max-width: 700px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    padding: 22px;
    border-radius: 8px;
    box-shadow: 0 0 20px #00ff6655;
    animation: fadeIn 0.25s ease-out;
    position: relative;
}

/* ---- Blog Modal Close Button ---- */
.pv-modal-close {
    position: absolute;
    right: 20px;
    top: 16px;
    cursor: pointer;
    font-size: 20px;
    color: #00ff66;
}

/* ---- Animation ---- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
