.image-with-text-slideshow__slider-wrapper {
      position: relative;
  }

  .image-with-text-slideshow__slide {
      display: flex;
      position: relative;
  }

  @media (max-width:1024px) {
      /* Equal height slides on mobile */
      .image-with-text-slideshow__slider-wrapper .swiper-wrapper {
          align-items: stretch !important;
      }
      .image-with-text-slideshow__slide {
          flex-direction: column;
          height: auto !important;
      }
      .image-with-text-slideshow__text-content {
          flex-grow: 1;
          display: flex;
          flex-direction: column;
      }
      .image-with-text-slideshow__text-content-inner {
          flex-grow: 1;
          display: flex;
          flex-direction: column;
          justify-content: center;
      }
      .image-with-text-slideshow__buttons {
          margin-top: auto !important;
          padding-top: 1.5rem;
      }

      /* Mobile text visibility fix */
      .image-with-text-slideshow [data-animate] {
          opacity: 1 !important;
          visibility: visible !important;
          transform: none !important;
          animation: none !important;
      }
  }

  .image-with-text-slideshow__slide .homepage-video-content__placeholder {
      position: relative;
      height: 100%;
  }

  .image-with-text-slideshow__slide .homepage-video-content__placeholder-overlay {
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      display: flex;
      align-items: center;
      justify-content: center;
  }

  .image-with-text-slideshow__slide .homepage-video-content__placeholder-overlay .round-icon-btn-lg {
      cursor: default;
  }

  /* Fix mobile visibility bug by only hiding inactive slides on desktop */
  @media (min-width: 1025px) {
      .image-with-text-slideshow__slide:not(.swiper-slide-active) .image-with-text-slideshow__text-content-inner {
          display: none;
      }
  }

  @media (min-width:1025px) {
      .image-with-text-slideshow__media-content,
      .image-with-text-slideshow__text-content {
          box-sizing: border-box;
      }

      .image-with-text-slideshow__slide--small .image-with-text-slideshow__media-content {
          width: 41.6666666667%;
      }

      .image-with-text-slideshow__slide--small .image-with-text-slideshow__text-content {
          width: 58.3333333333%;
      }

      .image-with-text-slideshow__slide--medium .image-with-text-slideshow__media-content,
      .image-with-text-slideshow__slide--medium .image-with-text-slideshow__text-content {
          width: 50%;
      }

      .image-with-text-slideshow__slide--large .image-with-text-slideshow__media-content {
          width: 58.3333333333%;
      }

      .image-with-text-slideshow__slide--large .image-with-text-slideshow__text-content {
          width: 41.6666666667%;
      }
  }

  .image-with-text-slideshow__slide-link {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
  }

  .image-with-text-slideshow__media-content .icon--placeholder {
      border: 0 !important;
      height: auto;
  }

  .image-with-text-slideshow__media-content video {
      max-width: 100%;
  }

  .image-with-text-slideshow__media-content .ytp-autohide {
      cursor: default;
  }

  .image-with-text-slideshow__media-content .image-with-text-slideshow__video-wrapper {
      height: 100%;
      overflow: hidden;
  }

  .image-with-text-slideshow__media-content .image-with-text-slideshow__video-wrapper .icon--placeholder {
      height: 100%;
  }

  .image-with-text-slideshow__media-content:not(.image-with-text-slideshow__aspect-ratio--natural) .image-with-text-slideshow__video-wrapper {
      position: relative;
      height: 100%;
      width: 100%;
  }

  .image-with-text-slideshow__media-content:not(.image-with-text-slideshow__aspect-ratio--natural) .image-with-text-slideshow__video-wrapper deferred-media,
  .image-with-text-slideshow__media-content:not(.image-with-text-slideshow__aspect-ratio--natural) .image-with-text-slideshow__video-wrapper deferred-media div[data-media-wrapper] {
      position: absolute;
      top: 0;
      height: 100%;
      width: 100%;
      overflow: hidden;
  }

  .image-with-text-slideshow__media-content:not(.image-with-text-slideshow__aspect-ratio--natural) .image-with-text-slideshow__video-wrapper deferred-media iframe {
      position: absolute;
      max-width: none;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 500%;
      height: 200%;
  }

  .image-with-text-slideshow__media-content:not(.image-with-text-slideshow__aspect-ratio--natural) .image-with-text-slideshow__video-wrapper deferred-media video {
      display: block;
      object-fit: cover;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
  }

  .image-with-text-slideshow__aspect-ratio--tall img,
  .image-with-text-slideshow__aspect-ratio--tall svg {
      aspect-ratio: 2/3;
  }

  .image-with-text-slideshow__aspect-ratio--tall .image-with-text-slideshow__video-wrapper {
      aspect-ratio: 9/16;
  }

  .image-with-text-slideshow__aspect-ratio--wide img,
  .image-with-text-slideshow__aspect-ratio--wide svg {
      aspect-ratio: 4/3;
  }

  .image-with-text-slideshow__aspect-ratio--wide .image-with-text-slideshow__video-wrapper {
      aspect-ratio: 16/9;
  }

  .image-with-text-slideshow__aspect-ratio--square img,
  .image-with-text-slideshow__aspect-ratio--square svg {
      aspect-ratio: 1/1;
  }

  .image-with-text-slideshow__aspect-ratio--square .image-with-text-slideshow__video-wrapper {
      aspect-ratio: 1/1;
  }

  .image-with-text-slideshow__aspect-ratio--circle img,
  .image-with-text-slideshow__aspect-ratio--circle svg {
      aspect-ratio: 1/1;
      border-radius: 50%;
  }

  .image-with-text-slideshow__aspect-ratio--circle .image-with-text-slideshow__video-wrapper {
      aspect-ratio: 1/1;
      border-radius: 50%;
  }

  .image-with-text-slideshow__aspect-ratio--natural img,
  .image-with-text-slideshow__aspect-ratio--natural svg {
      aspect-ratio: auto;
  }

  .image-with-text-slideshow__text-content {
      display: flex;
      padding: 16px;
  }

  @media (min-width:1025px) {
      .image-with-text-slideshow__text-content {
          padding: 32px;
      }
  }

  .image-with-text-slideshow__text-content-inner {
      width: 100%;
  }

  .image-with-text-slideshow__text-content-inner>:last-child {
      margin-bottom: 0;
  }

  @media (min-width:1025px) {
      .image-with-text-slideshow__desktop-position--top {
          align-items: flex-start;
      }

      .image-with-text-slideshow__desktop-position--center {
          align-items: center;
      }

      .image-with-text-slideshow__desktop-position--bottom {
          align-items: flex-end;
      }

      /* Alignment Overrides - Desktop */
      .image-with-text-slideshow__desktop-alignment--left,
      .image-with-text-slideshow__desktop-alignment--left .sitewide--title-wrapper,
      .image-with-text-slideshow__desktop-alignment--left .homepage-sections--title,
      .image-with-text-slideshow__desktop-alignment--left .rte {
          text-align: left !important;
      }

      .image-with-text-slideshow__desktop-alignment--left .image-with-text-slideshow__buttons {
          justify-content: flex-start !important;
      }

      .image-with-text-slideshow__desktop-alignment--center,
      .image-with-text-slideshow__desktop-alignment--center .sitewide--title-wrapper,
      .image-with-text-slideshow__desktop-alignment--center .homepage-sections--title,
      .image-with-text-slideshow__desktop-alignment--center .rte {
          text-align: center !important;
      }

      .image-with-text-slideshow__desktop-alignment--center .image-with-text-slideshow__buttons {
          justify-content: center !important;
      }

      .image-with-text-slideshow__desktop-alignment--right,
      .image-with-text-slideshow__desktop-alignment--right .sitewide--title-wrapper,
      .image-with-text-slideshow__desktop-alignment--right .homepage-sections--title,
      .image-with-text-slideshow__desktop-alignment--right .rte {
          text-align: right !important;
      }

      .image-with-text-slideshow__desktop-alignment--right .image-with-text-slideshow__buttons {
          justify-content: flex-end !important;
      }
  }

  @media (max-width:1024px) {
      .image-with-text-slideshow__mobile-flex-reverse {
          flex-direction: column-reverse;
      }

      /* Alignment Overrides - Mobile */
      .image-with-text-slideshow__mobile-alignment--left,
      .image-with-text-slideshow__mobile-alignment--left .sitewide--title-wrapper,
      .image-with-text-slideshow__mobile-alignment--left .homepage-sections--title,
      .image-with-text-slideshow__mobile-alignment--left .rte {
          text-align: left !important;
      }

      .image-with-text-slideshow__mobile-alignment--left .image-with-text-slideshow__buttons {
          justify-content: flex-start !important;
      }

      .image-with-text-slideshow__mobile-alignment--center,
      .image-with-text-slideshow__mobile-alignment--center .sitewide--title-wrapper,
      .image-with-text-slideshow__mobile-alignment--center .homepage-sections--title,
      .image-with-text-slideshow__mobile-alignment--center .rte {
          text-align: center !important;
      }

      .image-with-text-slideshow__mobile-alignment--center .image-with-text-slideshow__buttons {
          justify-content: center !important;
      }

      .image-with-text-slideshow__mobile-alignment--right,
      .image-with-text-slideshow__mobile-alignment--right .sitewide--title-wrapper,
      .image-with-text-slideshow__mobile-alignment--right .homepage-sections--title,
      .image-with-text-slideshow__mobile-alignment--right .rte {
          text-align: right !important;
      }

      .image-with-text-slideshow__mobile-alignment--right .image-with-text-slideshow__buttons {
          justify-content: flex-end !important;
      }
  }

  .image-with-text-slideshow .rte>:last-child {
      margin-bottom: 0;
  }

  .image-with-text-slideshow__buttons {
      display: flex;
      flex-wrap: wrap;
      gap: calc(var(--grid-spacing) * .75);
  }

  @media (min-width:1025px) {
      .image-with-text-slideshow__buttons {
          gap: var(--grid-spacing);
      }
  }