/* V16: five bounded composition fixes. Original media, camera heroes and
   controller-owned transforms remain untouched. Load after cosmic-polish-v15.css. */

/* Legacy caption metadata styles must not shrink the animated heading spans.
   Keep the typography controller's inline/inline-block display and transforms. */
.site-refined #spaces .setup-caption h3 :is(.type-face, .type-word) {
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-align: inherit;
  color: inherit;
  margin: 0;
}

/* Portrait and landscape originals share a bounded stage in the enhanced
   carousel. The plain grid and every source caption retain their natural flow. */
.site-refined.kinetic-home #real-cmmtr .real-grid.is-setup-carousel .image-link {
  display: grid;
  place-items: center;
  height: clamp(220px, 38vw, 480px);
  background: #09070e;
}
.site-refined.kinetic-home #real-cmmtr .real-grid.is-setup-carousel .image-link img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
}

/* Preserve the lead/body distinction without running the paragraphs together. */
.site-refined.artist-page .live-artist-copy > p + p { margin-block-start: 18px; }

/* Optically balanced manufacturer cutouts. A shared first row fixes the badge
   baseline; transparent margins are compensated with dimensions, not transforms.
   The painted Bose and A9 silhouettes stay within their product columns. */
.site-refined #rentals .package-config__products { gap: 12px; }
.site-refined #rentals .package-config__product {
  display: grid;
  grid-template-rows: 112px auto auto;
  justify-items: center;
  align-content: start;
}
.site-refined #rentals .package-config__product :is(img, svg) {
  align-self: center;
  width: 100%;
  height: 96px;
  object-fit: contain;
}
.site-refined #rentals .package-config__product img[src$="product-bose-f1-system-v13.webp"] {
  width: 138%;
  max-width: none;
  height: 132px;
}
.site-refined #rentals .package-config__product img[src$="product-djm-a9-v13.webp"] {
  width: 125%;
  max-width: none;
}
.site-refined #rentals .package-config__model {
  width: 100%;
  font-size: 12px;
  line-height: 1.5;
  color: #e1d4eb;
}
.site-refined #rentals .package-config__quantity { font-size: 18px; line-height: 1.2; }
.site-refined #rentals .package-config__title { font-size: 17px; line-height: 1.4; }

/* The short and long music titles use the same intentional two-line zone.
   Wider tablet layouts show the complete panoramic artwork above the copy,
   keeping its right-hand subject out of the text area. */
.site-refined.kinetic-home #oso-blanco .music-banner .oso-banner__copy h2 { min-height: 1.8em; }
.site-refined.kinetic-home #oso-blanco .music-banner .oso-banner__copy > p:not(.kicker) { min-height: 3.2em; }
@media (max-width: 1100px) {
  .site-refined.kinetic-home #oso-blanco .music-banner { display: flex; flex-direction: column; }
  .site-refined.kinetic-home #oso-blanco .music-banner .oso-banner__image {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 1;
    object-fit: contain;
    z-index: 0;
  }
  .site-refined.kinetic-home #oso-blanco .music-banner::after { display: none; }
  .site-refined.kinetic-home #oso-blanco .music-banner .oso-banner__copy {
    max-width: none;
    padding: 32px max(22px, 5.5vw) 18px;
  }
  .site-refined.kinetic-home #oso-blanco .music-banner .oso-banner__copy h2 {
    max-width: 11ch;
    font-size: clamp(54px, 8vw, 88px);
    margin-block: 18px;
  }
  .site-refined.kinetic-home #oso-blanco .music-banner .oso-banner__credit {
    position: static;
    min-height: 62px;
    padding: 0 max(22px, 5.5vw) 18px;
  }
}
@media (forced-colors: active) {
  .site-refined.kinetic-home #real-cmmtr .real-grid.is-setup-carousel .image-link { background: Canvas; }
  .site-refined #rentals .package-config__model { color: LinkText; }
}
@media print {
  .site-refined.kinetic-home #real-cmmtr .real-grid.is-setup-carousel .image-link { height: auto; background: transparent; }
  .site-refined.kinetic-home #real-cmmtr .real-grid.is-setup-carousel .image-link img { height: auto; }
  .site-refined.kinetic-home #oso-blanco .music-banner .oso-banner__copy h2,
  .site-refined.kinetic-home #oso-blanco .music-banner .oso-banner__copy > p:not(.kicker) { min-height: 0; }
}
