.cc-card-wrapper {
    position: relative;
    background: #fff;
    overflow: hidden; /* Importante para a faixa diagonal */
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

/* --- IMAGEM --- */
.cc-image-container {
    width: 100%;
    overflow: hidden;
}

.cc-image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px; /* Default */
}

/* --- FAIXA / BADGE --- */
.cc-badge {
    position: absolute;
    z-index: 10;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    color: #fff;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Estilo Diagonal (Imagem 1) */
.cc-badge.cc-badge--corner {
    top: 20px;
    left: -30px;
    width: 120px;
    padding: 5px 0;
    transform: rotate(-45deg);
    background: #00C853; /* Verde Default */
}

/* Estilo Pill Central (Imagem 2) */
.cc-badge.cc-badge--pill {
    top: -15px; /* Sobe para ficar metade fora */
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    border-radius: 20px;
    background: linear-gradient(90deg, #00C853, #64DD17);
    white-space: nowrap;
}

/* Se for estilo Pill, precisamos garantir que o overflow do card não corte o badge */
/* Hack: Se usar Pill, geralmente o wrapper pai precisa ter overflow visivel, 
   mas para o exemplo funcionar simples, vamos ajustar via margem na imagem */
.cc-card-wrapper:has(.cc-badge--pill) {
    overflow: visible;
}


/* --- CONTEÚDO --- */
.cc-content {
    padding: 20px 0 0 0;
}

.cc-title {
    margin: 0 0 5px;
    font-size: 24px;
    color: #333;
}

.cc-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.cc-subtitle {
    font-size: 14px;
    color: #777;
}

.cc-stars {
    color: #ffb400;
    font-size: 12px;
}

.cc-divider {
    height: 1px;
    background: #eee;
    margin: 15px 0;
    width: 100%;
}

.cc-description {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* --- BOTÃO --- */
.cc-action {
    display: flex;
    justify-content: flex-start;
}

.cc-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(90deg, #E040FB, #7C4DFF);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.cc-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    color: #fff;
}

.cc-button i {
    transition: transform 0.3s;
}

.cc-button:hover i {
    transform: translateX(5px);
}