/* S40: keep catalogue cards and long headings within narrow containers. */
.categories-grid.catalog-categories-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
}

.catalog-categories-grid .category-body h3,
.catalog-seo-text h2 {
    overflow-wrap: anywhere;
}
