/* CPC Latest Posts - homepage section (brand aligned) */
.cpc-latest {
    background: #FDEEE7;
    padding: 54px 0;
}
.cpc-latest .cpc-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.cpc-latest-title {
    text-align: center;
    color: #2E3A45;
    font-size: 2rem;
    margin: 0 0 6px;
}
.cpc-latest-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    background: #F0564A;
    border-radius: 2px;
    margin: 12px auto 0;
}
.cpc-latest-sub {
    text-align: center;
    color: #66788a;
    margin: 0 0 30px;
    font-size: 1.05rem;
}
.cpc-latest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.cpc-latest-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(46,58,69,.09);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease;
}
.cpc-latest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(46,58,69,.15);
}
.cpc-latest-img {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #FDF8F0;
}
.cpc-latest-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cpc-latest-noimg {
    display: block;
    width: 100%;
    height: 100%;
    background: #FDEEE7;
}
.cpc-latest-name {
    color: #2E3A45;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.02rem;
    line-height: 1.4;
    padding: 14px 16px 4px;
}
.cpc-latest-meta {
    color: #189A94;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 0 16px 16px;
}
@media (max-width: 900px) {
    .cpc-latest-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 560px) {
    .cpc-latest {
        padding: 40px 0;
    }
    .cpc-latest-grid {
        gap: 14px;
    }
    .cpc-latest-title {
        font-size: 1.6rem;
    }
    .cpc-latest-name {
        font-size: .92rem;
    }
}
