/* State-to-state pages (single-state-pair-template.php). Loaded only on pair pages, after state-page.css. */

.state-pair-page .state-pair-facts,
.single-page-wrapper .content-wrapper ul.state-pair-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.state-pair-page .state-pair-facts li {
    margin: 0;
    padding: 14px 16px;
    background: #f5f8ff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
}

.state-pair-page .state-pair-facts__label {
    display: block;
    margin-bottom: 4px;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.state-pair-page .state-pair-facts__value {
    display: block;
    color: var(--e-global-color-secondary);
    font-size: 20px;
    font-weight: 700;
}

.state-pair-page .state-links {
    margin: 0 0 12px;
}

.state-layout-new .state-table--pair {
    min-width: 520px;
}

.state-layout-new .state-table--pair-noprice {
    min-width: 420px;
}

.state-layout-new .state-table--pair td:first-child {
    min-width: 200px;
}

@media (max-width: 767px) {
    .state-layout-new .state-table--pair,
    .state-layout-new .state-table--pair-noprice {
        min-width: 0;
    }
}
