.cbad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
    padding: 20px;
}

.cbad-post {
    position: relative;
    border-radius: 60px 0px 60px 0px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    aspect-ratio: 4/3;
}

.cbad-post:hover {
    transform: translateY(-5px);
}

.cbad-post-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cbad-post-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.4) 50%,
        rgba(0,0,0,0.7) 100%
    );
}

.cbad-post-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    color: #fff;
}

.cbad-category {
    display: inline-block;
    background-color: #8e44ad;
    color: #fff;
    padding: 4px 20px;
    border-radius: 20px 0px 20px 0px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.cbad-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 600;
    max-width: 90%;
}

.cbad-title a {
    color: #fff !important;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cbad-title a:hover {
    color: #f0f0f0;
}

@media (max-width: 768px) {
    .cbad-grid {
        grid-template-columns: 1fr;
    }
    
    .cbad-post {
        aspect-ratio: 16/9;
    }

    .cbad-post-content {
        padding: 30px;
    }

    .cbad-title {
        font-size: 24px;
    }
} 