.tp-trending-destinations {
  position: relative;
  margin-top: 44px;
  padding: 62px 0;
  background: var(--tp-grey-3);
  overflow: hidden;
}

.tp-trending-destinations-watermark {
  position: absolute;
  top: 32px;
  left: 50%;
  color: rgba(7, 21, 22, 0.025);
  font-family: var(--tp-ff-heading);
  font-size: clamp(76px, 14vw, 210px);
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
  transform: translateX(-50%);
  pointer-events: none;
}

.tp-trending-destinations-heading {
  max-width: 790px;
  margin: 0 auto 34px;
}

.tp-trending-destinations-heading .tp-section-title {
  margin-bottom: 17px;
}

.tp-trending-title-accent {
  color: var(--tp-theme-1);
}

.tp-trending-title-underline {
  position: absolute;
  bottom: -9px;
  left: 0;
  width: 100%;
  height: 12px;
  color: var(--tp-theme-1);
}

.tp-trending-destinations-heading > p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--tp-grey-1);
  font-family: var(--tp-ff-p);
  font-size: 14px;
  line-height: 1.65;
}

.tp-trending-feature-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.tp-trending-feature-badges > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid var(--tp-border-1);
  border-radius: 999px;
  color: var(--tp-common-black);
  background: var(--tp-common-white);
  box-shadow: 0 4px 14px rgba(7, 21, 22, 0.04);
  font-family: var(--tp-ff-body);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

.tp-trending-feature-badges i {
  color: var(--tp-theme-1);
}

.tp-destination-expanding-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tp-destination-expand-panel {
  position: relative;
  width: 100%;
  height: 88px;
  border: 1px solid rgba(7, 21, 22, 0.08);
  border-radius: 16px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 8px 24px rgba(7, 21, 22, 0.08);
  cursor: pointer;
  overflow: hidden;
  transition: height 0.55s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.tp-destination-expand-panel.active {
  height: 380px;
  border-color: rgba(253, 70, 33, 0.4);
  box-shadow: 0 18px 42px rgba(7, 21, 22, 0.18);
}

.tp-destination-expand-panel:focus-visible {
  outline: 3px solid rgba(253, 70, 33, 0.32);
  outline-offset: 3px;
}

.tp-destination-expand-panel::after {
  position: absolute;
  z-index: 2;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}

.tp-destination-expand-panel.active::after {
  left: 150%;
  transition: left 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

.tp-destination-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 21, 22, 0.76), rgba(7, 21, 22, 0.3));
  transition: background 0.45s ease;
}

.tp-destination-expand-panel.active .tp-destination-panel-overlay {
  background: linear-gradient(0deg, rgba(7, 21, 22, 0.94) 0%, rgba(7, 21, 22, 0.34) 62%, rgba(7, 21, 22, 0.12) 100%);
}

.tp-destination-panel-category,
.tp-destination-panel-rating {
  position: absolute;
  z-index: 3;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--tp-common-white);
  background: rgba(7, 21, 22, 0.66);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  font-family: var(--tp-ff-body);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.tp-destination-panel-category {
  left: 12px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tp-destination-panel-rating {
  right: 12px;
}

.tp-destination-panel-category i,
.tp-destination-panel-rating i {
  color: var(--tp-theme-1);
}

.tp-destination-expand-panel.active .tp-destination-panel-category {
  opacity: 1;
  transform: translateY(0);
}

.tp-destination-panel-collapsed-title {
  position: absolute;
  z-index: 2;
  bottom: 17px;
  left: 16px;
  color: var(--tp-common-white);
  font-family: var(--tp-ff-heading);
  font-size: 20px;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tp-destination-expand-panel.active .tp-destination-panel-collapsed-title {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.tp-destination-panel-content {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 18px;
  left: 16px;
  display: flex;
  align-items: flex-end;
  gap: 11px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s ease 0.12s, transform 0.4s ease 0.12s, visibility 0.35s ease;
  pointer-events: none;
}

.tp-destination-expand-panel.active .tp-destination-panel-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.tp-destination-panel-icon {
  display: none;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--tp-common-white);
  background: var(--tp-theme-1);
  box-shadow: 0 8px 24px rgba(253, 70, 33, 0.35);
}

.tp-destination-panel-text {
  min-width: 0;
}

.tp-destination-panel-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 9px;
}

.tp-destination-panel-tags span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: var(--tp-common-white);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: var(--tp-ff-body);
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.tp-destination-panel-tags span i {
  color: var(--tp-theme-1);
}

.tp-destination-panel-tags .is-price {
  border-color: var(--tp-theme-1);
  background: var(--tp-theme-1);
}

.tp-destination-panel-tags .is-price i {
  color: var(--tp-common-white);
}

.tp-destination-panel-text h3 {
  margin-bottom: 5px;
  color: var(--tp-common-white);
  font-family: var(--tp-ff-heading);
  font-size: 29px;
  font-weight: 400;
  line-height: 1.08;
}

.tp-destination-panel-text p {
  max-width: 590px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--tp-ff-p);
  font-size: 12px;
  line-height: 1.45;
}

