.ai-feature {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(320px, 39vw, 480px);
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #121b22;
}
.ai-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #101820 12%, #101820ee 31%, #10182020 82%);
}
.ai-feature > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}
.ai-feature-copy {
  max-width: 34rem;
  padding: clamp(26px, 5.5vw, 76px);
}
.ai-feature-copy h1 {
  margin: 10px 0;
  color: #fff;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1;
}
.ai-feature-copy p {
  margin: 0 0 25px;
  color: #e0e7ee;
  line-height: 1.6;
}
.promo-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ai-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
}
.ai-spotlight > img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: cover;
  object-position: 62%;
}
.ai-spotlight .card-body { padding: clamp(18px, 3.4vw, 36px); }
.ai-spotlight .ghost { margin: 0 6px 7px 0; }
.illustration-credit { color: var(--muted); font-size: .85rem; }

@media (min-width: 701px) {
  .promo-art img { mask-image: linear-gradient(90deg, transparent, black 32%); }
}
@media (max-width: 700px) {
  .ai-feature {
    min-height: 370px;
    align-items: end;
  }
  .ai-feature::before {
    background: linear-gradient(0deg, #101820 4%, #101820ee 32%, #10182030 82%);
  }
  .ai-feature > img { object-position: 61% top; }
  .ai-feature-copy { padding: 24px; }
  .promo-art img { mask-image: linear-gradient(0deg, transparent, black 18%, black 82%, transparent); }
  .ai-spotlight { grid-template-columns: 1fr; }
  .ai-spotlight > img { max-height: 230px; }
}
