.image-feature__panel {
  position: relative;
  max-width: var(--pa-container-max);
  margin-inline: auto;
  aspect-ratio: 16/9;
  border-radius: 10px;
  background: var(--pa-color-navy);
  overflow: visible;
}
@media (min-width: 1024px) {
  .image-feature__panel {
    aspect-ratio: 1280/612;
  }
}
@media (min-width: 1280px) {
  .image-feature__panel {
    border-radius: 10px 160px 10px 10px;
  }
}
@media (max-width: 1279px) {
  .image-feature__panel {
    margin-bottom: 190px;
  }
}
.image-feature__panel::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1.5rem;
  width: 38%;
  max-width: 420px;
  aspect-ratio: 829/461;
  background: url("../../images/video-swoop.svg") no-repeat center/contain;
  pointer-events: none;
}
.image-feature__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.image-feature__card {
  position: absolute;
  z-index: 1;
  right: var(--pa-space-xl);
  bottom: -190px;
  width: min(100% - 2 * var(--pa-space-xl), 50rem);
  padding: var(--pa-space-2xl) var(--pa-space-lg);
  border-radius: var(--pa-radius-md);
  background: var(--pa-color-red);
  box-shadow: 0 4px 5px rgba(13, 43, 71, 0.2);
  color: var(--pa-color-white);
}
@media (min-width: 1280px) {
  .image-feature__card {
    bottom: var(--pa-space-xl);
    width: 29.6875%;
    max-width: 23.75rem;
  }
}
@media (max-width: 767px) {
  .image-feature__panel:not(#programs-feat-testimonial *) {
    aspect-ratio: auto;
    margin-bottom: 0;
    background: none;
  }
  .image-feature__img:not(#programs-feat-testimonial *) {
    position: static;
    display: block;
    height: auto;
    aspect-ratio: 16/9;
  }
  .image-feature__card:not(#programs-feat-testimonial *) {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: calc(var(--pa-space-xl) * -1) var(--pa-space-md) 0 var(--pa-space-xl);
  }
}
.image-feature__name {
  margin-bottom: var(--pa-space-sm);
  font-family: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.125rem;
  letter-spacing: 1.5px;
  color: var(--pa-color-white);
  text-transform: uppercase;
}
.image-feature__quote {
  margin: 0;
  font-family: "Ancizar Serif", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.625rem;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--pa-color-white);
}

#programs-feat-testimonial {
  overflow-x: clip;
  overflow-y: visible;
  position: relative;
  z-index: 2;
}
@media (max-width: 1024px) {
  #programs-feat-testimonial .image-feature__panel {
    margin-bottom: 293px;
  }
}
@media (max-width: 768px) {
  #programs-feat-testimonial .image-feature__panel {
    display: flex;
    flex-direction: column;
  }
}
#programs-feat-testimonial .image-feature__panel::after {
  right: -12rem;
  bottom: -20.5rem;
  width: 861px;
  max-width: none;
  transform: rotate(-10deg);
}
#programs-feat-testimonial .image-feature__card {
  bottom: -93px;
  right: var(--pa-space-2xl);
}
@media (max-width: 1280px) {
  #programs-feat-testimonial .image-feature__card {
    bottom: -193px;
  }
}
@media (max-width: 1024px) {
  #programs-feat-testimonial .image-feature__card {
    bottom: -293px;
  }
}
@media (max-width: 768px) {
  #programs-feat-testimonial .image-feature__card {
    position: relative;
    left: calc(var(--pa-space-2xl) * 1.5);
  }
}
