/* Service-specific uploaded photography to the right of each service title.
   Keep the fallback technical diagrams available in PHP, but hide when an uploaded photo exists. */
.alm-svc .alm-svc-hero-has-photo{
  min-width:0;
  padding:0;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  filter:none!important;
  overflow:hidden;
}
.alm-svc .alm-svc-hero-has-photo .alm-svc-graphic-header,
.alm-svc .alm-svc-hero-has-photo .alm-svc-graphic,
.alm-svc .alm-svc-hero-has-photo .alm-svc-art-footer{display:none}
/* Keep photos clean: service name is already a visible H1 at left. */
.alm-svc .alm-svc-service-photo{margin:0;position:relative;overflow:hidden;background:transparent;box-shadow:none!important;border:0!important}
/* Override the generic .alm-svc h2 color that made hero subtitles invisible. */
.alm-svc .alm-svc-hero .alm-svc-hero-sub{color:#e6f2fc;font-size:clamp(18px,2vw,23px);font-weight:600;line-height:1.4;letter-spacing:-.01em;margin:0 0 20px}
.alm-svc-design-water-jet-cutting .alm-svc-hero .alm-svc-hero-sub{color:#a5f0f2}
.alm-svc-design-cnc-cutting .alm-svc-hero .alm-svc-hero-sub{color:#ffd59d}
.alm-svc-design-aluminium-cut-to-length .alm-svc-hero .alm-svc-hero-sub{color:#e0f0bd}
.alm-svc .alm-svc-service-image{
 display:block;width:100%;height:clamp(280px,31vw,415px);
 max-height:415px;object-fit:cover;object-position:center;
 box-shadow:none!important;border:0!important;background:transparent!important;
}
.alm-svc .alm-svc-service-photo figcaption{
 display:flex;align-items:center;justify-content:space-between;
 gap:14px;position:absolute;bottom:0;left:0;right:0;
 padding:17px 20px;color:#fff;background:linear-gradient(0deg,rgba(9,25,36,.90),rgba(9,25,36,.30));
 font-size:15px;font-weight:800;line-height:1.3
}
.alm-svc .alm-svc-service-photo figcaption small{
 font-size:10px;letter-spacing:.09em;text-transform:uppercase;opacity:.88
}
.alm-svc-design-aluminium-cut-to-size .alm-svc-hero-has-photo{border:0;border-radius:8px;box-shadow:none}
.alm-svc-design-water-jet-cutting .alm-svc-hero-has-photo{border:0;border-radius:8px;box-shadow:none}
.alm-svc-design-cnc-cutting .alm-svc-hero-has-photo{border:0;border-radius:8px;box-shadow:none}
.alm-svc-design-aluminium-cut-to-length .alm-svc-hero-has-photo{border:0;border-radius:8px;box-shadow:none}
@media(max-width:760px){
 .alm-svc .alm-svc-service-image{height:auto;max-height:none;aspect-ratio:16/10;object-fit:cover}
 .alm-svc .alm-svc-service-photo figcaption{padding:12px 14px;font-size:13px}
 .alm-svc .alm-svc-service-photo figcaption small{font-size:9px}
 .alm-svc-design-cnc-cutting .alm-svc-hero-has-photo,
 .alm-svc-design-aluminium-cut-to-length .alm-svc-hero-has-photo{box-shadow:none}
}
@media(max-width:430px){
 .alm-svc .alm-svc-service-photo figcaption{display:block}
 .alm-svc .alm-svc-service-photo figcaption small{display:block;margin-top:4px}
}
