.cmc-sponsored-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    margin-top: 20px;
}

.cmc-sponsored-post-card {
    border-radius: 16px;
    background: #fff;
    position: relative;
}

.cmc-sponsored-post-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.cmc-sponsored-post-media {
    aspect-ratio: 16 / 9;
    background: #f3f3f3;
    overflow: hidden;
    border-radius: 0;
}

.cmc-sponsored-post-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.cmc-sponsored-post-content {
    padding: 0;
}

.cmc-sponsored-post-title {
    margin: 13px 0 10px 0;
    font-size: 1.25rem;
    line-height: 1.3;
    font-family: "Playfair Display", serif !important;
}

.cmc-sponsored-post-meta {
    margin: 0;
    font-size: 11px;
}

.cmc-sponsored-post-meta time {
    color: #767676;
}

.cmc-sponsored-post-author {
    font-family: "Nunito Sans";
    color: #000;
    font-weight: bold;
}

.cmc-sponsored-post-separator {
    margin: 0 8px;
}

.cmc-sponsored-post-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: rgba(116, 139, 186, 0.9);
    color: white;
    display: block;
    padding: 4px 6px 4px 6px;
	line-height: 1;
	font-size: 10px;
    width: fit-content;
    font-family: "Nunito Sans", sans-serif;
}

@media (max-width: 900px) {
    .cmc-sponsored-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .cmc-sponsored-posts-grid {
        grid-template-columns: 1fr;
    }
}

/** * BADGE
 */
/* .badge {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
}

.badge::before,
.badge::after {
    position: absolute;
    z-index: -1;
    content: "";
    display: block;
    border: 5px solid #5472ad;
}

.badge span {
    position: absolute;
    display: block;
    width: 214px;
    padding: 5px 0;
    background-color: #748BBA;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    text-align: center;
}


.badge-top-right {
    top: -10px;
    right: -10px;
}

.badge-top-right::before,
.badge-top-right::after {
    border-top-color: transparent;
    border-right-color: transparent;
}

.badge-top-right::before {
    top: 0;
    left: 0;
}

.badge-top-right::after {
    bottom: 0;
    right: 0;
}

.badge-top-right span {
    left: -20px;
    top: 50px;
    transform: rotate(45deg);
} */
