.dpge-post-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 2rem 0;
}

.dpge-post {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    padding-bottom: 100%;
}

.dpge-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.dpge-post-content {
    max-width: 100%;
}

.dpge-centered-img {
    width: 95%;
    margin: 0 auto;
}

.dpge-centered-img img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
    .dpge-post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .dpge-post-grid {
        grid-template-columns: 1fr;
    }
}
