/* Home service cards: content and links share the same padded grid. */
@media screen and (min-width: 992px) {
  .hth-home-services .service-card.service-card-mobile {
    box-sizing: border-box;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) minmax(2.4em, auto) minmax(3.9em, auto) auto;
    gap: 16px;
    height: 410px;
    min-height: 410px;
    padding: 20px;
    background-size: 100% 100%;
    align-items: start;
  }
  .hth-home-services .service-card > .image-service-mobile {
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    object-fit: contain;
    align-self: stretch;
  }
  .hth-home-services .service-card > .heading-12,
  .hth-home-services .service-card > .text-block-6 {
    width: auto;
    height: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    align-self: start;
  }
  .hth-home-services .service-card > .heading-12 { line-height: 1.2; }
  .hth-home-services .service-card > .text-block-6 { line-height: 1.3; }
  .hth-home-services .service-card > .service-card-link-block {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0;
    display: flex !important;
    align-items: center;
    justify-self: start;
    align-self: end;
    gap: 2px;
    line-height: 20px;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .hth-home-services .service-card-link-block > img {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    object-fit: contain;
  }
}
@media screen and (min-width: 1440px) {
  .hth-home-services .service-card.service-card-mobile {
    height: 520px;
    min-height: 520px;
    grid-template-rows: minmax(0, 1fr) minmax(26px, auto) minmax(3.9em, auto) auto;
  }
}
