/* GC51: card copy wraps at word boundaries, including iOS/Safari. */
:is(#wow-atlas-spb-active-gc49,#wow-atlas-spb-hotel-gc49,#wow-atlas-spb-food-gc49,
    #wow-atlas-spb-active-gc48,#wow-atlas-spb-hotel-gc48,
    #wow-atlas-active-venues-gc25,#wow-atlas-hotel-ms2,
    #wow-atlas-city-sightseeing-gc24,#wow-atlas-adventure-ux10,#wow-atlas-service-ux9,
    #wow-atlas-editorial-ah14.is-detail,#wow-atlas-food-ah13.is-detail,
    #wow-atlas-wowpick-ah10.is-detail,#wow-atlas-parks-ah9.is-detail,
    #wow-atlas-afisha-ah12.is-detail,
    #wow-atlas-spb-sp1:has([data-sp1-place]),
    #wow-atlas-kh1[data-card-type]:not([data-card-type="list"]),
    #wow-atlas-yoga-ah10:has(.yg-detail-hero),
    .g2-page.g2-place[aria-label="Карточка места"],app-place-v2>.v2),
:is(#wow-atlas-spb-active-gc49,#wow-atlas-spb-hotel-gc49,#wow-atlas-spb-food-gc49,
    #wow-atlas-spb-active-gc48,#wow-atlas-spb-hotel-gc48,
    #wow-atlas-active-venues-gc25,#wow-atlas-hotel-ms2,
    #wow-atlas-city-sightseeing-gc24,#wow-atlas-adventure-ux10,#wow-atlas-service-ux9,
    #wow-atlas-editorial-ah14.is-detail,#wow-atlas-food-ah13.is-detail,
    #wow-atlas-wowpick-ah10.is-detail,#wow-atlas-parks-ah9.is-detail,
    #wow-atlas-afisha-ah12.is-detail,
    #wow-atlas-spb-sp1:has([data-sp1-place]),
    #wow-atlas-kh1[data-card-type]:not([data-card-type="list"]),
    #wow-atlas-yoga-ah10:has(.yg-detail-hero),
    .g2-page.g2-place[aria-label="Карточка места"],app-place-v2>.v2) * {
  -webkit-hyphens:none!important;
  hyphens:none!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}

/* Let a long heading take the full line before its illustration; never shrink
   its words into a narrow fixed column or split them into syllables. */
#wow-atlas-spb-food-gc49:not([data-bars]) .b43-art-heading {
  display:flex!important;
  flex-wrap:wrap;
}
#wow-atlas-spb-food-gc49:not([data-bars]) .b43-art-heading>div {
  flex:1 1 160px;
  min-width:min-content!important;
}
#wow-atlas-spb-food-gc49:not([data-bars]) .b43-art-heading>.b43-art {
  flex:0 0 auto;
}
/* Facts keep complete words too. A longer fact may take a wider cell or a
   separate row instead of forcing a word into a third of a narrow phone. */
#wow-atlas-active-venues-gc25 .av-facts {
  display:flex!important;
  flex-wrap:wrap;
}
#wow-atlas-active-venues-gc25 .av-facts>div {
  flex:1 1 0;
  min-width:min-content!important;
}
/* This street name is a single long word; retain the existing serif and weight
   and size only this heading to the narrow card, without a syllable break. */
#wow-atlas-food-ah13.is-detail:has(.fd-toolbar [data-fd-action="save"][data-id="5132"]) .fd-detail-title h1 {
  font-size:clamp(23px,7.35vw,33px)!important;
}
