/* Keep the complete site screenshots visible within the services artwork. */
#services .mk-web-collage {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  align-content: center;
  gap: 8px;
  padding: 10px;
  background: #171721;
}

#services .mk-web-collage img {
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  aspect-ratio: 36 / 25;
  object-fit: contain !important;
  background: #171721;
  border: 1px solid #ffffff55;
}

#services .mk-web-collage img:first-child {
  grid-column: 1 / -1;
  grid-row: auto;
}

/* The original campaign assets include copy and a complete portrait. */
#work .work-grid .work-item:nth-child(1) .work-art { background: linear-gradient(120deg, #92abb3, #154484 62%, #071b52) !important; }
#work .work-grid .work-item:nth-child(3) .work-art { background: linear-gradient(120deg, #a18265, #54433e 65%, #30251f) !important; }
#work .work-grid .work-item:nth-child(1) .work-art::before,
#work .work-grid .work-item:nth-child(3) .work-art::before { display: none !important; }
#work .work-grid .work-item:nth-child(1) .work-art .work-thumb,
#work .work-grid .work-item:nth-child(3) .work-art .work-thumb {
  position: absolute !important;
  top: calc(50% - 26px);
  left: 50%;
  width: auto !important;
  height: auto !important;
  max-height: calc(100% - 76px);
  max-width: calc(100% - 24px);
  transform: translate(-50%, -50%);
  object-fit: contain !important;
  object-position: center !important;
  background: transparent;
  box-shadow: 0 12px 30px #0005;
  z-index: 1;
}

@media (max-width: 700px) {
  #services .mk-web-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(0, 2fr) minmax(0, 1fr);
    align-content: stretch;
    gap: 5px;
    padding: 7px;
  }

  #services .mk-web-collage img {
    height: 100%;
    aspect-ratio: auto;
  }

  #services .mk-web-collage img:first-child {
    grid-column: 1 / -1;
  }
}
