@media (max-width: 767px) {
  .page-id-2 .services-intro + .is-style-content-stack-tight {
    margin-block-start: var(--wp--preset--spacing--24);
  }

  .page-id-2 .services-card .wp-block-cover__inner-container > .is-style-content-stack > .is-style-content-stack-tight {
    width: 74%;
    max-width: 74%;
    margin-inline: 0 auto;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .page-id-2 .services-intro + .is-style-content-stack-tight {
    margin-block-start: var(--wp--preset--spacing--32);
  }

  .page-id-2 .services-intro + .is-style-content-stack-tight > .wp-block-columns {
    flex-direction: column;
  }

  .page-id-2 .services-intro + .is-style-content-stack-tight > .wp-block-columns > .wp-block-column {
    flex-basis: 100% !important;
    width: 100%;
  }
}

.page-id-2 .services-card > .wp-block-cover__image-background {
  inset: 0 0 0 auto;
  width: auto;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.page-id-2 .services-card--plastic { background-color: var(--wp--preset--color--mega-plastic); }
.page-id-2 .services-card--nonsurgical { background-color: var(--wp--preset--color--mega-nonsurgical); }
.page-id-2 .services-card--intimate { background-color: var(--wp--preset--color--mega-intimate); }

.page-id-2 .services-card--plastic > .wp-block-cover__background {
  background: linear-gradient(90deg, #22383c 0%, #22383c 48%, rgb(34 56 60 / 96%) 58%, rgb(34 56 60 / 38%) 76%, transparent 100%);
}

.page-id-2 .services-card--nonsurgical > .wp-block-cover__background {
  background: linear-gradient(90deg, #504a46 0%, #504a46 48%, rgb(80 74 70 / 96%) 58%, rgb(80 74 70 / 38%) 76%, transparent 100%);
}

.page-id-2 .services-card--intimate > .wp-block-cover__background {
  background: linear-gradient(90deg, #cfcdc7 0%, #cfcdc7 48%, rgb(207 205 199 / 96%) 58%, rgb(207 205 199 / 38%) 76%, transparent 100%);
}

.page-id-2 .services-card .wp-block-buttons.is-style-actions {
  margin: 0 !important;
}
