/* Open trip detail — hero + sticky booking sidebar */
.trip-hero {
  position: relative;
  min-height: 48vh;
  display: flex;
  align-items: flex-end;
  padding: 6.5rem 0 2.5rem;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.trip-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 10, 40, 0.4) 0%,
    rgba(0, 10, 40, 0.2) 45%,
    rgba(0, 10, 40, 0.88) 100%
  );
}

.trip-hero-breadcrumb {
  margin-bottom: 1rem;
}

.trip-hero-breadcrumb .breadcrumb-item,
.trip-hero-breadcrumb .breadcrumb-item a,
.trip-hero-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.875rem;
  text-decoration: none;
}

.trip-hero-breadcrumb .breadcrumb-item a:hover {
  color: #fff;
  text-decoration: underline;
}

.trip-hero-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #001973;
  background: #ffc107;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.trip-hero h1 {
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.trip-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
}

.trip-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trip-body-section {
  padding: 2.5rem 0 3.25rem;
  background: #f4f6f9;
}

.trip-main-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  padding: 1.25rem 1rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
  .trip-main-card {
    padding: 1.5rem 1.25rem;
  }
}

@media (min-width: 1200px) {
  .trip-main-card {
    padding: 1.75rem 1.5rem;
  }
}

.trip-section + .trip-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e9ecef;
}

.trip-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #001973;
  margin-bottom: 1rem;
}

.trip-content {
  font-size: 1.03rem;
  line-height: 1.75;
  color: #2d3436;
}

.trip-content h2,
.trip-content h3,
.trip-content h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: #001973;
}

.trip-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1rem 0;
}

.trip-gallery-block {
  margin-bottom: 1.75rem;
}

.trip-pickup-card {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: #f8f9fb;
  border-left: 4px solid #ffc107;
  border-radius: 0 10px 10px 0;
}

.trip-pickup-card i {
  color: #dc3545;
  font-size: 1.15rem;
  margin-top: 0.15rem;
}

.trip-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dee2e6;
  background: #fff;
}

.trip-map-wrap iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

/* Sidebar (aligned with article detail) */
.trip-sidebar {
  position: sticky;
  top: 130px;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.trip-price-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  padding: 1.15rem 1rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

@media (min-width: 1200px) {
  .trip-price-card,
  .trip-body-section .sidebar-card {
    padding: 1.25rem 1.1rem;
  }
}

.trip-price-card .price-label {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 0.25rem;
}

.trip-price-card .price-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #001973;
  line-height: 1.2;
}

.trip-price-card .price-unit {
  font-size: 0.9rem;
  font-weight: 500;
  color: #6c757d;
}

.trip-price-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eef1f4;
  font-size: 0.85rem;
}

.trip-price-meta dt {
  color: #6c757d;
  margin: 0;
  font-weight: 500;
}

.trip-price-meta dd {
  margin: 0.15rem 0 0;
  font-weight: 700;
  color: #212529;
}

.sidebar-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  color: #001973;
  margin-bottom: 0.85rem;
}

.sidebar-contacts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sidebar-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  background: #f8f9fa;
  color: #212529;
  text-decoration: none;
  transition: background 0.2s ease;
}

.sidebar-contact:hover {
  background: #e8f8ee;
  color: #212529;
}

.sidebar-contact img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.sidebar-contact strong {
  display: block;
  font-size: 0.9rem;
}

.sidebar-contact small {
  color: #6c757d;
  font-size: 0.78rem;
}

/* Trip Lainnya / Paket Lainnya — compact on detail pages */
.trip-related-band {
  padding: 1.5rem 0 2rem;
  background: #fff;
  border-top: 1px solid #e3e8ef;
}

.trip-related-band__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-bottom: 1rem;
}

.trip-related-band__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #001973;
  margin: 0 0 0.2rem;
}

.trip-related-band__subtitle {
  color: #6c757d;
  margin: 0;
  font-size: 0.82rem;
}

.trip-related-band__cta {
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.35rem 0.85rem;
  white-space: nowrap;
}

.trip-related-band .trip-related-item,
.trip-related-band .open-trip-card {
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.trip-related-band .trip-related-item:hover,
.trip-related-band .open-trip-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 25, 115, 0.08);
}

.trip-related-band .trip-related-item__media,
.trip-related-band .open-trip-card__media {
  aspect-ratio: 16 / 10;
}

.trip-related-band .trip-related-item__badge,
.trip-related-band .open-trip-card__badge {
  top: 0.45rem;
  left: 0.45rem;
  padding: 0.2rem 0.45rem;
  font-size: 0.62rem;
}

.trip-related-band .trip-related-item__body,
.trip-related-band .open-trip-card__body {
  padding: 0.6rem 0.7rem 0.7rem;
}

.trip-related-band .trip-related-item__title,
.trip-related-band .open-trip-card__title {
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  min-height: 2.35em;
}

.trip-related-band .trip-related-item__duration {
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
}

.trip-related-band .trip-related-item__footer,
.trip-related-band .open-trip-card__footer {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding-top: 0.5rem;
}

.trip-related-band .trip-related-item__price,
.trip-related-band .open-trip-card__price {
  font-size: 0.88rem;
  line-height: 1.25;
}

.trip-related-band .trip-related-item__price small,
.trip-related-band .open-trip-card__price small {
  font-size: 0.68rem;
}

.trip-related-band .open-trip-card__price-label {
  font-size: 0.62rem;
  margin-bottom: 0.05rem;
}

.trip-related-band .trip-related-item__btn,
.trip-related-band .open-trip-card__btn {
  width: auto;
  flex-shrink: 0;
  padding: 0.3rem 0.55rem;
  font-size: 0.75rem;
  border-radius: 8px;
}

.trip-related-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.trip-related-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(0, 25, 115, 0.1);
  border-color: #d0d9e8;
}

.trip-related-item__media {
  position: relative;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: #eef1f5;
}

.trip-related-item__media .image-carousel,
.trip-related-item__media .carousel-item,
.trip-related-item__media .carousel-item img {
  height: 100%;
}

.trip-related-item__media .image-carousel {
  min-height: 100%;
}

.trip-related-item__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  max-width: calc(100% - 1.5rem);
  padding: 0.35rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #001973;
  background: #ffc107;
  border-radius: 50px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trip-related-item__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.05rem 1.1rem;
}

.trip-related-item__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.trip-related-item__title a {
  color: #2c3e50;
  text-decoration: none;
}

.trip-related-item__title a:hover {
  color: #001973;
}

.trip-related-item__duration {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: #6c757d;
}

.trip-related-item__duration .bi-clock {
  color: #001973;
}

.trip-related-item__footer {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding-top: 0.85rem;
  border-top: 1px solid #eef1f4;
}

.trip-related-item__price {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #001973;
  line-height: 1.2;
}

.trip-related-item__price small {
  font-size: 0.78rem;
  font-weight: 500;
  color: #6c757d;
}

.trip-related-item__btn {
  font-weight: 600;
  border-radius: 8px;
  padding: 0.4rem 0.85rem;
  background: #001973;
  border-color: #001973;
}

.trip-related-item__btn:hover {
  background: #0d47a1;
  border-color: #0d47a1;
}

.trip-reviews-section {
  padding: 2.5rem 0 3.25rem;
  background: #f4f6f9;
}

@media (max-width: 991.98px) {
  .trip-sidebar {
    position: static;
  }

  .trip-hero {
    min-height: 42vh;
  }
}
