.experiences {
  position: relative;

  .container {
    h2 {
      font-size: var(--fs-6xl);
      color: var(--c-primary-200);
      line-height: 87%;
      letter-spacing: -6px;
      text-transform: capitalize;
      margin-block: 55px;

      @media (max-width: 1024px) {
        font-size: var(--fs-5xl);
        letter-spacing: -2px;
        margin-block: 20px 16px;
      }
    }

    .text {
      max-width: 692px;
      margin-bottom: 20px;

      @media (max-width: 1024px) {
        margin-bottom: 32px;
      }
    }

    .title {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 80px;
      gap: 32px;

      @media (max-width: 1024px) {
        flex-direction: column;
        margin-bottom: 36px;
      }

      h1 {
        color: #181818;
        margin-block: 0;

        &.nowrap {
          white-space: nowrap;
        }
      }

      .text {
        margin-bottom: 0;

        p {
          margin-bottom: 0;
        }
      }
    }
  }

  .experiences-loader {
    position: absolute;
    bottom: 210px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 100px;
    height: 100px;

    @media (max-width: 1024px) {
      bottom: 140px;
    }
  }

  .experiences-marquee {
    width: 100%;
    height: 500px;
    opacity: 0;
    padding-block: 20px;
    transition: opacity 0.3s ease;

    &.logo {
      height: 490px;
    }

    @media (max-width: 1024px) {
      height: 240px;

      &.logo {
        height: 280px;
      }
    }

    &.is-loaded {
      opacity: 1;
    }

    .swiper-wrapper {
      transition-timing-function: linear !important;
      -webkit-transition-timing-function: linear !important;
      position: relative;

      .swiper-slide {
        height: 100%;
        width: auto;
        position: relative;

        figure {
          height: 100%;

          video {
            position: relative;
            height: 440px;
            border-radius: 5px;
            overflow: hidden;
            border: 1px solid var(--c-gray-900);
            width: auto;
            object-fit: cover;
            transition:
              box-shadow 0.3s ease,
              border 0.3s ease;

            &:hover {
              border: 1px solid transparent;
              box-shadow: 14px 8px 24px 0 rgba(0, 0, 0, 0.1);
            }
          }

          /* &::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            height: 440px;
            background-color: #ffd672;
            opacity: 0.12;
            pointer-events: none;
            z-index: 2;
            border-radius: 20px;
            transition: all 0.3 ease;
          } */
          &:hover {
            /* &::after {
              content: '';
              position: absolute;
              top: 0;
              left: 0;
              right: 0;
              bottom: 0;
              width: 100%;
              height: 440px;
              background-color: #ffd672;
              opacity: 0;
              pointer-events: none;
              z-index: 2;
              border-radius: 20px;
              transition: all 0.3 ease;
            } */

            /* video {
              filter: grayscale(0%);
            } */
          }

          figcaption {
            position: absolute;
            font-size: 10px;
            font-style: italic;
            margin-top: 6px;
            left: 50%;
            transform: translateX(-50%);

            @media (max-width: 1024px) {
              font-size: 6px;
            }

            span {
              max-height: 24px;

              svg {
                width: 100%;
                height: 100%;
                object-fit: contain;
              }
            }
          }

          @media (max-width: 1024px) {
            &::after {
              content: '';
              position: absolute;
              top: 0;
              left: 0;
              right: 0;
              bottom: 0;
              width: 100%;
              height: 240px;
              background-color: #ffd672;
              opacity: 0.12;
              pointer-events: none;
              z-index: 2;
              border-radius: 20px;
              transition: all 0.3 ease;
            }
          }
        }
      }
    }
  }
}
