/* --------------------------------------------------------------------------
   Finanzas
   -------------------------------------------------------------------------- */

.finances-page .finances-hero {
    --any-hero-image: url('/img/finances/finances.webp');
    --any-hero-position: 70% center;
}

.finances-page .finances-metric-card,
.finances-page .finances-table-card {
    border: 1px solid var(--bs-border-color-translucent);
    background: var(--bs-card-bg);
    box-shadow: var(--bs-box-shadow-sm);
}

.finances-page .finances-metric-label {
    color: var(--bs-secondary-color);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.finances-page .finances-metric-value {
    font-size: clamp(1.65rem, 2.5vw, 2.25rem);
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

.finances-page .finances-table-card {
    overflow: hidden;
}

.finances-page .finances-table-card .card-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--bs-border-color-translucent);
    background: var(--bs-card-bg);
    font-weight: 650;
}

.finances-page .finances-table-card .any-table-title th {
    background-color: var(--any-surface-secondary) !important;
}

.finances-page .finances-table-card .table > :not(caption) > * > * {
    padding: 0.85rem 1.25rem;
}

.finances-page .finances-table-card tfoot th {
    border-top: 1px solid var(--bs-border-color-translucent);
    background: var(--bs-tertiary-bg);
}

@media (max-width: 575.98px) {
    .finances-page .finances-table-card .table > :not(caption) > * > * {
        padding: 0.75rem 1rem;
    }
}
