/* Explicit twenty-city adoption of the approved Toronto hero composition.
   Toronto and every other page family do not load or match this opt-in. */
.wave4-location[data-city-structure="toronto-standard"] .h-local-hero {
  grid-template-columns: 1fr;
  gap: 46px;
}
.wave4-location[data-city-structure="toronto-standard"] .h-local-hero header {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0 90px;
  order: 0;
}
.wave4-location[data-city-structure="toronto-standard"] .h-local-hero .h-eyebrow { grid-column: 1/-1; }
.wave4-location[data-city-structure="toronto-standard"] .h-local-hero .h-hero-support { margin-top: 0; align-self: center; }
.wave4-location[data-city-structure="toronto-standard"] .h-local-hero .h-actions { grid-column: 2; }
.wave4-location[data-city-structure="toronto-standard"] .h-local-hero .h-photo { aspect-ratio: 16/8; }
.wave4-location[data-city-structure="toronto-standard"] .h-local-hero > * { min-width: 0; }
.wave4-location[data-city-structure="toronto-standard"] :is(h1,h2,h3,p,li,a) { overflow-wrap: anywhere; }
.wave4-location[data-city-structure="toronto-standard"] .h-button { white-space: normal; max-width: 100%; }
.wave4-location[data-city-structure="toronto-standard"] .city-local-context { max-width: 75ch; }
.wave4-location[data-city-structure="toronto-standard"] .r-local-service:first-child { display: grid; grid-column: 1/-1; }
.wave4-location[data-city-structure="toronto-standard"] .r-local-service:first-child .h-photo { margin: 0; }
.wave4-location[data-city-structure="toronto-standard"] .r-local-service:nth-child(2) { margin-top: 0; }
.wave4-location[data-city-structure="toronto-standard"] .r-local-service .h-photo { aspect-ratio: 3/2; }
.wave4-location[data-city-structure="toronto-standard"] .r-local-service .h-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .wave4-location[data-city-structure="toronto-standard"] .h-local-hero { gap: 36px; }
  .wave4-location[data-city-structure="toronto-standard"] .h-local-hero header { display: block; }
  .wave4-location[data-city-structure="toronto-standard"] .h-local-hero .h-hero-support { margin-top: 26px; }
  .wave4-location[data-city-structure="toronto-standard"] .h-local-hero .h-photo { aspect-ratio: 16/10; }
}
