/* Reduzir o espaçamento nativo do Astra no topo do conteúdo */
.site-content {
    padding-top: 0 !important;
}

/* ELIMINA A FAIXA ROXA DO ASTRA NO TOPO */
/* ELIMINA O ESPAÇO DO ASTRA APENAS NA PÁGINA DO BLOG/GALERIA */
body.blog #primary.content-area,
body.archive #primary.content-area,
body.blog .site-content,
body.archive .site-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* PAINEL DE FILTROS COM ESPAÇAMENTO SIMÉTRICO DE 30PX */
.galeria-cartoes-wrapper {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 30px auto 30px auto !important; /* 30px topo, auto lados, 30px base */
    padding: 24px 30px !important;
    background: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
    clear: both !important;
}

/* Disposição Interna */
.filtros-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
}

/* Grupos de Filtros */
.grupo-filtros {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: flex-start !important;
}

/* Rótulos */
.filtro-label {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    color: #555555 !important;
    min-width: 140px !important;
    text-align: left !important;
}

/* Botões */
.grupo-filtros button.btn-filtro,
.grupo-filtros .btn-filtro {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    color: #555555 !important;
    padding: 6px 16px !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    margin: 0 !important;
}

/* Hover */
.grupo-filtros button.btn-filtro:hover,
.grupo-filtros .btn-filtro:hover {
    border-color: #999999 !important;
    color: #111111 !important;
    background-color: #fafafa !important;
}

/* Botão Ativo */
.grupo-filtros button.btn-filtro.active,
.grupo-filtros .btn-filtro.active {
    background-color: #222222 !important;
    border-color: #222222 !important;
    color: #ffffff !important;
}