/* Preserve the exported desktop marquee while making the workflow strip a
   touch-controlled carousel on narrow screens. */
.tdl-user-slider-item {
  display: contents;
}

@media screen and (max-width: 767px) {
  .v1-about-grid,
  .v1-about-div,
  .v1-about-image-wrapper,
  .v1-about-image-div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .v1-about-image-wrapper {
    overflow: hidden;
  }

  .v1-about-image-div {
    height: min(53vw, 15.5rem) !important;
    flex: 0 0 auto !important;
  }

  .v1-about-image {
    display: block;
    height: 100% !important;
    object-fit: cover;
  }

  .user-slider-main-div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    flex: 0 0 auto !important;
    overflow: hidden !important;
  }

  .user-slider-wrapper {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain;
    scroll-padding-inline: .75rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .user-slider-wrapper::-webkit-scrollbar {
    display: none;
  }

  .user-slider-wrapper:focus-visible {
    outline: 3px solid #52e8ae;
    outline-offset: 3px;
  }

  .user-slider-div {
    position: static !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    animation: none !important;
    transform: none !important;
  }

  .user-slider {
    display: flex !important;
    width: max-content !important;
    min-width: 100% !important;
    height: auto !important;
    align-items: stretch !important;
    gap: .75rem !important;
    padding: .75rem !important;
    box-sizing: border-box;
    animation: none !important;
    transform: none !important;
  }

  .user-slider + .user-slider {
    display: none !important;
  }

  .tdl-user-slider-item {
    display: flex;
    flex: 0 0 min(calc(100vw - 5rem), 22.5rem);
    min-width: 0;
    min-height: 5.75rem;
    align-items: center;
    justify-content: space-between;
    gap: .9rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(82, 232, 174, .28);
    border-radius: 1rem;
    background: #07110d;
    box-sizing: border-box;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .tdl-user-slider-item .user-slider-text {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none !important;
    margin: 0 !important;
    font-size: clamp(1rem, 4.8vw, 1.35rem) !important;
    line-height: 1.18 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .tdl-user-slider-item .user-slider-image {
    flex: 0 0 3.25rem;
    width: 3.25rem !important;
    height: 3.25rem !important;
    max-width: 3.25rem !important;
    object-fit: contain;
  }
}

@media screen and (max-width: 479px) {
  .v1-about-image-div {
    height: 10rem !important;
  }
}
