/* iHost v1.7 — spacing for rows of PHP-generated cards. Layout only. */
/* Bootstrap card columns in pricing, brand, portfolio and service grids. */
body .row > [class*="col-"]:has(> .pt-pricebox-1),
body .row > [class*="col-"]:has(> .pt-pricebox-2) {
  margin-bottom: 28px !important;
  min-width: 0;
}
body .row > [class*="col-"] > .pt-pricebox-1,
body .row > [class*="col-"] > .pt-pricebox-2 {
  height: 100% !important;
  min-height: 0;
  margin: 0 !important;
}
/* Allocate column height so 100%-height boxes cannot visually touch the next row. */
body .row > [class*="col-"]:has(> .pt-pricebox-1) > .pt-pricebox-1,
body .row > [class*="col-"]:has(> .pt-pricebox-2) > .pt-pricebox-2 {
  height: 100% !important;
}
/* Additional card types used throughout the PHP templates. */
body .row > [class*="col-"]:has(> .pt-icon-box),
body .row > [class*="col-"]:has(> .pt-service-box),
body .row > [class*="col-"]:has(> .pt-blog-post),
body .row > [class*="col-"]:has(> .pt-fancy-box),
body .row > [class*="col-"]:has(> .pt-pricing-table) {
  margin-bottom: 24px !important;
  min-width: 0;
}
/* Avoid double vertical margin from legacy utility classes. */
@media (max-width: 767px) {
  body .row > [class*="col-"]:has(> .pt-pricebox-1),
  body .row > [class*="col-"]:has(> .pt-pricebox-2) { margin-bottom: 22px !important; }
}
