/* Resources hero photos follow the full-bleed treatment used on the Material Selection Guide. */
.resource-photo-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 100px 0 60px;
  overflow: hidden;
  background: #f8f8f8;
}

.resource-photo-hero::after {
  display: none;
}

.resource-photo-hero > .resource-hero-background {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.resource-photo-hero > .resource-hero-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.175) 0%,
    rgba(255, 255, 255, 0.716) 30%,
    rgba(255, 255, 255, 0.112) 48%,
    rgba(255, 255, 255, .16) 76%,
    rgba(255, 255, 255, .05) 100%
  );
}

.resource-photo-hero > .wrap,
.resource-photo-hero > .container,
.resource-photo-hero > .g3ix-wrap,
.resource-photo-hero > .g3pc-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
}

.resource-hero-layout,
.resource-hero-layout.g3ix-hero-grid,
.g3pc-hero-grid {
  display: block;
}

.resource-hero-copy {
  width: min(100%, 700px);
  min-width: 0;
}

.resource-photo-hero .jumpnav {
  margin-top: 32px;
}

.resource-hero-background--mobile {
  display: none;
}

.resource-hero-image--mobile {
  display: none;
}

.resource-hero-aside {
  display: block;
  min-width: 0;
}

.custom-printer-page .resource-hero-supporting-image--mobile {
  display: none;
}

.custom-printer-page .schematic > svg {
  display: none;
}

.custom-printer-page .hero-grid {
  display: block;
}

.custom-printer-page .schematic {
  display: none;
}

@media (max-width: 991px) {
  .resource-photo-hero {
    display: block;
    min-height: 0;
    padding: 100px 0 60px;
    background: #fff;
  }

  .resource-photo-hero > .resource-hero-background,
  .resource-photo-hero > .resource-hero-overlay {
    display: none;
  }

  .resource-hero-image--mobile,
  .resource-hero-background--mobile {
    display: block;
    width: 100%;
    height: auto;
    max-height: 360px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: 70% center;
    border-radius: 10px;
    margin: 20px 0 24px;
  }

  .custom-printer-page .resource-hero-supporting-image--mobile {
    display: block;
    width: 100%;
    height: auto;
    max-height: 360px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    margin: 20px 0 24px;
  }

  .custom-printer-page .schematic > .resource-hero-supporting-image {
    display: none;
  }
}

@media (max-width: 600px) {
  .resource-photo-hero {
    padding: 94px 0 42px;
  }

  .resource-photo-hero .jumpnav {
    margin-top: 24px;
  }
}
