/**
 * Estilos do Catálogo de Campanhas — Elo do Bem
 * Design System UI/UX Pro Max
 */
.elo-campaigns-catalog {
    max-width: 900px;
}

.elo-catalog-header {
    text-align: center;
    margin-bottom: 24px;
}
.elo-catalog-title {
    font-size: 1.85rem;
    font-weight: 900;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, #10B981, #F59E0B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.elo-catalog-subtitle {
    font-size: 0.95rem;
    color: var(--elo-text-muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Barra de Filtros e Busca */
.elo-catalog-filters-wrap {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.elo-catalog-search-box {
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--elo-glass-border);
    border-radius: var(--elo-radius-pill);
    padding: 8px 16px;
    gap: 10px;
    backdrop-filter: var(--elo-glass-blur);
}
.elo-catalog-search-box svg {
    width: 18px;
    height: 18px;
    color: var(--elo-text-muted);
    flex-shrink: 0;
}

.elo-church-tabs-wrap {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
}
.elo-church-tabs-wrap::-webkit-scrollbar { display: none; }

.elo-church-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--elo-radius-pill);
    border: 1px solid var(--elo-glass-border);
    background: rgba(15, 23, 42, 0.4);
    color: var(--elo-text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--elo-transition);
}
.elo-church-tab svg { width: 14px; height: 14px; }
.elo-church-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
}
.elo-church-tab.active {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--elo-primary);
    color: #34d399;
    font-weight: 700;
}

/* Grid de Cards */
.elo-campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.elo-campaign-card {
    background: var(--elo-glass-bg);
    border: 1px solid var(--elo-glass-border);
    border-radius: var(--elo-radius-lg);
    overflow: hidden;
    backdrop-filter: var(--elo-glass-blur);
    box-shadow: var(--elo-card-shadow);
    display: flex;
    flex-direction: column;
    transition: var(--elo-transition);
}
.elo-campaign-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.elo-card-cover-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    background: #0f172a;
}
.elo-card-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.elo-campaign-card:hover .elo-card-cover {
    transform: scale(1.05);
}

.elo-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Badge de Igreja */
.elo-card-church-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--elo-radius-pill);
    color: #fbbf24;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 10px;
    width: fit-content;
}
.elo-church-logo-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: cover;
}
.elo-card-church-badge svg { width: 12px; height: 12px; }

.elo-card-title {
    font-size: 1.12rem;
    font-weight: 800;
    margin: 0 0 8px 0;
    line-height: 1.35;
}
.elo-card-title a {
    color: #f8fafc;
    text-decoration: none;
    transition: color 0.2s;
}
.elo-card-title a:hover {
    color: #34d399;
}

.elo-card-excerpt {
    font-size: 0.82rem;
    color: var(--elo-text-muted);
    line-height: 1.45;
    margin: 0 0 14px 0;
}

.elo-card-finance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.5);
    border-radius: var(--elo-radius-sm);
    padding: 8px 12px;
    margin-bottom: 12px;
}
.elo-card-stat {
    display: flex;
    flex-direction: column;
}
.elo-card-stat-right {
    text-align: right;
    align-items: flex-end;
}
.elo-card-stat-lbl {
    font-size: 0.7rem;
    color: var(--elo-text-muted);
}
.elo-card-stat-val {
    font-size: 1rem;
    font-weight: 800;
    color: #34d399;
}
.elo-card-stat-rem {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fbbf24;
}

.elo-progress-mini {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.elo-progress-mini .elo-progress-bar-bg {
    flex: 1;
    height: 6px;
}
.elo-progress-mini .elo-progress-pct {
    font-size: 0.75rem;
}

.elo-card-action {
    margin-top: auto;
}
.elo-btn-block {
    width: 100%;
}
