.ybl-anker-collection{
  position: relative;
  max-width: 1800px;
  padding: 0 20px;
  margin: 0 auto;
  overflow-x: hidden;
  margin-top: 0 !important;

  @media screen and (max-width: 768px) {
    padding: 16px 20px;
  }
  @media screen and (max-width: 678px) {
    padding: 8px 16px;
    margin-bottom: -12px;
  }

  .swiper-button-next,
  .swiper-button-prev{
    display: block !important;
  }

  .anker-collection-wrapper{
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;  
    padding: 16px 0;

    @media screen and (min-width: 1400px) {
      display: flex;
      justify-content: center; 
      padding: 24px;
    }
    @media screen and (max-width: 1300px) {
      max-width: 1160px;    
    }
    @media screen and (max-width: 1200px) {
      max-width: 1060px;
      justify-content: left !important; 
    }
    @media screen and (max-width: 900px) {
      
    }

    > .anker-item{
      position: relative;
      width: fit-content !important;
      display: inline-block;
      margin-right: 8px;
      cursor: pointer;

      .anker-link{
        position: absolute;
        top:0;
        left: 0;
        width: 100%;
        height: 100%;
      }

      .anker-content{
        display: grid;
        grid-template-columns: 40px 1fr;
        gap: 8px;
        padding: 13px 20px;
        border-radius: 16px;
        border: 2px solid #033E46;
        max-width: 280px;
        width: fit-content;
        align-items: center;
        transition: all 0.1s ease-in-out;

        @media screen and (max-width: 1200px) {
          border: 1.5px solid #033E46; 
        }

        .text-wrapper{
          &.line-wrap{
            white-space: nowrap;
          }
          @media screen and (max-width: 1200px) {
            white-space: nowrap;
          }
        }

        &.ybl-hide-icon{
          grid-template-columns: 1fr;
        }
        
        @media screen and (max-width: 1200px) {
          padding-top: 8px;
          padding-bottom: 8px;
          grid-template-columns: 24px 1fr;
        
          /*
          grid-template-columns: 1fr;
          */
        }

        .img-wrapper{
          display: flex;
          justify-content: center;
          width: 35px;
          height: 35px;
          position: relative;

          >.anker-icon{
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);

            &.hover-icon{
              opacity: 0;
            }
          }
          
          @media screen and (max-width: 1200px) {
            width: 24px;
            height: 24px;
            /*
            display: none;
            */
            img{
              width: 24px;
              height: 24px;
            }
          }
          
        }

        p{
          margin: 0;
          font-size: 16px;
          font-style: normal;
          font-family: Mulish-ExtraBold;
          line-height: 16px; /* 142.857% */
          letter-spacing: 0.42px;
          color: #033E46;
          width: min-content;
        }
      }

      &.active{
        .anker-content{
          background: #033E46;
          p{
            color: #FFF;
          }
          .img-wrapper{
            >.anker-icon{
              opacity: 0;
              &.hover-icon{
                opacity: 1;
              }
            }
          }
        }
      }

      &:hover{
        .anker-content{
          border-color: #00616E;
          background-color: #00616E;
          p{ 
            color: #FFF;
          }
          .img-wrapper{
            >.anker-icon{
              opacity: 0;
              &.hover-icon{
                opacity: 1;
              }
            }
          }
        }  
      }
    }
  }
}