/* GAM-012: compact shared shop strip and relax narrow single-column headings. */

@media (max-width: 1250px) {
  body > .shop > .wrap {
    row-gap: 1px;
    padding-top: 7px;
    padding-bottom: 5px;
  }

  body > .shop > .wrap > .shop-identity > .shop-address .tellink {
    min-height: 28px;
  }

  body.paid-search-page > .shop > .wrap {
    row-gap: 0;
    padding-top: 5px;
    padding-bottom: 6px;
  }

  body.paid-search-page > .shop > .wrap > .shop-identity > .caps {
    padding-top: 0;
  }
}

body > .shop .caps {
  flex: 0 0 auto;
}

@media (max-width: 699px) {
  body > .shop > .wrap > .shop-identity {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 12px;
    row-gap: 0;
  }

  body > .shop > .wrap > .shop-identity > .shop-address {
    width: auto;
    min-width: 0;
    max-width: 100%;
    flex: 0 1 auto;
  }
}

@media (min-width: 531px) and (max-width: 1250px) {
  html body.paid-search-page[data-paid-lander] > .shop > .wrap > .shop-identity > .caps {
    display: block;
  }
}

@media (max-width: 530px) {
  html body.paid-search-page[data-paid-lander] > .shop > .wrap > .shop-identity > .caps {
    display: none;
  }
}

/* Single-column heroes may use the full available copy width. */
@media (max-width: 880px) {
  .hero h1,
  .phero h1,
  .ac-service-title h1,
  .paid-landing-hero h1 {
    max-width: none;
    width: auto;
  }
}

/* Match the already-verified tablet composition through the brake-art seam. */
@media (min-width: 1100px) and (max-width: 1280px) {
  .r35-brake-art img {
    width: 150%;
    transform: translate(-64%, -50%);
  }
}
