/* ==========================================================================
   GROWTHOS CARD NORMALIZATION OVERRIDES
   Ensures all section cards have identical heights and widths.
   ========================================================================== */

/* 1. HOW IT WORKS - FLOW STEPS */
.flow-container {
    display: flex !important;
    align-items: stretch !important; /* Forces all cards to match tallest sibling */
    justify-content: space-between;
    gap: 16px;
}

.flow-step {
    flex: 1 1 0 !important; /* Force identical widths */
    min-width: 0;
    height: auto !important;
    min-height: 0 !important; /* Override legacy 220px min-height */
    padding: 32px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
}

/* 2. OUTCOMES - IMPACT CARDS */
.impact-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    align-items: stretch !important;
    gap: 32px;
}

.impact-card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 48px !important;
    justify-content: center !important;
}

/* 3. STATED NUMBERS - STAT CARDS */
.stats-grid-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    align-items: stretch !important;
    gap: 24px;
}

.stat-card-clean {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* 4. PILLARS - PILLAR ITEMS */
.model-pillars-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    align-items: stretch !important;
}

.pillar-item {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

/* 5. PROBLEM SECTION CARDS */
.problem-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    align-items: stretch !important;
}

.problem-card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

/* 6. SHIFT PILLARS */
.shift-pillars {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    align-items: stretch !important;
}

.shift-pillar {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

/* 7. ARCHITECTURE NODES */
.arch-map {
    display: flex !important;
    align-items: stretch !important;
    flex-wrap: wrap;
}

.arch-node {
    height: auto !important;
    flex: 1 1 calc(33% - 16px) !important;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 900px) {
    .flow-container, .impact-grid, .stats-grid-row, .model-pillars-grid, .problem-grid, .shift-pillars {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    .flow-step, .impact-card, .stat-card-clean, .pillar-item, .problem-card, .shift-pillar {
        width: 100% !important;
        flex: none !important;
        margin-bottom: 20px;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
}
