/* Owner-approved desktop album previews. Original viewer and category controls are unchanged. */
html.sr-desktop-albums .photos-four-row {
  gap: 8px;
  margin-top: -14px;
}
html.sr-desktop-albums .photos-four-row figcaption {
  inset: 0 0 auto;
  padding: 10px 8px 32px;
  font-size: clamp(13px, 1.6dvh, 16px) !important;
  line-height: 1.3;
  white-space: normal;
  text-align: center;
  text-wrap: balance;
  background: linear-gradient(to bottom, rgba(0,0,0,.74), rgba(0,0,0,.38) 58%, transparent);
  text-shadow: 0 1px 3px rgba(0,0,0,.9);
}
html.sr-desktop-albums #content > .detail-open .detail-heading {
  max-width: none;
  margin: 20px 0 12px;
}
html.sr-desktop-albums #content > .detail-open .detail-heading h1 {
  margin-bottom: 0;
}
html.sr-desktop-albums #content > .detail-open .detail-heading > .lead,
html.sr-desktop-albums #content > .detail-open .detail-photo-grid article > p {
  display: none;
}
html.sr-desktop-albums #content > .detail-open .detail-photo-grid,
html.sr-desktop-albums #content > .photos-group-open .photos-image-grid {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
}
html.sr-desktop-albums #content > .detail-open .detail-photo-grid article,
html.sr-desktop-albums #content > .photos-group-open .photos-image-grid article {
  position: relative;
  min-width: 0;
  overflow: hidden;
}
html.sr-desktop-albums #content > .detail-open .detail-photo-grid article > button,
html.sr-desktop-albums #content > .photos-group-open .photos-image-grid article > button {
  display: block;
  width: 100%;
  height: clamp(240px, 42dvh, 420px);
  padding: 0;
  border: 0;
  background: transparent;
}
html.sr-desktop-albums #content > .detail-open .detail-photo-grid img,
html.sr-desktop-albums #content > .photos-group-open .photos-image-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
html.sr-desktop-albums #content > .detail-open .detail-photo-grid article > .precision-image-caption,
html.sr-desktop-albums #content > .photos-group-open .photos-image-grid .photos-image-caption {
  position: absolute;
  inset: 0 0 auto;
  margin: 0;
  padding: 10px 8px 32px;
  font-size: clamp(13px, 1.6dvh, 16px);
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
  text-align: center;
  text-wrap: balance;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.74), rgba(0,0,0,.38) 58%, transparent);
  text-shadow: 0 1px 3px rgba(0,0,0,.9);
}
html.sr-desktop-albums #content > .photos-group-open .photos-group-heading {
  margin-bottom: 12px;
}
