/* Relationship section: align stats properly */

.relationship-box .row {
    align-items: center;
}

.relationship-box .col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 160px;
}

.relationship-box h1 {
    margin-bottom: 8px;
    line-height: 1.1;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 2px;
}

.relationship-box p {
    margin-bottom: 0;
}

/* Mobile & Tablet */
@media (max-width: 1024px) {
    .relationship-box .col {
        min-height: 120px;
        margin-bottom: 20px;
    }

    .relationship-box h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .relationship-box {
        padding: 30px 20px !important;
    }

    .relationship-box .row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin: 0 !important;
    }

    .relationship-box .col {
        min-height: 80px;
        margin-bottom: 0 !important;
        padding: 0 !important;
    }

    .relationship-box .col:nth-child(3) {
        grid-column: 1 / 2;
    }

    /* $400K+ stays in grid position */
    .relationship-box .col:nth-child(3) {
        grid-column: 1 / 2;
    }

    /* Show image on mobile next to $400K+ */
    .relationship-box .col:nth-child(4) {
        display: flex !important;
        grid-column: 2 / 3;
        grid-row: 2;
        justify-content: center;
        align-items: center;
    }

    .relationship-box h1 {
        font-size: 1.75rem !important;
    }

    .relationship-box p {
        font-size: 0.875rem !important;
    }

    .relationship-box .col:nth-child(4) img {
        position: static !important;
        width: 110px !important;
        height: auto !important;
        margin: 0 !important;
    }
}
