.show-cover {
  --show-width: 1128px;
  --show-gutter: clamp(40px, 10.833vw, 156px);
  position: relative;
}

.show-cover > :is(.hero-photo, .carousel) {
  aspect-ratio: 1440 / 490;
  min-height: 0;
  height: auto;
}

.show-cover > .hero-photo img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.show-title-wrap {
  width: min(var(--show-width), 100% - 2 * var(--show-gutter));
  margin-inline: auto;
  position: relative;
}

.show-cover--photo .show-title-wrap { margin-top: -2.375rem; }

.show-title {
  display: flex;
  align-items: baseline;
  gap: .65em;
  width: fit-content;
  min-width: min(100%, 25.75rem);
  max-width: 100%;
  padding: .45em .8em;
  margin: 0 0 0 clamp(-60px, -4.1667vw, -12px);
  background: var(--cie-color-white, #fff);
  color: var(--cie-showTitle-color, var(--cie-color-ink, #154169));
  font-family: var(--cie-showTitle-family, Inter, sans-serif);
  font-size: var(--cie-showTitle-size, 31px);
  line-height: var(--cie-showTitle-line, 1.5);
  font-weight: var(--cie-showTitle-weight, 500);
  letter-spacing: var(--cie-showTitle-tracking, normal);
  text-transform: var(--cie-showTitle-transform, none);
  overflow-wrap: anywhere;
}

.show-title::before {
  content: '';
  flex: 0 0 .07em;
  height: .85em;
  align-self: center;
  background: var(--cie-color-red, #f00);
  transform: skewX(-17deg);
}

.theatre-text.show-body {
  --show-width: 1128px;
  --show-gutter: clamp(40px, 10.833vw, 156px);
  --show-gap: clamp(2rem, 4.8vw, 4.35rem);
  width: min(var(--show-width), 100% - 2 * var(--show-gutter));
  max-width: none;
  padding: 0;
  margin: 0 auto;
}

.show-introduction {
  display: grid;
  gap: 24px;
  padding-block: clamp(2rem, 4.2vw, 3.95rem) var(--show-gap);
}

.show-introduction--with-note {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.show-introduction--with-note > .show-description { grid-column: span 2; }
.show-introduction--note-2 > .show-description { grid-column: span 1; }
.show-introduction--note-2 > .show-note { grid-column: span 2; }
.show-introduction--note-3 > :is(.show-description, .show-note) { grid-column: 1 / -1; }
.show-description { overflow-wrap: anywhere; }
:is(.model-width-narrow, .model-width-wide) .show-description { max-width: var(--content-text-width); }
.show-description > :first-child { margin-top: 0; }
.show-description > :last-child { margin-bottom: 0; }
.show-summary { margin-bottom: 1rem; }

.show-note {
  padding: clamp(1.25rem, 2.2vw, 2rem);
  background-color: var(--cie-color-coral, #ee5b6a);
  color: color-mix(in srgb, var(--cie-color-ink, #154169) 70%, black);
  overflow-wrap: anywhere;
}

.show-body .show-note h2 {
  margin: 0 0 .75em;
  color: inherit;
  font: 600 1.15rem/1.35 var(--cie-body-family, Inter, sans-serif);
  letter-spacing: normal;
  text-transform: none;
}

.show-note-copy > :last-child { margin-bottom: 0; }
.show-note-copy > :is(.compagnie-cta,.compagnie-action) { margin-block: 1rem 0; }
.show-note-copy :is(.compagnie-cta--white,.compagnie-action:has(.compagnie-cta--white)) {
  display: flex;
  width: 100%;
}

.show-body > :is(.content-video, .gallery, .vignette-grid) {
  margin-block: 0 var(--show-gap);
}
.show-body > :is(.content-video-texte, .content-video-pleine) {
  inline-size: 100%;
  margin-inline: auto;
}
.show-body .content-video-player { border-radius: 0; }

.show-body .gallery.gallery-carrousel[data-gallery-ready] {
  --compagnie-carousel-image-ratio: 5 / 3;
  --gallery-poster-height: auto;
  position: relative;
  margin-block: 0 var(--show-gap);
  max-width: none;
}

.show-body .gallery-carrousel[data-gallery-ready] .gallery-image {
  aspect-ratio: var(--compagnie-carousel-image-ratio);
}

.show-body .gallery-carrousel[data-gallery-ready] .gallery-image img { object-fit: cover; }

@media (max-width: 1000px) {
  .show-cover, .theatre-text.show-body { --show-gutter: 40px; }
  .show-cover > :is(.hero-photo, .carousel) { aspect-ratio: 2.25; }
  .show-title { margin-left: 0; }
  .show-introduction--with-note { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .show-introduction--with-note > .show-description { grid-column: auto; }
  :is(.show-introduction--note-2, .show-introduction--note-3) > :is(.show-description, .show-note) { grid-column: 1 / -1; }
}

@media (max-width: 599px) {
  .show-cover, .theatre-text.show-body { --show-gutter: 24px; }
  .show-cover > :is(.hero-photo, .carousel) { aspect-ratio: 16 / 9; }
  .show-cover--photo .show-title-wrap { margin-top: -1.25rem; }
  .show-title {
    min-width: 0;
    font-size: min(var(--cie-showTitle-size, 31px), 1.6rem);
  }
  .show-introduction--with-note { grid-template-columns: minmax(0, 1fr); }
  .show-introduction--with-note > .show-note { grid-column: 1 / -1; }
  .show-body > :is(.content-video-texte, .content-video-pleine, .gallery-carrousel) {
    inline-size: calc(100% + 2 * var(--show-gutter));
    margin-inline: calc(-1 * var(--show-gutter));
  }
  .show-body .gallery.gallery-carrousel[data-gallery-ready] {
    margin-inline: calc(-1 * var(--show-gutter));
  }
}