.tp-destination-panel-cta {
  margin-top: 13px;
  padding: 13px 18px;
  font-size: 12px;
}

.tp-destination-panel-cta i {
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.tp-destination-panel-cta:hover i {
  transform: translateX(3px);
}

@media (min-width: 576px) {
  .tp-trending-destinations {
    padding: 76px 0;
  }

  .tp-trending-destinations-heading {
    margin-bottom: 44px;
  }

  .tp-trending-destinations-heading > p {
    font-size: 16px;
  }

  .tp-trending-feature-badges {
    gap: 10px;
  }

  .tp-trending-feature-badges > span {
    padding: 8px 14px;
    font-size: 12px;
  }

  .tp-destination-expand-panel {
    height: 100px;
  }

  .tp-destination-expand-panel.active {
    height: 410px;
  }

  .tp-destination-panel-content {
    right: 22px;
    bottom: 22px;
    left: 22px;
    gap: 15px;
  }

  .tp-destination-panel-icon {
    display: flex;
  }

  .tp-destination-panel-text h3 {
    font-size: 34px;
  }

  .tp-destination-panel-text p {
    font-size: 14px;
  }
}

@media (min-width: 992px) {
  .tp-trending-destinations {
    margin-top: 70px;
    padding: 112px 0 120px;
  }

  .tp-trending-destinations-heading {
    margin-bottom: 54px;
  }

  .tp-trending-feature-badges {
    gap: 12px;
    margin-top: 26px;
  }

  .tp-trending-feature-badges > span {
    padding: 9px 17px;
    font-size: 13px;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  }

  .tp-trending-feature-badges > span:hover {
    border-color: rgba(253, 70, 33, 0.45);
    box-shadow: 0 8px 20px rgba(253, 70, 33, 0.09);
    transform: translateY(-2px);
  }

  .tp-destination-expanding-gallery {
    height: 560px;
    flex-direction: row;
    gap: 14px;
  }

  .tp-destination-expand-panel,
  .tp-destination-expand-panel.active {
    width: auto;
    height: 560px;
  }

  .tp-destination-expand-panel {
    flex: 0.68;
    border-radius: 24px;
    transition: flex 0.65s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .tp-destination-expand-panel.active {
    flex: 4;
  }

  .tp-destination-panel-category,
  .tp-destination-panel-rating {
    top: 20px;
    padding: 7px 13px;
    font-size: 11px;
  }

  .tp-destination-panel-category {
    left: 20px;
  }

  .tp-destination-panel-rating {
    right: 20px;
  }

  .tp-destination-expand-panel:not(.active) .tp-destination-panel-rating {
    right: 50%;
    transform: translateX(50%);
  }

  .tp-destination-panel-collapsed-title {
    bottom: 30px;
    left: 50%;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: translateX(-50%) rotate(180deg);
  }

  .tp-destination-expand-panel.active .tp-destination-panel-collapsed-title {
    transform: translateX(-50%) rotate(180deg) translateY(8px);
  }

  .tp-destination-panel-content {
    right: 28px;
    bottom: 28px;
    left: 28px;
    gap: 18px;
  }

  .tp-destination-panel-icon {
    display: flex;
    width: 52px;
    height: 52px;
    font-size: 19px;
  }

  .tp-destination-panel-text h3 {
    font-size: 40px;
  }

  .tp-destination-panel-text p {
    font-size: 14px;
  }

  .tp-destination-panel-tags {
    gap: 7px;
    margin-bottom: 12px;
  }

  .tp-destination-panel-tags span {
    padding: 6px 9px;
    font-size: 10px;
  }

  .tp-destination-panel-cta {
    margin-top: 18px;
    padding: 15px 22px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tp-destination-expand-panel,
  .tp-destination-expand-panel::after,
  .tp-destination-panel-category,
  .tp-destination-panel-collapsed-title,
  .tp-destination-panel-content {
    transition: none;
  }
}
