/* ==========================================================================
   Background Bleed & Viewport Breakout Utility
   Location: /Portals/20/_engine/core/css/bg-bleed.css
   ========================================================================== */
.u-bleed-container {
  position: relative;
  width: 100%;
  isolation: isolate;
  container-type: inline-size;
}

.u-bleed-viewport {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

.custom-component-container.has-bleed {
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: -1px !important;
  margin-bottom: -1px !important;
  padding: 0 !important;
}

.u-bleed-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
}

.u-bleed-overlay-dark {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
  z-index: 1;
}

.u-bleed-overlay-tint {
  position: absolute;
  inset: 0;
  background: var(--mod-hero-overlay-color, rgba(10, 25, 47, 0.1));
  pointer-events: none;
  z-index: 1;
}

.u-bleed-content-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  min-height: inherit;
  margin: 0 auto;
  padding: 0 24px;
}
