/* Native blocks retain the site's existing type, colors, borders and spacing. */
.sa-international-proof {
    scroll-margin-top: 120px;
}
.sa-international-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.sa-international-grid > .sa-international-country,
.sa-client-country-field,
.sa-client-country-card,
.sa-international-related-links {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.sa-international-proof .sa-international-client-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0 14px;
    align-content: start;
}
.sa-international-proof .sa-international-client-links > p {
    margin: 0;
}
.sa-international-client-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    max-width: 100%;
}
.sa-international-proof a:focus-visible,
.sa-client-country-card a:focus-visible,
.sa-international-related-links a:focus-visible {
    outline: 2px solid var(--wp--preset--color--custom-red, #b8352b);
    outline-offset: 3px;
}
@media (max-width: 900px) {
    .sa-international-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 767px) {
    .sa-international-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    /* Keep these two existing hero grids/CTA rows within the mobile column. */
    body.page-id-138 .main-banner-grid,
    body.page-id-797 .main-banner-grid {
        min-width: 0;
        max-width: 100%;
        grid-template-columns: minmax(0, 1fr) !important;
    }
    body.page-id-138 .main-banner-grid > .wp-block-group:first-child,
    body.page-id-797 .main-banner-grid > .wp-block-group:first-child,
    body.page-id-138 .main-banner-grid > .wp-block-group:first-child > .wp-block-buttons,
    body.page-id-797 .main-banner-grid > .wp-block-group:first-child > .wp-block-buttons,
    body.page-id-138 .main-banner-grid > .wp-block-group:first-child > .wp-block-buttons > .wp-block-button,
    body.page-id-797 .main-banner-grid > .wp-block-group:first-child > .wp-block-buttons > .wp-block-button {
        min-width: 0;
        max-width: 100%;
    }
    body.page-id-138 .main-banner-grid > .wp-block-group:first-child > .wp-block-buttons,
    body.page-id-797 .main-banner-grid > .wp-block-group:first-child > .wp-block-buttons {
        flex-wrap: wrap;
    }
    body.page-id-138 .main-banner-grid > .wp-block-group:first-child .wp-block-button__link,
    body.page-id-797 .main-banner-grid > .wp-block-group:first-child .wp-block-button__link {
        box-sizing: border-box;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    body.page-id-138 .main-banner-grid > .wp-block-group:first-child > h1,
    body.page-id-797 .main-banner-grid > .wp-block-group:first-child > h1 {
        overflow-wrap: anywhere;
    }
    body.page-id-797 .main-banner-grid > .wp-block-group:nth-child(2) > p.has-ibm-plex-mono-font-family:last-child {
        overflow-wrap: anywhere;
    }
    /* Services 571 loses its copied lifecycle in its approved native rebuild. */
    body.page-id-797 .build-product-filter > .wp-block-group.is-layout-flex {
        min-width: 0;
        max-width: 100%;
        flex-wrap: wrap !important;
    }
    /* Let the actual documented URL wrap, preserving its visible text/href. */
    body.page-id-3633 .entry-content p:has(> a[href="https://developers.facebook.com/"]) {
        min-width: 0;
        max-width: 100%;
    }
    body.page-id-3633 .entry-content a[href="https://developers.facebook.com/"] {
        overflow-wrap: anywhere;
    }
    /* Contact's existing image/text/arrow link card stays fully visible. */
    body.page-id-6790 .custom-link-wrapper-block:is([href="/case-studies/"], [href="https://www.sleekalgo.com/case-studies/"]) {
        min-width: 0;
        max-width: 100%;
    }
    body.page-id-6790 .custom-link-wrapper-block:is([href="/case-studies/"], [href="https://www.sleekalgo.com/case-studies/"]) > .hover-border-red {
        min-width: 0;
        max-width: 100%;
        flex-wrap: wrap !important;
    }
    body.page-id-6790 .custom-link-wrapper-block:is([href="/case-studies/"], [href="https://www.sleekalgo.com/case-studies/"]) > .hover-border-red > .wp-block-group:nth-child(2) {
        min-width: 0;
        max-width: 100%;
        flex: 1 1 12rem;
    }
}
