@import '../global/variables';
@import '../pages/search';
@import '../pages/blog';
@import '../sections/hot-flights';
.single-post {
  .destinations_types {
    padding-bottom: 32px;
    .grid_container {
      padding-top: 0;
    }
    @media screen and (max-width: $tablets-big) {
      padding-top: 0;
    }
    .destination_item {
      max-width: calc(33% - 16px);
      @media screen and (max-width: $tablets-big) {
        max-width: 100%;
      }
      .img_box {
        height: 310px;
        @media screen and (max-width: $tablets-big) {
          height: 220px;
        }
        @media (max-width: $phones-big) {
          height: 130px;
        }
      }
    }
  }
  .hotel_gallery {
    padding: 25px 0;
  }
  .main_form_box {
    visibility: hidden;
    position: fixed;
    top: -50px;
    left: 0;
    right: 0;
    z-index: -1;
    opacity: 0;
    transition: top 0.3s;
    @media screen and (max-width: $tablets-big) {
      padding: 8px 0 0 0;
      padding-top: env(safe-area-inset-top);
      border-bottom: 1px solid $divider2;
      background: $white;
    }
    &.sticky_visible {
      visibility: visible;
      opacity: 1;
      top: 0;
      z-index: 97;
    }
    &.active {
      @media screen and (max-width: $tablets-big) {
        z-index: 999;
      }
    }
    & > .text {
      font-size: 22px;
      font-weight: 700;
      text-align: left;
      width: 1090px;
      max-width: 100%;
      margin: 0 auto;
      background: #fff;
      padding: 8px 0 16px 25px;
      @media screen and (max-width: $tablets-big) {
        padding: 0 0 0 30px;
        font-size: 16px;
      }
    }
  }
  div.main_form {
    width: 1090px;
    max-width: 100%;
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: 0;
    @media screen and (max-width: $tablets-big) {
      padding-top: 0;
      padding-bottom: 0;
    }
    form {
      max-width: 100%;
      .btn_box {
        margin-right: auto;
      }
    }
  }
  .search_title {
    min-height: 320px;
    @media screen and (max-width: $tablets-big) {
      min-height: 120px;
      margin-bottom: -20px;
    }
  }
  .container {
    max-width: 1120px;
    @media screen and (max-width: $tablets-big) {
      max-width: 720px;
    }
  }
  .load_more_button {
    width: 100%;
    padding: 7px 20px;
    margin-bottom: 30px;
    &.flight_loader {
      font-size: 0;
    }
  }
  .title,
  .shortcode_title {
    padding: 0 0 24px 44px;
    margin: 0;
    a {
      text-decoration: underline;
    }
    @media screen and (max-width: $tablets-big) {
      padding: 0 0 24px 16px;
    }
  }
  .additional-info-container {
    padding: 30px 0 0;
    line-height: 1.5;
    @media screen and (max-width: $tablets-big) {
      padding: 0;
    }
    h2 {
      font-size: 20px;
      margin-bottom: 10px;
    }
    .additional-info:not(:last-child) {
      margin-bottom: 20px;
    }
    a {
      text-decoration: underline;
    }
  }
  .entry-header {
    padding: 28px 44px;
    border-radius: 5px;
    background: $white;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.10);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    @media screen and (max-width: $tablets-big) {
      padding: 16px;
      margin-bottom: 24px;
    }
    .post-title {
      display: flex;
      align-items: center;
      gap: 10px 20px;
      flex-wrap: wrap;
      font: normal 700 60px / 1em $font-almoni;
      margin: 0;
      @media screen and (max-width: $tablets-big) {
        font-size: 30px;
        gap: 10px;
      }
      @media screen and (max-width: $phones-big) {
        font-size: 26px;
      }
      svg{
        width: 44px;
        height: 44px;
        @media screen and (max-width: $tablets-big) {
          width: 24px;
          height: 24px;
        }
      }
      .old-price{
        color: $extra-dark-gray;
        text-decoration-line: line-through;
      }
    }
    .premium-text{
      font: normal 700 24px / 1em $font-almoni;
      display: flex;
      align-items: center;
      gap: 16px;
      margin: 12px 0 0;
      @media screen and (max-width: $tablets-big) {
        font-size: 18px;
      }
      @media screen and (max-width: $phones-big) {
        font-size: 16px;
        margin-top: 10px;
        gap: 10px;
      }
      svg{
        width: 28px;
        height: 28px;
        @media screen and (max-width: $tablets-big) {
          width: 18px;
          height: 18px;
        }
      }
    }
    .post-categories {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
      margin: 30px 0;
      @media screen and (max-width: $tablets-big) {
        gap: 6px;
        margin: 24px 0;
      }
      span, a {
        font-size: 20px;
        padding: 5px 12px;
        border-radius: 5px;
        background: $bg-light-blue;
        color: $dark-blue;
        @media screen and (max-width: $tablets-big) {
          font-size: 14px;
        }
      }
    }
    .post-extras-item {
      font: normal 700 20px / 1em $font-almoni;
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      padding-left: 32px;
      padding-right: 0;
      position: relative;
      @media screen and (max-width: $tablets-big) {
        font-size: 14px;
      }
      &:not(:last-child) {
        margin-bottom: 20px;
        @media screen and (max-width: $tablets-big) {
          margin-bottom: 18px;
        }
      }
      i {
        width: 24px;
        text-align: center;
        position: absolute;
        top: 0;
        right: initial;
        left: 0;
      }
    }
    .extra-text {
      margin-top: 20px;
    }
    .flight-company-list {
      a .extras-content {
        text-decoration: underline;
        border-left: solid 2px $dark-blue;
      }
      .extras-content {
        margin: 0 0 0 5px;
        padding: 0 0 0 5px;
      }
      a:last-child .extras-content {
        border: none;
      }
    }
  }
  .banner_js {
    margin-bottom: 24px;
  }
}
.search-results h1.page-title {
  margin: 0 0 25px 0;
  padding: 35px 0 25px 0;
  font-size: 35px;
  border-bottom: solid 1px #ddd;
  text-align: center;
  font-weight: 500;
  line-height: 1;
}

html[dir="rtl"] {
  .single-post {
    .entry-header {
      .post-extras-item {
        padding-left: 0;
        padding-right: 32px;
        i {
          right: 0;
          left: initial;
        }
      }
    }
    .title,
    .shortcode_title {
      padding: 0 44px 24px 0;
      @media screen and (max-width: $tablets-big) {
        padding: 0 16px 24px 0;
      }
    }
    .main_form_box > .text {
      text-align: right;
      padding: 8px 44px 16px 0;
      @media screen and (max-width: $tablets-big) {
        padding: 0 30px 0 0;
      }
    }
  }
}