@desktop-down: ~'(max-width: 991px)';
@phone-down-700: ~'(max-width:700px)';
@phone-down-425:~'(max-width:425px)';
@phone-down-495:~'(max-width:495px)';
@phone-down-550:~'(max-width:550px)';
@phone-down-576:~'(max-width:576px)';
@phone-down-400:~'(max-width:400px)';
@iphone-375:~'(max-width:375px)';
.block_top_event_default3{
  .top-list,.best-list,.newest-list{
    .each-event-list{
      .information{
        height: auto;
        @media @phone-down-576{
          height: auto;
        }
        .name-event{
          height: auto;
          @media @phone-down-576{
            height: auto;
          }
        }
      }
    }
  }
  .title{
    margin-bottom: 52px;
    p{
      font-style: normal;
      font-weight: 600;
      font-size: 20px;
      line-height: 32px;
      text-align: center;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      color: #666666;
    }
    h1{
      font-style: normal;
      font-weight: bold;
      font-size: 39px;
      line-height: 56px;
      text-align: center;
      letter-spacing: 0.05em;
      text-transform: capitalize;
      color: #555555;

    }
  }
  .link{
    display: flex;
    justify-content: center;
    padding-bottom: 45px;
    p{
      margin: 0px 10px;
      background: #E6E6E6;
      border-radius: 10px;
      font-style: normal;
      font-weight: 600;
      font-size: 24px;
      line-height: 24px;
      letter-spacing: 0.02em;
      text-transform: capitalize;
      color: #555555;
      padding: 13px 30px;
      cursor: pointer;
      @media screen and(max-width: 768px){
        font-size: 20px;
        padding: 13px 20px;
      }
      @media screen and(max-width: 576px){
        font-size: 16px;
        padding: 13px 10px;
        text-align: center;
      }

    }
    p.active{
      background: #FFFFFF;
      box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
      color: #FB646F;
    }
  }
  .each-event-list{
      background: #FFFFFF;
      border-radius: 10px;
      margin-bottom: 30px;
      height: 538px;
      transition: all 0.3s;
      @media screen and(max-width: 576px){
        height: auto;
      }
    .table{
      @media @phone-down-576{
        display: none;
      }
    }
    .table-mobile{
      display: none;
      @media @phone-down-576{
        display: unset;
      }
    }
      .image-open-date{
        display: flex;
        .image-service{
          position: relative;
          margin: 30px 15px 0px 15px;
          height: 191px;
          width: 100%;
          overflow: hidden;
          border-radius: 10px;
          img{
            width: 100%;
            height: 100%;
            border-radius: 10px;
            transition: all 0.3s;
            object-position: center;
            object-fit: cover;
            &:hover{
              transform: scale(1.1);
            }
          }
          .border-full{
            position: absolute;
            height: 100%;
            width: 100%;
            background: linear-gradient(180deg, rgba(56, 56, 56, 0) 0%, #000000 130.89%);
            top: 0;
            left: 0;
            border-radius: 10px;
            transition: all 0.3s;
            &:hover{
              transform: scale(1.1);
            }
          }
          .name-eventtype{
            position: absolute;
            bottom: 15px;
            left: 15px;
            background: rgba(137, 137, 137, 0.3);
            border-radius: 15px;
            span{
              font-style: normal;
              font-weight: normal;
              font-size: 14px;
              line-height: 24px;
              letter-spacing: 0.02em;
              text-transform: capitalize;
              color: #F3F3F3;
              padding: 3px 13px;
            }
          }
        }

      }
      .open-date{
        padding-top: 30px;
        @media @phone-down-576{
          padding-top: 15px;
        }
        overflow: hidden;
        .day{
          display: flex;
          justify-content: center;
          font-style: normal;
          font-weight: bold;
          font-size: 48px;
          line-height: 65px;
          color: #555555;
          margin-top: -10px;
          @media @phone-down-425{
            font-size: 35px;
          }
          @media @phone-down-495{
            font-size: 37px;
          }
          @media @phone-down-400{
            font-size: 28px;
          }
        }
        .month{
          font-style: normal;
          font-weight: 600;
          font-size: 18px;
          line-height: 25px;
          color: #555555;
          display: flex;
          justify-content: center;
          margin-top: -6px;
          @media @phone-down-400{
            font-size: 16px;
          }
        }
      }
      .information{
        height: 180px;
        margin: 10px 0px;
        padding-right: 20px;
        @media @phone-down-425{
          margin: 10px 0;
          height: auto;
        }
        @media @phone-down-576{
          padding: 0 30px;
        }

        .name-event{
          padding: 15px 0px;
          height: 76px;
          @media @phone-down-576{
            padding: 0px 0px 10px 0px;
          }
          span{
            font-style: normal;
            font-weight: bold;
            font-size: 28px;
            line-height: 38px;
            letter-spacing: 0.02em;
            text-transform: capitalize;
            color: #555555;
            transition: all 0.3s;
            @media @phone-down-576{
              font-size: 22px;
            }
            &:hover{
              color: #FB646F;
            }
          }
        }
        .capacity, .hour-duration, .location{
          i{
            font-size: 14px;
            color: #666666;
            margin-right: 6px;
          }
          span{
            font-style: normal;
            font-weight: normal;
            font-size: 16px;
            line-height: 24px;
            letter-spacing: 0.02em;
            color: #666666;
          }
        }
        .capacity{
          @media @phone-down-576{
            margin-top: 0px;
          }
        }
        .location{
        }

      }
      .button-book {
        margin-bottom: 20px;
        @media @phone-down-576{
          margin-top: 20px;
        }
        @media @iphone-375{
          text-align: center;
        }
        @media @desktop-down{
          margin: 20px 0px;
        }
        .price-heart-booknow {

          padding: 20px 0 10px 0;
          @media @phone-down-576{
            padding: 0 30px;
          }

          @media screen and(max-width: 991.99px) {
            float: none;
          }

          .price-booknow {
            float: left;
            @media @phone-down-400{
              width: 100%;
              float:none;
              margin-bottom: 20px;
            }

            span {
              background: #9391FF;
              border-radius: 20px;
              box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
              padding: 7px 22px;
              font-style: normal;
              font-weight: 600;
              font-size: 20px;
              line-height: 27px;
              color: #F3F3F3;
              @media @phone-down-700{
                line-height: 2;
              }
              @media @phone-down-400{
                padding: 7px 38px;
              }
              @media screen and(max-width: 1200px) {
                font-size: 18px;
              }
            }
          }

          .heart {
            margin-top: 40px;
            display: flex;
            justify-content: flex-end;
            margin-right: 50px;

            i {
              width: 35px;
              height: 35px;
              background-color: #DFDFDF;
              border-radius: 50%;
              display: flex;
              justify-content: center;
              align-items: center;
              color: #FFFFFF;
              transition: all 0.3s;

              &:hover {
                background-color: #FB646F;
                cursor: pointer;
              }
            }

            i.active {
              background-color: #FB646F;
              cursor: pointer;
            }
          }

          .wrapper-button-action {
            display: flex;
            justify-content: flex-end;
            margin-right: 30px;
            position: relative;
            @media @phone-down-576{
              margin-right: 0px;
            }

            .div-link {
              position: absolute;
              width: 100%;
              height: 100%;
              background-color: #FFFFFF;
              color: #FFFFFF;
              opacity: 0;
            }

            .btn-booknow {
              background: #FFFFFF;
              border: 1px solid #555555;
              box-sizing: border-box;
              border-radius: 20px;
              padding: 2px;
              transition: all 0.3s;
              @media @phone-down-700{
                padding: 4px;
              }
              @media @phone-down-400{
                margin-inline-end: auto;
              }
              @media @iphone-375{
                margin: 0 auto;
              }

              a {
                font-style: normal;
                font-weight: 600;
                font-size: 18px;
                line-height: 25px;
                text-transform: capitalize;
                color: #555555;
                padding: 2px 20px;
                transition: all 0.3s;
                @media screen and(max-width: 1200px) {
                  padding: 2px 10px;
                }
                @media @iphone-375{
                  padding: 2px 20px;
                }
              }
            }

            &:hover {
              .btn-booknow {
                border: 1px solid #FB646F;
                background: #FB646F;

                a {
                  color: #FFFFFF;
                }
              }

            }
          }
        }
      }
    }
    .event-table{
      margin: 0px 10px;
      display: none;
      @media screen and(max-width: 991.99px){
        display:block;
      }
      .each-event-table{
        background: #FFFFFF;
        border-radius: 10px;
        margin-bottom: 30px;
        transition: all 0.3s;
        .img-service{
          height: 191px;
          width: 100%;
          position: relative;
          img{
            width: 100%;
            height: 100%;
            border-radius: 10px 10px 0px 0px;
          }
          .border-full{
            position: absolute;
            height: 100%;
            width: 100%;
            background: linear-gradient(180deg, rgba(56, 56, 56, 0) 0%, #000000 130.89%);
            top: 0;
            left: 0;
            border-radius: 10px 10px 0px 0px;
          }
          .name-eventtype{
            position: absolute;
            right: 10px;
            bottom: 10px;
            background: rgba(137, 137, 137, 0.3);
            border-radius: 15px;
            span{
              font-style: normal;
              font-weight: normal;
              font-size: 14px;
              line-height: 24px;
              letter-spacing: 0.02em;
              text-transform: capitalize;
              color: #F3F3F3;
              padding: 3px 13px;
            }
          }
          .open-date{
            position: absolute;
            top: 0px;
            right: 10px;
            background-color: #FFFFFF;
            width: 55px;
            .day{
              display: flex;
              justify-content: center;
              font-style: normal;
              font-weight: bold;
              font-size: 25px;
              line-height: 65px;
              color: #FB646F;
              margin-top: -10px;
              position: relative;
              &::before{
                content: "";
                width: 45px;
                position: absolute;
                display: flex;
                height: 1px;
                background-color: #FB646F ;
                bottom: 10px;
              }
            }
            .month{
              font-style: normal;
              font-weight: 600;
              font-size: 16px;
              line-height: 25px;
              color: #FB646F;
              display: flex;
              justify-content: center;
              margin-top: -6px;
              padding: 0px 5px;
            }
          }
          .price{
            position: absolute;
            left: 10px;
            bottom: 10px;
            background: #9391FF;
            box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
            border-radius: 20px;
            text-align: center;
            span {
              padding: 7px 22px;
              font-style: normal;
              font-weight: 600;
              font-size: 20px;
              line-height: 27px;
              color: #F3F3F3;
            }
          }
          .heart{
            position: absolute;
            top: 10px;
            left: 10px;
            i{
              width: 35px;
              height: 35px;
              background-color: #DFDFDF;
              border-radius: 50%;
              display: flex;
              justify-content: center;
              align-items: center;
              color: #FFFFFF;
              &:hover{
                background-color: #FB646F;
                cursor: pointer;
              }
            }

          }
        }
        .information{
          height: 200px;
          padding: 10px 20px 30px 20px;
          @media screen and(max-width: 576px){
            margin: 20px;
          }
          .name-event{
            span{
              font-style: normal;
              font-weight: bold;
              font-size: 20px;
              line-height: 38px;
              letter-spacing: 0.02em;
              text-transform: capitalize;
              color: #555555;
              @media screen and(max-width: 576px){
                line-height: 25px;
              }
              &:hover{
                color: #FB646F;
              }
            }
          }
          .capacity, .hour-duration, .location{
            @media screen and(max-width: 576px){
              margin-top: 10px;
            }
            i{
              font-size: 14px;
              color: #666666;
              margin-right: 6px;
            }
            span{
              font-style: normal;
              font-weight: normal;
              font-size: 16px;
              line-height: 24px;
              letter-spacing: 0.02em;
              color: #666666;
            }
          }
          .capacity{
            @media screen and(max-width: 576px){
              margin-top: 10px;
            }
          }
        }
        .wrapper-button-action{
          .btn-booknow{
            display: flex;
            justify-content: center;
            padding: 0px 0px 30px 0px;
            a{
              border: 1px solid #555555;
              box-sizing: border-box;
              border-radius: 20px;
              font-style: normal;
              font-weight: 600;
              font-size: 18px;
              line-height: 25px;
              text-transform: capitalize;
              color: #555555;
              padding: 5px 25px;
              transition: all 0.3s;
            }
            &:hover{
              a{
                color: #FFFFFF;
                background: #FB646F;
                border: 1px solid #FB646F;
              }
            }
          }

        }
      }

    }
}