/* Machine gallery surfaces: dark thumbnail rail and readable glass title. */
.machine-gallery.has-photo-rail .machine-photo-navigation{background:rgb(0 0 0 / 62%);border-color:rgb(255 255 255 / 18%);-webkit-backdrop-filter:none;backdrop-filter:none}
.machine-gallery .machine-heading{border-radius:0;background:rgb(246 247 251 / 80%);background:color-mix(in srgb,var(--bg,#f6f7fb) 80%,transparent);-webkit-backdrop-filter:blur(16px) saturate(115%);backdrop-filter:blur(16px) saturate(115%)}
.machine-gallery .machine-heading h1{color:#101820;text-shadow:none}
.machine-gallery.has-photos .machine-heading{width:calc(100% - 48px);margin:0 48px 0 0;border-radius:0}
.machine-gallery.has-photo-rail .machine-photo-choice{padding:0;background-size:cover;background-origin:border-box;background-clip:border-box}
@media(max-width:600px){.machine-gallery.has-photos .machine-heading{width:100%;margin:0;border-radius:0}}

.machine-gallery.has-photo-rail .machine-photo-stage{height:clamp(310px,31vw,420px)}
@media(max-width:600px){.machine-gallery.has-photo-rail .machine-photo-stage{height:clamp(472px,124vw,556px)}}

/* Native scrollbar stays hidden; wheel, touch and arrow controls remain available. */
.machine-gallery .machine-photo-rail{scrollbar-width:none;-ms-overflow-style:none}
.machine-gallery .machine-photo-rail::-webkit-scrollbar{display:none;width:0;height:0}
