.tp-destination-bento-section {
  position: relative;
  padding: 64px 0 72px;
  background: var(--tp-common-white);
  overflow: hidden;
}

.tp-destination-bento-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 30px;
}

.tp-destination-bento-heading .tp-section-title {
  margin: 0;
}

.tp-destination-bento-heading .tp-section-title span {
  color: var(--tp-theme-1);
}

.tp-destination-bento-filters {
  display: flex;
  width: 100%;
  gap: 7px;
  padding-bottom: 3px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tp-destination-bento-filters::-webkit-scrollbar {
  display: none;
}

.tp-destination-filter-btn {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid var(--tp-border-1);
  border-radius: 999px;
  color: var(--tp-grey-1);
  background: var(--tp-common-white);
  font-family: var(--tp-ff-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.tp-destination-filter-btn:hover,
.tp-destination-filter-btn.active {
  border-color: var(--tp-theme-1);
  color: var(--tp-common-white);
  background: var(--tp-theme-1);
  box-shadow: 0 8px 22px rgba(253, 70, 33, 0.22);
}

.tp-destination-filter-btn:focus-visible {
  outline: 3px solid rgba(253, 70, 33, 0.25);
  outline-offset: 3px;
}

.tp-destination-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tp-destination-bento-item {
  min-width: 0;
  min-height: 205px;
  animation: tpDestinationBentoIn 0.42s ease both;
}

.tp-destination-bento-item.is-featured {
  grid-column: span 2;
  min-height: 310px;
}

.tp-destination-bento-item[hidden] {
  display: none;
}

.tp-destination-bento-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  background: var(--tp-common-black);
  box-shadow: 0 12px 34px rgba(7, 21, 22, 0.12);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.tp-destination-bento-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.tp-destination-bento-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 21, 22, 0.12) 18%, rgba(7, 21, 22, 0.9) 100%);
}

.tp-destination-bento-rating,
.tp-destination-bento-tours {
  position: absolute;
  z-index: 2;
  top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 999px;
  font-family: var(--tp-ff-body);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.tp-destination-bento-rating {
  left: 10px;
  color: var(--tp-common-black);
  background: var(--tp-common-white);
  box-shadow: 0 5px 18px rgba(7, 21, 22, 0.16);
}

.tp-destination-bento-rating i {
  color: var(--tp-common-yellow);
}

.tp-destination-bento-tours {
  right: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--tp-common-white);
  background: rgba(7, 21, 22, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tp-destination-bento-item:not(.is-featured) .tp-destination-bento-tours {
  display: none;
}

.tp-destination-bento-tours i,
.tp-destination-bento-country i {
  color: var(--tp-theme-1);
}

.tp-destination-bento-content {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 14px;
  left: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 7px;
}

.tp-destination-bento-copy {
  display: block;
  min-width: 0;
}

.tp-destination-bento-country {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--tp-ff-body);
  max-width: 100%;
  overflow: hidden;
  font-size: 8px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.tp-destination-bento-copy strong {
  display: block;
  color: var(--tp-common-white);
  font-family: var(--tp-ff-heading);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.04;
}

.tp-destination-bento-item.is-featured .tp-destination-bento-copy strong {
  font-size: 33px;
}

.tp-destination-bento-arrow {
  display: inline-flex;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  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.34);
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.tp-destination-bento-arrow i {
  font-size: 12px;
}

.tp-destination-bento-card:hover,
.tp-destination-bento-card:focus-visible {
  box-shadow: 0 20px 45px rgba(7, 21, 22, 0.2);
  transform: translateY(-5px);
}

.tp-destination-bento-card:hover .tp-destination-bento-image,
.tp-destination-bento-card:focus-visible .tp-destination-bento-image {
  transform: scale(1.07);
}

.tp-destination-bento-card:hover .tp-destination-bento-arrow,
.tp-destination-bento-card:focus-visible .tp-destination-bento-arrow {
  color: var(--tp-theme-1);
  background: var(--tp-common-white);
  transform: translateX(4px);
}

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

.tp-destination-bento-empty {
  margin: 0;
  padding: 45px 20px;
  border: 1px dashed var(--tp-border-1);
  border-radius: 18px;
  color: var(--tp-grey-1);
  background: var(--tp-grey-3);
  font-family: var(--tp-ff-body);
  text-align: center;
}

.tp-destination-bento-more {
  margin-top: 32px;
}

.tp-destination-bento-more .tp-btn {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.tp-destination-bento-more .tp-btn i {
  transition: transform 0.25s ease;
}

.tp-destination-bento-more .tp-btn:hover i {
  transform: translateX(4px);
}

@keyframes tpDestinationBentoIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 576px) {
  .tp-destination-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .tp-destination-bento-item {
    min-height: 285px;
  }

  .tp-destination-bento-item.is-featured {
    grid-column: span 2;
    min-height: 390px;
  }

  .tp-destination-bento-item:not(.is-featured) .tp-destination-bento-tours {
    display: inline-flex;
  }

  .tp-destination-bento-rating,
  .tp-destination-bento-tours {
    top: 14px;
    gap: 5px;
    padding: 7px 10px;
    font-size: 10px;
  }

  .tp-destination-bento-rating {
    left: 14px;
  }

  .tp-destination-bento-tours {
    right: 14px;
  }

  .tp-destination-bento-content {
    right: 18px;
    bottom: 18px;
    left: 18px;
    gap: 14px;
  }

  .tp-destination-bento-country {
    font-size: 10px;
  }

  .tp-destination-bento-copy strong {
    font-size: 32px;
  }

  .tp-destination-bento-item.is-featured .tp-destination-bento-copy strong {
    font-size: 42px;
  }

  .tp-destination-bento-arrow {
    width: 42px;
    height: 42px;
  }

  .tp-destination-bento-more .tp-btn {
    width: auto;
  }
}

@media (hover: none) {
  .tp-destination-bento-card:active {
    box-shadow: 0 10px 28px rgba(7, 21, 22, 0.16);
    transform: scale(0.985);
  }
}

@media (min-width: 992px) {
  .tp-destination-bento-section {
    padding: 110px 0 120px;
  }

  .tp-destination-bento-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 46px;
  }

  .tp-destination-bento-heading {
    max-width: 620px;
  }

  .tp-destination-bento-filters {
    justify-content: flex-end;
    width: auto;
    max-width: 48%;
    padding-bottom: 0;
  }

  .tp-destination-filter-btn {
    min-height: 42px;
    padding: 10px 20px;
    font-size: 14px;
  }

  .tp-destination-bento-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .tp-destination-bento-item {
    min-height: 300px;
  }

  .tp-destination-bento-item.is-featured {
    grid-column: span 2;
    min-height: 500px;
  }

  .tp-destination-bento-item.is-tall {
    min-height: 500px;
  }

  .tp-destination-bento-card {
    border-radius: 24px;
  }

  .tp-destination-bento-content {
    right: 28px;
    bottom: 28px;
    left: 28px;
  }

  .tp-destination-bento-item.is-featured .tp-destination-bento-content {
    right: 36px;
    bottom: 36px;
    left: 36px;
  }

  .tp-destination-bento-copy strong {
    font-size: 38px;
  }

  .tp-destination-bento-item.is-featured .tp-destination-bento-copy strong {
    font-size: 54px;
  }

  .tp-destination-bento-arrow {
    width: 50px;
    height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tp-destination-bento-item,
  .tp-destination-bento-card,
  .tp-destination-bento-image,
  .tp-destination-bento-arrow,
  .tp-destination-filter-btn {
    animation: none;
    transition: none;
  }
}
