/* BARAMA_MARKETPLACE_HERO_HEADING_FLOW_V112 */
/*
 * Preserve the existing Hero layout.
 * Short headings take their natural single-line width when room exists.
 * Long headings wrap automatically at the available responsive width.
 */
@media (min-width: 768px) {
    .marketplace-config-hero .marketplace-hero__grid > div:first-child {
        min-width: 0;
        flex: 1 1 auto;
    }

    .marketplace-config-hero .marketplace-hero__grid h1 {
        width: max-content;
        max-width: min(100%, 780px);
        white-space: normal;
        text-wrap: wrap;
    }
}

@media (max-width: 767.98px) {
    .marketplace-config-hero .marketplace-hero__grid h1 {
        width: auto;
        max-width: 100%;
        white-space: normal;
        text-wrap: wrap;
    }
}
