/* V51: rebalance the integrated-package card to match its larger visual scale. */
@media (min-width: 1051px) {
  .service-category-integrated .service-offer-card {
    display: grid !important;
    grid-template-columns: minmax(210px, 0.72fr) minmax(320px, 1.35fr) 108px !important;
    grid-template-rows: auto auto auto auto !important;
    column-gap: 30px !important;
    row-gap: 15px !important;
    align-items: center !important;
    min-height: 0 !important;
    padding: 44px 48px !important;
  }

  html[dir="rtl"] .service-category-integrated .service-offer-card {
    grid-template-areas:
      "price copy badge"
      "price copy icon"
      "features features icon"
      "action action ." !important;
  }

  html[dir="ltr"] .service-category-integrated .service-offer-card {
    grid-template-areas:
      "badge copy price"
      "icon copy price"
      "icon features features"
      ". action action" !important;
  }

  .service-category-integrated .service-offer-badge {
    grid-area: badge;
    justify-self: center !important;
    align-self: end !important;
    margin: 0 !important;
    padding: 9px 14px !important;
    font-size: 0.82rem !important;
  }

  .service-category-integrated .service-offer-icon {
    grid-area: icon;
    justify-self: center !important;
    align-self: start !important;
    margin: 0 !important;
  }

  .service-category-integrated .service-offer-copy {
    grid-area: copy;
    gap: 9px !important;
    align-self: center !important;
  }

  .service-category-integrated .service-offer-copy strong {
    font-size: clamp(1.55rem, 2vw, 1.9rem) !important;
    line-height: 1.45 !important;
  }

  .service-category-integrated .service-offer-copy > span {
    min-height: 0 !important;
    max-width: 620px;
    font-size: 1rem !important;
    line-height: 1.85 !important;
  }

  .service-category-integrated .service-offer-price {
    grid-area: price;
    justify-self: center !important;
    align-self: center !important;
    margin: 0 !important;
    font-size: 1.38rem !important;
    line-height: 1.5 !important;
    white-space: nowrap;
  }

  .service-category-integrated .service-offer-features {
    grid-area: features;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px 24px !important;
    align-self: center !important;
    margin: 7px 0 5px !important;
  }

  .service-category-integrated .service-offer-features li {
    font-size: 0.91rem !important;
    line-height: 1.75 !important;
  }

  .service-category-integrated .service-offer-action {
    grid-area: action;
    justify-self: end !important;
    align-self: end !important;
    margin: 0 !important;
    padding: 13px 24px !important;
    font-size: 0.9rem !important;
  }
}

@media (min-width: 651px) and (max-width: 1050px) {
  .service-category-integrated .service-offer-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 90px !important;
    grid-template-rows: auto auto auto auto auto !important;
    column-gap: 24px !important;
    row-gap: 15px !important;
    padding: 36px !important;
  }

  html[dir="rtl"] .service-category-integrated .service-offer-card {
    grid-template-areas:
      "copy badge"
      "copy icon"
      "price price"
      "features features"
      "action action" !important;
  }

  html[dir="ltr"] .service-category-integrated .service-offer-card {
    grid-template-areas:
      "badge copy"
      "icon copy"
      "price price"
      "features features"
      "action action" !important;
    grid-template-columns: 90px minmax(0, 1fr) !important;
  }

  .service-category-integrated .service-offer-badge {
    grid-area: badge;
    justify-self: center !important;
    margin: 0 !important;
    font-size: 0.78rem !important;
  }

  .service-category-integrated .service-offer-icon {
    grid-area: icon;
    justify-self: center !important;
    margin: 0 !important;
  }

  .service-category-integrated .service-offer-copy {
    grid-area: copy;
    align-self: center !important;
  }

  .service-category-integrated .service-offer-copy strong {
    font-size: 1.45rem !important;
    line-height: 1.5 !important;
  }

  .service-category-integrated .service-offer-copy > span {
    min-height: 0 !important;
    font-size: 0.96rem !important;
  }

  .service-category-integrated .service-offer-price {
    grid-area: price;
    margin: 7px 0 0 !important;
    font-size: 1.26rem !important;
  }

  .service-category-integrated .service-offer-features {
    grid-area: features;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin: 0 0 5px !important;
  }

  .service-category-integrated .service-offer-features li {
    font-size: 0.87rem !important;
  }

  .service-category-integrated .service-offer-action {
    grid-area: action;
    margin: 0 !important;
  }
}

@media (max-width: 650px) {
  .service-category-integrated .service-offer-copy strong {
    font-size: 1.28rem !important;
    line-height: 1.55 !important;
  }

  .service-category-integrated .service-offer-copy > span {
    font-size: 0.9rem !important;
    line-height: 1.8 !important;
  }

  .service-category-integrated .service-offer-price {
    font-size: 1.18rem !important;
  }

  .service-category-integrated .service-offer-features li {
    font-size: 0.82rem !important;
  }
}
