.Adp-homepage {

background: $grey-900;
.row {
  padding: 20px 95px;

  @media #{$S-only} {
    padding: 20px 5px;
  }
}

.container {
  margin: 0 auto;
  padding: 0 20px;

  @media #{$S-only} {
    margin: 24px auto;
  }
}

.Adp-hero-section p > a {
  color: #b77ef9 !important;
}

.Adp-hero-section__get-started {
  margin-right: 24px;
}

.Adp-hero-section__title {
  padding: 31px 0 0 0;
}

.Vlt-btn+.Vlt-btn {
  margin-left: 0px;
}

.Adp-use-cases {
  position: relative;
  -webkit-transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;

  &__background {
    position: absolute;
    width: 100%;
    height: 285px;
    left: 0px;
    top: 85px;
    background: linear-gradient(90deg, #7FC6F4 4.86%, #D5279B 96.11%);
    mix-blend-mode: hard-light;
    opacity: 0.4;
  }

  .Vlt-tabs__header {
    border-bottom: 1px solid $grey-700;
  }

  .Vlt-tabs__link:focus {
    background-color: inherit;
  }

  .Vlt-tabs__link_active:after {
    background: $white;
  }

  &__all {
    margin: 20px auto 0;

    svg, a {
      color: #B77EF9 !important;
      fill: #B77EF9 !important;
    }
  }

  &__all-mobile {
    width: 100%;
  }
}

.Adp-use-cases__card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(25px);
  border-radius: 16px;
  padding: 24px 24px 0 24px;
  height: 100%;

  .Vlt-card__content {
    min-height: 257px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;

    @media #{$M-plus} {
      min-height: 288px;
    }
  }

  p {
    margin-bottom: 0px;
  }

  &-title {
    padding: 0 0 14px 0;
    display: flex;
  }

  &-blurb {
    padding: 0 0 14px 0;
    display: flex;
  }

  &-tags {
    padding: 0 0 16px 0;
    display: flex;
    flex-wrap: wrap;

    p {
      color: $grey-300;

      &:nth-of-type(1) {
        margin-right: 24px;
      }
    }
  }

  &-image {
    background: rgb(183, 126, 249);
    border-radius: 8px 8px 0 0;
    display: flex;

    img {
      border-radius: 8px 8px 0 0;
    }
  }
}

.Adp-listing {
  position: relative;
  h3 {
    margin-bottom: 32px;
  }

  @media #{$S-only} {
    .Vlt-btn--primary {
      width: 100%;
    }
  }

  .Vlt-col--3of3 {
    display: flex;
    justify-content: center;
  }

  &__platform {
    .Vlt-grid {
      @media #{$M-plus} {
        padding: 40px 80px;
      }
    }
    .Adp-listing__item {
      margin-bottom: 0px;
    }
  }

  &__background {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, #7FC6F4 4.86%, #8728FB 96.11%);
    mix-blend-mode: hard-light;
    opacity: 0.2;
  }

  &__background-glass {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    border-radius: 16px;

    @media #{$S-only} {
      padding: 0 15px;
    }
  }
}

.Adp-listing__item {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;

  &-title {
    display: flex;

    svg {
      margin-right: 16px;
    }
  }

  &-links {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: 24px;

    &-border {
      border-bottom: 1px solid $grey-700;
    }

    a {
      justify-content: space-between;
      display: flex;
      margin: 0 0 8px 40px;
    }
  }
}

.Adp-brand-listing {
  background: linear-gradient(90deg, #7FC6F4 4.86%, #8728FB 96.11%);

  .container {

    @media #{$S-only} {
      margin: 0px auto;
    }
  }

  @media #{$M-plus} {
    height: 88px;
  }

  .Vlt-grid {
    justify-content: space-between;
    align-items: center;

    // overrides volta's style, they don't work
    @media #{$S-only} {
      .Vlt-col--S-1of2 {
        display: flex;
        justify-content: center;
        flex: 0 0 50%;
      }
    }
  }

  .row {
    padding: 16px 95px;

    @media #{$S-only} {
      padding: 16px 0;
    }
  }
}

