/* Project and portfolio photographs sit directly on the white page. */
body.story-page,
body.story-page .story-feed {
  background-color: #fff !important;
}

main :is(img, video),
.story-feed :is(img, video) {
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Most old mattes are on the immediate holder, not on the photograph. */
main :is(figure, a, span, div, picture):has(> :is(img, video)),
.story-feed :is(figure, a, span, div, picture):has(> :is(img, video)) {
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Some project sheets put a second frame around the image holder. */
body.story-page .story-feed :is(
  .balqis-plan,
  .balqis-plan__image,
  .balqis-plan__caption,
  .story-slide__media,
  .story-spread__detail-frame,
  .sr-round,
  .sr-frame,
  .villa-bedroom-crop,
  .villa-plan-card,
  .regis-study,
  .regis-visual
) {
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.story-page .story-feed .story-spread__detail-frame,
body.story-page .story-feed .sr-round {
  padding: 0 !important;
}

body.story-page .story-feed .sr-round::before {
  border: 0 !important;
}
