
.cpf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cpf-banner {
    padding: 40px 0;
}

.cpf-filter-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cpf-filter-row select {
    min-width: 320px;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid #d9d9d9;
    background: #fff;
    font-size: 16px;
}

.cpf-results-section {
    padding: 20px 0 60px;
}

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

.cpf-card {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    transition: all .2s ease;
    height: 100%;
}

.cpf-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

.cpf-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cpf-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.cpf-image {
    height: 240px;
    overflow: hidden;
}

.cpf-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cpf-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cpf-main-content {
    flex: 1;
}

.cpf-content h3 {
    margin: 0 0 18px;
    font-size: 24px;
    line-height: 1.3;
}

.cpf-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 6px;
}

.cpf-card-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border: 1px solid rgba(0,0,0,0.18);
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    background: #fff;
    color: inherit;
    font-family: inherit;
    cursor: pointer;
}

.cpf-card-tag:hover,
.cpf-card-tag:focus {
    border-color: rgba(0,0,0,0.45);
    background: rgba(0,0,0,0.04);
}

.cpf-date {
    font-size: 14px;
    opacity: .7;
    margin-top: auto;
    padding-top: 6px;
}

.cpf-loading {
    opacity: .55;
    pointer-events: none;
}

@media (max-width: 991px) {
    .cpf-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {

    .cpf-grid {
        grid-template-columns: 1fr;
    }

    .cpf-filter-row {
        flex-direction: column;
    }

    .cpf-filter-row select {
        width: 100%;
        min-width: 0;
    }
}
