/* Seven industry detail pages: full-width artwork behind the original introduction. */
.channel-content .industry-background-hero {
  --industry-hero-space: clamp(40px, 5vw, 72px);

  isolation: isolate;
  overflow: clip;
  background: var(--site-bg);
}

.channel-content .industry-background-hero .hero-grid {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 20vw;
  padding-block: var(--industry-hero-space);
}

.channel-content .industry-background-hero .hero-copy {
  width: 50%;
  max-width: 640px;
}

.channel-content .industry-background-hero .hero-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  pointer-events: none;
}

.channel-content .industry-background-hero .hero-art::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(0deg, var(--site-bg), transparent 16%),
    linear-gradient(180deg, var(--site-bg), transparent 12%),
    linear-gradient(
      90deg,
      rgb(var(--site-bg-rgb) / 88%) 0%,
      rgb(var(--site-bg-rgb) / 88%) 48%,
      rgb(var(--site-bg-rgb) / 42%) 54%,
      transparent 64%
    );
  content: '';
}

.channel-content .industry-background-hero .hero-visual {
  height: 100%;
  aspect-ratio: auto;
}

.channel-content .industry-background-hero .industry-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.channel-content .industry-background-hero .industry-photo img {
  object-fit: cover;
  object-position: 45% center;
  transform: translateX(2%);
}

.channel-content .industry-background-hero figcaption {
  z-index: 2;
  right: max(var(--site-page-gutter), calc((100% - var(--site-content-max)) / 2));
  bottom: 24px;
  left: auto;
  max-width: 45%;
  text-align: right;
}

@media (width > 1100px) and (width <= 1280px) {
  .channel-content .industry-background-hero .industry-photo img {
    object-position: 60% center;
  }
}

@media (width <= 1100px) {
  .channel-content .industry-background-hero .hero-grid {
    display: block;
    min-height: 0;
    padding-block: 40px calc(48px + clamp(280px, 40vw, 400px));
  }

  .channel-content .industry-background-hero .hero-copy {
    width: 100%;
    max-width: none;
  }

  .channel-content .industry-background-hero .hero-art {
    top: auto;
    height: clamp(280px, 40vw, 400px);
  }

  .channel-content .industry-background-hero .hero-art::after {
    background:
      linear-gradient(0deg, var(--site-bg), transparent 14%),
      linear-gradient(180deg, var(--site-bg), transparent 14%);
  }

  .channel-content .industry-background-hero .industry-photo img {
    object-fit: contain;
    object-position: center;
  }

  .channel-content .industry-background-hero .industry-photo {
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  .channel-content .industry-background-hero figcaption {
    top: auto;
    right: var(--site-page-gutter);
    bottom: 12px;
    left: var(--site-page-gutter);
    max-width: none;
    text-align: center;
  }
}
