/* Gallery hover. The cards are transparent and their titles sit flush with the
   picture edge, so the old hover (a shadow on an invisible box, plus a lift)
   left the title glued to the border of whatever it drew. The hover surface now
   bleeds outward behind the card, so the picture and title keep their place
   and gain room on every side. Nothing moves. */

html.graphite63.studio59 #fields .finish-card54{
  isolation:isolate;
  transform:none;
  box-shadow:none;
}
html.graphite63.studio59 #fields .finish-card54::before{
  content:"";
  position:absolute;
  inset:-9px -10px -7px;
  z-index:-1;
  border-radius:calc(var(--g-radius,12px) + 4px);
  background:var(--g-field);
  box-shadow:0 14px 28px -16px rgb(0 0 0 / .7);
  opacity:0;
  pointer-events:none;
  transition:opacity var(--dur-state,.2s) var(--ease-out,ease-out);
}
@media(hover:hover){
  html.graphite63.studio59 #fields .finish-card54:hover,
  html.graphite63.studio59 #fields .finish-card54:hover:active{
    transform:none;
    box-shadow:none;
  }
  html.graphite63.studio59 #fields .finish-card54:hover::before{opacity:1}
}
html.graphite63.studio59 #fields .finish-card54:focus-within::before{opacity:1}

/* The caption's text gets its own breathing room inside the surface. */
html.graphite63.studio59 #fields .tile .caption{padding-inline-start:2px}

@media(max-width:750px){
  html.graphite63.studio59 #fields .finish-card54::before{inset:-6px -6px -5px}
}
@media(prefers-reduced-motion:reduce){
  html.graphite63.studio59 #fields .finish-card54::before{transition:none}
}
