/* Hospice Care page only: show the complete new landscape images and align FAQ cards. */
.page-id-634 .mmh-services-feature img,
.page-id-634 .mmh-service-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2560 / 1396;
  object-fit: contain;
}
/* Improve desktop sharpness: the tall 540px crop enlarged this wide source.
   Widen the photo column, reduce crop to ~18%, then center it alongside the list. */
@media (min-width: 901px) {
  .page-id-634 .mmh-services-feature .mmh-services-feature-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: clamp(30px, 3.5vw, 48px);
    align-items: center;
  }
  .page-id-634 .mmh-services-feature .mmh-services-feature-grid > img {
    height: auto;
    aspect-ratio: 1.5 / 1;
    object-fit: cover;
    object-position: center center;
    align-self: center;
    border-radius: 16px;
  }
}
@media (max-width: 900px) {
  /* Once the section stacks, show the entire landscape photo without cropping. */
  .page-id-634 .mmh-services-feature .mmh-services-feature-grid > img {
    height: auto;
    aspect-ratio: 2560 / 1396;
    object-fit: contain;
  }
}
.page-id-634 .mmh-service-card-body > p:last-child {
  margin-top: 0;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .page-id-634 .mmh-service-cards {
    align-items: start;
  }
  .page-id-634 .mmh-service-card-body {
    flex: 0 1 auto;
  }
}
@media (min-width: 701px) and (max-width: 900px) {
  /* Three cards form two columns at tablet widths; center the single last card. */
  .page-id-634 .mmh-service-cards > .mmh-service-card:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    box-sizing: border-box;
    width: calc(50% - 11px);
  }
}
@media (max-width: 700px) {
  /* One card per row on phones: preserve the normal full card width. */
  .page-id-634 .mmh-service-cards > .mmh-service-card:last-child {
    grid-column: auto;
    width: auto;
  }
}
