.pcf-grid {
    display: grid;
    gap: 30px;
}
.pcf-grid.pcf-cols-1 { grid-template-columns: 1fr; }
.pcf-grid.pcf-cols-2 { grid-template-columns: repeat(2, 1fr); }
.pcf-grid.pcf-cols-3 { grid-template-columns: repeat(3, 1fr); }
.pcf-grid.pcf-cols-4 { grid-template-columns: repeat(4, 1fr); }

.pcf-card {
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pcf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.pcf-card-img a {
    display: block;
}
.pcf-card-img img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.pcf-card-content {
    padding: 24px;
    flex-grow: 1;
}
.pcf-card-content h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.25rem;
    line-height: 1.4;
}
.pcf-card-content h3 a {
    text-decoration: none;
    color: #111;
    transition: color 0.3s;
}
.pcf-card-content h3 a:hover {
    color: #3b82f6;
}
.pcf-card-excerpt p {
    margin-bottom: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .pcf-grid {
        grid-template-columns: 1fr !important;
    }
}