/* 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;
  }
}

/* Detail open trip: tentang paket, accordion, tombol booking, CTA, galeri */
.trip-about {
  margin-bottom: 1rem;
}

.trip-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.trip-stat {
  background: #f4f6f9;
  border-radius: 12px;
  padding: 0.85rem 0.75rem;
  text-align: center;
}

.trip-stat__value {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  color: #001973;
  line-height: 1.3;
}

.trip-stat__label {
  display: block;
  font-size: 0.78rem;
  color: #6c757d;
  margin-top: 0.2rem;
}

.trip-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trip-acc {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.trip-acc > summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.15rem;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.2s ease;
}

.trip-acc > summary::-webkit-details-marker {
  display: none;
}

.trip-acc > summary:hover {
  background: #f8f9fb;
}

.trip-acc[open] > summary {
  border-bottom: 1px solid #eef1f4;
}

.trip-acc__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 25, 115, 0.08);
  color: #001973;
  font-size: 1.05rem;
}

.trip-acc__title {
  flex: 1;
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: #001973;
}

.trip-acc__chevron {
  color: #6c757d;
  transition: transform 0.2s ease;
}

.trip-acc[open] > summary .trip-acc__chevron {
  transform: rotate(180deg);
}

.trip-acc__body {
  padding: 1rem 1.15rem 1.25rem;
}

.trip-timeline {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0 0;
}

.trip-timeline__day {
  display: block;
  width: fit-content;
  margin: 0 0 0.85rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 25, 115, 0.08);
  color: #001973;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.trip-timeline__item + .trip-timeline__day {
  margin-top: 0.4rem;
}

.trip-timeline__item {
  position: relative;
  padding: 0 0 1.1rem 1.75rem;
}

.trip-timeline__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #001973;
  box-shadow: 0 0 0 4px rgba(0, 25, 115, 0.12);
}

.trip-timeline__item::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1.25rem;
  bottom: -0.15rem;
  width: 2px;
  background: #dfe4ee;
}

.trip-timeline__item:last-child::after,
.trip-timeline__item:has(+ .trip-timeline__day)::after {
  display: none;
}

.trip-timeline__item.is-untimed::before {
  background: #fff;
  border: 2px solid #001973;
  box-sizing: border-box;
}

.trip-timeline__time {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #001973;
  line-height: 1.4;
}

.trip-timeline__text {
  display: block;
  margin-top: 0.1rem;
  color: #2d3436;
  line-height: 1.55;
}

.trip-timeline__item.is-untimed .trip-timeline__text {
  margin-top: 0;
  color: #5b6475;
}

.trip-book-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.trip-book-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.trip-book-btn--primary {
  background: #001973;
  color: #fff;
}

.trip-book-btn--primary:hover {
  background: #0d47a1;
  color: #fff;
}

.trip-book-btn--wa {
  background: #fff;
  color: #128c4a;
  border-color: #cfe9da;
}

.trip-book-btn--wa:hover {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.trip-book-note {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: #6c757d;
  text-align: center;
}

.trip-cta-band {
  background: #001973;
  padding: 2rem 0;
}

.trip-cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.trip-cta-band__title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.trip-cta-band__desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin: 0;
}

.trip-cta-band__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  background: #ffc107;
  color: #001973;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.trip-cta-band__btn:hover {
  background: #ffcd38;
  color: #001973;
}

.trip-gallery-section {
  padding: 2.25rem 0;
  background: #fff;
}

.trip-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}

.trip-gallery-grid a {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #eef1f5;
}

.trip-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.trip-gallery-grid a:hover img {
  transform: scale(1.04);
}

@media (max-width: 575.98px) {
  .trip-stats {
    gap: 0.5rem;
  }

  .trip-stat {
    padding: 0.7rem 0.4rem;
  }

  .trip-stat__value {
    font-size: 0.9rem;
  }

  .trip-cta-band__inner {
    flex-direction: column;
    text-align: center;
  }

  .trip-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
