/* MASTER-PACK 0.7.65 — medium-desktop company detail heading fit.
 * Keep the three-column company layout readable around laptop/desktop widths without
 * changing catalogue routes, mobile layouts or the selected homepage.
 */

@media (min-width: 981px) and (max-width: 1599px) {
    .mp-company-page .mp-catalog-detail-card h2 {
        font-size: clamp(34px, 2.65vw, 40px);
        line-height: 1.04;
        letter-spacing: -0.03em;
        overflow-wrap: break-word;
        word-break: normal;
    }
}

/* Contacts are the only company route with the direct-contact block before the
 * enquiry form. Explicitly allow those grid/flex descendants to shrink instead
 * of letting their intrinsic inline size widen the document at desktop widths. */
.mp-company-contacts .mp-catalog-extra-card,
.mp-company-contacts .mp-catalog-extra-card li,
.mp-company-contacts .mp-catalog-extra-card a,
.mp-company-contacts .mp-catalog-contact > *,
.mp-company-contacts .mp-catalog-form,
.mp-company-contacts .mp-form-grid > * {
    min-width: 0;
}

.mp-company-contacts .mp-catalog-extra-card a,
.mp-company-contacts .mp-catalog-facts li {
    overflow-wrap: anywhere;
}