.Adp-documentation {
  .Adp-listing__item-links {
    @media #{$S-only} {
      border-bottom: 1px solid $grey-700;
    }
  }
}

.Adp-platform__background {
  background: linear-gradient(90deg, #7FC6F4 4.86%, #8728FB 96.11%);
  mix-blend-mode: hard-light;
  opacity: 0.2;
  position: absolute;
  width: 100%;
  height: 285px;
  top: 78px;
  left: 0px;

  &-glass {
    @media #{$M-plus} {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(25px);
      border-radius: 16px;
    }

    @media #{$S-only} {
      padding: 0 15px;
    }
  }
}

.Adp-listing__platform {
  .Adp-listing__item {
    @media #{$S-only} {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(25px);
      border-radius: 16px;
      padding: 15px;

      .Adp-listing__item-links {
        padding: 0;
      }
    }
  }
}

.Adp-video-listing {
  .Vlt-col {
    display: flex;
    justify-content: center;
  }

  .Vlt-btn {
    @media #{$S-only} {
      width: 100%;
    }
  }
}

.Adp-hero-section__code-background {
  background: #871EFF;
  border-radius: 0 0 0 40px;
  height: 360px;
  z-index: -1;
  width: 49vw;
  left: -5px;
  position: absolute;
  top: -20px;

  @media #{$S-only} {
    width: 100vw;
    left: 0;
    margin-top: 16px;
  }
}

.Adp-code-snippets-listing {
  .Adp-code-snippet__title {
    padding-left: 12px;

    b {
      color: white;
    }
  }

  .Adp-code-snippet {
    background-color: #333333;
    border-radius: 15px;

    code, pre {
      background-color: #333333;
    }

    pre {
      margin: 0;
      padding: 16px 24px;
      border-radius: 15px;
      max-height: 250px;
      overflow: hidden;

      &:hover {
        overflow: auto;
      }
    }

    svg {
      width: 16px;
      height: 16px;
    }

    #prerequisites, #write-the-code, #run-your-code, p {
      display: none;
    }

    .Nxd-accordion-emphasis {
      display: none;
    }

    pre:not(.main-code) {
      display: none;
    }

    #write-the-code ~ .code-toolbar + p {
      display: flex;
      font-weight: 600;

      a {
        color: white;
        padding: 10px 35px 0px;
      }
    }

    #run-your-code ~ .code-toolbar, #run-your-code ~ .code-toolbar + p {
      display: none;
    }

    .Vlt-tabs__content {
      margin-top: 0px;
      padding-bottom: 16px;
    }

    .Vlt-tabs__header--bordered {
      box-shadow: none;
      display: flex;
      justify-content: flex-start;
      margin-top: 0px;
      padding: 16px;
      overflow: hidden;
      height: 80px;

      &:hover {
        overflow-x: auto;
      }

      .Vlt-tabs__link {
        border-radius: 100px;
        padding: 12px;
        margin: 0;
        color: white;
        height: 44px;

        &:first-child {
          margin: 0;
        }
        a {
          display: flex;
          font-size: 16px;
          font-weight: 600;
        }

        &:after {
          background: none;
        }

        &:active {
          background-color: #333333 !important;
        }
      }

      .Vlt-tabs__link_active {
        background: #757575;
        border: none;

        &:before {
          background: none;
        }
      }
    }
  }
}

.glide {
  position: static;
  max-height: 400px;

  &__track {
    margin-top: 40px;
  }

  &__bullets {
    top: 20px;
    left: 48px;
  }

  &__arrow {
    border: none;
    box-shadow: none;
  }

  &__arrow--left {
    left: -25px;

    @media #{$S-only} {
      left: -15px;
    }
  }

  &__arrow--right {
    right: -25px;

    @media #{$S-only} {
      right: -15px;
    }
  }

  *::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #333;
    border-radius: 10px;
  }

  *::-webkit-scrollbar {
    background-color: #333;
    width: 10px;
    height: 10px;
  }

  *::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #1a1a1a;
  }
}

}