/* Private preview layout corrections only. Shared site files remain unchanged. */
.sr-site .video-section .video-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
}
.sr-site .video-section .video-copy {
  width: calc(100% - 2rem);
  max-width: 48rem;
  margin-inline: auto;
}
.sr-site .video-section .video-copy .duration {
  margin-bottom: 0;
}
.sr-site .video-section .video-intro > div:last-child {
  width: calc(100% - 2rem);
  max-width: 355px;
  margin-inline: auto;
}
.sr-preview-library .sr-site .page-hero .hint {
  width: calc(100% - 2rem);
  max-width: 80rem;
}
.sr-preview-library .sr-site > .section .section-intro {
  max-width: 80rem;
  padding-inline-end: 1rem;
}

/* Owner-requested follow-up: center the two options beneath each animation. */
.sr-site .detail-links {
  padding-block: clamp(1.75rem, 4vw, 3rem);
}
.sr-site .detail-links .detail-actions {
  width: calc(100% - 2rem);
  max-width: 48rem;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
}
@media (max-width: 480px) {
  .sr-site .detail-links .detail-actions {
    flex-direction: column;
  }
  .sr-site .detail-links .detail-actions > .action {
    width: 100%;
    max-width: 21rem;
  }
}

/* Preserve the approved zero top gap under the existing self-only CSP. */
.sr-site .sr-artwork-section { padding-top: 0; }

/* Issue #4: scoped responsive spacing; approved baseline and media stay intact. */
.sr-site .shell {
  --sr-gutter: max(clamp(1rem, 5vw, 1.5rem), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  width: 100%;
  max-width: 84rem;
  margin-inline: auto;
  padding-inline: var(--sr-gutter);
  box-sizing: border-box;
  min-width: 0;
}
.sr-site .shell :is(h1, h2, h3, p) {
  max-width: 100%;
  overflow-wrap: break-word;
}
.sr-preview-library .sr-site .page-hero .hint {
  width: auto;
}
.sr-preview-library .sr-site > .section .section-intro {
  padding-inline: 0;
}
/* Show the entire approved square artwork, including its Scripture text.
   Natural image sizing leaves no letterbox or exposed slate backing. */
.sr-site .card-img {
  aspect-ratio: auto;
  background: var(--white);
}
.sr-site .card-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
