/* ================= GLOBAL WRAPPER ================= */
.pppp-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ================= CARD DESIGN ================= */
.pppp-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* hover effect */
.pppp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* ================= THUMBNAIL ================= */
.pppp-thumb {
    display: block;
    width: 100%;
    overflow: hidden;
}

.pppp-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* zoom effect */
.pppp-card:hover .pppp-thumb img {
    transform: scale(1.05);
}

/* ================= META ROW ================= */
.pppp-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    font-size: 12px;
    color: #666;
}

/* category */
.pppp-cat a {
    text-decoration: none;
    color: #0073aa;
    margin-right: 6px;
    font-size: 12px;
    font-weight: 500;
}

.pppp-cat a:hover {
    text-decoration: underline;
}

/* views */
.pppp-views {
    font-size: 12px;
    color: #777;
    white-space: nowrap;
}

/* ================= TITLE ================= */
.pppp-title {
    padding: 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    line-height: 1.4;
}

.pppp-title:hover {
    color: #0073aa;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    .pppp-thumb img {
        height: 160px;
    }

    .pppp-title {
        font-size: 15px;
    }

    .pppp-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 480px) {

    .pppp-thumb img {
        height: 140px;
    }

    .pppp-card {
        border-radius: 10px;
    }
}
