.split-slider {

  .header-container {
    flex-flow: column;
    gap: 16px;
    align-items: flex-start;
    padding: 0 56px;

    h2.widget-title {
      font-family: "ITC Avant Garde Gothic W05 Bol", helvetica, arial, sans-serif;
      font-size: 30px;
      line-height: 30px;
      letter-spacing: -.4px;
      color: #000;
    }

    .header-sub {
      max-width: 863px;
    }
  }

  .split-slider__desktop {
    padding: 0 56px 67px;
    display: flex;
    flex-direction: column;
    gap: 48px;
    overflow: hidden;
  }

  .split-slider__mobile {
    display: none;
  }

  /* overflow: visible allows partial slides to peek at the right edge;
     .split-slider__desktop clips them at the section boundary */
  .split-slider__swiper {
    width: 100%;
    overflow: visible;
  }

  /* Fixed at 1440px design dimensions: 1x = 414px, 2x = 860px (414×2 + 32px gap) */
  .slide--1x {
    width: 419px;
    height: 549px;
    flex-shrink: 0;
  }

  .slide--2x {
    width: 863px;
    height: 549px;
    flex-shrink: 0;
  }

  .col {
    padding: 0;
  }

  /* Pure image column */
  .col--image {
    overflow: hidden;
    height: 100%;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
  }

  /* Card: image top, copy bottom */
  .col--card-below {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-bottom: 24px;
    overflow: hidden;
    height: 100%;
    word-break: break-word;

    .col--card-img {
      flex: 1;
      min-height: 0;
      overflow: hidden;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }
    }

    .col--card-content {
      .body-sm {
        margin-top: 16px;
        p {
          margin-bottom: 0;
        }
      }
    }

  }

  /* Card: copy top, image bottom */
  .col--card-above {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 24px;
    overflow: hidden;
    height: 100%;
    word-break: break-word;

    .col--card-img {
      flex: 1;
      min-height: 0;
      overflow: hidden;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }
    }

    .col--card-content {
      .body-sm {
        margin-top: 16px;
        p {
          margin-bottom: 0;
        }
      }
    }

  }

  /* Card: text + CTA only, no image — content vertically centred */
  .col--card-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    height: 100%;
    overflow: hidden;
    word-break: break-word;

    .heading-h3 {
      font-size: 42px;
      line-height: 38px;
    }
  }

  /* Desktop nav */
  .desktop-nav {
    display: flex;
    justify-content: flex-end;
  }

  /* Typography */
  .heading-h3 {
    font-size: 30px;
    font-weight: 700;
    line-height: 30px;
    text-transform: uppercase;
    color: #000;
    font-family: "ITC Avant Garde Gothic W05 Bol", helvetica, arial, sans-serif;
  }

  .heading-h4 {
    font-size: 24px;
    font-weight: 700;
    line-height: 26px;
    text-transform: uppercase;
    color: #000;
    font-family: "ITC Avant Garde Gothic W05 Bol", helvetica, arial, sans-serif;
  }

  .body-sm {
    font-size: 16px;
    line-height: 24px;
    color: #000;
  }

  /* Nav buttons */
  .nav-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
  }

  .nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    -webkit-transition: opacity 0.2s;
    transition: opacity 0.2s;

    &.is-disabled {
      opacity: 0.4;
      cursor: not-allowed;
      pointer-events: none;
      background: #f1f1f1;
      border: 2px solid #9c9c9c;
      color: #9c9c9c;
    }
  }

  .nav-btn--prev,
  .nav-btn--next {
    background: #000;
    color: #fff;
  }
}

@media (max-width: 767px) {
  .split-slider {

    .header-container {
      padding: 0 20px;
    }

    .split-slider__desktop {
      display: none;
    }

    .split-slider__mobile {
      display: block;
      overflow: hidden;
    }

    /* Mobile swiper container */
    .split-slider__swiper-mobile {
      width: 100%;
      overflow: visible;
      height: auto;
    }

    .split-slider__swiper-mobile .swiper-slide {
      width: calc(100% - 40px);
      height: 549px;
      flex-shrink: 0;
    }

    /*
      Split-image slides: the same background image is scaled to 2× the slide
      width so it spans both slides seamlessly during the swipe transition.
    */
    .slide--img-left,
    .slide--img-right {
      background-repeat: no-repeat;
      background-color: #F4F4F4;
      background-size: 200% 100%;
    }

    .slide--img-left {
      background-position: 0% 50%;
    }

    .slide--img-right {
      background-position: 100% 50%;
    }

    /* Mobile card slides: override desktop width, add horizontal padding */
    .slide--1x {
      width: calc(100% - 40px);
      padding: 0 15px;
    }

    /* Smaller heading on mobile */
    .heading-h3 {
      font-size: 22px;
      line-height: 24px;
    }

    /* Mobile nav */
    .mobile-nav {
      display: flex;
      justify-content: flex-end;
      padding: 12px 20px 0;
    }
  }
}
