/* --- Main Wrapper --- */
.pk-main-wrapper {
    margin: 30px 0;
}

/* --- CARD VIEW DESIGN (Grid) --- */
.pk-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.pk-card-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: 0.3s ease;
}

.pk-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.pk-card-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.pk-card-body {
    padding: 15px;
}

.pk-card-body h3 {
    font-size: 17px;
    margin-bottom: 10px;
}

.pk-card-body h3 a {
    color: #222;
    text-decoration: none;
    line-height: 1.4;
}

.pk-card-meta {
    font-size: 12px;
    color: #888;
}

/* --- LIST VIEW DESIGN (Stack) --- */
.pk-list-layout {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* List view ke andar aapka post-item-topic style */
.pk-list-layout {
    background: #fdfdfd;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s;
}

.pk-list-layout:hover {
    background: #f0f7ff;
    border-color: #0073aa;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .pk-list-layout {
        flex-direction: column;
        text-align: center;
    }
}