@import url("../../components/tour-item/styles.css");
@import url("./custom-components/styles.css");
@import url("../section-banner/assets/styles.css");
@import url("../section-tour-overview/assets/styles.css");
@import url("../section-when-to-go/assets/styles.css");
@import url("../../components/section-reviews/assets/styles.css");
@import url("../section-client-say/assets/styles.css");
@import url("../section-related-tour/assets/styles.css");
@import url("../section-detailed-itinerary/assets/styles.css");
@import url("../../components/section-reason/assets/styles.css");

main {
  background-color: #fbf9f8;
  position: relative;
}

/* Fixed background dùng pseudo-element để hoạt động trên cả iOS (Safari không hỗ trợ background-attachment: fixed) */
main::before {
  content: "";
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("/wp-content/uploads/backgroundpc.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

.footer_container {
  margin-top: -2.5rem;
  z-index: 10;
}

.detail-tour-page {
  position: relative;
}

.detail-tour-page > *:not(.cta-nav) {
  position: relative;
  z-index: 1;
}

.detail-tour-bg-wrap {
  position: relative;
  overflow-x: clip;
}

.detail-tour-decor {
  display: block;
  position: absolute;
  top: 8.5rem;
  margin-left: auto;
  right: 0;
  width: 12.0625rem;
  height: 22.5rem;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.overlay-detail-tour-page {
  height: 8rem;
  position: absolute;
  z-index: 10;
  bottom: -3rem;
  left: 0;
  width: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02) 0.76%,
    rgba(255, 255, 255, 0.02) 2.08%,
    rgba(255, 255, 255, 0) 9.13%,
    rgba(255, 255, 255, 0.2) 22.28%,
    rgba(255, 255, 255, 0.49) 37.52%,
    rgba(255, 255, 255, 0.71) 47.65%,
    rgba(255, 255, 255, 1) 76.11%,
    rgba(255, 255, 255, 0) 91.12%
  );
  pointer-events: none;
}

.destination-reason_img {
  height: calc(41.65rem + 2.85rem);
}

.detail-tour-sticky-container {
  position: relative;
}

@media screen and (max-width: 639.98px) {
  main::before {
    background-image: none;
    background-color: #fbf9f8;
  }

  .detail-tour-page::before {
    content: none;
    display: none;
  }

  .detail-tour-decor {
    display: block;
    position: absolute;
    top: 22.01rem;
    margin-left: auto;
    right: -0.875rem;
    width: 7.54681rem;
    height: 14.066rem;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
  }

  .reviews__item {
    padding: 1.25rem 1rem;
  }

  .reviews__item-info-avatar {
    width: 2.5rem;
    height: 2.5rem;
  }

  .trustpilot-badge--mobile strong {
    font-weight: 800;
  }

  .detail-tour-page > *:not(.cta-nav) {
    position: relative;
    z-index: unset;
    margin-top: -1px;
  }

  .destination-reason_img-mb,
  .destination-reason_img-wrapper {
    mask-image: none;
  }

  .destination-reason_card-item-wrapper {
    gap: 0;
  }

  .destination-reason_card-link.compound-avian-button {
    width: 10.6875rem;
    height: 2.375rem;
  }
}
