/*----------------------------------------*/
/*    Attraction Area                     */
/*----------------------------------------*/

.rts-attractions-area {
  .rts-attraction-wrapper {
    .rts-attractions-item {
      @include flex-center;
      position: relative;

      @include mq(max-lg) {
        flex-wrap: wrap;
        justify-content: center;
      }

      @include mq(max-md) {
        overflow: visible;
      }

      &.two {
        justify-content: end;

        @include mq(max-lg) {
          justify-content: center;
        }

      }

      &:not(:last-child) {
        margin-bottom: 50px;
      }

      .rts-attractions-image {
        position: relative;
        z-index: 1;
        max-width: 516px;
        width: 100%;

        @include mq(max-lg) {
          order: -1;
          width: 100%;
        }

        @include mq(max-md) {
          max-width: 100%;
        }

        .rts-main-img {
          overflow: hidden;
          width: 95%;
          height: 580px;
          margin-left: 13px;
          clip-path: var(--clip-primary);

          @include mq(max-md) {
            height: auto !important;
            min-height: 200px;
            max-height: 590px;
          }

          @include mq(max-sm) {
            max-width: 100%;
            clip-path: none;
          }

          @media(max-width:450px){
            max-width: 370px;
            margin-right: 0;
          }

          @media(max-width:400px){
            max-width: 92%;
          }

          .jarallax-img {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transform: translate(-50%, -50%);

            @include mq(max-md) {
              position: relative !important;
              top: auto !important;
              left: auto !important;
              transform: none !important;
              width: 100% !important;
              height: 100% !important;
              object-fit: cover;
            }
          }
        }
      }

      .border-shape {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: -1;
      }
    }

    .rts-attraction-content {
      max-width: 670px;
      width: 100%;
      padding: 70px 80px 70px 50px;
      background: var(--theme-color-3);
      clip-path: var(--clip-primary-2);
      position: absolute;
      top: 50%;
      left: 45%;
      transform: translateY(-50%);
      right: 0;
      z-index: 9;

      @include mq(max-lg) {
        position: static;
        transform: unset;
        order: 0;
        width: 100%;
        margin-top: 40px !important;
      }

      @include mq(max-md) {
        position: static !important;
        transform: none !important;
        clip-path: none !important;
        padding: 24px 18px !important;
        margin-top: 16px !important;
        z-index: 10 !important;
        width: 100%;
      }

      &.two {
        right: auto;
                        left: -7%;
        clip-path: var(--clip-primary-3);
        
      }

      .title {
        margin-bottom: 30px;

        @include mq(max-md) {
          font-size: 30px;
        }

        @include mq(max-sm) {
          font-size: 25px;
        }
      }

      .desc {
        font-size: 18px;
      }

      .list {
        margin-top: 30px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 10px;

        @include mq(max-md) {
          grid-template-columns: repeat(1, 1fr);
        }

        li {
          font-size: 18px;

          span {
            display: inline-block;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--theme-color-2);
            margin-right: 20px;
          }
        }
      }
    }
  }
}