/* Remote Hand VAs V63 - final card/read-more layout fix
   Fixes the messy Read More placement on homepage Services and Specializations cards.
   This only affects card layout. It does not touch hero, subpage hero, admin, or database. */

body #home-specializations .service-grid,
body #home-services .service-grid,
body .specializations-preview-home .service-grid,
body .services-preview-home .service-grid {
  align-items: stretch !important;
}

body #home-specializations .service-card.rhv-image-card,
body #home-services .service-card.rhv-image-card,
body .specializations-preview-home .service-card.rhv-image-card,
body .services-preview-home .service-card.rhv-image-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: hidden !important;
  border-radius: 28px !important;
}

body #home-specializations .service-card.rhv-image-card .service-card-img,
body #home-services .service-card.rhv-image-card .service-card-img,
body #home-specializations .service-card.rhv-image-card > img,
body #home-services .service-card.rhv-image-card > img,
body .specializations-preview-home .service-card.rhv-image-card .service-card-img,
body .services-preview-home .service-card.rhv-image-card .service-card-img {
  width: 100% !important;
  height: 190px !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 0 22px 0 !important;
  border-radius: 28px 28px 0 0 !important;
  opacity: .74 !important;
}

body #home-specializations .service-card.rhv-image-card h3,
body #home-services .service-card.rhv-image-card h3,
body .specializations-preview-home .service-card.rhv-image-card h3,
body .services-preview-home .service-card.rhv-image-card h3 {
  display: block !important;
  padding: 0 30px !important;
  margin: 0 0 14px 0 !important;
  color: #062f41 !important;
  line-height: 1.15 !important;
}

body #home-specializations .service-card.rhv-image-card p,
body #home-services .service-card.rhv-image-card p,
body .specializations-preview-home .service-card.rhv-image-card p,
body .services-preview-home .service-card.rhv-image-card p {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  padding: 0 30px !important;
  margin: 0 0 14px 0 !important;
  color: #637887 !important;
  line-height: 1.65 !important;
}

body #home-specializations .service-card.rhv-image-card .rhva-read-more,
body #home-services .service-card.rhv-image-card .rhva-read-more,
body .specializations-preview-home .service-card.rhv-image-card .rhva-read-more,
body .services-preview-home .service-card.rhv-image-card .rhva-read-more {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  align-self: flex-start !important;
  width: auto !important;
  max-width: calc(100% - 60px) !important;
  margin: 0 30px 30px 30px !important;
  padding: 0 !important;
  transform: none !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  top: auto !important;
  clear: both !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .11em !important;
  text-transform: uppercase !important;
  color: #0ba8cc !important;
  background: transparent !important;
  border: 0 !important;
  text-decoration: none !important;
}

body #home-specializations .service-card.rhv-image-card .rhva-read-more:after,
body #home-services .service-card.rhv-image-card .rhva-read-more:after,
body .specializations-preview-home .service-card.rhv-image-card .rhva-read-more:after,
body .services-preview-home .service-card.rhv-image-card .rhva-read-more:after {
  content: " →" !important;
  margin-left: 5px !important;
}

@media (max-width: 900px){
  body #home-specializations .service-card.rhv-image-card .service-card-img,
  body #home-services .service-card.rhv-image-card .service-card-img,
  body .specializations-preview-home .service-card.rhv-image-card .service-card-img,
  body .services-preview-home .service-card.rhv-image-card .service-card-img {
    height: 210px !important;
  }
}