/* Final mobile refinement. Original testimonial figures/text stay intact.
   The only desktop rules hide newly introduced mobile-only UI/photography. */
.production-review-controls,
.production-review-status,
.production-social-photo { display: none; }

@media (max-width: 850px) {
  .bridal-photographs { display: none; }
  :is(.social-hero, .xv-hero) .hero-copy > .button {
    grid-row: 4;
    margin: 0 var(--edge) 27px;
  }
  :is(.social-hero, .xv-hero) > picture { grid-row: 5; }

  body[data-page="quinceaneras"] .service-reviews {
    --review-title: #302d29;
    --review-body: #4e4942;
    --review-author: #171716;
    --review-role: #6c5f53;
    --review-rule: #bdb4a7;
    color: #171716;
    background: #e7e3dd;
  }

  /* One row's intrinsic height equals its tallest complete review. No fixed
     text height, line clamp, substring, content removal or cloned opinions. */
  .service-review-grid.production-reviews-active {
    position: relative;
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    align-items: stretch;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    height: auto;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .service-review-grid.production-reviews-active::-webkit-scrollbar { display: none; }
  .service-review-grid.production-reviews-active > figure,
  body[data-page="novias"] .service-review-grid.production-reviews-active > figure + figure {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    grid-column: auto;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0 0 3px;
    border: 0;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }
  .service-review-grid.production-reviews-active > figure h3,
  .service-review-grid.production-reviews-active > figure:first-child h3 {
    font-size: clamp(31px, 8.5vw, 39px);
    line-height: 1.12;
    min-height: 0;
    margin-bottom: 19px;
  }
  .service-review-grid.production-reviews-active > figure blockquote { margin-bottom: 23px; }
  .service-review-grid.production-reviews-active > figure figcaption { margin-top: auto; }
  .service-review-grid.production-reviews-active:focus-visible { outline-offset: 5px; }
  .service-review-grid.production-reviews-active.is-pointer-dragging {
    scroll-snap-type: none;
    user-select: none;
    cursor: grabbing;
  }
  .production-review-controls:not([hidden]) {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 27px;
    padding-top: 18px;
    border-top: 1px solid var(--review-rule, #bdb4a7);
  }
  .production-review-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
    color: var(--review-title, currentColor);
    background: transparent;
    border: 1px solid var(--review-rule, #bdb4a7);
    border-radius: 0;
    font: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
  }
  .production-review-controls button[data-review-action="pause"] {
    min-width: 94px;
    font-size: 11px;
    letter-spacing: .015em;
    padding-inline: 13px;
  }
  .production-review-controls button:disabled { opacity: .6; cursor: default; }
  .production-review-controls button:hover:not(:disabled) { background: rgb(128 115 101 / .12); }
  .production-review-count {
    margin-left: auto;
    font-size: 11px;
    letter-spacing: .04em;
    color: var(--review-role, currentColor);
    white-space: nowrap;
  }
  .production-review-status {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  /* This 5:6 photograph is additional mobile art direction, not another card.
     Preserve its full frame, including the subject's hand and hairstyle. */
  .production-social-photo {
    display: block;
    width: calc(100% - var(--edge) * 2);
    max-width: 480px;
    margin: 35px auto 6px;
    padding: 0;
  }
  .production-social-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 6;
    object-fit: contain;
  }
}
