/* Managed Carousel presentation contract. Kept separate from the shared shell so
   UAT-015 cannot collide with unrelated app.js/app.css ownership. */
.managed-home-carousel .managed-layout-split {
  position:relative;
  isolation:isolate;
  display:block;
  width:100%;
  max-width:none;
  padding:0;
  background:#061a2d;
}
.managed-home-carousel .managed-layout-split>img {
  position:absolute;
  z-index:0;
  inset:0 auto 0 0;
  width:67%;
  height:100%;
  max-height:none;
  aspect-ratio:auto;
  object-fit:cover;
  border-radius:0;
}
.managed-home-carousel .managed-layout-split::after {
  position:absolute;
  z-index:1;
  inset:0;
  content:"";
  pointer-events:none;
  background:linear-gradient(90deg,transparent 45%,rgba(6,26,45,.62) 58%,#061a2d 74%);
}
.managed-home-carousel .managed-layout-split>.managed-slide-copy {
  position:relative;
  z-index:2;
  display:flex;
  width:38%;
  min-height:100%;
  margin-left:auto;
  flex-direction:column;
  justify-content:center;
  padding:42px clamp(60px,6vw,108px) 58px 12px;
}

.managed-home-carousel .managed-layout-full-width {
  position:relative;
  display:block;
  width:100%;
  max-width:none;
  padding:0;
}
.managed-home-carousel .managed-layout-full-width>img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-height:none;
  object-fit:cover;
  border-radius:0;
}
.managed-home-carousel .managed-layout-full-width.managed-with-gradient::after,
.sport-promo-carousel .managed-layout-full-width.managed-with-gradient::after {
  position:absolute;
  z-index:1;
  inset:0;
  content:"";
  pointer-events:none;
  background:linear-gradient(90deg,rgba(1,10,20,.88),rgba(1,10,20,.18) 62%,transparent);
}
.managed-home-carousel .managed-layout-full-width>.managed-slide-copy {
  position:relative;
  z-index:2;
  display:flex;
  width:min(1220px,calc(100% - 110px));
  height:100%;
  margin:auto;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  padding:52px 56px 72px;
}
.managed-home-carousel .managed-align-center>.managed-slide-copy {
  align-items:center;
  text-align:center;
}
.managed-home-carousel .managed-align-right>.managed-slide-copy {
  align-items:flex-end;
  text-align:right;
}
.managed-home-carousel .managed-align-center.managed-with-gradient::after {
  background:linear-gradient(90deg,transparent,rgba(1,10,20,.72) 30% 70%,transparent);
}
.managed-home-carousel .managed-align-right.managed-with-gradient::after {
  background:linear-gradient(270deg,rgba(1,10,20,.88),rgba(1,10,20,.18) 62%,transparent);
}

.sport-promo-carousel .managed-layout-split {
  display:grid;
  grid-template-columns:1fr 1fr;
  background:#090d12;
}
.sport-promo-carousel .managed-slide::after { display:none; }
.sport-promo-carousel .managed-layout-full-width.managed-with-gradient::after { display:block; }
.sport-promo-carousel .managed-layout-split>img {
  position:relative;
  grid-column:1;
  width:100%;
  height:auto;
  aspect-ratio:1/1;
  align-self:center;
  object-fit:cover;
}
.sport-promo-carousel .managed-layout-split>.managed-slide-copy {
  position:relative;
  grid-column:2;
  right:auto;
  bottom:auto;
  left:auto;
  display:flex;
  min-width:0;
  flex-direction:column;
  justify-content:center;
  padding:1rem;
}
.sport-promo-carousel .managed-layout-split .managed-slide-copy h2 { font-size:1rem; }
.sport-promo-carousel .managed-layout-full-width>img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.sport-promo-carousel .managed-layout-full-width>.managed-slide-copy { text-align:left; }
.sport-promo-carousel .managed-layout-full-width.managed-align-center>.managed-slide-copy { text-align:center; }
.sport-promo-carousel .managed-layout-full-width.managed-align-right>.managed-slide-copy { text-align:right; }
.sport-promo-carousel .managed-layout-full-width.managed-align-center.managed-with-gradient::after {
  background:linear-gradient(90deg,transparent,rgba(0,0,0,.78) 25% 75%,transparent);
}
.sport-promo-carousel .managed-layout-full-width.managed-align-right.managed-with-gradient::after {
  background:linear-gradient(270deg,rgba(0,0,0,.9),transparent 72%);
}

@media (max-width:760px) {
  .managed-home-carousel .managed-layout-split {
    display:block;
    padding:0;
  }
  .managed-home-carousel .managed-layout-split>img {
    position:absolute;
    inset:0 0 auto;
    width:100%;
    height:56%;
    max-height:none;
    aspect-ratio:auto;
    object-fit:cover;
    border-radius:0;
  }
  .managed-home-carousel .managed-layout-split::after {
    background:linear-gradient(180deg,transparent 28%,rgba(6,26,45,.7) 45%,#061a2d 58%);
  }
  .managed-home-carousel .managed-layout-split>.managed-slide-copy {
    width:100%;
    min-height:48%;
    margin:52% 0 0;
    justify-content:flex-start;
    padding:18px 28px 78px;
  }
  .managed-home-carousel .managed-layout-full-width>.managed-slide-copy {
    width:100%;
    padding:52px 28px 78px;
  }
}
