/* INTEGRA SERVICES R14 • Complete service-poster visibility (2026-11-27)
   The original eight posters are 1600 × 900 (16:9). Earlier 4:3 crop and
   object-fit:cover rules cut off both sides of their words and graphics.
   Scope all rules to the public website; ERP screens remain unchanged.
*/
#websiteRoot .home-service-photo-grid {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:clamp(14px,1.7vw,22px)!important;
  align-items:stretch!important;
}
#websiteRoot .home-service-photo-grid > .image-slot-card {
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  padding:10px!important;
  overflow:hidden!important;
  border-radius:19px!important;
  box-sizing:border-box!important;
  background:#fff!important;
}
#websiteRoot .home-service-photo-grid > .image-slot-card > .photo-slot {
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:16 / 9!important;
  overflow:hidden!important;
  border-radius:12px!important;
  background:#f5f8fc!important;
  box-sizing:border-box!important;
}
#websiteRoot .home-service-photo-grid > .image-slot-card > .photo-slot > img {
  display:block!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
  transition:none!important;
}
#websiteRoot .home-service-photo-grid > .image-slot-card:hover > .photo-slot > img {
  transform:none!important;
}
#websiteRoot .home-service-photo-grid > .image-slot-card > .image-slot-title {
  display:flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:9px!important;
  width:100%!important;
  min-height:54px!important;
  padding:11px 7px 8px!important;
  margin:0!important;
  box-sizing:border-box!important;
  text-align:left!important;
  font-size:clamp(13px,1.13vw,17px)!important;
  line-height:1.35!important;
  white-space:normal!important;
  overflow:visible!important;
  overflow-wrap:break-word!important;
}
#websiteRoot .home-service-photo-grid .image-slot-title > .service-title-text {
  flex:1 1 auto!important;
  min-width:0!important;
  color:#123762;
  text-align:left;
}
#websiteRoot .home-service-photo-grid .image-slot-title > .home-cartoon-icon {
  position:static!important;
  display:inline-flex!important;
  flex:0 0 41px!important;
  width:41px!important;
  height:41px!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:2px!important;
  border-radius:11px!important;
  box-shadow:0 3px 10px rgba(17,65,96,.12)!important;
  transform:none!important;
  pointer-events:none!important;
}
#websiteRoot .home-service-photo-grid .image-slot-title > .home-cartoon-icon > img {
  display:block!important;
  position:static!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  transform:none!important;
}
#websiteRoot .home-service-photo-grid .image-slot-title::after {
  flex:0 0 25px!important;
  width:25px!important;
  height:25px!important;
  font-size:15px!important;
  margin-left:auto!important;
}
#websiteRoot .home-service-photo-grid .r9-service-tagline {
  display:block!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  text-align:center!important;
  padding:0 8px 12px!important;
  font-size:12px!important;
  line-height:1.4!important;
}
/* Service-detail galleries should never crop the original poster either. */
#websiteRoot .service-page-gallery .photo-slot > img {
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
}
@media (max-width:1100px) {
  #websiteRoot .home-service-photo-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media (max-width:620px) {
  #websiteRoot .home-service-photo-grid {
    grid-template-columns:minmax(0,1fr)!important;
    gap:14px!important;
  }
  #websiteRoot .home-service-photo-grid > .image-slot-card {
    padding:8px!important;
  }
  #websiteRoot .home-service-photo-grid > .image-slot-card > .image-slot-title {
    padding:9px 8px!important;
    min-height:48px!important;
    font-size:15px!important;
  }
  #websiteRoot .home-service-photo-grid .image-slot-title > .home-cartoon-icon {
    width:37px!important;
    height:37px!important;
    flex-basis:37px!important;
  }
}
@media (prefers-reduced-motion:reduce) {
  #websiteRoot .home-service-photo-grid > .image-slot-card,
  #websiteRoot .home-service-photo-grid > .image-slot-card * {
    transition:none!important;
  }
}
