.showcase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: clamp(6rem, 15vw, 9rem) 0 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  contain: none;
  color: #fff;
  background: #0b2230;
  border: 1px solid rgba(147, 190, 205, 0.25);
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(15, 38, 52, 0.07);
  font-family: var(--bs-font-sans-serif, Arial, sans-serif);
}

.showcase-card .showcase-card__media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
  background: linear-gradient(135deg, #123d50, #081723);
}

.showcase-card .showcase-card__media::after {
  background: linear-gradient(180deg, rgba(3, 15, 25, 0.05) 0%, rgba(3, 15, 25, 0.12) 25%, rgba(3, 15, 25, 0.72) 52%, rgba(3, 15, 25, 0.94) 78%, #030f19 100%);
}

.showcase-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent;
  font-size: 0;
}

.showcase-card .showcase-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #a5c4d1;
  background: transparent;
}

.showcase-card__media--missing::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #a5c4d1;
  font-family: "bootstrap-icons";
  font-size: 2.4rem;
  content: "\F42A";
}

.showcase-card .showcase-card__body {
  position: relative;
  inset: auto;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  gap: 0.75rem;
  padding: 1rem;
  background: linear-gradient(180deg, transparent, rgba(3, 15, 25, 0.5));
}

.showcase-card .showcase-card__body h3 {
  display: block;
  min-height: 2.6em;
  max-height: none;
  margin: 0;
  overflow: visible;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-transform: none;
  text-shadow: none;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.showcase-card .showcase-card__body h3 a {
  display: block;
  color: inherit !important;
}

.showcase-card__route {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  min-width: 0;
  padding: 0;
  color: #d7e5ed;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.showcase-card__route > i {
  flex: 0 0 auto;
  color: #91dfd2;
  font-size: 0.85rem;
  line-height: 1.55;
}

.showcase-card__route > p {
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.55;
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.showcase-card .showcase-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.15rem;
}

.showcase-card .showcase-card__meta span {
  min-width: 0;
  max-width: 100%;
  min-height: 24px;
  padding: 0.25rem 0.5rem;
  color: #e5f8fa !important;
  background: rgba(116, 198, 209, 0.18) !important;
  border-radius: 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: none;
}

.showcase-card .showcase-card__body > strong {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-top: 0.65rem;
  overflow: visible;
  color: #a4f542;
  border-top: 1px solid rgba(215, 229, 237, 0.18);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  text-shadow: none;
}

.showcase-card__ribbon {
  max-width: calc(100% - 1.5rem);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tour-filter-status {
  justify-content: center;
  min-height: 0;
  margin-top: 1.35rem;
  margin-bottom: 0;
}

.tour-ajax-pagination {
  justify-content: center;
  gap: 0.85rem;
}

.tour-ajax-pagination p {
  color: #475569;
}

.tour-ajax-pagination__load {
  min-width: 10.5rem;
  box-shadow: 0 12px 26px rgba(12, 192, 223, 0.22);
}

@media (max-width: 767.98px) {
  .showcase-card {
    border-radius: 0.75rem;
  }

  .showcase-card .showcase-card__body {
    gap: 0.6rem;
    padding: 0.7rem;
  }

  .showcase-card .showcase-card__body h3 {
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    line-height: 1.35;
  }

  .showcase-card__route > p {
    font-size: 0.72rem;
  }

  .showcase-card .showcase-card__meta span {
    padding: 0.22rem 0.4rem;
    font-size: 0.63rem;
  }

  .showcase-card .showcase-card__body > strong {
    font-size: 0.9rem;
  }
}

.showcase-card__route > p {
  font-size: 0.73rem;
  line-height: 1.4;
}

@media (max-width: 767.98px) {
  .showcase-card__route {
    gap: 0.3rem;
  }

  .showcase-card__route > p {
    font-size: 0.66rem;
    line-height: 1.4;
  }
}

a.showcase-card,
a.showcase-card:hover {
  color: #fff;
  text-decoration: none;
}

a.showcase-card:focus-visible {
  outline: 3px solid #0cc0df;
  outline-offset: 4px;
}

.showcase-card__price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(215, 229, 237, 0.2);
}

.showcase-card__price > div {
  min-width: 0;
}

.showcase-card__price-label {
  display: block;
  margin-bottom: 0.2rem;
  color: #ccdae2;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.025em;
}

.showcase-card .showcase-card__price strong {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  color: #a4f542;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.025em;
  white-space: normal;
  overflow-wrap: anywhere;
  text-shadow: none;
  font-variant-numeric: lining-nums tabular-nums;
}

.showcase-card__price-arrow {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #c6f58a;
  background: rgba(164, 245, 66, 0.1);
  border: 1px solid rgba(164, 245, 66, 0.3);
  border-radius: 50%;
  font-size: 0.85rem;
}

.showcase-card:hover .showcase-card__price-arrow {
  color: #102c3a;
  background: #a4f542;
}

.showcase-card .showcase-card__price--enquiry strong {
  font-size: 1rem;
  letter-spacing: 0;
}

@media (max-width: 767.98px) {
  .showcase-card__price {
    padding-top: 0.6rem;
    gap: 0.35rem;
  }

  .showcase-card__price-label {
    font-size: 0.6rem;
  }

  .showcase-card .showcase-card__price strong {
    font-size: clamp(1rem, 3.6vw, 1.25rem);
  }

  .showcase-card__price-arrow {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }

  .showcase-card .showcase-card__price--enquiry strong {
    font-size: 0.85rem;
  }
}

.showcase-card__price > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem;
}

.showcase-card__price-label {
  margin-bottom: 0;
  font-size: 0.7rem;
  letter-spacing: 0;
}

.showcase-card .showcase-card__price strong {
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.showcase-card .showcase-card__price--enquiry strong {
  font-size: 0.85rem;
  font-weight: 500;
}

@media (max-width: 767.98px) {
  .showcase-card__price-label {
    font-size: 0.63rem;
  }

  .showcase-card .showcase-card__price strong {
    font-size: 0.92rem;
  }

  .showcase-card .showcase-card__price--enquiry strong {
    font-size: 0.78rem;
  }
}

.showcase-card .showcase-card__price-arrow {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  color: #102819;
  background: #a4f542;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 3px 10px rgba(0, 0, 0, 0.18);
  font-size: 1.1rem;
  line-height: 1;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.showcase-card__price-arrow i {
  display: block;
  line-height: 1;
  transition: transform 160ms ease;
}

.showcase-card:hover .showcase-card__price-arrow,
.showcase-card:focus-visible .showcase-card__price-arrow {
  color: #102819;
  background: #baff6c;
  box-shadow: 0 0 0 3px rgba(164, 245, 66, 0.14);
}

.showcase-card:hover .showcase-card__price-arrow i,
.showcase-card:focus-visible .showcase-card__price-arrow i {
  transform: translateX(2px);
}

@media (max-width: 767.98px) {
  .showcase-card .showcase-card__price-arrow {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-card .showcase-card__price-arrow,
  .showcase-card__price-arrow i {
    transition: none;
  }

  .showcase-card:hover .showcase-card__price-arrow i,
  .showcase-card:focus-visible .showcase-card__price-arrow i {
    transform: none;
  }
}
@media (max-width: 767.98px) {
  .js-tour-listing .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem;
  }
}
