
/* V6.2.8 — CONCLUÍDAS NO MESMO PADRÃO VISUAL DA CAMPANHA ATIVA
   Somente a seção "Concluídas" é alterada. */

.completed-active-style-list{
    width:100%;
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
}

.completed-active-style-card{
    width:100%;
    display:block;
    overflow:hidden;
    border:1px solid #e2e2e7;
    border-radius:18px;
    background:#fff;
    color:#18181d;
    box-shadow:0 6px 22px rgba(20,20,30,.045);
    transition:.18s transform,.18s box-shadow,.18s border-color;
}
.completed-active-style-card:hover{
    transform:translateY(-1px);
    border-color:color-mix(in srgb,var(--brand) 20%,#ddd);
    box-shadow:0 12px 34px rgba(20,20,30,.075);
}

.completed-active-media{
    position:relative;
    width:100%;
    height:380px;
    overflow:hidden;
    background:#f1f1f4;
}
.completed-active-media img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.completed-active-placeholder{
    position:absolute;
    inset:0;
    display:grid;
    place-items:center;
    color:#aaaab2;
    font-size:38px;
}
.completed-active-media em{
    position:absolute;
    top:16px;
    left:16px;
    z-index:2;
    padding:9px 12px;
    border-radius:10px;
    background:#18181e;
    color:#fff;
    font-size:9px;
    line-height:1;
    font-style:normal;
    font-weight:950;
    text-transform:uppercase;
    letter-spacing:.04em;
    box-shadow:0 7px 18px rgba(0,0,0,.18);
}

.completed-active-body{
    padding:18px 18px 16px;
}
.completed-active-title small{
    display:block;
    margin-bottom:4px;
    color:#888891;
    font-size:8px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.06em;
}
.completed-active-title h3{
    margin:0;
    font-size:21px;
    line-height:1.12;
    letter-spacing:-.03em;
}
.completed-active-title p{
    margin:6px 0 0;
    color:#7e7e87;
    font-size:10px;
    line-height:1.4;
}

.completed-active-info{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:8px;
    margin-top:15px;
}
.completed-active-info>div{
    min-width:0;
    min-height:62px;
    padding:10px 11px;
    border:1px solid #e5e5ea;
    border-radius:12px;
    background:#fafafd;
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.completed-active-info small{
    display:block;
    color:#8b8b94;
    font-size:8px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.05em;
}
.completed-active-info strong{
    display:block;
    margin-top:4px;
    color:#222228;
    font-size:11px;
    line-height:1.2;
    font-weight:900;
    overflow:hidden;
    text-overflow:ellipsis;
}

/* Desktop: proportion close to active campaign card, but without purchase controls. */
@media(min-width:901px){
    .completed-active-style-card{
        max-width:100%;
    }
    .completed-active-media{
        height:430px;
    }
    .completed-active-title h3{
        font-size:23px;
    }
}

/* Mobile: image on top + three info boxes exactly under it */
@media(max-width:700px){
    .completed-active-style-list{
        gap:10px;
    }
    .completed-active-style-card{
        border-radius:16px;
    }
    .completed-active-media{
        height:auto;
        aspect-ratio:16/10.4;
    }
    .completed-active-media em{
        top:10px;
        left:10px;
        padding:7px 9px;
        border-radius:8px;
        font-size:8px;
    }
    .completed-active-body{
        padding:13px 13px 12px;
    }
    .completed-active-title h3{
        font-size:17px;
    }
    .completed-active-title p{
        font-size:9px;
    }
    .completed-active-info{
        grid-template-columns:repeat(3,1fr);
        gap:6px;
        margin-top:11px;
    }
    .completed-active-info>div{
        min-height:58px;
        padding:8px 7px;
        border-radius:10px;
    }
    .completed-active-info small{
        font-size:7px;
    }
    .completed-active-info strong{
        font-size:9px;
    }
}

@media(max-width:420px){
    .completed-active-info strong{
        font-size:8.5px;
    }
}
