/* Platform-wide facts-strip component (booking page redesign, 2026-10-03).
   A record's key facts in one quiet row: each fact is a small muted label over
   its value, with a hairline between facts. On a phone the facts wrap to two
   columns and lose the hairlines. An address carries two spellings: plain text
   on a wide screen, an Apple Maps link on a phone. Tokens only. */

.global-facts {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: var(--spacing-sm);
    margin: 0;
    min-width: 0;
}

/* Two classes deep so it still wins over the phone grid below. */
.global-facts.global-facts:empty {
    display: none;
}

.global-facts__item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xs);
    min-width: 0;
    padding: 0 var(--spacing-md);
    border-left: 1px solid var(--color-grey-200);
}

.global-facts__item:first-child {
    padding-left: 0;
    border-left: 0;
}

.global-facts__label {
    margin: 0;
    font-size: var(--font-size-xs);
    font-weight: normal;
    color: var(--color-text-secondary);
}

.global-facts__value {
    margin: 0;
    font-size: var(--font-size-md);
    color: var(--color-text);
}

.global-facts__value--address {
    overflow-wrap: anywhere;
}

.global-facts__narrow {
    display: none;
}

.global-facts__link {
    color: var(--color-action);
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .global-facts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--spacing-smd) var(--spacing-md);
    }

    .global-facts__item {
        padding: 0;
        border-left: 0;
    }

    .global-facts__wide {
        display: none;
    }

    .global-facts__narrow {
        display: inline;
    }

    .global-facts__link {
        display: inline-flex;
        align-items: center;
        min-height: var(--control-h-touch);
    }
}
