.cvp-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
}

.cvp-post {
    display: flex;
    flex-direction: row;
    align-items: center;
	max-width: 475px;  /* desktop limit */
    height: 222px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.cvp-post:hover {
    transform: scale(1.01);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.cvp-black { background-color: #000; }
.cvp-red { background-color: #ff0000; }

.cvp-image {
    flex-shrink: 0;
    width: 170px;
    height: 222px;
    background-color: #fff;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.cvp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

.cvp-post:hover .cvp-image img {
    transform: scale(1.1);
}

.cvp-content {
    flex-grow: 1;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 15px;
}

.cvp-title {
    text-transform: uppercase;
    margin: 0;
    font-size: 1.1rem;
}

.cvp-line {
    width: 50px;
    height: 2px;
    background-color: #fff;
    margin: 8px auto 0 auto;
}


.cvp-date {
    color: #ffffff;
    font-size: 14px;
    margin-top: 3px;
}


@media (max-width: 1024px) {
    .cvp-post {
        flex-direction: row;
        height: 200px;
    }
    .cvp-image {
        width: 150px;
        height: 200px;
    }
    .cvp-title { font-size: 1rem; }
}

@media (max-width: 768px) {
    .cvp-post {
        flex-direction: column;
        height: auto;
    }
    .cvp-image {
        width: 100%;
        height: 200px;
    }
    .cvp-content { padding: 10px 0; }
}

@media (min-width: 2560px) {
    .cvp-post { height: 222px; }
    .cvp-image { width: 170px; height: 222px; }
}
