.slider-with-content {
  padding: 2rem 1.25rem;

  @media (width >=1024px) {
    padding: 3.5rem;
  }

  .swc-wrapper {
    display: flex;
    flex-direction: column;
    background: var(--gradients-accent-section-bg-1) no-repeat center / cover;
    padding: 1.5rem;
  }

  .swc-slider {
    order: 2;
    width: 100%;
  }

  .swc-content {
    display: contents;
  }

  .swc-title {
    order: 1;
    margin-bottom: 1rem;

    :is(h1, h2, h3, h4, h5, h6) {
      color: var(--primary-black);
      font-family: var(--body-font-arena);
      font-size: var(--heading-font-size-m);
      font-weight: var(--fw-700);
      line-height: var(--heading-lh-19-mob-text-small);
      margin: 0;
    }
  }

  .swc-body {
    order: 3;
    margin-top: 1.5rem;
  }

  .swc-youtube-row {
    margin-bottom: 1.25rem;
  }

  .swc-youtube {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
  }

  .swc-youtube-thumb {
    flex-shrink: 0;
    line-height: 0;
    border-radius: 0.5rem;
    overflow: hidden;
  }

  .swc-youtube-thumb img {
    width: 100px;
    height: auto;
    object-fit: cover;
    display: block;
  }

  .swc-youtube-caption {
    color: var(--primary-black);
    font-family: var(--body-font-arena);
    font-size: var(--body-font-size-xxs);
    font-weight: var(--fw-500);
    line-height: var(--heading-lh-19-mob-display);
  }

  .swc-secondary-title {
    margin-bottom: 0.75rem;

    :is(h1, h2, h3, h4, h5, h6) {
      color: var(--primary-black);
      font-family: var(--body-font-arena);
      font-size: var(--heading-font-size-s);
      font-weight: var(--fw-700);
      line-height: var(--heading-lh-5--mob);
      margin: 0;
    }
  }

  .swc-description {
    margin-bottom: 1.25rem;
    max-width: 400px;

    p {
      color: var(--secondary-main);
      font-family: var(--body-font-arena);
      font-size: var(--body-font-size-xs);
      line-height: var(--heading-lh-19-mob-display);
      margin: 0;
    }
  }

  .swc-cta {
    margin-bottom: 1rem;
  }

  .swc-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--body-font-arena);
    font-size: var(--body-font-size-xxs);
    font-weight: var(--fw-700);
    color: var(--tertiary-white);
    background-color: var(--primary-blue-700);
    border: none;
    border-radius: 0.25rem;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }

  .swc-cta-btn:hover {
    opacity: 0.9;
  }

  /* Splide overrides */
  .splide__track {
    overflow: hidden;
    position: relative;
    z-index: 0;
  }

  .splide__list {
    backface-visibility: hidden;
    display: flex;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }

  .splide__slide {
    backface-visibility: hidden;
    box-sizing: border-box;
    flex-shrink: 0;
    list-style-type: none !important;
    margin: 0;
    position: relative;
  }

  .splide__sr {
    display: none;
  }

  .swc-slide-img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    display: block;
  }

  .swc-dots {
    display: flex;
    justify-content: center;
    gap: 0.375rem;
    margin-top: 0.75rem;
    padding: 0;
    list-style: none;
  }

  .swc-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--light-grey-shade-5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
  }

  .swc-dot.is-active {
    background: var(--primary-main);
    width: 1.5rem;
    border-radius: 0.25rem;
  }

  .swc-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 1;
    padding: 0 0.5rem;
  }

  .swc-arrow {
    pointer-events: all;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(255 255 255 / 80%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
  }

  .swc-arrow:hover {
    background: var(--tertiary-white);
  }

  .splide {
    position: relative;
  }

  @media (width >=1024px) {
    .swc-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2.5rem;
      align-items: start;
    }

    .swc-slider {
      order: unset;
    }

    .swc-content {
      display: flex;
      flex-direction: column;
      height: 100%;
      justify-content: center;
    }

    .swc-title {
      order: unset;
      margin-bottom: 1.5rem;

      :is(h1, h2, h3, h4, h5, h6) {
        font-size: var(--heading-font-1-des);
        line-height: var(--heading-lh-16-des-display);
      }
    }

    .swc-body {
      order: unset;
      margin-top: 0;
    }

    .swc-secondary-title :is(h1, h2, h3, h4, h5, h6) {
      line-height: var(--heading-font-17-des);
    }
  }
}
